/* Dirección: editorial cálido. Fondo crema, tinta berenjena, y el color de cada familia olfativa como acento. */
:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --bg: #f7f0e6;
  --paper: #fffaf2;
  --ink: #2a1426;
  --muted: #6f5a68;
  --line: #e4d6c6;
  --accent: #ff4f9a;
  --hot: #e5372b;
  --ok: #2f9e6b;
  --r-md: 14px;
  --r-lg: 26px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-body); }
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1; margin: 0; letter-spacing: -0.02em; }
h1 i, h2 i { font-style: italic; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Encabezado */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 16px clamp(16px, 4vw, 52px); background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.logo { font: 600 26px var(--font-display); text-decoration: none; letter-spacing: -0.03em; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo i { color: var(--accent); margin-left: 4px; }
.logo-mark { height: 48px; width: auto; transition: transform 0.5s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.06); }
.logo small { font: 500 10px var(--font-body); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; }
.nav a:hover { background: var(--line); }
.nav a.on { background: var(--ink); color: var(--bg); }
.cart-btn { border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: 8px 14px; border-radius: 999px; }
.cart-btn b { background: var(--accent); color: #fff; border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.aviso { text-align: center; font-size: 12px; padding: 6px; background: var(--ink); color: var(--bg); }

main { min-height: 70vh; outline: none; }
.wrap { padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 52px); max-width: 1320px; margin: 0 auto; }
.eyebrow { font: 700 12px var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* Portada */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; min-height: 72vh; }
.hero h1 { font-size: clamp(56px, 8.5vw, 128px); margin: 14px 0 22px; }
.hero h1 i { color: var(--accent); }
.hero p { font-size: 19px; max-width: 42ch; color: var(--muted); margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; height: min(70vh, 600px); }
.hero-art > div { position: absolute; z-index: 1; }
.hero-art .b1 { width: 38%; left: 8%; bottom: 6%; transform: rotate(-6deg); }
.hero-art .b2 { width: 30%; left: 44%; bottom: 18%; transform: rotate(5deg); z-index: 2; }
.hero-art .b3 { width: 24%; right: 2%; bottom: 2%; transform: rotate(-3deg); }
.hero-art::before {
  content: ""; position: absolute; inset: 6% 0 0 6%; border-radius: 50% 50% 46% 54% / 55% 45% 55% 45%;
  background: conic-gradient(from 200deg, #ffc21a, #ff4f9a, #e8741c, #17b3d6, #36b37e, #ffc21a);
  filter: blur(46px) saturate(1.2); opacity: 0.55; animation: respira 9s ease-in-out infinite alternate;
}
@keyframes respira { to { transform: rotate(25deg) scale(1.06); } }

/* Frasco dibujado en CSS (en la tienda real va la foto) */
.bottle { aspect-ratio: 3 / 4.4; position: relative; filter: drop-shadow(0 26px 30px rgb(42 20 38 / 0.28)); }
.bottle .cap {
  position: absolute; left: 32%; right: 32%; top: 0; height: 22%; border-radius: 8px 8px 3px 3px;
  background: linear-gradient(90deg, #2a1426, #5b3a52 40%, #2a1426);
}
.bottle .neck { position: absolute; left: 40%; right: 40%; top: 21%; height: 6%; background: #d9c8b4; }
.bottle .glass {
  position: absolute; inset: 26% 0 0 0; border-radius: 18px;
  background: linear-gradient(115deg, rgb(255 255 255 / 0.65), rgb(255 255 255 / 0.12) 40%, rgb(255 255 255 / 0.35));
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.7);
  overflow: hidden;
}
.bottle .liquid {
  position: absolute; left: 0; right: 0; bottom: 0; height: 78%;
  background: linear-gradient(180deg, color-mix(in oklab, var(--fam) 70%, #fff), var(--fam) 60%, color-mix(in oklab, var(--fam) 75%, #000));
  opacity: 0.88;
}
.bottle .label {
  position: absolute; left: 16%; right: 16%; top: 42%; padding: 6px 4px; text-align: center;
  background: var(--paper); font: italic 400 clamp(9px, 1vw, 13px) var(--font-display); border-radius: 3px; color: var(--ink);
}

/* Espectro de familias */
.spectrum { display: grid; grid-template-columns: repeat(8, 1fr); min-height: 260px; }
.fam-tile {
  position: relative; text-decoration: none; padding: 22px 16px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--fam); color: #fff; overflow: hidden; transition: flex-grow 0.5s var(--ease), transform 0.4s var(--ease);
}
.fam-tile.light { color: var(--ink); }
.fam-tile b { font: 400 clamp(20px, 2vw, 28px) var(--font-display); }
.fam-tile span { font-size: 13px; line-height: 1.4; max-height: 0; overflow: hidden; opacity: 0; transition: all 0.35s var(--ease); }
.fam-tile:hover { transform: translateY(-10px); }
.fam-tile:hover span { max-height: 90px; opacity: 1; margin-top: 6px; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); background: var(--paper); }
.trust div { padding: 24px clamp(16px, 3vw, 34px); border-right: 1px solid var(--line); }
.trust div:last-child { border-right: 0; }
.trust b { display: block; font: 600 20px var(--font-display); }
.trust span { color: var(--muted); font-size: 14px; }

.sec-title { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 30px; }
.sec-title h2 { font-size: clamp(36px, 4.6vw, 64px); }

/* Tarjetas: asimétricas, el color de la familia manda */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card {
  text-decoration: none; display: grid; gap: 10px; padding: 16px 16px 20px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.card:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 28px 50px -30px var(--fam); }
.card .stage {
  display: grid; place-items: center; padding: 24px 0 14px; border-radius: 18px;
  background: radial-gradient(circle at 50% 70%, color-mix(in oklab, var(--fam) 40%, transparent), transparent 70%),
    color-mix(in oklab, var(--fam) 10%, var(--paper));
}
.card .bottle { width: 92px; }
.card h3 { font-size: 26px; }
.card .casa { font-size: 13px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); }
.pill .d { width: 9px; height: 9px; border-radius: 50%; background: var(--fam); }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.price { font: 600 22px var(--font-display); }
.price small { display: block; font: 500 13px var(--font-body); color: var(--muted); }

/* Catálogo */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: 96px; display: grid; gap: 22px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 7px; }
.filters legend { font: 700 12px var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.filters label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.filters input[type="checkbox"] { accent-color: var(--ink); width: 18px; height: 18px; }
.filters input[type="range"] { accent-color: var(--accent); width: 100%; }
.filters .sw-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--fam); }
.count { color: var(--muted); margin: 0 0 16px; }
.empty { padding: 40px; border: 1px dashed var(--line); border-radius: var(--r-lg); text-align: center; color: var(--muted); }

/* Ficha */
.pdp { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 76px); align-items: start; }
.pdp-stage {
  position: sticky; top: 96px; min-height: 600px; border-radius: var(--r-lg); display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 75%, color-mix(in oklab, var(--fam) 55%, transparent), transparent 62%),
    color-mix(in oklab, var(--fam) 14%, var(--paper));
}
.pdp-stage .bottle { width: 230px; }
.crumbs { font-size: 14px; color: var(--muted); }
.pdp h1 { font-size: clamp(48px, 6vw, 86px); margin: 10px 0 6px; }
.simple { font: italic 400 22px/1.4 var(--font-display); margin: 18px 0; padding-left: 18px; border-left: 4px solid var(--fam); }
.opt h4 { margin: 24px 0 10px; font: 700 12px var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.size {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 14px; padding: 10px 16px; text-align: left;
}
.size small { display: block; color: var(--muted); font-size: 12px; }
.size[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* Pirámide olfativa */
.pyramid { display: grid; gap: 6px; margin: 8px 0; }
.tier { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 14px; }
.tier .bar {
  padding: 12px 16px; display: flex; gap: 6px; flex-wrap: wrap; color: var(--ink);
  background: color-mix(in oklab, var(--fam) var(--mix), var(--paper));
}
.tier:nth-child(1) .bar { --mix: 22%; clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); padding-inline: 18%; margin-inline: 14%; }
.tier:nth-child(2) .bar { --mix: 42%; clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); padding-inline: 11%; margin-inline: 7%; }
.tier:nth-child(3) .bar { --mix: 64%; color: var(--fam-ink, #fff); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.tier .t b { display: block; font: 600 16px var(--font-display); }
.tier .t small { color: var(--muted); font-size: 12px; }
.note { background: rgb(255 255 255 / 0.65); color: var(--ink); padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; }

.meters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 8px 0; }
.meter small { color: var(--muted); font-size: 13px; }
.meter .dots { display: flex; gap: 5px; margin-top: 4px; }
.meter .dots i { width: 100%; height: 8px; border-radius: 999px; background: var(--line); }
.meter .dots i.on { background: var(--fam); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; margin: 22px 0; }
.facts > div { background: var(--paper); padding: 12px 14px; }
.facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 14px; }
.buy { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { border: 0; padding: 16px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; display: inline-block; transition: transform 0.2s var(--ease); }
.btn:active { transform: scale(0.97); }
.btn-main { background: var(--ink); color: var(--bg); }
.btn-color { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.fine { color: var(--muted); font-size: 13px; }

/* Test de aroma */
.quiz { max-width: 860px; margin: 0 auto; text-align: center; }
.quiz h1 { font-size: clamp(44px, 6vw, 84px); margin: 12px 0 30px; }
.q-step { font: italic 400 28px var(--font-display); margin-bottom: 18px; }
.q-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.q-opt {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 20px; padding: 22px 16px;
  font: 400 21px var(--font-display); transition: all 0.25s var(--ease);
}
.q-opt:hover { border-color: var(--ink); transform: translateY(-3px); }
.q-opt small { display: block; font: 500 13px var(--font-body); color: var(--muted); margin-top: 4px; }
.progress { display: flex; gap: 6px; justify-content: center; margin-bottom: 26px; }
.progress i { width: 40px; height: 5px; border-radius: 9px; background: var(--line); }
.progress i.on { background: var(--accent); }

.prose { max-width: 760px; }
.prose h1 { font-size: clamp(44px, 6vw, 84px); margin-bottom: 22px; }
.prose li { margin-bottom: 10px; }

/* Bolsa */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); z-index: 50; background: var(--paper);
  border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform 0.45s var(--ease), visibility 0.45s; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; box-shadow: -30px 0 60px rgb(42 20 38 / 0.2); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer-head button { background: none; border: 0; font-size: 20px; color: var(--ink); }
#cartList { list-style: none; margin: 0; padding: 12px 20px; flex: 1; overflow: auto; }
#cartList li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
#cartList button { background: none; border: 0; color: var(--hot); }
.drawer-foot { padding: 20px; border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; font-size: 20px; margin: 0; }
.pay-note { color: var(--muted); font-size: 13px; }

.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; background: #25d366; color: #fff; text-decoration: none;
  font-weight: 700; padding: 14px 20px; border-radius: 999px; box-shadow: 0 12px 30px -10px #25d366;
}
.foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 40px clamp(16px, 4vw, 52px) 90px; border-top: 1px solid var(--line); background: var(--paper); }
.foot p { color: var(--muted); font-size: 14px; }

.rise { animation: rise 0.7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Piezas que solo existen en celular: ocultas en escritorio */
.tabbar, .filtros-btn, .sheet-head, .ver-res, .buy-price { display: none; }
.sheet-foot { display: grid; }
.wa { display: inline-flex; align-items: center; gap: 8px; }
.wa svg { width: 22px; height: 22px; }
html { -webkit-tap-highlight-color: transparent; }

/* ================= CELULAR (la mayoría de clientes) ================= */
@media (max-width: 900px) {
  :root { --tabbar: 64px; }
  body { padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); }

  /* Cabecera compacta: logo + bolsa. La navegación baja a la barra inferior. */
  .top { padding: 8px 14px; padding-top: max(8px, env(safe-area-inset-top)); gap: 10px; }
  .nav { display: none; }
  .logo { font-size: 22px; }
  .logo-mark { height: 38px; }
  .cart-btn { margin-left: auto; min-height: 44px; }
  .aviso { font-size: 11px; padding: 4px; }

  /* Barra inferior tipo app */
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: color-mix(in oklab, var(--paper) 92%, transparent); backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  }
  .tabbar a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    text-decoration: none; font-size: 11px; font-weight: 700; color: var(--muted); min-height: 44px;
  }
  .tabbar a.on { color: var(--ink); }
  .tabbar a.on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--accent); }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* WhatsApp: círculo chico sobre la barra, sin tapar botones */
  .wa { right: 14px; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 14px); width: 54px; height: 54px; padding: 0; justify-content: center; }
  .wa span { display: none; }
  .wa svg { width: 28px; height: 28px; }
  body[data-ruta="p"] .wa { display: none; }

  .wrap { padding: 22px 14px; }

  /* Portada */
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 0; padding-bottom: 0; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); margin: 10px 0 14px; }
  .hero p { font-size: 16px; margin-bottom: 18px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-actions .btn { padding: 12px 8px; display: grid; place-items: center; text-align: center; min-height: 52px; font-size: 15px; line-height: 1.2; }
  .hero-art { height: 230px; margin-top: 6px; }
  /* Familias: tira que se desliza con el dedo */
  .spectrum { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 0; }
  .fam-tile { flex: 0 0 38%; min-height: 120px; scroll-snap-align: start; padding: 14px; }
  .fam-tile:hover { transform: none; }
  .fam-tile span { display: none; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div { padding: 14px; border-bottom: 1px solid var(--line); }
  .trust b { font-size: 17px; }
  .trust span { font-size: 13px; }
  .sec-title h2 { font-size: 34px; }
  .crumbs a { display: inline-block; padding: 10px 0; }

  /* Catálogo: 2 por fila + filtros en panel inferior */
  .catalog { grid-template-columns: 1fr; gap: 0; }
  .filtros-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-bottom: 14px;
    border: 1px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 999px; font-weight: 700;
  }
  .filtros-btn::before { content: "☰"; }
  .filters {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60; max-height: 82vh; max-height: 82svh; overflow-y: auto;
    background: var(--paper); border-radius: 22px 22px 0 0; padding: 0 18px calc(18px + env(safe-area-inset-bottom)); gap: 16px;
    transform: translateY(105%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0.4s;
  }
  body.filtros-abiertos .filters { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgb(42 20 38 / 0.55); }
  body.filtros-abiertos { overflow: hidden; }
  .sheet-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--paper); padding: 16px 0 8px; z-index: 1; }
  .sheet-head b { font: 600 24px var(--font-display); }
  .x { width: 44px; height: 44px; border: 0; background: var(--line); color: var(--ink); border-radius: 50%; font-size: 18px; }
  .filters label { min-height: 44px; }
  .filters input[type="range"] { height: 32px; }
  .sheet-foot { grid-template-columns: 1fr 2fr; gap: 10px; position: sticky; bottom: calc(-18px - env(safe-area-inset-bottom)); background: var(--paper); padding: 12px 0; }
  .ver-res { display: block; }

  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 10px 10px 14px; border-radius: 18px; gap: 7px; }
  .card:hover { transform: none; }
  .card .stage { padding: 14px 0 8px; }
  .card .bottle { width: 64px; }
  .card h3 { font-size: 19px; }
  .card .casa { font-size: 12px; }
  .pill { font-size: 11px; padding: 2px 8px; }
  .price { font-size: 18px; }
  .price small { font-size: 11px; }

  /* Test */
  .quiz h1 { font-size: 40px; margin-bottom: 18px; }
  .q-step { font-size: 22px; }
  .q-options { grid-template-columns: 1fr 1fr; gap: 8px; }
  .q-opt { padding: 16px 10px; font-size: 18px; min-height: 64px; }

  /* Ficha: imagen más baja y botón de compra siempre visible */
  .pdp { grid-template-columns: 1fr; gap: 16px; }
  .pdp-stage { position: static; min-height: 0; height: 300px; }
  .pdp-stage .bottle { width: 140px; }
  .pdp h1 { font-size: 42px; }
  .simple { font-size: 18px; }
  .size { min-height: 56px; flex: 1; }
  .tier { grid-template-columns: 1fr; gap: 4px; }
  .tier:nth-child(1) .bar, .tier:nth-child(2) .bar { margin-inline: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .buy {
    position: sticky; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); z-index: 5; margin: 18px -14px 0;
    padding: 10px 14px; background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 8px;
  }
  .buy .btn { padding: 14px 16px; min-height: 48px; text-align: center; }
  .buy .btn-wa { width: 48px; padding: 0; }
  .buy .btn-wa span { display: none; }
  .buy .btn-wa svg { width: 26px; height: 26px; }
  .buy-price { display: inline; }

  .prose h1 { font-size: 44px; }
  .foot { grid-template-columns: 1fr; padding-bottom: 30px; }
  .drawer-head button { width: 44px; height: 44px; }
  #cartList button { min-height: 44px; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Botón de WhatsApp en la ficha */
.btn-wa { background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-wa svg { width: 22px; height: 22px; flex: none; }

/* ===== v0.2: tienda con fotos reales y consulta por WhatsApp ===== */
.card .stage { aspect-ratio: 1; padding: 0; overflow: hidden; }
.card .stage img, .pdp-stage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card .stage img { padding: 10px; }
.pdp-stage img { padding: 6%; max-height: 640px; }
.card .consultar { font: 700 13px var(--font-body); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.card .consultar::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #25d366; }
.card .price { font-size: 18px; }

.colecciones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.col-tile {
  position: relative; overflow: hidden; text-decoration: none; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px);
  min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; color: #fff;
  transition: transform 0.4s var(--ease);
}
.col-tile:hover { transform: translateY(-4px); }
.col-tile h3 { font-size: clamp(30px, 3.6vw, 48px); }
.col-tile p { margin: 0; max-width: 36ch; opacity: 0.92; }
.col-tile.originales { background: radial-gradient(circle at 85% 15%, #e8741c 0, transparent 55%), linear-gradient(135deg, #2a1426, #5b2140); }
.col-tile.propia { background: radial-gradient(circle at 15% 20%, #ffc21a 0, transparent 50%), radial-gradient(circle at 90% 90%, #17b3d6 0, transparent 55%), linear-gradient(135deg, #ff4f9a, #b8406a); }
.col-tile .tag { align-self: flex-start; font: 700 11px var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; background: rgb(255 255 255 / 0.18); padding: 5px 10px; border-radius: 999px; }

.vacio { text-align: center; padding: clamp(36px, 8vw, 80px) 20px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); background: var(--paper); }
.vacio h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 12px; }
.vacio p { color: var(--muted); max-width: 44ch; margin: 0 auto 20px; }
.cargando { height: 260px; border-radius: var(--r-lg); background: linear-gradient(90deg, var(--paper), var(--line), var(--paper)); background-size: 200% 100%; animation: brillo 1.4s linear infinite; }
@keyframes brillo { to { background-position: -200% 0; } }
.chip-col { display: inline-block; font: 700 12px var(--font-body); padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.chip-col.propia { background: var(--accent); color: #fff; }
.btn-wa.grande { padding: 16px 26px; font-size: 16px; }
.top .wa-top { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; }
.top .wa-top svg { width: 20px; height: 20px; }
@media (min-width: 901px) { .nav + .wa-top { margin-left: 8px; } }

@media (max-width: 900px) {
  .colecciones { grid-template-columns: 1fr; gap: 10px; }
  .col-tile { min-height: 150px; padding: 18px; }
  .card .stage img { padding: 6px; }
  .pdp-stage { height: auto; aspect-ratio: 1; }
  .buy { grid-template-columns: 1fr; }
  .buy .btn-wa.grande { width: auto; padding: 14px 16px; }
  .buy .btn-wa.grande span { display: inline; }
  .top .wa-top { padding: 0; width: 44px; justify-content: center; margin-left: auto; }
  .hero-art:empty { display: none; }
  .hero-art { height: 260px; }
  .top .wa-top span { display: none; }
}

.hero-art .foto { position: absolute; z-index: 1; width: 46%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--paper);
  box-shadow: 0 30px 50px -28px rgb(42 20 38 / 0.55); border: 6px solid var(--paper); }
.hero-art .foto img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .foto:nth-child(1) { left: 4%; bottom: 8%; transform: rotate(-7deg); }
.hero-art .foto:nth-child(2) { left: 30%; bottom: 26%; transform: rotate(4deg); z-index: 2; }
.hero-art .foto:nth-child(3) { right: 2%; bottom: 4%; transform: rotate(-2deg); }

/* v0.2.1: sin barra horizontal (el brillo animado se salía) y titular más contenido en escritorio */
html, body { overflow-x: clip; }
.hero { overflow: clip; }
.hero h1 { font-size: clamp(48px, 6.2vw, 100px); }

/* v0.3: líneas de originales y galería en la ficha */
.col-tile h3 a { color: inherit; text-decoration: none; }
.sublineas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.sublineas a { color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; background: rgb(255 255 255 / 0.14); border: 1px solid rgb(255 255 255 / 0.28); transition: background 0.2s; }
.sublineas a:hover { background: rgb(255 255 255 / 0.26); }
.sublineas b { font-size: 12px; background: rgb(255 255 255 / 0.22); border-radius: 999px; padding: 1px 8px; }
.pdp-galeria { position: sticky; top: 96px; display: grid; gap: 10px; }
.pdp-galeria .pdp-stage { position: static; }
.pdp-minis { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.mini { flex: none; width: 72px; height: 72px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); background: var(--paper); cursor: pointer; }
.mini[aria-pressed="true"] { border-color: var(--fam, var(--ink)); box-shadow: 0 0 0 2px var(--fam, var(--ink)); }
.mini img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .pdp-galeria { position: static; } .mini { width: 60px; height: 60px; } }

/* Notas olfativas en la ficha (Salida | Corazón | Fondo) */
.notas { display: grid; gap: 8px; margin: 0 0 18px; }
.notas div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 12px;
  background: color-mix(in oklab, var(--fam) 12%, var(--paper)); }
.notas dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: color-mix(in oklab, var(--fam) 70%, var(--ink)); }
.notas dd { margin: 0; }
