/* ════════════════════════════════════════════════════════════════════════
   AURA VELAS — layout.css
   Header, navegación, megamenú, menú móvil, footer, botón WhatsApp.
   ════════════════════════════════════════════════════════════════════════ */

/* ───────────────────────────── TOPBAR (franja negra de aviso) ───────────────────────────── */
.topbar {
  background: #000;
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  position: relative;
  z-index: 81;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px var(--sp-5);
  text-align: center;
}
.topbar__ico { width: 18px; height: 18px; flex-shrink: 0; }

/* ─────────────── BLOQUE SUPERIOR FIJO (topbar + header juntos) ─────────────── */
/* El wrapper .site-top es el único fixed: contiene el topbar y el header, y se
   oculta/aparece COMO UNA SOLA UNIDAD con el auto-hide. */
.site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  transform: translateY(0);
  transition: transform var(--t-base);
}
/* AUTO-HIDE: todo el bloque (topbar + header) se sube por completo. */
.site-top.is-hidden { transform: translateY(-100%); }

/* Empuja el contenido de TODAS las páginas para que comience debajo del bloque
   fijo. main.js sustituye el respaldo por la altura real de topbar + header.
   El espacio permanece estable cuando el bloque se auto-oculta, evitando saltos
   de contenido al cambiar la dirección del scroll. */
main { padding-top: var(--site-top-h, 140px); }

/* ───────────────────────────── HEADER ───────────────────────────── */
.header {
  position: relative;        /* dentro de .site-top, ya no es fixed por sí solo */
  background: var(--c-ice);  /* mismo color que el footer */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.header.is-scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: var(--sh-sm);
  background: var(--c-ice);  /* mismo color que el footer */
}


/* ── Una sola línea: logo (izq) · menús · buscador · idioma · carrito (der) ── */
.header__top {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
}
.header .brand { flex-shrink: 0; }      /* logo a la izquierda, no se encoge */
.header__right {
  margin-left: auto;                    /* empuja buscador+idioma+carrito a la derecha */
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}
/* El buscador, más amplio. */
.header__right .search { width: clamp(280px, 26vw, 420px); }

/* ── Menú: ya en la misma fila; queda junto al logo, a la izquierda del bloque
   derecho. Sin auto-centrado (eso era para el layout de 2 filas). ── */
.header__bottom { display: none; }      /* la 2ª fila ya no se usa */

/* ── Brand / logo ── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; color: var(--c-terra); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-lg);
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__name small {
  display: block;
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  margin-top: 3px;
}

/* ── Nav desktop (en línea, junto al logo) ── */
.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-left: clamp(24px, 3vw, 56px);   /* menús más a la izquierda (más sitio para el buscador) */
}
.nav__item { position: relative; }
/* Navegación editorial: sin pastillas, cajas ni fondos. El estado activo y el
   hover se indican con color y una línea fina que nace desde el centro. */
/* Navegación unificada (estilo Horeka): pastilla redondeada; el hover y el estado
   activo se indican con un fondo SÓLIDO (sin línea inferior ni translúcidos). */
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-nav);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-text-soft);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav__link:hover,
.nav__item.is-open .nav__link {
  color: var(--c-terra-dark);   /* solo cambia el color del texto, sin óvalo de fondo */
  text-decoration: none;
}
.nav__link.is-active {
  color: var(--c-terra-dark);   /* menú seleccionado: mismo color del hover, en negritas */
  font-weight: 700;
}
.nav__link:focus-visible {
  color: var(--c-terra-dark);
  outline: 2px solid var(--c-terra-soft);
  outline-offset: 4px;
}

.nav__caret {
  width: 10px; height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: 0.55;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav__item.is-open .nav__caret {
  transform: rotate(225deg) translate(-2px, -2px);
  opacity: 1;
}

/* ── Header actions ── */
.header__actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}

/* ── Buscador (header) ── */
.search { position: relative; width: 100%; }
.search__form {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 6px 6px var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: 999px;       /* píldora redondeada (como la referencia) */
  background: var(--c-white);
  transition: border-color var(--t-fast);
}
.search__form:focus-within { border-color: var(--c-terra); }
.search__input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: var(--fs-sm);
  color: var(--c-text);
  min-width: 0;
}
/* Botón de lupa a la DERECHA, redondo. */
.search__btn {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--c-text-soft);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.search__btn:hover { background: var(--c-ice); color: var(--c-terra-dark); }
.search__icon { width: 18px; height: 18px; flex-shrink: 0; }
.search__input::placeholder { color: var(--c-text-soft); }

/* Resultados desplegables en vivo */
.search__results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 60vh;
  overflow-y: auto;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  z-index: 95;
  padding: var(--sp-2);
}
.search-res {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  color: var(--c-text);
  transition: background var(--t-fast);
}
.search-res:hover { background: var(--c-ice); }
.search-res__thumb { width: 44px; height: 44px; border-radius: var(--r-sm); overflow: hidden; background: var(--c-ice); }
.search-res__thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-res__info { display: flex; flex-direction: column; min-width: 0; }
.search-res__name { font-size: var(--fs-sm); font-weight: 700; line-height: 1.2; }
.search-res__sub { font-size: var(--fs-xs); color: var(--c-text-soft); }
.search-res__price { font-size: var(--fs-sm); font-weight: 700; color: var(--c-terra-dark); }
.search-res__empty { padding: var(--sp-4); text-align: center; color: var(--c-text-soft); font-size: var(--fs-sm); }

/* En el menú móvil el buscador va arriba, ancho completo. */
.search--mobile { margin-bottom: var(--sp-5); }

/* ── Botón del carrito (header) ── */
.cart-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 0;                  /* sin círculo: solo el icono */
  background: none;
  color: var(--c-text-soft);  /* mismo color que el texto de los menús del header */
  font-family: var(--font-button);
  transition: color var(--t-fast), transform var(--t-fast);
}
.cart-btn:hover { color: var(--c-terra-dark); transform: translateY(-2px); }
.cart-btn svg { width: 23px; height: 23px; }
.cart-btn__count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--r-round);
  background: var(--c-text-soft);   /* globito del carrito en el color de los menús (antes rosa) */
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
}
/* Cuando el carrito está vacío, ocultamos el contador. */
.cart-btn[data-cart-empty] .cart-btn__count { display: none; }

/* ───────────────────────────── MEGAMENÚ ───────────────────────────── */
.megamenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(680px, 90vw);
  padding: var(--sp-6);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
  z-index: 90;
}
/* puente invisible para que no se cierre al cruzar el hueco */
.nav__item.is-open .megamenu::before {
  content: "";
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
}
.nav__item.is-open .megamenu,
.nav__item:focus-within .megamenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.megamenu__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
.megamenu__col-title {
  font-family: var(--font-nav);
  font-size: var(--fs-xs);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--c-text-soft);
  margin-bottom: var(--sp-3);
  padding-left: 12px;
}
.megamenu__link {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: var(--sp-3);
  padding: 9px 12px;
  border-radius: var(--r-md);
  font-family: var(--font-nav);
  color: var(--c-text);
  transition: background var(--t-fast), transform var(--t-fast);
}
.megamenu__link:hover { background: var(--c-ice); transform: translateX(2px); }
.megamenu__link-ico {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: var(--c-ice);
  color: var(--c-terra-dark);
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast);
}
.megamenu__link:hover .megamenu__link-ico { background: var(--c-terra); color: var(--c-white); }
.megamenu__link-ico svg { width: 20px; height: 20px; }
.megamenu__link-body { display: flex; flex-direction: column; line-height: 1.25; }
.megamenu__link-body span { font-size: var(--fs-sm); font-weight: 600; }
.megamenu__link-body small { font-size: var(--fs-xs); color: var(--c-text-soft); }
.megamenu__cta {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.megamenu__cta span { font-size: var(--fs-sm); color: var(--c-text-soft); }

/* ── Iconos pequeños genéricos ── */
.nav-ico { width: 20px; height: 20px; }

/* ───────────────────────────── SELECTOR DE IDIOMA ───────────────────────────── */
.lang-switcher { position: relative; }
.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 0;                  /* sin caja: solo globo + código + flecha */
  background: none;
  color: var(--c-text);
  font-family: var(--font-button);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color var(--t-fast);
}
.lang-switcher__btn:hover { color: var(--c-terra-dark); }
.lang-switcher__globe { width: 18px; height: 18px; flex-shrink: 0; }
.lang-switcher__caret {
  width: 12px; height: 12px;
  transition: transform var(--t-fast);
}
.lang-switcher.is-open .lang-switcher__caret { transform: rotate(180deg); }

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  padding: var(--sp-2);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: 0 10px 28px rgba(74, 51, 64, 0.12);   /* sombra neutra, sin tinte rosa */
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity var(--t-fast), transform var(--t-fast);
  z-index: 95;
}
.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-switcher__menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-family: var(--font-button);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
  text-align: left;
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-switcher__menu button span { font-size: var(--fs-xs); color: var(--c-text-soft); font-weight: 700; }
.lang-switcher__menu button:hover { background: var(--c-ice); color: var(--c-terra-dark); }

/* Selector de idioma dentro del menú móvil (botones lado a lado) */
.mobile-nav__lang { display: flex; gap: var(--sp-3); }
.mobile-nav__lang button {
  flex: 1;
  padding: 10px 12px;
  border-radius: var(--r-btn);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  font-family: var(--font-button);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.mobile-nav__lang button:hover { border-color: var(--c-terra); color: var(--c-terra-dark); }

/* ───────────────────────────── HAMBURGUESA ───────────────────────────── */
.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  background: var(--c-white);
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px; height: 1.6px;
  background: var(--c-text);
  border-radius: 0;
  transition: transform var(--t-base), opacity var(--t-base), top var(--t-base);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ───────────────────────────── MENÚ MÓVIL ───────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--c-cream);
  z-index: 90;                 /* por encima del header (.site-top z-80) */
  padding: var(--sp-8) var(--sp-5);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-base);
}
/* Botón X para cerrar el menú móvil (arriba a la derecha). */
.mobile-nav__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-white);
  color: var(--c-text);
  cursor: pointer;
}
.mobile-nav__close svg { width: 22px; height: 22px; }
.nav-open .mobile-nav { transform: translateX(0); }
.mobile-nav__group { margin-bottom: var(--sp-5); }
.mobile-nav__group h4 {
  font-family: var(--font-nav);
  font-size: var(--fs-xs);
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--c-text-soft);
  margin-bottom: var(--sp-3);
}
.mobile-nav__group a {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: var(--sp-3);
  padding: 14px 0;
  font-family: var(--font-nav);
  font-size: var(--fs-lg);
  font-weight: 600;
  border-bottom: 1px solid var(--c-border);
}
.mobile-nav__group a .nav-ico,
.mobile-nav__group a svg { width: 22px; height: 22px; color: var(--c-terra-dark); }
.mobile-nav__cta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
/* Redes centradas en el menú móvil. Se usa flex (no inline-flex) con ancho
   completo para que justify-content:center surta efecto. !important vence al
   display:inline-flex que .social-icons aplica por defecto. */
.mobile-nav__social {
  display: flex !important;
  width: 100%;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  justify-content: center;
}
/* Más aire entre el botón X (arriba a la derecha) y la barra de búsqueda. */
.mobile-nav .search--mobile { margin-top: var(--sp-6); }

/* ───────────────────────────── REDES SOCIALES ───────────────────────────── */
.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.social-icons__link {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-text-soft);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.social-icons__link:hover {
  background: var(--c-terra);
  color: var(--c-white);
  border-color: var(--c-terra);
  transform: translateY(-2px);
}
.social-icons__link svg { width: 18px; height: 18px; }

/* Footer claro: los iconos sociales usan el estilo base (borde crema) */

/* ───────────────────────────── FOOTER (claro) ───────────────────────────── */
.footer {
  color: var(--c-text-soft);
  border-top: 1px solid var(--c-border);
}
/* Zona de columnas: franja crema a TODO el ancho (color del header). */
.footer__top {
  background: var(--c-ice);
  padding: var(--sp-10) 0 var(--sp-8);
}
/* Barra inferior: fondo blanco. */
.footer__bottom-wrap {
  background: #fff;
  padding: var(--sp-6) 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--sp-7);
}
/* Nombre de marca del footer (reemplaza al logo). */
.footer__brand-name {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-heading);
  text-decoration: none;
  line-height: 1.1;
}
.footer__about {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  max-width: 34ch;
}

/* Bloque "Compra con confianza" + logos de pago. */
.footer__pay { margin-top: var(--sp-5); }
.footer__pay-title {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}
.footer__pay-logos {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.footer__pay-logos img {
  height: 30px;
  width: auto;
  border-radius: 4px;        /* esquinitas suaves para que no se vean cortados */
}
.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__col a {
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  transition: color var(--t-fast);
}
.footer__col a:hover { color: var(--c-terra); }
.footer__contact-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  margin-bottom: var(--sp-3);
}
.footer__contact-line svg { width: 16px; height: 16px; color: var(--c-terra); flex-shrink: 0; }
.footer__bottom {
  position: relative;            /* para centrar el "powered" de forma absoluta */
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
}
.footer__copy { /* copyright a la izquierda */ }
.footer__powered {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);  /* centrado real, sin importar el copyright */
  white-space: nowrap;
}
/* En móvil se apilan centrados (no hay espacio para el centrado absoluto). */
@media (max-width: 700px) {
  .footer__bottom { flex-direction: column; text-align: center; gap: var(--sp-2); }
  .footer__powered { position: static; transform: none; }
}

/* ───────────────────────────── WHATSAPP FLOTANTE ───────────────────────────── */
.wa-float {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 60;
  width: 48px; height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-terra);
  color: #fff;
  box-shadow: 0 5px 16px rgba(200, 74, 135, 0.3);
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-fast);
}
.wa-float:hover { background: var(--c-terra-dark); transform: scale(1.06); box-shadow: 0 8px 22px rgba(200, 74, 135, 0.42); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float::after {
  display: none;   /* sin efecto de pulso */
}

/* ───────────────────────────── BOTÓN SUBIR ARRIBA ───────────────────────────── */
/* Fondo ROSA sólido + flecha (SVG) BLANCA. Va encima del botón de WhatsApp. */
.scroll-top {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);                       /* esquina inferior (ya sin el botón de WhatsApp) */
  z-index: 60;
  width: 48px; height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;                         /* blanco (a petición) */
  border: 1.5px solid var(--c-text-soft);  /* borde en el color del texto de los menús del header */
  color: var(--c-text-soft);                /* la flecha en el mismo color del texto de los menús */
  box-shadow: none;                          /* sin sombra (a petición) */
  cursor: pointer;
  /* Oculto hasta hacer scroll. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: none;   /* sin efecto de transición (a petición) */
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-2px); }   /* sin cambio de fondo; se mantiene blanco con borde durazno */
.scroll-top svg { width: 22px; height: 22px; }

/* ───────────────────────────── RESPONSIVE ───────────────────────────── */
@media (max-width: 980px) {
  /* Móvil: logo a la izquierda, carrito + hamburguesa a la derecha.
     El menú, el buscador de escritorio y el idioma pasan al menú móvil. */
  .nav { display: none; }                          /* menús → menú móvil */
  .header__right .search--desktop { display: none; }
  .header__right .lang-switcher { display: none; }
  .burger { display: block; }
  .header__top { padding: var(--sp-3) var(--sp-5); }
  :root { --header-h: 64px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .wa-float { right: var(--sp-4); bottom: var(--sp-4); width: 44px; height: 44px; }
  .scroll-top { right: var(--sp-4); bottom: calc(var(--sp-4) + 44px + var(--sp-3)); width: 44px; height: 44px; }
  .wa-float svg { width: 22px; height: 22px; }
  .scroll-top svg { width: 20px; height: 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .brand__name { font-size: var(--fs-md); }
}

/* ════════════════════════════════════════════════════════════════════════
   CHELSEA — logo de imagen en header/footer + acentos del logo
   ════════════════════════════════════════════════════════════════════════ */
/* El logo ya contiene el nombre, así que mostramos solo la imagen. */
.brand__logo {
  display: block;
  width: auto;
  object-fit: contain;
  transition: transform var(--t-base);
}
.brand__logo--header { height: 60px; }
.brand:hover .brand__logo { transform: scale(1.04) rotate(-1deg); }

/* En el footer (fondo oscuro) el logo va en una "tarjeta" blanca redondeada
   porque la imagen trae fondo blanco. */
.footer__brand .brand { display: inline-block; }
.brand__logo--footer { height: 96px; }

.header.is-scrolled { box-shadow: 0 4px 22px rgba(200, 74, 135, 0.12); }

/* Megamenú e iconos: acento rosa SÓLIDO del logo (sin degradados) */
.megamenu__link:hover .megamenu__link-ico {
  background: var(--c-terra);
  color: #fff;
}
.social-icons__link:hover {
  background: var(--c-terra);
  border-color: transparent;
  color: #fff;
}
/* En el footer los iconos viven dentro de .footer__col, cuya regla
   `.footer__col a:hover { color: terra }` tiene más especificidad y pisaba
   el blanco. Igualamos/superamos esa especificidad para el icono social. */
.footer__col a.social-icons__link { color: var(--c-text-soft); }
.footer__col a.social-icons__link:hover { color: #fff; }

@media (max-width: 980px) {
  .brand__logo--header { height: 50px; }
}
