#navbar-root {
  position: sticky;
  top: 0;
  z-index: 200;
}

/* ============================================================
   Dampi — style.css — Sistema de diseño principal
============================================================
   Este archivo define las variables CSS (design tokens),
   el reset base y los componentes reutilizables en toda
   la tienda: navbar, botones, cards, badges, formularios,
   paginación, toast de notificación, etc.

   PALETA DE COLORES (variables CSS):
     --cyan         #0EA5C9   Color principal / acción
     --emerald      #10B981   Éxito / stock disponible
     --coral        #F43F5E   Error / peligro / coral
     --amber        #F59E0B   Advertencia / ofertas
     --violet       #6366F1   Destacados / premium

   TIPOGRAFÍA:
     --font-display 'Inter'  → títulos, precios y UI
     --font-body    'Inter'  → texto de interfaz

   VARIABLES DE ESPACIADO Y FORMA:
     --radius-xs  6px   → elementos pequeños (badges)
     --radius-sm  10px  → inputs, botones
     --radius     14px  → cards estándar
     --radius-lg  20px  → modales, sidebar
     --radius-xl  28px  → elementos de mayor tamaño

   CÓMO USAR LAS VARIABLES:
     Todos los componentes usan var(--nombre) en vez de
     valores hardcodeados. Para cambiar el color principal
     de toda la tienda basta con editar --cyan aquí.
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
  /* Fondos — con más color */
  --bg:         #EFF4FF;
  --bg2:        #E4ECFF;
  --bg3:        #C7D7FC;
  --surface:    #FFFFFF;

  /* Accent principal — Cyan azul original */
  --cyan:       #0EA5C9;
  --cyan-dark:  #0284A8;
  --cyan-light: #E0F7FC;
  --cyan-bg:    #E8F8FD;

  /* Acento secundario — Emerald */
  --emerald:    #10B981;
  --emerald-bg: #DCFCE7;

  /* Acento terciario — Coral */
  --coral:      #F43F5E;
  --coral-bg:   #FFF1F3;

  /* Acento Amber */
  --amber:      #F59E0B;
  --amber-bg:   #FFFBEB;

  /* Acento Violet */
  --violet:     #6366F1;
  --violet-bg:  #EEF2FF;

  /* Texto */
  --text:       #0C1A3B;
  --text2:      #3D5480;
  --text3:      #8098C0;
  --white:      #FFFFFF;

  /* Bordes */
  --border:     rgba(14,165,201,0.14);
  --border2:    rgba(14,165,201,0.24);

  /* Sombras */
  --shadow-sm:  0 1px 3px rgba(12,26,59,0.06);
  --shadow:     0 2px 10px rgba(12,26,59,0.08);
  --shadow-lg:  0 8px 28px rgba(12,26,59,0.10);
  --shadow-cyan: 0 4px 18px rgba(14,165,201,0.32);

  /* Radios */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Tipografía */
  --font-display: 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Transición */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.18s var(--ease);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text3); }

/* ── Botones globales ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--cyan);
  color: var(--white);
  box-shadow: 0 1px 4px rgba(14,165,201,0.25);
}
.btn--primary:hover {
  background: var(--cyan-dark);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-1px);
}
.btn--outline {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn--ghost {
  background: var(--cyan-bg);
  color: var(--cyan-dark);
  font-weight: 600;
}
.btn--ghost:hover { background: var(--cyan-light); }
.btn--white {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
}
.btn--white:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }

/* ── Header top bar ───────────────────────────────────────── */
.header__top {
  background: var(--cyan);
  color: var(--white);
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 8px 1.5rem;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  height: 68px;
  background: var(--surface);
  border-bottom: 1px solid var(--border2);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow var(--transition);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.logo__text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.logo__text strong { color: var(--cyan); font-weight: 900; }

/* Search */
.search-bar {
  flex: 1;
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-bar:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(14,165,201,0.1);
  background: var(--surface);
}
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text);
}
.search-bar input::placeholder { color: var(--text3); }
.search-btn {
  padding: 9px 13px;
  color: var(--text3);
  font-size: 15px;
  transition: color var(--transition);
  background: none;
  border: none;
}
.search-btn:hover { color: var(--cyan); }

/* Nav buttons */
.nav-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.nav-btn {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  letter-spacing: -0.01em;
}
.nav-btn--ghost {
  color: var(--text2);
  border: 1px solid var(--border2);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
}
.nav-btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-bg); box-shadow: 0 2px 6px rgba(14,165,201,.15); }
.nav-btn--cart {
  background: var(--cyan);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.nav-btn--cart:hover { background: var(--cyan-dark); transform: translateY(-1px); box-shadow: var(--shadow-cyan); }
.cart-count {
  background: var(--white);
  color: var(--cyan);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 800;
  min-width: 18px;
  text-align: center;
}
.hamburger { display: none; font-size: 1.4rem; color: var(--text2); padding: 4px; }

/* ── Cat nav ──────────────────────────────────────────────── */
.cat-nav {
  display: flex;
  background: var(--surface);
  border-bottom: 1px solid var(--border2);
  overflow-x: auto;
  padding: 0 1.5rem;
  scrollbar-width: none;
  gap: 0;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav__item {
  padding: 10px 15px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  border-radius: 0;
}
.cat-nav__item:hover { color: var(--cyan); }
.cat-nav__item.active { color: var(--cyan); border-bottom-color: var(--cyan); font-weight: 700; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 3.5rem 2.5rem;
  gap: 3rem;
  background: var(--bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,201,0.07) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(14,165,201,0.08) 1px, transparent 0);
  background-size: 36px 36px;
}
.hero__content {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 580px;
  animation: fadeInUp 0.7s ease both;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cyan-bg);
  color: var(--cyan-dark);
  border: 1.5px solid rgba(14,165,201,0.2);
  padding: 5px 14px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: normal;
  color: var(--cyan);
}
.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text2);
  margin-bottom: 2.5rem;
  max-width: 460px;
  line-height: 1.75;
  font-weight: 400;
}
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero__visual {
  flex: 1;
  max-width: 300px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeInRight 0.7s 0.15s ease both;
}
.hero__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.hero__card:hover { transform: translateX(6px); border-color: var(--cyan); box-shadow: var(--shadow); }
.hero__card--2 { margin-left: 1.5rem; border-color: rgba(14,165,201,0.2); background: var(--cyan-bg); }
.hero__card--3 { margin-left: 0.75rem; }
.hero__card-icon { font-size: 1.8rem; flex-shrink: 0; }
.hero__card span { font-size: 12.5px; color: var(--text2); flex: 1; font-weight: 500; }
.hero__card strong { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--cyan-dark); }

/* ── Stats ────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--cyan-bg); }
.stat strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.04em;
}
.stat span { font-size: 12.5px; color: var(--text2); margin-top: 3px; font-weight: 500; }

/* ── Secciones ────────────────────────────────────────────── */
.section { padding: 4rem 2.5rem; max-width: 100%; }
.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.section__title--center { text-align: center; margin-bottom: 2.5rem; }
.section__link {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cyan);
  transition: gap var(--transition);
}
.section__link:hover { text-decoration: underline; }
.section__footer { text-align: center; margin-top: 3rem; }

/* ── Categorías ───────────────────────────────────────────── */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cat-card--soon { opacity: 0.55; cursor: default; pointer-events: none; }
.cat-card--soon:hover { transform: none !important; box-shadow: none !important; border-color: var(--border) !important; }
.cat-card__count--soon { background: var(--bg3); color: var(--text3); font-style: italic; }
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.cat-card--wide { grid-column: span 2; }
.cat-card__bg {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cat-color) 10%, transparent);
  transition: transform var(--transition), opacity var(--transition);
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--cat-color);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.cat-card:hover .cat-card__bg { transform: scale(2); opacity: 1.5; }
.cat-card__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--cat-color) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: background var(--transition);
  position: relative;
  z-index: 1;
}
.cat-card:hover .cat-card__icon-wrap { background: color-mix(in srgb, var(--cat-color) 18%, transparent); }
.cat-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}
.cat-card p {
  font-size: 12.5px;
  color: var(--text2);
  position: relative;
  z-index: 1;
  font-weight: 400;
}
.cat-card__count {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--cat-color);
  background: color-mix(in srgb, var(--cat-color) 10%, transparent);
  padding: 3px 10px;
  border-radius: 50px;
  position: relative;
  z-index: 1;
  width: fit-content;
  letter-spacing: 0.01em;
}

/* ── Countdown ────────────────────────────────────────────── */
.countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
  background: var(--amber-bg);
  border: 1px solid rgba(245,158,11,0.2);
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 500;
}
.countdown strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--amber);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ── Filter tabs ──────────────────────────────────────────── */
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  padding: 7px 16px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  border: 1.5px solid var(--border);
  background: var(--surface);
  transition: all var(--transition);
  cursor: pointer;
  letter-spacing: -0.01em;
}
.tab:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-bg); }
.tab.active { background: var(--cyan); color: var(--white); border-color: var(--cyan); box-shadow: 0 2px 8px rgba(14,165,201,0.25); }

/* ── Products grid ────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

/* ── Product card ─────────────────────────────────────────── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14,165,201,0.25);
}
.product-card__img {
  background: var(--bg2);
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.product-card:hover .product-card__img { background: var(--cyan-bg); }
.product-card__img-icon { font-size: 3.5rem; transition: transform var(--transition); }
.product-card:hover .product-card__img-icon { transform: scale(1.1); }
.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}
.product-card__badge--new { background: var(--emerald); }
.product-card__body { padding: 16px; }
.product-card__brand {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.product-card__stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}
.stars-filled { color: var(--amber); font-size: 12px; }
.stars-count { font-size: 11.5px; color: var(--text3); }
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-card__price-old {
  font-size: 11.5px;
  color: var(--text3);
  text-decoration: line-through;
  font-weight: 400;
}
.product-card__price-new {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.product-card__price-new.oferta { color: var(--coral); }
.btn-add {
  background: var(--cyan);
  color: var(--white);
  border: none;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(14,165,201,0.25);
}
.btn-add:hover { background: var(--cyan-dark); transform: scale(1.03); box-shadow: var(--shadow-cyan); }

/* ── Promo banner ─────────────────────────────────────────── */
.promo-banner {
  background: linear-gradient(130deg, #0F172A 0%, #0E2D40 50%, #0F172A 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4.5rem 5rem;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,201,0.08), transparent 70%);
  left: -100px;
  top: -150px;
  pointer-events: none;
}
.promo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.025) 1px, transparent 0);
  background-size: 32px 32px;
}
.promo-banner__content { position: relative; z-index: 1; }
.promo-banner__content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.promo-banner__content p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.75rem;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.7;
}
.promo-banner__visual {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0.12;
  font-size: 4.5rem;
  letter-spacing: 0.5rem;
}

/* ── Brands ───────────────────────────────────────────────── */
.brands__row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.brand {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text2);
  transition: all var(--transition);
  letter-spacing: 0.04em;
  cursor: default;
}
.brand:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--cyan-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--text);
  padding: 4.5rem 2.5rem 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1380px;
  margin: 0 auto;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand .logo__text { color: var(--white); }
.footer__brand p {
  color: rgba(255,255,255,0.4);
  font-size: 13.5px;
  margin-top: 1rem;
  line-height: 1.75;
  max-width: 260px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer__col a {
  display: block;
  color: rgba(255,255,255,0.4);
  font-size: 13.5px;
  margin-bottom: 10px;
  transition: color var(--transition);
  font-weight: 400;
}
.footer__col a:hover { color: var(--cyan); }
.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1380px;
  margin: 0 auto;
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--text);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition: all 0.3s var(--ease);
  pointer-events: none;
  max-width: 300px;
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--cyan);
}
.toast.show { opacity: 1; transform: translateY(0) scale(1); }

/* ── Animaciones ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ============================================================
   BARRA DE CATEGORÍAS CON MEGAMENÚ
   Aparece debajo de la navbar en todas las páginas del index.
   Al hacer hover sobre un item se despliega el dropdown.
============================================================ */

/* Barra horizontal */
.catbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 90;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.catbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.catbar__inner::-webkit-scrollbar { display: none; }

/* Cada item de la barra */
.catbar__item {
  position: relative;
  flex-shrink: 0;
}

/* Enlace de la barra */
.catbar__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  height: 42px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.catbar__link:hover,
.catbar__item:hover > .catbar__link {
  color: var(--text);
  border-bottom-color: var(--cyan);
}
.catbar__link--all {
  color: var(--text);
  font-weight: 700;
  gap: 7px;
  padding-left: 0;
}
.catbar__link--all svg { flex-shrink: 0; }
.catbar__link--ocasion {
  color: var(--amber);
  font-weight: 700;
}
.catbar__link--ocasion:hover { border-bottom-color: var(--amber); }

/* Dropdown — oculto por defecto */
.catbar__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 200;
}

/* Mostrar dropdown al hacer hover sobre el item */
.catbar__item:hover > .catbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Para items cerca del borde derecho, alinear a la derecha */
.catbar__item:nth-last-child(-n+3) > .catbar__dropdown {
  left: auto;
  right: 0;
}

/* Grid de subcategorías dentro del dropdown */
.catbar__dropdown-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* Enlace de subcategoría */
.catbar__sub {
  display: block;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  transition: background .1s, color .1s;
  white-space: nowrap;
}
.catbar__sub:hover {
  background: var(--bg2);
  color: var(--text);
}
.catbar__sub--special {
  color: var(--amber);
  font-weight: 600;
}
.catbar__sub--special:hover { background: var(--amber-bg, #fef3c7); }

/* Separador antes del precio ocasión */
.catbar__sub--special { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 10px; }

/* Responsive — en móvil ocultar la catbar (acceso desde hamburguesa) */
@media (max-width: 768px) {
  .catbar { display: none; }
}

/* ── Nav trust badges ─────────────────────────────────────── */
.nav-trust { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.nav-trust__item { display: flex; align-items: center; gap: 8px; }
.nav-trust__item svg { color: var(--cyan); flex-shrink: 0; }
.nav-trust__item div { font-size: 11px; line-height: 1.3; }
.nav-trust__item strong { display: block; font-size: 12px; font-weight: 700; color: var(--text); }
.nav-trust__item span { color: var(--text3); }
@media (max-width: 860px) { .nav-trust { display: none; } }
