/* Tienda: estilo elegante — tonos espresso, dorado y crema; Marcellus + Jost */
:root {
  --ink: #18140f; --ink-2: #2a241c; --text: #18140f; --muted: #6f665a; --gold: #b68230;
  --cream: #fbf8f2; --sand: #e9dfcc; --line: #ece5d8; --white: #fff;
  --ok: #2f6b3f; --ok-bg: #eaf3ea; --err: #a1301f; --err-bg: #fbecea; --info-bg: #f4eee2;
  --serif: "Marcellus", Georgia, serif; --sans: "Jost", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; }
h4 { font: 500 .78rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.r { text-align: right; }
.err { color: var(--err); display: block; }
.ic { width: 18px; height: 18px; flex: none; }
.kicker { display: inline-block; font: 500 .74rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 16px 28px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--gold); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn.full { width: 100%; }
.btn.grow { flex: 1; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: .8rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.link-arrow:hover { color: var(--ink); }

/* Barra superior y cabecera */
.topbar { background: var(--ink); color: var(--sand); font-size: .78rem; letter-spacing: .03em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ic { width: 14px; height: 14px; color: var(--gold); }
.topbar-r { gap: 22px !important; }
.topbar a:hover { color: #fff; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.logo { display: flex; align-items: center; gap: 14px; flex: none; }
.logo img { max-height: 52px; width: auto; }
.monogram { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: grid; place-items: center; font: 1.4rem var(--serif); }
.logo-txt b { display: block; font: 400 1.45rem/1.1 var(--serif); letter-spacing: .06em; text-transform: uppercase; }
.logo-txt small { display: block; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.search { flex: 1; max-width: 520px; margin-left: auto; display: flex; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 22px; }
.search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: .92rem; outline: 0; color: var(--text); min-width: 0; }
.search button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gold); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search button:hover { background: var(--ink); }
.header-actions { display: flex; gap: 22px; margin-left: auto; }
.hact { display: flex; align-items: center; gap: 10px; font-size: .9rem; line-height: 1.15; }
.hact small { display: block; font-size: .7rem; color: var(--muted); }
.hact .ic { width: 22px; height: 22px; }
.hact:hover { color: var(--gold); }
.bag { position: relative; display: inline-flex; }
.bag i { position: absolute; top: -8px; right: -9px; background: var(--gold); color: #fff; font: 500 .65rem/18px var(--sans); font-style: normal; min-width: 18px; height: 18px; border-radius: 9px; text-align: center; padding: 0 4px; }
.menu { display: flex; justify-content: center; gap: 4px 38px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 0 16px; }
.menu a { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; padding: 15px 0 13px; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a.on { color: var(--gold); }
.menu a.on { border-bottom-color: var(--gold); }
.menu-mobile-only { display: none; }
.burger { display: none; background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink); }
.burger .ic { width: 26px; height: 26px; }

.flashes { padding-top: 16px; }
.flash { padding: 13px 18px; border-left: 3px solid; margin-bottom: 8px; font-size: .92rem; }
.flash.ok { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.flash.error { background: var(--err-bg); border-color: var(--err); color: var(--err); }
.flash.info { background: var(--info-bg); border-color: var(--gold); color: var(--ink-2); }

/* Hero */
.hero { position: relative; background: var(--ink) linear-gradient(120deg, #18140f 0%, #3a2f22 60%, #5a4630 100%); background-size: cover; background-position: center; color: #fff; min-height: 560px; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,20,15,.88) 0%, rgba(24,20,15,.55) 50%, rgba(24,20,15,.15) 100%); }
.hero-in { position: relative; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); max-width: 640px; }
.hero p { max-width: 520px; color: rgba(255,255,255,.82); font-size: 1.05rem; font-weight: 300; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Beneficios */
.perks { border-bottom: 1px solid var(--line); }
.perks-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 28px 20px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk .ic { width: 30px; height: 30px; color: var(--gold); }
.perk b { display: block; font-weight: 500; font-size: .95rem; }
.perk span { font-size: .84rem; color: var(--muted); }

/* Secciones */
.section { padding: 84px 0; }
.section.pt0 { padding-top: 0; }
.section.pt-s { padding-top: 28px; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .product-info h3 a { color: #fff; }
.section-dark .price { color: var(--sand); }
.section-dark .product-img { background: #241e17; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 42px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-head.center { justify-content: center; text-align: center; }

/* Tarjetas de producto */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }
.products.three { grid-template-columns: repeat(3, 1fr); }
.product-media { position: relative; overflow: hidden; }
.product-img { display: block; aspect-ratio: 10 / 11; background: #f3ede2; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product:hover .product-img img { transform: scale(1.05); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; color: #cdb48a; }
.ph .ic { width: 54px; height: 54px; stroke-width: 1; }
.ph.big .ic { width: 90px; height: 90px; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { background: #fff; color: var(--ink); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; font-weight: 500; }
.badge.gold { background: var(--gold); color: #fff; }
.badge.dark { background: var(--ink); color: #fff; }
.product-add { position: absolute; left: 12px; right: 12px; bottom: 12px; transform: translateY(calc(100% + 14px)); transition: transform .3s ease; }
.product:hover .product-add, .product:focus-within .product-add { transform: none; }
.product-add .btn { width: 100%; padding: 13px; font-size: .74rem; }
.product-info { padding-top: 16px; text-align: center; }
.product-info .kicker { font-size: .66rem; margin-bottom: 4px; }
.product-info h3 { font-size: 1.05rem; margin-bottom: 6px; }
.product-info h3 a:hover { color: var(--gold); }
.price { font-weight: 500; letter-spacing: .02em; }
.price s { color: var(--muted); font-weight: 400; font-size: .88em; margin-left: 6px; }
.price.big { font-size: 1.7rem; font-family: var(--serif); }

/* Colecciones */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tile { position: relative; min-height: 300px; display: flex; align-items: flex-end; background: linear-gradient(135deg, #3a2f22, #18140f) center / cover; color: #fff; overflow: hidden; border-radius: 4px; }
.tile.big { min-height: 420px; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,20,15,.85) 0%, rgba(24,20,15,.1) 70%); transition: background .3s; }
.tile:hover::before { background: linear-gradient(0deg, rgba(24,20,15,.92) 0%, rgba(24,20,15,.25) 80%); }
.tile-in { position: relative; padding: 30px; }
.tile h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); margin-bottom: 6px; }
.tile p { color: rgba(255,255,255,.8); font-size: .9rem; max-width: 380px; }
.tile-cta { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }

/* CTA y pie */
.cta { background: var(--ink-2); color: #fff; padding: 70px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta p { color: rgba(255,255,255,.72); margin: 0; }
.cta .hero-btns { margin: 0; }
.footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: .92rem; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: #fff; }
.footer a { display: block; padding: 3px 0; }
.footer a:hover { color: var(--gold); }
.footer .logo { display: flex; margin-bottom: 18px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 16px; font-size: .8rem; }
.footer-bottom .pay { display: inline-flex; gap: 8px; align-items: center; }
.wa { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 40; transition: transform .2s; }
.wa:hover { transform: scale(1.07); }
.wa svg { width: 32px; height: 32px; }

/* Encabezados de página / tienda */
.page-head { padding: 46px 0 36px; }
.page-head p { color: var(--muted); max-width: 640px; }
.crumbs { font-size: .78rem; letter-spacing: .06em; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold); }
.shop { display: grid; grid-template-columns: 220px 1fr; gap: 44px; }
.shop-side a { display: block; padding: 6px 0; font-size: .92rem; color: var(--muted); }
.shop-side a.on, .shop-side a:hover { color: var(--gold); }
.shop-side h4 { margin-top: 28px; }
.shop-side h4:first-child { margin-top: 0; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 30px; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--muted); flex-wrap: wrap; }
.shop-bar label { display: flex; align-items: center; gap: 10px; }
.shop-bar select { width: auto; padding: 8px 12px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pager a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); }
.pager a.on, .pager a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 70px 16px; max-width: 520px; margin: 0 auto; }
.empty .ph { width: 70px; height: 70px; margin: 0 auto 10px; }

/* Ficha de producto */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.gallery { position: sticky; top: 160px; }
.gallery-main { position: relative; aspect-ratio: 1; background: #f3ede2; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumbs button { width: 80px; height: 80px; padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; opacity: .65; }
.gallery-thumbs button.on, .gallery-thumbs button:hover { opacity: 1; border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.stock { font-size: .88rem; color: var(--ok); margin: 18px 0 14px; display: flex; align-items: center; gap: 8px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.low { color: #b36b12; }
.stock.out { color: var(--err); }
.buy { display: flex; gap: 12px; margin-bottom: 12px; }
.qty-box { display: inline-flex; border: 1px solid var(--sand); align-items: stretch; }
.qty-box button { width: 44px; background: none; border: 0; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.qty-box button:hover { color: var(--gold); }
.qty-box input { width: 50px; border: 0; text-align: center; font: inherit; -moz-appearance: textfield; padding: 0; background: transparent; }
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-box.small button { width: 34px; }
.qty-box.small input { width: 38px; height: 38px; }
.pdp-perks { list-style: none; padding: 22px 0; margin: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-perks li { display: flex; gap: 12px; align-items: center; padding: 6px 0; font-size: .92rem; }
.pdp-perks .ic { color: var(--gold); }
.desc p { color: var(--ink-2); font-weight: 300; }

/* Formularios */
label { display: block; font-size: .84rem; color: var(--ink-2); font-weight: 500; letter-spacing: .02em; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: .95rem; padding: 12px 14px; border: 1px solid var(--sand); background: #fff; border-radius: 2px; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182,130,48,.15); }
input:disabled { background: var(--cream); color: var(--muted); }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
label.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); }
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.row > label { flex: 1 1 200px; }
.stack > * + * { margin-top: 16px; }
details summary { cursor: pointer; font-size: .88rem; color: var(--gold); margin-bottom: 10px; }
.box { background: #fff; border: 1px solid var(--line); padding: 28px; }
.box h3 { margin-bottom: 14px; }
.box + .box { margin-top: 20px; }
.box.narrow { max-width: 480px; margin: 0 auto; }
.auth { background: var(--cream); }
.auth h1 { font-size: 2.2rem; }
.auth-alt { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; text-align: center; }
.auth-alt p { color: var(--muted); font-size: .9rem; }

/* Carro y checkout */
.cart { display: grid; grid-template-columns: 1fr 400px; gap: 44px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 1fr 160px 120px; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-row.head { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0 0 12px; }
.cart-prod { display: flex; gap: 18px; align-items: center; }
.cart-img { width: 90px; height: 100px; flex: none; background: #f3ede2; display: grid; place-items: center; color: #cdb48a; }
.cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-img .ic { width: 34px; height: 34px; stroke-width: 1; }
.cart-name { display: block; font: 1.05rem var(--serif); margin-bottom: 4px; }
.cart-name:hover { color: var(--gold); }
.cart-qty { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.link-arrow.back { margin-top: 24px; }
.cart-sum { background: var(--cream); padding: 30px; position: sticky; top: 160px; }
.coupon { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.coupon input { margin: 0; flex: 1; padding: 11px 12px; }
.coupon .btn { padding: 12px 16px; font-size: .72rem; }
.tag { background: var(--ink); color: #fff; font-size: .78rem; letter-spacing: .1em; padding: 5px 10px; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 20px 0; font-size: .95rem; }
.totals dd { margin: 0; text-align: right; }
.totals .disc { color: var(--ok); }
.totals .grand { font: 1.35rem var(--serif); border-top: 1px solid var(--sand); padding-top: 14px; margin-top: 4px; }
.totals .grand small { font: .72rem var(--sans); color: var(--muted); }
.free-ship { font-size: .85rem; background: #fff; padding: 10px 12px; border-left: 2px solid var(--gold); }
.secure, .webpay-note { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.webpay-note { justify-content: flex-start; align-items: flex-start; }
.webpay-note .ic, .secure .ic { color: var(--gold); }
.sum-items { list-style: none; padding: 0; margin: 0 0 20px; }
.sum-items li { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 8px 0; font-size: .92rem; }
.sum-img { position: relative; width: 60px; height: 64px; background: #f3ede2; display: grid; place-items: center; color: #cdb48a; border: 1px solid var(--line); }
.sum-img img { width: 100%; height: 100%; object-fit: cover; }
.sum-img i { position: absolute; top: -8px; right: -8px; background: var(--muted); color: #fff; font: 500 .7rem/20px var(--sans); width: 20px; height: 20px; border-radius: 50%; text-align: center; }
.delivery .opt { display: flex; align-items: center; gap: 14px; border: 1px solid var(--sand); padding: 16px 18px; cursor: pointer; font-weight: 400; }
.delivery .opt + .opt { margin-top: 10px; }
.delivery .opt.on { border-color: var(--gold); background: var(--cream); }
.delivery .opt input { width: 16px; margin: 0; accent-color: var(--gold); }
.delivery .opt span { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.delivery .opt span .ic { color: var(--gold); }
.delivery .opt small { flex-basis: 100%; color: var(--muted); padding-left: 28px; }
.delivery em { font-style: normal; font-weight: 500; }

/* Cuenta y pedidos */
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.h-line { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 0; }
.orders .order-row { display: grid; grid-template-columns: 1fr auto 120px; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.order-row:hover { background: var(--cream); }
.order-row small { display: block; color: var(--muted); font-size: .82rem; }
.order-row > b:last-child { text-align: right; }
.st { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; background: var(--info-bg); color: var(--ink-2); white-space: nowrap; }
.st.pagado { background: var(--ok-bg); color: var(--ok); }
.st.rechazado, .st.anulado, .st.reembolsado { background: var(--err-bg); color: var(--err); }
.narrow-wrap { max-width: 1000px; }
.result { display: flex; gap: 18px; align-items: center; padding: 26px 30px; margin-bottom: 30px; }
.result .ic { width: 42px; height: 42px; }
.result h2 { margin-bottom: 4px; font-size: 1.7rem; }
.result p { margin: 0; }
.result.ok { background: var(--ok-bg); color: var(--ok); }
.result.bad { background: var(--err-bg); color: var(--err); }
.result a { text-decoration: underline; }
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact .box { margin: 0; text-align: center; }
.contact .box > .ic { width: 32px; height: 32px; color: var(--gold); margin: 0 auto 12px; }

/* Animación */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .tile.big { min-height: 340px; }
  .hact span { display: none; }
  .hact .bag { display: inline-flex; }
  .contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topbar-r { display: none !important; }
  .header-in { flex-wrap: wrap; gap: 12px 16px; min-height: 70px; padding-top: 10px; padding-bottom: 10px; }
  .burger { display: block; }
  .logo-txt b { font-size: 1.1rem; }
  .logo-txt small { display: none; }
  .monogram { width: 38px; height: 38px; font-size: 1.1rem; }
  .search { order: 5; flex-basis: 100%; max-width: none; margin: 0; }
  .menu { display: none; flex-direction: column; gap: 0; align-items: stretch; }
  .menu a { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .menu a.on { border-bottom-color: var(--line); }
  .menu-mobile-only { display: block; }
  .menu-mobile-only button { background: none; border: 0; font: inherit; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; padding: 14px 0; color: var(--muted); }
  body.menu-open .menu { display: flex; }
  .products, .products.three { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .product-add { transform: none; position: static; margin-top: 8px; }
  .product-add .btn { background: var(--ink); }
  .shop, .pdp, .cart { grid-template-columns: 1fr; gap: 30px; }
  .shop-side { display: flex; gap: 6px 16px; flex-wrap: wrap; }
  .shop-side h4 { display: none; }
  .gallery, .cart-sum { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .perk + .perk { border-left: 0; }
  .section { padding: 56px 0; }
  .hero { min-height: 460px; }
}
@media (max-width: 560px) {
  .tiles, .contact, .footer-grid { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 1fr auto; }
  .cart-row.head { display: none; }
  .cart-row > b { grid-column: 2; grid-row: 1; }
  .cart-qty { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; }
  .cart-img { width: 70px; height: 80px; }
  .box { padding: 20px; }
  .orders .order-row { grid-template-columns: 1fr auto; }
  .orders .order-row .st { grid-column: 1; justify-self: start; }
  .btn { padding: 15px 20px; }
}

/* Variantes en la ficha de producto */
.opt-group { margin: 20px 0 6px; }
.opt-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.opt-label b { color: var(--ink); font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: .95rem; margin-left: 4px; }
.opt-values { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-width: 52px; padding: 10px 16px; background: #fff; border: 1px solid var(--sand); font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink); transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--ink); }
.opt.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt.na { color: #b9ae9c; background: repeating-linear-gradient(135deg, #fff 0 6px, #f6f1e8 6px 7px); }
.opt.na.on { background: #6f665a; color: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: var(--gold); }
.btn-dark:disabled:hover { background: var(--ink); }
.price small { font-size: .7em; color: var(--muted); font-weight: 400; letter-spacing: .06em; }
.cart-variant { display: block; font-size: .82rem; color: var(--gold); letter-spacing: .04em; margin-bottom: 2px; }

/* Aviso de cookies, políticas y avisos legales */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; z-index: 60; background: var(--ink); color: #f3ece0; padding: 18px 20px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 12px 40px rgba(0,0,0,.3); font-size: .88rem; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 320px; }
.cookie-bar a { color: var(--gold); text-decoration: underline; }
.cookie-bar div { display: flex; gap: 8px; }
.cookie-bar .btn { padding: 11px 18px; font-size: .72rem; }
.cookie-bar .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.cookie-bar .btn-outline:hover { background: #fff; color: var(--ink); }
.footer .inline-link { display: inline; padding: 0; text-decoration: underline; }
.terms-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.terms-note a { text-decoration: underline; }
.policy-text p { font-weight: 300; font-size: 1.02rem; color: var(--ink-2); }
.policy-text hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0 20px; }
.policy-nav { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.policy-nav a { color: var(--gold); font-size: .85rem; letter-spacing: .06em; }

/* Página de tienda cerrada / lista de espera */
.closed-body { background: var(--ink); }
.closed { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 48px 16px 24px;
  color: #fff; background: var(--ink) linear-gradient(120deg, #18140f 0%, #3a2f22 60%, #5a4630 100%) center / cover; }
.closed::before { content: ""; position: absolute; inset: 0; background: rgba(24,20,15,.72); }
.closed > * { position: relative; }
.closed-in { width: 100%; max-width: 640px; text-align: center; margin: auto 0; }
.closed-logo { justify-content: center; margin-bottom: 44px; color: #fff; }
.closed-logo img { max-height: 70px; }
.closed h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.closed-in > p { color: rgba(255,255,255,.82); font-weight: 300; font-size: 1.08rem; max-width: 540px; margin: 0 auto 30px; }
.closed-form { max-width: 620px; margin: 0 auto; }
.closed-fields { display: flex; gap: 8px; flex-wrap: wrap; }
.closed-fields input { flex: 1 1 180px; margin: 0; background: rgba(255,255,255,.96); border-color: transparent; }
.closed-fields .btn { flex: 0 0 auto; }
.closed-consent { color: rgba(255,255,255,.75); font-size: .78rem; text-align: left; margin-top: 14px; align-items: flex-start; line-height: 1.5; }
.closed-consent input { margin-top: 3px !important; }
.closed-consent a { color: var(--gold); text-decoration: underline; }
.closed-thanks { display: inline-flex; gap: 10px; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 18px 24px; color: #fff; font-size: 1.05rem; }
.closed-thanks .ic { color: var(--gold); width: 26px; height: 26px; }
.closed .flash { text-align: left; }
.closed-foot { display: flex; gap: 10px 24px; flex-wrap: wrap; justify-content: center; margin-top: 48px; font-size: .82rem; color: rgba(255,255,255,.65); }
.closed-foot a, .closed-foot span { display: inline-flex; gap: 6px; align-items: center; }
.closed-foot a:hover { color: var(--gold); }
.closed-foot .ic { width: 15px; height: 15px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.admin-closed-bar { background: #b98900; color: #fff; text-align: center; font-size: .82rem; padding: 7px 16px; }
.admin-closed-bar a { text-decoration: underline; }

/* Aviso al escribir un correo ya registrado en el formulario de registro */
.email-aviso { font-size: .88rem; padding: 10px 14px; border-left: 3px solid; border-radius: 2px; margin-top: -6px; }
.email-aviso.warn { background: var(--info-bg); border-color: var(--gold); color: var(--ink-2); }
.email-aviso.info { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.email-aviso a { color: var(--gold); text-decoration: underline; font-weight: 500; }
