/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
 
/* === Floating language switcher only (no white bar) === */
.sticky-footer-widget {
  position: fixed !important;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  background: transparent;
  box-shadow: none;
  border: none;
  pointer-events: auto;
}

.sticky-footer-widget .sticky-inner {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

/* === Dropdown button === */
.tp-ls-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  color: #000;
  transition: all 0.15s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.tp-ls-current:hover {
  background: #f5f5f5;
}
.tp-ls-current .tp-ls-caret {
  transition: transform 0.18s ease;
}

/* === Dropdown list (opens upward) === */
.tp-ls-list {
  position: absolute;
  bottom: 100%;
  right: 0;
  transform: translateY(-8px);
  margin: 0;
  padding: 8px;
  list-style: none;
  min-width: 190px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 10px 28px rgba(0,0,0,0.16);
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  max-height: 60vh;
  overflow-y: auto;
  z-index: 100000;
}

/* === When open === */
.tp-ls.is-open .tp-ls-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-12px);
}
.tp-ls.is-open .tp-ls-current .tp-ls-caret {
  transform: rotate(180deg);
}

/* === Items === */
.tp-ls-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.tp-ls-item:hover {
  background: rgba(0,0,0,0.05);
}
.tp-ls-item.is-active {
  background: rgba(0,0,0,0.08);
  font-weight: 700;
}

/* === Flags === */
.tp-ls-flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}