:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #1b1b1b;
  --muted: #6b6b6b;
  --line: #e3e3e3;
  --brand: #1b1b1b;
  --brand-ink: #ffffff;
  --accent: #c8102e;
  --soft: #f3f3f1;
  --ok: #1e7d43;
  --wa: #25d366;
  --radius: 4px;
  --shadow: 0 4px 14px rgba(0, 0, 0, .08);
  --serif: 'Archivo', Arial, sans-serif;
  --sans: 'Archivo', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.muted { color: var(--muted); }

/* Announcement + trust */
.announcement { background: var(--ink); color: #fff; text-align: center; font-size: .85rem; padding: 8px 16px; font-weight: 500; letter-spacing: .02em; }
.announcement a { text-decoration: none; }
.announcement:empty { display: none; }
.trust-strip { background: var(--soft); border-bottom: 1px solid var(--line); overflow: hidden; font-size: .8rem; color: var(--muted); }
.trust-track { display: flex; gap: 48px; padding: 7px 0; width: max-content; animation: marquee 30s linear infinite; }
.trust-track span::before { content: '✓'; color: var(--brand); margin-right: 8px; font-weight: 600; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trust-track { animation: none; } }

/* Header */
.header { background: var(--surface); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 12px; }
.logo { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; text-decoration: none; color: var(--brand); letter-spacing: -.02em; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.support { display: flex; align-items: center; gap: 6px; text-decoration: none; font-size: .9rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); }
.support:hover { border-color: var(--brand); }
.icon-btn { background: none; border: 0; cursor: pointer; padding: 8px; border-radius: 10px; position: relative; display: inline-flex; }
.icon-btn:hover { background: var(--soft); }
.cart-count { position: absolute; top: 0; right: 0; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 600; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.menu-btn { display: none; }
.nav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-inner a { white-space: nowrap; text-decoration: none; font-size: .92rem; font-weight: 500; padding: 10px 12px; border-bottom: 2px solid transparent; }
.nav-inner a:hover, .nav-inner a.active { border-color: var(--brand); color: var(--brand); }
.nav-inner a.sale { color: var(--accent); }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .support span { display: none; }
  .support { border: 0; padding: 8px; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav-inner { flex-direction: column; padding-bottom: 8px; }
  .logo { font-size: 1.45rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; background: var(--brand); color: var(--brand-ink); padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: transform .15s, background .15s; }
.btn:hover { background: #5a412f; }
.btn:active { transform: scale(.98); }
.btn.outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.outline:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.wa { background: var(--wa); color: #073b1b; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Sections */
section.block { padding: 56px 0; }
section.block.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.link-more { font-weight: 600; text-decoration: none; color: var(--brand); white-space: nowrap; }

/* Hero */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; color: #fff; background: linear-gradient(120deg, #3d2e23 0%, #6b4f3a 55%, #a07a5a 100%); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,22,16,.75), rgba(30,22,16,.2)); }
.hero .wrap { position: relative; width: 100%; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); max-width: 14ch; }
.hero p { font-size: 1.15rem; max-width: 46ch; opacity: .92; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn.outline { color: #fff; border-color: #fff; }
.hero .btn.outline:hover { background: #fff; color: var(--ink); }
.hero-badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); padding: 6px 14px; border-radius: 999px; font-size: .85rem; margin-bottom: 18px; backdrop-filter: blur(6px); }

.trust-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.trust-bar div { background: var(--surface); padding: 20px 16px; text-align: center; }
.trust-bar strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.trust-bar span { font-size: .85rem; color: var(--muted); }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; text-decoration: none; color: #fff; display: flex; align-items: flex-end; background: var(--soft); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,15,10,.75), transparent 60%); }
.cat-tile div { position: relative; z-index: 1; padding: 16px; }
.cat-tile h3 { font-size: 1.2rem; margin: 0 0 2px; }
.cat-tile small { opacity: .9; }

/* Product grid & card */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.row-scroll > * { scroll-snap-align: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { position: relative; aspect-ratio: 1; background: var(--soft); display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-type { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.card-title { font-weight: 600; text-decoration: none; line-height: 1.3; }
.card-title:hover { color: var(--brand); }
.card-finishes { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.price .from { font-size: .8rem; color: var(--muted); }
.price .now { font-size: 1.2rem; font-weight: 600; }
.price .now.sale { color: var(--accent); }
.price .was { text-decoration: line-through; color: var(--muted); font-size: .9rem; }
.card .btn { margin-top: auto; padding: 10px 16px; font-size: .88rem; }

/* Configurator & quiz */
.config { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.config img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .config { grid-template-columns: 1fr; padding: 18px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 11px 13px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: .88rem; }
.chip:hover { border-color: var(--muted); }
.chip.on { border-color: var(--brand); background: var(--brand); color: #fff; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; margin: 8px 0 16px; }
.total-line strong { font-size: 1.6rem; font-family: var(--serif); }

.quiz { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; text-align: center; }
.quiz .chips { justify-content: center; }
.quiz-step { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* Promises, reviews, FAQ */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.promise .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; color: var(--brand); margin-bottom: 12px; font-size: 1.2rem; }
.promise h3 { font-size: 1.1rem; margin-bottom: 4px; }
.promise p { margin: 0; color: var(--muted); font-size: .92rem; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stars { color: #d79b2b; letter-spacing: 2px; }
.review p { margin: 8px 0; }
.review small { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.zip-form { display: flex; gap: 8px; }
.zip-form input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 18px; }
.zip-result { margin-top: 12px; font-weight: 500; min-height: 1.5em; }
.zip-result.ok { color: var(--ok); }
.zip-result.no { color: var(--accent); }
.zones { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.zones span { background: var(--soft); border-radius: 999px; padding: 4px 12px; font-size: .82rem; }
.cta-band { background: var(--brand); color: #fff; border-radius: 24px; padding: 40px 28px; text-align: center; }
.cta-band p { opacity: .9; margin: 0 0 20px; }

/* Product page */
.breadcrumbs { font-size: .85rem; color: var(--muted); padding: 18px 0; }
.breadcrumbs a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 20px; } }
.gallery-main { border-radius: 18px; overflow: hidden; background: var(--soft); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; width: 72px; height: 72px; flex: none; cursor: pointer; background: var(--soft); }
.thumbs button.on { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.pdp .price .now { font-size: 1.8rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { border: 0; background: none; width: 40px; height: 44px; cursor: pointer; font-size: 1.1rem; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }
.buy-row { display: flex; gap: 12px; align-items: center; margin: 8px 0 20px; }
.buy-row .btn { flex: 1; }
.perks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: .92rem; }
.perks li::before { content: '✓'; color: var(--ok); font-weight: 700; margin-right: 10px; }
.desc { white-space: pre-line; color: #4a413a; }

/* Listing */
.listing-head { padding: 32px 0 8px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0 24px; flex-wrap: wrap; }
.toolbar select, .toolbar input { border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; background: #fff; }
.empty { text-align: center; padding: 60px 16px; color: var(--muted); }

/* Drawer / cart */
.overlay { position: fixed; inset: 0; background: rgba(20,15,10,.45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 40; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--surface); z-index: 50; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.3rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; }
.gift { background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: .88rem; margin-bottom: 14px; }
.gift .bar { height: 6px; background: #fff; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.gift .bar i { display: block; height: 100%; background: var(--brand); border-radius: 3px; transition: width .3s; }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--soft); }
.line-item .meta { font-size: .8rem; color: var(--muted); }
.line-item .name { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.line-item .qty { margin-top: 6px; }
.line-item .qty button { width: 30px; height: 30px; }
.line-item .remove { background: none; border: 0; color: var(--muted); font-size: .8rem; cursor: pointer; text-decoration: underline; padding: 0; }
.cart-foot { margin-top: auto; padding-top: 16px; }
.cart-foot .row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.cart-foot .row.total { font-size: 1.2rem; font-weight: 600; margin: 10px 0 16px; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding: 32px 0 64px; align-items: start; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 10px; cursor: pointer; background: #fff; }
.radio-card:has(input:checked) { border-color: var(--brand); background: #fbf8f4; }
.radio-card small { display: block; color: var(--muted); }
.summary { position: sticky; top: 130px; }
.error { color: var(--accent); font-weight: 500; margin: 8px 0; min-height: 1.4em; }
.success { text-align: center; padding: 80px 16px; max-width: 560px; margin: 0 auto; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 2rem; margin: 0 auto 20px; }

/* Footer */
.footer { background: var(--ink); color: #d9d0c6; padding: 56px 0 24px; margin-top: 40px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; margin: 0 0 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; display: inline-block; margin-bottom: 10px; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pay-icons span { border: 1px solid #5b5149; border-radius: 6px; padding: 3px 10px; font-size: .78rem; }
.footer-bottom { border-top: 1px solid #423a33; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: #a2978c; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 35; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .92rem; z-index: 60; transition: transform .3s; }
.toast.show { transform: translate(-50%, 0); }
.page { padding: 40px 0 64px; max-width: 780px; }
.page h1 { font-size: 2.2rem; }
.two-col > *, .config > *, .checkout > * { min-width: 0; }
.zip-form input { min-width: 0; }
@media (max-width: 520px) { .panel { padding: 20px; } }

/* ---------- Funciones ampliadas ---------- */
.small { font-size: .85rem; }
.ok-text { color: var(--ok); font-weight: 500; }
.btn.sm { padding: 7px 14px; font-size: .85rem; }
.link-btn { background: none; border: 0; color: var(--brand); cursor: pointer; text-decoration: underline; padding: 0; font-size: .85rem; }
.stars { color: #d79b2b; letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: #e3dacd; }

/* Buscador */
.search { flex: 1; max-width: 460px; position: relative; margin: 0 16px; }
.search input { width: 100%; border: 1.5px solid var(--line); background: var(--bg); border-radius: 999px; padding: 10px 18px; }
.search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.search-drop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; z-index: 40; max-height: 70vh; overflow-y: auto; }
.sd-title { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; }
.sd-pop, .sd-item, .sd-all { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.sd-pop:hover, .sd-item:hover, .sd-all:hover { background: var(--soft); }
.sd-item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.sd-item span { flex: 1; font-size: .92rem; }
.sd-all { color: var(--brand); font-weight: 600; justify-content: center; }
.search-btn { display: none; }
@media (max-width: 760px) {
  .search-btn { display: inline-flex; }
  .search { display: none; position: absolute; left: 0; right: 0; top: 66px; margin: 0; max-width: none; padding: 8px 16px; background: #fff; border-bottom: 1px solid var(--line); }
  .search.open { display: block; }
  .header-row { position: relative; }
}

/* Tarjetas */
.card-img .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.card-img.has-alt:hover .alt { opacity: 1; }
.badge.warn { left: auto; right: 10px; background: #d58a12; }
.badge.dark { left: auto; right: 10px; background: var(--ink); }
.card-rating { font-size: .85rem; }
.card-rating small { color: var(--muted); }
.cat-tile .badge { z-index: 2; }

/* Listado + filtros */
.listing { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; padding-bottom: 48px; }
.filters { position: sticky; top: 140px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; max-height: calc(100vh - 160px); overflow-y: auto; }
.fhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.fgroup { border-top: 1px solid var(--line); padding: 10px 0; }
.fgroup summary { cursor: pointer; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.check { display: flex; align-items: center; gap: 8px; font-size: .9rem; padding: 3px 0; cursor: pointer; }
.check input { accent-color: var(--brand); width: 16px; height: 16px; }
.prange { display: flex; gap: 6px; align-items: center; }
.prange input { width: 100%; min-width: 0; border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 8px; }
.filter-toggle, .mobile-only { display: none; }
@media (max-width: 860px) {
  .listing { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .mobile-only { display: flex; margin-top: 12px; }
  .filters { display: none; position: fixed; inset: 0; top: 0; z-index: 45; border-radius: 0; max-height: none; }
  .filters.open { display: block; }
}
.guide { margin: 8px 0 56px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.guide-body { max-height: 140px; overflow: hidden; position: relative; }
.guide-body::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(transparent, var(--surface)); }
.guide-body.open { max-height: none; }
.guide-body.open::after { display: none; }

/* Ficha */
.gallery-main { position: relative; }
.gallery-main .badge { font-size: .9rem; }
.rating-link { text-decoration: none; font-size: .92rem; display: inline-block; margin-bottom: 4px; }
.stock { font-weight: 600; margin: 0 0 12px; font-size: .92rem; }
.stock.ok { color: var(--ok); }
.stock.low { color: #c46d00; }
.stock.out { color: var(--accent); }
.chip small { opacity: .75; font-size: .75rem; margin-left: 4px; }
.extras { display: grid; gap: 8px; }
.extra { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; cursor: pointer; font-size: .92rem; }
.extra:has(input:checked) { border-color: var(--brand); background: #fbf8f4; }
.extra input { accent-color: var(--brand); width: 18px; height: 18px; }
.extra span { flex: 1; }
.delivery-check { background: var(--soft); border-radius: 12px; padding: 14px; margin: 16px 0; display: grid; gap: 8px; }
.delivery-check select { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; }
.delivery-check .zip-result { margin: 0; min-height: 0; }
.accordions details { border-top: 1px solid var(--line); padding: 14px 0; }
.accordions details:last-child { border-bottom: 1px solid var(--line); }
.accordions summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.accordions summary::after { content: '+'; color: var(--brand); font-size: 1.2rem; line-height: 1; }
.accordions details[open] summary::after { content: '–'; }
.accordions .desc { margin: 10px 0 0; }
.specs { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .92rem; }
.specs th, .specs td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.specs th { color: var(--muted); font-weight: 500; width: 40%; }
.complete { margin: 0 0 40px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.mini { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.mini img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.mini .name { font-weight: 600; font-size: .9rem; text-decoration: none; line-height: 1.3; display: block; }
.mini .meta { font-size: .85rem; color: var(--muted); }
.upsell { margin-top: 16px; }
.upsell h3 { font-size: 1rem; margin-bottom: 8px; }
.upsell .mini { margin-bottom: 8px; grid-template-columns: 52px 1fr auto; padding: 8px; }
.upsell .mini img { width: 52px; height: 52px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 0; z-index: 30; transform: translateY(110%); transition: transform .25s; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.sticky-buy.show { transform: none; }
.sticky-buy .wrap { display: flex; align-items: center; gap: 12px; padding-right: 88px; }
.sticky-buy .sb-name { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Opiniones */
.reviews-section { padding: 8px 0 48px; }
.rv-top { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
@media (max-width: 720px) { .rv-top { grid-template-columns: 1fr; } }
.rv-avg { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.rv-dist div { display: grid; grid-template-columns: 40px 1fr 30px; gap: 8px; align-items: center; font-size: .85rem; }
.bar { height: 6px; background: var(--soft); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.gift .bar { background: #fff; margin-top: 8px; }
.rv-form { margin-bottom: 16px; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input label { cursor: pointer; font-size: 1.8rem; color: #e3dacd; }
.star-input input { position: absolute; opacity: 0; }
.star-input label:has(input:checked), .star-input label:has(input:checked) ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #d79b2b; }

.rv-list { display: grid; gap: 12px; }
.rv-reply { background: var(--soft); border-radius: 10px; padding: 10px 12px; margin-top: 10px; font-size: .9rem; }
.review h4 { margin: 8px 0 0; font-family: var(--sans); font-size: 1rem; }

/* Newsletter, blog */
.newsletter { background: var(--brand); color: #fff; border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.newsletter p { opacity: .9; margin: 0; }
@media (max-width: 720px) { .newsletter { grid-template-columns: 1fr; padding: 24px; } }
.nl-form { display: flex; gap: 8px; }
.nl-form input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 12px 18px; }
.nl-ok { font-weight: 600; margin: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; }
.blog-card img, .blog-ph { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.blog-ph { background: var(--soft); display: grid; place-items: center; font-size: 2.4rem; }
.blog-card > div { padding: 16px; }
.blog-card h3 { font-size: 1.15rem; }
.blog-card p { color: var(--muted); margin: 0 0 10px; font-size: .92rem; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #4a413a; }
.page-img { border-radius: 16px; margin: 16px 0; }

/* Checkout extra */
.radio-card.disabled { opacity: .55; cursor: not-allowed; }
.coupon { display: flex; gap: 8px; margin-top: 14px; }
.coupon input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; }
.checkout h3 { margin-top: 16px; }

/* Seguimiento */
.steps { list-style: none; padding: 0; display: flex; gap: 8px; margin: 20px 0; flex-wrap: wrap; }
.steps li { flex: 1; min-width: 110px; text-align: center; padding: 10px; border-radius: 10px; background: var(--soft); color: var(--muted); font-weight: 600; font-size: .88rem; }
.steps li.done { background: var(--ok); color: #fff; }
.socials { margin-top: 12px; }
.newsletter > * { min-width: 0; }
@media (max-width: 420px) { .nl-form { flex-direction: column; } }

/* ---------- Estilo tienda (sobrio) ---------- */
body { font-size: 15px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.015em; }
h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.logo { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.35rem; color: var(--ink); }
.announcement { background: var(--accent); font-weight: 600; letter-spacing: .03em; }
.trust-strip { background: var(--soft); color: #444; }
.trust-track { animation: none; width: auto; justify-content: center; gap: 36px; padding: 6px 16px; flex-wrap: wrap; }
.trust-track span::before { content: none; }
@media (max-width: 640px) { .trust-track span:not(:first-child) { display: none; } }
.nav-inner a { font-weight: 600; font-size: .9rem; }
.nav-inner a:hover, .nav-inner a.active { border-color: var(--ink); color: var(--ink); }
.nav-inner a.sale { color: var(--accent); }

.btn, .support, .chip, .qty, .search input, .toolbar select, .toolbar input, .zip-form input, .coupon input,
.nl-form input, .toast, .hero-badge, .zones span, .delivery-check select { border-radius: var(--radius); }
.btn { padding: 12px 20px; font-weight: 600; transition: background .15s; }
.btn:hover { background: #000; }
.btn:active { transform: none; }
.btn.outline { border-width: 1px; }
.badge { border-radius: 2px; font-weight: 700; padding: 3px 8px; }
.cart-count { background: var(--accent); }

.card, .panel, .config, .quiz, .guide, .rv-top, .review, .promise, .blog-card, .mini, .filters, .gift, .delivery-check,
.extra, .radio-card, .rv-reply, .steps li, .search-drop, .gallery-main, .thumbs button, .page-img, .line-item img, .mini img,
.config img, .sd-item img { border-radius: var(--radius); }
.card { transition: border-color .15s; }
.card:hover { box-shadow: none; transform: none; border-color: #bdbdbd; }
.card-img, .gallery-main, .thumbs button { background: var(--soft); }
.card-type { letter-spacing: .04em; }
.price .now { font-weight: 700; }
.link-more { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
section.block { padding: 44px 0; }
section.block.alt { background: var(--soft); border: 0; }

.hero { min-height: 0; padding: 64px 0; background: var(--soft); color: var(--ink); }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 18ch; font-weight: 800; letter-spacing: -.025em; }
.hero p { color: #4a4a4a; opacity: 1; }
.hero .btn.outline { color: var(--ink); border-color: var(--ink); }
.hero .btn.outline:hover { background: var(--ink); color: #fff; }
.hero.has-img { min-height: 460px; color: #fff; }
.hero.has-img p { color: #fff; opacity: .92; }
.hero.has-img .btn { background: #fff; color: var(--ink); }
.hero.has-img .btn.outline { background: transparent; color: #fff; border-color: #fff; }

.trust-bar { display: block; background: #fff; border-block: 1px solid var(--line); }
.trust-bar > .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px; padding-block: 18px; background: none; text-align: left; }
.trust-bar > .wrap > div { background: none; padding: 0; text-align: left; }
.trust-bar strong { font-size: .95rem; font-weight: 700; }

.cat-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 20px 16px; }
.cat-tile { display: block; aspect-ratio: auto; color: var(--ink); background: none; border-radius: 0; }
.cat-tile::after { content: none; }
.cat-img { display: block; position: relative; aspect-ratio: 1; background: var(--soft); border-radius: var(--radius); overflow: hidden; }
.cat-tile:hover img { transform: none; }
.cat-tile div { padding: 10px 0 0; }
.cat-tile h3 { font-size: 1rem; margin: 0; }
.cat-tile:hover h3 { text-decoration: underline; }
.cat-tile small { color: var(--muted); opacity: 1; }

.chip.on { background: var(--ink); border-color: var(--ink); }
.chip, .extra, .radio-card, .field input, .field select, .field textarea, .qty { border-width: 1px; }
.radio-card:has(input:checked), .extra:has(input:checked) { border-color: var(--ink); background: #fafafa; }
.stars { color: #e0a100; }
.newsletter { background: var(--soft); color: var(--ink); border-radius: var(--radius); }
.newsletter p { color: var(--muted); opacity: 1; }
.newsletter .btn.light { background: var(--ink); color: #fff; }
.nl-form input { border: 1px solid var(--line); background: #fff; }
.footer { background: #141414; color: #c9c9c9; }
.footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-bottom { border-color: #2c2c2c; color: #8a8a8a; }
.pay-icons span { border-color: #3a3a3a; border-radius: 2px; }
.gift { background: var(--soft); }
.gift .bar i, .bar i { background: var(--ink); }
.toast { border-radius: var(--radius); }
.success h1 { margin-top: 0; }
.wa-float { width: 52px; height: 52px; }
.row-scroll { grid-auto-columns: calc((100% - 4 * 20px) / 5); }
@media (max-width: 1000px) { .row-scroll { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 640px) { .row-scroll { grid-auto-columns: 72%; gap: 12px; } }

/* ---------- Móvil ---------- */
body.lock { overflow: hidden; }
.menu-btn.on svg { display: none; }
.menu-btn.on::before { content: '✕'; font-size: 20px; line-height: 24px; width: 24px; text-align: center; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
@media (max-width: 760px) {
  input, select, textarea { font-size: 16px !important; } /* evita el zoom automático en iPhone */
  .header-row { height: 58px; }
  .logo { font-size: 1.15rem; letter-spacing: .05em; }
  .search { top: 58px; }
  .icon-btn { padding: 9px; }
  .nav.open { border-top: 1px solid var(--line); max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav.open .nav-inner { gap: 0; padding: 0 16px 8px; }
  .nav.open .nav-inner a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav.open .nav-inner a:last-child { border-bottom: 0; }
  .nav.open .nav-inner a.active { border-bottom-color: var(--line); }
  .announcement { font-size: .78rem; padding: 7px 12px; }
  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; margin-bottom: 20px; }
  .hero-actions .btn { flex: 1; padding-inline: 12px; }
  .trust-bar > .wrap { grid-template-columns: 1fr 1fr; gap: 14px 16px; padding-block: 16px; }
  .trust-bar strong { font-size: .88rem; }
  .trust-bar span { font-size: .8rem; }
  section.block { padding: 32px 0; }
  .section-head { margin-bottom: 16px; flex-wrap: nowrap; align-items: baseline; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .cat-tile .badge { top: 8px; left: 8px; font-size: .7rem; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 10px 10px 12px; }
  .card-title { font-size: .9rem; }
  .card-finishes { display: none; }
  .card .price .now { font-size: 1.05rem; }
  .card .btn { padding: 9px 8px; font-size: .82rem; }
  .card .badge { top: 6px; left: 6px; font-size: .7rem; }
  .card .badge.warn, .card .badge.dark { left: auto; right: 6px; }
  .pdp h1 { font-size: 1.5rem; }
  .buy-row { position: relative; }
  .panel, .config, .quiz, .guide { padding: 18px; }
  .newsletter { padding: 20px; }
  .footer { padding-top: 40px; }
  .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .sticky-buy .wrap { padding-right: 76px; }
  .sticky-buy .btn { padding: 10px 14px; }
  .drawer { width: 100%; }
  .toolbar { margin: 12px 0 16px; }
  .listing-head { padding-top: 20px; }
}
/* En el carrito, checkout y con el menú abierto, el botón de WhatsApp estorba */
body.lock .wa-float, body.menu-open .wa-float, body.no-wa .wa-float { display: none; }
.toast { visibility: hidden; }
.toast.show { visibility: visible; }
.tb-actions { display: flex; gap: 8px; align-items: center; }
.mobile-close { display: none; }
.hero-actions .btn, .config .btn { white-space: nowrap; }
@media (max-width: 860px) {
  .toolbar { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .tb-actions > * { flex: 1; min-width: 0; height: 44px; }
  .toolbar select { padding: 0 10px; }
  .filters { padding: 0; display: none; flex-direction: column; }
  .filters.open { display: flex; }
  .filters .fhead { position: sticky; top: 0; background: #fff; padding: 12px 16px; margin: 0; border-bottom: 1px solid var(--line); gap: 12px; z-index: 1; }
  .filters .fhead strong { flex: 1; font-size: 1.05rem; }
  .mobile-close { display: inline-flex; font-size: 18px; }
  .filters .fgroup { padding: 4px 16px; }
  .filters .fgroup summary { padding: 12px 0; margin: 0; font-size: 1rem; }
  .filters .check { padding: 8px 0; font-size: 1rem; }
  .filters .check input { width: 20px; height: 20px; }
  .f-foot { position: sticky; bottom: 0; margin-top: auto; background: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: block; }
  .f-foot.mobile-only { display: block; }
}
@media (max-width: 640px) {
  .row-scroll { grid-auto-columns: calc(50% - 6px); gap: 12px; }
  .config img { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .hero-actions { flex-wrap: nowrap; }
  .blog-card h3 { font-size: 1.05rem; }
}
.sticky-buy, .drawer-body, .f-foot { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
.wrap.checkout { padding-inline: 16px; }
input[type=radio], input[type=checkbox] { accent-color: var(--ink); }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: '+'; font-weight: 400; }
.fgroup[open] summary::after { content: '–'; }
body:has(.sticky-buy.show) .wa-float { bottom: 78px; }
@media (max-width: 860px) {
  .checkout { padding-top: 16px; gap: 16px; }
  .checkout .summary { order: -1; position: static; }
  .checkout .panel { padding: 16px; }
}
.wrap.page { padding-inline: 16px; }
@media (max-width: 640px) { .page { padding-top: 24px; } .page h1 { font-size: 1.6rem; } }

/* Cinta de textos en movimiento */
.trust-strip { overflow: hidden; }
.trust-track { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; padding: 6px 0; animation: marquee 45s linear infinite; }
.trust-track span { white-space: nowrap; padding-right: 48px; }
.trust-track span::before { content: '•'; margin-right: 48px; color: #9a9a9a; }
.trust-strip:hover .trust-track { animation-play-state: paused; }
@media (max-width: 640px) { .trust-track span:not(:first-child) { display: inline; } }
@media (prefers-reduced-motion: reduce) { .trust-track { animation: marquee 60s linear infinite; } }
.field small { font-size: .8rem; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 40px; height: 41px; flex: none; }
.footer .logo img { background: #faf6f2; border-radius: 6px; padding: 3px; width: 36px; height: 36px; }
@media (max-width: 760px) { .logo { gap: 7px; } .logo img { width: 28px; height: 29px; } }
.header .logo { color: #46331f; }
.seo-links { padding-left: 18px; line-height: 1.9; }
.footer .seo-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }

/* Descripción de producto con párrafos y listas */
.desc.prose { white-space: normal; }
.desc.prose p { margin: 0 0 10px; }
.desc.prose h3 { font-size: 15px; margin: 14px 0 6px; }
.desc.prose ul { margin: 0 0 10px; padding-left: 18px; }
.desc.prose li { margin: 3px 0; }
