/* ==============================================
   HIDER · layout.css
   Ubicación: frontend/css/layout.css
   Descripción: Estilos para la estructura general del sitio, incluyendo:
   Header · mega menu · footer · drawer móvil
   ============================================== */

/* ── Promo strip ─────────────────────────────── */
.promo-strip {
  background: var(--brown);
  color: var(--cream);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 0;
  text-align: center;
  position: relative;
}

.promo-strip__inner {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.promo-strip__inner span + span::before {
  content: '·';
  margin: 0 18px;
  opacity: 0.4;
}

.promo-strip__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cream);
  opacity: 0.7;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: opacity var(--duration);
}

.promo-strip__close:hover { opacity: 1; }

/* ── Header ──────────────────────────────────── */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 250, 244, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    transform var(--duration-lg) var(--ease-out);
}

#header.scrolled {
  background: rgba(254, 250, 244, 0.98);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 4px 32px rgba(62, 42, 30, 0.10);
}

#header.hidden-up {
  transform: translateY(-100%);
}

.header-inner {
  padding: 0;
}

.header-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}

.nav-desktop                { justify-self: start; }
.header-container .logo     { justify-self: center; }
.header-icons               { justify-self: end; }

/* ── Logo ────────────────────────────────────── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brown-deep);
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  color: var(--brown);
  flex-shrink: 0;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--brown-deep);
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-brand .logo-img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ── Nav desktop ─────────────────────────────── */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  position: relative;
  transition: color var(--duration);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brown);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-caret {
  transition: transform 0.2s var(--ease);
}

.nav-item.open .nav-caret {
  transform: rotate(180deg);
}

/* ── Mega menu ───────────────────────────────── */
.nav-item {
  position: relative;
}

.mega-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--header-h) + 40px);
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease);
  z-index: 99;
}

.nav-item.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Puente invisible para no perder el hover */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  right: -20px;
  height: 20px;
}

.mega-menu__inner {
  padding: 32px 28px;
}

.mega-menu__categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.mega-cat {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: var(--r);
  transition: background var(--duration);
}

.mega-cat:hover {
  background: var(--cream);
}

.mega-cat__img {
  width: 80px;
  height: 80px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.mega-cat__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-cat__info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}

.mega-cat__info span {
  font-size: 12px;
  color: var(--muted);
}

.mega-menu__footer {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
  flex-wrap: wrap;
}

.mega-menu__link {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--duration);
}

.mega-menu__link:hover { color: var(--brown); }

.mega-menu__link--sale { color: var(--sale) !important; }

/* ── Header icons ────────────────────────────── */
.header-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
  transition: background var(--duration);
  flex-shrink: 0;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.icon-btn:hover {
  background: var(--cream-dark);
  color: var(--brown);
}

.icon-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  background: var(--brown);
  color: var(--cream);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg);
}

/* ── Mobile drawer ───────────────────────────── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  right: auto;
  width: min(320px, 88vw);
  background: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.38s var(--ease-out);
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 20px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-drawer__header .logo {
  margin-left: -1rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  overflow-y: auto;
  flex: 1;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  padding: 14px 24px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  transition: color var(--duration);
}

.mobile-nav__link:hover { color: var(--brown); }

.mobile-nav__sub {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
  background: var(--cream-soft);
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav__sub a {
  font-size: 14px;
  padding: 10px 40px;
  color: var(--muted);
  transition: color var(--duration);
}

.mobile-nav__sub a:hover { color: var(--brown); }

.drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(30, 18, 8, 0.45);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.drawer-scrim.open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Search overlay (modal centrado) ─────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 18, 8, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.search-panel {
  position: relative;
  background: var(--cream-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 640px;
  max-height: 82vh;
  overflow-y: auto;
  padding: 48px 40px 40px;
  transform: scale(0.95) translateY(12px);
  opacity: 0;
  transition: transform 0.38s var(--ease-out), opacity 0.3s var(--ease);
}

.search-overlay.open .search-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.search-panel__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.25s var(--ease);
  z-index: 2;
}

.search-panel__close:hover {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
  transform: rotate(90deg);
}

.search-panel__close svg { width: 18px; height: 18px; }

.search-panel__head {
  text-align: center;
  margin-bottom: 24px;
}

.search-panel__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  color: var(--brown-deep);
  margin-top: 10px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 12px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--duration), box-shadow var(--duration);
}

.search-form:focus-within {
  border-color: var(--brown);
  box-shadow: 0 0 0 4px rgba(91, 66, 52, 0.08);
}

.search-form svg {
  flex-shrink: 0;
  color: var(--muted);
}

#searchInput {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  padding: 0;
}

#searchInput::placeholder { color: var(--muted); }

.search-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.chip {
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--duration), background var(--duration), color var(--duration);
}

.chip:hover {
  border-color: var(--brown);
  background: var(--brown);
  color: var(--cream);
}

.search-results { margin-top: 28px; }

.search-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.search-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-item__img {
  aspect-ratio: 1/1;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--cream);
}

.search-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.search-item:hover .search-item__img img {
  transform: scale(1.05);
}

.search-item__name {
  font-family: var(--font-display);
  font-size: 15px;
}

.search-item__price {
  font-size: 13px;
  color: var(--muted);
}

.search-loading,
.search-empty {
  text-align: center;
  color: var(--muted);
  padding: 32px 0;
  font-size: 15px;
}

@media (max-width: 640px) {
  .search-grid { grid-template-columns: repeat(2, 1fr); }
  .search-panel { padding: 44px 24px 32px; }
}

/* ── Social float — posición base ───────────── */
.social-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 900;
}

/* Tooltip de label (legado, no se usa en el nuevo diseño) */
.social-float__btn[data-label]::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  font-family: var(--font-body);
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.social-float__btn:hover[data-label]::after { opacity: 1; }

/* ══════════════════════════════════════════════
   DARK MODE — layout overrides
   ══════════════════════════════════════════════ */

/* ── Header fondo ────────────────────────────── */
[data-theme="dark"] #header {
  background: rgba(15, 12, 10, 0.94);
  border-bottom-color: var(--line);
}

[data-theme="dark"] #header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* ── Logo header: invertir a crema en dark ───── */
[data-theme="dark"] .header-container .logo .logo-img,
[data-theme="dark"] .header-inner .logo .logo-img,
[data-theme="dark"] #header .logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* ── Mobile drawer logo ──────────────────────── */
[data-theme="dark"] .mobile-drawer .logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ── Nav links ───────────────────────────────── */
[data-theme="dark"] .nav-link {
  color: rgba(237, 232, 224, 0.65);
}
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: var(--cream);
}
[data-theme="dark"] .nav-link::after {
  background: var(--cream);
}

/* ── Icon buttons del header ─────────────────── */
[data-theme="dark"] .header-icons .icon-btn {
  color: rgba(237, 232, 224, 0.75);
}
[data-theme="dark"] .header-icons .icon-btn:hover {
  color: var(--cream);
}

/* ── Mega menu ───────────────────────────────── */
[data-theme="dark"] .mega-menu {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* Hover con fondo oscuro (--cream es claro en dark mode, no sirve) */
[data-theme="dark"] .mega-cat:hover {
  background: rgba(255,255,255,0.06);
}

[data-theme="dark"] .mega-cat__info strong {
  color: var(--text);
}
[data-theme="dark"] .mega-cat__info span {
  color: #b0a49a;
}
[data-theme="dark"] .mega-menu__footer {
  border-color: var(--line);
}
[data-theme="dark"] .mega-menu__link {
  color: #b0a49a;
}
[data-theme="dark"] .mega-menu__link:hover {
  color: var(--text);
}

/* ── Promo strip ─────────────────────────────── */
[data-theme="dark"] .promo-strip {
  background: #1a1410;
  border-bottom: 1px solid var(--line);
}

/* ── Search overlay ──────────────────────────── */
[data-theme="dark"] .search-overlay {
  background: rgba(0, 0, 0, 0.88);
}
[data-theme="dark"] .search-panel {
  background: var(--surface);
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
}

/* Botón cerrar — --white se remap a surface en dark, se vuelve invisible */
[data-theme="dark"] .search-panel__close {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--text);
}
[data-theme="dark"] .search-panel__close:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

/* Título — --brown-deep es oscuro, invisible en dark */
[data-theme="dark"] .search-panel__title {
  color: var(--text);
}

/* Eyebrow dentro del panel */
[data-theme="dark"] .search-panel__head .eyebrow {
  color: var(--muted);
}

/* Formulario de búsqueda */
[data-theme="dark"] .search-form {
  background: var(--surface-2);
  border-color: var(--border);
}
[data-theme="dark"] .search-form:focus-within {
  border-color: var(--brown-light);
  box-shadow: 0 0 0 4px rgba(160, 112, 96, 0.12);
}
[data-theme="dark"] .search-form svg {
  color: var(--muted);
}
[data-theme="dark"] #searchInput {
  background: transparent;
  color: var(--text);
}

/* Sugerencias populares */
[data-theme="dark"] .search-label {
  color: var(--muted);
}
[data-theme="dark"] .chip {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}
[data-theme="dark"] .chip:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

/* Resultados */
[data-theme="dark"] .search-item__name {
  color: var(--text);
}
[data-theme="dark"] .search-item__price {
  color: var(--muted);
}
[data-theme="dark"] .search-item__img {
  background: var(--surface-2);
}
[data-theme="dark"] .search-loading,
[data-theme="dark"] .search-empty {
  color: var(--muted);
}

/* ── Mobile drawer ───────────────────────────── */
[data-theme="dark"] .mobile-drawer {
  background: var(--surface);
  border-right: 1px solid var(--line);
}
[data-theme="dark"] .mobile-nav__link {
  color: var(--text);
  border-bottom-color: var(--line);
}
[data-theme="dark"] .mobile-nav__link:hover {
  color: var(--brown-light);
}
[data-theme="dark"] .mobile-nav__sub a {
  color: var(--muted);
}

/* ── Footer ──────────────────────────────────── */
[data-theme="dark"] .site-footer {
  background: #090706;
}

/* ── Social float — estilo crema + café ──────── */
.social-float__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-decoration: none;
  /* Light mode: fondo crema, ícono café, borde sutil */
  background: #fcf4e8;
  color: #5b4234;
  border: 1.5px solid #e8d4bc;
  box-shadow: 0 2px 10px rgba(62, 42, 30, 0.12);
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    transform .2s ease,
    box-shadow .2s ease;
}

.social-float__icon:hover {
  background: #5b4234;
  color: #fcf4e8;
  border-color: #5b4234;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 18px rgba(62, 42, 30, 0.28);
}

/* WhatsApp — mismo estilo crema/café, ligeramente más grande */
.social-float .social-float__wa {
  width: 50px;
  height: 50px;
  background: #fcf4e8 !important;
  color: #5b4234 !important;
  border: 1.5px solid #e8d4bc !important;
  box-shadow: 0 2px 10px rgba(62, 42, 30, 0.14) !important;
  animation: none !important;
}

.social-float .social-float__wa:hover {
  background: #5b4234 !important;
  color: #fcf4e8 !important;
  border-color: #5b4234 !important;
  box-shadow: 0 6px 18px rgba(62, 42, 30, 0.3) !important;
}

/* Dark mode: superficie oscura, ícono dorado */
[data-theme="dark"] .social-float__icon {
  background: var(--surface);
  color: var(--gold-light);
  border-color: var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .social-float__icon:hover {
  background: var(--surface-2);
  color: #fcf4e8;
  border-color: var(--gold-light);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .social-float .social-float__wa {
  background: var(--surface) !important;
  color: var(--gold-light) !important;
  border-color: var(--line) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .social-float .social-float__wa:hover {
  background: var(--surface-2) !important;
  color: #fcf4e8 !important;
  border-color: var(--gold-light) !important;
}

/* ── Footer ──────────────────────────────────── */
.site-footer {
  background: var(--brown-deep);
  color: var(--cream);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 52px;
  margin-bottom: 56px;
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 16px;
  display: block;
  width: fit-content;
  margin-left: -2.5rem;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(252, 244, 232, 0.78);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background var(--duration);
}

.footer-social-btn:hover {
  background: var(--cream);
  color: var(--brown-deep);
  transform: translateY(-2px);
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(252, 244, 232, 0.82);
  transition: color var(--duration);
}

.footer-links a:hover { color: var(--cream); }

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 13px;
  color: var(--cream);
  outline: none;
  transition: border-color var(--duration);
}

.footer-newsletter-form input::placeholder {
  color: rgba(252, 244, 232, 0.68);
}

.footer-newsletter-form input:focus {
  border-color: var(--gold);
}

.footer-newsletter-form button {
  width: 42px;
  height: 42px;
  background: var(--cream);
  color: var(--brown-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--duration);
}

.footer-newsletter-form button:hover {
  background: var(--cream-dark);
}

.footer-newsletter-form button svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 12px;
  color: rgba(252, 244, 232, 0.72);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-claim {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream) !important;
  transition: background var(--duration);
}

.footer-claim:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-claim__icon {
  width: 30px;
  height: 30px;
  background: var(--cream);
  color: var(--brown-deep);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-claim__icon svg {
  width: 14px;
  height: 14px;
}

.footer-claim__text span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.82;
}

.footer-claim__text strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .header-container {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .mega-menu { display: none; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .search-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .logo-name { font-size: 20px; }

  .social-float {
    right: calc(12px + env(safe-area-inset-right));
    bottom: calc(18px + env(safe-area-inset-bottom));
    gap: 7px;
    z-index: 980;
  }

  .social-float__icon,
  .social-float__btn,
  .social-float .social-float__wa {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    background: rgba(252, 244, 232, 0.98) !important;
    color: #5b4234 !important;
    border: 1px solid rgba(91, 66, 52, 0.24) !important;
    box-shadow: 0 10px 26px rgba(28, 18, 12, 0.2) !important;
  }

  .social-float__icon svg,
  .social-float__btn svg,
  .social-float .social-float__wa svg {
    width: 19px;
    height: 19px;
  }

  .social-float__wa-label {
    display: none;
  }
}
