/* Glowlips Makeup — hoja de estilos.
   Concepto: tienda editorial sobre crema. El contorno durazno del logo se
   repite en los títulos script, el arco enmarca la fotografía y el beso
   borgoña es el único acento oscuro. Los botones principales van en
   borgoña para que se vean y contrasten. */

:root {
  --cream: #FFFDE8;
  --cream-2: #FFF6E2;
  --peach: #F8D5B8;
  --peach-soft: #FFEBD8;
  --blush: #F9C9B5;
  --coral: #F06F6B;
  --coral-text: #E65C5E;
  --wine: #8F1D32;
  --wine-d: #6B1224;
  --sale: #C23B4A;
  --ink: #4A1A22;
  --ink-soft: #84534F;
  --line: rgba(143, 29, 50, .12);
  --line-strong: rgba(143, 29, 50, .28);

  --f-script: 'Yellowtail', 'Brush Script MT', cursive;
  --f-body: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;

  --r-card: 24px;
  --shadow: 0 18px 40px -22px rgba(143, 29, 50, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(16px, 4vw, 40px);

  /* Contorno durazno del logo, hecho con sombras (funciona en todos los navegadores). */
  --ol-peach: .05em 0 0 var(--peach), .046em .019em 0 var(--peach), .035em .035em 0 var(--peach), .019em .046em 0 var(--peach),
    0 .05em 0 var(--peach), -.019em .046em 0 var(--peach), -.035em .035em 0 var(--peach), -.046em .019em 0 var(--peach),
    -.05em 0 0 var(--peach), -.046em -.019em 0 var(--peach), -.035em -.035em 0 var(--peach), -.019em -.046em 0 var(--peach),
    0 -.05em 0 var(--peach), .019em -.046em 0 var(--peach), .035em -.035em 0 var(--peach), .046em -.019em 0 var(--peach);
  --ol-wine: .035em 0 0 var(--wine), .03em .013em 0 var(--wine), .025em .025em 0 var(--wine), .013em .03em 0 var(--wine),
    0 .035em 0 var(--wine), -.013em .03em 0 var(--wine), -.025em .025em 0 var(--wine), -.03em .013em 0 var(--wine),
    -.035em 0 0 var(--wine), -.03em -.013em 0 var(--wine), -.025em -.025em 0 var(--wine), -.013em -.03em 0 var(--wine),
    0 -.035em 0 var(--wine), .013em -.03em 0 var(--wine), .025em -.025em 0 var(--wine), .03em -.013em 0 var(--wine);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lock { overflow: hidden; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
img { display: block; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
section[id], header[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
.news :focus-visible, .promo :focus-visible { outline-color: var(--cream); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--wine); color: var(--cream); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.center { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
.script { font-family: var(--f-script); font-weight: 400; line-height: 1.04; }
.ol { color: var(--coral-text); text-shadow: var(--ol-peach); }
.olw { color: var(--cream); text-shadow: var(--ol-wine); }
.muted { color: var(--ink-soft); }
code { font-size: .9em; background: var(--peach-soft); padding: 2px 6px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; line-height: 1; text-decoration: none; text-align: center;
  background: transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transition: transform .7s var(--ease); pointer-events: none;
}
.btn-lg { min-height: 54px; padding: 0 34px; font-size: 13.5px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 11.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary, .btn-add { background: var(--wine); color: var(--cream); }
.btn-ghost { border-color: var(--wine); color: var(--wine); }
.btn-cream { background: var(--cream); color: var(--wine); }
.btn-peach { background: var(--peach); color: var(--wine-d); }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--wine); font-size: inherit; }
@media (hover: hover) {
  .btn:not([disabled]):hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(107, 18, 36, .6); }
  .btn:not([disabled]):hover::after { transform: translateX(120%) skewX(-18deg); }
  .btn-primary:hover, .btn-add:hover { background: var(--wine-d); }
  .btn-ghost:hover { background: var(--wine); color: var(--cream); }
  .btn-cream:hover { background: #fff; }
  .btn-peach:hover { background: var(--blush); }
}
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Encabezado ---------- */
.announce { background: var(--wine); color: var(--cream); text-align: center; padding: 9px var(--pad); font-size: 12.5px; letter-spacing: .08em; }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(255, 253, 232, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(143, 29, 50, .6); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 68px; gap: 8px; }
.brand { justify-self: center; display: block; line-height: 0; }
.brand img { height: 48px; width: auto; }
.menu-btn { justify-self: start; }
.nav { display: none; }
.tools { justify-self: end; display: flex; align-items: center; gap: 2px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--wine); transition: background .2s, transform .2s var(--ease);
}
.icon-btn svg, .search-bar svg, .field svg, .trust svg, .perks svg, .ig-over svg, .fav svg, .qty svg, .mini-add svg, .toast svg, .empty-art svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.icon-btn:hover { background: var(--peach-soft); }
.dot {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--wine); color: var(--cream); font-size: 10.5px; font-weight: 600; line-height: 18px; text-align: center;
}
.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.22) rotate(-6deg); } }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline-grid; } }
@media (min-width: 1024px) {
  .bar { grid-template-columns: auto 1fr auto; min-height: 84px; gap: 24px; }
  .menu-btn { display: none; }
  .brand { justify-self: start; } .brand img { height: 60px; }
  .nav { display: flex; justify-self: center; gap: clamp(18px, 2.4vw, 38px); }
  .nav a {
    position: relative; text-decoration: none; font-size: 14.5px; font-weight: 500; letter-spacing: .05em; padding: 8px 0;
  }
  .nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 5px; border-radius: 4px; background: var(--peach);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); z-index: -1;
  }
  .nav a:hover::after { transform: scaleX(1); }
}
.sale-link { color: var(--sale); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(20px, 4vw, 56px) clamp(36px, 6vw, 80px); }
.hero::before {
  content: ''; position: absolute; width: min(780px, 120vw); aspect-ratio: 1; right: -18%; top: -12%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(248, 213, 184, .65), rgba(248, 213, 184, 0)); pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.hero-copy { display: grid; gap: 20px; justify-items: start; }
.hero h1 { font-size: clamp(3.1rem, 14.5vw, 5.2rem); padding-bottom: .08em; }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); font-weight: 300; max-width: 30ch; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; width: 100%; }
.cta-row .btn { flex: 1 1 230px; max-width: 300px; }
.perks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--ink-soft); }
.perks li { display: inline-flex; align-items: center; gap: 8px; }
.perks svg { width: 20px; height: 20px; color: var(--coral-text); }
.hero-visual { position: relative; width: 100%; max-width: 520px; margin-inline: auto; }
.hero-art .art { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 30px rgba(143, 29, 50, .16)); }
.hero-card { position: absolute; left: 0; top: 12%; width: min(300px, 80%); }
.hero-card .mini {
  background: rgba(255, 253, 232, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; margin: 0;
}
.mini small { display: block; font-size: 11.5px; color: var(--ink-soft); letter-spacing: .04em; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 40px; }
  .hero h1 { font-size: clamp(4.4rem, 6.4vw, 6.4rem); }
  .hero-card { left: -10%; top: 15%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s var(--ease) backwards; }
  .hero-copy > :nth-child(2) { animation-delay: .1s; } .hero-copy > :nth-child(3) { animation-delay: .2s; } .hero-copy > :nth-child(4) { animation-delay: .3s; }
  .hero-art { animation: arch 1.1s var(--ease) .1s backwards; }
  .hero-card { animation: rise .9s var(--ease) .6s backwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes arch { from { opacity: 0; transform: translateY(40px) scale(.97); } }

/* ---------- Beneficios ---------- */
.trust { border-block: 1px solid var(--line); background: var(--cream-2); }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; padding-block: 20px; }
.trust-list li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.trust-list svg { flex: none; width: 28px; height: 28px; color: var(--coral-text); margin-top: 2px; }
.trust-list b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.trust-list small { display: block; font-size: 12.5px; color: var(--ink-soft); line-height: 1.35; }
.trust-list .link { font-size: 12.5px; }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 26px; } }

/* ---------- Secciones ---------- */
.sec { padding-block: clamp(56px, 8vw, 100px); }
.sec-soft { background: var(--cream-2); }
.sec-head { display: grid; gap: 6px; text-align: center; justify-items: center; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(2.9rem, 8vw, 4.6rem); padding-bottom: .06em; }
.sec-head p { font-size: 1.1rem; color: var(--ink-soft); font-weight: 300; }
.sec-head p b { font-weight: 500; color: var(--wine); letter-spacing: .06em; }

/* ---------- Categorías ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.cat {
  display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; text-decoration: none;
  background: linear-gradient(170deg, var(--a, #FFEBD8), var(--b, #F9C9B5)); transition: transform .5s var(--ease), box-shadow .5s;
}
.cat-labios { --a: #FDE0CD; --b: #F6B7A3; } .cat-rostro { --a: #FFEBD8; --b: #F9CDB8; }
.cat-ojos { --a: #FCE3D2; --b: #F2BBA8; } .cat-maquillaje { --a: #FFF0DC; --b: #F8CBB6; }
.cat-art { aspect-ratio: 1 / 1.05; display: grid; place-items: center; padding: 7% 5% 0; }
.cat-art .art { width: 100%; height: 100%; overflow: visible; transition: transform .7s var(--ease); }
.scene { overflow: visible; }
.cat-foot { display: grid; gap: 10px; justify-items: start; padding: 6px 14px 16px; }
.cat-foot h3 { font-size: 18px; font-weight: 600; letter-spacing: .02em; }
.cat-foot .btn { pointer-events: none; white-space: nowrap; padding: 0 14px; letter-spacing: .08em; }
@media (min-width: 640px) { .cat-foot { grid-template-columns: 1fr auto; align-items: center; padding: 8px 20px 20px; } }
@media (hover: hover) {
  .cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
  .cat:hover .cat-art .art { transform: scale(1.06) translateY(-4px); }
  .cat:hover .btn { background: var(--wine); color: var(--cream); }
}

/* ---------- Productos ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; } }
.card { min-width: 0; display: flex; flex-direction: column; }
.card-media, .qv-media, .line-media, .mini-media, .rel-media, .res-media {
  background: radial-gradient(120% 90% at 50% 16%, #FFFBEF 0%, #FBE3D0 55%, #F8CFBA 130%);
}
.card-media {
  position: relative; isolation: isolate; aspect-ratio: 1 / 1.1; border-radius: var(--r-card); overflow: hidden; cursor: pointer;
}
.media { position: absolute; inset: 0; display: grid; place-items: center; padding: 5% 3% 4%; }
.media .art, .media .photo { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.badges { position: absolute; z-index: 2; left: 10px; top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.badge { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1; padding: 6px 10px; border-radius: 999px; }
.badge.best { background: var(--wine); color: var(--cream); }
.badge.new { background: var(--cream); color: var(--wine); }
.badge.sale { background: var(--sale); color: #fff; }
.fav {
  position: absolute; z-index: 2; right: 10px; top: 10px; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 253, 232, .92); color: var(--wine); transition: transform .25s var(--ease), background .25s;
}
.fav svg { width: 20px; height: 20px; }
.fav[aria-pressed="true"] { color: var(--coral-text); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.fav.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } }
.fav.lg { position: static; width: 52px; height: 52px; border: 1.5px solid var(--line-strong); background: transparent; }
@media (hover: hover) { .fav:hover { transform: scale(1.1); } }
.qv-pill {
  position: absolute; z-index: 2; left: 50%; bottom: 12px; transform: translate(-50%, 10px); opacity: 0; pointer-events: none;
  background: var(--cream); color: var(--wine); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; transition: opacity .3s, transform .4s var(--ease); white-space: nowrap;
}
@media (hover: hover) {
  .card:hover .media .art, .card:hover .media .photo { transform: translateY(-8px) scale(1.04); }
  .card:hover .qv-pill { opacity: 1; transform: translate(-50%, 0); }
}
.card-body { display: flex; flex-direction: column; gap: 7px; padding: 14px 2px 0; flex: 1; }
.card-title { font-size: 16.5px; font-weight: 500; line-height: 1.25; }
.card-title button { border: 0; background: none; padding: 0; text-align: left; font-weight: inherit; }
.card-title button:hover { color: var(--wine); }
.shade-name { font-size: 12.5px; color: var(--ink-soft); }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.sw {
  width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 0; background: var(--c); position: relative;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); transition: transform .2s var(--ease);
}
.sw::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .2s; }
.sw[aria-pressed="true"]::after { border-color: var(--wine); }
@media (hover: hover) { .sw:hover { transform: scale(1.15); } }
.meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); }
.stars { position: relative; display: inline-block; color: var(--peach); font-size: 14px; letter-spacing: 1px; line-height: 1; white-space: nowrap; }
.stars::after { content: '★★★★★'; position: absolute; left: 0; top: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; color: var(--coral); }
.buy { display: grid; gap: 4px; padding-bottom: 6px; }
.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price .now { font-size: 17.5px; font-weight: 600; color: var(--wine); }
.price s { font-size: 13.5px; color: var(--ink-soft); }
.off { font-style: normal; font-size: 11px; font-weight: 600; color: #fff; background: var(--sale); padding: 2px 7px; border-radius: 999px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }
.stock i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.low { color: var(--sale); } .stock.ok { color: #3F7A55; } .stock.out { color: var(--ink-soft); }
.btn-add { width: 100%; min-height: 46px; margin-top: auto; padding: 0 10px; font-size: 11.5px; letter-spacing: .1em; }
@media (min-width: 900px) { .btn-add { font-size: 12.5px; } }

/* ---------- Banner ---------- */
.promo { position: relative; overflow: hidden; color: var(--cream); background: linear-gradient(120deg, #E4575C 0%, #D9444F 100%); padding-block: clamp(44px, 7vw, 84px) 0; }
.promo-grid { position: relative; display: grid; gap: 8px; align-items: end; }
.promo-copy { display: grid; gap: 16px; justify-items: start; padding-bottom: clamp(8px, 3vw, 40px); align-self: center; }
.promo h2 { font-size: clamp(3.2rem, 11vw, 5.8rem); padding-bottom: .06em; }
.promo p { font-size: 1.2rem; font-weight: 600; max-width: 28ch; }
.promo-art { width: min(400px, 82%); margin-inline: auto; }
.promo-art .art { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 20px rgba(80, 8, 24, .25)); }
.kiss { position: absolute; pointer-events: none; opacity: .3; }
.k1 { width: 130px; left: -24px; top: 8%; transform: rotate(-20deg); }
.k2 { width: 100px; left: 38%; bottom: 8%; transform: rotate(14deg); opacity: .22; }
.k3 { width: 150px; right: -30px; top: 6%; transform: rotate(16deg); }
@media (min-width: 860px) { .promo-grid { grid-template-columns: 1.1fr .9fr; } .promo-art { width: min(440px, 100%); } .k2 { left: 44%; } }

/* ---------- Tienda ---------- */
.toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
.toolbar > * { min-width: 0; }
.field {
  position: relative; display: flex; align-items: center; min-height: 46px; border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: #FFFEF4; padding: 0 16px; transition: border-color .2s, box-shadow .2s;
}
.field:focus-within { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(240, 111, 107, .18); }
.field svg { width: 20px; height: 20px; flex: none; color: var(--ink-soft); margin-right: 8px; }
.field input, .field select { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; height: 42px; font-size: 15px; }
.field input::placeholder { color: var(--ink-soft); opacity: .8; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.sel select {
  appearance: none; -webkit-appearance: none; padding-right: 22px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F1D32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 16px no-repeat;
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent;
  font-size: 14px; font-weight: 500; letter-spacing: .03em; transition: background .2s, color .2s, border-color .2s;
}
.chip[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--cream); }
@media (hover: hover) { .chip[aria-pressed="false"]:hover { border-color: var(--wine); background: var(--peach-soft); } }
.selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.count-line { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 20px; }
.no-results { grid-column: 1 / -1; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 56px 12px; }
.no-results h3 { font-size: 20px; font-weight: 500; }
.no-results p { color: var(--ink-soft); margin-bottom: 8px; }
@media (min-width: 760px) {
  .toolbar { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "s x" "c c"; align-items: center; gap: 14px 18px; }
  .search-field { grid-area: s; max-width: 380px; } .chips { grid-area: c; } .selects { grid-area: x; grid-template-columns: 190px 210px; }
  .chips { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
}
@media (min-width: 1240px) {
  .toolbar { grid-template-columns: 290px minmax(0, 1fr) auto; grid-template-areas: "s c x"; }
  .chips { flex-wrap: nowrap; }
}

/* ---------- Marca ---------- */
.brand-grid { display: grid; gap: 36px; align-items: center; }
.brand-art { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1 / 1.04; margin-inline: auto; }
.arch { position: absolute; display: grid; place-items: center; overflow: hidden; }
.arch .art { width: 100%; height: auto; }
.a1 { left: 0; top: 0; width: 66%; height: 88%; border-radius: 999px 999px 28px 28px; background: linear-gradient(170deg, #F4837F, #E4575C); padding: 8% 6% 30%; }
.a2 { right: 0; bottom: 0; width: 46%; height: 60%; border-radius: 999px 999px 24px 24px; background: linear-gradient(180deg, #FFEFDD, #F8D5B8); padding: 14% 4% 4%; box-shadow: var(--shadow); }
.a2 .art { height: 100%; }
.brand-script { position: absolute; left: 7%; bottom: 14%; font-family: var(--f-script); font-size: clamp(4.6rem, 15vw, 7rem); line-height: 1; color: var(--cream); text-shadow: var(--ol-wine); pointer-events: none; }
.brand-copy { display: grid; gap: 20px; justify-items: start; }
.brand-copy h2 { font-size: clamp(3rem, 9vw, 5rem); padding-bottom: .06em; }
.brand-copy p { font-size: 1.2rem; font-weight: 300; max-width: 34ch; }
section.story { padding-block: clamp(56px, 8vw, 104px); background: linear-gradient(180deg, var(--cream), var(--peach-soft)); }
@media (min-width: 900px) { .brand-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- Instagram ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .ig-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.ig { position: relative; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--peach); box-shadow: inset 0 0 0 1px rgba(143, 29, 50, .1); }
.ig .art { width: 100%; height: 100%; display: block; transition: transform .7s var(--ease); }
.ig-over { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(107, 18, 36, .38); color: var(--cream); opacity: 0; transition: opacity .3s; }
.ig-over svg { width: 34px; height: 34px; } .ig-over .dot { fill: currentColor; stroke: none; position: static; background: none; }
@media (hover: hover) { .ig:hover .art { transform: scale(1.07); } .ig:hover .ig-over { opacity: 1; } }

/* ---------- Newsletter ---------- */
.news { background: linear-gradient(160deg, var(--wine) 0%, var(--wine-d) 100%); color: var(--cream); padding-block: clamp(56px, 8vw, 92px); text-align: center; }
.news-inner { display: grid; gap: 14px; justify-items: center; }
.news h2 { font-size: clamp(2.6rem, 8vw, 4.2rem); color: var(--peach); padding-bottom: .06em; }
.news p { max-width: 44ch; font-weight: 300; font-size: 1.1rem; }
.nl { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 560px; margin-top: 10px; }
.nl input { min-height: 54px; border-radius: 999px; border: 1.5px solid transparent; background: var(--cream); color: var(--ink); padding: 0 22px; font-size: 16px; outline: 0; }
.nl input:focus { box-shadow: 0 0 0 4px rgba(248, 213, 184, .45); }
.nl input::placeholder { color: var(--ink-soft); }
.nl .btn { min-height: 54px; }
.nl-msg { min-height: 1.6em; font-size: 14.5px !important; font-weight: 500 !important; }
.nl-msg.err { color: #FFD3CB; } .nl-msg.ok { color: var(--peach); font-size: 1.1rem !important; }
@media (min-width: 640px) { .nl { flex-direction: row; } .nl input { flex: 1; } }

/* ---------- Pie ---------- */
.footer { background: var(--cream); border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 72px); }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 4px; justify-items: start; }
.foot-brand img { width: 190px; height: auto; }
.foot-brand .script { font-size: 1.9rem; color: var(--coral-text); }
.footer h3 { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; color: var(--wine); }
.footer li + li { margin-top: 9px; }
.footer a, .flink { font-size: 15px; color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0; text-align: left; }
.footer a:hover, .flink:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.footer a.soon { color: var(--ink-soft); cursor: default; text-decoration: none; }
.foot-bottom { display: flex; flex-direction: column; gap: 16px; padding-block: 32px 36px; margin-top: 40px; background: linear-gradient(var(--line), var(--line)) center top / calc(100% - var(--pad) * 2) 1px no-repeat; font-size: 13px; color: var(--ink-soft); }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.footer .pay li + li { margin-top: 0; }
.pay li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 500; color: var(--ink); background: #FFFEF4; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } .foot-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Capas ---------- */
.layer { position: fixed; inset: 0; overflow: hidden; z-index: 100; visibility: hidden; pointer-events: none; transition: visibility 0s .4s; }
.layer.open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.backdrop { position: absolute; inset: 0; background: rgba(74, 26, 34, .45); opacity: 0; transition: opacity .35s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.layer.open .backdrop { opacity: 1; }
.panel {
  position: absolute; display: flex; flex-direction: column; background: var(--cream); outline: 0; max-width: 100%;
  transition: transform .45s var(--ease), opacity .3s; box-shadow: 0 30px 80px -30px rgba(74, 26, 34, .6);
}
.from-right .panel, .from-left .panel { top: 0; bottom: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.from-right .panel { right: 0; width: min(440px, 100%); transform: translateX(104%); }
.from-left .panel { left: 0; width: min(360px, 88%); transform: translateX(-104%); }
.from-top .panel { top: 0; left: 50%; width: min(760px, 100%); max-height: min(86%, 680px); transform: translate(-50%, -104%); border-radius: 0 0 28px 28px; padding-top: env(safe-area-inset-top, 0px); overflow: auto; }
.from-center .panel { left: 50%; top: 50%; width: min(1020px, calc(100% - 24px)); max-height: calc(100% - 24px); transform: translate(-50%, -46%) scale(.97); opacity: 0; border-radius: 30px; overflow: auto; overscroll-behavior: contain; }
.from-center.small .panel { width: min(520px, calc(100% - 24px)); }
.layer.open .panel { transform: none; opacity: 1; }
.layer.open.from-top .panel { transform: translateX(-50%); }
.layer.open.from-center .panel { transform: translate(-50%, -50%); }
@media (max-width: 700px) {
  .from-center .panel { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 94%; transform: translateY(104%); opacity: 1; border-radius: 28px 28px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .layer.open.from-center .panel { transform: none; }
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 19px; font-weight: 600; letter-spacing: .02em; }
.menu-logo { height: 46px; width: auto; }
.panel-body { flex: 1; overflow: auto; padding: 8px 22px 24px; overscroll-behavior: contain; }
.panel-foot { padding: 16px 22px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--cream-2); }
.sub { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.sub b { font-size: 22px; font-weight: 600; color: var(--wine); }
.note { font-size: 12.5px; color: var(--ink-soft); }
.center-link { justify-self: center; font-size: 14px; }
.menu-list { display: grid; align-content: start; gap: 2px; padding-top: 14px; }
.menu-list a, .menu-sub { display: block; padding: 14px 4px; font-family: var(--f-script); font-size: 2.1rem; line-height: 1.1; text-decoration: none; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; color: var(--coral-text); }
.menu-list .sale-link { color: var(--sale); }
.menu-sub { font-family: var(--f-body); font-size: 15px; color: var(--ink); letter-spacing: .04em; border-bottom: 0; margin-top: 8px; }

/* Carrito y favoritos */
.lines { display: grid; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-media, .mini-media, .rel-media { border: 0; padding: 6px; border-radius: 16px; cursor: pointer; display: block; }
.line-media { width: 76px; aspect-ratio: 1; }
.line-media .art, .mini-media .art, .rel-media .art, .res-media .art, .line-media .photo, .mini-media .photo { width: 100%; height: 100%; object-fit: contain; }
.line-title { font-weight: 500; line-height: 1.25; }
.line-shade { font-size: 12.5px; color: var(--ink-soft); margin: 2px 0 8px; }
.line-shade i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-right: 6px; vertical-align: -1px; }
.line-end { display: grid; justify-items: end; gap: 10px; font-size: 14px; }
.line-total { font-weight: 600; color: var(--wine); }
.line-actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; height: 36px; }
.qty button { width: 34px; height: 100%; border: 0; background: none; display: grid; place-items: center; border-radius: 50%; color: var(--wine); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty svg { width: 14px; height: 14px; stroke-width: 2.2; }
.qty output { min-width: 22px; text-align: center; font-weight: 500; font-size: 14px; }
.qty.big { height: 52px; } .qty.big button { width: 44px; } .qty.big output { min-width: 28px; font-size: 16px; }
.ship { background: var(--peach-soft); border-radius: 18px; padding: 12px 14px 14px; margin-top: 12px; font-size: 14px; }
.ship .meter { height: 7px; border-radius: 99px; background: rgba(143, 29, 50, .12); margin-top: 9px; overflow: hidden; }
.ship .meter span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--coral), var(--wine)); transition: width .6s var(--ease); }
.ship.done { background: #E9F2E4; }
.cross { margin-top: 24px; }
.cross h4 { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.mini { display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; gap: 12px; align-items: center; padding: 10px; border-radius: 20px; background: #FFF6E6; margin-top: 10px; }
.mini-media { width: 64px; aspect-ratio: 1; padding: 4px; border-radius: 14px; }
.mini-info { display: grid; gap: 2px; min-width: 0; justify-items: start; }
.mini-title { border: 0; background: none; padding: 0; font-weight: 500; font-size: 14.5px; text-align: left; line-height: 1.2; }
.mini-info .price .now { font-size: 14.5px; } .mini-info .price s { font-size: 12px; } .mini-info .off { display: none; }
.mini-add { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--wine); color: var(--cream); display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; }
.mini-add svg { width: 18px; height: 18px; stroke-width: 2.2; }
@media (hover: hover) { .mini-add:hover { transform: scale(1.1); background: var(--wine-d); } }
.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 56px 8px; }
.empty-art { width: 92px; height: 92px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; margin-bottom: 8px; color: var(--coral-text); }
.empty-art svg { width: 38px; height: 38px; } .empty-art img { width: 56px; }
.empty h3 { font-size: 20px; font-weight: 500; } .empty p { color: var(--ink-soft); max-width: 28ch; margin-bottom: 8px; }

/* Vista rápida */
.qv-close { position: sticky; top: 10px; z-index: 5; flex: none; align-self: flex-end; margin: 10px 10px -54px 0; background: rgba(255, 253, 232, .92); box-shadow: 0 6px 16px -8px rgba(74, 26, 34, .5); }
.qv-main { display: grid; gap: 22px; padding: 20px 18px 8px; }
.qv-media { position: relative; aspect-ratio: 1 / 1.04; border-radius: 26px; display: grid; place-items: center; padding: 9%; overflow: hidden; }
.qv-art { width: 100%; height: 100%; }
.qv-art .art, .qv-art .photo { width: 100%; height: 100%; object-fit: contain; }
.qv-info { display: grid; gap: 12px; align-content: start; }
.qv-cat { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-text); }
.qv-info h2 { font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 500; line-height: 1.08; letter-spacing: -.005em; }
.price-big .now { font-size: 26px; } .price-big s { font-size: 16px; }
.qv-sum { color: var(--ink); font-weight: 300; font-size: 16.5px; max-width: 46ch; }
.qv-shades { display: grid; gap: 8px; font-size: 14.5px; } .qv-shades .sw { width: 28px; height: 28px; }
.qv-buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; align-items: center; }
.qv-buy .btn { min-height: 52px; } .grow { flex: 1 1 220px; }
.qv-sec { padding: 26px 18px 6px; display: grid; gap: 14px; }
.qv-sec:last-child { padding-bottom: 30px; }
.qv-sec h3 { font-size: 20px; font-weight: 600; }
.qv-sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.look-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 12px; }
.rel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.rel { display: grid; gap: 6px; border: 0; background: none; padding: 0; text-align: left; align-content: start; }
.rel-media { aspect-ratio: 1; padding: 8%; border-radius: 20px; }
.rel-title { font-weight: 500; font-size: 14.5px; line-height: 1.25; } .rel-price { font-size: 14px; font-weight: 600; color: var(--wine); }
@media (min-width: 760px) { .qv-main { grid-template-columns: 1fr 1fr; gap: 36px; padding: 30px 32px 10px; } .qv-sec { padding-inline: 32px; } .rel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Búsqueda */
.search-bar { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 22px; border-bottom: 1px solid var(--line); }
.search-bar svg { color: var(--wine); flex: none; }
.search-bar input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 18px; height: 44px; }
.search-results { padding: 14px 22px 24px; display: grid; gap: 12px; }
.hint { color: var(--ink-soft); font-size: 14.5px; }
.sugg { display: flex; flex-wrap: wrap; gap: 8px; }
.results { display: grid; }
.res { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; padding: 10px 6px; border: 0; background: none; text-align: left; border-radius: 18px; transition: background .2s; }
.res:hover { background: var(--peach-soft); }
.res-media { width: 60px; aspect-ratio: 1; border-radius: 14px; padding: 4px; }
.res-info { display: grid; min-width: 0; } .res-info small { color: var(--ink-soft); font-size: 12.5px; }
.res-price { font-weight: 600; color: var(--wine); }

/* Aviso y modales */
.toast {
  position: fixed; z-index: 130; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px; background: var(--wine); color: var(--cream); padding: 12px 20px 12px 14px; border-radius: 999px;
  font-size: 14.5px; box-shadow: 0 20px 40px -16px rgba(74, 26, 34, .7); width: max-content; max-width: calc(100% - 32px); transition: opacity .3s, transform .45s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .ico { width: 26px; height: 26px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; flex: none; }
.toast svg { width: 16px; height: 16px; stroke-width: 2.4; }
.toast button { border: 0; background: none; color: var(--peach); text-decoration: underline; text-underline-offset: 3px; padding: 0 0 0 6px; font-weight: 500; white-space: nowrap; }
.modal-body { display: grid; gap: 14px; padding: 34px 26px 28px; justify-items: start; }
.modal-body h2 { font-family: var(--f-script); font-weight: 400; font-size: 2.6rem; line-height: 1.05; color: var(--coral-text); text-shadow: var(--ol-peach); padding-bottom: .05em; }
.modal-body p { font-size: 16.5px; font-weight: 300; }
.modal-body a:not(.btn) { color: var(--wine); font-weight: 500; }
.faq dt { font-weight: 600; margin-top: 12px; } .faq dd { font-weight: 300; }

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

/* ============================================================
   Checkout
   Componente nuevo de la Fase 3. Todas las reglas van bajo
   #layer-checkout o con prefijo .co-, para no alterar nada del
   diseño aprobado. Usa las mismas variables de marca.
   ============================================================ */

#layer-checkout .panel { width: min(960px, calc(100% - 24px)); background: var(--cream); }

.co { padding: 26px clamp(18px, 4vw, 34px) clamp(22px, 4vw, 34px); }
.co-head { text-align: center; margin-bottom: 22px; }
.co-head h2 { font-family: var(--f-script); font-size: clamp(30px, 6vw, 42px); color: var(--coral-text); text-shadow: var(--ol-peach); line-height: 1.1; }
.co-head p { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }

.co-grid { display: grid; gap: clamp(20px, 3vw, 32px); align-items: start; }
@media (min-width: 860px) { .co-grid { grid-template-columns: 1.15fr .85fr; } }

/* ---------- Formulario ---------- */
.co-sec { margin-bottom: 22px; }
.co-sec h3 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--wine); margin-bottom: 12px; }

.co-campos { display: grid; gap: 12px; }
.co-dos { display: grid; gap: 12px; }
@media (min-width: 560px) { .co-dos { grid-template-columns: 1fr 1fr; } }

.co-campo { display: flex; flex-direction: column; gap: 5px; }
.co-campo label { font-size: 12.5px; font-weight: 500; color: var(--ink-soft); }
.co-campo label .co-opt { font-weight: 400; opacity: .75; }
.co-campo input, .co-campo select, .co-campo textarea {
  width: 100%; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line-strong);
  background: #fff; color: var(--ink); padding: 0 14px; font-size: 15px; outline: 0;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.co-campo textarea { padding: 12px 14px; min-height: 76px; resize: vertical; line-height: 1.45; }
.co-campo select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F1D32' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.co-campo input:focus, .co-campo select:focus, .co-campo textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(248, 213, 184, .45); }
.co-campo input:disabled, .co-campo select:disabled { background: var(--cream-2); color: var(--ink-soft); cursor: not-allowed; }
.co-campo input::placeholder, .co-campo textarea::placeholder { color: var(--ink-soft); opacity: .7; }
.co-campo.mal input, .co-campo.mal select { border-color: var(--sale); }
.co-error { font-size: 12.5px; color: var(--sale); font-weight: 500; }
.co-ayuda { font-size: 12px; color: var(--ink-soft); }

/* ---------- Medio de pago ---------- */
.co-pagos { display: grid; gap: 10px; }
.co-pago { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px;
  border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.co-pago:has(input:checked) { border-color: var(--wine); background: var(--peach-soft); }
.co-pago input { margin-top: 3px; accent-color: var(--wine); width: 18px; height: 18px; flex: none; }
.co-pago b { display: block; font-size: 14.5px; font-weight: 600; }
.co-pago small { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; line-height: 1.4; }

/* ---------- Resumen ---------- */
.co-resumen { background: var(--cream-2); border-radius: var(--r-card); padding: clamp(18px, 3vw, 24px); position: sticky; top: 12px; }
.co-resumen h3 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--wine); margin-bottom: 14px; }
.co-lineas { display: grid; gap: 12px; margin-bottom: 16px; }
.co-linea { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14px; }
.co-linea .co-nom { font-weight: 500; }
.co-linea .co-tono { grid-column: 1; font-size: 12.5px; color: var(--ink-soft); }
.co-linea .co-monto { grid-row: 1 / span 2; align-self: center; font-weight: 600; white-space: nowrap; }

.co-cupon { display: flex; gap: 8px; margin: 4px 0 16px; }
.co-cupon input { flex: 1; min-width: 0; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; padding: 0 12px; font-size: 14px; outline: 0; text-transform: uppercase; }
.co-cupon input:focus { border-color: var(--wine); }
.co-cupon .btn { min-height: 44px; padding: 0 16px; font-size: 11.5px; }

.co-totales { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.co-fila { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.co-fila.co-desc { color: #3F7A55; font-weight: 500; }
.co-fila.co-total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; color: var(--wine); }
.co-fila .co-gratis { color: #3F7A55; font-weight: 600; }
.co-aviso { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--peach-soft); font-size: 13px; line-height: 1.45; color: var(--ink); }
.co-aviso b { font-weight: 600; }
.co-aviso.co-ojo { background: #FDEAEA; color: #7A1B2D; }
.co-resumen .btn-primary { margin-top: 16px; }
.co-legal { margin-top: 12px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.5; text-align: center; }

/* ---------- Confirmación ---------- */
.co-ok { text-align: center; padding: clamp(24px, 5vw, 44px) clamp(18px, 4vw, 34px); }
.co-ok-ico { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--peach-soft); display: grid; place-items: center; }
.co-ok-ico svg { width: 36px; height: 36px; fill: none; stroke: var(--wine); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.co-ok h2 { font-family: var(--f-script); font-size: clamp(30px, 6vw, 42px); color: var(--coral-text); text-shadow: var(--ol-peach); line-height: 1.1; }
.co-ok .co-codigo { display: inline-block; margin: 14px 0 6px; padding: 8px 18px; border-radius: 999px; background: var(--wine); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.co-ok p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; max-width: 520px; margin: 8px auto 0; }
.co-datos { text-align: left; max-width: 420px; margin: 22px auto 0; background: var(--cream-2); border-radius: var(--r-card); padding: 20px 22px; }
.co-datos h3 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--wine); margin-bottom: 12px; }
.co-datos dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.co-datos dt { color: var(--ink-soft); }
.co-datos dd { font-weight: 500; word-break: break-word; }
.co-ok .btn { margin-top: 22px; }

/* ---------- Cargando ---------- */
.co-cargando { padding: 60px 20px; text-align: center; color: var(--ink-soft); font-size: 14px; }

/* ------------------------------------------------------------
   Botón flotante de WhatsApp
   Va en borgoña y no en el verde de WhatsApp para no romper la
   paleta: el ícono ya es reconocible por sí solo.
   Se esconde cuando hay una capa abierta (html.lock), para no
   quedar flotando sobre el carrito o el checkout.
   ------------------------------------------------------------ */
.wa {
  position: fixed; right: 16px; z-index: 60;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wine); color: #fff;
  box-shadow: 0 10px 26px -8px rgba(143, 29, 50, .55);
  transition: transform .2s var(--ease), opacity .2s var(--ease), background .2s var(--ease);
}
.wa svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.wa:hover { background: var(--wine-d); transform: scale(1.06); }
.wa:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
html.lock .wa { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .wa { transition: none; } }
@media (min-width: 900px) { .wa { right: 24px; bottom: 24px; width: 58px; height: 58px; } }
