/* LumaMarket — tienda de hogar y deco */
:root {
  --cream: #f7f3ed;
  --sand: #ece4d8;
  --paper: #fffdf9;
  --ink: #1f1c18;
  --ink-2: #4b453d;
  --muted: #847b70;
  --line: #e3dbcf;
  --terra: #b5532f;
  --terra-2: #9a4425;
  --sage: #5f6b55;
  --ok: #2f7a4a;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --max: 1320px;
  --g: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; display: block; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .3s var(--ease); white-space: nowrap; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--terra); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-outline { border-color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--terra); }

/* Barra de anuncios */
.announce { background: var(--ink); color: #efe7db; font-size: 12.5px; letter-spacing: .02em; overflow: hidden; }
.announce-track { display: flex; gap: 48px; width: max-content; padding: 9px 0; animation: ticker 32s linear infinite; }
.announce span { white-space: nowrap; }
.announce b { color: #fff; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Header */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255, 253, 249, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -0.03em; justify-self: center; }
.logo svg { width: 30px; height: 30px; }
.nav-main { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.nav-main a { position: relative; padding: 6px 0; }
.nav-main a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-main a:hover::after, .nav-main a[aria-current]::after { transform: scaleX(1); }
.nav-main .sale { color: var(--terra); }
.tools { display: flex; justify-content: flex-end; gap: 4px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--terra); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.count[hidden] { display: none; }
.menu-btn { display: none; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 40px; border-radius: 999px; background: var(--cream); font-size: 13.5px; color: var(--muted); min-width: 0; }
.search svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.search input { border: 0; background: transparent; outline: 0; width: 100%; min-width: 0; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; min-height: min(78vh, 720px); background: var(--cream); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(40px, 6vw, 96px) var(--g) clamp(40px, 6vw, 96px) max(var(--g), calc((100vw - var(--max)) / 2 + var(--g))); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.hero h1 { font-size: clamp(44px, 6vw, 86px); font-weight: 400; }
.hero h1 em { font-style: italic; color: var(--terra); }
.hero p.lead { max-width: 440px; font-size: 17px; color: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-tag { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(255, 253, 249, .94); backdrop-filter: blur(8px); font-size: 13px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .3); }
.hero-tag img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.hero-tag b { display: block; font-size: 14px; }

/* Beneficios */
.perks-bar { border-bottom: 1px solid var(--line); }
.perks-bar ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.perks-bar li { display: flex; align-items: center; gap: 14px; padding: 22px 0; font-size: 13.5px; color: var(--ink-2); }
.perks-bar li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.perks-bar svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--terra); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.perks-bar b { display: block; color: var(--ink); font-size: 14px; }

/* Secciones */
.sec { padding: clamp(56px, 8vw, 110px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 48px); }
.sec-head p { color: var(--muted); max-width: 460px; margin-top: 10px; }
.arrow-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.arrow-link:hover { color: var(--terra); }

/* Categorías */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; color: #fff; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat:hover img { transform: scale(1.06); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20, 16, 12, .6)); }
.cat span { position: absolute; left: 20px; bottom: 18px; z-index: 1; font-family: var(--serif); font-size: 26px; }
.cat small { display: block; font-family: var(--sans); font-size: 12.5px; opacity: .85; }

/* Tarjetas de producto */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.pcard { position: relative; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 10px; border-radius: 999px; background: var(--paper); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.badge-sale { background: var(--terra); color: #fff; }
.pdp-info .badge { position: static; }
.fav { z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .9); display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
.fav:hover { transform: scale(1.08); }
.fav svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.fav.on svg { fill: var(--terra); stroke: var(--terra); }
.quick-add { z-index: 2; opacity: 0; transform: translateY(8px); padding: 12px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: opacity .25s, transform .3s var(--ease), background .2s; }
.pcard:hover .quick-add, .pcard:focus-within .quick-add { opacity: 1; transform: none; }
.quick-add:hover { background: var(--terra); }
.pcard-body { display: grid; gap: 4px; padding-top: 14px; }
.pcard-cat { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pcard h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.pcard h3:hover { color: var(--terra); }
.pcard-rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.stars { color: #c98a2e; letter-spacing: 1px; font-size: 13px; }
.stars span { color: #ddd3c4; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.price-row strong { font-size: 17px; }
.price-row s { color: var(--muted); font-size: 13.5px; }
.cuotas { font-size: 12.5px; color: var(--ok); font-weight: 600; }
.swatches { display: flex; gap: 6px; margin-top: 6px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }

/* Foto, favorito y botón rápido comparten la misma celda */
.pcard { display: grid; grid-template-rows: auto auto; }
.pcard-media, .pcard .fav, .pcard .quick-add { grid-row: 1; grid-column: 1; }
.pcard .fav { position: relative; top: 10px; right: 10px; justify-self: end; align-self: start; }
.pcard .quick-add { align-self: end; margin: 0 12px 12px; }

/* Editorial */
.editorial { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: stretch; background: var(--sage); color: #f3efe6; border-radius: calc(var(--r) * 1.5); overflow: hidden; }
.editorial img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.editorial-copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(32px, 5vw, 72px); }
.editorial-copy .kicker { color: #e8d9b8; }
.editorial-copy h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 400; }
.editorial-copy p { color: rgba(243, 239, 230, .85); max-width: 420px; }

/* Reseñas */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { padding: 28px; border-radius: var(--r); background: var(--cream); display: grid; gap: 14px; align-content: start; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.4; }
.review footer { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.review footer img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.review footer b { color: var(--ink); display: block; }
.verified { color: var(--ok); font-weight: 600; font-size: 12px; }

/* Newsletter */
.newsletter { background: var(--cream); text-align: center; }
.newsletter h2 { font-size: clamp(30px, 3.6vw, 46px); max-width: 640px; margin: 0 auto 12px; }
.newsletter p { color: var(--muted); }
.nl-form { display: flex; gap: 8px; max-width: 480px; margin: 26px auto 0; padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.nl-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; outline: 0; }
.nl-ok { margin-top: 24px; font-weight: 600; color: var(--ok); }

/* Footer */
.footer { background: var(--ink); color: #cfc6b8; padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer .logo { color: #fff; justify-self: start; margin-bottom: 14px; }
.footer h4 { margin: 0 0 14px; color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.footer li { margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; color: #9b9184; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-icons span { padding: 5px 10px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .18); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.summary .pay-icons span { border-color: var(--line); color: var(--muted); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20, 16, 12, .45); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 24px; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot[hidden] { display: none; }
.drawer-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; }
.ship-bar { padding: 16px 0 8px; font-size: 13px; }
.ship-bar span { display: block; height: 5px; margin-top: 8px; border-radius: 3px; background: var(--sand); overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: var(--sage); transition: width .5s var(--ease); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-img img { width: 76px; height: 92px; object-fit: cover; border-radius: 10px; background: var(--sand); }
.line-info { display: grid; gap: 6px; font-size: 14px; }
.line-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.line-meta i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.line-end { display: grid; gap: 4px; justify-items: end; font-size: 14px; }
.line-end .muted { font-size: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; width: max-content; }
.qty button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 16px; border-radius: 50%; }
.qty button:hover { background: var(--sand); }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: 14px; }
.qty-lg button { width: 46px; height: 50px; }
.empty { padding: 40px 0; text-align: center; display: grid; gap: 16px; justify-items: center; color: var(--muted); }
.empty.big { padding: 80px 0; }
.empty.big h2 { color: var(--ink); font-size: 36px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .4); transform: translate(-50%, 140%); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }

/* Breadcrumb + títulos de página */
.crumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; font-size: 13px; color: var(--muted); }
.crumb a:hover { color: var(--ink); }
.page-title { padding: 24px 0 8px; }
.page-title h1 { font-size: clamp(36px, 4.6vw, 60px); }

/* Catálogo */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-bottom: 96px; }
.filters { position: sticky; top: 96px; align-self: start; display: grid; gap: 28px; }
.filters h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.f-list { display: grid; gap: 4px; }
.f-list button { text-align: left; padding: 8px 12px; border-radius: 8px; border: 0; background: none; cursor: pointer; font-size: 14.5px; }
.f-list button:hover { background: var(--cream); }
.f-list button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.range input { width: 100%; accent-color: var(--terra); }
.range p { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: center; font-size: 14.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--terra); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 14px; }
.toolbar select { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }
.filters-toggle { display: none; }
.shop-layout .grid { grid-template-columns: repeat(3, 1fr); }

/* Ficha */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); padding-bottom: 72px; }
.pdp-gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-self: start; position: sticky; top: 96px; }
.pdp-thumbs { display: grid; gap: 10px; align-content: start; }
.pdp-thumbs button { padding: 0; border: 1.5px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--sand); }
.pdp-thumbs button[aria-current] { border-color: var(--ink); }
.pdp-thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pdp-main { position: relative; border-radius: var(--r); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: grid; gap: 16px; align-content: start; }
.pdp-info h1 { font-size: clamp(34px, 3.6vw, 50px); }
.price-row.big strong { font-size: 30px; font-family: var(--serif); font-weight: 500; }
.pay-lines { display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); padding: 14px 16px; border-radius: 12px; background: var(--cream); }
.pay-lines b { color: var(--ok); }
.pdp-desc { color: var(--ink-2); }
.opt { display: grid; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.color-pick { display: flex; gap: 10px; }
.color-pick button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); cursor: pointer; outline-offset: 3px; }
.color-pick button[aria-pressed="true"] { outline: 2px solid var(--ink); }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn { padding: 16px 24px; }
.ship-calc { display: grid; gap: 8px; padding-top: 6px; }
.ship-calc label { font-weight: 600; font-size: 14px; }
.ship-calc div { display: flex; gap: 8px; }
.ship-calc input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }
.ship-calc p { font-size: 14px; }
.perks { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.perks li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 10px; }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; line-height: 1; transition: transform .3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding-bottom: 16px; color: var(--ink-2); font-size: 14.5px; }

/* Carrito y checkout */
.cart-grid, .co-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; padding-bottom: 96px; }
.summary { position: sticky; top: 96px; padding: 28px; border-radius: var(--r); background: var(--cream); display: grid; gap: 12px; }
.summary h2 { font-size: 26px; margin-bottom: 4px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; }
.sum-row.ok { color: var(--ok); }
.sum-row.total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 19px; font-weight: 700; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }

.steps { display: flex; gap: 8px; margin-bottom: 28px; counter-reset: s; }
.steps span { flex: 1; display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.steps span::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sand); font-size: 12.5px; }
.steps span.active { color: var(--ink); border-color: var(--ink); }
.steps span.active::before { background: var(--ink); color: var(--paper); }
.steps span.done { color: var(--ok); border-color: var(--ok); }
.steps span.done::before { content: "✓"; background: var(--ok); color: #fff; }
.co-form { display: grid; gap: 18px; }
.co-form h2 { font-size: 28px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.field.full { grid-column: 1 / -1; }
.field input, .field select { padding: 13px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); font-weight: 400; font-size: 15px; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31, 28, 24, .08); }
.choice { display: grid; gap: 10px; }
.choice label { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; font-size: 14.5px; }
.choice label:has(input:checked) { border-color: var(--ink); background: var(--cream); }
.choice input { accent-color: var(--ink); width: 18px; height: 18px; }
.choice b { margin-left: auto; }
.choice small { display: block; color: var(--muted); }
.co-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.co-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.co-img { position: relative; }
.co-img img { width: 56px; height: 64px; border-radius: 8px; object-fit: cover; }
.co-img b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 11px; display: grid; place-items: center; }
.secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.done-box { max-width: 560px; margin: 40px auto 120px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.done-box h1 { font-size: 46px; }
.done-check { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 34px; }
.demo-note { font-size: 13px; color: var(--muted); padding: 10px 14px; border-radius: 10px; background: var(--cream); }

/* Cuenta y panel */
.acc-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-bottom: 96px; align-items: start; }
.side-menu { display: grid; gap: 4px; padding: 16px; border-radius: var(--r); background: var(--cream); }
.side-menu a { padding: 10px 14px; border-radius: 8px; font-size: 14.5px; }
.side-menu a[aria-current] { background: var(--ink); color: var(--paper); }
.panel { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 24px; margin-bottom: 16px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 12px 12px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--sand); }
.pill.ok { background: #e3f0e6; color: var(--ok); }
.pill.warn { background: #fbecd9; color: #a3610e; }
.pill.info { background: #e6edf5; color: #2c5a85; }
.prod-cell { display: flex; align-items: center; gap: 12px; }
.prod-cell img { width: 40px; height: 48px; object-fit: cover; border-radius: 6px; }

.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: #f5f2ed; }
.admin-side { background: var(--ink); color: #cfc6b8; padding: 24px 16px; display: flex; flex-direction: column; gap: 28px; }
.admin-side .logo { color: #fff; justify-self: start; font-size: 22px; }
.admin-side nav { display: grid; gap: 2px; }
.admin-side nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.admin-side nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.admin-side nav a[aria-current] { background: rgba(255, 255, 255, .1); color: #fff; }
.admin-side svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.admin-main { padding: 28px clamp(16px, 3vw, 40px); display: grid; gap: 20px; align-content: start; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.admin-top h1 { font-size: 32px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { background: var(--paper); border-radius: var(--r); padding: 20px; display: grid; gap: 6px; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi strong { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.kpi em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ok); }
.admin-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.admin .panel { background: var(--paper); border: 0; }
.chart { display: flex; align-items: end; gap: 10px; height: 200px; padding-top: 10px; }
.chart div { flex: 1; display: grid; gap: 6px; justify-items: center; height: 100%; align-content: end; font-size: 11px; color: var(--muted); }
.chart i { width: 100%; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--terra), #d98a63); }
.stock-list { display: grid; gap: 12px; font-size: 14px; }
.stock-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .shop-layout .grid { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; height: 64px; }
  .logo { justify-self: start; font-size: 22px; }
  .menu-btn { display: grid; }
  .nav-main { position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0; padding: 8px var(--g) 20px; background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(calc(-100% - 120px)); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; z-index: -1; }
  .nav-main.open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  .nav-main a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .search { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { aspect-ratio: 4 / 3; order: -1; }
  .hero-copy { padding: 36px var(--g) 48px; }
  .perks-bar ul { grid-template-columns: 1fr 1fr; }
  .perks-bar li:nth-child(3) { padding-left: 0; border-left: 0; }
  .cats { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .editorial { grid-template-columns: 1fr; }
  .editorial img { min-height: 280px; }
  .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; gap: 0; }
  .filters-toggle { display: inline-flex; }
  .filters { position: static; display: none; padding: 20px; margin-bottom: 20px; border-radius: var(--r); background: var(--cream); }
  .filters.open { display: grid; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; grid-template-columns: 1fr; }
  .pdp-thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; }
  .cart-grid, .co-grid, .acc-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .admin { grid-template-columns: 1fr; }
  .admin-side { flex-direction: row; align-items: center; overflow-x: auto; padding: 12px 16px; }
  .admin-side nav { grid-auto-flow: column; }
  .admin-2 { grid-template-columns: 1fr; }
  .quick-add { opacity: 1; transform: none; padding: 9px; font-size: 12.5px; }
}
@media (max-width: 560px) {
  .perks-bar ul { grid-template-columns: 1fr; }
  .perks-bar li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .shop-layout .grid { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .table { font-size: 13px; }
  .table .hide-sm { display: none; }
  .pcard h3 { font-size: 14.5px; }
  .cuotas { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
.admin-main, .acc-grid > *, .cart-grid > *, .co-grid > * { min-width: 0; }
.panel { overflow-x: auto; }
