/* =====================================================================
   MundoEspecias - Hoja de estilo
   Estética: editorial botánico mediterráneo
   Paleta y tipografía en variables → fácil de reajustar.
   ===================================================================== */

:root {
  /* Colores */
  --cream:      #F5F0E4;
  --paper:      #FBF8F1;
  --paper-2:    #F1EAD9;
  --ink:        #2C3327;   /* texto principal verde muy oscuro */
  --ink-soft:   #5A5F4F;
  --olive:      #6E7A4F;
  --olive-d:    #58633E;
  --olive-l:    #8A9566;
  --gold:       #B8943F;
  --gold-d:     #9A7A2E;
  --terra:      #B5623C;
  --line:       #D9CFB7;
  --dark:       #2E3328;   /* fondo sección oscura */
  --dark-soft:  #3B4233;

  /* Tipografía */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Medidas */
  --maxw: 1240px;
  --gap: clamp(1rem, 3vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -24px rgba(44, 51, 39, .45);
  --shadow-soft: 0 10px 30px -20px rgba(44, 51, 39, .4);
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Hojita botánica reutilizable (ornamento de marca) */
  --leaf: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='%23000'%20d='M4,20C4,11,11,4,20,4,20,13,13,20,4,20Z'/%3E%3C/svg%3E");
}

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* textura sutil de papel */
  background-image:
    radial-gradient(circle at 20% 10%, rgba(184,148,63,.05), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(110,122,79,.05), transparent 45%);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto;
  background: var(--olive); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 999;
}

/* Iconos */
.ic { width: 22px; height: 22px; flex: none; }
.ic-xs { width: 14px; height: 14px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .95rem 1.6rem; border-radius: 100px;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--solid { background: var(--olive); color: #fff; box-shadow: 0 12px 24px -14px rgba(88,99,62,.9); }
.btn--solid:hover { background: var(--olive-d); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--olive); color: var(--olive-d); transform: translateY(-2px); }

/* ---------- Eyebrow / títulos de sección ---------- */
.eyebrow {
  font-family: var(--sans); font-weight: 700; font-size: .72rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d);
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem;
}
.eyebrow__orn { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; background-color: var(--olive-l); -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; }
.eyebrow--light { color: var(--gold); }
.eyebrow--light .eyebrow__orn { color: #cdbf95; }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--tight { padding-top: clamp(1.2rem, 3vw, 2.2rem); }
.section--paper { background: var(--paper); }
.section__head { max-width: 620px; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section__head.center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.section__sub { margin-top: .9rem; color: var(--ink-soft); font-size: 1.05rem; }
.section__more { margin-top: 2.6rem; text-align: center; }
em { font-style: italic; color: var(--olive-d); }

/* =====================================================================
   TOPBAR
   ===================================================================== */
.topbar { background: var(--ink); color: #ECE6D6; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 1rem; }
.topbar__msg { display: flex; align-items: center; gap: .5rem; }
.topbar__msg .ic { width: 18px; height: 18px; color: var(--gold); }
.topbar__msg strong { color: #fff; letter-spacing: .02em; }
.topbar__sep { opacity: .4; }
.topbar__sub { opacity: .8; }
.topbar__aside { opacity: .85; }
@media (max-width: 720px) { .topbar__sub, .topbar__sep { display: none; } .topbar__aside { display: none; } }

/* =====================================================================
   HEADER
   ===================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,241,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s;
}
.header.is-stuck { box-shadow: var(--shadow-soft); border-color: var(--line); background: rgba(251,248,241,.95); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); }
.logo__mark { color: var(--olive); }
.logo__mark svg { width: 46px; height: 46px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; }
.logo__name em { color: var(--olive-d); font-style: normal; }
.logo__claim {
  font-family: var(--sans); font-size: .54rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold-d); margin-top: 3px;
}

/* Nav */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__list > li > a {
  font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  position: relative; padding: .4rem 0; display: inline-flex; align-items: center; gap: .25rem;
  color: var(--ink); transition: color .25s; white-space: nowrap;
}
.nav__list > li > a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__list > li > a:hover { color: var(--olive-d); }
.nav__list > li > a:hover::after { width: 100%; }

.nav__more { position: relative; }
.nav__sub {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: .6rem; min-width: 220px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s; z-index: 60;
}
.nav__more:hover .nav__sub, .nav__more:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 4px); }
.nav__sub a { display: block; padding: .55rem .8rem; border-radius: 9px; font-size: .92rem; font-weight: 600; transition: background .2s, color .2s; }
.nav__sub a:hover { background: var(--paper-2); color: var(--olive-d); }
.nav__sub-head { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); font-weight: 800; padding: .4rem .8rem .25rem; }
.nav__sub-head--top { margin-top: .35rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.nav__cta-mobile { display: none; }
.nav__close { display: none; }

/* Acciones */
.header__actions { display: flex; align-items: center; gap: .3rem; }
.iconbtn {
  width: 42px; height: 42px; display: inline-grid; place-items: center;
  border-radius: 50%; color: var(--ink); transition: background .25s, color .25s, transform .25s;
}
.iconbtn:hover { background: var(--paper-2); color: var(--olive-d); }
.iconbtn--cart { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--gold); color: #fff; font-size: .66rem; font-weight: 800;
  border-radius: 100px; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.show { transform: scale(1); }

.burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: clamp(560px, 82vh, 780px); display: flex; align-items: center; overflow: hidden; background: var(--cream); }
.hero__bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; z-index: 0; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(245,240,228,.97) 0%, rgba(245,240,228,.88) 28%, rgba(245,240,228,.55) 48%, rgba(245,240,228,0) 68%); }
.hero__inner { position: relative; z-index: 2; }
.hero__copy { max-width: 560px; padding: clamp(1.5rem, 4vw, 2.5rem) 0; }
.hero__title { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04; }
.hero__title em { font-style: italic; color: var(--gold-d); position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; background: var(--gold); opacity: .55; border-radius: 2px; }
.hero__lead { margin-top: 1.2rem; font-size: 1.06rem; color: var(--ink-soft); max-width: 34em; }

.hero__benefits { margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }
.hero__benefits li { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--ink-soft); line-height: 1.2; }
.hero__benefits li span:last-child { font-weight: 600; color: var(--ink); }
.hero__bic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--olive); }
.hero__bic svg { width: 20px; height: 20px; }

.hero__cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__social { margin-top: 1.6rem; display: flex; align-items: center; gap: .8rem; }
.hero__avatars { display: inline-flex; }
.hero__av { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--cream); background: var(--paper-2); color: var(--olive-l); overflow: hidden; display: grid; place-items: center; margin-left: -10px; }
.hero__av:first-child { margin-left: 0; }
.hero__av svg { width: 28px; height: 28px; }
.hero__av img { width: 100%; height: 100%; object-fit: cover; }
.hero__social-text { font-size: .85rem; color: var(--ink-soft); line-height: 1.3; }
.hero__social-text strong { color: var(--ink); }
.hero__social-text .stars { display: block; }

@media (max-width: 760px) {
  .hero { min-height: 86vh; }
  .hero__bgimg { object-position: 62% center; }
  .hero__scrim { background: linear-gradient(180deg, rgba(245,240,228,.5) 0%, rgba(245,240,228,.9) 52%, rgba(245,240,228,.99) 100%); }
  .hero__copy { max-width: none; }
  .hero__benefits { gap: 1rem; }
  .hero__benefits li { flex: 0 0 calc(50% - .7rem); }
}

/* Vistos en (prensa) */
.press { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.press__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem 2.2rem; padding: 1.1rem 0; }
.press__label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.press__logo { color: var(--ink-soft); opacity: .7; font-size: 1.05rem; font-weight: 700; letter-spacing: .03em; }
.press__logo--serif { font-family: var(--serif); font-weight: 700; letter-spacing: .05em; }
.press__logo--italic { font-style: italic; font-weight: 600; }
@media (max-width: 620px) { .press__inner { gap: .6rem 1.4rem; } .press__logo { font-size: .9rem; } }

/* Estrellas */
.stars { color: var(--gold); letter-spacing: 1px; font-size: .95rem; display: inline-flex; }
.stars .star { color: #d9cdb0; }
.stars .star.on { color: var(--gold); }
.stars .star.half { background: linear-gradient(90deg, var(--gold) 50%, #d9cdb0 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars--sm { font-size: .82rem; }

/* =====================================================================
   TIRA DE CONFIANZA
   ===================================================================== */
.trust { background: var(--ink); color: #ECE6D6; }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 1.4rem; padding: 1.6rem 0; }
.trust__item { display: flex; align-items: center; gap: .7rem; justify-content: center; }
.trust__item .ic { color: var(--gold); width: 26px; height: 26px; }
.trust__item strong { display: block; font-weight: 700; font-size: .92rem; color: #fff; }
.trust__item span { font-size: .78rem; opacity: .75; }
/* Variante para fondo claro (p.ej. "Nuestros valores" en Nosotros) */
.trust__grid--onlight .trust__item strong { color: var(--ink); }
.trust__grid--onlight .trust__item span { color: var(--ink); opacity: .7; }
@media (max-width: 860px) { .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } .trust__item { justify-content: flex-start; } }

/* =====================================================================
   CATEGORÍAS
   ===================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--paper); aspect-ratio: 4 / 3;
  display: flex; align-items: flex-end; transition: transform .4s var(--ease), box-shadow .4s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-card__img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .6s var(--ease);
}
.cat-card:hover .cat-card__img { transform: scale(1.06); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,51,39,.78), rgba(44,51,39,.05) 55%); }
.cat-card__body { position: relative; z-index: 2; padding: 1.3rem; color: #fff; }
.cat-card__name { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; }
.cat-card__count { font-size: .8rem; opacity: .85; letter-spacing: .03em; }
.cat-card__arrow {
  position: absolute; z-index: 2; top: 1.1rem; right: 1.1rem; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 50%; background: rgba(251,248,241,.9);
  color: var(--olive-d); font-size: 1.1rem; transform: translateY(-6px); opacity: 0; transition: .35s var(--ease);
}
.cat-card:hover .cat-card__arrow { transform: translateY(0); opacity: 1; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cat-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   PRODUCTOS
   ===================================================================== */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.prod {
  position: relative;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
/* Toda la tarjeta es clicable salvo el CTA */
.prod__name a { color: inherit; }
.prod__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.prod__addform { position: relative; z-index: 2; margin-top: .8rem; }
.prod__addform .prod__add { margin-top: 0; }
.section--paper .prod { background: var(--cream); }
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cbbf9f; }
.prod__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #fff; }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prod:hover .prod__media img { transform: scale(1.05); }
.prod__badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2; font-size: .64rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 100px;
  background: var(--olive); color: #fff;
}
.prod__badge--sale { background: var(--terra); }
.prod__badge--new  { background: var(--gold-d); }
.prod__quick {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: .7rem;
  background: rgba(46,51,40,.9); color: #fff; font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; transform: translateY(100%); transition: transform .35s var(--ease);
}
.prod:hover .prod__quick { transform: translateY(0); }
.prod__body { padding: 1rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.prod__cat { font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-d); font-weight: 700; }
.prod__name { font-size: 1.18rem; font-weight: 600; line-height: 1.15; }
.prod__rating { display: flex; align-items: center; gap: .4rem; }
.prod__sizes { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .2rem; }
.prod__size { font-size: .68rem; font-weight: 600; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 100px; padding: .12rem .5rem; }
.prod__size--more { background: var(--paper-2); }
.prod__reviews { font-size: .76rem; color: var(--ink-soft); }
.prod__foot { margin-top: auto; padding-top: .7rem; }
.prod__price { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.prod__from { font-size: .7rem; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }
.prod__amount { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); }
.prod__old { font-size: .85rem; color: var(--ink-soft); text-decoration: line-through; }
.prod__weight { font-size: .72rem; color: var(--ink-soft); }
.prod__add {
  margin-top: .8rem; width: 100%; border-radius: 10px; background: var(--olive); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1rem; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  transition: background .25s, transform .25s;
}
.prod__add .ic { width: 18px; height: 18px; }
.prod__add:hover { background: var(--olive-d); transform: translateY(-2px); }
.prod__add:active { transform: translateY(0); }
@media (max-width: 980px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 740px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .prod-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   FEATURE (ORIGEN)
   ===================================================================== */
.feature { padding: clamp(3rem, 7vw, 6rem) 0; }
.feature__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature__media { position: relative; }
.feature__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 9 / 10; object-fit: cover; object-position: 60% center; }
.feature__seal {
  position: absolute; top: -18px; right: -18px; width: 100px; height: 100px; border-radius: 50%;
  background: var(--terra); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.1rem; line-height: 1.05;
  box-shadow: var(--shadow-soft); rotate: 8deg;
}
.feature__text { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.06rem; }
.feature__list { margin: 1.4rem 0 1.8rem; display: grid; gap: .6rem; }
.feature__list li { position: relative; padding-left: 1.8rem; color: var(--ink); }
.feature__list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; background: var(--olive); -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; }
@media (max-width: 860px) { .feature__grid { grid-template-columns: 1fr; } .feature__media { order: -1; } }

/* =====================================================================
   MEZCLAS DEL MUNDO (oscuro)
   ===================================================================== */
.section--dark { background: var(--dark); color: #EDE7D7; position: relative; }
.section--dark .section__title { color: #fff; }
.section--dark .section__sub { color: #c9c3b2; }
.world-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.world-card {
  text-align: center; padding: 1.2rem .6rem; border-radius: var(--radius);
  border: 1px solid rgba(237,231,215,.14); transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.world-card:hover { transform: translateY(-5px); background: rgba(237,231,215,.06); border-color: var(--gold); }
.world-card__img {
  width: 78px; height: 78px; margin: 0 auto .7rem; border-radius: 50%; display: block;
  background-size: cover; background-position: center; border: 2px solid rgba(237,231,215,.2);
}
.world-card__name { display: block; font-family: var(--serif); font-size: 1.25rem; color: #fff; }
.world-card__origin { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) { .world-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .world-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   STATS
   ===================================================================== */
.stats { background: var(--paper-2); padding: clamp(2.4rem, 5vw, 3.6rem) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--olive-d); font-weight: 600; }
.stat span { font-size: .85rem; letter-spacing: .04em; color: var(--ink-soft); }
.stats__grid .stat + .stat { position: relative; }
@media (max-width: 620px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }

/* =====================================================================
   OPINIONES
   ===================================================================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.review {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; position: relative;
}
.review::before {
  content: "“"; position: absolute; top: .2rem; right: 1rem; font-family: var(--serif);
  font-size: 4rem; color: var(--line); line-height: 1;
}
.review blockquote { font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; color: var(--ink); }
.review figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: auto; }
.review figcaption strong { color: var(--ink); }
.review__verified { display: inline-block; margin-left: .3rem; color: var(--olive); font-weight: 700; font-size: .76rem; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   FAQ (acordeón nativo)
   ===================================================================== */
.faq__wrap { max-width: 820px; margin-inline: auto; }
.faq { display: grid; gap: .8rem; }
.faq__item { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--olive); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__item[open] summary { color: var(--olive-d); }
.faq__a { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }
.faq__a p { margin: 0; }

/* =====================================================================
   NEWSLETTER
   ===================================================================== */
.news { padding: clamp(3rem, 6vw, 5rem) 0; }
.news__inner {
  background: var(--olive); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.4rem); display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 2rem; align-items: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.news__inner::after {
  content: ""; position: absolute; right: -20px; bottom: -50px; width: 220px; height: 220px;
  background: rgba(255,255,255,.07); -webkit-mask: var(--leaf) center / contain no-repeat;
  mask: var(--leaf) center / contain no-repeat; pointer-events: none;
}
.news .eyebrow { color: #E7DFA9; }
.news .eyebrow__orn { color: #E7DFA9; }
.news .section__title { color: #fff; }
.news__sub { margin-top: .7rem; color: rgba(255,255,255,.85); }
.news__form { display: flex; flex-wrap: wrap; gap: .7rem; position: relative; z-index: 2; }
.news__form input {
  flex: 1; min-width: 200px; padding: 1rem 1.2rem; border-radius: 100px; border: none;
  background: rgba(255,255,255,.95); color: var(--ink);
}
.news__form input:focus-visible { outline: 3px solid var(--gold); }
.news__form .btn--solid { background: var(--gold); color: #fff; }
.news__form .btn--solid:hover { background: var(--gold-d); }
.news__msg { flex-basis: 100%; font-size: .85rem; min-height: 1.1em; color: #fff; }
@media (max-width: 760px) { .news__inner { grid-template-columns: 1fr; } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--ink); color: #C9C3B2; padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.logo--footer { color: #fff; }
.logo--footer .logo__mark { color: var(--gold); }
.logo--footer .logo__name em { color: var(--gold); }
.logo--footer .logo__claim { color: var(--gold); }
.footer__pitch { margin: 1.1rem 0 1.2rem; font-size: .92rem; max-width: 34ch; line-height: 1.7; }
.footer__social { display: flex; gap: .4rem; }
.footer__social .iconbtn { color: #C9C3B2; }
.footer__social .iconbtn:hover { background: rgba(255,255,255,.08); color: #fff; }
.footer__col h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { font-size: .92rem; transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem;
}
.footer__pay { display: flex; gap: .5rem; flex-wrap: wrap; }
.pay {
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; padding: .3rem .55rem; border-radius: 6px;
  background: rgba(255,255,255,.08); color: #ECE6D6;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   NAV MÓVIL
   ===================================================================== */
@media (max-width: 1040px) {
  .burger { display: flex; }
  /* Sin blur en móvil: evita crear un containing block que recorte el menú fijo */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); background: var(--paper);
    transform: translateX(100%); transition: transform .4s var(--ease); padding: 6rem 1.6rem 2rem;
    box-shadow: var(--shadow); z-index: 45; overflow-y: auto; margin-left: 0;
  }
  .nav.open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: .3rem; }
  .nav__list > li > a { padding: .8rem .4rem; font-size: .95rem; border-bottom: 1px solid var(--line); }
  .nav__list > li > a::after { display: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0; min-width: 0; }
  /* El submenú ya está desplegado con su cabecera "Más categorías": el enlace padre "Más" sobra */
  .nav__list > .nav__more > a { display: none; }
  .nav__cta-mobile { display: block; margin-top: 1rem; }
  .nav__cta-mobile .btn { width: 100%; justify-content: center; }
  /* Restaura el aspecto del botón (la regla de enlaces del nav le robaba el color y le añadía borde) */
  .nav__cta-mobile > a.btn { color: #fff; border-bottom: 0; padding: .95rem 1.6rem; }
  /* Botón de cierre del menú */
  .nav__close { display: grid; place-items: center; position: absolute; top: 1.1rem; right: 1.1rem; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); background: var(--paper-2); }
  .nav__close svg { width: 22px; height: 22px; }
}
/* Pantallas estrechas: el logo + 4 iconos no caben; se compacta para que el burger no se corte */
@media (max-width: 480px) {
  .header__inner { gap: .5rem; min-height: 66px; }
  .logo { gap: .45rem; }
  .logo img { height: 40px; }
  .logo__mark svg { width: 38px; height: 38px; }
  .logo__name { font-size: 1.2rem; }
  .logo__claim { font-size: .48rem; letter-spacing: .18em; }
  .header__actions { gap: .1rem; }
  .iconbtn { width: 38px; height: 38px; }
}
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(44,51,39,.45); opacity: 0; visibility: hidden;
  transition: opacity .3s; z-index: 44;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* =====================================================================
   PÁGINAS INTERNAS (Nosotros / Blog / Contacto)
   ===================================================================== */
.pagehead { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem; text-align: center; }
.pagehead .eyebrow { justify-content: center; }
.pagehead__title { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.pagehead__lead { max-width: 56ch; margin: 1rem auto 0; color: var(--ink-soft); font-size: 1.08rem; }

.post { display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post__img { aspect-ratio: 3 / 2; background-size: cover; background-position: center; }
.post__body { padding: 1.1rem 1.1rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; }
.post__cat { font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-d); font-weight: 700; }
.post__title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; color: var(--ink); }
.post__excerpt { font-size: .92rem; color: var(--ink-soft); }
.post__more { margin-top: .3rem; font-weight: 700; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--olive-d); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-list { display: grid; gap: 1rem; margin-top: 1.2rem; }
.contact-list li { display: flex; flex-direction: column; gap: .1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.contact-list strong { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); }
.contact-form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.field input, .field textarea { padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold); border-color: transparent; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.pagination { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2.8rem; }
.pagination__link { min-width: 42px; height: 42px; padding: 0 .9rem; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.pagination__link:hover { border-color: var(--olive); color: var(--olive-d); }
.pagination__link.is-active { background: var(--olive); border-color: var(--olive); color: #fff; }

/* Páginas legales */
.legal { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem); }
.legal__wrap { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4rem; font-family: var(--sans); font-weight: 800; color: var(--ink); }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul, .legal ol { padding-left: 1.3rem; display: grid; gap: .4rem; margin: .7rem 0; list-style: revert; }
.legal a { color: var(--olive-d); text-decoration: underline; }
.legal__updated { font-size: .85rem; color: var(--ink-soft); font-style: italic; }
.legal__note { background: var(--paper-2); border-left: 3px solid var(--gold); padding: .9rem 1.1rem; border-radius: 8px; font-size: .9rem; margin: 1.2rem 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; font-size: .92rem; }

/* =====================================================================
   TIENDA · FICHA DE PRODUCTO · CARRITO · CHECKOUT
   ===================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-soft); } .crumbs a:hover { color: var(--olive-d); }
.crumbs span { opacity: .6; } .crumbs__current { color: var(--ink); font-weight: 600; }

/* Ficha */
.pdp { padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3rem, 6vw, 5rem); }
.pdp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.pdp__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.pdp__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp__media .prod__badge { top: 1rem; left: 1rem; }
.pdp__title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .2rem 0 .4rem; }
.pdp__rating { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.pdp__price { display: flex; align-items: baseline; gap: .6rem; margin: .4rem 0 1.2rem; flex-wrap: wrap; }
.pdp__price .prod__amount { font-size: 2rem; }
.pdp__tax { font-size: .78rem; color: var(--ink-soft); }
.pdp__variants { border: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.pdp__variants legend { font-weight: 700; font-size: .85rem; margin-bottom: .5rem; width: 100%; }
.pdp__variant { position: relative; border: 1.5px solid var(--line); border-radius: 12px; padding: .55rem .9rem; cursor: pointer; display: flex; flex-direction: column; gap: .1rem; min-width: 86px; transition: border-color .2s, background .2s; }
.pdp__variant input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pdp__variant.is-active { border-color: var(--olive); background: var(--paper-2); }
.pdp__variant:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.pdp__variant-label { font-weight: 700; font-size: .92rem; }
.pdp__variant-price { font-size: .8rem; color: var(--ink-soft); }
.pdp__stock { font-size: .85rem; margin: .2rem 0 1rem; min-height: 1.2em; font-weight: 600; }
.pdp__stock.in { color: var(--olive-d); } .pdp__stock.low { color: var(--terra); } .pdp__stock.out { color: #b00020; }
.pdp__actions { display: flex; gap: .8rem; align-items: stretch; flex-wrap: wrap; }
.pdp__add { flex: 1; min-width: 200px; justify-content: center; }
.pdp__perks { margin-top: 1.4rem; display: grid; gap: .5rem; }
.pdp__perks li { position: relative; padding-left: 1.6rem; font-size: .9rem; color: var(--ink-soft); }
.pdp__perks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 14px; height: 14px; background: var(--olive); -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; }
.pdp__desc { max-width: 760px; margin-top: clamp(2.5rem, 5vw, 4rem); }
.pdp__desc p { color: var(--ink-soft); margin-bottom: .8rem; }
.pdp__related { margin-top: clamp(2.5rem, 5vw, 4rem); }
.pdp__related .section__title { margin-bottom: 1.5rem; }
@media (max-width: 820px) { .pdp__grid { grid-template-columns: 1fr; } }

/* Selector de cantidad */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 100px; overflow: hidden; }
.qty__btn { width: 42px; height: 48px; font-size: 1.2rem; color: var(--ink); }
.qty__btn:hover { background: var(--paper-2); color: var(--olive-d); }
.qty input { width: 46px; height: 48px; text-align: center; border: none; background: transparent; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Tienda */
.shop__bar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.shop__cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.shop__chip { font-size: .82rem; font-weight: 600; padding: .45rem .9rem; border: 1.5px solid var(--line); border-radius: 100px; color: var(--ink); transition: .2s; }
.shop__chip:hover { border-color: var(--olive); color: var(--olive-d); }
.shop__chip.is-active { background: var(--olive); border-color: var(--olive); color: #fff; }
.shop__sort { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-soft); }
.shop__sort select { padding: .5rem .7rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; }
.shop__count { color: var(--ink-soft); font-size: .9rem; margin-bottom: 1rem; }
.shop__empty { text-align: center; padding: 2rem 0; color: var(--ink-soft); }

/* Carrito */
.cart { display: grid; grid-template-columns: 1fr 340px; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; margin-top: 1.5rem; }
.cart-flash { background: var(--paper-2); border-left: 3px solid var(--olive); padding: .7rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.cart-row { display: grid; grid-template-columns: 72px 1fr auto auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-row__img { width: 72px; height: 72px; border-radius: 10px; background-size: cover; background-position: center; border: 1px solid var(--line); display: block; }
.cart-row__name { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); display: block; }
.cart-row__meta { font-size: .82rem; color: var(--ink-soft); }
.cart-row__qty input { width: 64px; height: 42px; text-align: center; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.cart-row__line { font-weight: 700; white-space: nowrap; }
.cart-row__remove button { width: 32px; height: 32px; border-radius: 50%; color: var(--ink-soft); font-size: .9rem; }
.cart-row__remove button:hover { background: var(--paper-2); color: var(--terra); }
.cart__summary, .checkout__summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; position: sticky; top: 96px; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; font-size: .92rem; color: var(--ink-soft); }
.summary-line strong { color: var(--ink); } .summary-line small { color: var(--ink-soft); font-weight: 400; }
.summary-line--ship strong { color: var(--olive-d); }
.summary-total { display: flex; justify-content: space-between; margin-top: .6rem; padding-top: .8rem; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.checkout__tax { font-size: .78rem; color: var(--ink-soft); margin-top: .3rem; }
.cart__checkout { width: 100%; justify-content: center; margin-top: 1rem; }
.cart__continue { display: block; text-align: center; margin-top: .8rem; font-size: .88rem; color: var(--olive-d); }
@media (max-width: 820px) { .cart { grid-template-columns: 1fr; } .cart-row { grid-template-columns: 60px 1fr auto; row-gap: .3rem; } .cart-row__qty { grid-column: 2 / 3; } .cart-row__line { grid-column: 3; } .cart-row__remove { grid-column: 3; justify-self: end; } }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; margin-top: 1.5rem; }
.checkout__form { display: grid; gap: 1rem; }
.checkout__h { font-family: var(--serif); font-size: 1.3rem; margin-top: .5rem; }
.checkout__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pay-methods { display: grid; gap: .5rem; }
.pay-methods label { display: flex; align-items: center; gap: .5rem; border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem 1rem; cursor: pointer; }
.checkout__note { font-size: .82rem; color: var(--ink-soft); }
.checkout__account { padding: .9rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.checkout__acc-check { display: flex; gap: .6rem; align-items: center; font-size: .9rem; font-weight: 600; cursor: pointer; }
.checkout__acc-check input { width: 18px; height: 18px; accent-color: var(--olive); }
.checkout__account .field { margin: .8rem 0 0; }
.field__hint { display: block; margin-top: .3rem; font-size: .78rem; color: var(--ink-soft); }
.checkout__form select[disabled] { background: var(--paper); color: var(--ink); opacity: 1; cursor: not-allowed; }
@media (max-width: 820px) { .checkout { grid-template-columns: 1fr; } .checkout__row { grid-template-columns: 1fr; } }

/* Estados carrito */
.cart-empty, .cart-thanks { text-align: center; padding: 2rem 0; }
.cart-thanks__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--olive); color: #fff; font-size: 2rem; display: grid; place-items: center; margin: 0 auto 1rem; }
.order-card { max-width: 460px; margin: 1.5rem auto 0; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.form-error { background: #fbe9e3; border-left: 3px solid var(--terra); color: #7a2e16; padding: .7rem 1rem; border-radius: 8px; font-size: .9rem; }
.field--error input, .field--error textarea { border-color: var(--terra); }
.field__err { color: var(--terra); font-size: .78rem; }

/* Métodos de pago */
.pay-method { justify-content: flex-start; }
.pay-method__txt { display: flex; flex-direction: column; }
.pay-method__txt small { color: var(--ink-soft); font-weight: 400; font-size: .8rem; line-height: 1.35; }
.pay-method--soon { opacity: .55; cursor: not-allowed; }
.pay-soon { margin-left: auto; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper-2); padding: .15rem .55rem; border-radius: 100px; }

/* Caja de datos para transferencia */
.bank-box { max-width: 520px; margin: 1.5rem auto 0; text-align: left; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--olive); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.bank-box__title { font-family: var(--serif); font-size: 1.4rem; margin-bottom: .4rem; }
.bank-box__intro { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1rem; }
.bank-box__data { display: grid; gap: .5rem; margin: 0 0 1rem; }
.bank-box__data > div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.bank-box__data dt { color: var(--ink-soft); font-size: .82rem; }
.bank-box__data dd { margin: 0; font-weight: 600; text-align: right; }
.bank-box__note { font-size: .82rem; color: var(--ink-soft); }

/* Artículo del blog */
.article { padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(3rem, 6vw, 5rem); }
.article__wrap { max-width: 760px; margin-inline: auto; }
.article__cat { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-d); font-weight: 700; margin-top: .5rem; }
.article__title { font-size: clamp(2rem, 4.5vw, 3rem); margin: .3rem 0 .4rem; }
.article__meta { color: var(--ink-soft); font-size: .85rem; margin-bottom: 1.4rem; }
.article__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 1.6rem; border: 1px solid var(--line); }
.article__body p { color: var(--ink); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.1rem; }
.article__body h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 2.1rem 0 .8rem; }
.article__body h3 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.article__body ul, .article__body ol { margin: 0 0 1.2rem; padding-left: 1.4rem; color: var(--ink); font-size: 1.05rem; line-height: 1.75; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin-bottom: .45rem; }
.article__body li::marker { color: var(--olive); }
.article__body table { width: 100%; border-collapse: collapse; margin: .4rem 0 1.6rem; font-size: .98rem; }
.article__body th, .article__body td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.article__body th { background: var(--paper-2); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.article__body tbody tr:last-child td, .article__body tr:last-child td { border-bottom: 0; }
.article__cta { margin-top: 1.8rem; }
.article__related { max-width: 1100px; margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.article__related .section__title { margin-bottom: 1.3rem; }

/* Buscador */
.search-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.search-bar[hidden] { display: none; }
.search-bar__form { display: flex; align-items: center; gap: .6rem; padding: .8rem 0; }
.search-bar__form .ic { color: var(--ink-soft); flex: none; }
.search-bar__form input { flex: 1; border: none; background: transparent; font-size: 1.05rem; padding: .4rem 0; }
.search-bar__form input:focus { outline: none; }
.search-page__form { display: flex; gap: .6rem; max-width: 520px; margin: 1.2rem auto 0; }
.search-page__form input { flex: 1; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 100px; background: var(--paper); font: inherit; }

/* Mi cuenta */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); max-width: 820px; margin-inline: auto; }
.auth-grid--single { grid-template-columns: 1fr; max-width: 440px; }
.auth-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1rem; }
.auth-card .btn { justify-content: center; }
.auth-sep { border: 0; border-top: 1px solid var(--line); margin: 1.3rem 0 .9rem; }
.auth-alt { font-size: .9rem; color: var(--ink-soft); margin: 0 0 .6rem; }
@media (max-width: 680px) { .auth-grid { grid-template-columns: 1fr; } }
.account__info { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1.8rem; display: grid; gap: .3rem; }
.account__info .btn { margin-top: .6rem; justify-self: start; }
.account__orders { display: grid; gap: .2rem; }
.acc-row { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); align-items: center; font-size: .92rem; }
.acc-row--head { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.badge-estado { display: inline-block; font-size: .74rem; font-weight: 700; padding: .2rem .6rem; border-radius: 100px; background: var(--paper-2); color: var(--olive-d); }
@media (max-width: 620px) { .acc-row--head { display: none; } .acc-row { grid-template-columns: 1fr 1fr; } .acc-row span[data-l]::before { content: attr(data-l) ": "; color: var(--ink-soft); font-weight: 600; } }

/* CRO ficha: precio por unidad, badge Google, urgencia, reseñas */
.pdp__unit { font-size: .82rem; color: var(--ink-soft); }
.pdp__variant-unit { font-size: .66rem; color: var(--ink-soft); }
.pdp__google { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; font-weight: 700; color: var(--gold-d); margin: -.4rem 0 .7rem; }
.pdp__google:hover { color: var(--olive-d); }
.pdp__cutoff { font-size: .85rem; color: var(--olive-d); margin: -.4rem 0 1rem; display: flex; align-items: center; gap: .45rem; }
.pdp__cutoff::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--olive); -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; }
.pdp__reviews { margin-top: clamp(2.5rem, 5vw, 4rem); }
.pdp__reviews-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; margin-bottom: 1.3rem; }
.pdp__reviews-avg { color: var(--ink-soft); font-size: .92rem; }
.pdp__reviews-avg strong { color: var(--gold-d); }

/* Barra de compra pegajosa */
.pdp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(251,248,241,.97); backdrop-filter: blur(6px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(44,51,39,.5); transform: translateY(110%); transition: transform .35s var(--ease); }
.pdp-sticky.show { transform: none; }
.pdp-sticky__inner { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.pdp-sticky__img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
.pdp-sticky__name { font-family: var(--serif); font-size: 1.1rem; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp-sticky__price { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.pdp-sticky__btn { white-space: nowrap; }
@media (max-width: 600px) { .pdp-sticky__name { display: none; } }

/* Botón flotante de WhatsApp */
.wa-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 65;
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 8px 22px -6px rgba(37,211,102,.55), 0 3px 8px rgba(0,0,0,.18);
  transition: transform .25s var(--ease), box-shadow .25s, opacity .25s;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.04); color: #fff; box-shadow: 0 12px 28px -6px rgba(37,211,102,.6), 0 4px 10px rgba(0,0,0,.2); }
.wa-fab svg { width: 32px; height: 32px; }
/* No tapar la barra fija de producto cuando aparece */
body:has(.pdp-sticky.show) .wa-fab { bottom: 5.4rem; }
/* Ocultarlo mientras el menú móvil está abierto */
body:has(#nav.open) .wa-fab { opacity: 0; visibility: hidden; pointer-events: none; }

/* Drawer mini-carrito */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(44,51,39,.45); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 70; }
.drawer-backdrop.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(90vw, 380px); background: var(--paper); z-index: 75; transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer.open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.drawer__head strong { color: var(--olive-d); }
.drawer__close { width: 34px; height: 34px; border-radius: 50%; color: var(--ink-soft); }
.drawer__close:hover { background: var(--paper-2); }
.drawer__body { padding: 1.1rem 1.3rem; overflow-y: auto; }
.drawer__items { display: grid; gap: .9rem; }
.drawer-row { display: grid; grid-template-columns: 48px 1fr auto; gap: .7rem; align-items: center; }
.drawer-row__img { width: 48px; height: 48px; border-radius: 8px; background-size: cover; background-position: center; border: 1px solid var(--line); }
.drawer-row__name { font-weight: 600; font-size: .92rem; display: block; }
.drawer-row__meta { font-size: .78rem; color: var(--ink-soft); }
.drawer-row__line { font-weight: 700; font-size: .9rem; }
.drawer__total { display: flex; justify-content: space-between; margin: 1.1rem 0 .2rem; padding-top: .9rem; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; }
.drawer__ship { font-size: .78rem; color: var(--ink-soft); margin-bottom: 1rem; }
.drawer__checkout { width: 100%; justify-content: center; }
.drawer__view { display: block; text-align: center; margin-top: .7rem; font-size: .88rem; color: var(--olive-d); }
.drawer__empty { color: var(--ink-soft); text-align: center; padding: 2rem 0; }

/* =====================================================================
   ANIMACIONES DE ENTRADA
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Foco accesible global */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
