:root {
  --ink: #08302e;
  --ink-2: #33524f;
  --muted: #5b7471;
  --turq: #14b8ae;
  --turq-deep: #0b6f6a;
  --turq-dark: #0b4f4c;
  --aqua: #dff6f3;
  --aqua-2: #effbf9;
  --bg: #fbfdfc;
  --line: #d3e8e5;
  --sun: #ffd166;
  --pink: #ff7aa8;
  --wa: #25d366;
  --wa-ink: #053d22;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(8, 48, 46, .06), 0 8px 24px rgba(8, 48, 46, .08);
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body { margin: 0; font: 16px/1.55 var(--body); color: var(--ink); background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--turq-deep); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.fine { font-size: .82rem; color: var(--muted); }
.center { text-align: center; }

/* ---------- Barra de anuncio + header ---------- */
.announce { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; padding: 7px 16px; background: var(--turq-dark); color: #d8fbf6; font-size: .8rem; font-weight: 500; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px; padding: 10px max(16px, calc((100% - var(--max)) / 2)); background: rgba(251, 253, 252, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: var(--display); font-size: 1.32rem; font-weight: 800; letter-spacing: -.03em; }
.brand-text small { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--turq-deep); font-weight: 700; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--aqua); color: var(--ink); }
.cart-button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; }
.cart-button svg { width: 20px; height: 20px; }
.cart-count { min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .82rem; }
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--turq-deep); color: #fff; box-shadow: 0 6px 18px rgba(11, 111, 106, .28); }
.btn-primary:hover { background: var(--turq-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 6px 18px rgba(37, 211, 102, .3); }
.btn-wa::before { content: ''; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--wa-icon) center / contain no-repeat; mask: var(--wa-icon) center / contain no-repeat; }
.btn-wa-outline { border-color: var(--wa); color: var(--wa-ink); background: #f0fdf5; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .88rem; }
:root { --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.6-4-4.7-4.1-.1-.2-1.1-1.5-1.1-2.9s.7-2.1 1-2.4c.3-.3.6-.3.8-.3h.6c.2 0 .4 0 .6.5l.9 2.1c.1.2.1.4 0 .5l-.3.5-.4.5c-.1.1-.3.3-.1.6.2.3.8 1.3 1.6 2 1.1 1 2 1.3 2.3 1.4.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.6-.1l2 1c.3.1.5.2.5.3.1.2.1.7-.1 1.3Z'/%3E%3C/svg%3E"); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 56px 16px 40px; }
.hero::before { content: ''; position: absolute; inset: 0 -40vw; z-index: -1; background: radial-gradient(60% 70% at 85% 40%, #bff0ea 0, transparent 70%), radial-gradient(40% 50% at 10% 0%, #fff3d6 0, transparent 70%), linear-gradient(180deg, var(--aqua-2), var(--bg)); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--turq-deep); }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 800; margin: 14px 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--sun) 62%); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .92rem; }
.hero-proof strong { color: var(--ink); }
.hero-art { position: relative; height: 470px; }
.polaroid { position: absolute; margin: 0; width: 56%; padding: 9px 9px 34px; background: #fff; border-radius: 10px; box-shadow: 0 18px 40px rgba(8, 48, 46, .18); }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.p1 { left: 22%; top: 2%; transform: rotate(-3deg); z-index: 3; }
.p2 { left: 0; top: 30%; width: 46%; transform: rotate(-9deg); z-index: 2; }
.p3 { right: 0; top: 26%; width: 44%; transform: rotate(8deg); z-index: 1; }
.p2 img, .p3 img { aspect-ratio: 1; }
.tag { position: absolute; right: -14px; top: 18px; padding: 7px 14px 7px 22px; background: var(--sun); font-family: var(--display); font-weight: 800; font-size: 1.15rem; border-radius: 6px 10px 10px 6px; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.tag::before { content: ''; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #fff; }
.tag-alt { background: var(--pink); color: #fff; font-size: .95rem; }

/* ---------- Confianza ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: var(--max); margin: 0 auto; padding: 8px 16px 12px; }
.trust > div { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.trust span { font-size: 1.5rem; line-height: 1; }
.trust p { font-size: .88rem; color: var(--muted); }
.trust strong { display: block; color: var(--ink); font-size: .96rem; }

/* ---------- Secciones ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 56px 16px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.section-head p { margin-top: 6px; }
.link { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Rail de destacados */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }

/* ---------- Tarjetas ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; padding: 0; border: 0; background: #efe6da; }
.card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--pink); color: #fff; font-size: .76rem; font-weight: 700; }
.size-pill { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .78rem; font-weight: 700; }
.card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 14px 16px; }
.card-brand { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--turq-deep); }
.card h3 { font-family: var(--body); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.card h3 button { padding: 0; border: 0; background: none; text-align: left; }
.card h3 button:hover { text-decoration: underline; }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: auto; padding-top: 6px; }
.price { font-family: var(--display); font-size: 1.35rem; font-weight: 800; }
.price small { font-family: var(--body); font-size: .72rem; font-weight: 500; color: var(--muted); }
.price-lg { font-size: 2rem; }
.price-ask { font-size: 1rem; color: var(--turq-deep); }
.anchor { font-size: .78rem; color: var(--muted); }
.btn-add { min-height: 42px; margin-top: 8px; background: var(--aqua); color: var(--turq-dark); border-radius: 12px; }
.btn-add:hover { background: var(--turq-deep); color: #fff; }
.card-compact .btn-add { display: none; }

/* ---------- Filtros ---------- */
.catalog { scroll-margin-top: 70px; }
.filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; position: sticky; top: 61px; z-index: 10; margin: 0 -16px 10px; padding: 12px 16px; background: rgba(251, 253, 252, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 10px; padding: 0 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; }
.search:focus-within { border-color: var(--turq); }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { width: 100%; min-height: 46px; border: 0; background: none; outline: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.chip span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] span { color: #a9d9d4; }
.chips-sm .chip { min-height: 36px; padding: 6px 13px; font-size: .86rem; }
.filter-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.filter-row .chips { min-width: 0; }
.select { display: flex; align-items: center; gap: 8px; flex: none; font-size: .88rem; font-weight: 600; }
.select select { min-height: 38px; padding: 6px 30px 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2308302e' stroke-width='2'/%3E%3C/svg%3E") right 12px center / 11px no-repeat; appearance: none; }
.results { margin: 8px 0 14px; font-size: .9rem; color: var(--muted); }
.empty { padding: 30px; text-align: center; background: var(--aqua-2); border-radius: var(--radius); display: grid; gap: 16px; justify-items: center; }

/* ---------- Pasos ---------- */
.steps h2 { margin-bottom: 26px; }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 26px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--sun); font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.steps h3 { font-size: 1.25rem; margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* ---------- Revende ---------- */
.resell { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; max-width: calc(var(--max) - 32px); padding: 46px; border-radius: 28px; background: radial-gradient(70% 90% at 100% 0%, #137e78 0, transparent 70%), var(--turq-dark); color: #e6fbf8; }
.eyebrow-light { color: var(--sun); }
.resell h2 { color: #fff; margin: 10px 0 18px; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--turq); color: var(--ink); font-weight: 800; font-size: .8rem; }
.checks strong { color: #fff; }
.calc { display: grid; gap: 12px; padding: 24px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.calc h3 { font-size: 1.35rem; }
.calc label { display: grid; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.calc input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--aqua-2); font-weight: 700; font-size: 1.05rem; }
.input-money { position: relative; display: block; }
.input-money::before { content: '$'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); }
.input-money input { padding-left: 26px; }
.calc-out { display: grid; padding: 14px; border-radius: 14px; background: #fff7df; font-size: 1rem; }
.calc-out strong { font-family: var(--display); font-size: 1.7rem; }
.calc-out span { font-size: .84rem; color: var(--muted); }

/* ---------- Tallas ---------- */
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.sizes h2 { margin-bottom: 14px; }
.sizes p + p { margin-top: 12px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--aqua-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 18px 2px; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--turq-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 18px; color: var(--ink-2); }

/* ---------- Visítanos / footer ---------- */
.visit { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; max-width: calc(var(--max) - 32px); margin: 0 auto 56px; padding: 30px 34px; border-radius: 24px; background: var(--aqua); }
.visit h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 8px; }
.visit p { color: var(--ink-2); }
.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer { display: grid; gap: 6px; padding: 30px 16px 110px; text-align: center; background: var(--ink); color: #bfe1dd; font-size: .9rem; }
.footer a { color: #fff; }
.footer .fine { color: #8db6b1; }

/* ---------- Dock móvil ---------- */
.dock { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 25; display: flex; gap: 10px; }
.dock-wa { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 24px rgba(5, 61, 34, .3); }
.dock-wa svg { width: 28px; height: 28px; }
.dock-cart { flex: 1; display: none; justify-content: space-between; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(8, 48, 46, .35); font-size: .95rem; }
.dock-cart strong { color: var(--sun); white-space: nowrap; }
.has-items .dock-cart { display: flex; }
@media (min-width: 981px) { .has-items .dock-cart { display: none; } .dock { left: auto; } }

/* ---------- Diálogos ---------- */
.modal { padding: 0; border: 0; color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.modal::backdrop { background: rgba(8, 48, 46, .55); backdrop-filter: blur(3px); }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--aqua-2); font-size: 1rem; }
.product-modal { width: min(940px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: 24px; overflow: hidden; }
.modal-close-form { position: absolute; right: 12px; top: 12px; z-index: 2; }
.modal-close-form .icon-btn { background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-height: calc(100dvh - 24px); }
.product-media { position: relative; background: #efe6da; }
.product-media img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.product-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; padding: 32px 28px 28px; overflow-y: auto; }
.product-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .94rem; }
.facts li { padding-left: 24px; position: relative; color: var(--ink-2); }
.facts li::before { content: '•'; position: absolute; left: 8px; color: var(--turq); font-weight: 800; }
.p-form { display: grid; gap: 12px; padding-top: 6px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: .88rem; font-weight: 700; color: var(--ink-2); padding: 0; }
.field select, .field input:not([type="radio"]), .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px rgba(20, 184, 174, .2); }
.opt { font-weight: 400; color: var(--muted); }
.qty-field { grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 14px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: var(--aqua-2); font-size: 1.2rem; font-weight: 700; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper input { width: 52px; height: 44px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper-sm button { width: 34px; height: 34px; font-size: 1rem; }
.stepper-sm span { min-width: 30px; text-align: center; font-weight: 700; }
.form-error { color: #b42318; font-size: .9rem; font-weight: 600; min-height: 0; }
.form-error:empty { display: none; }
.reseller-kit { border: 1.5px dashed var(--line); border-radius: 16px; padding: 12px 14px; background: var(--aqua-2); }
.reseller-kit summary { cursor: pointer; font-weight: 700; }
.reseller-kit pre { margin: 12px 0; padding: 12px; white-space: pre-wrap; font: .88rem/1.5 var(--body); background: #fff; border-radius: 10px; border: 1px solid var(--line); user-select: all; }
.kit-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Drawer del pedido */
.drawer { width: min(460px, 100%); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-radius: 24px 0 0 24px; display: none; flex-direction: column; overflow-y: auto; }
.drawer[open] { display: flex; animation: slide-in .28s ease; }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: #fff; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.5rem; }
.drawer-empty { display: grid; gap: 16px; justify-items: center; padding: 50px 22px; text-align: center; color: var(--muted); }
#pedido-lleno { padding: 6px 22px 28px; }
.lines { list-style: none; padding: 0; margin: 0; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; }
.line-name { font-weight: 700; line-height: 1.25; }
.line-meta { font-size: .82rem; color: var(--muted); margin: 2px 0 8px; }
.line-controls { display: flex; align-items: center; gap: 12px; }
.line-price { font-weight: 800; white-space: nowrap; font-size: .95rem; }
.link-btn { border: 0; background: none; padding: 4px; color: #b42318; font-size: .84rem; text-decoration: underline; }
.totals { padding: 16px 0; display: grid; gap: 4px; }
.totals > div { display: flex; justify-content: space-between; align-items: baseline; }
.totals strong { font-family: var(--display); font-size: 1.5rem; }
.order-form { display: grid; gap: 14px; padding: 18px; border-radius: 18px; background: var(--aqua-2); }
.toggle { grid-template-columns: 1fr 1fr; }
.toggle legend { grid-column: 1 / -1; margin-bottom: 6px; }
.toggle label { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; color: var(--ink); cursor: pointer; }
.toggle label:has(input:checked) { border-color: var(--turq-deep); background: #e5f7f4; box-shadow: inset 0 0 0 1px var(--turq-deep); }
.toggle input { accent-color: var(--turq-deep); width: 18px; height: 18px; margin: 0; }

.toast { position: fixed; left: 50%; bottom: 90px; z-index: 60; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .cart-button { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 30px; }
  .hero-art { height: 360px; max-width: 520px; width: 100%; margin: 0 auto; }
  .trust { grid-template-columns: 1fr 1fr; }
  .resell { grid-template-columns: 1fr; padding: 32px 22px; margin: 0 12px; border-radius: 24px; }
  .sizes { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .announce { gap: 4px 14px; font-size: .74rem; }
  .announce span:last-child { display: none; }
  .cart-label { display: none; }
  .hero-art { height: 300px; }
  .hero-actions .btn { flex: 1; padding: 12px 14px; white-space: nowrap; }
  .trust > div { padding: 12px; flex-direction: column; gap: 6px; }
  .section { padding: 40px 16px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 10px 10px 12px; }
  .card h3 { font-size: .92rem; }
  .price { font-size: 1.15rem; }
  .price-ask { font-size: .9rem; }
  .anchor { font-size: .7rem; }
  .rail { grid-auto-columns: 64%; }
  .filters { position: static; margin: 0 0 6px; padding: 0 0 12px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .filter-row { flex-wrap: wrap; }
  .steps ol { grid-template-columns: 1fr; }
  .visit { margin: 0 12px 40px; padding: 24px 20px; }
  .visit-actions, .visit-actions .btn { width: 100%; }
  .product-modal { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .product-layout { grid-template-columns: minmax(0, 1fr); max-height: 100dvh; overflow-y: auto; }
  .product-media img { height: auto; aspect-ratio: 1; }
  .product-body { overflow: visible; padding: 22px 18px 40px; }
  .drawer { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
