/* ==========================================================================
   GENWELL (tienda) · Hoja de estilos única
   Réplica del diseño de genwell.mx. Paleta: verde bosque + dorado sobre crema.
   ========================================================================== */

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  --brand: #1c6b4a;        /* verde bosque (acción principal) */
  --brand-dark: #14513a;   /* verde más oscuro (hover) */
  --brand-soft: #eaf1ec;   /* verde muy claro (fondos suaves) */
  --gold: #c8a24a;         /* dorado (acento, ofertas, estrellas) */
  --gold-dark: #a9852f;
  --ink: #16231d;          /* casi negro verdoso (texto/secciones) */
  --ink-soft: #33413a;
  --cream: #f6f4ee;
  --cream-2: #efece3;
  --line: #e4e1d8;
  --g400: #9a978d;
  --g500: #77746b;
  --g600: #545049;
  --green: #1a8a3c;        /* verde "éxito" (envío gratis, ok) */
  --danger: #c0392b;       /* rojo solo para errores / cancelado */
  --danger-soft: #fdecec;
  --white: #ffffff;

  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow: 0 6px 20px rgba(0, 0, 0, .08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, .16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --stick: 0px;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100%;
  display: flex; flex-direction: column;
  background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 1rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: .75rem 1.25rem; font-weight: 700; }
.skip-link:focus { left: 0; }
.hp { position: absolute !important; left: -9999px !important; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.section { padding: 3.5rem 0; }
.section--soft { background: var(--cream); }
.section-head { margin-bottom: 2rem; text-align: center; }
.section-head h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.section-head p { margin: .625rem auto 0; max-width: 40rem; color: var(--g600); font-size: .9375rem; }
.section-head--left { text-align: left; }
.section-head--left h2 { font-size: 1.4rem; }
.section-head--light h2 { color: #fff; }
.center-cta { margin-top: 2rem; text-align: center; }

/* ── Botones ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border: 0; border-radius: 99px; cursor: pointer;
  font-size: .9rem; font-weight: 700; letter-spacing: .01em;
  transition: background-color .18s, color .18s, border-color .18s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .5rem 1rem; font-size: .8125rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #262626; }
.btn--outline { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.btn--ghost:hover { border-color: var(--ink); }
.btn[disabled], .btn.is-disabled { background: var(--line); color: var(--g400); cursor: not-allowed; }

.icon-btn { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 99px; background: transparent; color: var(--g500); cursor: pointer; }
.icon-btn:hover { color: var(--ink); background: rgba(0, 0, 0, .05); }

/* ── Badges, chips, rating ────────────────────────────────────────────────── */
.chip-badge {
  display: inline-block; padding: .2rem .55rem; border-radius: 6px;
  background: var(--ink); color: #fff; font-size: .625rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
}
.chip {
  display: inline-flex; align-items: center; padding: .4rem .9rem; border-radius: 99px;
  border: 1px solid var(--line); background: #fff; font-size: .8125rem; font-weight: 600; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }

/* Estrellas con relleno fraccionario (media estrella real) */
.stars { display: inline-flex; gap: 1.5px; }
.star { position: relative; display: inline-block; line-height: 0; }
.star__bg { color: #dcd8cc; display: block; }
.star__fg { position: absolute; inset: 0; width: var(--fill, 0%); overflow: hidden; color: var(--gold); display: block; }
.star__fg svg { filter: drop-shadow(0 0 .5px rgba(168, 133, 47, .5)); }

/* ── Barra de anuncios ────────────────────────────────────────────────────── */
.announce { overflow: hidden; background: var(--ink); color: #fff; }
.announce__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.announce__item { padding: .55rem 2rem; font-size: .75rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce__track { animation: none; } }

/* ── Cabecera ─────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; padding-block: .85rem; }
.logo { flex: none; }
.logo img { height: 32px; width: auto; }

.nav-burger { display: inline-flex; flex-direction: column; gap: 4px; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }

.searchbox { display: none; flex: 1; max-width: 34rem; margin-inline: auto; align-items: center; gap: .5rem; border: 1.5px solid var(--line); border-radius: 99px; background: var(--cream); padding: .55rem 1.1rem; }
.searchbox:focus-within { border-color: var(--ink); background: #fff; }
.searchbox__icon { color: var(--g400); flex: none; }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: .9rem; }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.hicon { position: relative; display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 99px; }
.hicon:hover { background: rgba(0, 0, 0, .05); }
.cart-btn__count { position: absolute; top: .25rem; right: .2rem; display: grid; place-items: center; min-width: 1.05rem; height: 1.05rem; padding: 0 .2rem; border-radius: 99px; background: var(--brand); color: #fff; font-size: .625rem; font-weight: 800; }

.collnav { border-top: 1px solid var(--line); }
.collnav__scroll { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.collnav__scroll::-webkit-scrollbar { display: none; }
.collnav a { white-space: nowrap; padding: .7rem .9rem; font-size: .8rem; font-weight: 600; color: var(--g600); border-bottom: 2px solid transparent; }
.collnav a:hover { color: var(--ink); }
.collnav a[aria-current] { color: var(--ink); border-bottom-color: var(--brand); }

.search-panel { position: sticky; top: 0; z-index: 49; background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 0; }
.search-panel__form { display: flex; align-items: center; gap: .5rem; }
.search-panel__form input { flex: 1; border: 0; outline: 0; font-size: 1rem; padding: .5rem; }

/* ── Menú lateral ─────────────────────────────────────────────────────────── */
.nav-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .5); }
.nav-drawer { position: fixed; left: 0; top: 0; z-index: 70; display: flex; flex-direction: column; width: 82%; max-width: 20rem; height: 100%; background: #fff; box-shadow: var(--shadow-lg); animation: slide-l .25s ease-out; }
@keyframes slide-l { from { transform: translateX(-100%); } }
.nav-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.nav-drawer__logo { font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em; }
.nav-drawer__list { padding: .5rem 0; overflow-y: auto; }
.nav-drawer__list a { display: block; padding: .85rem 1.25rem; font-size: .95rem; font-weight: 600; border-bottom: 1px solid var(--cream-2); }
.nav-drawer__list a:hover { background: var(--cream); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; min-height: 460px; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.4) 55%, rgba(0,0,0,.15)); }
.hero__inner { position: relative; z-index: 2; padding-block: 3.5rem; }
.hero__eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: #fff; opacity: .85; }
.hero__title { margin-top: .75rem; font-size: 2.4rem; font-weight: 900; line-height: 1.05; letter-spacing: -.02em; max-width: 16ch; }
.hero__text { margin-top: 1rem; max-width: 42ch; font-size: 1.02rem; color: rgba(255, 255, 255, .9); }
.hero__inner .btn { margin-top: 1.75rem; }
.hero__trust { display: flex; align-items: center; gap: .5rem; margin-top: 1.5rem; font-size: .875rem; color: rgba(255, 255, 255, .9); }

/* ── Beneficios ───────────────────────────────────────────────────────────── */
.benefits { border-bottom: 1px solid var(--line); background: #fff; }
.benefits__row { display: grid; gap: .75rem; padding-block: 1.25rem; }
.benefits__row > div { display: flex; align-items: center; justify-content: center; gap: .6rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.benefits__row svg { color: var(--brand); flex: none; }

/* ── Grilla de productos ──────────────────────────────────────────────────── */
.pgrid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }

.pcard { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard__media { position: relative; display: block; aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.pcard__hover { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard__hover { opacity: 1; }
.pcard__badges { position: absolute; top: .6rem; left: .6rem; z-index: 2; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.pcard__off { position: absolute; top: .6rem; right: .6rem; z-index: 2; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 800; padding: .2rem .5rem; border-radius: 6px; }
.pcard__body { display: flex; flex: 1; flex-direction: column; padding: .85rem; }
.pcard__rating { display: flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600; color: var(--g500); }
.pcard__title { margin-top: .3rem; font-size: .95rem; font-weight: 700; line-height: 1.25; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title:hover { color: var(--brand); }
.pcard__sub { margin-top: .25rem; font-size: .78rem; color: var(--g500); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 .8rem; }
.pcard__sub-note { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; color: var(--brand); margin-bottom: .7rem; }
.pcard__sub-note svg { flex: none; }
.pcard .btn { margin-top: auto; }
.price-from { font-size: .7rem; font-weight: 600; color: var(--g500); text-transform: uppercase; letter-spacing: .04em; }
.price-old { font-size: .85rem; color: var(--g400); text-decoration: line-through; }
.price-old--lg { font-size: 1.15rem; }
.price-now { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.price-now--lg { font-size: 2rem; color: var(--brand); }

/* ── Tabs (Lo más pedido) ─────────────────────────────────────────────────── */
.tabs__nav { display: flex; gap: .5rem; overflow-x: auto; justify-content: center; margin-bottom: 1.75rem; scrollbar-width: none; }
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn { white-space: nowrap; padding: .55rem 1.1rem; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; font-size: .85rem; font-weight: 700; color: var(--g600); cursor: pointer; transition: all .15s; }
.tabs__btn:hover { border-color: var(--ink); color: var(--ink); }
.tabs__btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ── Comunidad + marquee ──────────────────────────────────────────────────── */
.community { padding: 3.5rem 0; overflow: hidden; }
.community__head { display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; margin-bottom: 2rem; }
.community__head h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.community__head h2 span { color: var(--brand); }
.community__rating { display: flex; align-items: center; gap: .6rem; }
.community__num { font-size: 1.75rem; font-weight: 900; }
.community__lbl { font-size: .8rem; color: var(--g500); }
.marquee { overflow: hidden; }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; width: 200px; height: 200px; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.marquee__item img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ── Compra por objetivo ──────────────────────────────────────────────────── */
.objectives { padding: 3.5rem 0; background: var(--ink); color: #fff; }
.obj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.obj-card { position: relative; display: block; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; background: #222; }
.obj-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .5s, opacity .3s; }
.obj-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 55%); }
.obj-card:hover img { transform: scale(1.06); opacity: .9; }
.obj-card__label { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; display: flex; align-items: center; gap: .35rem; font-size: 1.05rem; font-weight: 800; }

/* ── Videos ───────────────────────────────────────────────────────────────── */
.vcarousel { position: relative; }
.vcarousel__track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.vcarousel__track::-webkit-scrollbar { display: none; }
.vslide { position: relative; flex: none; width: 240px; aspect-ratio: 9/16; scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); }
.vslide video { width: 100%; height: 100%; object-fit: cover; }
.vslide__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(0, 0, 0, .25); color: #fff; cursor: pointer; }
.vslide__play span { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 99px; background: rgba(255, 255, 255, .25); backdrop-filter: blur(4px); }
.vslide.is-playing .vslide__play { display: none; }
.vcarousel__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; display: none; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 99px; background: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; }
.vcarousel__arrow--prev { left: -1rem; }
.vcarousel__arrow--next { right: -1rem; }

/* ── Especialistas ────────────────────────────────────────────────────────── */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.spec-card { text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; background: #fff; }
.spec-card__photo { width: 96px; height: 96px; margin: 0 auto .85rem; border-radius: 99px; overflow: hidden; background: var(--cream-2); display: grid; place-items: center; }
.spec-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.spec-card__initials { font-size: 2rem; font-weight: 800; color: var(--g400); }
.spec-card__name { font-size: .95rem; font-weight: 800; }
.spec-card__role { margin-top: .25rem; font-size: .78rem; color: var(--g500); }

/* ── Newsletter ───────────────────────────────────────────────────────────── */
.newsletter { padding: 3rem 0; background: var(--cream); }
.newsletter__inner { display: grid; gap: 1.25rem; align-items: center; }
.newsletter h2 { font-size: 1.4rem; font-weight: 800; }
.newsletter p { margin-top: .4rem; color: var(--g600); font-size: .9rem; }
.newsletter__form { display: flex; gap: .5rem; }
.newsletter__form input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; padding: .85rem 1.25rem; font: inherit; font-size: .9rem; outline: 0; }
.newsletter__form input:focus { border-color: var(--ink); }
.newsletter__form .btn { flex: none; }

/* ── Pie ──────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #fff; margin-top: auto; }
.footer-top { display: grid; gap: 2rem; padding-block: 3rem; }
.footer-brand p { color: rgba(255, 255, 255, .6); font-size: .875rem; margin-top: .6rem; max-width: 28ch; }
.footer-logo { height: 30px; width: auto; }
.footer-logo-txt { font-size: 1.4rem; font-weight: 900; letter-spacing: -.02em; }
.footer-reseller { display: inline-flex; align-items: center; gap: .35rem; color: rgba(255,255,255,.8) !important; font-size: .8rem !important; }
.footer-reseller svg { color: var(--green); }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 99px; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .15s; }
.socials a:hover { background: var(--brand); }
.footer-col h3 { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .85rem; }
.footer-col li + li { margin-top: .5rem; }
.footer-col a { font-size: .875rem; color: rgba(255, 255, 255, .6); }
.footer-col a:hover { color: #fff; }
.footer-contact a { display: flex; align-items: center; gap: .4rem; font-size: .875rem; color: rgba(255, 255, 255, .7); margin-bottom: .6rem; }
.footer-contact a:hover { color: #fff; }
.footer-wa { font-weight: 700; color: #fff !important; }
.footer-pay-note { font-size: .75rem; color: rgba(255, 255, 255, .5); margin-top: .5rem; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.1rem; }
.footer-legal p { text-align: center; font-size: .78rem; color: rgba(255, 255, 255, .5); }
.footer-legal a { color: rgba(255, 255, 255, .7); }
.footer-legal a:hover { color: #fff; }

/* ── Carrito ──────────────────────────────────────────────────────────────── */
.cart-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .5); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.cart-drawer { position: fixed; right: 0; top: 0; z-index: 90; display: flex; flex-direction: column; width: 100%; max-width: 27rem; height: 100%; background: #fff; box-shadow: var(--shadow-lg); animation: slide-r .25s ease-out; }
@keyframes slide-r { from { transform: translateX(100%); } }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.cart-drawer__head h2 { font-size: 1.1rem; font-weight: 800; }
.cart-ship { padding: .7rem 1.25rem; font-size: .8rem; font-weight: 600; }
.cart-ship--ok { background: #eaf7ee; color: var(--green); }
.cart-ship--pending { background: var(--cream); color: var(--ink-soft); }
.cart-ship__bar { height: 5px; border-radius: 99px; background: var(--line); margin-top: .5rem; overflow: hidden; }
.cart-ship__fill { height: 100%; background: var(--green); transition: width .3s; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.cart-drawer__foot { border-top: 1px solid var(--line); padding: 1rem 1.25rem; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.05rem; font-weight: 800; margin-bottom: .85rem; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; height: 100%; text-align: center; color: var(--g500); }
.cart-keep { display: block; width: 100%; margin-top: .5rem; border: 0; background: none; font-size: .875rem; color: var(--g500); cursor: pointer; }
.cart-keep:hover { color: var(--ink); }
.cart-line { display: flex; gap: .85rem; }
.cart-line + .cart-line { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--cream-2); }
.cart-line__img { flex: none; width: 4.5rem; height: 4.5rem; border-radius: 10px; overflow: hidden; background: var(--cream); }
.cart-line__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__t { font-size: .875rem; font-weight: 700; line-height: 1.25; }
.cart-line__v { font-size: .75rem; color: var(--g500); margin-top: .1rem; }
.cart-line__p { margin-top: .3rem; font-size: .875rem; font-weight: 800; color: var(--brand); }
.cart-line__ctrl { display: flex; align-items: center; gap: .75rem; margin-top: .4rem; }
.cart-line__rm { border: 0; background: none; padding: 0; font-size: .75rem; color: var(--g400); cursor: pointer; }
.cart-line__rm:hover { color: var(--brand); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qty button { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 0; background: none; color: var(--g600); cursor: pointer; }
.qty button:hover { color: var(--ink); }
.qty span { min-width: 1.75rem; text-align: center; font-size: .875rem; font-weight: 600; }

/* ── Chat ─────────────────────────────────────────────────────────────────── */
.chat-fab { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 75; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border: 0; border-radius: 99px; background: var(--brand); color: #fff; box-shadow: var(--shadow-lg); cursor: pointer; transition: transform .2s; }
.chat-fab:hover { transform: scale(1.05); }
.chat-panel { position: fixed; right: 1.1rem; bottom: 5.5rem; z-index: 75; display: flex; flex-direction: column; width: 92vw; max-width: 23rem; height: 500px; max-height: 68vh; overflow: hidden; border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-lg); }
.chat-panel__head { display: flex; align-items: center; gap: .75rem; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.chat-panel__head p { font-size: .85rem; font-weight: 700; line-height: 1.2; }
.chat-panel__head small { font-size: .68rem; color: rgba(255, 255, 255, .6); }
.chat-panel__head .icon-btn { margin-left: auto; color: rgba(255, 255, 255, .7); }
.chat-avatar { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 99px; background: var(--brand); flex: none; }
.chat-log { flex: 1; overflow-y: auto; background: var(--cream); padding: .75rem; display: grid; gap: .6rem; align-content: start; }
.chat-msg { max-width: 85%; padding: .5rem .8rem; border-radius: 14px; font-size: .875rem; }
.chat-msg--bot { justify-self: start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg--user { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat-agent { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .5rem; border-radius: 99px; background: var(--green); color: #fff; padding: .35rem .7rem; font-size: .75rem; font-weight: 700; }
.chat-quick { display: flex; flex-wrap: wrap; gap: .35rem; background: var(--cream); padding: 0 .75rem .75rem; }
.chat-quick button { border: 1px solid var(--line); border-radius: 99px; background: #fff; padding: .25rem .65rem; font-size: .72rem; font-weight: 600; cursor: pointer; }
.chat-quick button:hover { border-color: var(--ink); }
.chat-input { display: flex; align-items: center; gap: .5rem; border-top: 1px solid var(--line); padding: .6rem; }
.chat-input input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 99px; background: var(--cream); padding: .5rem 1rem; font: inherit; font-size: .875rem; outline: 0; }
.chat-input input:focus { border-color: var(--ink); }
.chat-input button { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex: none; border: 0; border-radius: 99px; background: var(--brand); color: #fff; cursor: pointer; }

/* ── Encabezado de página interior ────────────────────────────────────────── */
.page-head { background: var(--ink); color: #fff; padding-block: 3rem; }
.page-head--sm { padding-block: 2.25rem; }
.page-head h1 { font-size: 2rem; font-weight: 900; letter-spacing: -.02em; }
.page-head > .container > p { margin-top: .5rem; color: rgba(255, 255, 255, .7); }
.crumbs { font-size: .78rem; color: var(--g500); margin-bottom: 1.25rem; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin-inline: .35rem; }
.crumbs strong { font-weight: 400; color: var(--ink); }
.crumbs--light { color: rgba(255, 255, 255, .6); margin-bottom: .5rem; }
.crumbs--light strong { color: #fff; }

/* ── Toolbar de colección ─────────────────────────────────────────────────── */
.toolbar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.toolbar__count { font-size: .875rem; color: var(--g600); }
.toolbar__filters { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.switch { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; cursor: pointer; }
.switch input { accent-color: var(--brand); }
.toolbar__sort select { border: 1.5px solid var(--line); border-radius: 99px; padding: .45rem 2rem .45rem .9rem; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23555' stroke-width='2'><path d='m4 6 4 4 4-4'/></svg>") no-repeat right .6rem center; font-size: .8rem; font-weight: 600; appearance: none; cursor: pointer; }

.empty { border: 1px dashed var(--line); border-radius: var(--radius-lg); background: #fff; padding: 4rem 1.5rem; text-align: center; }
.empty > p:first-of-type { font-size: 1.1rem; font-weight: 700; }
.empty__sub { margin-top: .5rem; font-size: .875rem; color: var(--g500); }
.empty .btn { margin-top: 1rem; }
.empty__chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }
.empty__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }
.empty--404 { border: 0; background: transparent; }
.empty__code { font-size: 4rem; font-weight: 900; color: var(--brand); line-height: 1; }

/* ── Ficha de producto ────────────────────────────────────────────────────── */
.product { padding-block: 2rem; }
.product__top { display: grid; gap: 2rem; }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--radius-xl); overflow: hidden; background: var(--cream); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main .pcard__off { font-size: .8rem; padding: .3rem .7rem; }
.gallery__thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 4.5rem; height: 4.5rem; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--cream); cursor: pointer; padding: 0; }
.thumb.is-active { border-color: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.product__badges { display: flex; gap: .4rem; margin-bottom: .6rem; }
.product__info h1 { font-size: 1.9rem; font-weight: 900; letter-spacing: -.01em; line-height: 1.1; }
.product__rating { display: flex; align-items: center; gap: .4rem; margin-top: .6rem; font-size: .8rem; color: var(--g500); }
.product__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; margin-top: 1.1rem; }
.save-badge { background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; padding: .25rem .6rem; border-radius: 6px; }
.product__opt { margin-top: 1.5rem; }
.product__opt-label { font-size: .85rem; font-weight: 700; margin-bottom: .5rem; }
.product__opt-label span { font-weight: 500; color: var(--g600); }
.opt-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt-chip { padding: .55rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.opt-chip:hover { border-color: var(--ink); }
.opt-chip.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.product__buy { display: flex; gap: .75rem; margin-top: 1.75rem; }
.product__buy .qty { flex: none; }
.product__buy .qty button { width: 2.6rem; height: 100%; }
.product__buy .qty span { min-width: 2rem; }
.product__add { flex: 1; }
.product__wa { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .85rem; width: 100%; padding: .75rem; border: 1.5px solid var(--line); border-radius: 99px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.product__wa:hover { border-color: var(--green); color: var(--green); }
.product__perks { margin-top: 1.75rem; display: grid; gap: .6rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.product__perks li { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--g600); }
.product__perks svg { color: var(--brand); flex: none; }

.product__desc { margin-top: 3rem; }
.product__desc h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; }
.rte { max-width: 65ch; color: var(--g600); line-height: 1.7; font-size: .95rem; }
.rte h1, .rte h2, .rte h3, .rte h4 { color: var(--ink); margin: 1.25rem 0 .5rem; line-height: 1.3; }
.rte h4 { font-size: 1.05rem; font-weight: 800; }
.rte p { margin-bottom: .85rem; }
.rte ul { list-style: disc; padding-left: 1.25rem; margin-bottom: .85rem; display: grid; gap: .35rem; }
.rte img { border-radius: var(--radius); margin: 1rem 0; }
.rte a { color: var(--brand); text-decoration: underline; }
.rte strong { color: var(--ink); }

.related { margin-top: 3.5rem; }

/* ── Suscríbete y ahorra ──────────────────────────────────────────────────── */
.subscribe { display: grid; gap: .6rem; margin-top: 1.5rem; }
.buymode { position: relative; display: flex; gap: .75rem; border: 1.5px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; cursor: pointer; transition: border-color .15s, background-color .15s; }
.buymode:hover { border-color: var(--brand); }
.buymode input { position: absolute; opacity: 0; }
.buymode__radio { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .1rem; border: 2px solid var(--g400); border-radius: 99px; position: relative; transition: border-color .15s; }
.buymode input:checked ~ .buymode__radio { border-color: var(--brand); }
.buymode input:checked ~ .buymode__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 99px; background: var(--brand); }
.buymode:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.buymode__body { flex: 1; display: grid; gap: .15rem; }
.buymode__title { font-size: .9rem; font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.buymode__title svg { color: var(--brand); }
.buymode__tag { background: var(--gold); color: #fff; font-size: .68rem; font-weight: 800; padding: .1rem .4rem; border-radius: 5px; }
.buymode__price { font-size: 1rem; font-weight: 800; color: var(--ink); }
.buymode__price small { font-weight: 500; color: var(--g500); font-size: .78rem; }
.buymode__hint { font-size: .74rem; color: var(--g500); }
.buymode__freq { margin-top: .5rem; display: block; }
.buymode__freq-label { display: block; font-size: .74rem; font-weight: 600; color: var(--g600); margin-bottom: .4rem; }
.freq-choices { display: flex; flex-wrap: wrap; gap: .4rem; }
.freq-chip { padding: .4rem .75rem; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-size: .78rem; font-weight: 600; cursor: pointer; transition: all .15s; }
.freq-chip:hover { border-color: var(--brand); }
.freq-chip.is-active { border-color: var(--brand); background: var(--brand); color: #fff; }

/* ── Acordeones ───────────────────────────────────────────────────────────── */
.accordion { margin-top: 3rem; max-width: 60rem; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.15rem .25rem; border: 0; background: none; cursor: pointer; text-align: left; }
.acc-head__title { display: flex; align-items: center; gap: .6rem; font-size: 1rem; font-weight: 700; color: var(--ink); }
.acc-head__icon { color: var(--brand); }
.acc-head__chevron { color: var(--g500); transition: transform .25s; flex: none; }
.acc-item.is-open .acc-head__chevron { transform: rotate(180deg); }
.acc-body__inner { padding: 0 .25rem 1.35rem 2.35rem; }
.acc-body__inner .rte { max-width: none; }
.acc-body__inner p { color: var(--g600); line-height: 1.7; font-size: .92rem; }
.acc-body__inner ul { list-style: disc; padding-left: 1.25rem; margin-top: .6rem; display: grid; gap: .3rem; color: var(--g600); font-size: .92rem; }
.acc-body__inner strong { color: var(--ink); }

/* ── Reseñas ──────────────────────────────────────────────────────────────── */
.reviews { margin-top: 3.5rem; }
.reviews__head { display: grid; gap: 1.5rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); margin-bottom: 1.5rem; }
.reviews__score { text-align: center; display: grid; gap: .35rem; justify-items: center; }
.reviews__avg { font-size: 2.75rem; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.reviews__count { font-size: .8rem; color: var(--g500); }
.reviews__bars { display: grid; gap: .35rem; align-content: center; }
.rbar { display: grid; grid-template-columns: 2.4rem 1fr 1.5rem; align-items: center; gap: .5rem; }
.rbar__label { display: inline-flex; align-items: center; gap: .15rem; font-size: .75rem; font-weight: 600; color: var(--g600); }
.rbar__label svg { color: var(--gold); }
.rbar__track { height: 7px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.rbar__fill { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.rbar__n { font-size: .72rem; color: var(--g500); text-align: right; }

.reviews__list { display: grid; gap: 1.25rem; }
.review { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 1.35rem; }
.review__top { display: flex; align-items: center; gap: .75rem; }
.review__avatar { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 1rem; }
.review__name { font-size: .9rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.review__verified { display: inline-flex; color: var(--brand); line-height: 0; }
.review__verified .vbadge { display: block; }
.review__date { margin-left: auto; font-size: .74rem; color: var(--g400); align-self: flex-start; }
.review__text { margin-top: .75rem; font-size: .9rem; line-height: 1.6; color: var(--g600); }
.review__photo { margin-top: .85rem; }
.review__photo img { width: 6.5rem; height: 6.5rem; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

/* ── Documentos (nosotros / legales / faq) ────────────────────────────────── */
.doc { max-width: 55rem; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; }
.doc h2 { font-size: 1.15rem; font-weight: 800; margin: 1.5rem 0 .5rem; }
.doc h2:first-child { margin-top: 0; }
.doc p { color: var(--g600); line-height: 1.7; margin-bottom: .85rem; }
.doc ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .35rem; color: var(--g600); line-height: 1.7; margin-bottom: .85rem; }
.doc strong { color: var(--ink); }
.doc-contact { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ── Estado de login en el header ─────────────────────────────────────────── */
.hicon__dot { position: absolute; top: .35rem; right: .3rem; width: .5rem; height: .5rem; border-radius: 99px; background: var(--green); border: 2px solid #fff; }

/* ── Formularios (auth) ───────────────────────────────────────────────────── */
.form-error { max-width: 30rem; margin: 0 auto 1rem; border-radius: 10px; background: var(--danger-soft); color: var(--danger); padding: .7rem 1rem; font-size: .85rem; font-weight: 600; }
.form-ok-msg { display: flex; align-items: center; gap: .4rem; border-radius: 10px; background: #eaf7ee; color: var(--green); padding: .7rem 1rem; font-size: .85rem; font-weight: 600; margin-bottom: 1rem; }

.auth { max-width: 28rem; margin-inline: auto; }
.auth__tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; background: var(--cream-2); border-radius: 99px; padding: .3rem; }
.auth__tab { flex: 1; text-align: center; padding: .6rem; border-radius: 99px; font-size: .875rem; font-weight: 700; color: var(--g600); }
.auth__tab.is-active { background: var(--ink); color: #fff; }
.auth__form { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.auth__form label, .addr-form label { display: grid; gap: .35rem; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.auth__form input, .addr-form input {
  border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .9rem; font: inherit; font-size: .9rem; outline: 0; background: #fff;
}
.auth__form input:focus, .addr-form input:focus { border-color: var(--ink); }
.auth__form .btn { margin-top: .25rem; }
.auth__alt { text-align: center; font-size: .85rem; color: var(--g600); }
.auth__alt a { color: var(--brand); font-weight: 600; }
.auth__note { display: flex; align-items: center; gap: .4rem; justify-content: center; margin-top: 1rem; font-size: .78rem; color: var(--g500); }
.auth__note svg { color: var(--green); }
.auth__resend { text-align: center; margin-top: -.5rem; }
.auth__sent { text-align: center; font-size: .85rem; color: var(--g600); margin-bottom: 1rem; }
.code-input { text-align: center; font-size: 1.5rem; font-weight: 700; letter-spacing: .5rem; font-variant-numeric: tabular-nums; }
.dev-code { max-width: 28rem; margin: 0 auto 1.25rem; border: 1px dashed var(--gold-dark); background: #fdf8ec; border-radius: 10px; padding: .85rem 1rem; font-size: .82rem; color: var(--ink-soft); }
.dev-code__val { font-weight: 800; font-size: 1.1rem; letter-spacing: .15rem; color: var(--brand); }
.dev-code small { color: var(--g500); }

/* ── Área de cuenta ───────────────────────────────────────────────────────── */
.account-grid { display: grid; gap: 1.5rem; }
.account-nav nav { display: flex; flex-wrap: wrap; gap: .25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: .5rem; }
.account-nav a { flex: 1; min-width: max-content; text-align: center; padding: .6rem .9rem; border-radius: 10px; font-size: .85rem; font-weight: 600; color: var(--g600); }
.account-nav a:hover { background: var(--cream); color: var(--ink); }
.account-nav a[aria-current] { background: var(--ink); color: #fff; }
.account-nav__out { color: var(--danger) !important; }
.account-nav__out:hover { background: var(--danger-soft) !important; }

.account-main { display: grid; gap: 1.25rem; }
.account-cards { display: grid; gap: 1.25rem; }
.account-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 1.5rem; }
.account-card h2 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 800; margin-bottom: .75rem; }
.account-card h2 svg { color: var(--brand); }
.account-card__name { font-weight: 700; font-size: .9rem; }
.account-card__text { font-size: .875rem; color: var(--g600); margin-bottom: 1rem; }
.account-card .btn { margin-top: .25rem; }
.account-dl { display: grid; gap: .6rem; }
.account-dl > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; border-bottom: 1px solid var(--cream-2); padding-bottom: .6rem; }
.account-dl dt { color: var(--g500); }
.account-dl dd { margin: 0; font-weight: 600; text-align: right; }
.tag-def { display: inline-block; background: var(--green); color: #fff; font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .12rem .45rem; border-radius: 5px; vertical-align: middle; }

/* Direcciones */
.addr-list { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
.addr-item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 1.25rem; }
.addr-item__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.addr-item__name { font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: .5rem; }
.addr-item__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--g400); }
.addr-item__text { font-size: .875rem; color: var(--g600); margin-top: .4rem; }
.addr-item__phone { display: flex; align-items: center; gap: .3rem; font-size: .8rem; color: var(--g500); margin-top: .3rem; }
.addr-item__actions { display: flex; gap: 1rem; margin-top: .85rem; }
.addr-item__actions form { display: inline; }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; font-size: .8rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.linkbtn:hover { color: var(--ink); text-decoration: underline; }
.linkbtn--danger { color: var(--brand); }

.addr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.addr-form__full, .addr-form__wide, .addr-form__check, .addr-form__submit { grid-column: 1 / -1; }
.addr-form__check { display: flex; flex-direction: row; align-items: center; gap: .5rem; font-size: .85rem; }
.addr-form__check input { width: auto; }
.addr-form__submit { display: flex; gap: .75rem; margin-top: .25rem; }

/* Pedidos */
.orders { display: grid; gap: 1.25rem; }
.order { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 1.25rem; }
.order__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: .85rem; border-bottom: 1px solid var(--cream-2); }
.order__code { font-size: .9rem; }
.order__date { font-size: .78rem; color: var(--g500); margin-top: .2rem; }
.order__status { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: .3rem .6rem; border-radius: 6px; white-space: nowrap; }
.order__status--pendiente { background: #fff4e0; color: #b26a00; }
.order__status--confirmado { background: #e0f0ff; color: #0a5bb5; }
.order__status--enviado { background: #eef0ff; color: #3a3ab5; }
.order__status--entregado { background: #eaf7ee; color: var(--green); }
.order__status--cancelado { background: var(--danger-soft); color: var(--danger); }
.order__items { display: grid; gap: .5rem; padding: .85rem 0; }
.order__items li { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--g600); }
.order__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .85rem; border-top: 1px solid var(--cream-2); }
.order__addr { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--g500); }
.order__total { font-size: .95rem; }

.nav-drawer__sep { display: block; height: 1px; background: var(--line); margin: .5rem 1.25rem; }

/* ── Checkout (2 columnas, estilo Genwell) ────────────────────────────────── */
/* En el checkout, cabecera y pie más limpios (como Shopify). */
body.is-checkout .collnav,
body.is-checkout .announce,
body.is-checkout .chat-fab,
body.is-checkout .site-footer .footer-top { display: none; }
body.is-checkout .site-header { position: static; }
.checkout-head { border-bottom: 1px solid var(--line); }
.checkout-head .crumbs { margin: 0; padding-block: 1rem; }
.checkout2 { display: grid; gap: 0; max-width: 1180px; margin-inline: auto; }
.checkout2__form { padding: 2rem 1.25rem; }
.checkout2__summary { background: var(--brand); color: #fff; padding: 2rem 1.25rem; }

.co-block { max-width: 34rem; margin: 0 auto 2rem; }
.co-block__head { display: flex; align-items: baseline; justify-content: space-between; }
.co-block h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: .85rem; }
.co-login { font-size: .85rem; color: var(--brand); font-weight: 600; }
.co-login:hover { text-decoration: underline; }
.co-note { font-size: .82rem; color: var(--g600); margin-bottom: 1rem; line-height: 1.5; }
.co-field { display: block; margin-bottom: .75rem; }
.co-field input, .co-field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: .85rem 1rem;
  font: inherit; font-size: .9rem; outline: 0; background: #fff; color: var(--ink);
}
.co-field input:focus, .co-field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.co-field select:disabled { background: var(--cream); color: var(--g500); }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.co-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.co-check { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--g600); }
.co-check input { accent-color: var(--brand); }
.co-check--save { margin-top: .85rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 9px; background: var(--cream); font-weight: 500; }
.co-guest { margin-top: .85rem; font-size: .82rem; color: var(--g600); }
.co-guest a { color: var(--brand); font-weight: 600; }

.co-ship { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1.5px solid var(--brand); background: var(--brand-soft); border-radius: 10px; padding: .9rem 1rem; font-size: .875rem; }
.co-ship span { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.co-ship svg { color: var(--brand); }

.co-pay { border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.co-pay__method { border-bottom: 1px solid var(--line); }
.co-pay__method:last-child { border-bottom: 0; }
.co-pay__method.is-open { background: var(--brand-soft); }
.co-pay__opt { display: flex; align-items: center; gap: .75rem; padding: 1rem; cursor: pointer; position: relative; }
.co-pay__opt input { position: absolute; opacity: 0; }
.co-pay__radio { flex: none; width: 1.15rem; height: 1.15rem; border: 2px solid var(--g400); border-radius: 99px; position: relative; background: #fff; }
.co-pay__opt input:checked ~ .co-pay__radio { border-color: var(--brand); }
.co-pay__opt input:checked ~ .co-pay__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 99px; background: var(--brand); }
.co-pay__label { flex: 1; font-size: .9rem; font-weight: 600; }
.co-pay__icons { display: flex; gap: .3rem; }
.pay-svg { height: 24px; width: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }

/* Panel expandible (campos de tarjeta / botón PayPal) */
.co-pay__panel { display: none; padding: 0 1rem 1.15rem; }
.co-pay__method.is-open .co-pay__panel { display: block; animation: pay-in .2s ease; }
@keyframes pay-in { from { opacity: 0; transform: translateY(-4px); } }
.co-card, .cc-row { display: grid; gap: .7rem; }
.cc-row { grid-template-columns: 1fr 1fr; margin-top: .7rem; }
.cc-field { position: relative; }
.co-pay__panel input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 9px; padding: .8rem .95rem;
  font: inherit; font-size: .9rem; outline: 0; background: #fff; color: var(--ink);
}
.cc-field input { padding-right: 2.6rem; }
.co-pay__panel input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(28,107,74,.12); }
.co-pay__panel input.is-invalid { border-color: var(--danger); }
.cc-field__brand { position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); color: var(--g400); display: flex; }
.cc-field__brand .pay-svg { height: 20px; }
.cc-error { margin-top: .6rem; font-size: .8rem; font-weight: 600; color: var(--danger); }
.cc-secure { margin-top: .7rem; display: flex; align-items: center; gap: .4rem; font-size: .74rem; color: var(--g500); }
.cc-secure svg { color: var(--brand); flex: none; }
.pp-note { font-size: .82rem; color: var(--g600); margin-bottom: .85rem; }
.pp-note--off { display: flex; align-items: flex-start; gap: .4rem; }
.pp-note--off svg { color: var(--brand); flex: none; margin-top: .1rem; }
.pp-note--off code { background: var(--cream-2); padding: .1rem .35rem; border-radius: 4px; font-size: .9em; }

.co-submit { margin: 0 auto; max-width: 34rem; margin-top: .5rem; }
.co-legal { max-width: 34rem; margin: 1rem auto 0; text-align: center; font-size: .78rem; color: var(--g500); }
.co-legal a { color: var(--brand); text-decoration: underline; }

/* Resumen (columna derecha) */
.co-summary { max-width: 26rem; margin: 0 auto; position: sticky; top: 1.5rem; }
.co-items { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
.co-item { display: flex; align-items: center; gap: .85rem; }
.co-item__img { position: relative; flex: none; width: 3.5rem; height: 3.5rem; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); }
.co-item__img img { width: 100%; height: 100%; object-fit: cover; }
.co-item__qty { position: absolute; top: -.5rem; right: -.5rem; display: grid; place-items: center; min-width: 1.35rem; height: 1.35rem; border-radius: 99px; background: rgba(0,0,0,.55); color: #fff; font-size: .7rem; font-weight: 700; }
.co-item__body { flex: 1; }
.co-item__t { font-size: .85rem; font-weight: 700; line-height: 1.3; }
.co-item__v { font-size: .74rem; color: rgba(255,255,255,.75); margin-top: .15rem; }
.co-item__p { font-size: .85rem; font-weight: 700; }
.co-empty { color: rgba(255,255,255,.85); font-size: .9rem; }
.co-empty a { color: #fff; text-decoration: underline; }

.co-coupon { display: flex; gap: .5rem; margin-bottom: .5rem; }
.co-coupon input { flex: 1; min-width: 0; border: 0; border-radius: 8px; padding: .8rem 1rem; font: inherit; font-size: .875rem; background: #fff; color: var(--ink); outline: 0; }
.co-coupon .btn { flex: none; background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.4); }
.co-coupon .btn:hover { background: rgba(255,255,255,.25); color: #fff; }
.co-coupon__msg { font-size: .78rem; margin-bottom: 1rem; }
.co-coupon__msg.is-ok { color: #d5f5df; }
.co-coupon__msg.is-err { color: #ffd7d7; }

.co-totals { display: grid; gap: .6rem; border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.1rem; }
.co-totals > div { display: flex; justify-content: space-between; font-size: .9rem; }
.co-totals dd { margin: 0; font-weight: 600; }
.co-totals .free { color: #d5f5df; }
.co-totals__total { border-top: 1px solid rgba(255,255,255,.2); padding-top: .8rem; margin-top: .3rem; font-size: 1.2rem; font-weight: 800; }
.co-cur { font-size: .75rem; font-weight: 600; opacity: .8; }

/* Página de gracias */
.thanks { max-width: 32rem; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 3rem 2rem; }
.thanks__check { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin: 0 auto 1.25rem; border-radius: 99px; background: var(--brand-soft); color: var(--brand); }
.thanks__check svg { stroke-width: 2.5; }
.thanks h1 { font-size: 1.75rem; font-weight: 900; }
.thanks__code { margin-top: .75rem; font-size: .95rem; color: var(--g600); }
.thanks__code strong { color: var(--ink); }
.thanks__text { margin-top: .85rem; font-size: .9rem; color: var(--g600); line-height: 1.6; }
.thanks__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
.thanks__link { margin-top: 1.25rem; }
.thanks__link a { color: var(--brand); font-weight: 600; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .benefits__row { grid-template-columns: repeat(3, 1fr); }
  .obj-grid { grid-template-columns: repeat(4, 1fr); }
  .spec-grid { grid-template-columns: repeat(4, 1fr); }
  .hero__title { font-size: 3.2rem; }
  .newsletter__inner { grid-template-columns: 1fr auto; }
  .newsletter__form { min-width: 22rem; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .pgrid--4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  :root { --stick: 0; }
  .nav-burger { display: none; }
  .searchbox { display: flex; }
  .site-header__actions [data-search-toggle] { display: none; }
  .product__top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .vcarousel__arrow { display: grid; }
  .vslide { width: 260px; }
  .account-grid { grid-template-columns: 15rem 1fr; align-items: start; }
  .account-nav nav { flex-direction: column; position: sticky; top: 6rem; }
  .account-nav a { flex: none; text-align: left; }
  .account-cards { grid-template-columns: 1fr 1fr; }
  .reviews__head { grid-template-columns: 15rem 1fr; align-items: center; }
  .reviews__head .reviews__score { border-right: 1px solid var(--line); padding-right: 1.5rem; }
  /* Checkout dos columnas: formulario a la izquierda, resumen a la derecha */
  .checkout2 { grid-template-columns: 1fr 27rem; }
  .checkout2__form { padding: 3rem 2.5rem; }
  .checkout2__summary { padding: 3rem 2.5rem; min-height: calc(100vh - 4rem); }
}

@media (max-width: 767px) {
  /* En móvil, el resumen va arriba del formulario. */
  .checkout2 { display: flex; flex-direction: column; }
  .checkout2__summary { order: -1; }
}

@media (min-width: 1024px) {
  .pgrid { grid-template-columns: repeat(4, 1fr); }
  .gallery { position: sticky; top: 6rem; }
}

@media (max-width: 767px) {
  .nav-drawer, .nav-overlay { }
}
