@import url('fonts.css');
@import url('tokens.css');

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-body); }
h1, h2 { font-family: var(--font-display); }

:root {
  /* ── Tipografía */
  --font-display: 'Adieu', serif;
  --font-body: 'AT Surt', Arial, Helvetica, sans-serif;
  /* ── Tipografía (solo fonts — colores vienen de tokens.css) */
  /* ── Aliases landing (referencian tokens) */
  --orange:      var(--lime);
  --orange-hover:var(--lime-hover);
  --blue:        var(--violet);
  --blue-hover:  var(--violet-hover);
  --purple:      var(--violet);
  --purple-hover:var(--violet-hover);
  --bg-purple:   var(--violet-soft);
  /* ── Amarillo apoyo */
  --yellow: #eaf55a;
  /* ── Grafito */
  --dark: #1E1E1E;
  --darker: #111111;
  /* ── Fondos neutros */
  --bg-light: #F5F5F5;
  --bg-white: #FFFFFF;
  --bg-gray: #EEEEEE;
  /* ── Texto */
  --text: #1A1A1A;
  --text-light: #555555;
  --text-muted: #888888;
  /* ── Utilidades */
  --radius: 8px;
  --radius-lg: 16px;
  /* --transition heredado de tokens.css (.2s ease) */
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background: #F5F3FF;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.95rem; font-weight: 600; border-radius: var(--radius);
  padding: 0.65em 1.5em; transition: all var(--transition); cursor: pointer;
  border: 2px solid transparent; text-decoration: none;
}
.btn-primary { background: var(--orange); color: var(--dark); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: var(--dark); }
.btn-secondary { background: #fff; color: var(--dark); border-color: var(--orange); }
.btn-secondary:hover { background: var(--orange); color: var(--dark); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--dark); border-color: #fff; }
.btn-white:hover { background: rgba(255,255,255,0.9); color: var(--orange); }
.btn-lg { padding: 0.85em 2em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ===== HEADER ===== */
.header {
  background: #fff; position: sticky; top: 0; z-index: 90;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.1); }

/* Row 1: Logo + Search + CTAs */
.header-top { padding: 16px 0; }
.header-top-inner {
  display: grid; align-items: center; gap: 48px;
  grid-template-columns: 1fr minmax(0, 680px) 1fr;
  max-width: 1440px; margin: 0 auto; padding: 0 32px;
}
.logo img { height: 48px; }
.header-search {
  position: relative; width: 100%;
}
.header-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}
.header-search-input {
  width: 100%; padding: 11px 16px 11px 42px; border: 2px solid #ddd; border-radius: 30px;
  font-size: 0.9rem; font-family: inherit; outline: none; transition: border-color var(--transition);
  color: var(--text);
}
.header-search-input:focus { border-color: var(--orange); }
.header-search-input::placeholder { color: var(--text-muted); }

/* Header search — dropdown autocompletado */
.header-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
  z-index: 200;
  max-height: 70vh;
  overflow-y: auto;
  padding: 6px 0;
}
.header-search-dropdown[hidden] { display: none; }
.hs-section-title {
  font: 700 .68rem var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 16px 6px;
}
.hs-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 16px 12px; }
.hs-tag {
  border: 1px solid #e5e5e5;
  background: #fafafa;
  border-radius: 18px;
  padding: 6px 12px;
  font: 500 .8rem var(--font-body);
  color: var(--text);
  cursor: pointer;
  transition: background 140ms, border-color 140ms, color 140ms;
}
.hs-tag:hover { background: #8942FE; color: #fff; border-color: #8942FE; }
.hs-result {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 9px 16px;
  text-decoration: none;
  color: var(--text);
  transition: background 140ms;
}
.hs-result:hover, .hs-result.is-active { background: #f5f0ff; }
.hs-result img, .hs-img-ph {
  width: 44px; height: 44px; border-radius: 8px;
  object-fit: cover; background: #f0f0f0; flex-shrink: 0;
}
.hs-result-text { min-width: 0; flex: 1; }
.hs-result-name {
  font: 600 .88rem var(--font-body);
  color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hs-result-meta {
  font: 500 .75rem var(--font-body);
  color: var(--text-muted);
  margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hs-empty, .hs-loading {
  padding: 16px;
  font: 500 .85rem var(--font-body);
  color: var(--text-muted);
}
.hs-see-all {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  border-top: 1px solid #f0f0f0;
  font: 600 .85rem var(--font-body);
  color: #8942FE;
  cursor: pointer;
  margin-top: 4px;
}
.hs-see-all:hover { background: #fafafa; }

.header-ctas { display: flex; align-items: center; gap: 12px; justify-self: end; }

/* Contacto dropdown */
.nav-contact-wrap { position: relative; }
.nav-contact-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  font: 600 13px var(--font-body);
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(25,25,25,0.12);
  transition: background 160ms ease, border-color 160ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.nav-contact-trigger:hover { background: #F5F3FF; border-color: rgba(25,25,25,0.2); color: var(--text); }
.nav-contact-trigger .chev { transition: transform var(--transition); }
.nav-contact-wrap:hover .nav-contact-trigger .chev { transform: rotate(180deg); }
.nav-contact-pop {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid rgba(25,25,25,0.08);
  border-top: 2px solid #C4FF4D;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(25,25,25,0.12);
  padding: 8px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 300;
  margin-top: 6px;
}
.nav-contact-pop::before {
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-contact-wrap:hover .nav-contact-pop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-contact-pop .label-small {
  font: 700 10px var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px 6px;
}
.nav-contact-pop a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  font: 600 13px var(--font-body);
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  transition: background 140ms ease;
}
.nav-contact-pop a:hover { background: #F5F3FF; color: var(--text); }
.nav-contact-pop a svg { color: var(--blue); flex-shrink: 0; }

/* Language dropdown */
.nav-lang-wrap { position: relative; }
.nav-lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px;
  font: 600 13px var(--font-body);
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(25,25,25,0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.nav-lang-trigger:hover { background: #F5F3FF; border-color: rgba(25,25,25,0.2); }
.nav-lang-trigger .chev { transition: transform var(--transition); }
.nav-lang-wrap:hover .nav-lang-trigger .chev { transform: rotate(180deg); }
.nav-lang-pop {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid rgba(25,25,25,0.08);
  border-top: 2px solid #C4FF4D;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(25,25,25,0.12);
  padding: 6px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 300;
  margin-top: 6px;
}
.nav-lang-pop::before {
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-lang-wrap:hover .nav-lang-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  font: 600 13px var(--font-body);
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 140ms ease;
}
.lang-option:hover { background: #F5F3FF; }
.lang-option--active { color: var(--blue); }

/* Row 2: Nav + Actions */
.header-bottom { border-top: 1px solid #eee; }
.header-bottom-inner {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  min-height: 48px;
  max-width: 1440px; margin: 0 auto; padding: 14px 32px;
}

/* Desktop Nav */
.nav-desktop { display: flex; }
.nav-list { display: flex; gap: 0; }
.nav-item a {
  display: flex; align-items: center; gap: 4px;
  padding: 12px 16px; font-size: 0.9rem; font-weight: 500;
  color: var(--text); transition: all var(--transition);
  white-space: nowrap;
}
.nav-item a:hover { color: var(--orange); }
.nav-highlight { color: var(--orange) !important; font-weight: 600 !important; }
.nav-badge-new { color: var(--orange) !important; font-weight: 600 !important; }
.nav-badge-deal { color: var(--orange) !important; font-weight: 600 !important; }
.chevron { transition: transform var(--transition); }
.has-dropdown:hover .chevron { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all var(--transition); pointer-events: none;
  border-top: 3px solid var(--orange);
}
.mega-menu::before {
  content: ''; position: absolute; top: -20px; left: 0; right: 0; height: 20px;
}
.has-dropdown:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: all; }
.mega-menu-inner { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; max-width: 100%; margin: 0 auto; padding: 40px 0; }
.mega-col { padding: 0 28px; border-right: 1px solid var(--bg-gray); }
.mega-col:first-child { padding-left: 40px; }
.mega-col:last-child { border-right: none; padding-right: 40px; }
.mega-col h4 { font-size: 0.95rem; font-weight: 600; color: var(--dark); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.mega-icon { color: var(--blue); flex-shrink: 0; }
.mega-col a {
  display: block; font-size: 0.9rem; color: var(--text-light); padding: 6px 0;
  transition: color var(--transition), padding-left var(--transition);
}
.mega-col a:hover { color: var(--orange); padding-left: 8px; }
.mega-menu-3col { grid-template-columns: repeat(3, 1fr) !important; max-width: 800px !important; }
.mega-menu-3col .mega-col { display: flex; justify-content: center; align-items: center; border-right: none; padding: 0 32px; }
.mega-link {
  display: inline-flex; align-items: center; gap: 12px; font-size: 0.95rem; font-weight: 600;
  color: var(--dark); text-transform: uppercase; letter-spacing: 0.5px;
  padding: 8px 0; transition: color var(--transition); white-space: nowrap;
}
.mega-link .mega-icon { flex-shrink: 0; }
.mega-link:hover { color: var(--orange); }

/* Header Actions (Row 2) */
.header-actions { display: flex; align-items: center; gap: 6px; }
.lang-switcher { display: flex; flex-direction: row; gap: 6px; margin-left: 16px; align-items: center; }
.lang-btn {
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1.5px solid transparent; border-radius: 3px;
  padding: 1px; cursor: pointer; opacity: 0.45; transition: opacity var(--transition), border-color var(--transition);
}
.lang-btn:hover { opacity: 0.8; }
.lang-btn.lang-active { opacity: 1; border-color: var(--blue); }
.lang-btn img { display: block; border-radius: 2px; }
.header-account, .header-cart, .header-wishlist {
  height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; transition: background var(--transition), color var(--transition); color: var(--text);
  padding: 0 14px; gap: 6px;
}
.header-account:hover, .header-cart:hover, .header-wishlist:hover { background: var(--bg-light); }
/* Anónimo: el botón de cuenta es pill con texto "Acceso" + icono */
.header-account { padding: 0 14px 0 10px; }
.header-account-acceso { font-size: 0.85rem; font-weight: 500; color: var(--text); line-height: 1; }
.header-account:hover .header-account-acceso { color: var(--orange); }
/* Logueado: pill violeta con "Portal del cliente" (la clase --logged la añade script.js en paint()) */
.header-account.header-account--logged { padding: 0 14px 0 10px; border-radius: 999px; gap: 8px; background: var(--accent, #8942FE); color: #fff; }
.header-account.header-account--logged:hover { background: #7733ee; }
.header-account.header-account--logged svg { color: #fff; }
.header-account-portal-label { font-size: 0.85rem; font-weight: 600; color: #fff; line-height: 1; white-space: nowrap; }
.header-account .chev { transition: transform 180ms ease; width: 12px; height: 12px; }
.header-acceso-wrap:hover .header-account .chev { transform: rotate(180deg); }

/* Popover "Acceso" para anónimos: Soy cliente / Crear cuenta */
.header-acceso-wrap { position: relative; }
.header-acceso-pop {
  position: absolute; top: 100%; right: 0;
  background: #fff; border: 1px solid rgba(25,25,25,0.08);
  border-top: 2px solid #C4FF4D; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(25,25,25,0.12);
  padding: 8px; min-width: 220px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 300; margin-top: 6px;
}
.header-acceso-pop::before { content:''; position:absolute; top:-14px; left:0; right:0; height:14px; }
.header-acceso-wrap:hover .header-acceso-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.header-acceso-pop a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; font: 600 13px var(--font-body);
  color: var(--text); text-decoration: none; border-radius: 8px;
  transition: background 140ms ease;
}
.header-acceso-pop a:hover { background: #F5F3FF; color: var(--text); }
.header-acceso-pop a svg { color: #8942FE; flex-shrink: 0; }
body.bitubi-logged-in .header-acceso-pop { display: none; }

/* Dropdown que se abre al click sobre el icono de cuenta cuando hay sesión */
.header-account-wrap { position: relative; display: inline-flex; }
.account-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 240px; background: #fff; border: 1px solid #e4e2de;
  border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 200; overflow: hidden;
}
.account-dropdown.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.account-dropdown-header {
  padding: 14px 16px; border-bottom: 1px solid #efece8; background: #fafaf8;
}
.account-dropdown-name { font-size: 14px; font-weight: 600; color: #111; line-height: 1.3; }
.account-dropdown-email {
  font-size: 12px; color: #6b6b6b; line-height: 1.3; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.account-dropdown-list { padding: 6px 0; }
.account-dropdown-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  font-size: 13px; font-weight: 500; color: #111; text-decoration: none;
  background: none; border: none; width: 100%; text-align: left;
  cursor: pointer; font-family: inherit; transition: background 0.12s;
}
.account-dropdown-item:hover { background: #f5f4f1; }
.account-dropdown-item svg { color: #6b6b6b; flex-shrink: 0; }
.account-dropdown-divider { height: 1px; background: #efece8; margin: 4px 0; }
.account-dropdown-item--danger { color: #d94848; }
.account-dropdown-item--danger:hover { background: #fff1f1; }
.account-dropdown-item--danger svg { color: #d94848; }
.account-dropdown-item:focus,
.account-dropdown-item:focus-visible {
  outline: none;
  background: #f0e8ff;
  box-shadow: inset 3px 0 0 var(--accent, #8942FE);
}
.account-dropdown-item--danger:focus,
.account-dropdown-item--danger:focus-visible {
  background: #ffe8e8;
  box-shadow: inset 3px 0 0 #d94848;
}

/* Modal de confirmación reutilizable (logout y posibles otros usos) */
.bitubi-confirm-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; transition: opacity 0.18s ease;
}
.bitubi-confirm-backdrop.open { opacity: 1; }
.bitubi-confirm {
  background: #fff; border-radius: 14px; max-width: 380px; width: calc(100% - 32px);
  padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  transform: scale(0.96); transition: transform 0.18s ease;
}
.bitubi-confirm-backdrop.open .bitubi-confirm { transform: scale(1); }
.bitubi-confirm-title { font-size: 17px; font-weight: 600; color: #111; margin: 0 0 8px; }
.bitubi-confirm-msg { font-size: 14px; color: #555; line-height: 1.5; margin: 0 0 20px; }
.bitubi-confirm-actions { display: flex; gap: 10px; justify-content: flex-end; }
.bitubi-confirm-btn {
  font-family: inherit; font-size: 14px; font-weight: 500;
  padding: 9px 18px; border-radius: 8px; cursor: pointer;
  border: 1px solid transparent; transition: background 0.12s, border-color 0.12s;
}
.bitubi-confirm-btn--cancel { background: #f3f1ec; color: #111; border-color: #e4e2de; }
.bitubi-confirm-btn--cancel:hover { background: #e9e6df; }
.bitubi-confirm-btn--danger { background: #d94848; color: #fff; }
.bitubi-confirm-btn--danger:hover { background: #c43c3c; }
.bitubi-confirm-btn:focus-visible { outline: 2px solid var(--accent, #8942FE); outline-offset: 2px; }
.header-wishlist { position: relative; display: none; }
body.bitubi-logged-in .header-wishlist { display: flex; }
.header-wishlist svg { color: #40bfb0; }
.header-wishlist-label { font-size: 0.85rem; font-weight: 500; color: var(--text); line-height: 1; white-space: nowrap; }
.header-wishlist:hover .header-wishlist-label { color: var(--accent, #8942FE); }
.wishlist-count {
  position: absolute; top: 2px; right: 4px; background: #40bfb0; color: #fff;
  font-size: 0.6rem; font-weight: 700; width: 16px; height: 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.header-account-label {
  font-size: 0.85rem; font-weight: 500; color: var(--text); white-space: nowrap;
  margin-right: 8px;
}
.header-cart { position: relative; display: none; }
body.bitubi-logged-in .header-cart { display: flex; }
.header-cart-label { font-size: 0.85rem; font-weight: 500; color: var(--text); line-height: 1; white-space: nowrap; }
.header-cart:hover .header-cart-label { color: var(--accent, #8942FE); }
.cart-count {
  position: absolute; top: 2px; right: 4px; background: var(--orange); color: #fff;
  font-size: 0.6rem; font-weight: 700; width: 16px; height: 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* Hamburger */
.hamburger { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Search Overlay */
.search-overlay {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 16px 0; box-shadow: var(--shadow-lg);
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: all var(--transition); z-index: -1;
}
.search-overlay.active { transform: translateY(0); opacity: 1; visibility: visible; z-index: 10; }
.search-overlay-inner { display: flex; gap: 12px; align-items: center; }
.search-input {
  flex: 1; padding: 12px 20px; border: 2px solid #e0e0e0; border-radius: var(--radius);
  font-size: 1rem; outline: none; transition: border-color var(--transition);
}
.search-input:focus { border-color: var(--blue); }
.search-close { color: var(--text-light); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 320px; max-width: 85vw;
  height: 100vh; background: #fff; z-index: 200; padding: 0;
  transition: right var(--transition); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.mobile-nav.active { right: 0; }
.mobile-nav-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px; border-bottom: 1px solid #eee; font-weight: 600; font-size: 1.1rem;
}
.mobile-nav-list { flex: 1; overflow-y: auto; padding: 8px 0; }
.mobile-nav-list li a {
  display: block; padding: 14px 20px; font-size: 1rem; color: var(--text);
  border-bottom: 1px solid #f4f4f4; transition: all var(--transition);
}
.mobile-nav-list li a:hover { background: var(--bg-light); color: var(--orange); padding-left: 28px; }
.mobile-nav-footer { padding: 20px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #eee; }
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 199; opacity: 0; visibility: hidden; transition: all var(--transition);
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }

/* ===== MINI CART ===== */
.mini-cart {
  position: fixed; top: 0; right: -400px; width: 380px; max-width: 90vw;
  height: 100vh; background: #fff; z-index: 200;
  transition: right var(--transition); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.mini-cart.active { right: 0; }
.mini-cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px; border-bottom: 1px solid #eee;
}
.mini-cart-header h3 { font-size: 1.2rem; }
.mini-cart-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.mini-cart-body.has-items { align-items: stretch; justify-content: flex-start; flex-direction: column; padding: 0; overflow: hidden; }
.mini-cart-empty { text-align: center; }
.mini-cart-empty p { margin: 16px 0 24px; color: var(--text-muted); font-size: 1rem; }
.mc-items { flex: 1; overflow-y: auto; padding: 8px 16px; }
.mc-item { display: grid; grid-template-columns: 52px 1fr auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.mc-item:last-child { border-bottom: none; }
.mc-img { width: 52px; height: 52px; object-fit: contain; border: 1px solid #eee; border-radius: 6px; background: #f9f9f9; padding: 4px; }
.mc-name { font-size: 0.82rem; font-weight: 600; margin-bottom: 2px; line-height: 1.3; }
.mc-meta { font-size: 0.72rem; color: var(--text-muted); }
.mc-price { font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.mc-remove { background: none; border: none; cursor: pointer; color: #ccc; font-size: 1.3rem; line-height: 1; padding: 2px 4px; transition: color 0.2s; }
.mc-remove:hover { color: #e53935; }
.mc-footer { padding: 16px; border-top: 1px solid #eee; flex-shrink: 0; }
.mc-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 0.88rem; }
.mc-total strong { font-size: 1.05rem; }
.mc-btn { display: block; text-align: center; }
.mini-cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 199; opacity: 0; visibility: hidden; transition: all var(--transition);
}
.mini-cart-overlay.active { opacity: 1; visibility: visible; }

/* ===== HERO ===== */
.hero {
  background: #FFFFFF;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.hero-content {
  max-width: 580px;
}
.hero-content h1 {
  font-family: 'Adieu', serif;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #191919;
  margin-bottom: 24px;
}
.hero-content h1 * { font-family: 'Adieu', serif; font-weight: inherit; }
.hero-content h1 .lima-line,
.hero-content h1 .o-bitubi { display: block; }
.hero-content h1 .o-bitubi { margin-top: 4px; }
.hero-content p {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 44ch;
}

/* ── Hero product collage ── */
.hero-products {
  position: relative;
  aspect-ratio: 1.05;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 12px;
}
.hp-item {
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(25,25,25,0.09);
  transition: transform 300ms ease;
}
.hp-item:hover { transform: translateY(-4px) rotate(-1deg); }
.hp-bottle { grid-column: 1 / 3; grid-row: 1 / 4; background: #fff; transform: rotate(-6deg); }
.hp-bottle .pill {
  background: #191919; color: #F5F3FF;
  padding: 6px 14px; border-radius: 20px;
  font: 800 11px var(--font-display); letter-spacing: -0.01em;
}
.hp-tag { grid-column: 3 / 5; grid-row: 1 / 3; background: #8FCC00; transform: rotate(-3deg); color: #fff; text-align: center; }
.hp-tag .label { font: 800 13px var(--font-display); letter-spacing: -0.01em; }
.hp-tag .sub { font: 600 10px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; margin-top: 4px; }
.hp-hoodie { grid-column: 5 / 7; grid-row: 1 / 5; background: #fff; transform: rotate(3deg); }
.hp-hoodie .circle {
  width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: #C4FF4D; display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center;
  color: #191919; font: 800 18px var(--font-display); letter-spacing: -0.02em;
}
.hp-tote { grid-column: 2 / 5; grid-row: 3 / 7; background: #D4C4A8; transform: rotate(2deg); }
.hp-tote .badge { background: #191919; color: #fff; padding: 12px 18px; border-radius: 6px; text-align: center; }
.hp-tote .badge .big { font: 800 22px var(--font-display); letter-spacing: -0.02em; }
.hp-tote .badge .small { font: 600 9px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; color: #C4FF4D; }
.hp-beanie {
  grid-column: 1 / 3; grid-row: 4 / 7;
  background: #C4FF4D; border-radius: 60% 60% 40% 40%;
  transform: rotate(-4deg);
}
.hp-beanie .label {
  background: #FFB8D9; padding: 4px 10px; border-radius: 4px;
  color: #191919; font: 800 12px var(--font-display);
}
.hp-mug { grid-column: 4 / 7; grid-row: 5 / 7; background: #fff; transform: rotate(-2deg); }
.hp-mug .label { background: #FFB8D9; padding: 4px 10px; border-radius: 4px; color: #191919; font: 800 12px var(--font-display); text-align: center; }

/* ===== COLECCIONES POPULARES ===== */
.popular-section { padding: 72px 0; background: #fff; }
.popular-title { font-size: 2rem; font-weight: 400; color: var(--dark); margin-bottom: 36px; }
.popular-title strong { font-weight: 700; }

.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 12px;
}

/* Tamaños masonry — gestionados desde admin (campo masonry_size) */
.popular-card--size-small         { grid-column: span 1; grid-row: span 1; }
.popular-card--size-featured      { grid-column: span 1; grid-row: span 2; }
.popular-card--size-featured-wide { grid-column: span 2; grid-row: span 1; }
.popular-card--size-featured-tall { grid-column: span 1; grid-row: span 2; }

.popular-card {
  background: var(--card-bg, var(--bg-light));
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
a.popular-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}
a.popular-card:hover img { transform: scale(1.04); }
.popular-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 280ms ease;
}
.popular-card--featured img { opacity: 0.55; }
.popular-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  z-index: 1;
  background: linear-gradient(to top, var(--feat-color, #1E1E1E) 30%, transparent 75%);
}
.popular-card--size-featured-wide::after,
.popular-card--featured.popular-card--size-featured-wide::after {
  background: linear-gradient(to right, var(--feat-color, #1E1E1E) 25%, transparent 65%);
}
.popular-card__label, .popular-card__cta { position: relative; z-index: 2; }
.popular-card--featured .popular-card__label { color: #fff; }
.popular-card--featured .popular-card__cta   { color: #fff; }

.popular-card__label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 8px;
}
.popular-card__label strong { font-weight: 700; }

.popular-card__cta {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
}
.popular-card__cta:hover { color: var(--blue); }

.popular-card__desc {
  position: relative;
  z-index: 2;
  font: 500 0.85rem var(--font-body);
  color: var(--dark);
  margin: 4px 0 0;
  line-height: 1.35;
  max-width: 32ch;
}
.popular-card--featured .popular-card__desc { color: rgba(255,255,255,0.88); }

/* Responsive masonry — en pantallas pequeñas el grid colapsa */
@media (max-width: 900px) {
  .popular-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .popular-card--size-featured-wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .popular-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .popular-card--size-featured-wide,
  .popular-card--size-small { grid-column: span 1; grid-row: span 1; }
  .popular-card--size-featured,
  .popular-card--size-featured-tall { grid-column: span 1; grid-row: span 2; }
  .popular-card__label { font-size: 1.5rem; }
}

/* ===== BRANDS ===== */
.brands-section { background: var(--bg-light); padding: 48px 0 32px; }
.brands-label {
  text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 2px;
  color: var(--blue); margin-bottom: 28px; text-transform: uppercase;
}
.brands-marquee {
  overflow: hidden; max-width: 1200px; margin: 0 auto; position: relative;
}
.brands-marquee::before, .brands-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.brands-marquee::before { left: 0; background: linear-gradient(to right, var(--bg-light), transparent); }
.brands-marquee::after { right: 0; background: linear-gradient(to left, var(--bg-light), transparent); }
.brands-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 60px;
  animation: marquee 25s linear infinite;
  width: max-content;
  white-space: nowrap;
}
.brands-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-logo {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: grayscale(100%); opacity: 0.45;
  transition: filter 0.3s, opacity 0.3s; cursor: pointer;
  width: 120px; height: 44px;
}
.brand-logo:hover { filter: grayscale(0%); opacity: 1; }
.brand-logo img {
  display: inline-block !important;
  width: 110px; height: 40px; object-fit: contain;
}

/* ===== SERVICES STRIP ===== */
.services-strip { padding: 48px 0; background: #fff; border-bottom: 1px solid #eee; }
.services-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-strip-item { display: flex; gap: 16px; align-items: flex-start; }
.service-strip-icon { flex-shrink: 0; }
.service-strip-text { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }
.service-strip-text strong { color: var(--dark); display: block; margin-bottom: 4px; }
.service-strip-link { display: inline-block; margin-top: 8px; font-size: 0.85rem; font-weight: 600; color: var(--blue); }
.service-strip-link:hover { color: var(--orange); }

/* ===== DEALS ===== */
.deals-section { padding: 48px 0; background: var(--bg-light); }
.deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.deal-card { background: #fff; border: 1px solid #e8e8e8; border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); position: relative; }
.deal-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.deal-badge { position: absolute; top: 16px; left: 16px; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 4px; z-index: 1; }
.deal-badge-weekly { background: var(--blue); color: #fff; }
.deal-badge-steal { background: var(--orange); color: #fff; }
.deal-badge-day { background: var(--dark); color: #fff; }
.deal-card-inner { display: flex; align-items: center; padding: 24px; gap: 20px; }
.deal-img { width: 120px; height: 120px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; }
.deal-img img { width: 100%; height: 100%; object-fit: cover; }
.deal-info { flex: 1; }
.deal-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); border: 1px solid #ddd; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; }
.deal-info h3 { font-size: 0.95rem; font-weight: 600; color: var(--dark); margin-bottom: 12px; line-height: 1.4; }
.deal-footer { display: flex; justify-content: space-between; align-items: center; }
.deal-price { font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.btn-sm { padding: 0.4em 1em; font-size: 0.8rem; }

/* ===== SPECIAL SERVICES ===== */
.special-services { padding: 48px 0; background: #fff; }
.special-services-inner { display: flex; align-items: center; gap: 32px; background: var(--bg-light); border-radius: var(--radius-lg); padding: 36px 40px; }
.special-services-icon { flex-shrink: 0; }
.special-services-text { flex: 1; }
.special-services-text h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.special-services-text p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

@media (max-width: 768px) {
  .services-strip-grid { grid-template-columns: 1fr; gap: 24px; }
  .deals-grid { grid-template-columns: 1fr; }
  .special-services-inner { flex-direction: column; text-align: center; padding: 28px 20px; }
}

/* ===== CATEGORIES ===== */
.categories-section { padding: 80px 0; }
.section-title {
  text-align: center; font-size: 2rem; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
}
.section-subtitle {
  text-align: center; font-size: 1rem; color: var(--text-light);
  margin-bottom: 48px; max-width: 500px; margin-left: auto; margin-right: auto;
}
.categories-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.category-card {
  display: block; text-align: center; border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition);
  background: #fff; box-shadow: var(--shadow);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card:hover h3 { color: var(--orange); }
.category-img {
  height: 180px; overflow: hidden;
  transition: transform var(--transition);
}
.category-img img {
  width: 100%; height: 100%; object-fit: contain; padding: 12px;
}
.category-card:hover .category-img { transform: scale(1.03); }
.category-card h3 {
  font-size: 0.95rem; font-weight: 600; padding: 16px 12px;
  color: var(--text); transition: color var(--transition);
}

/* ===== ADVENTURE ===== */
.adventure-section { padding: 0; overflow: hidden; }
.adventure-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 420px;
}
.adventure-image { position: relative; overflow: hidden; }
.adventure-image-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #6B2FE2 0%, #8942FE 50%, #a970ff 100%);
}
.adventure-image-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255,200,69,0.2) 0%, transparent 40%);
}
.adventure-content {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 60px 48px; background: #fff; max-width: 700px;
}
.adventure-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--blue); margin-bottom: 12px;
}
.adventure-content h2 { font-size: 2rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.adventure-content p { font-size: 1rem; color: var(--text-light); line-height: 1.7; margin-bottom: 28px; }
.adventure-accent { background: var(--yellow); }

/* ===== WIZARD ===== */
.wizard-section { padding: 64px 0; background: #fff; }
.wizard-tag {
  display: block; text-align: center; font-size: 0.8rem; font-weight: 600;
  color: var(--orange); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px;
}
.wizard-box {
  max-width: 720px; margin: 32px auto 0; background: var(--bg-light);
  border-radius: var(--radius-lg); padding: 40px 36px; position: relative;
}
.wizard-progress {
  height: 4px; background: #ddd; border-radius: 2px; margin-bottom: 32px; overflow: hidden;
}
.wizard-progress-bar {
  height: 100%; background: var(--orange); border-radius: 2px;
  transition: width 0.4s ease;
}
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: wizFade 0.3s ease; }
@keyframes wizFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.wizard-step h3 {
  font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; text-align: center;
}
.wizard-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.wizard-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; background: #fff; border: 2px solid #e0e0e0;
  border-radius: var(--radius); font-size: 0.95rem; font-weight: 500;
  color: var(--text); cursor: pointer; transition: all 0.2s;
  font-family: inherit;
}
.wizard-opt:hover { border-color: var(--orange); background: rgba(244,71,25,0.03); }
.wizard-opt.selected { border-color: var(--orange); background: rgba(244,71,25,0.06); color: var(--orange); font-weight: 600; }
.wizard-opt-num { font-size: 1.1rem; font-weight: 700; color: var(--orange); }
.wizard-back {
  display: block; margin: 20px auto 0; background: none; border: none;
  color: var(--text-muted); font-size: 0.9rem; cursor: pointer; font-family: inherit;
}
.wizard-back:hover { color: var(--orange); }
.wizard-result { text-align: center; }
.wizard-result svg { margin: 0 auto 16px; display: block; }
.wizard-result h3 { font-size: 1.5rem; color: var(--dark); margin-bottom: 12px; }
.wizard-result p { font-size: 1rem; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; }
.wizard-result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== COLLECTIONS ===== */
.collections-section { padding: 80px 0; background: var(--bg-gray); }
.collections-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.collection-card {
  display: flex; flex-direction: column; align-items: center;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: all var(--transition);
  text-align: center;
}
.collection-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.collection-img {
  width: 100%; height: 180px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.collection-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.collection-price { position: relative; z-index: 1; }
.collection-price {
  font-size: 1.8rem; font-weight: 700; color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.collection-card h3 { font-size: 1rem; font-weight: 600; padding: 16px 12px 8px; color: var(--text); }
.collection-card .btn { margin: 0 16px 20px; }

/* ===== VALUES ===== */
.values-section { padding: 80px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius-lg);
  padding: 36px 24px; text-align: center; transition: all var(--transition);
}
.value-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.value-icon { margin-bottom: 20px; }
.value-card h4 { font-size: 1.15rem; font-weight: 600; color: var(--dark); margin-bottom: 12px; }
.value-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }
.value-link {
  display: inline-block; margin-top: 16px; font-size: 0.9rem;
  font-weight: 600; color: var(--blue); transition: color var(--transition);
}
.value-link:hover { color: var(--orange); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
  padding: 72px 0; color: #fff;
}
.cta-banner-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-banner-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.cta-banner-content p { font-size: 1rem; opacity: 0.8; max-width: 500px; line-height: 1.6; }
.cta-banner-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== NEWSLETTER ===== */
.newsletter-section { padding: 64px 0; background: var(--bg-light); }
.newsletter-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.newsletter-text h3 { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.highlight { color: var(--orange); }
.newsletter-text p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-input {
  flex: 1; padding: 14px 20px; border: 2px solid #ddd; border-radius: var(--radius);
  font-size: 0.95rem; outline: none; transition: border-color var(--transition);
}
.newsletter-input:focus { border-color: var(--blue); }
.newsletter-success {
  display: none; margin-top: 16px; color: #27ae60; font-weight: 600; font-size: 0.95rem;
}
.newsletter-success.show { display: block; }

/* ===== FOOTER ===== */
.footer { background: var(--darker); color: #fff; padding: 60px 0 0; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { filter: brightness(0) invert(1); }
.footer-tagline { margin-top: 12px; font-size: 0.85rem; color: var(--text-muted); font-style: italic; }
.footer-links-group { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: #fff; }
.footer-col a { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.6); padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--yellow); }
.footer-hours { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-top: 8px; }
.footer-col-contact { min-width: 240px; }
.footer-contact-sub { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.5); margin-bottom: 12px; font-weight: 600; }
.footer-schedule p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer-contact-methods { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: rgba(255,255,255,0.8); font-weight: 500; transition: color var(--transition); }
.footer-contact-item:hover { color: var(--orange); }
.footer-contact-item svg { flex-shrink: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding: 24px 0;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-social a:hover { color: var(--yellow); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: #fff; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
  background: var(--orange); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transform: translateY(20px); transition: all var(--transition); z-index: 80;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--orange-hover); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].animated { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1066px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .phone-text { display: none; }
  .header-phone { padding: 6px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .adventure-inner { grid-template-columns: 1fr; }
  .adventure-image { min-height: 250px; }
  .adventure-accent { display: none; }
  .footer-links-group { gap: 32px; }
}

@media (max-width: 768px) {
  .top-bar-links { display: none; }
  .hero { min-height: 400px; }
  .hero-content { padding: 32px 24px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.95rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .category-img { height: 140px; }
  .collections-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section-title { font-size: 1.6rem; }
  .adventure-content { padding: 40px 24px; }
  .adventure-content h2 { font-size: 1.6rem; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-content h2 { font-size: 1.5rem; }
  .cta-banner-actions { justify-content: center; }
  .newsletter-form { flex-direction: column; }
  .footer-top { flex-direction: column; }
  .footer-links-group { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .header-inner { height: 60px; }
  .header-account { display: none; }
  .hero-content { padding: 24px 20px; }
  .hero-content h1 { font-size: 1.5rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-img { height: 110px; }
  .values-grid { grid-template-columns: 1fr; }
  .collections-grid { grid-template-columns: 1fr; }
  .brands-row { gap: 20px; }
  .brand-logo { width: 90px; height: 36px; }
  .brand-logo img { width: 80px; height: 32px; }
  .reviews-track { grid-template-columns: 1fr; }
  .review-arrow { display: none; }
}

/* ===== CUSTOMER REVIEWS ===== */
.reviews-section {
  padding: 60px 0 50px;
  background: var(--bg-light);
}
.reviews-section .section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 40px;
}
.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}
.review-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  transition: all var(--transition);
}
.review-arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.reviews-track {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-stars {
  font-size: 1.3rem;
  color: #F5C518;
  letter-spacing: 2px;
}
.review-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-author strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}
.review-author span {
  font-size: 0.85rem;
  color: var(--text-light);
}
.review-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.reviews-see-all {
  display: block;
  text-align: center;
  margin-top: 32px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.reviews-see-all:hover {
  color: var(--orange);
}

/* ===== MODAL LOGIN / REGISTRO ===== */
.auth-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.auth-modal-overlay.active {
  display: flex;
}
.auth-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px 36px;
  position: relative;
  animation: authModalIn 0.25s ease;
}
@keyframes authModalIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  line-height: 1;
  transition: color var(--transition);
}
.auth-modal-close:hover { color: var(--dark); }

.auth-logo { margin-bottom: 24px; }
.auth-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.auth-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.auth-form { display: flex; flex-direction: column; gap: 0; }
.auth-field { margin-bottom: 18px; }
.auth-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.auth-input {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-bottom: 2px solid #d0d0d0;
  border-radius: 0;
  font-size: 0.95rem;
  color: var(--dark);
  outline: none;
  transition: border-color var(--transition);
  background: transparent;
  box-sizing: border-box;
}
.auth-input:focus { border-bottom-color: var(--dark); }
.auth-input::placeholder { color: #bbb; }

.auth-password-wrap { position: relative; }
.auth-password-wrap .auth-input { padding-right: 40px; }
.auth-toggle-pw {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  transition: color var(--transition);
}
.auth-toggle-pw:hover { color: var(--dark); }

.auth-forgot {
  display: block;
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 24px;
  margin-top: 4px;
}
.auth-forgot:hover { color: var(--dark); }

.auth-btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.auth-btn-primary:hover { background: var(--orange); }

.auth-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 32px 0;
}

.auth-register-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.auth-register-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.5;
}
.auth-benefits {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-benefits li {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
}
.auth-btn-secondary {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition);
}
.auth-btn-secondary:hover { background: var(--orange); }

.header-account-label {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text);
  padding: 0;
  font-family: inherit;
}
.header-account-label:hover { color: var(--orange); }

.header-account-logout {
  background: none;
  border: 1px solid var(--text-light, #777);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.72rem;
  color: var(--text-light, #777);
  padding: 3px 10px;
  margin-left: 8px;
  font-family: inherit;
  transition: background .15s, color .15s, border-color .15s;
}
.header-account-logout:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* ===== TRUST METRICS ===== */
.trust-metrics {
  border-top: 1px solid rgba(25,25,25,0.08);
  padding: 36px 0 0;
  margin-top: 32px;
  display: flex;
  gap: 0;
  justify-content: center;
}
.trust-metric {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(25,25,25,0.08);
}
.trust-metric:last-child { border-right: none; }
.trust-metric-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #191919;
  line-height: 1;
  margin-bottom: 6px;
}
.trust-metric-num .unit { font-size: 0.65em; }
.trust-metric-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== TRES PASOS ===== */
.steps-section {
  background: #FFFFFF;
  padding: 80px 0;
}
.steps-eyebrow {
  font: 700 11px var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.steps-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #191919;
  line-height: 1.05;
  margin-bottom: 16px;
}
.steps-title .accent { color: var(--blue); }
.steps-subtitle {
  font-size: 17px;
  color: var(--text-light);
  max-width: 52ch;
  margin-bottom: 56px;
  line-height: 1.5;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(25,25,25,0.06);
  border-radius: 20px;
  overflow: hidden;
}
.step-card {
  background: #fff;
  padding: 40px 36px;
  position: relative;
}
.step-num {
  font: 800 72px/1 var(--font-display);
  letter-spacing: -0.04em;
  color: #191919;
  opacity: 0.06;
  position: absolute;
  top: 24px;
  right: 28px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #191919;
  margin-bottom: 12px;
}
.step-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}
.step-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F5F3FF;
  border: 1px solid rgba(25,25,25,0.08);
  border-radius: 999px;
  padding: 5px 12px;
  font: 600 12px var(--font-body);
  color: #191919;
}
.step-promises { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.step-promise {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}
.step-promise-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: #C4FF4D;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.step-promise-icon svg { width: 11px; height: 11px; color: #191919; }
.step-promise b { color: #191919; }
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-products { max-width: 380px; margin: 0 auto; }
  .trust-metrics { flex-direction: column; align-items: center; }
  .trust-metric { border-right: none; border-bottom: 1px solid rgba(25,25,25,0.08); padding: 20px 0; }
  .trust-metric:last-child { border-bottom: none; }
}

/* ===== MEGA MENU: COLECCIONES (design system) ===== */
.nav-item-ds { position: static; }
.mega-ds {
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  margin-top: 8px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(25,25,25,0.08);
  border-top: 2px solid #C4FF4D;
  box-shadow: 0 24px 48px rgba(25,25,25,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 200ms cubic-bezier(.2,.8,.2,1), transform 200ms cubic-bezier(.2,.8,.2,1), visibility 200ms;
  pointer-events: none;
  z-index: 200;
}
.mega-ds::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.nav-item-ds:hover .mega-ds {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.nav-item-ds:hover .chevron {
  transform: rotate(180deg);
}
.mega-ds-grid {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 15px;
}
.mega-ds-main {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
}
.mega-ds-section-title {
  font: 700 10px var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px;
}

/* Drop cards */
.drops-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}
.drop-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
  cursor: pointer;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.drop-card.featured {
  grid-column: 1;
  aspect-ratio: 16/9;
}
.drop-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(25,25,25,0.15); }
/* Fallback backgrounds */
.drop-card.navidad    { background: #3d0e99; }
.drop-card.verano     { background: #1a6b6b; }
.drop-card.bienvenido { background: #191919; }
/* Photos */
.drop-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.drop-card:hover .drop-photo { transform: scale(1.04); }
/* Color tints */
.drop-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.drop-card.navidad .drop-tint    { background: #B91C3C; mix-blend-mode: multiply; opacity: 0.45; }
.drop-card.verano .drop-tint     { background: #FFB800; mix-blend-mode: screen; opacity: 0.18; }
.drop-card.bienvenido .drop-tint { background: #8942FE; mix-blend-mode: multiply; opacity: 0.30; }
.drop-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25,25,25,0.85) 0%, rgba(25,25,25,0.3) 50%, transparent 75%);
  pointer-events: none;
}
.drop-card.verano .drop-scrim { background: linear-gradient(to top, rgba(25,25,25,0.55) 0%, transparent 60%); }
.drop-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
}
.drop-card.featured .drop-content { padding: 12px 16px; }
.drop-eyebrow {
  font: 700 9px var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C4FF4D;
  display: block;
  margin: 0 0 4px;
}
.drop-title {
  font: 800 14px var(--font-display);
  letter-spacing: -0.02em;
  color: #F5F3FF;
  line-height: 1.05;
  margin: 0;
}
.drop-card.featured .drop-title { font-size: 20px; }
.drop-desc {
  font: 500 12px var(--font-body);
  color: rgba(245,243,255,0.8);
  margin: 4px 0 0;
  line-height: 1.4;
}
.drop-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: #C4FF4D;
  color: #191919;
  font: 700 9px var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  z-index: 2;
}
.drop-badge.new { background: #8942FE; color: #F5F3FF; }

/* Category list */
.cats-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.cat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease;
}
.cat-item:hover {
  background: #F5F3FF;
  border-color: rgba(25,25,25,0.08);
}
.cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text);
}
.cat-item:hover .cat-icon { color: var(--blue); }
.cat-item:hover .cat-arrow { opacity: 1; }
.cat-name { display: flex; align-items: center; gap: 8px; font: 700 14px var(--font-body); }
.cat-icon { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; transition: color 140ms ease; }
.cat-arrow { width: 13px; height: 13px; opacity: 0.3; transition: opacity 140ms ease; flex-shrink: 0; color: var(--text-muted); }
.cat-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  padding-left: 24px;
}
.cat-subs a {
  font: 400 12px var(--font-body);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 120ms ease;
  white-space: nowrap;
}
.cat-subs a:hover { color: var(--text); }

/* CTA sidebar */
.mega-ds-cta {
  background: #191919;
  color: #F5F3FF;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.mega-ds-cta::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(196,255,77,0.25), transparent 60%);
  pointer-events: none;
}
.mega-cta-eyebrow {
  font: 700 11px var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C4FF4D;
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.mega-cta-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #C4FF4D;
  box-shadow: 0 0 0 4px rgba(196,255,77,0.2);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(196,255,77,0.2); }
  50%       { box-shadow: 0 0 0 7px rgba(196,255,77,0.05); }
}
.mega-cta-title {
  font: 800 18px/1.1 var(--font-display);
  letter-spacing: -0.02em;
  color: #F5F3FF;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}
.mega-cta-title .accent { color: #C4FF4D; font-style: italic; }
.mega-cta-desc {
  font: 400 12px/1.4 var(--font-body);
  color: rgba(245,243,255,0.7);
  margin: 0 0 14px;
  max-width: 28ch;
  position: relative;
  z-index: 1;
}
.mega-cta-btn {
  background: #C4FF4D;
  color: #191919;
  border: 0;
  padding: 11px 14px;
  border-radius: var(--radius);
  font: 800 14px var(--font-display);
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 180ms ease, transform 180ms ease;
  position: relative;
  z-index: 1;
  width: 100%;
}
.mega-cta-btn:hover { background: #d4ff6e; transform: translateX(2px); color: #191919; }
.mega-cta-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.mega-cta-meta {
  font: 400 11px var(--font-body);
  color: rgba(245,243,255,0.4);
  text-align: center;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

/* ===== Mega-menú Tienda: 4 columnas con padres + subcats ===== */
.mega-shop { left: 16px; right: 16px; }
.mega-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: 28px;
  row-gap: 22px;
  padding: 24px 28px 18px;
}
.mega-shop-col {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 22px;
  min-width: 0;
}
.mega-cat-group { display: flex; flex-direction: column; gap: 8px; }
.mega-cat-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font: 800 13px var(--font-display);
  letter-spacing: -0.005em;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(25,25,25,0.08);
  transition: color 140ms ease, border-color 140ms ease;
}
.mega-cat-head:hover { color: #8942FE; border-bottom-color: #8942FE; }
.mega-cat-head--static { cursor: default; }
.mega-cat-head--static:hover { color: var(--text); border-bottom-color: rgba(25,25,25,0.08); }
.mega-cat-icon {
  width: 16px; height: 16px;
  color: #8942FE;
  flex-shrink: 0;
}
.mega-sub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-sub-list li { margin: 0; }
.mega-sub-list a {
  display: block;
  padding: 4px 6px;
  margin-left: -6px;
  font: 500 13px var(--font-body);
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 120ms ease, background 120ms ease, transform 120ms ease;
}
.mega-sub-list a:hover {
  color: #8942FE;
  background: #F5F3FF;
  transform: translateX(2px);
}
.mega-shop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 28px;
  border-top: 1px solid rgba(25,25,25,0.06);
  background: #FAFAF9;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
.mega-shop-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 800 13px var(--font-display);
  letter-spacing: -0.005em;
  color: #8942FE;
  text-decoration: none;
  transition: gap 160ms ease;
}
.mega-shop-all:hover { gap: 12px; }
.mega-shop-all svg { transition: transform 160ms ease; }
.mega-shop-all:hover svg { transform: translateX(2px); }
.mega-shop-link {
  font: 600 12px var(--font-body);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 120ms ease;
}
.mega-shop-link:hover { color: var(--text); }

@media (max-width: 1100px) {
  .mega-shop-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; gap: 22px; padding: 20px 22px 14px; }
  .mega-shop-col { display: flex; flex-direction: column; gap: 22px; grid-row: auto; }
}
