/* ===== Namespace / Base =====1 */
.vre-app, .vre-app * { box-sizing: border-box; }
:root{
  --txt:#0f172a; --muted:#475569; --border:#e2e8f0; --bg:#f8fafc;
  --accent:#0ea5e9; --accent2:#000000; --success:#10b981;
  --rad:14px;

  /* Slider nav (PNG) */
  --nav-size:44px;
  --nav-icon-size:24px;
  --nav-icon-prev:url('../../public/right-arrow.png');   /* обнови путь при необходимости */
  --nav-icon-next:url('../../public/right-arrow.png');  /* обнови путь при необходимости */

  /* sticky: базовый зазор от верха */
  --sticky-gap: 150px;
}

/* Tabs: гасим фокус от темы при клике мышкой, оставляем свой для клавиатуры */
.vre-tabs__btn:focus { 
  outline: none !important; 
  box-shadow: none !important; 
}

/* Показываем наш аккуратный фокус только для клавиатуры */
.vre-tabs__btn:focus-visible { 
  outline: 2px solid var(--accent) !important; 
  outline-offset: 2px; 
  box-shadow: none !important;
}

/* На всякий случай для Firefox убираем внутреннюю рамку */
.vre-tabs__btn::-moz-focus-inner { border: 0; }

/* Если тема навешивает общий box-shadow на все кнопки */
button.vre-tabs__btn,
.vre-tabs .vre-tabs__btn { 
  box-shadow: none !important; 
}


.vre-body{ background:var(--bg); }

/* ===== Container (адаптивный, как с width:1200px, но резиновый) ===== */
.vre-app{
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 24px 16px 20px;
  overflow-x: clip;
  box-sizing: border-box;

  min-width: 0;
  flex: 0 1 1400px;
  align-self: center;
  max-width: none;
}

/* Фолбэк для старых браузеров без width:min() */
@supports not (width: min(100%, 1400px)) {
  .vre-app{
    max-width: 1400px;
    width: 100%;
  }
}
/* Если родительские WP-обёртки пытаются ограничить ширину детей */
:where(.is-layout-constrained, .wp-site-blocks, .wp-block-group) > .vre-app{
  width: min(100%, 1200px);
  max-width: none;
}
/* детям разрешаем сжиматься в флексах/гридах */
.vre-app *{ min-width:0; }

.vre-summary__priceImg{
  display:inline-block;
  width:24px; height:24px;
  background-image:url('../../public/price.png');
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
}

.vre-vertical{ display:flex; flex-direction:column; gap:18px; color:var(--txt); }

/* ===== Slider (top) ===== */
.vre-slider{ width:100%; }
.vre-slider__viewport{
  position:relative; overflow:hidden;
  width:100%; height: clamp(320px, 45vw, 520px);
  border:1px solid var(--border); border-radius:10px; background:#fff;
}
.vre-slider__track{ display:flex; height:100%; transition:transform .35s ease; }
.vre-slide{ flex:0 0 100%; height:100%; position:relative; }
.vre-slide img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ===== Slider nav: кастомные PNG-кнопки без белого круга ===== */
.vre-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:var(--nav-size); height:var(--nav-size);
  cursor:pointer;
  background:none; border:none; border-radius:0; box-shadow:none;
  padding:0; display:flex; align-items:center; justify-content:center;
  /* прячем символы ‹/› если есть */
  font-size:0; line-height:0; color:transparent;
}
.vre-nav::before{
  content:"";
  display:block;
  width:100%; height:100%;
  background-position:center;
  background-repeat:no-repeat;
  background-size: var(--nav-icon-size) var(--nav-icon-size);
}
.vre-nav--prev{ left:10px; }
.vre-nav--next{ right:10px; }
.vre-nav--prev::before{ background-image: var(--nav-icon-prev); transform: scaleX(-1); transform-origin: center; }
.vre-nav--next::before{ background-image: var(--nav-icon-next); }
.vre-nav--prev:hover::before{ transform: scaleX(-1) scale(1.06); }
/* FIX: корректная запись transform */
.vre-nav--next:hover::before{ transform: scale(1.06); }
.vre-nav:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }



/* Базовый вид значка */
.vre-metric__icon{
  width:20px; height:20px;
  display:inline-block;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  filter: brightness(0) invert(1);
}

/* Подключаем кастомные картинки по типам метрик */
.vre-metric--area   .vre-metric__icon{ background-image:url('../../public/area.png'); }
.vre-metric--baths  .vre-metric__icon{ background-image:url('../../public/bath.png'); }
.vre-metric--beds   .vre-metric__icon{ background-image:url('../../public/double-bed.png'); }

/* (необязательно) немного «воздуха» между иконкой и числом */
.vre-metric .vre-metric__icon{ margin-right:6px; }

/* (необязательно) поддержка ретины, если есть 2x версии
.vre-metric--area   .vre-metric__icon{ background-image:image-set(url('/.../area.png') 1x, url('/.../area@2x.png') 2x); }
*/

/* Dots */
.vre-dots{ display:flex; gap:8px; justify-content:center; margin-top:10px; }
.vre-dots button{
  width:10px; height:10px; border-radius:999px; border:1px solid var(--border);
  background:#fff; cursor:pointer;
}
.vre-dots button.is-active{ background:#111; border-color:#111; }

/* Badges over slider */
.vre-badges--slider{
  position:absolute; top:12px; left:12px; right:12px;
  display:flex; justify-content:space-between; pointer-events:none;
}
.vre-badge{
  pointer-events:auto; display:inline-flex; align-items:center; gap:6px;
  border-radius:999px; padding:10px 12px; color:#fff; font-weight:600; font-size:14px;
}
.vre-badge--status{ background:var(--success); }
.vre-badge--price{ background:#20384e; }

/* ===== Main content (column) ===== */
.vre-content{ display:flex; flex-direction:column; gap:8px; }

/* Title */
.vre-header{ margin-top:30px; }
.vre-title234{ margin:0; font-size:clamp(16px, 2.6vw, 22px) !important; text-align: center; }

/* Ref + Price */
.vre-summary{
  display:flex; 
  align-items:center; justify-content:center;
  gap:16px; padding:4px 0;
}
.vre-summary__ref{ display:flex; align-items:center; gap:8px; color:var(--muted); }
.vre-summary__label{ opacity:.9; }
.vre-summary__value{ color:#2563eb; text-decoration:underline; }
.vre-summary__price{ font-size:22px; font-weight:700; }

/* Двухколоночный лэйаут */
.vre-two-col{ display:flex; align-items:flex-start; gap:24px; }
.vre-main{
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
  max-width: 100%;
}
.rsv-sidebar{
  flex:0 0 300px;
  width:300px;
  position: sticky;
  top: var(--sticky-gap);
}

/* Карточка формы + элементы */
.rsv-form .rsv-card{ background:#fff;  border-radius:10px; padding:16px; }
.vre-label{ display:block; font-weight:600; margin:10px 0 6px; }
.vre-req{ color:#ef4444; }
.vre-input{ width:100%; border:1px solid #e2e8f0; border-radius:8px; padding:10px 12px; background:#fff; }
.vre-check{ display:flex; gap:8px; margin:10px 0; font-size:14px; }
.vre-btn--full{ width:100%; margin-top:8px; }
.vre-wa{ display:none; margin-top:10px; text-align:center; background:#25D366; color:#fff; padding:10px 12px; border-radius:8px; text-decoration:none; font-weight:700; }

/* Адаптив */
@media (max-width: 980px){
  .vre-two-col{ flex-direction:column; }
  .rsv-sidebar{ width:100%; flex:0 0 auto; }
}
@media (max-width:768px){
  .vre-summary{ flex-direction:column; align-items:center; gap:6px; }
}

/* Metrics (m², łazienki, łóżka) */
.vre-metrics{ display:flex; gap:12px; align-items:center; justify-content: center; padding:2px 0 8px; }
.vre-metric{
  display:inline-flex; align-items:center; gap:8px;
  color: #fff !important;
  padding:8px 12px; border-radius:999px; font-weight:600;
  background-color: #20384e;
}
.vre-metric__icon{ font-size:16px; }

/* ===== Description (collapsible) ===== */
.vre-section__title{ margin:0 0 8px 0; font-size:18px; }
.vre-desc{ line-height:1.65;  font-size: 15px;}
.vre-desc.is-collapsed{
   overflow:hidden; position:relative;
}
.vre-desc.is-collapsed:after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:70px;
}
.vre-more-btn{
  display:inline-flex; align-items:center; gap:8px;
  border:1px dashed var(--border); background:#fff;
  padding:8px 12px; border-radius:10px; cursor:pointer; font-weight:600;
}

/* ===== Map block ===== */
.vre-map-block{
  margin-top: 5px;
  padding-bottom: 16px;
  background: #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.vre-map-note{
  margin: 0 0 8px 0;
  font-size: 13px;
  color: var(--muted);
}
.vre-map-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.vre-map-location{
  font-weight: 600;
  color: var(--txt);
}
.vre-map-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.vre-map-attrib{
  font-size: 12px;
  color: var(--muted);
}
.vre-map-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border-radius: 0;
  border: 0;
  text-decoration: underline;
  color: var(--txt);
  font-weight: 600;
  background: transparent;
  transition: color .15s ease;
}
.vre-map-link:hover{
  color: var(--accent);
}
.vre-map-frame{
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 0;
  background: transparent;
}
.vre-leaflet-map{
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
  position: relative;
  z-index: 0;
}
.vre-map-fallback{
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  padding: 16px;
  text-align: center;
}
.vre-map-block .leaflet-pane,
.vre-map-block .leaflet-control-container{
  z-index: 1;
}
@media (max-width: 640px){
  .vre-leaflet-map{ height: 280px; }
}

/* ===== Features chips ===== */
.vre-chips{ display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; }
.vre-chip{ border:1px solid var(--border); background:#fff; border-radius:999px; padding:8px 12px; font-size:13px; }

/* ===== CTA ===== */
.vre-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:8px; }
.vre-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:10px; font-weight:700; text-decoration:none;
  border:1px solid var(--accent2); background:var(--accent2); color:#fff;
}
.vre-btn--ghost{ background:transparent; color:#000000; }

/* Только на страницах превью: футер темы после нашего контейнера — БЕЗ 100vw */
.vre-app[data-vre-root] ~ footer.wp-block-template-part,
[data-vre-root] ~ footer.wp-block-template-part{
  width: 100%;
  margin-left: 0;
}

/* На всякий случай — нейтрализуем возможные утечки наших правил в template parts */
body > header.wp-block-template-part,
body > footer.wp-block-template-part,
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > footer.wp-block-template-part{
  all: revert;
}

/* Хотфикс: если по какой-то причине не вставился .wp-container..., выровняем футер темы */
footer.wp-block-template-part .wp-block-group.is-layout-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Утилита полноэкранного «пролива» для внутреннего блока футера/хедера (опционально) */
.u-full-bleed{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
}

/* Медиа и таблицы не растягивают контейнер */
.vre-app img,
.vre-app video,
.vre-app svg,
.vre-app iframe{
  width: 100%;
  height: 100%;
  display: block;
}
.vre-app table{ max-width:100%; border-collapse: collapse; }
.vre-app .table-wrap{ overflow-x:auto; }

/* ===== Tabs (добавочный блок под описанием) ===== */
.vre-tabs{
  padding-top: 12px;

  color: var(--txt);
}

.vre-tabs__nav{
  display: flex;
  gap: 8px;
  padding-top: 1px;
  -webkit-overflow-scrolling: touch;
  width: auto;
  
}
.vre-tabs__nav::-webkit-scrollbar{ height: 6px; }
.vre-tabs__nav::-webkit-scrollbar-thumb{ background: #e5e7eb; border-radius: 999px; }

.vre-tabs__btn{
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.vre-tabs__btn.is-active{
  color: #fff;
  background: #20384e;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.vre-tabs__btn:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }

.vre-tabs__panel{ display: none; padding-left: 10px; }
.vre-tabs__panel.is-active{ display: block; }

/* Подзаголовки внутри панелей (для категорий фич) */
.vre-tabs__sub{
  margin: 14px 0 8px 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

/* ===== Key–Value таблица параметров ===== */
.vre-kv{
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 2fr;
  gap: 10px;
}
.vre-kv__row{ display: contents; } /* позволяет dt/dd быть в сетке */
.vre-kv dt{
  font-size: 15px;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.vre-kv dd{
  font-size: 15px;
  margin: 0;
  font-weight: 600;
  color: var(--txt);
}
@media (max-width: 640px){
  .vre-kv{ grid-template-columns: 1fr; }
  .vre-kv dt{ opacity: .8; }
  .vre-kv dd{ padding-bottom: 6px; border-bottom: 1px dashed var(--border); }
}

/* ===== Цена со скидкой ===== */
.vre-price--old{
  text-decoration: line-through;
  color: var(--muted);
  margin-right: 8px;
}
.vre-price--new{
  font-weight: 800;
}
.vre-price--discount{
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  margin-left: 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  background: #ef4444; /* можно заменить на var(--success) для “promocji” */
  color: #fff;
}

/* Контейнер панелей (если используешь .vre-tabs__panels – рекомендовано) */
.vre-tabs__panels{
  position: relative;
  /* без анимации: просто фиксируем минимальную высоту по JS */
}

/* Переключение панелей классом */
.vre-tabs__panel{ display: none; }
.vre-tabs__panel.is-active{ display: block; }

/* ===== Хлебные крошки локации ===== */


/* Стабильная ширина при появлении вертикального скролла */
html{ scrollbar-gutter: stable both-edges; }

/* Внешний контейнер, если используется */
.u-sheet{
  position: relative !important;
  margin: 0 auto !important;
  max-width: 1400px !important;
}

/* Фолбэк для старых движков без overflow-x:clip */
@supports not (overflow: clip) {
  .vre-app{ overflow-x: hidden; }
}


/* ===== Desktop: растягиваем колонки по высоте и включаем sticky ===== */
@media (min-width: 981px){
  /* обе колонки становятся одинаковой высоты (по самой высокой) */
  .vre-two-col{ 
    align-items: stretch;            /* раньше было flex-start */
  }

  .vre-main{
    flex: 1 1 0%;
    min-width: 0;
    width: auto;
    max-width: 100%;
  }

  .rsv-sidebar{
    flex: 0 0 400px;                 /* ширина сайдбара */
    max-width: 400px;
    width: 100%;
    display: flex;                   /* позволим внутренностям занять всю высоту */
    overflow: visible;               /* ВАЖНО: иначе sticky может не работать */
  }

  .rsv-sidebar > .rsv-form{
    flex: 1 1 auto;                  /* растянуть по высоте */
    display: flex;                   /* чтобы потомок мог «прилипать» в пределах сайдбара */
    min-height: 100%;
  }

  /* липкая карточка формы — едет при скролле и останавливается у низа .rsv-sidebar */
  .rsv-contact .rsv-card--sticky{
    position: sticky;
    top: var(--sticky-gap);          /* было 16px, теперь скролл начинается при 30px до верха */
  }

  /* Если включён WP admin bar (32px на десктопе) — компенсируем, чтобы визуально оставалось 30px */
  body.admin-bar .rsv-contact .rsv-card--sticky{
    top: calc(var(--sticky-gap) + 32px);
  }
}

/* ===== Mobile / tablet: обычный поток, без липкости ===== */
@media (max-width: 980px){
  .vre-two-col{ align-items: flex-start; }
  .rsv-sidebar{ display: flex; justify-content: center;}
  .rsv-contact .rsv-card--sticky{
    position: static;
    top: auto;
  }
}

/* === (опционально) если хотите учесть admin bar на узких экранах (46px) === */
@media (max-width: 782px){
  body.admin-bar .rsv-contact .rsv-card--sticky{
    top: calc(var(--sticky-gap) + 46px);
  }
}

.vre-tabs__panels{ position: relative; }
.vre-tabs__panel{ display:none; }
.vre-tabs__panel.is-active{ display:block;   padding: 5px }


/* --- Slider dots limit --- */
.vre-dots { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.vre-dots .vre-dot { width: 8px; height: 8px; border-radius: 50%; background: #c9c9c9; border: 0; padding: 0; }
.vre-dots .vre-dot.is-active { background: #111; }

/* Приховати все після 10-ї крапки (міняй 11 на N+1) */
.vre-dots .vre-dot:nth-child(n+1) { display: none; }

/* За потреби — невеличкий індикатор "ще є" */
.vre-dots[data-has-overflow="true"]::after {
  content: "…";
  margin-left: 4px;
  opacity: .6;
}

.vre-dots {
  display: none;
}

/* ── Mobile ≤ 490px ───────────────────────────────────────────── */
@media (max-width: 490px) {
  .vre-app{
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  /* Контейнер и ряды чуть плотнее */
  .rf-toolbar { padding: 10px 8px; }
  .rf-toolbar__row { display: flex; flex-wrap: wrap; gap: 8px; }

  /* Каждый pill/subpill — на всю строку, чтобы не ломалось */
  .rf-pill,
  .rf-subpill { width: 100%; }

  /* Главная цель: селекты уже и ниже */
  .rf-toolbar .rf-select,
  .rf-toolbar .rf-select.rf-range,
  .rf-subbar .rf-select,
  .rf-select--features {
    width: 100%;
    max-width: 100%;
    height: 36px;
    padding: 8px 28px 8px 10px;   /* меньше внутренние отступы */
    font-size: 13px;              /* контент селекта меньше */
    line-height: 1.2;
    background-position: right 10px center; /* стрелка ближе к краю */
    background-size: 12px auto;             /* стрелка меньше, если кастомная */
  }

  /* Опции внутри селектов — тоже меньше */
  .rf-toolbar .rf-select option { font-size: 13px; }

  /* Иконки (шестерёнка/лупа) меньше */
  .rf-iconbtn { width: 36px; height: 36px; }
  .rf-iconbtn.rf-iconbtn--gear,
  .rf-iconbtn.rf-iconbtn--search { min-width: 36px; }

  /* Блок Ref ID компактнее */
  .rf-inputwrap--refid .rf-input-id {
    height: 36px;
    font-size: 13px;
    padding: 8px 36px 8px 10px;
  }
  .rf-inputwrap--refid #rf-refid-search {
    width: 36px;
    height: 36px;
  }

  /* Подписи/лейблы поменьше */
  .rf-pill__label { font-size: 12px; }
  .rf-market { gap: 8px; }
  .rf-market__opt span { font-size: 13px; }
}
/* Плавающий контейнер блока GTranslate */
.vre-gtranslate-float {
  position: fixed !important;
  bottom: 16px !important;
  z-index: 9999 !important;
}

/* Ховер по пунктам внутри выпадающего списка */
.gt_float_switcher .gt_options a:hover {
  background: #cecececa !important;
  color: inherit !important;
}

/* Основной попап-переключатель */
.gt_float_switcher {
  position: fixed !important;
  bottom: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  padding-bottom: 0 !important;
  box-shadow: none !important;
  border: 1px solid #e5e5e5;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;

  /* прижимаем к правому краю вьюпорта */
  right: 10vh !important;
}

.gt_float_switcher img {
  width: 18px !important;
  height: 13px !important;
}

.gt_float_switcher-arrow {
  display: none !important;
}

/* ===== НАСТРОЙКИ ШРИФТОВ, БЕЗ ЗАМЕНЫ ТЕКСТА ЛЕЙБЛОВ ===== */

/* Лейбл выбранного языка в "шапке" */
.gt_float_switcher .gt-selected .gt-lang-code {
  font-size: 13px;
  text-transform: none;
  color: #143852;
  font-weight: normal;
}

/* Общий стиль для открытого дропдауна */
.gt-open {
  text-transform: none !important;
  color: #143852 !important;
  font-weight: normal;
}

/* Стиль для ссылок внутри выпадающего списка */
.gt_options a {
  text-transform: none !important;
  color: #143852 !important;
  font-weight: normal !important;
  font-size: 13px !important;
}

/* (Опционально) Скрыть English в списке выбора */



@media (max-width: 370px) {
  .vre-slider {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .vre-desc{
    width: 230px !important;
  }
  .vre-app {
    display: flex !important;
    align-items: center !important;
  }
  .vre-slider {
    width: auto !important;
  }
  .vre-slider__viewport{
    width: 260px !important;
  }

  .vre-desc-block {
    width: 270px !important;
  }

  .vre-tabs__btn{
    font-size: 12px !important;
  }
}

/* Контейнер текущего языка */
.gt-current-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Прячем двухбуквенный код, будем подставлять название через ::after */
.gt-current-lang .gt-lang-code {
  font-size: 0;
}

/* Названия в зависимости от флага (alt у <img>) */
.gt-current-lang img[alt="es"] + .gt-lang-code::after {
  content: "Spanish";
  font-size: 14px;
}

.gt-current-lang img[alt="pl"] + .gt-lang-code::after {
  content: "Polish";
  font-size: 14px;
}

.gt-current-lang img[alt="en"] + .gt-lang-code::after {
  content: "English";
  font-size: 14px;
}

/* Подправим флаг */
.gt-current-lang img {
  display: inline-block;
  height: 14px;
  width: auto;
  border-radius: 2px;
}

/* Прячем код языка */
.gt-current-lang .gt-lang-code {
  position: relative;
  font-size: 0;         /* скрываем "pl"/"es" */
  line-height: 1;
}

/* Для испанского (es) */
.gt-current-lang img[alt="es"] + .gt-lang-code::before,
.gt-current-lang img[src*="/es.svg"] + .gt-lang-code::before {
  content: "Spanish";
  font-size: 14px;
}

/* Для польского (pl) */
.gt-current-lang img[alt="pl"] + .gt-lang-code::before,
.gt-current-lang img[src*="/pl.svg"] + .gt-lang-code::before {
  content: "Polish";
  font-size: 14px;
}

.gt-current-lang img[alt="en"] + .gt-lang-code::before,
.gt-current-lang img[src*="/en.svg"] + .gt-lang-code::before {
  content: "English";
  font-size: 14px;
}

/* Прячем код языка вообще */
.gt-current-lang .gt-lang-code {
  display: none !important;
}

/* Общий стиль подписи языка */
.gt-current-lang::after {
  margin-left: 4px;
  font-size: 14px;
  vertical-align: middle;
}

/* Испанский */
.gt-current-lang:has(img[src*="/es.svg"])::after {
  content: "Spanish";
}

/* Польский */
.gt-current-lang:has(img[src*="/pl.svg"])::after {
  content: "Polish";
}

.gt-current-lang:has(img[src*="/en.svg"])::after {
  content: "English";
}

/* Подписи языков: "Spanish", "Polish" и т.д., а не SPANISH */
.gt_float_switcher .gt_selected a,
.gt_float_switcher .gt_options a,
.gt_float_switcher .gt_options a span {
  text-transform: none !important; /* выключаем принудительный UPPERCASE */
}

.gt_float_switcher .gt-selected {
  text-transform: none !important;
  color: #143852 !important;
}

.gt_float_switcher .gt-selected .gt-current-lang {
  color: #143852 !important;
}
