.furia-language-selector {
  position: relative;
  flex: 0 0 auto;
  font-family: var(--fs-shell-sans, Inter, Arial, sans-serif);
}

@media (max-width: 600px) {
  html[data-i18n-status="complete"] .fs-global-footer.furia-footer-map {
    column-gap: 8px;
  }

  html[data-i18n-status="complete"] .furia-footer-map__brand {
    transform: scale(.7);
  }

  html[data-i18n-status="complete"] .furia-footer-map__nav a,
  html[data-i18n-status="complete"] .furia-footer-map__legal,
  html[data-i18n-status="complete"] .furia-footer-map__top {
    min-width: 0;
    max-width: 100%;
    font-size: 10px !important;
    letter-spacing: .05em;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  html[data-i18n-status="complete"][data-prepublicacion-pagina="profesionales"] .access-panel h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  html[lang="de"][data-i18n-status="complete"][data-prepublicacion-pagina="historia"] #historia-title {
    font-size: clamp(58px, 18vw, 72px) !important;
    overflow-wrap: normal;
    white-space: nowrap;
  }
}
.furia-language-selector__toggle {
  min-width: 68px;
  min-height: 34px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(138, 111, 54, .55);
  border-radius: 999px;
  background: rgba(3, 3, 3, .72);
  color: #f4f1e9;
  font: 600 12px/1 var(--fs-shell-sans, Inter, Arial, sans-serif);
  letter-spacing: .12em;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}
.furia-language-selector__toggle:hover,
.furia-language-selector__toggle:focus-visible {
  color: #f4f1e9;
  border-color: rgba(138, 111, 54, .82);
  background: rgba(12, 11, 9, .9);
  outline: 1px solid rgba(197, 161, 90, .7);
  outline-offset: 3px;
}

.furia-language-selector__globe {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  fill: none;
  stroke: #8A6F36;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .7;
  transition: opacity 160ms ease;
}

.furia-language-selector__toggle:hover .furia-language-selector__globe,
.furia-language-selector__toggle:focus-visible .furia-language-selector__globe {
  opacity: .9;
}

.furia-language-selector__chevron {
  margin-left: 1px;
  color: #8A6F36;
  font-size: 10px;
  line-height: 1;
}

/* Home: the existing hero control is the single visible language selector. */
.fs-global-home .fs-header:has(.fs-language [data-furia-language-selector]) {
  overflow: visible;
  isolation: auto;
}
.fs-global-home .fs-language {
  padding: 0;
}
.fs-global-home .fs-language .furia-language-selector__toggle {
  min-width: 0;
  min-height: 0;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
.fs-global-home .furia-language-selector__globe {
  flex-basis: 13px;
}
.fs-global-home .furia-language-selector__chevron {
  margin-left: 1px;
}
.fs-global-home .fs-language .furia-language-selector__menu {
  position: fixed;
  top: var(--furia-hero-language-menu-top, 148px);
  right: var(--furia-hero-language-menu-right, 3%);
  max-height: calc(100svh - var(--furia-hero-language-menu-top, 148px) - 12px);
  overflow-y: auto;
}
.furia-language-selector__menu {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 10px);
  right: 0;
  width: max-content;
  min-width: 208px;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(197, 161, 90, .34);
  background: rgba(3, 3, 3, .98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  list-style: none;
}
.furia-language-selector__menu[hidden] { display: none; }
.furia-language-selector__menu a {
  min-height: 44px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  color: rgba(244, 241, 233, .78);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: none;
  white-space: nowrap;
}
.furia-language-selector__menu a span:first-child {
  color: #c5a15a;
  font-weight: 700;
  letter-spacing: .12em;
}
.furia-language-selector__menu a:hover,
.furia-language-selector__menu a:focus-visible,
.furia-language-selector__menu a[aria-current="page"] {
  background: rgba(197, 161, 90, .1);
  color: #fff;
  outline: none;
}
.furia-i18n-pending {
  margin: 0;
  color: rgba(244, 241, 233, .58);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.furia-i18n-technical-home {
  min-height: calc(100svh - 132px);
  padding: clamp(150px, 22vh, 240px) 24px 90px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  background: #000;
  color: #f4f1e9;
  text-align: center;
}
.furia-i18n-technical-home h1 {
  margin: 0;
  color: #c5a15a;
  font-family: var(--fs-shell-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(52px, 9vw, 126px);
  font-weight: 400;
  letter-spacing: .08em;
  line-height: .9;
}
.furia-i18n-technical-home__claim {
  max-width: 760px;
  margin: 0;
  font-family: var(--fs-shell-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(24px, 3.2vw, 46px);
  line-height: 1.12;
}
@media (max-width: 760px) {
  .fs-global-actions:has(.furia-language-selector) { gap: 6px !important; }
  .furia-language-selector__toggle { min-width: 60px; min-height: 32px; padding: 6px 7px; gap: 4px; font-size: 10px; }
  .furia-language-selector__globe { width: 12px; height: 12px; flex-basis: 12px; }
  .furia-language-selector__menu { position: fixed; top: var(--fs-shell-height, 76px); right: 10px; max-height: calc(100svh - 90px); overflow-y: auto; }
  .furia-i18n-technical-home { padding-inline: 20px; }
}
@media (max-width: 400px) {
  .fs-global-actions:has(.furia-language-selector) { gap: 3px !important; }
  .furia-language-selector__toggle { min-width: 56px; padding-inline: 5px; gap: 3px; }
  .fs-global-header:has(.furia-language-selector) .fs-global-wordmark { gap: 3px; }
  .fs-global-header:has(.furia-language-selector) .fs-global-wordmark strong { font-size: 19px; }
  .fs-global-header:has(.furia-language-selector) .fs-global-wordmark span { font-size: 6px; letter-spacing: .08em; }
  .fs-global-header:has(.furia-language-selector) :is(.fs-global-buy,.fs-global-selection,.fs-global-assistance) {
    font-size: 8.5px;
    letter-spacing: 0;
  }
}

@media (max-width: 760px) {
  .fs-global-home .fs-language .furia-language-selector__menu {
    position: fixed;
    top: var(--furia-hero-language-menu-top, 214px);
    right: var(--furia-hero-language-menu-right, 10px);
  }
}

/* Localised AOVE names are naturally longer than the Spanish abbreviation.
   Let the translated product category wrap without moving the bottle or
   changing the Spanish source pages. */
@media (max-width: 767px) {
  html[data-i18n-status="complete"] body:has(> main > .picual-hero) .hero-copy {
    width: 72% !important;
  }

  html[data-i18n-status="complete"] body:has(> main > .picual-hero) .hero-copy h1 {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    font-size: clamp(40px, 11.2vw, 46px) !important;
    line-height: .86 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  html[data-i18n-status="complete"] body:has(> main > .picual-hero) .hero-copy h1 {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    font-size: clamp(62px, 8.2vw, 84px) !important;
    line-height: .86 !important;
  }
}
/* Legal localized pages: keep long contact values inside the tablet grid. */
html:not([lang="es"]) .legal-nav ~ main .data-grid,
html:not([lang="es"]) .legal-nav ~ main .data-grid dd {
  min-width: 0;
}

html:not([lang="es"]) .legal-nav ~ main .data-grid dd {
  overflow-wrap: anywhere;
}
