/* ==========================================================================
   Mayorista Perfumes La Plata — tienda
   Identidad: marfil, negro y dorado champagne (como los flyers del dueño),
   con el frasco de colores del logo. El rojo queda para los precios mayoristas.
   ========================================================================== */

:root {
  --ink: #141210;
  --ink-2: #2A231E;
  --ink-3: #3B322B;
  --muted: #6F665D;
  --line: #E7DCC8;
  --line-dark: rgba(255, 255, 255, .12);
  --paper: #FAF6EF;
  --white: #FFFFFF;
  --cream: #F4ECDF;
  --cream-2: #EADFCC;
  --coral: #EF4B3F;
  --amber: #C9A35E;      /* dorado */
  --amber-2: #E9D29C;    /* dorado claro (sobre negro) */
  --amber-ink: #94702F;  /* dorado oscuro (sobre marfil) */
  --teal: #14A38B;
  --grad: linear-gradient(100deg, #B8904A 0%, #E6CD93 34%, #F7E9C6 50%, #DDBB78 70%, #B08640 100%);
  --grad-warm: linear-gradient(100deg, #B8904A 0%, #E6CD93 55%, #C9A35E 100%);
  --green: #0F7A63;
  --green-2: #14A38B;
  --green-soft: #E0F3EE;
  --red: #B4412F;
  --red-soft: #F7E3DE;
  --wa: #25D366;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(21, 17, 14, .06);
  --shadow: 0 1px 2px rgba(21, 17, 14, .05), 0 10px 30px rgba(21, 17, 14, .08);
  --shadow-lg: 0 20px 60px rgba(21, 17, 14, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 118px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; }
h1, h2 { font-family: var(--font-display); font-variation-settings: 'opsz' 120; letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 500; }
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--amber-ink); padding-right: .06em; }
.section--dark h2 em, .section--dark h1 em { color: var(--amber-2); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.hide-md { display: inline-flex; }
@media (max-width: 860px) { .hide-md { display: none !important; } }

.eyebrow {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin-bottom: .6rem;
}
.eyebrow--light { color: var(--amber-2); }

/* ---------------------------------------------------------------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.25rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 52px; padding: .85rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-3); }
.btn--brand { background: var(--grad); background-size: 140% 100%; background-position: 0 0; color: var(--ink); }
.btn--brand:hover { background-position: 100% 0; box-shadow: 0 10px 28px rgba(239, 75, 63, .32); }
.btn--ghost { border-color: var(--line); background: var(--white); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: var(--paper); }
.btn--outline-light:hover { border-color: var(--paper); background: rgba(255, 255, 255, .06); }
.btn--wa { background: var(--wa); color: #0B3B1E; }
.btn--wa:hover { filter: brightness(1.05); }
.btn--line { border-color: var(--line); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.is-busy { opacity: .6; cursor: progress; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center; font-size: 1.6rem; line-height: 1;
  transition: background .2s;
}
.icon-btn:hover { background: var(--cream); }
.link-sm { display: inline-block; margin-top: .9rem; font-size: .85rem; color: var(--muted); }

/* ---------------------------------------------------------------- barra de promos (deslizante) */
.announce {
  position: relative; overflow: hidden;
  height: 40px; display: flex; align-items: center;
  background: var(--ink); color: var(--amber-2);
  font-size: .9rem; font-weight: 600; letter-spacing: .01em;
}
.announce[hidden] { display: none; }
.announce::before, .announce::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40px; z-index: 1; pointer-events: none;
}
.announce::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.announce::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee { display: flex; width: max-content; animation: marquee var(--marquee-dur, 40s) linear infinite; will-change: transform; }
.announce:hover .marquee { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { white-space: nowrap; padding: 0 22px; }
.marquee__item b { font-weight: 800; }
.marquee__sep { font-size: .62rem; opacity: .75; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .announce { height: 36px; font-size: .82rem; } .marquee__item { padding: 0 16px; } }

/* ---------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 246, 239, .95);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo__mark { width: 32px; height: 42px; flex-shrink: 0; object-fit: contain; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
.logo__text small { font-size: .66rem; font-weight: 800; letter-spacing: .34em; text-transform: uppercase; color: var(--amber-ink); margin-top: 4px; }
.logo--light { color: var(--paper); }
.logo--light .logo__text small { color: var(--amber-2); }

.search {
  flex: 1; max-width: 520px; margin-inline: auto;
  display: flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 16px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 999px;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(247, 137, 43, .18); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: .95rem; }
.header__actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--paper);
  transition: transform .2s var(--ease);
}
.cart-btn:hover { transform: scale(1.05); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn__count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--coral); color: var(--white); font-size: .72rem; font-weight: 800;
  border: 2px solid var(--paper);
}
.cart-btn.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.95); } }

.nav { border-top: 1px solid var(--line); }
.nav__row { display: flex; gap: 6px; height: 46px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav__row::-webkit-scrollbar { display: none; }
.nav__row a, .nav__row button {
  flex-shrink: 0; padding: 6px 12px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--ink-3);
  transition: background .2s, color .2s;
}
.nav__row a:hover { background: var(--cream); color: var(--ink); }
.nav__quiz {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--amber-2) !important;
}
.nav__quiz svg { width: 14px; height: 14px; }
.nav__quiz:hover { filter: brightness(1.05); }

@media (max-width: 720px) {
  :root { --header-h: 160px; }
  .header__row { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 12px; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 42px; }
  .header__actions { margin-left: auto; }
  .logo__mark { width: 30px; height: 35px; }
}

/* ---------------------------------------------------------------- portada */
/* Dos mitades sobre marfil con luz dorada: a la izquierda el eslogan y los combos; a la derecha, los beneficios. */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--ink);
  background:
    radial-gradient(55% 80% at 6% 0%, rgba(233, 210, 156, .38), transparent 62%),
    linear-gradient(180deg, #FBF7F0, #F3EBDD);
}
.hero__inner {
  --gap: clamp(32px, 5vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .85fr);
  gap: var(--gap); align-items: center;
  padding: clamp(26px, 3.4vw, 46px) 0 clamp(30px, 3.8vw, 52px);
}
.hero .eyebrow { color: var(--amber-ink); }
.hero .eyebrow::before { content: ''; display: inline-block; width: 34px; height: 1px; margin-right: 12px; vertical-align: middle; background: currentColor; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; }
.hero h1 .hero__check { display: inline-block; width: .82em; height: .82em; margin-left: .18em; vertical-align: -.08em; color: var(--amber-ink); }
.hero__check circle { stroke: var(--amber); }
.hero h1 em { display: block; }
.hero__lead { margin-top: 1rem; max-width: 520px; font-size: 1.02rem; color: var(--muted); }
.hero__lead b { color: var(--ink); }

.hero__picks { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 14px; margin-top: 1.8rem; max-width: calc(var(--n, 4) * 196px); }
.hpick { display: flex; flex-direction: column; gap: 2px; text-align: left; min-width: 0; }
.hpick__img {
  display: block; aspect-ratio: 4 / 5; margin-bottom: 8px; border-radius: 14px; overflow: hidden;
  background: var(--white); box-shadow: 0 0 0 1px var(--line);
}
.hpick__img .bottle--img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.hpick__img svg { width: 100%; height: 100%; padding: 10%; }
.hpick:hover .bottle--img { transform: scale(1.05); }
.hpick__name { font-weight: 700; font-size: .9rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpick__price { font-size: .76rem; color: var(--muted); }
.hpick__price b { font-size: 1.02rem; font-weight: 800; color: #FF6A5C; margin-right: 2px; }
.hero__dots { display: none; }
.hero__more {
  display: inline-flex; gap: 6px; margin-top: 1.4rem; padding-bottom: 2px;
  font-weight: 700; font-size: .95rem; text-decoration: none; border-bottom: 1.5px solid currentColor;
}
.hero__more [aria-hidden] { transition: transform .2s var(--ease); }
.hero__more:hover [aria-hidden] { transform: translateX(3px); }

.hero__perks { list-style: none; margin: 0; padding: 0; }
.hp { display: flex; align-items: center; gap: 16px; padding: 22px 0; }
.hp + .hp { border-top: 1px solid var(--line); }
.hp__icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #F0E5CE; color: var(--amber-ink);
}
.hp__icon svg { width: 24px; height: 24px; }
.hp__txt b { display: block; font-size: 1.02rem; line-height: 1.25; }
.hp__txt span { display: block; font-size: .85rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}
/* Celular: el título arriba; un perfume y los beneficios lado a lado; el texto de los descuentos al final. */
@media (max-width: 760px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    grid-template-areas: "eyebrow eyebrow" "title title" "shop perks" "lead lead";
    gap: 0 12px; align-items: start;
    padding: 28px 0 30px;
  }
  .hero__main { display: contents; }
  .hero .eyebrow { grid-area: eyebrow; }
  .hero h1 { grid-area: title; margin-bottom: 20px; }
  /* El perfume se estira hasta el alto del panel de beneficios: la foto crece y el frasco se ve más grande. */
  .hero__shop { grid-area: shop; min-width: 0; align-self: stretch; display: flex; flex-direction: column; }
  .hero__picks { flex: 1; display: flex; gap: 12px; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hero__picks::-webkit-scrollbar { display: none; }
  .hpick { flex: 0 0 100%; scroll-snap-align: start; }
  .hpick__img { flex: 1 0 auto; }
  .hpick__price b { font-size: .95rem; }
  .hero__dots { display: flex; gap: 5px; margin-top: 10px; }
  .hero__dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .14); transition: width .3s var(--ease), background .3s; }
  .hero__dots i.is-on { width: 16px; background: var(--ink); }
  .hero__more { margin-top: 12px; font-size: .85rem; white-space: nowrap; }
  .hero__perks {
    grid-area: perks; align-self: stretch;
    display: flex; flex-direction: column; justify-content: space-around;
    padding: 4px 14px; border-radius: 14px;
    background: #FFFDF9; border: 1px solid var(--line);
  }
  .hp { padding: 12px 0; gap: 10px; align-items: flex-start; }
  .hp__icon { width: 32px; height: 32px; }
  .hp__icon svg { width: 17px; height: 17px; }
  .hp__txt b { font-size: .92rem; }
  .hp__txt span { margin-top: 2px; font-size: .8rem; line-height: 1.3; }
  .hero__lead {
    grid-area: lead; max-width: none; margin-top: 22px; padding-top: 16px;
    border-top: 1px solid var(--line); font-size: .92rem;
  }
}
@media (max-width: 760px) { .hero .eyebrow::before { display: none; } }
@media (max-width: 420px) {
  .hero__more-long { display: none; }
}

/* ------------------------------------------------------- combos en la portada */
/* Tarjeta blanca con filete dorado; el precio en un recuadro champagne, como en los flyers. */
.hero__picks.is-combos { max-width: none; gap: 12px; margin-top: 1.4rem; }
.hcombo {
  display: flex; flex-direction: column; min-width: 0; text-align: left; border-radius: 18px; overflow: hidden;
  background: var(--white); color: var(--ink); border: 1px solid #E4D3AE; box-shadow: 0 14px 30px rgba(80, 60, 20, .08);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.hcombo:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(80, 60, 20, .12); }
.hcombo__img { position: relative; display: block; aspect-ratio: 2 / 1; margin: 8px 8px 0; border-radius: 10px; overflow: hidden; background: var(--white); isolation: isolate; }
/* La foto entera (sin recortar); lo que sobra se completa con la misma foto desenfocada. */
.hcombo__img::before { content: ''; position: absolute; inset: -12%; z-index: -1; background: var(--img) center / cover; filter: blur(14px) saturate(1.1); opacity: .5; }
.hcombo__img img { width: 100%; height: 100%; object-fit: contain; }
.hcombo__badge {
  position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 999px;
  font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--ink); color: var(--amber-2);
}
.hcombo__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 11px 12px 13px; }
.hcombo__name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2; }
.hcombo__list { display: flex; flex-direction: column; gap: 1px; font-size: .74rem; line-height: 1.3; color: var(--muted); }
.hcombo__list b { font-size: .92rem; font-weight: 800; color: var(--amber-ink); margin-right: 2px; }
.hcombo__price {
  align-self: stretch; margin-top: auto; padding: 5px 8px; border-radius: 4px; text-align: center;
  background: var(--grad); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
}
.hcombo__units { font-size: .68rem; color: var(--muted); }
.kit-list__item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; font-size: .9rem; }
.kit-list__item b { font-weight: 800; }
.kit-list__item small { color: var(--muted); }
@media (max-width: 760px) {
  .hcombo { flex: 0 0 100%; scroll-snap-align: start; }
  .hcombo__img { flex: none; }
  .hcombo__list { gap: 4px; margin-top: 2px; }
}

/* ---------------------------------------------------------------- secciones */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--catalog { padding-top: 24px; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--paper); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section__aside { color: var(--muted); max-width: 320px; }

/* ---------------------------------------------------------------- test flotante (abajo a la izquierda) */
.qfloat { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.qfloat__btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-weight: 800; font-size: .95rem;
  box-shadow: 0 12px 30px rgba(21, 17, 14, .35);
  transition: transform .25s var(--ease), box-shadow .25s;
  isolation: isolate;
}
/* borde con el degradé de la marca */
.qfloat__btn::before {
  content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
  background: var(--grad); background-size: 200% 100%; animation: qfloat-shine 6s linear infinite;
}
.qfloat__btn::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink); }
.qfloat__btn svg { width: 22px; height: 22px; color: var(--amber-2); flex-shrink: 0; }
.qfloat__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(239, 75, 63, .35); }
@keyframes qfloat-shine { to { background-position: 200% 0; } }

.qfloat__tip {
  position: relative; max-width: 240px; padding: 12px 34px 12px 14px; border-radius: 14px;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  font-size: .85rem; line-height: 1.35; animation: pop .35s var(--ease); transform-origin: bottom left;
}
.qfloat__tip[hidden] { display: none; }
.qfloat__tip::after {
  content: ''; position: absolute; left: 28px; bottom: -7px; width: 14px; height: 14px;
  background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg);
}
.qfloat__tip b { display: block; font-size: .9rem; }
.qfloat__tip span { color: var(--muted); }
.qfloat__tip-close { position: absolute; top: 4px; right: 6px; width: 26px; height: 26px; border-radius: 50%; font-size: 1.1rem; color: var(--muted); }
.qfloat__tip-close:hover { background: var(--cream); color: var(--ink); }

@media (max-width: 560px) {
  .qfloat { left: 14px; bottom: 14px; }
  .qfloat__btn { height: 54px; padding: 0 18px 0 14px; font-size: .88rem; gap: 8px; }
  .qfloat__btn svg { width: 20px; height: 20px; }
  .qfloat__tip { max-width: 220px; font-size: .8rem; }
}

/* ---------------------------------------------------------------- familias */
.families { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.family {
  position: relative; overflow: hidden; text-align: left;
  min-height: 132px; padding: 18px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.family::after {
  content: ''; position: absolute; right: -30px; bottom: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--c) 55%, white), var(--c));
  opacity: .9; transition: transform .4s var(--ease);
}
.family:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.family:hover::after { transform: scale(1.15); }
.family b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; position: relative; z-index: 1; max-width: 70%; }
.family span { font-size: .8rem; color: var(--muted); font-weight: 600; position: relative; z-index: 1; }
.family.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 900px) { .families { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- filtros */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white);
  font-size: .88rem; font-weight: 700; color: var(--ink-3);
  transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip--kit { border-style: dashed; border-color: var(--amber); }
.chip--kit.is-active { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.filters__selects { display: flex; gap: 10px; flex-wrap: wrap; }
.select {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 6px 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white);
  font-size: .8rem; font-weight: 700; color: var(--muted);
}
.select select { border: 0; outline: 0; background: transparent; font-weight: 700; color: var(--ink); font-size: .88rem; padding: 0 6px; cursor: pointer; }
.results-info { font-size: .85rem; color: var(--muted); margin-bottom: 18px; min-height: 1.3em; }
.results-info button { text-decoration: underline; font-weight: 700; color: var(--ink); }

.view-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
.view-toggle button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--muted);
}
.view-toggle button svg { width: 15px; height: 15px; }
.view-toggle button[aria-selected="true"] { background: var(--ink); color: var(--paper); }

/* ---------------------------------------------------------------- cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 22px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease);
  animation: rise .5s var(--ease) both;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.card__media {
  position: relative; aspect-ratio: 1 / 1.05; width: 100%;
  display: grid; place-items: center; padding: 22px 30px 14px;
  background:
    radial-gradient(70% 60% at 50% 62%, color-mix(in srgb, var(--tint) 30%, transparent), transparent 70%),
    linear-gradient(180deg, var(--paper), var(--cream));
}
.card__media .bottle { width: 78%; height: auto; transition: transform .45s var(--ease); }
.card__media .bottle--img { width: 100%; height: 100%; object-fit: contain; }
.card:hover .card__media .bottle { transform: translateY(-6px) rotate(-2deg) scale(1.03); }
.card--out .card__media .bottle { filter: grayscale(.85) opacity(.55); }
.badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: var(--white); border: 1px solid var(--line); color: var(--ink-3);
}
.badge--low { background: #FFF4E0; border-color: #F1D29B; color: var(--amber-ink); }
.badge--out { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.badge--kit { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.badge--save { background: var(--green-soft); border-color: #BFD8CC; color: var(--green); margin-left: auto; }

.card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.card__brand { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__name { font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; line-height: 1.15; }
.card__name button { text-align: left; }
.card__name button:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fams { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .75rem; color: var(--muted); font-weight: 600; }
.fams span { display: inline-flex; align-items: center; gap: 5px; }
.fams span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.card__prices { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.price { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.price small { font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-ws {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 10px; border-radius: 10px;
  background: var(--green-soft); color: var(--green);
  font-size: .8rem; font-weight: 700;
}
.price-ws b { font-size: .98rem; }
.price-ws.is-on { background: var(--green); color: var(--white); }
.card__meta { font-size: .76rem; color: var(--muted); }
.card__meta b { color: var(--ink); }
.card__actions { display: flex; gap: 8px; margin-top: 10px; }
.card__actions .btn { flex: 1; min-height: 42px; padding: .55rem .9rem; font-size: .88rem; }

.more { display: flex; justify-content: center; margin-top: 28px; }
.more .btn { min-width: 220px; }
.more span { color: var(--muted); font-weight: 600; }
.empty {
  text-align: center; padding: 56px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius);
  color: var(--muted);
}
.empty b { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); margin-bottom: 6px; font-weight: 500; }
.link-btn { text-decoration: underline; font-weight: 700; color: var(--ink); }
.is-static .card, .is-static .qlist { animation: none; }

/* ---------------------------------------------------------------- pedido rápido */
.qlist { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qrow {
  display: grid; grid-template-columns: 56px minmax(0, 2.4fr) 1fr .7fr 1fr 1fr 140px;
  align-items: center; gap: 14px; padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.qrow:last-child { border-bottom: 0; }
.qrow--head { background: var(--cream); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-block: 12px; }
.qrow__img {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; padding: 4px;
  background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--tint) 30%, transparent), var(--cream));
}
.qrow__img .bottle { width: 100%; height: 100%; object-fit: contain; }
.qrow__name { min-width: 0; }
.qrow__name button { font-weight: 700; text-align: left; }
.qrow__name button:hover { text-decoration: underline; }
.qrow__name small { display: block; font-size: .75rem; color: var(--muted); }
.qrow__stock { font-size: .82rem; font-weight: 700; }
.qrow__stock.is-low { color: var(--amber-ink); }
.qrow__stock.is-out { color: var(--red); }
.qrow__price { font-weight: 700; font-size: .92rem; }
.qrow__price--ws { color: var(--green); }
.qrow.is-in { background: #FCFAF5; box-shadow: inset 3px 0 0 var(--amber); }
.qrow .fams { font-size: .72rem; }

.stepper {
  display: inline-flex; align-items: center; height: 38px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); overflow: hidden;
}
.stepper button { width: 36px; height: 100%; font-size: 1.1rem; font-weight: 700; color: var(--ink-3); }
.stepper button:hover:not([disabled]) { background: var(--cream); }
.stepper button[disabled] { opacity: .3; cursor: not-allowed; }
.stepper input {
  width: 44px; height: 100%; border: 0; text-align: center; font-weight: 800; outline: 0;
  -moz-appearance: textfield; appearance: textfield; background: transparent;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--sm { height: 32px; }
.stepper--sm button { width: 30px; }
.stepper--sm input { width: 34px; font-size: .9rem; }

.qbar {
  position: sticky; bottom: 92px; z-index: 5; margin-top: 16px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 14px 16px 14px 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper); box-shadow: var(--shadow-lg);
}
.qbar__info { flex: 1; min-width: 200px; font-size: .9rem; }
.qbar__info b { color: var(--amber-2); }
.qbar .meter { margin-top: 6px; background: rgba(255, 255, 255, .14); }

@media (max-width: 900px) {
  .qrow { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
  .qrow--head { display: none; }
  .qrow__img { width: 48px; height: 48px; grid-row: 1 / span 2; }
  .qrow__fam, .qrow__stock { display: none; }
  .qrow__prices { grid-column: 2; display: flex; gap: 10px; font-size: .85rem; }
  .qrow__qty { grid-column: 3; grid-row: 1 / span 2; }
  .qrow__price { font-size: .85rem; }
  .qbar { border-radius: 20px; }
}
@media (min-width: 901px) { .qrow__prices { display: contents; } }

/* ---------------------------------------------------------------- meter (progreso mayorista) */
.meter { height: 8px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad-warm); transition: width .5s var(--ease); }
.meter.is-full i { background: linear-gradient(90deg, #2DB37A, var(--teal)); }

/* ---------------------------------------------------------------- mayorista */
.section__head--light h2 { color: var(--paper); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li {
  position: relative; padding: 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
}
.steps__n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--amber); color: var(--amber-2);
  font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 18px;
}
.steps h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin-bottom: 8px; }
.steps p { color: rgba(251, 248, 243, .72); font-size: .95rem; }
.steps b { color: var(--paper); }
.ws-cta {
  margin-top: 24px; padding: 20px 24px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(239, 75, 63, .2), rgba(20, 163, 139, .12));
  border: 1px solid rgba(247, 137, 43, .35);
}
.ws-cta p { color: rgba(251, 248, 243, .82); max-width: 640px; }
.ws-cta b { color: var(--paper); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- envíos */
.envios { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.envios__copy > p:not(.eyebrow) { margin: 1rem 0 1.4rem; color: var(--ink-3); max-width: 480px; }
.ship-form { display: flex; gap: 8px; max-width: 440px; }
.ship-form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 20px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
  font-size: 1.05rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; outline: 0;
}
.ship-form input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(247, 137, 43, .18); }
.ship-form input::placeholder { letter-spacing: 0; text-transform: none; font-weight: 500; }
.ship-form .btn { height: 52px; }
.ship-form--sm input, .ship-form--sm .btn { height: 44px; font-size: .92rem; }
.ship-result { margin-top: 14px; max-width: 480px; }
.ship-zone { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.ship-zone b { color: var(--ink); }
.ship-error { color: var(--red); font-size: .88rem; font-weight: 600; }
.ship-opts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ship-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--white);
  animation: rise .35s var(--ease) both;
}
.ship-opt:nth-child(2) { animation-delay: .05s; }
.ship-opt:nth-child(3) { animation-delay: .1s; }
label.ship-opt { cursor: pointer; }
.ship-opt input { accent-color: var(--ink); width: 18px; height: 18px; flex-shrink: 0; }
.ship-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ship-opt__txt { flex: 1; min-width: 0; }
.ship-opt__txt b { display: block; font-size: .9rem; }
.ship-opt__txt small { color: var(--muted); font-size: .78rem; }
.ship-opt__price { font-weight: 800; white-space: nowrap; }
.ship-opt__price.is-free { color: var(--green); }
.ship-free { margin-top: 10px; font-size: .8rem; color: var(--green); font-weight: 700; }

.envios__zones {
  padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
}
.envios__zones h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 14px; }
.zones { list-style: none; padding: 0; margin: 0; }
.zones li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.zones li:last-child { border-bottom: 0; }
.zones b { font-size: .95rem; }
.zones small { grid-column: 1; color: var(--muted); font-size: .78rem; }
.zones .zones__price { grid-row: 1 / span 2; grid-column: 2; align-self: center; text-align: right; font-weight: 800; }
.zones .zones__price small { display: block; font-weight: 600; }
.zones__note { margin-top: 12px; font-size: .8rem; color: var(--green); font-weight: 700; }
.correo { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.correo summary { cursor: pointer; font-weight: 700; font-size: .9rem; }
.correo__t { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: .82rem; }
.correo__t caption { text-align: left; font-weight: 800; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.correo__t th, .correo__t td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.correo__t th:first-child, .correo__t td:first-child { text-align: left; }
.correo__t th { font-size: .74rem; color: var(--muted); font-weight: 700; }
.correo__note { margin-top: 10px; font-size: .78rem; color: var(--muted); }
@media (max-width: 820px) { .envios { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); }
.faq__aside { margin-top: 1rem; color: var(--ink-3); }
.faq__aside a { font-weight: 700; }
.faq__list details { border-bottom: 1px solid var(--cream-2); }
.faq__list details:first-child { border-top: 1px solid var(--cream-2); }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 700; font-size: 1.02rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 400; line-height: 1;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--white); transition: transform .25s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 48px 20px 0; color: var(--ink-3); }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--ink); color: rgba(251, 248, 243, .78); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: var(--paper); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer__brand p { margin: 16px 0 18px; max-width: 320px; font-size: .92rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .92rem; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: var(--amber-2); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--paper); transition: background .2s, border-color .2s;
}
.socials a:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.pay-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pay-list li { padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line-dark); font-size: .78rem; font-weight: 700; color: var(--paper); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .8rem;
}
.footer__admin { color: rgba(251, 248, 243, .5); text-decoration: none; }
.footer__admin:hover { color: var(--amber-2); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- whatsapp */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa__btn {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: var(--white);
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease);
  position: relative;
}
.wa__btn::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.wa__btn:hover { transform: scale(1.07); }
.wa__btn svg { width: 32px; height: 32px; }
.wa__panel {
  width: min(340px, calc(100vw - 40px));
  background: var(--white); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform-origin: bottom right; animation: pop .3s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(10px); } }
.wa__head { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 16px; background: #075E54; color: var(--white); }
.wa__head div { flex: 1; line-height: 1.25; }
.wa__head b { display: block; font-size: .92rem; }
.wa__head small { font-size: .74rem; opacity: .8; }
.wa__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; flex-shrink: 0; }
.wa__avatar svg { width: 30px; height: 30px; }
.wa__close { color: var(--white); font-size: 1.5rem; width: 32px; height: 32px; border-radius: 50%; }
.wa__close:hover { background: rgba(255, 255, 255, .15); }
.wa__body { padding: 16px; background: #EFE7DD; }
.wa__bubble {
  display: inline-block; padding: 10px 14px; border-radius: 4px 14px 14px 14px;
  background: var(--white); font-size: .9rem; box-shadow: var(--shadow-sm); margin-bottom: 12px;
}
.wa__options { display: grid; gap: 8px; }
.wa__options a, .wa__options button {
  display: block; text-align: left; text-decoration: none;
  padding: 10px 14px; border-radius: 12px; background: var(--white);
  font-size: .88rem; font-weight: 700; color: #075E54; border: 1px solid rgba(7, 94, 84, .15);
  transition: background .2s;
}
.wa__options a:hover, .wa__options button:hover { background: #DCF8C6; }

/* ---------------------------------------------------------------- scrim, drawer, modal */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(21, 17, 14, .5); backdrop-filter: blur(2px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
  width: min(440px, 100%); background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease);
  box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.5rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; background: var(--white); }
.drawer__foot:empty { display: none; }

.ws-box { padding: 14px; border-radius: 14px; background: var(--cream); margin-bottom: 14px; }
.ws-box p { font-size: .86rem; margin-bottom: 8px; }
.ws-box b { font-weight: 800; }
.ws-box.is-on { background: var(--green-soft); color: var(--green); }

.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line__img { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; padding: 4px; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--tint) 30%, transparent), var(--cream)); }
.line__img .bottle { width: 100%; height: 100%; object-fit: contain; }
.line__name { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.line__meta { font-size: .76rem; color: var(--muted); margin: 2px 0 8px; }
.line__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line__price { font-weight: 800; }
.line__old { font-size: .74rem; color: var(--muted); text-decoration: line-through; }
.line__rm { font-size: .74rem; color: var(--muted); text-decoration: underline; }
.line__rm:hover { color: var(--red); }

.cart-ship { margin-top: 16px; }
.cart-ship h3 { font-size: .9rem; margin-bottom: 8px; }
.cart-empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.cart-empty svg { width: 120px; margin: 0 auto 10px; opacity: .9; }
.cart-empty b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.cart-empty .btn { margin-top: 16px; }

.totals { display: grid; gap: 6px; font-size: .9rem; margin-bottom: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .is-save { color: var(--green); font-weight: 700; }
.totals .is-total { font-size: 1.15rem; font-weight: 800; padding-top: 8px; border-top: 1px dashed var(--line); margin-top: 4px; }
.totals .is-transfer { font-size: .8rem; color: var(--muted); }
.totals .is-transfer b { color: var(--ink); }
.foot-actions { display: grid; gap: 8px; }

.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__box {
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--paper); border-radius: 24px; box-shadow: var(--shadow-lg);
  animation: pop .3s var(--ease);
}
.modal__box--sm { width: min(560px, 100%); }
.modal__box--md { width: min(720px, 100%); }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--white); box-shadow: var(--shadow-sm); }

/* producto */
.pm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.pm__media {
  position: relative; display: grid; place-items: center; padding: 48px;
  background:
    radial-gradient(60% 55% at 50% 60%, color-mix(in srgb, var(--tint) 35%, transparent), transparent 70%),
    linear-gradient(180deg, var(--paper), var(--cream-2));
  border-radius: 24px 0 0 24px; min-height: 420px;
}
.pm__media .bottle { width: 76%; max-width: 320px; height: auto; filter: drop-shadow(0 24px 30px rgba(21, 17, 14, .18)); }
.pm__media .bottle--img { width: 100%; max-height: 420px; object-fit: contain; }
.pm__info { padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.pm__info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.pm__desc { color: var(--ink-3); }
.pyramid { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.pyramid div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; font-size: .86rem; }
.pyramid dt { font-weight: 800; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.pyramid dd { margin: 0; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tier { padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); }
.tier small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tier b { display: block; font-size: 1.4rem; font-weight: 800; margin: 2px 0; }
.tier span { font-size: .78rem; color: var(--muted); }
.tier--ws { background: var(--green-soft); border-color: #BFD8CC; }
.tier--ws small, .tier--ws span { color: var(--green); }
.tier--ws b { color: var(--green); }
.tier.is-on { box-shadow: inset 0 0 0 1.5px var(--green); border-color: var(--green); }
.pm__pay { font-size: .84rem; color: var(--muted); }
.pm__pay b { color: var(--ink); }
.pm__stock { font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.pm__stock i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); }
.pm__stock.is-low i { background: var(--amber); }
.pm__stock.is-out { color: var(--red); }
.pm__stock.is-out i { background: var(--red); }
.pm__buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pm__links { display: flex; gap: 10px; flex-wrap: wrap; }
.pm__links .btn--wa { flex: 999 1 220px; }
.pm__links .btn--line { flex: 1 0 auto; } /* al lado de WhatsApp queda chico; si baja de línea, ocupa todo el ancho */
.pm__buy .btn--dark { flex: 1; }
.pm__ship { border-top: 1px solid var(--line); padding-top: 14px; }
.pm__ship h3 { font-size: .86rem; margin-bottom: 8px; }
.kit-list { display: grid; gap: 6px; }
.kit-list button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 6px 8px; border-radius: 10px; font-size: .88rem; font-weight: 600; }
.kit-list button:hover { background: var(--white); }
.kit-list .kit-list__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
@media (max-width: 760px) {
  .pm { grid-template-columns: minmax(0, 1fr); }
  .pm__media { border-radius: 24px 24px 0 0; min-height: 280px; padding: 28px; }
  .pm__media .bottle { width: 52%; }
  .pm__info { padding: 22px 20px 24px; }
  .tiers { grid-template-columns: 1fr; }
}

/* quiz */
.quiz { padding: 36px clamp(20px, 4vw, 44px) 32px; min-height: 480px; display: flex; flex-direction: column; }
.quiz__top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; padding-right: 40px; }
.quiz__progress { flex: 1; height: 6px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
.quiz__progress i { display: block; height: 100%; background: var(--ink); border-radius: inherit; transition: width .4s var(--ease); }
.quiz__count { font-size: .78rem; font-weight: 800; color: var(--muted); white-space: nowrap; }
.quiz h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 6px; }
.quiz__hint { color: var(--muted); margin-bottom: 22px; font-size: .92rem; }
.quiz__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; animation: rise .35s var(--ease); }
.qopt {
  position: relative; text-align: left; padding: 18px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--white);
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.qopt:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.qopt b { font-size: 1rem; }
.qopt span { font-size: .82rem; color: var(--muted); }
.qopt__sw { width: 30px; height: 30px; border-radius: 50%; margin-bottom: 8px; background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--c) 50%, white), var(--c)); }
.qopt.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #FFFDF8; }
.qopt.is-on::after {
  content: '✓'; position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-size: .8rem; display: grid; place-items: center;
}
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 26px; }
.quiz__back { font-weight: 700; color: var(--muted); padding: 10px 4px; }
.quiz__back:hover { color: var(--ink); }
.quiz__back[hidden] { display: inline-block; visibility: hidden; }

.qres { display: grid; gap: 12px; margin-top: 8px; }
.qres__item {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center;
  padding: 12px 16px 12px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--white);
  animation: rise .45s var(--ease) both;
}
.qres__item:nth-child(2) { animation-delay: .08s; }
.qres__item:nth-child(3) { animation-delay: .16s; }
.qres__item:first-child { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(201, 163, 94, .25); }
.qres__img { width: 84px; height: 84px; border-radius: 12px; display: grid; place-items: center; padding: 6px; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--tint) 32%, transparent), var(--cream)); }
.qres__img .bottle { width: 100%; height: 100%; object-fit: contain; }
.qres__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.qres__why { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.qres__match { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.qres__match i { width: 46px; height: 5px; border-radius: 999px; background: var(--green-soft); overflow: hidden; }
.qres__match i::before { content: ''; display: block; height: 100%; width: var(--m); background: var(--green); }
.qres__act { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.qres__act .btn { min-height: 38px; padding: .45rem .9rem; font-size: .84rem; }
.qres__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 560px) {
  .qres__item { grid-template-columns: 64px 1fr; }
  .qres__img { width: 64px; height: 64px; }
  .qres__act { grid-column: 1 / -1; flex-direction: row; }
  .qres__act .btn { flex: 1; }
}

/* checkout */
.co { padding: 32px clamp(20px, 4vw, 36px); }
.co h2 { font-size: 1.9rem; margin-bottom: 4px; }
.co__sub { color: var(--muted); margin-bottom: 20px; font-size: .92rem; }
.co__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: .78rem; font-weight: 800; color: var(--ink-3); }
.field input, .field textarea, .field select {
  height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); outline: 0;
}
.field textarea { height: 76px; padding: 10px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.co__section { margin-top: 20px; }
.co__section > h3 { font-size: .9rem; margin-bottom: 10px; }
.paym { display: grid; gap: 8px; }
.paym label {
  display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center;
  padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer;
}
.paym label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.paym input { accent-color: var(--ink); width: 18px; height: 18px; }
.paym b { display: block; font-size: .95rem; }
.paym small { color: var(--muted); font-size: .78rem; }
.paym__amt { font-weight: 800; white-space: nowrap; }
.paym__amt.is-save { color: var(--green); }
.co__summary { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--cream); font-size: .88rem; }
.co__summary .totals { margin: 0; }
.co__actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.co__actions .btn { flex: 1; }
.co__hint { margin-top: 10px; font-size: .82rem; color: var(--muted); }
.co__note { margin-top: 12px; font-size: .76rem; color: var(--muted); text-align: center; }
.co__err { color: var(--red); font-size: .85rem; font-weight: 600; margin-top: 10px; }
@media (max-width: 560px) { .co__grid { grid-template-columns: 1fr; } }

.mp-sim { text-align: center; padding: 40px 28px; }
.mp-sim__logo {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  background: #009EE3; color: var(--white); font-weight: 800; letter-spacing: .01em; margin-bottom: 18px;
}
.mp-sim__tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #FFF4E0; color: var(--amber-ink); margin-bottom: 14px; }
.mp-sim h2 { font-size: 1.7rem; margin-bottom: 6px; }
.mp-sim p { color: var(--muted); max-width: 420px; margin: 0 auto; font-size: .92rem; }
.mp-sim .mp-sim__amount { font-size: 2.2rem; font-weight: 800; margin: 18px auto 4px; color: var(--ink); }
.mp-sim__methods { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.mp-sim__methods span { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); font-size: .8rem; font-weight: 700; background: var(--white); }
.mp-sim .btn { min-width: 240px; }
.spinner { width: 42px; height: 42px; margin: 10px auto 18px; border-radius: 50%; border: 3px solid var(--cream-2); border-top-color: #009EE3; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.done { text-align: center; padding: 44px 28px 36px; }
.done__icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 2rem; animation: pop .4s var(--ease); }
.done h2 { font-size: 1.9rem; margin-bottom: 8px; }
.done p { color: var(--ink-3); max-width: 440px; margin: 0 auto; }
.done__id { display: inline-block; margin: 16px 0; padding: 6px 14px; border-radius: 999px; background: var(--cream); font-weight: 800; font-size: .9rem; letter-spacing: .04em; }
.done__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------------------------------------------------------------- toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100;
  transform: translate(-50%, 120%); opacity: 0;
  background: var(--ink); color: var(--paper);
  padding: 12px 14px 12px 18px; border-radius: 999px; box-shadow: var(--shadow-lg);
  font-size: .9rem; font-weight: 600; display: flex; align-items: center; gap: 12px;
  transition: transform .35s var(--ease), opacity .35s; max-width: calc(100vw - 32px);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast button { color: var(--amber-2); font-weight: 800; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.toast button:hover { background: rgba(255, 255, 255, .1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- ajustes celular */
@media (max-width: 560px) {
  .filters__selects { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .filters__selects .select { min-width: 0; padding-left: 12px; }
  .filters__selects .select:last-child { grid-column: 1 / -1; }
  .select select { min-width: 0; width: 100%; }
  .view-toggle { width: 100%; }
  .view-toggle button { flex: 1; justify-content: center; padding: 8px 10px; }
  .qbar { gap: 10px; padding: 12px 16px; font-size: .82rem; bottom: 80px; }
  .qbar__info { min-width: 0; font-size: .82rem; }
  .qbar .btn { min-height: 38px; padding: .4rem .9rem; font-size: .82rem; }
  .wa { right: 14px; bottom: 14px; }
  .wa__btn { width: 54px; height: 54px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card__media { padding: 14px 16px 8px; }
  .card__body { padding: 10px 10px 12px; gap: 4px; }
  .card__brand { font-size: .62rem; letter-spacing: .06em; }
  .card__name { font-size: 1rem; }
  .card .fams { font-size: .66rem; gap: 2px 6px; }
  .price { font-size: 1.05rem; }
  .price-ws { flex-direction: column; align-items: flex-start; gap: 0; padding: 6px 8px; font-size: .68rem; }
  .price-ws b { font-size: .9rem; }
  .card__meta { font-size: .66rem; }
  .card__actions { margin-top: 6px; }
  .card__actions .btn { min-height: 38px; padding: .4rem .6rem; font-size: .78rem; white-space: normal; line-height: 1.15; }
  .badges { top: 8px; left: 8px; right: 8px; }
  .badge { font-size: .58rem; padding: 3px 6px; }
  .badge--save { display: none; }
}
.toast { border-radius: 16px; width: max-content; }
@media (max-width: 560px) {
  .toast { width: calc(100vw - 32px); bottom: 16px; font-size: .84rem; justify-content: space-between; }
}

/* ---------------------------------------------------------------- descuentos por volumen */
.discounts { margin-top: 24px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.discounts[hidden] { display: none; }
.discounts__head { margin-bottom: 20px; }
.discounts__head h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--paper); }
.discounts__head > p:not(.eyebrow) { color: rgba(251, 249, 246, .7); margin-top: 6px; }
.discounts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.disc-card { position: relative; padding: 22px; border-radius: 16px; background: var(--paper); color: var(--ink); overflow: hidden; }
.disc-card[hidden] { display: none; }
.disc-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.disc-card--cash::before { background: var(--grad-warm); }
.disc-card--transfer::before { background: linear-gradient(90deg, #2DB37A, var(--teal)); }
.disc-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.disc-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: var(--white); flex-shrink: 0; }
.disc-card--cash .disc-card__icon { background: var(--grad-warm); color: var(--ink); }
.disc-card--transfer .disc-card__icon { background: linear-gradient(135deg, #2DB37A, var(--teal)); }
.disc-card h4 { font-size: 1.1rem; font-weight: 800; }
.disc-card__top p { font-size: .82rem; color: var(--muted); }
.disc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.disc-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.disc-list b { font-size: 1.25rem; font-weight: 800; }
.disc-card--cash .disc-list b { color: var(--amber-ink); }
.disc-card--transfer .disc-list b { color: var(--green); }
.disc-list li:last-child { border-color: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.disc-card--cash .disc-list li:last-child { color: var(--amber-ink); background: #FBF3E3; }
.disc-card--transfer .disc-list li:last-child { color: var(--green); background: var(--green-soft); }
.disc-list li:last-child span { color: var(--ink); }
@media (max-width: 760px) { .discounts__grid { grid-template-columns: 1fr; } }

/* carrito, envíos y checkout */
.vol-box small { display: block; margin-top: 8px; font-size: .74rem; opacity: .8; }
.vol-box:not(.is-on) { background: #FFF4EC; }
.ship-other { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.ship-other a { color: var(--ink); font-weight: 700; }
.ship-pay { margin-top: 10px; font-size: .8rem; font-weight: 700; color: var(--green); }
.zone-pay { font-style: normal; font-weight: 700; color: var(--green); margin-left: 4px; white-space: nowrap; }
.zone-pay::before { content: '· '; color: var(--muted); }
.zone-pay--cash { color: var(--amber-ink); }
.paym label.is-disabled { opacity: .5; cursor: not-allowed; background: var(--cream); }
.paym label.is-disabled input { cursor: not-allowed; }
@media (max-width: 560px) {
  .discounts { padding: 16px 12px; }
  .disc-card { padding: 16px 14px; }
  .disc-list li { padding: 10px 12px; font-size: .88rem; }
  .disc-list li span, .disc-list b { white-space: nowrap; }
  .disc-list b { font-size: 1.08rem; }
}

/* ---------------------------------------------------------------- pulido celular */
@media (max-width: 560px) {
  /* iOS hace zoom al enfocar campos con letra < 16px */
  input, select, textarea, .search input, .select select, .stepper input, .ship-form--sm input { font-size: 16px; }
  .select { height: 44px; }

  /* textos de tarjeta legibles */
  .card__brand { font-size: .68rem; }
  .card .fams { font-size: .72rem; }
  .card__meta { font-size: .72rem; }
  .price-ws { font-size: .72rem; }
  .badge { font-size: .64rem; padding: 3px 7px; }

  /* familias en carrusel horizontal */
  .families {
    display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none;
  }
  .families::-webkit-scrollbar { display: none; }
  .family { flex: 0 0 150px; min-height: 112px; scroll-snap-align: start; padding: 14px; }
  .family b { font-size: 1.08rem; }
  .family::after { width: 84px; height: 84px; right: -26px; bottom: -26px; }
  .section__aside { font-size: .9rem; }

  /* pasos de compra mayorista compactos */
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px; }
  .steps__n { width: 38px; height: 38px; font-size: 1.1rem; margin: 0; grid-row: span 2; }
  .steps h3 { font-size: 1.2rem; align-self: center; }

  /* que el botón flotante de WhatsApp no tape el final de la página */
  .footer { padding-bottom: 96px; }
}

/* ---------------------------------------------------------------- fotos reales de producto */
/* Las fotos (verticales, con fondo) llenan el espacio; los productos sin foto siguen con la ilustración. */
.card__media { aspect-ratio: 4 / 5; overflow: hidden; }
.card__media:has(.bottle--img) { padding: 0; background: var(--cream); }
.card__media .bottle--img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__media .bottle--img { transform: scale(1.05); }
.card__media:has(.bottle--img) .badges { z-index: 1; }

.pm__media:has(.bottle--img) { padding: 0; overflow: hidden; }
.pm__media .bottle--img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; }

.qrow__img:has(.bottle--img), .line__img:has(.bottle--img), .qres__img:has(.bottle--img), .t-thumb:has(.bottle--img) { padding: 0; overflow: hidden; }
.qrow__img .bottle--img, .line__img .bottle--img, .qres__img .bottle--img, .t-thumb .bottle--img { width: 100%; height: 100%; object-fit: cover; }
.kit-list .kit-list__dot { flex-shrink: 0; }

@media (max-width: 760px) {
  .pm__media:has(.bottle--img) { min-height: 360px; }
}
@media (max-width: 560px) {
  .card__media:has(.bottle--img) { padding: 0; }
}
/* ficha: foto completa sobre un fondo desenfocado de la misma foto */
.pm__media:has(.bottle--img) { background: var(--ink); isolation: isolate; }
.pm__media:has(.bottle--img)::before {
  content: ''; position: absolute; inset: -40px; z-index: -1;
  background: var(--photo) center / cover no-repeat;
  filter: blur(28px) saturate(1.15); opacity: .7;
}
.pm__media .bottle--img { object-fit: contain; }
.qfloat__tip { cursor: pointer; }

/* ---------------------------------------------------------------- ofertas (precio tachado + precio con rebaja) */
.badge--sale { background: #E3342F; border-color: #E3342F; color: var(--white); }
.price-old { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); line-height: 1; }
.price-old s { text-decoration-thickness: 1.5px; text-decoration-color: rgba(21, 17, 14, .55); }
.price-old em { font-style: normal; font-weight: 800; font-size: .72rem; color: var(--white); background: #E3342F; padding: 3px 6px; border-radius: 6px; }
.price--sale { color: #D42A25; }
.qrow__price--sale { color: #D42A25; }
.qrow__price--sale s { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); }
.tier--sale .price-old { margin: 4px 0 2px; }
.tier--sale b { color: #D42A25; }
.pm__sale { margin-top: 8px; }
.chip--sale { border-color: rgba(227, 52, 47, .45); color: #D42A25; }
.chip--sale.is-active { background: #E3342F; border-color: #E3342F; color: var(--white); }
.nav__row .nav__sale { color: #D42A25; font-weight: 800; }
.nav__row .nav__sale:hover { background: #FDECEB; }
@media (max-width: 560px) {
  .price-old { font-size: .74rem; gap: 4px; }
  .price-old em { font-size: .64rem; padding: 2px 5px; }
}

/* ---------------------------------------------------------------- colecciones (banners con foto y precio "desde") */
.section--promos { padding: clamp(40px, 6vw, 72px) 0 clamp(8px, 2vw, 24px); }
.promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.promo {
  position: relative; display: block; width: 100%; overflow: hidden; isolation: isolate;
  aspect-ratio: 1 / 1; border-radius: var(--radius); background: var(--cream);
  container-type: inline-size; color: var(--ink); text-align: center;
}
.promo__img, .promo__art {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; transition: transform .9s var(--ease);
}
.promo__art {
  display: grid; place-items: end center; padding: 34% 24% 6%;
  background: radial-gradient(circle at 50% 75%, color-mix(in srgb, var(--tint) 34%, #fff), var(--cream) 70%);
}
.promo__art .bottle { width: auto; height: 100%; }
/* collage automático: fotos de producto en abanico, como en el inicio */
.promo__collage {
  position: absolute; inset: 0; z-index: -2; transition: transform .9s var(--ease);
  background: radial-gradient(120% 80% at 50% 100%, #FCE3CF 0%, var(--cream) 60%);
}
.promo__collage img {
  position: absolute; bottom: 10%; height: 40%; width: auto; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 10px; border: 3px solid var(--white); box-shadow: 0 14px 30px rgba(21, 17, 14, .22);
}
.promo__collage img:nth-child(1) { left: 50%; translate: -50% 0; bottom: 8%; height: 46%; z-index: 2; }
.promo__collage img:nth-child(2) { left: 12%; rotate: -9deg; }
.promo__collage img:nth-child(3) { right: 12%; rotate: 9deg; }
.promo__collage--2 img:nth-child(1) { left: 24%; translate: none; rotate: -6deg; z-index: 1; }
.promo__collage--2 img:nth-child(2) { left: auto; right: 24%; rotate: 6deg; z-index: 2; }
.promo:hover .promo__collage { transform: scale(1.04); }
.promo:hover .promo__img, .promo:hover .promo__art { transform: scale(1.06); }
.promo:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.promo__txt {
  position: absolute; inset: 0 0 auto; display: flex; flex-direction: column; align-items: center;
  padding: 5cqi 6cqi 0;
  /* sin difuminado sobre la foto: un halo claro alrededor de las letras las hace legibles */
  text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 4px #fff, 0 0 8px rgba(255, 255, 255, .95), 0 0 18px rgba(255, 255, 255, .8);
}
.promo__title { font-size: 1rem; font-size: 5.2cqi; line-height: 1.05; font-weight: 500; letter-spacing: -.01em; }
.promo__title b { font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.promo__deal { display: flex; flex-direction: column; align-items: flex-start; margin-top: 1cqi; }
.promo__from {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: .9rem; font-size: 4.6cqi; line-height: 1; margin-left: 2.5cqi;
}
.promo__price {
  font-weight: 800; font-size: 2.8rem; font-size: 14cqi; line-height: .98; letter-spacing: -.045em;
  color: #E3342F; text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 10px rgba(255, 255, 255, .9), 0 6px 24px rgba(255, 255, 255, .75);
}
.promo__note {
  margin-top: 1.4cqi; font-size: max(10.5px, 3.5cqi); font-weight: 700; color: var(--ink-3); white-space: nowrap;
  background: rgba(255, 255, 255, .72); padding: .25em .7em; border-radius: 999px;
}
.promo__cta {
  position: absolute; left: 5cqi; bottom: 5cqi; display: inline-flex; align-items: center; gap: .5em;
  padding: .55em 1.05em; border-radius: 999px; background: rgba(21, 17, 14, .84); color: var(--white);
  font-size: max(11.5px, 3.6cqi); font-weight: 700; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.promo__cta i { font-style: normal; transition: transform .3s var(--ease); }
.promo:hover .promo__cta i { transform: translateX(4px); }
@media (max-width: 760px) {
  .promos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .promo { aspect-ratio: 4 / 5; border-radius: 14px; }
  .promo__txt { padding-top: 6cqi; }
  .promo__title { font-size: max(11px, 6cqi); }
  .promo__from { font-size: max(10px, 5cqi); }
  .promo__price { font-size: 15.5cqi; }
  .promo__note { font-size: max(9.5px, 3.6cqi); }
}
@media (prefers-reduced-motion: reduce) {
  .promo__img, .promo__art, .promo__cta i { transition: none; }
}

/* ---------------------------------------------------------------- precio por mayor como protagonista (rojo) */
.price-main { display: flex; flex-direction: column; gap: 1px; line-height: 1.1; }
.price-main small { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price-main b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: #E3342F; }
.price-main.is-on small { color: var(--green); }
.price-main .price-old { margin: 3px 0 1px; }
.price-unit {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
  padding: 7px 10px; border-radius: 10px; background: var(--cream);
  font-size: .78rem; font-weight: 700; color: var(--ink-3); line-height: 1.15;
}
.price-unit > span:first-child { display: flex; flex-direction: column; }
.price-unit small { font-size: .68rem; font-weight: 700; color: #D42A25; }
.price-unit__val { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.price-unit b { font-size: .98rem; color: var(--ink); }
.price-unit .price-old { font-size: .74rem; }
.qrow__price--ws { color: #E3342F; font-weight: 800; }
.tier--ws b { color: #E3342F; }
@media (max-width: 560px) {
  .price-main small { font-size: .6rem; letter-spacing: .03em; }
  .price-main b { font-size: 1.28rem; }
  .price-unit { flex-direction: column; align-items: flex-start; gap: 2px; padding: 6px 8px; font-size: .7rem; }
  .price-unit__val { align-items: flex-start; }
  .price-unit b { font-size: .9rem; }
}

/* ---------------------------------------------------------------- varias fotos y video */
/* tarjeta: las fotos se apilan y cambian con el mouse (o deslizando) */
.card__media--gal { touch-action: pan-y; }
.card__media--gal .bottle--img { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease, transform .45s var(--ease); }
.card__media--gal .bottle--img.is-on { opacity: 1; }
.gal-bars { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; display: flex; gap: 4px; opacity: .9; }
.gal-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 .5px rgba(21, 17, 14, .15); transition: background .2s; }
.gal-bars i.is-on { background: var(--white); }
.badge--video { background: rgba(21, 17, 14, .82); border-color: transparent; color: var(--white); }

/* ficha: foto o video grande + miniaturas */
.pm__media:has(.pm__video) { padding: 0; overflow: hidden; background: var(--ink); isolation: isolate; }
.pm__media:has(.pm__video)::before {
  content: ''; position: absolute; inset: -40px; z-index: -1;
  background: var(--photo) center / cover no-repeat; filter: blur(28px) saturate(1.15); opacity: .55;
}
.pm__video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: transparent; }
.pm__media--gal { touch-action: pan-y; }
.pm__media--gal .bottle--img, .pm__media--gal .pm__video { top: 0; bottom: auto; height: calc(100% - 76px); }
.pm__nav {
  position: absolute; top: calc(50% - 38px); translate: 0 -50%; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .88); color: var(--ink); font-size: 1.6rem; line-height: 1;
  box-shadow: var(--shadow-sm); transition: background .2s, transform .2s var(--ease);
}
.pm__nav:hover { background: var(--white); transform: scale(1.06); }
.pm__nav--prev { left: 12px; }
.pm__nav--next { right: 12px; }
.pm__thumbs {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2;
  display: flex; justify-content: center; gap: 8px; padding: 0 12px; overflow-x: auto; scrollbar-width: none;
}
.pm__thumbs::-webkit-scrollbar { display: none; }
.pm__thumb {
  position: relative; flex: 0 0 52px; height: 52px; border-radius: 10px;
  background: var(--cream) center / cover no-repeat; border: 2px solid rgba(255, 255, 255, .45);
  opacity: .72; transition: opacity .2s, border-color .2s;
}
.pm__thumb:hover { opacity: 1; }
.pm__thumb.is-on { opacity: 1; border-color: var(--amber); }
.pm__thumb--video span {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 8px;
  background: rgba(21, 17, 14, .45); color: var(--white); font-size: .95rem;
}
@media (max-width: 760px) {
  .pm__media:has(.pm__video) { min-height: 360px; }
  .pm__media.pm__media--gal { min-height: 460px; }
  .pm__nav { width: 36px; height: 36px; font-size: 1.4rem; }
  .pm__thumb { flex-basis: 46px; height: 46px; }
}
/* en escritorio la foto queda fija mientras se lee la ficha (y las miniaturas siempre a la vista) */
@media (min-width: 761px) {
  .pm__media { position: sticky; top: 0; align-self: start; height: min(calc(100vh - 32px), 720px); min-height: 420px; }
}

/* ---------------------------------------------------------------- resultado de Mercado Pago */
.done--failure .done__icon, .done--error .done__icon { background: var(--red-soft); color: var(--red); font-weight: 800; }
.done--pending .done__icon { background: #FFF1E3; color: var(--amber-ink); }
