/* ═══════════════════════════════════════════════════════
   SOY AROMAS — Main Stylesheet
   Aesthetic: Natural · Forest · Artisanal · Elegant
   ═══════════════════════════════════════════════════════ */

:root {
  --forest-deep:    #1a2e1a;
  --forest-mid:     #2d4a2d;
  --forest-soft:    #3d6b3d;
  --forest-muted:   #5a8a5a;
  --sage:           #8aab8a;
  --sage-light:     #b8d4b8;
  --sage-pale:      #ddeedd;
  --cream:          #f7f4ee;
  --cream-warm:     #f0ebe0;
  --cream-deep:     #e8e0d0;
  --bark:           #7a5c3a;
  --bark-light:     #a8845a;
  --gold:           #c9a84c;
  --gold-light:     #e8c97a;

  --text-dark:      #1a2316;
  --text-mid:       #3d5040;
  --text-muted:     #6b7d6b;
  --text-light:     #9aaa9a;

  /* Variables que faltaban — usadas en templates */
  --accent-primary: #c9a84c;
  --cream-light:    #f0ebe0;
  --text-main:      #1a2316;
  --cream-pale:     #f5f2ec;
  --text-color:     #1a2316;
  --forest-light:   #5a8a5a;

  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      24px;
  --radius-xl:      40px;

  --shadow-sm:  0 2px 8px rgba(26,46,26,.08);
  --shadow-md:  0 8px 32px rgba(26,46,26,.12);
  --shadow-lg:  0 20px 60px rgba(26,46,26,.18);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;

  --nav-h: 68px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

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

/* ── SPLASH ──────────────────────────────────────────── */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--forest-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash { display: none !important; }
.splash__inner { text-align: center; color: #e8f5e9; }
.splash__logo {
  width: 100px; height: 100px;
  animation: splashFloat 2s ease-in-out infinite;
}
.splash__logo-img {
  max-width: 280px;
  height: auto;
  margin-bottom: 2rem;
  animation: splashBounce 1.2s ease-in-out infinite;
}
@keyframes splashBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}
@keyframes splashFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.splash-dot { animation: splashDot 1.8s ease-in-out infinite; }
.splash-dot:nth-child(1) { animation-delay: .2s; }
.splash-dot:nth-child(2) { animation-delay: .5s; }
.splash-dot:nth-child(3) { animation-delay: .8s; }
@keyframes splashDot {
  0%,100% { opacity: 0; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-8px); }
}
.splash__name {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 300;
  letter-spacing: .15em; margin-top: 1.2rem;
  opacity: 0; animation: fadeUp .8s .4s forwards;
}
.splash__slogan {
  font-size: .8rem; letter-spacing: .25em; text-transform: uppercase;
  opacity: 0; color: var(--sage-light);
  animation: fadeUp .8s .7s forwards;
}
.splash__bar {
  width: 120px; height: 2px; background: rgba(255,255,255,.15);
  margin: 1.5rem auto 0; border-radius: 99px; overflow: hidden;
  opacity: 0; animation: fadeUp .6s .9s forwards;
}
.splash__progress {
  height: 100%; width: 0; background: var(--sage-light);
  border-radius: 99px;
  animation: progress 1.8s 1s ease-out forwards;
}
@keyframes progress { to { width: 100%; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── CONTAINER ───────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── NAV ─────────────────────────────────────────────── */
/* ── NAV LAYOUT (estructura 2 filas) ────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.nav__wrapper {
  width: 100%;
}

.nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-deep);
}

.nav__left, .nav__right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav__logo-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-decoration: none;
}

.nav__logo-img {
  max-height: 100px;
  width: auto;
  transition: transform var(--transition);
}

.nav__logo-img:hover {
  transform: scale(1.05);
}

.nav__search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__search input {
  padding: .4rem .8rem;
  border: 1.5px solid var(--cream-deep);
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: .82rem;
  width: 160px;
  outline: none;
  transition: border-color var(--transition);
  background: transparent;
  color: var(--text-main);
}

.nav__search input:focus {
  border-color: var(--forest-soft);
}

#languageSelect {
  padding: .4rem .6rem;
  border: 1.5px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .82rem;
  outline: none;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  transition: border-color var(--transition);
}

#languageSelect:focus {
  border-color: var(--forest-soft);
}

.nav__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  border-bottom: 2px solid transparent;
  padding-bottom: .3rem;
  transition: color var(--transition), border-color var(--transition);
  text-transform: capitalize;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--forest-soft);
  border-bottom-color: var(--forest-soft);
}

.nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: var(--text-dark);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  position: relative;
}

.nav__icon:hover {
  background: var(--sage-pale);
  color: var(--forest-soft);
}

.nav__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #e74c3c;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: bold;
}

.nav__user-menu {
  position: relative;
}

.nav__user-btn {
  color: var(--text-mid);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.nav__user-btn:hover {
  background: var(--sage-pale);
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: -10px;
  background: white;
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: 1rem;
  z-index: 1000;
}

.nav__user-menu:hover .nav__dropdown {
  display: block;
}

.nav__dropdown-name {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .5rem;
  font-size: .9rem;
}

.nav__dropdown a {
  display: block;
  padding: .6rem .8rem;
  color: var(--text-mid);
  font-size: .9rem;
  border-radius: var(--radius-sm);
  margin-bottom: .3rem;
  transition: background var(--transition);
}

.nav__dropdown a:hover {
  background: var(--cream);
}

.nav__dropdown-logout {
  color: #c0392b !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: .5rem;
  padding: 1rem;
  background: white;
  border-top: 1px solid var(--cream-deep);
}

.nav__mobile a {
  padding: .8rem 1rem;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav__mobile a:hover {
  background: var(--sage-pale);
}

.nav__mobile.open {
  display: flex;
}

/* ── RESPONSIVE NAV ────────────────────────────────── */
@media (max-width: 1024px) {
  .nav__links {
    gap: 2rem;
    font-size: .95rem;
  }
  
  .nav__search input {
    width: 120px;
  }
}

@media (max-width: 768px) {
  .nav__top {
    gap: 1rem;
  }

  .nav__left {
    display: none;
  }
  
  .nav__links {
    display: none;
  }
  
  .nav__bottom {
    display: none;
  }
  
  .nav__hamburger {
    display: flex;
  }
  
  .nav__logo-img {
    max-height: 45px;
  }
}

/* ── SPLASH MEJORADO CON LOGO ────────────────────── */
.splash__logo-img {
  max-width: 280px;
  height: auto;
  margin-bottom: 2rem;
  animation: splashBounce 1.2s ease-in-out infinite;
}

@keyframes splashBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

/* ── INDICADORES DE STOCK ────────────────────────── */
.stock-badge {
  display: inline-block;
  padding: .4rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.stock-badge.in-stock {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.stock-badge.out-of-stock {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ── CARDS DE CATEGORÍAS (sidebar) ────────────────── */
.category-sidebar {
  background: var(--cream-warm);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 80px;
}

.category-sidebar h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: var(--forest-deep);
}

  list-style: none;
}

  margin-bottom: .6rem;
}

  display: block;
  padding: .6rem .8rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  color: var(--text-mid);
  font-size: .95rem;
}

  background: var(--gold-light);
  color: var(--forest-deep);
  font-weight: 500;
}

/* ── SUB-PRODUCTOS / VARIANTES ──────────────────── */
.product-variants {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--sage-pale);
  border-radius: var(--radius-md);
}

.product-variants h4 {
  font-size: .95rem;
  margin-bottom: .8rem;
  color: var(--forest-deep);
  font-weight: 600;
}

.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.variant-btn {
  padding: .5rem 1rem;
  border: 2px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
  transition: all var(--transition);
  font-size: .85rem;
  color: var(--text-mid);
}

.variant-btn:hover {
  border-color: var(--gold);
  background: var(--gold-light);
  color: var(--forest-deep);
}

.variant-btn.active {
  border-color: var(--forest-soft);
  background: var(--forest-soft);
  color: white;
}

/* ── SLIDER DE PRODUCTOS ────────────────────────── */
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
  width: 100%;
  box-shadow: var(--shadow-md);
}

.hero {
  min-height: 600px;
  padding: 8rem 2rem;
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: white;
  margin-bottom: 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.2rem;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.hero__actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.6;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Hero Slider Full-width */
.hero-slider-full {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 750px;
  margin-top: -var(--nav-height, 120px);
  z-index: 10;
}

.hero-slider-full .slider-container {
  height: 100%;
}

.hero-slider-full .slider-slide {
  height: 100%;
}

.hero-slider-full .slider-arrow {
  z-index: 20;
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(4px);
  border: none;
  width: 60px;
  height: 60px;
  font-size: 2rem;
}

.hero-slider-full .slider-arrow:hover {
  background: rgba(0,0,0,.6);
}

.hero-slider-full .slider-controls {
  z-index: 20;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slider-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest-mid) 100%);
}

.slider-slide.active {
  opacity: 1;
}

.slider-slide img {
  max-height: 100%;
  object-fit: cover;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background var(--transition);
}

.slider-dot.active {
  background: white;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 10;
  border: none;
  font-size: 1.5rem;
}

.slider-arrow:hover {
  background: rgba(0,0,0,.6);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* ── REDES SOCIALES EN FOOTER (debajo botones) ────── */
.cart-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-deep);
  justify-content: center;
}

.cart-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--forest-deep);
  transition: background var(--transition), color var(--transition);
}

.cart-social-links a:hover {
  background: var(--gold-light);
  color: var(--forest-deep);
}

/* ═══════════════════════════════════════════════════════ TRUST BADGES */
.trust-section {
  background: white;
  padding: 4rem 0;
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
  margin: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}

.trust-badge {
  text-align: center;
  padding: 1.5rem 1rem;
}

.trust-badge__icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  display: block;
}

.trust-badge__text {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════ CATEGORIES */
.categories-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, white 0%, var(--cream-warm) 100%);
}

.categories-header {
  text-align: center;
  margin-bottom: 4rem;
}

.categories-header__title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.categories-header__sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.category-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card__image {
  width: 100%;
  height: 180px;
  background: var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category-card__header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.category-card__icon {
  font-size: 1.8rem;
}

.category-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 0;
  font-weight: 400;
}

.category-card__description {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.category-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--cream-deep);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: var(--forest-mid);
  font-weight: 500;
}

.category-card__count {
  flex-grow: 1;
}

.category-card__arrow {
  transition: transform var(--transition);
}

.category-card:hover .category-card__arrow {
  transform: translateX(4px);
}

/* ═════════════════════════════════════════════════════════ PRODUCTS */
.products-section {
  padding: 6rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--forest-muted);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text-dark);
  font-weight: 300;
  margin-bottom: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-card__img {
  position: relative;
  width: 100%;
  height: 200px;
  background: var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-card__body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card__cat {
  font-size: 0.75rem;
  color: var(--forest-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.product-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.5;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--cream-deep);
  padding-top: 1rem;
  margin-top: auto;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-dark);
  font-weight: 500;
}

.product-card__price span {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ═════════════════════════════════════════════════════════ SHOP PAGE */
.shop-hero {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--forest-mid) 0%, var(--forest-soft) 100%);
  color: white;
  text-align: center;
  border-bottom: 1px solid var(--cream-deep);
}

.shop-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 300;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.shop-hero p {
  font-size: 1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* SIDEBAR */
.category-sidebar {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.category-sidebar h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
  font-weight: 400;
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.category-list a {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: all var(--transition);
  color: var(--text-main);
  font-size: 0.95rem;
}

.category-list a:hover {
  background: var(--cream-warm);
  border-left-color: var(--gold);
  padding-left: 1.3rem;
}

.category-list a.active {
  background: var(--gold-light);
  color: var(--forest-deep);
  font-weight: 600;
  border-left-color: var(--gold);
  padding-left: 1.3rem;
}

.category-sidebar h4 {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  color: var(--forest-deep);
  font-weight: 600;
  margin-top: 1rem;
}

.category-sidebar input {
  transition: all var(--transition);
}

.category-sidebar input:focus {
  border-color: var(--forest-mid) !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 45, 0.1);
}

/* ═════════════════════════════════════════════════════════ VALUES SECTION */
.values-section {
  padding: 5rem 0;
  background: white;
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2rem 1.5rem;
  background: var(--cream-warm);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--forest-mid);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  font-weight: 400;
}

.value-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═════════════════════════════════════════════════════════ CTA BANNER */
.cta-banner {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest-mid) 100%);
  color: white;
  text-align: center;
  border-top: 1px solid var(--cream-deep);
}

.cta-banner__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-banner__content p {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

/* ═════════════════════════════════════════════════════════ FOOTER */
.footer {
  background: var(--forest-deep);
  color: white;
  padding-bottom: 0;
  position: relative;
}

.footer__waves {
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}

.footer__waves svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer__body {
  padding: 4rem 0 2rem;
  background: var(--forest-deep);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer__brand p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 1rem 0;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition);
  color: white;
}

.footer__social a:hover {
  background: var(--gold);
  color: var(--forest-deep);
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  color: var(--gold);
}

.footer__col a {
  display: block;
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0.8rem;
  transition: all var(--transition);
  text-decoration: none;
  color: white;
}

.footer__col a:hover {
  opacity: 1;
  padding-left: 0.3rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer__bottom p {
  margin: 0.3rem 0;
}

/* ═════════════════════════════════════════════════════════ CHATBOT & WHATSAPP */
.chatbot-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--forest-soft) 0%, var(--forest-deep) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  box-shadow: 0 10px 32px rgba(61, 107, 61, 0.3);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 90;
  border: none;
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.chatbot-btn:active {
  background: var(--forest-deep);
  transform: scale(0.95);
  box-shadow: 0 6px 20px rgba(61, 107, 61, 0.2);
}

.whatsapp-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  z-index: 85;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.chatbot-window {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 420px;
  height: 600px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  z-index: 95;
  overflow: hidden;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--cream-deep);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chatbot-window.open {
  display: flex;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--forest-soft) 0%, var(--forest-deep) 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chatbot-header__avatar {
  font-size: 2.2rem;
  animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.chatbot-header__info {
  flex: 1;
}

.chatbot-header__info h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.chatbot-header__info span {
  font-size: 0.85rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chatbot-header__info span::before {
  content: '•';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
}

.chatbot-header__close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.chatbot-header__close:active {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0.95);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(180deg, white 0%, var(--cream-light) 100%);
}

.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: var(--forest-soft);
  border-radius: 3px;
}

.chatbot-message {
  padding: 1rem;
  border-radius: var(--radius-md);
  max-width: 90%;
  word-wrap: break-word;
  line-height: 1.5;
  font-size: 0.95rem;
}

.chatbot-message--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--forest-soft) 0%, var(--forest-mid) 100%);
  color: white;
  border-radius: var(--radius-md) 4px var(--radius-md) var(--radius-md);
  box-shadow: 0 4px 12px rgba(61, 107, 61, 0.15);
}

.chatbot-message--bot {
  align-self: flex-start;
  background: white;
  color: var(--text-dark);
  border: 1px solid var(--cream-deep);
  border-radius: 4px var(--radius-md) var(--radius-md) var(--radius-md);
}

.chatbot-message--bot strong {
  color: var(--forest-deep);
  display: block;
  margin-bottom: 0.4rem;
}

.chatbot-message--bot ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.chatbot-message--bot li {
  margin: 0.3rem 0;
}

.chatbot-input {
  padding: 1.2rem;
  display: flex;
  gap: 0.8rem;
  border-top: 1px solid var(--cream-deep);
  background: white;
}

.chatbot-input input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  background: var(--cream-light);
}

.chatbot-input input:focus {
  border-color: var(--forest-soft);
  background: white;
  box-shadow: 0 0 0 3px rgba(61, 107, 61, 0.1);
}

.chatbot-input button {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--forest-soft) 0%, var(--forest-deep) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chatbot-input button:active {
  transform: scale(0.95);
  box-shadow: 0 4px 12px rgba(61, 107, 61, 0.2);
}

/* ═════════════════════════════════════════════════════════ RESPONSIVE DESIGN */

/* TABLET (768px y menor) */
@media (max-width: 768px) {
  :root {
    --nav-height: 100px;
  }

  /* Header responsivo */
  .nav__top {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .nav__left, .nav__right {
    width: 100%;
  }

  .nav__logo-center {
    order: -1;
    margin-bottom: 0.5rem;
  }

  .nav__logo-center img {
    max-height: 140px !important;
  }

  /* Slider full-width */
  .hero-slider-full {
    height: 500px;
    margin-top: -80px;
  }

  .hero-slider-full .slider-slide h1 {
    font-size: 2rem !important;
  }

  .hero-slider-full .slider-slide p {
    font-size: 1rem !important;
  }

  .hero-slider-full .slider-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  /* Grid productos */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Categorías */
  .categories-grid {
    grid-template-columns: 1fr;
  }

  /* Tienda - Sidebar */
  .products-section .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .category-sidebar {
    position: static;
    margin-bottom: 2rem;
  }

  /* Footer */
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer__bottom > div {
    width: 100%;
  }

  .footer__bottom > div:last-child {
    justify-content: center;
  }

  /* Valores */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* CTA Banner */
  .cta-banner__content {
    padding: 2rem 1rem;
  }

  .cta-banner__content h2 {
    font-size: 1.8rem;
  }

  /* Buttons */
  .btn--lg {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Trust badges */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .trust-badge__text {
    font-size: 0.85rem;
  }

  /* Producto detail */
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail__image {
    margin-bottom: 2rem;
  }

  /* Chatbot */
  .chatbot-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .chatbot-window {
    bottom: 80px;
    right: 20px;
    width: 90vw;
    max-width: 350px;
    max-height: 60vh;
  }

  /* WhatsApp button */
  .whatsapp-btn {
    bottom: 80px;
    right: 80px;
  }
}

/* MOBILE (480px y menor) */
@media (max-width: 480px) {
  :root {
    --nav-height: 80px;
    font-size: 14px;
  }

  /* Header super comprimido */
  .nav__top {
    padding: 0.8rem 0;
  }

  .nav__logo-center img {
    max-height: 100px !important;
  }

  .nav__left select, .nav__left input {
    font-size: 12px;
    padding: 0.4rem 0.6rem;
  }

  /* Slider muy comprimido */
  .hero-slider-full {
    height: 350px;
    margin-top: -60px;
  }

  .hero-slider-full .slider-slide h1 {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-slider-full .slider-slide p {
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-slider-full .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* Productos grid */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Categorías */
  .category-card {
    min-height: 200px;
  }

  /* Trust badges full-width */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .trust-badge {
    padding: 1rem;
  }

  .trust-badge__icon {
    font-size: 1.5rem;
  }

  /* Valores */
  .values-grid {
    gap: 1rem;
  }

  .value-card {
    padding: 1.2rem;
  }

  .value-card__title {
    font-size: 1rem;
  }

  .value-card__text {
    font-size: 0.85rem;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 3rem 1rem;
  }

  .cta-banner__content {
    padding: 1rem;
  }

  .cta-banner__content h2 {
    font-size: 1.5rem;
  }

  .cta-banner__content p {
    font-size: 0.9rem;
  }

  /* Footer */
  .footer__col {
    margin-bottom: 1.5rem;
  }

  .footer__col h4 {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  .footer__col a {
    font-size: 0.85rem;
  }

  .footer__bottom {
    gap: 1rem;
    padding: 1rem 0;
  }

  .footer__bottom p {
    font-size: 0.75rem;
  }

  /* Botones */
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .btn--lg {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Tienda */
  .shop-hero h1 {
    font-size: 1.8rem;
  }

  .shop-hero p {
    font-size: 0.9rem;
  }

  /* Sidebar */
  .category-sidebar h3 {
    font-size: 1rem;
  }

  .category-sidebar input {
    font-size: 12px;
    padding: 0.5rem;
  }

  /* Chatbot */
  .chatbot-btn {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }

  .chatbot-window {
    bottom: 65px;
    right: 15px;
    width: calc(100vw - 30px);
    max-width: none;
    max-height: 55vh;
  }

  .chatbot-header {
    padding: 0.8rem;
  }

  .chatbot-header__avatar {
    font-size: 1.2rem;
  }

  .chatbot-header__info h4 {
    font-size: 0.9rem;
  }

  .chatbot-header__info span {
    font-size: 0.75rem;
  }

  .chatbot-messages {
    max-height: 300px;
  }

  .chatbot-message {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .chatbot-input {
    padding: 0.6rem;
    gap: 0.4rem;
  }

  .chatbot-input input {
    padding: 0.5rem 0.6rem;
    font-size: 12px;
  }

  .chatbot-input button {
    width: 32px;
    height: 32px;
  }

  /* WhatsApp button */
  .whatsapp-btn {
    bottom: 65px;
    right: 65px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  /* Redes sociales en header */
  .nav__right a:first-of-type {
    font-size: 1rem;
    opacity: 0.8;
  }

  /* Spinner splash */
  .splash-overlay .spinner {
    width: 40px;
    height: 40px;
  }

  /* Visitor Modal responsive */
  .visitor-modal__content {
    width: 280px;
    right: 1rem;
    bottom: 120px;
  }

  .visitor-modal__product-name {
    font-size: 0.85rem;
  }

  .visitor-modal__location {
    font-size: 0.75rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   VISITOR MODAL - Live notification simulator
   ═══════════════════════════════════════════════════════════ */

.visitor-modal {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.visitor-modal__content {
  width: 340px;
  background: var(--cream);
  border: 1.5px solid var(--cream-deep);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideIn .4s cubic-bezier(.34,.1,.68,.55);
}

@keyframes slideIn {
  from {
    transform: translateX(400px) translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
}

.visitor-modal__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-light) 100%);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.visitor-modal__dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.visitor-modal__label {
  text-transform: uppercase;
  font-size: 0.7rem;
  opacity: 0.95;
}

.visitor-modal__body {
  padding: 1.2rem;
  color: var(--text-dark);
}

.visitor-modal__product-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--forest-deep);
}

.visitor-modal__location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.visitor-modal__location::before {
  content: '📍';
  font-size: 0.75rem;
}

.visitor-modal__time {
  font-size: 0.75rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.visitor-modal__time::before {
  content: '⏱';
  font-size: 0.7rem;
}

.visitor-modal__progress {
  height: 3px;
  background: var(--cream-deep);
  overflow: hidden;
}

.visitor-modal__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  width: 0;
  border-radius: 99px;
}

@keyframes visitor-progress {
  from { width: 0; }
  to { width: 100%; }
}

/* Responsivo */
@media (max-width: 768px) {
  .visitor-modal {
    bottom: 100px;
    right: 10px;
  }

  .visitor-modal__content {
    width: 300px;
  }

  .visitor-modal__body {
    padding: 1rem;
  }

  .visitor-modal__product-name {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .visitor-modal {
    bottom: 70px;
    right: 8px;
    left: 8px;
  }

  .visitor-modal__content {
    width: 100%;
    max-width: none;
  }

  .visitor-modal__body {
    padding: 0.9rem;
  }

  .visitor-modal__product-name {
    font-size: 0.9rem;
  }

  .visitor-modal__location {
    font-size: 0.8rem;
  }

  .visitor-modal__time {
    font-size: 0.7rem;
  }
}

/* ═══════════════════════════════════════════════════════
   NAVEGACIÓN MÓVIL PREMIUM — Web Yure
   Rediseño completo para móviles (alucinantemente fácil y usable)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* HIDE DESKTOP NAV */
  .nav__left { display: none !important; }
  .nav__links { display: none !important; }
  .nav__bottom { display: none !important; }
  .nav__logo-img { max-height: 40px; }

  /* NAV TOP OPTIMIZADO */
  .nav__top {
    gap: 1rem;
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav__logo-center {
    flex: 1;
    text-align: center;
  }

  .nav__right {
    gap: 0.5rem;
  }

  .nav__right a,
  .nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: var(--forest-deep);
    transition: all 0.3s ease;
  }

  .nav__right a:active,
  .nav__icon:active {
    background: var(--cream-deep);
    transform: scale(0.95);
  }

  /* HAMBURGER MENU MEJORADO */
  .nav__hamburger {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

/* ═══════════════════════════════════════════════════════
   MOBILE NAV PREMIUM - Fixed & Correct
   ═══════════════════════════════════════════════════════ */

.nav__mobile-section {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav__mobile-section:first-child {
  padding-top: 1.5rem;
}

.nav__mobile-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  padding: 0.5rem 1.2rem;
  font-weight: 700;
}

.nav__mobile a {
  display: block;
  padding: 0.9rem 1.2rem;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.nav__mobile a:active {
  background: var(--cream-light);
  border-left-color: var(--accent-primary);
  transform: translateX(4px);
}

.nav__mobile-close {
  position: sticky;
  bottom: 0;
  padding: 1rem;
  background: white;
  border-top: 1px solid var(--cream-deep);
}

.nav__mobile-close button {
  width: 100%;
  padding: 0.8rem;
  background: var(--forest-deep);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.nav__mobile-close button:active {
  background: var(--forest-soft);
  transform: scale(0.98);
}

/* REDES EN MENU */
.nav__mobile a[href*="facebook"],
.nav__mobile a[href*="instagram"] {
  display: inline-block;
  text-align: center;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: var(--cream-light);
  border-left: none;
  margin: 0 0.5rem;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE IMPROVEMENTS - Todas las secciones
   ═══════════════════════════════════════════════════════ */

/* HERO SLIDER RESPONSIVE */
@media (max-width: 768px) {
  .hero-slider-full {
    height: 400px;
  }

  .slider-slide h1 {
    font-size: 2rem !important;
  }

  .slider-slide p {
    font-size: 1rem !important;
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-slider-full {
    height: 300px;
  }

  .slider-slide h1 {
    font-size: 1.5rem !important;
  }

  .slider-slide p {
    font-size: 0.9rem !important;
  }

  .slider-slide {
    padding: 1.5rem !important;
  }
}

/* TRUST SECTION RESPONSIVE */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .trust-badge {
    padding: 1.2rem;
  }

  .trust-badge__icon {
    font-size: 2rem;
  }

  .trust-badge__text {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-badge {
    padding: 1rem;
    flex-direction: row;
    gap: 1rem;
    text-align: left;
  }

  .trust-badge__icon {
    font-size: 1.8rem;
    min-width: 40px;
  }

  .trust-badge__text {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}

/* CATEGORIES GRID RESPONSIVE */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .categories-header__title {
    font-size: 1.8rem;
  }

  .categories-header__sub {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .categories-header__title {
    font-size: 1.5rem;
  }

  .categories-header__sub {
    font-size: 0.85rem;
  }

  .category-card__image {
    height: 200px;
  }
}

/* PRODUCTOS GRID RESPONSIVE */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .product-card__name {
    font-size: 0.95rem;
  }

  .product-card__price {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .product-card {
    padding: 0;
  }

  .product-card__body {
    padding: 0.8rem;
  }

  .product-card__name {
    font-size: 0.85rem;
  }

  .product-card__price {
    font-size: 0.9rem;
  }
}

/* CAROUSEL RESPONSIVE */
.carousel-item {
  flex: 0 0 calc(25% - 1.125rem);
  min-width: 200px;
}

@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 calc(33.33% - 1rem);
    min-width: 160px;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: 140px;
  }

  .carousel-name {
    font-size: 1rem;
  }

  .carousel-price {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 calc(100% - 0.75rem);
    min-width: 100%;
  }

  .carousel-card {
    height: auto;
  }

  .carousel-img {
    height: 150px;
  }

  .carousel-body {
    padding: 1rem;
  }

  .carousel-name {
    font-size: 0.95rem;
  }

  .carousel-price {
    font-size: 1.1rem;
  }
}

/* CONTAINER RESPONSIVE */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  gap: 0.5rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--forest-soft) 0%, var(--forest-deep) 100%);
  color: white;
}

.btn--primary:hover {
  box-shadow: 0 12px 24px rgba(61, 107, 61, 0.2);
}

.btn--outline {
  border: 1.5px solid var(--forest-soft);
  color: var(--forest-deep);
  background: transparent;
}

.btn--outline:hover {
  background: var(--cream-light);
  border-color: var(--forest-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--text-mid);
  border: none;
}

.btn--ghost:hover {
  background: var(--cream-light);
  color: var(--forest-deep);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--forest-deep);
}

.btn--gold:hover {
  box-shadow: 0 12px 24px rgba(201, 168, 76, 0.2);
}

.btn--sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .btn--lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    width: 100%;
  }

  .btn--lg {
    padding: 0.75rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* ── FLASH NOTIFICATIONS ─────────────────────────────── */
.flash-container {
  position: fixed;
  top: calc(var(--nav-h) + 1rem);
  right: 2rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 400px;
}

.flash {
  background: white;
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(400px); }
  to { opacity: 1; transform: translateX(0); }
}

.flash--success { border-left-color: #27ae60; background: #f0fdf4; }
.flash--error { border-left-color: #e74c3c; background: #fef2f2; }
.flash--warning { border-left-color: #f39c12; background: #fffbf0; }

.flash__close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0;
  transition: color 0.2s;
}

.flash__close:hover {
  color: var(--forest-deep);
}

/* ── AUTH PAGES ──────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--cream-light) 0%, white 100%);
}

.auth-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-deep);
}

.auth-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--forest-deep);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.auth-card > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.auth-card__logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-card__logo svg {
  width: 40px;
  height: 40px;
  color: var(--forest-soft);
  margin-bottom: 0.5rem;
}

.auth-divider {
  text-align: center;
  color: var(--text-muted);
  margin: 1.5rem 0;
  font-size: 0.85rem;
}

/* ── FORM COMPONENTS ─────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--forest-deep);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: transparent;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--forest-soft);
  box-shadow: 0 0 0 3px rgba(61, 107, 61, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-grid--1 {
  grid-template-columns: 1fr;
}

/* ── CHECKOUT PAGE ───────────────────────────────────── */
.checkout-page {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--cream-light) 0%, white 100%);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

.form-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--cream-deep);
  margin-bottom: 1.5rem;
}

.form-section h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--forest-deep);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* ── ORDERS PAGE ────────────────────────────────────── */
.orders-page {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--cream-light) 0%, white 100%);
}

.order-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--cream-deep);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.order-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--forest-soft);
}

.order-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--forest-deep);
  font-weight: 600;
}

.order-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-status {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status--pendiente { background: #fef3c7; color: #92400e; }
.status--pagado { background: #d1fae5; color: #065f46; }
.status--enviado { background: #dbeafe; color: #1e3a8a; }
.status--entregado { background: #dcfce7; color: #15803d; }
.status--cancelado { background: #fee2e2; color: #7f1d1d; }

/* FOOTER RESPONSIVE */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer h3 {
    font-size: 1.05rem;
  }

  .footer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 1.5rem 0;
  }

  .footer h3 {
    font-size: 0.95rem;
  }

  .footer p,
  .footer a {
    font-size: 0.8rem;
  }
}

/* CHECKOUT & AUTH RESPONSIVE */
@media (max-width: 1024px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .auth-card {
    padding: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .flash-container {
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

/* FORM RESPONSIVE */
@media (max-width: 768px) {
  form input,
  form textarea,
  form select {
    font-size: 16px; /* Previene zoom en móvil */
  }
}

/* SPACING RESPONSIVE */
@media (max-width: 768px) {
  section {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  section {
    padding: 1.5rem 0;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }
}


/* ═══════════════════════════════════════════════════════
   MOBILE RESCUE PATCH
   Fuerza una experiencia limpia en pantallas pequeñas
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .nav {
    box-shadow: var(--shadow-md);
  }

  .nav__top {
    gap: .75rem;
    padding: .8rem 0;
    flex-wrap: nowrap;
  }

  .nav__logo-center {
    min-width: 0;
    order: 0;
  }

  .nav__logo-img {
    max-height: 48px !important;
  }

  .nav__right {
    gap: .5rem;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .nav__right a,
  .nav__icon {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .nav__hamburger {
    display: flex;
    flex: 0 0 auto;
  }

  .nav__mobile {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .hero-slider-full {
    margin-top: 0 !important;
    height: 420px;
  }

  .hero-slider-full .slider-slide {
    padding: 1rem !important;
  }

  .hero-slider-full .slider-slide h1 {
    font-size: 1.65rem !important;
  }

  .hero-slider-full .slider-slide p {
    font-size: .95rem !important;
  }

  .trust-grid,
  .categories-grid,
  .products-grid {
    gap: 1rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer__bottom > div:last-child {
    justify-self: center;
  }

  .flash-container {
    left: 1rem;
    right: 1rem;
    width: auto;
  }
}

@media (max-width: 480px) {
  .nav__top {
    padding: .7rem 0;
  }

  .nav__logo-img {
    max-height: 40px !important;
  }

  .nav__right a,
  .nav__icon {
    width: 38px;
    height: 38px;
  }

  .hero-slider-full {
    margin-top: 0 !important;
    height: 320px;
  }

  .hero-slider-full .slider-slide {
    padding: .9rem !important;
  }

  .hero-slider-full .slider-slide h1 {
    font-size: 1.35rem !important;
  }

  .hero-slider-full .slider-slide p {
    font-size: .85rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-slider-full .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .trust-grid,
  .categories-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .category-card__title,
  .product-card__name {
    word-break: break-word;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE LOCKDOWN
   Final override to neutralize older oversized mobile rules
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .nav__top {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: .65rem !important;
    padding: .75rem 0 !important;
  }

  .nav__left,
  .nav__bottom {
    display: none !important;
  }

  .nav__right {
    display: flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
    gap: .45rem !important;
    margin-left: auto !important;
  }

  .nav__logo-center {
    order: 0 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .nav__logo-center img,
  .nav__logo-img {
    max-height: 42px !important;
    width: auto !important;
  }

  .nav__hamburger {
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    padding: 8px !important;
    flex: 0 0 auto !important;
  }

  .nav__mobile {
    top: var(--nav-h) !important;
    max-height: calc(100vh - var(--nav-h)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .hero-slider-full {
    height: 360px !important;
    margin-top: 0 !important;
  }

  .hero-slider-full .slider-slide {
    padding: 1rem !important;
  }

  .hero-slider-full .slider-slide h1,
  .slider-slide h1 {
    font-size: 1.6rem !important;
    line-height: 1.15 !important;
  }

  .hero-slider-full .slider-slide p,
  .slider-slide p {
    font-size: .92rem !important;
    line-height: 1.45 !important;
  }

  .hero-slider-full .slider-arrow,
  .slider-arrow {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .75rem !important;
  }

  .categories-grid,
  .trust-grid,
  .values-grid {
    grid-template-columns: 1fr !important;
    gap: .9rem !important;
  }

  .btn,
  .btn--lg,
  .btn--sm {
    font-size: .9rem !important;
  }

  section {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
  }

  h1 {
    font-size: clamp(1.55rem, 5vw, 2rem) !important;
  }

  h2 {
    font-size: clamp(1.25rem, 4vw, 1.5rem) !important;
  }

  h3 {
    font-size: clamp(1.05rem, 3.3vw, 1.2rem) !important;
  }

  .flash-container {
    left: 1rem !important;
    right: 1rem !important;
    max-width: none !important;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .nav__top {
    padding: .6rem 0 !important;
  }

  .nav__logo-center img,
  .nav__logo-img {
    max-height: 36px !important;
  }

  .nav__right a,
  .nav__icon {
    width: 38px !important;
    height: 38px !important;
  }

  .nav__hamburger {
    width: 38px !important;
    height: 38px !important;
  }

  .hero-slider-full {
    height: 300px !important;
  }

  .hero-slider-full .slider-slide {
    padding: .85rem !important;
  }

  .hero-slider-full .slider-slide h1,
  .slider-slide h1 {
    font-size: 1.35rem !important;
  }

  .hero-slider-full .slider-slide p,
  .slider-slide p {
    font-size: .82rem !important;
    margin-bottom: .9rem !important;
  }

  .hero-slider-full .slider-arrow,
  .slider-arrow {
    width: 36px !important;
    height: 36px !important;
    font-size: .95rem !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .category-card,
  .product-card,
  .trust-badge,
  .value-card {
    min-width: 0;
  }

  .category-card__title,
  .product-card__name,
  .categories-header__title,
  .products-info,
  .footer h3,
  .footer p {
    word-break: break-word;
  }
}


/* ═══════════════════════════════════════════════════════
   NAV HAMBURGER FIX
   Bring the mobile toggle into the top row and reduce clutter
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav__wrapper {
    position: relative;
  }

  .nav__top {
    padding-right: 3rem !important;
  }

  .nav__right > div:not(.nav__user-menu) {
    display: none !important;
  }

  .nav__hamburger {
    position: absolute !important;
    top: .72rem !important;
    right: 1rem !important;
    margin: 0 !important;
    z-index: 1002 !important;
  }
}

@media (max-width: 480px) {
  .nav__top {
    padding-right: 2.7rem !important;
  }

  .nav__hamburger {
    top: .58rem !important;
    right: .85rem !important;
  }
}


/* ═══════════════════════════════════════════════════════
   USER PAGES RESPONSIVE PATCH
   Better stacking for checkout and order views on mobile
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .orders-page {
    padding: 2.5rem 0;
  }

  .orders-page h1 {
    font-size: 1.7rem;
  }

  .order-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .order-card > div:last-child {
    text-align: left !important;
    width: 100%;
  }

  .order-status {
    align-self: flex-start;
  }

  .checkout-page {
    padding: 2.5rem 0;
  }

  .checkout-page h1 {
    font-size: 1.8rem !important;
    margin-bottom: 1.5rem !important;
  }

  .checkout-grid {
    gap: 1.25rem;
  }

  .form-section {
    padding: 1.25rem;
  }

  .form-section h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }

  .checkout-page .payment-option {
    align-items: flex-start !important;
    padding: .9rem !important;
  }

  .checkout-page .payment-option > div {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .order-card {
    padding: 1rem;
  }

  .order-num {
    font-size: 1rem;
  }

  .checkout-page .payment-option {
    gap: .65rem !important;
  }
}


/* ── QUICK NAV COLLECTIONS ───────────────────────────── */
.nav__collections {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .6rem 0 1rem;
  border-bottom: 1px solid var(--cream-deep);
}

.nav__collections-label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--forest-muted);
  white-space: nowrap;
}

.nav__collections-links {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}

.nav__collections-links a,
.store-category-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(90, 138, 90, .16);
  background: rgba(255,255,255,.85);
  color: var(--text-mid);
  font-size: .82rem;
  font-weight: 600;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.nav__collections-links a:hover,
.nav__collections-links a.active,
.store-category-chips a:hover,
.store-category-chips a.active {
  background: var(--forest-deep);
  color: #fff;
  border-color: var(--forest-deep);
  transform: translateY(-1px);
}

.nav__mobile-section--categories a {
  display: flex;
}

@media (max-width: 768px) {
  .nav__collections {
    display: none;
  }

  .store-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1rem 0 0;
  }

  .store-category-chips a {
    padding: .5rem .8rem;
    font-size: .8rem;
  }
}
