/* =========================================================
   Boutique — estilos de la tienda
   ========================================================= */
:root {
    --ink: #1c1a18;
    --ink-2: #4b4642;
    --muted: #857d74;
    --line: #e8e2d9;
    --bg: #ffffff;
    --bg-soft: #f7f3ee;
    --bg-warm: #efe8de;
    --accent: #a07d55;
    --accent-dark: #7d6040;
    --gold: #d9c19a;
    --sale: #a3402f;
    --ok: #3e7a52;
    --warn: #b0721b;
    --radius: 2px;
    --radius-lg: 6px;
    --shadow: 0 18px 50px rgba(28, 26, 24, .10);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --container: 1320px;
    --header-h: 84px;
    --announce-h: 36px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); }
h3 { font-size: 1.4rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; }
.icon { flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.container.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.right { text-align: right; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 200; background: #fff; padding: 10px 16px; }
.skip-link:focus { left: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-head-center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 32px; border: 1px solid transparent; border-radius: var(--radius);
    font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
    white-space: nowrap;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #3a342e; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-warm); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); text-decoration: underline; }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: .68rem; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 50%;
    position: relative; transition: background .2s, opacity .2s;
}
.icon-btn:hover { opacity: .65; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap .3s var(--ease), color .2s; }
.link-arrow:hover { gap: 12px; color: var(--accent-dark); }
.link-btn { background: none; border: 0; padding: 0; color: var(--sale); cursor: pointer; text-decoration: underline; font-size: .875rem; }

/* ---------- Barra de anuncios (marquesina) ---------- */
.announcement { background: var(--ink); color: #efe7dc; height: var(--announce-h); overflow: hidden; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.marquee { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.announcement:hover .marquee { animation-play-state: paused; }
.marquee-track { display: flex; }
.marquee-track span { position: relative; padding: 0 44px; line-height: var(--announce-h); white-space: nowrap; }
.marquee-track span::after { content: ''; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; background: var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cabecera ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line);
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(28, 26, 24, .06); }
body.has-hero:not(.search-open) .site-header:not(.is-scrolled):not(:hover):not(:focus-within) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .18); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: 24px; }
.header-left { display: flex; align-items: center; min-width: 0; }
.logo { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; line-height: 1; }
.header-inner > .logo { justify-self: center; padding-left: .2em; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a, .nav-dropdown-btn {
    display: inline-flex; align-items: center; gap: 4px; height: var(--header-h);
    font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; position: relative;
}
.main-nav > a::after, .nav-dropdown-btn::after { content: ''; position: absolute; left: 0; bottom: 26px; height: 1px; width: 0; background: currentColor; transition: width .35s var(--ease); }
.main-nav > a:hover::after, .main-nav > a.active::after, .nav-dropdown:hover .nav-dropdown-btn::after, .nav-dropdown-btn.active::after { width: 100%; }
.nav-dropdown-btn .icon { transition: transform .3s; }
.nav-dropdown:hover .nav-dropdown-btn .icon { transform: rotate(180deg); }
.menu-head, .menu-foot { display: none; }

/* Menú desplegable grande */
.mega {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px rgba(28, 26, 24, .06);
    padding: 40px 0 44px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-dropdown:hover .mega, .nav-dropdown:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 200px 200px 1fr 1fr; gap: 40px; }
.mega-title { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; font-weight: 700; }
.mega-col a { display: block; padding: 6px 0; font-size: .95rem; font-weight: 500; transition: color .2s, padding .3s var(--ease); }
.mega-col a:hover { color: var(--accent-dark); padding-left: 6px; }
.mega-card { display: block; }
.mega-card-media { display: block; height: 250px; overflow: hidden; background: var(--bg-warm); }
.mega-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mega-card:hover img { transform: scale(1.05); }
.mega-card-label { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--serif); font-size: 1.2rem; }

.header-actions { display: flex; align-items: center; gap: 2px; justify-self: end; }
.cart-count {
    position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
    background: var(--accent); color: #fff; font-size: .62rem; font-weight: 600; display: grid; place-items: center;
}
.cart-count.is-empty { display: none; }
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle, .menu-close { display: none; }

.search-bar { position: absolute; left: 0; right: 0; top: 100%; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); background: #fff; color: var(--ink); }
.search-bar.open { max-height: 110px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(28, 26, 24, .06); }
.search-bar form { display: flex; align-items: center; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.search-bar input { flex: 1; border: 0; background: transparent; font-family: var(--serif); font-size: 1.45rem; font-style: italic; padding: 4px 0; outline: none; min-width: 0; }

.flash-wrap { padding-top: 20px; }
body.has-hero .flash-wrap { position: absolute; z-index: 45; left: 0; right: 0; top: calc(var(--announce-h) + var(--header-h) + 16px); }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 14px; font-size: .95rem; border: 1px solid; background: #fff; }
.alert-success { background: #eef6f0; border-color: #cfe5d6; color: #2b5d3c; }
.alert-error { background: #fbefed; border-color: #f0d2cd; color: #8a2f27; }
.alert-info { background: var(--bg-soft); border-color: var(--line); }

/* ---------- Portada a pantalla completa ---------- */
.hero-full {
    position: relative; display: flex; align-items: flex-end; margin-top: calc(-1 * var(--header-h));
    height: calc(100vh - var(--announce-h)); min-height: 640px; max-height: 980px; color: #fff;
    background: #2a2622 var(--hero-img) 60% center / cover no-repeat;
}
.hero-full::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20, 17, 14, .62) 0%, rgba(20, 17, 14, .28) 45%, rgba(20, 17, 14, 0) 72%),
                linear-gradient(0deg, rgba(20, 17, 14, .38) 0%, rgba(20, 17, 14, 0) 40%),
                linear-gradient(180deg, rgba(20, 17, 14, .35) 0%, rgba(20, 17, 14, 0) 22%);
}
.hero-full-inner { position: relative; padding-bottom: 120px; }
.hero-full-copy { max-width: 620px; animation: rise 1.2s var(--ease) both; }
.hero-full .eyebrow { color: var(--gold); }
.hero-full h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 24px; }
.hero-full h1 em { color: var(--gold); }
.hero-full p { font-size: 1.1rem; font-weight: 500; max-width: 460px; opacity: .92; margin-bottom: 38px; }
.hero-scroll { position: absolute; left: 50%; bottom: 34px; width: 1px; height: 54px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero-scroll span { position: absolute; left: 0; top: 0; width: 1px; height: 18px; background: #fff; animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { from { transform: translateY(-20px); } to { transform: translateY(56px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Portada sin imagen (respaldo) */
.hero { background: var(--bg-soft); position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 620px; gap: 64px; }
.hero-copy { padding: 80px 0; }
.hero-copy h1 { font-size: clamp(2.8rem, 5.6vw, 4.8rem); line-height: 1; margin-bottom: 22px; }
.hero-copy p { font-size: 1.12rem; color: var(--ink-2); max-width: 470px; margin-bottom: 34px; font-weight: 400; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; height: 540px; }
.hero-shot { position: absolute; overflow: hidden; background: var(--bg-warm); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot-1 { top: 0; bottom: 0; left: 8%; right: 26%; border-radius: 260px 260px 0 0; }
.hero-shot-2 { width: 38%; aspect-ratio: 4 / 5; right: 0; bottom: 44px; border: 10px solid var(--bg-soft); border-radius: 170px 170px 0 0; }

/* Barra de garantías */
.trust-bar { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
.trust-inner span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.trust-inner .icon { color: var(--accent); }

/* ---------- Secciones ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 48px; }
.section-head h2 { margin: 0; }
.section-head .eyebrow { margin-bottom: 10px; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.section-head-center .link-arrow { margin-top: 16px; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.cat-mosaic .reveal:nth-child(2), .cat-mosaic .reveal:nth-child(5) { transition-delay: .08s; }
.cat-mosaic .reveal:nth-child(3), .cat-mosaic .reveal:nth-child(6) { transition-delay: .16s; }
.cat-mosaic .reveal:nth-child(4) { transition-delay: .24s; }

.page-hero { background: var(--bg-soft); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { margin: 0; color: var(--muted); }
.page-hero.has-image { position: relative; padding: 120px 0 64px; border: 0; color: #fff; background: #2a2622 var(--banner-img) center 40% / cover no-repeat; }
.page-hero.has-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 17, 14, .6), rgba(20, 17, 14, .2)); }
.page-hero.has-image .container { position: relative; }
.page-hero.has-image p, .page-hero.has-image .breadcrumbs { color: rgba(255, 255, 255, .85); }
.page-hero.has-image .eyebrow, .page-hero.has-image h1 em { color: var(--gold); }
.page-hero-tall.has-image { padding: 200px 0 100px; }
.breadcrumbs { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--ink); }
.page-hero.has-image .breadcrumbs a:hover { color: #fff; }

/* Mosaico de categorías */
.cat-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 310px; gap: 16px; }
.cat-tile:nth-child(6n + 1), .cat-tile:nth-child(6n + 4) { grid-row: span 2; }
.cat-tile { position: relative; overflow: hidden; background: var(--bg-warm); color: #fff; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 17, 14, .55) 0%, rgba(20, 17, 14, 0) 50%); transition: background .4s; }
.cat-tile:hover::after { background: linear-gradient(0deg, rgba(20, 17, 14, .65) 0%, rgba(20, 17, 14, .08) 60%); }
.cat-tile-label { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.cat-tile-label small { font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .9; margin-bottom: 4px; }
.cat-tile-label strong { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; line-height: 1.1; }
.cat-tile:nth-child(6n + 1) .cat-tile-label strong, .cat-tile:nth-child(6n + 4) .cat-tile-label strong { font-size: 2.3rem; font-style: italic; }
.cat-tile-label em { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid; padding-bottom: 2px; margin-top: 12px; opacity: 0; transform: translateY(8px); transition: .4s var(--ease); }
.cat-tile:hover .cat-tile-label em { opacity: 1; transform: none; }

/* Productos */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.product-rail::-webkit-scrollbar { display: none; }
.product-rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; align-items: center; gap: 10px; }
.rail-nav .link-arrow { margin-right: 18px; }
.rail-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s; }
.rail-btn:hover { border-color: var(--ink); }

.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-warm); }
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .7s var(--ease); }
.product-media .img-alt { opacity: 0; }
.product-media.has-alt:hover .img-alt { opacity: 1; }
.product-card:hover .img-main { transform: scale(1.04); }
.is-sold-out .img-main { opacity: .55; }
.product-tags { position: absolute; z-index: 1; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tag { display: inline-block; background: #fff; color: var(--ink); font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 1px; }
.tag-sale { background: var(--sale); color: #fff; }
.tag-out { background: var(--ink); color: #fff; }
.product-quick {
    position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .94); text-align: center;
    padding: 15px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
    transform: translateY(101%); transition: transform .45s var(--ease);
}
.product-card:hover .product-quick { transform: none; }
.product-info { padding-top: 16px; display: grid; gap: 3px; }
.product-cat { font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.product-name { font-family: var(--sans); font-size: .95rem; font-weight: 500; margin: 0; line-height: 1.4; }
.product-name a:hover { color: var(--accent-dark); }
.price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-now { font-weight: 700; font-size: .95rem; }
.price-now.is-sale { color: var(--sale); }
.price-old { color: var(--muted); font-size: .85rem; }
.price-lg .price-now { font-size: 1.55rem; font-weight: 600; }
.price-lg .price-old { font-size: 1.05rem; }
.swatches { list-style: none; display: flex; align-items: center; gap: 7px; margin: 8px 0 0; padding: 0; }
.swatches li { width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.swatches .swatch-more { width: auto; height: auto; background: none; box-shadow: none; font-size: .7rem; color: var(--muted); line-height: 1; }

/* Bloque editorial */
.editorial { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-soft); }
.editorial-media { position: relative; min-height: 680px; overflow: hidden; }
.editorial-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 80px clamp(32px, 8vw, 130px); }
.editorial-copy h2 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1.08; margin-bottom: 22px; }
.editorial-copy p { max-width: 420px; color: var(--ink-2); font-weight: 400; font-size: 1.08rem; margin-bottom: 34px; }

/* Banner promo */
.banner { background: var(--ink); color: #f4eee5; position: relative; overflow: hidden; }
.banner::before, .banner::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(217, 193, 154, .2); pointer-events: none; }
.banner::before { width: 520px; height: 520px; right: -160px; top: -260px; }
.banner::after { width: 320px; height: 320px; right: 160px; bottom: -240px; }
.banner-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 76px; padding-bottom: 76px; }
.banner h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 660px; }
.banner h2 em { font-style: italic; color: var(--gold); }
.banner .eyebrow { color: var(--gold); }
.banner-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.coupon-chip {
    display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px; cursor: pointer;
    border: 1px dashed var(--gold); border-radius: var(--radius); background: transparent; color: #f4eee5;
    font-size: .82rem; font-weight: 700; letter-spacing: .14em; transition: background .2s;
}
.coupon-chip:hover { background: rgba(255, 255, 255, .06); }
.coupon-chip small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border-left: 1px solid rgba(217, 193, 154, .4); padding-left: 10px; }

/* Historia */
.story { padding: 120px 0; }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.story.no-media .story-inner { grid-template-columns: minmax(0, 760px); justify-content: center; }
.story-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-warm); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.about-quote { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.55; color: var(--ink); font-weight: 400; margin-bottom: 30px; }
.about-inner { text-align: center; max-width: 860px; }
.about-page .about-quote { text-align: center; }
.about-values { list-style: none; margin: 0 0 34px; padding: 0; }
.about-values li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.about-values li:first-child { border-top: 1px solid var(--line); }
.about-values .icon { color: var(--accent); margin-top: 3px; }
.about-values strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.3; }
.about-values span { color: var(--muted); font-size: .92rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 56px 0; text-align: center; }
.values .icon { color: var(--accent); margin: 0 auto 14px; }

/* Galería Instagram */
.insta { padding-bottom: 0; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.insta-item { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-warm); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.insta-item span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(28, 26, 24, .35); opacity: 0; transition: opacity .4s; }
.insta-item:hover span { opacity: 1; }
.insta-item:hover img { transform: scale(1.06); }

/* Ventajas */
.perks { border-top: 1px solid var(--line); background: #fff; }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.perk { display: flex; gap: 16px; align-items: center; }
.perk .icon { color: var(--accent); }
.perk strong { display: block; font-weight: 700; font-size: .9rem; }
.perk span { color: var(--muted); font-size: .84rem; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: #c9c1b6; padding-top: 80px; font-size: .9rem; }
.footer-news { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid #35302b; }
.footer-news h3 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 400; margin-bottom: 6px; }
.footer-news h3 em { color: var(--gold); }
.footer-news p { margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 60px; }
.site-footer h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.logo-light { color: #fff; display: inline-block; margin-bottom: 16px; font-size: 1.4rem; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border: 1px solid #4a4540; border-radius: 50%; display: grid; place-items: center; transition: .2s; }
.socials a:hover { border-color: #fff; }
.newsletter { display: flex; gap: 8px; flex: 0 1 480px; }
.newsletter input[type=email] { flex: 1; min-width: 0; margin: 0; background: transparent; border: 0; border-bottom: 1px solid #5a534c; border-radius: 0; padding: 14px 2px; color: #fff; }
.newsletter input[type=email]:focus { border-color: var(--gold); box-shadow: none; }
.newsletter input::placeholder { color: #8f877d; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.contact-list .icon { margin-top: 4px; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid #35302b; padding-top: 24px; padding-bottom: 24px; font-size: .78rem; color: #8f877d; }
.pay-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.site-footer .pay-chips li { margin: 0; border: 1px solid #4a4540; border-radius: 20px; padding: 4px 12px; font-size: .7rem; color: #b9b0a4; }

.whatsapp-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37, 211, 102, .35); transition: transform .3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.07); }

/* ---------- Carrito lateral ---------- */
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100%); background: #fff;
    transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s;
}
.drawer.open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(28, 26, 24, .12); }
.drawer-body { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 18px 28px; border-bottom: 1px solid var(--line); }
.drawer-head strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.drawer-head .muted { font-family: var(--sans); font-size: .9rem; }
.drawer-ship { padding: 16px 28px; background: var(--bg-soft); font-size: .85rem; }
.drawer-ship p { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.drawer-ship .icon { color: var(--accent); }
.drawer-items { list-style: none; margin: 0; padding: 4px 28px; overflow-y: auto; flex: 1; }
.drawer-items li { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.drawer-thumb { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-warm); }
.drawer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.drawer-info { display: grid; gap: 3px; }
.drawer-name { font-weight: 600; font-size: .95rem; }
.drawer-remove { color: var(--muted); font-size: .78rem; }
.drawer-foot { padding: 20px 28px 26px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot p { margin: 0 0 6px; }
.drawer-subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px; text-align: center; }
.drawer-empty .icon { color: var(--accent); }
.drawer-overlay { position: fixed; inset: 0; z-index: 85; background: rgba(20, 18, 16, .45); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }

/* ---------- Formularios ---------- */
label { display: block; font-size: .85rem; color: var(--ink-2); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], select, textarea {
    width: 100%; margin-top: 6px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.search-bar input[type=search] { margin-top: 0; border: 0; background: transparent; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28, 26, 24, .06); }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.span-2 { grid-column: span 2; }
.field-error { display: block; color: var(--sale); font-size: .8rem; margin-top: 4px; }
.check, .radio { display: flex; align-items: center; gap: 10px; font-size: .92rem; cursor: pointer; margin: 7px 0; }
.check input, .radio input { accent-color: var(--ink); width: 16px; height: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 22px; }
.card h3 { font-size: 1.55rem; margin-bottom: 18px; }

/* Chips (tallas/colores) */
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 50px; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .86rem; font-weight: 600; transition: .2s; background: #fff; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(160, 125, 85, .35); }
.chip-color i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.chip-color input:checked + span { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- Tienda ---------- */
.cat-pills { border-bottom: 1px solid var(--line); background: #fff; }
.cat-pills-inner { display: flex; gap: 8px; overflow-x: auto; padding-top: 18px; padding-bottom: 18px; scrollbar-width: none; }
.cat-pills-inner::-webkit-scrollbar { display: none; }
.cat-pills a { padding: 9px 20px; border: 1px solid var(--line); border-radius: 40px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; transition: .2s; }
.cat-pills a:hover { border-color: var(--ink); }
.cat-pills a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop.section { padding-top: 56px; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px); }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.filters-head strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.filters-close, .filters-open { display: none; }
.filters fieldset { border: 0; border-bottom: 1px solid var(--line); padding: 0 0 22px; margin: 0 0 22px; }
.filters legend { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; padding: 0; }
.filters .chip span { min-width: 42px; height: 38px; padding: 0 10px; font-size: .8rem; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { margin-top: 0; }
.filters .btn-block { margin-top: 10px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 32px; }
.shop-toolbar .muted { font-size: .85rem; letter-spacing: .04em; }
.sort-form select { margin-top: 0; width: auto; padding: 11px 38px 11px 16px; font-size: .85rem; }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state .icon { color: var(--accent); margin: 0 auto 16px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.pagination a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .88rem; }
.pagination a:hover { border-color: var(--ink); }
.pagination a.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Producto ---------- */
.product-page { padding-top: 34px; }
.product-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery.has-thumbs { display: grid; grid-template-columns: 80px 1fr; gap: 14px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 4 / 5; background: var(--bg-warm); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tag { position: absolute; top: 16px; left: 16px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery.has-thumbs .gallery-thumbs { order: -1; display: flex; flex-direction: column; margin-top: 0; }
.gallery-thumbs button { padding: 0; border: 1px solid transparent; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 5; background: var(--bg-warm); opacity: .6; transition: .2s; width: 100%; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-summary { padding-top: 6px; }
.product-summary h1 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 16px; }
.stock-line { display: flex; align-items: center; gap: 6px; font-size: .88rem; margin: 16px 0 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.stock-line.ok { color: var(--ok); }
.stock-line.low { color: var(--warn); }
.stock-line.out { color: var(--sale); }
.option-group { border: 0; padding: 0; margin: 0 0 24px; }
.option-group legend { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; padding: 0; }
.selected-value { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.buy-row { display: flex; gap: 12px; margin: 28px 0 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); height: 50px; }
.qty button { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: var(--bg-soft); }
.qty input { width: 46px; border: 0; text-align: center; margin: 0; padding: 0; height: 100%; -moz-appearance: textfield; }
.qty input:focus { box-shadow: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-perks { display: grid; gap: 12px; margin: 28px 0; padding: 22px 24px; background: var(--bg-soft); font-size: .88rem; }
.product-perks div { display: flex; align-items: flex-start; gap: 12px; }
.product-perks .icon { color: var(--accent); margin-top: 2px; }
.accordion { border-top: 1px solid var(--line); padding: 20px 0; }
.accordion:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.accordion summary { cursor: pointer; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 1.2rem; line-height: 1; font-weight: 400; }
.accordion[open] summary::after { content: '−'; }
.prose { padding-top: 14px; color: var(--ink-2); font-weight: 400; }

/* ---------- Carrito ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto 110px 42px; gap: 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-item:first-of-type { border-top: 1px solid var(--line); }
.cart-thumb { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-warm); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font-weight: 500; }
.cart-item .qty { height: 42px; }
.cart-item .qty button { width: 34px; }
.cart-item .qty input { width: 38px; }
.cart-line-total { text-align: right; font-weight: 500; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; }
.summary { background: var(--bg-soft); padding: 32px; position: sticky; top: calc(var(--header-h) + 24px); }
.summary h3 { margin-bottom: 20px; }
.summary .btn-block { margin-top: 16px; }
.totals { margin: 18px 0 0; }
.totals div { display: flex; justify-content: space-between; padding: 8px 0; font-size: .95rem; }
.totals dt, .totals dd { margin: 0; }
.totals .discount { color: var(--ok); }
.totals .grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 1.15rem; font-weight: 500; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { margin-top: 0; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 12px 14px; border: 1px dashed var(--accent); border-radius: var(--radius); }
.coupon-applied span { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.free-ship { margin-top: 16px; font-size: .85rem; }
.free-ship p { margin-bottom: 8px; }
.progress { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width .6s var(--ease); }

/* Checkout */
.checkout-form .card:last-child { margin-bottom: 0; }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-size: .95rem; color: var(--ink); transition: border-color .2s, background .2s; }
.pay-option:has(input:checked) { border-color: var(--ink); background: var(--bg-soft); }
.pay-option input { accent-color: var(--ink); }
.pay-note { margin-top: 14px; margin-bottom: 0; }
.mini-items { list-style: none; padding: 0; margin: 0 0 6px; }
.mini-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; font-size: .9rem; }
.mini-thumb { position: relative; aspect-ratio: 3 / 4; overflow: visible; background: var(--bg-warm); }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-thumb b { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .7rem; display: grid; place-items: center; font-weight: 500; }
.mini-name small { display: block; }
.summary .check { margin-top: 14px; font-size: .85rem; }

/* Gracias / pedido */
.thanks { text-align: center; padding: 20px 0 40px; }
.thanks-icon { width: 76px; height: 76px; border-radius: 50%; background: #eef6f0; color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }
.pay-box { background: var(--bg-soft); border-color: transparent; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.order-head h3 { margin: 2px 0; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 0 0 26px; counter-reset: s; }
.timeline li { position: relative; text-align: center; font-size: .78rem; color: var(--muted); padding-top: 26px; }
.timeline li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--line); z-index: 1; }
.timeline li::before { content: ''; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done span, .timeline li.done::before { background: var(--accent); }
.order-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .92rem; }
.order-meta p { margin: 4px 0 0; color: var(--ink-2); }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }

.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th.right, .table td.right { text-align: right; }

.badge { display: inline-block; padding: 5px 12px; border-radius: 20px; font-size: .74rem; font-weight: 500; letter-spacing: .04em; background: var(--bg-soft); }
.badge-pendiente { background: #fbf2e2; color: #8a5a12; }
.badge-pagado { background: #e8f1fb; color: #24527f; }
.badge-preparando { background: #f1ecfa; color: #5b3f8c; }
.badge-enviado { background: #e6f4f4; color: #1f6464; }
.badge-entregado { background: #eaf5ec; color: #2b5d3c; }
.badge-cancelado { background: #fbecea; color: #8a2f27; }

/* Contacto */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info { display: grid; gap: 26px; }
.info-item { display: flex; gap: 16px; }
.info-item .icon { color: var(--accent); margin-top: 3px; }
.info-item p { margin: 2px 0 0; color: var(--ink-2); }
.form .btn { margin-top: 18px; }

/* Toast */
.toast {
    position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 100;
    background: var(--ink); color: #fff; padding: 15px 22px; border-radius: var(--radius); box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 16px; font-size: .92rem; opacity: 0; transition: .3s; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--sale); }
.toast a { text-decoration: underline; white-space: nowrap; }
.menu-overlay { display: none; }

/* ---------- Encabezado compacto y pasos de compra ---------- */
.page-head { padding: 44px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-soft), #fff); }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 0 0 4px; }
.page-head p { margin: 0; display: flex; align-items: center; gap: 6px; }
.page-head-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.page-head-center .container { display: flex; justify-content: center; }
.section-tight { padding-top: 48px; padding-bottom: 96px; }
.checkout-steps { list-style: none; display: flex; align-items: center; gap: 0; margin: 0; padding: 0; font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.checkout-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.checkout-steps li + li::before { content: ''; width: 48px; height: 1px; background: var(--line); margin: 0 14px; }
.checkout-steps li.is-done + li::before, .checkout-steps li.is-done::before { background: var(--accent); }
.step-dot { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: #fff; }
.checkout-steps .is-current { color: var(--ink); }
.checkout-steps .is-current .step-dot { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(28, 26, 24, .08); }
.checkout-steps .is-done { color: var(--accent-dark); }
.checkout-steps .is-done .step-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.checkout-steps a:hover { text-decoration: underline; }
.empty-badge { width: 76px; height: 76px; border-radius: 50%; background: var(--bg-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 18px; }

/* Carrito */
.cart-head { display: grid; grid-template-columns: 100px 1fr auto 110px 42px; gap: 22px; padding: 0 0 12px; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cart-head span:first-child { grid-column: 1 / 3; }
.cart-head span:last-child { grid-column: 4 / 6; padding-right: 64px; }
.cart-items .cart-item:first-of-type { border-top: 1px solid var(--line); }
.cart-opts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 4px 0 6px; font-size: .82rem; color: var(--muted); }
.cart-opts span { display: inline-flex; align-items: center; gap: 6px; }
.cart-opts i { width: 11px; height: 11px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.cart-thumb { transition: opacity .2s; }
.cart-thumb:hover { opacity: .85; }
.assurance { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.assurance li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); background: #fff; }
.assurance .icon { color: var(--accent); margin-top: 2px; }
.assurance strong { display: block; font-size: .88rem; font-weight: 700; }
.assurance span { font-size: .82rem; color: var(--muted); }
.assurance a { color: var(--accent-dark); text-decoration: underline; }
.summary { border: 1px solid var(--line); }
.summary h3 { font-size: 1.45rem; }
.summary-head { display: flex; justify-content: space-between; align-items: baseline; }
.link-sm { font-size: .8rem; font-weight: 600; text-decoration: underline; color: var(--accent-dark); }
.coupon-toggle { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 4px; }
.coupon-toggle summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; list-style: none; color: var(--ink-2); }
.coupon-toggle summary::-webkit-details-marker { display: none; }
.coupon-toggle summary .icon { color: var(--accent); }
.coupon-toggle[open] summary { margin-bottom: 12px; }
.summary .btn-lg { min-height: 56px; }
.summary-trust { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; }
.summary-trust p { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ok); margin: 0 0 10px; }
.summary-trust .pay-chips { justify-content: center; }
.summary-trust .pay-chips li { border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px; font-size: .7rem; color: var(--muted); background: #fff; }
.summary-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; }

/* Checkout */
.card-title { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; }
.card-title .num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--sans); font-size: .82rem; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.pay-options { grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-option { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; transition: border-color .2s, background .2s, box-shadow .2s; }
.pay-option:hover { border-color: #cfc5b8; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); color: var(--accent); display: grid; place-items: center; }
.pay-text strong { display: block; font-size: .92rem; font-weight: 700; }
.pay-text small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.4; margin-top: 2px; }
.pay-check { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: transparent; transition: .2s; }
.pay-option:has(input:checked) { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--ink); }
.pay-option:has(input:checked) .pay-check { background: var(--ink); border-color: var(--ink); color: #fff; }
.pay-option:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(160, 125, 85, .35); }
.thanks h1 { margin-top: 4px; }
.thanks .eyebrow { margin-bottom: 4px; }
.thanks-icon { animation: popIcon .6s var(--ease) both; box-shadow: 0 0 0 10px rgba(62, 122, 82, .08); }
@keyframes popIcon { from { transform: scale(.4); opacity: 0; } }

/* Contacto */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 24px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.contact-card .icon { color: var(--accent); margin-bottom: 10px; }
.contact-card strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.contact-card span { color: var(--ink-2); font-size: .9rem; word-break: break-word; }
.contact-card small { color: var(--muted); font-size: .8rem; }
a.contact-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card.is-featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-card.is-featured .icon { color: #25d366; }
.contact-card.is-featured span { color: #d6cec3; }
.contact-card em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: 10px; color: var(--gold); }
.contact-layout { grid-template-columns: 1.3fr 1fr; gap: 56px; }
.contact-layout .card { padding: 36px; }
.faq h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.faq .accordion summary { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 600; gap: 16px; }
.link-inline { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }

/* Seguimiento */
.track-section { padding-top: 70px; }
.track-intro { text-align: center; margin-bottom: 30px; }
.track-intro h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 8px; }
.track-form { padding: 26px; box-shadow: var(--shadow); border-color: transparent; }
.track-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 34px 0 0; padding: 0; text-align: center; }
.track-steps li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 12px; background: var(--bg-soft); }
.track-steps .icon { color: var(--accent); margin-bottom: 6px; }
.track-steps strong { font-size: .88rem; font-weight: 700; }
.track-steps span { font-size: .8rem; color: var(--muted); }

.track-tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; }
.track-tabs a { padding: 10px 20px; border: 1px solid var(--line); border-radius: 40px; font-size: .84rem; font-weight: 600; transition: .2s; }
.track-tabs a:hover { border-color: var(--ink); }
.track-tabs a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.track-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: .86rem; color: var(--muted); }
.track-hint a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }
.device-orders { margin-top: 26px; }
.device-orders h3 { font-size: 1.2rem; margin-bottom: 12px; }
.device-orders-list, .found-orders ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.device-order, .found-orders li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); background: #fff; }
.device-order div, .found-orders li > div { display: grid; flex: 1; }
.device-order strong, .found-orders strong { font-weight: 700; letter-spacing: .04em; }
.device-order span { font-size: .82rem; color: var(--muted); }
.found-orders { margin-top: 20px; }
.found-orders form { margin: 0; }
.order-code { display: grid; justify-items: center; gap: 8px; max-width: 460px; margin: 22px auto 26px; padding: 22px 24px; border: 1px dashed var(--accent); background: var(--bg-soft); }
.order-code-label { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark); }
.order-code strong { font-size: 1.6rem; font-weight: 700; letter-spacing: .08em; }
.order-code small { display: flex; align-items: flex-start; gap: 6px; font-size: .8rem; color: var(--muted); line-height: 1.5; text-align: left; }
.order-code small .icon { margin-top: 3px; color: var(--ok); }

.sent-list { list-style: none; display: grid; gap: 8px; max-width: 520px; margin: 16px auto 0; padding: 0; text-align: left; }
.sent-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; background: #eef6f0; color: #2b5d3c; font-size: .88rem; }
.sent-list .icon { flex-shrink: 0; margin-top: 2px; }
.wa-save { display: grid; justify-items: center; gap: 10px; max-width: 460px; margin: 0 auto; }
.wa-save small { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1fb658; }

/* Favoritos */
.product-card { position: relative; }
.wish-btn {
    position: absolute; z-index: 3; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(28, 26, 24, .1);
    opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s var(--ease), color .2s;
}
.product-card:hover .wish-btn, .wish-btn.is-active, .wish-btn:focus-visible { opacity: 1; transform: none; }
.wish-btn:hover { color: var(--sale); }
.wish-btn.is-active { color: var(--sale); }
.wish-btn.is-active svg { fill: currentColor; }
.wish-btn.pop { animation: heartPop .45s var(--ease); }
@keyframes heartPop { 40% { transform: scale(1.25); } }
.summary-top { display: flex; justify-content: space-between; align-items: center; }
.summary-top .eyebrow { margin-bottom: 0; }
.wish-inline { position: static; opacity: 1; transform: none; width: 44px; height: 44px; border: 1px solid var(--line); box-shadow: none; background: #fff; }

/* Ficha de producto: zoom, galería y barra fija */
.option-group legend { display: flex; align-items: center; gap: 8px; width: 100%; }
.size-help { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--accent-dark); text-decoration: underline; }
.gallery-main[data-zoom] { cursor: zoom-in; }
.gallery-main img { transition: transform .35s var(--ease); }
.gallery-main.is-zooming img { transform: scale(2); }
.gallery-expand { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(28, 26, 24, .12); transition: transform .2s; }
.gallery-expand:hover { transform: scale(1.08); }
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(15, 13, 11, .94); display: grid; place-items: center; animation: fadeIn .25s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 88vh; object-fit: contain; animation: rise .4s var(--ease); }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .22); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-nav.is-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.is-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #d6cec3; font-size: .8rem; letter-spacing: .14em; }
@keyframes fadeIn { from { opacity: 0; } }
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(28, 26, 24, .08); transform: translateY(105%); transition: transform .45s var(--ease); }
.buy-bar.is-visible { transform: none; }
.buy-bar-inner { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.buy-bar img { width: 44px; height: 56px; object-fit: cover; }
.buy-bar-info { flex: 1; min-width: 0; display: grid; }
.buy-bar-info strong { font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar .btn { padding: 0 34px; }
body:has(.buy-bar.is-visible) .whatsapp-float, body:has(.buy-bar.is-visible) .to-top { bottom: 96px; }
.recent { padding-top: 90px; }

/* Búsqueda en vivo */
.search-bar.open { max-height: 640px; }
.search-results { padding: 4px 0 26px; }
.search-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; }
.search-item { display: flex; gap: 14px; align-items: center; padding: 10px; transition: background .2s; }
.search-item:hover { background: var(--bg-soft); }
.search-item img { width: 56px; height: 72px; object-fit: cover; flex-shrink: 0; }
.search-item small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.search-item strong { display: block; font-weight: 600; font-size: .92rem; }
.search-item em { font-style: normal; font-weight: 700; font-size: .88rem; }
.search-item del { color: var(--muted); font-weight: 400; margin-left: 4px; }
.search-all { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid; padding-bottom: 2px; }
.search-none { color: var(--muted); padding: 6px 0; margin: 0; }
.search-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 0 22px; font-size: .82rem; }
.search-popular span { color: var(--muted); margin-right: 4px; }
.search-popular a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 30px; font-weight: 600; transition: .2s; }
.search-popular a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.search-popular[hidden] { display: none; }

/* Filtros activos */
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -12px 0 26px; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 30px; font-size: .8rem; font-weight: 600; transition: .2s; }
.filter-chip:hover { border-color: var(--ink); }
.link-btn-plain { font-size: .8rem; font-weight: 600; text-decoration: underline; color: var(--muted); margin-left: 4px; }

/* Volver arriba */
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, bottom .45s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; }
.whatsapp-float { transition: transform .3s var(--ease), bottom .45s var(--ease); }

@media (max-width: 960px) {
    .assurance { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr 1fr; }
    .search-list { grid-template-columns: 1fr 1fr; }
    .pay-options { grid-template-columns: 1fr; }
    .page-head-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
    .page-head { padding: 30px 0 26px; }
    .checkout-steps { font-size: .7rem; }
    .checkout-steps li + li::before { width: 18px; margin: 0 8px; }
    .checkout-steps li:not(.is-current) span:not(.step-dot), .checkout-steps li:not(.is-current) a { display: none; }
    .cart-head { display: none; }
    .contact-cards { grid-template-columns: 1fr; }
    .contact-layout .card { padding: 22px; }
    .search-list { grid-template-columns: 1fr; }
    .track-steps { grid-template-columns: 1fr 1fr; }
    .wish-btn { opacity: 1; transform: none; width: 34px; height: 34px; top: 8px; right: 8px; }
    .buy-bar-info .price { font-size: .85rem; }
    .buy-bar .btn { padding: 0 18px; min-height: 46px; font-size: .66rem; }
    .buy-bar img { display: none; }
    .to-top { right: 18px; bottom: 82px; }
    body:has(.buy-bar.is-visible) .whatsapp-float, body:has(.buy-bar.is-visible) .to-top { bottom: 84px; }
    .lightbox-nav { width: 42px; height: 42px; }
    .lightbox-nav.is-prev { left: 8px; }
    .lightbox-nav.is-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .marquee, .hero-scroll span, .hero-full-copy { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .product-rail { grid-auto-columns: calc((100% - 48px) / 3); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mega-inner { grid-template-columns: 180px 180px 1fr; }
    .mega-card + .mega-card { display: none; }
    .main-nav { gap: 22px; }
    .story-inner { gap: 60px; }
}
@media (max-width: 960px) {
    :root { --header-h: 64px; }
    .container { padding-left: 24px; padding-right: 24px; }
    .logo { font-size: 1.25rem; letter-spacing: .18em; }
    .hero-full { min-height: 560px; background-position: 64% center; }
    .hero-full::before { background: linear-gradient(0deg, rgba(20, 17, 14, .72) 0%, rgba(20, 17, 14, .2) 55%, rgba(20, 17, 14, .3) 100%); }
    .hero-full-inner { padding-bottom: 90px; }
    .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
    .hero-copy { padding: 56px 0 40px; }
    .hero-art { height: 420px; margin-bottom: 48px; }
    .trust-inner { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; gap: 32px; }
    .trust-inner::-webkit-scrollbar { display: none; }

    .section { padding: 80px 0; }
    .cat-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; gap: 12px; }
    .cat-tile-label em { opacity: 1; transform: none; }
    .editorial { grid-template-columns: 1fr; }
    .editorial-media { min-height: 460px; }
    .editorial-copy { padding: 64px 24px; }
    .story { padding: 80px 0; }
    .story-inner { grid-template-columns: 1fr; gap: 44px; }
    .insta-grid { grid-template-columns: repeat(3, 1fr); }

    .shop-layout { grid-template-columns: 1fr; }
    .filters {
        position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: #fff; z-index: 70; padding: 24px;
        overflow-y: auto; transform: translateX(-100%); transition: transform .45s var(--ease);
    }
    .filters.open { transform: none; box-shadow: var(--shadow); }
    .filters-close, .filters-open { display: inline-flex; }

    .product-detail { grid-template-columns: 1fr; gap: 32px; }
    .gallery { position: static; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .summary { position: static; }
    .contact-layout { grid-template-columns: 1fr; }
    .perks-grid { grid-template-columns: 1fr 1fr; }
    .footer-news { flex-direction: column; align-items: stretch; gap: 20px; }
    .newsletter { flex-basis: auto; }
    .banner::after { display: none; }
}
@media (min-width: 1181px) {
    .nav-mobile-only { display: none !important; }
}
@media (max-width: 1180px) {
    .menu-toggle, .menu-close { display: inline-flex; }
    .header-inner { gap: 8px; }
    .header-left { margin-left: -10px; }
    .main-nav {
        position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); background: #fff; color: var(--ink); z-index: 70;
        flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 24px; margin: 0;
        transform: translateX(-100%); transition: transform .45s var(--ease); overflow-y: auto;
    }
    .main-nav.open { transform: none; box-shadow: var(--shadow); }
    .menu-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 24px; border-bottom: 1px solid var(--line); }
    .menu-head .logo { font-size: 1.1rem; }
    .main-nav > a, .nav-dropdown-btn { height: auto; padding: 18px 24px; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; font-size: .78rem; }
    .main-nav > a::after, .nav-dropdown-btn::after { display: none; }
    .nav-dropdown.open .nav-dropdown-btn .icon { transform: rotate(180deg); }
    .nav-dropdown:hover .nav-dropdown-btn .icon { transform: none; }
    .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 6px 0 12px; background: var(--bg-soft); }
    .nav-dropdown.open .mega { display: block; }
    .mega-inner { display: block; padding: 0; }
    .mega-title, .mega-card, .mega-col + .mega-col { display: none; }
    .mega-col a { padding: 10px 36px; font-size: .95rem; }
    .menu-foot { display: flex; flex-direction: column; gap: 16px; margin-top: auto; padding: 28px 24px 0; font-size: .88rem; color: var(--ink-2); }
    .menu-foot a, .menu-foot span { display: flex; align-items: center; gap: 10px; }
    .menu-overlay { position: fixed; inset: 0; background: rgba(20, 18, 16, .45); z-index: 60; }
    body.menu-open .site-header { z-index: 75; }
    .menu-overlay.open { display: block; }
    .search-bar input { font-size: 1.25rem; }
}
@media (max-width: 680px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .hide-sm { display: none; }
    .logo { font-size: 1.05rem; letter-spacing: .14em; }
    .header-actions .icon-btn { width: 40px; }
    .section { padding: 64px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 32px; }
    .section-head-center { align-items: center; }
    .rail-btn { display: none; }
    .rail-nav .link-arrow { margin-right: 0; }
    .hero-full h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
    .hero-full p { font-size: 1rem; }
    .hero-full .hero-actions { flex-wrap: nowrap; gap: 10px; }
    .hero-full .hero-actions .btn { flex: 1; padding: 0 12px; font-size: .64rem; letter-spacing: .14em; }
    .hero-full .hero-full-inner { padding-bottom: 56px; }
    .hero-scroll { display: none; }
    .page-hero.has-image { padding: 90px 0 44px; }
    .page-hero-tall.has-image { padding: 140px 0 70px; }
    .product-grid, .product-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
    .product-rail { grid-auto-columns: 68%; gap: 12px; }
    .cat-mosaic { grid-auto-rows: 200px; }
    .cat-tile-label { left: 16px; right: 16px; bottom: 16px; }
    .cat-tile-label strong { font-size: 1.3rem; }
    .cat-tile:nth-child(6n + 1) .cat-tile-label strong, .cat-tile:nth-child(6n + 4) .cat-tile-label strong { font-size: 1.6rem; }
    .cat-tile-label em { display: none; }
    .banner-inner { flex-direction: column; align-items: flex-start; padding-top: 56px; padding-bottom: 56px; }
    .editorial-media { min-height: 380px; }
    .values { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .card { padding: 20px; }
    .cart-item { grid-template-columns: 76px 1fr auto; grid-template-areas: "thumb info remove" "thumb qty total"; gap: 10px 14px; }
    .cart-thumb { grid-area: thumb; }
    .cart-info { grid-area: info; }
    .cart-item .qty { grid-area: qty; justify-self: start; }
    .cart-line-total { grid-area: total; }
    .cart-remove { grid-area: remove; justify-self: end; }
    .track-form { grid-template-columns: 1fr; }
    .timeline li { font-size: .66rem; }
    .order-meta { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .footer-brand { grid-column: span 2; }
    .perks-grid { grid-template-columns: 1fr; gap: 18px; padding-top: 32px; padding-bottom: 32px; }
    .product-quick { display: none; }
    .shop-toolbar .muted { display: none; }
    .shop.section { padding-top: 32px; }
    .buy-row { flex-wrap: wrap; }
    .gallery.has-thumbs { grid-template-columns: 1fr; }
    .gallery.has-thumbs .gallery-thumbs { order: 1; flex-direction: row; }
    .gallery.has-thumbs .gallery-thumbs button { width: 64px; }
    .drawer-items, .drawer-foot { padding-left: 20px; padding-right: 20px; }
    .drawer-head { padding-left: 20px; }
    .drawer-ship { padding: 14px 20px; }
    .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ---------- Contenido administrable ---------- */
.logo.has-image { display: inline-flex; align-items: center; letter-spacing: 0; padding-left: 0 !important; }
.logo-img { display: block; height: var(--logo-h, 40px); width: auto; max-width: 260px; object-fit: contain; }
.logo-img-light { display: none; }
body.has-hero:not(.search-open) .site-header:not(.is-scrolled):not(:hover):not(:focus-within) .header-inner > .logo.has-light .logo-img-main { display: none; }
body.has-hero:not(.search-open) .site-header:not(.is-scrolled):not(:hover):not(:focus-within) .header-inner > .logo.has-light .logo-img-light { display: block; }
.menu-head .logo-img { height: calc(var(--logo-h, 40px) * .8); }
.trust-inner a { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; transition: color .2s; }
.trust-inner a:hover { color: var(--accent-dark); }
.perk span a, .product-perks a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rich-text p { margin: 0 0 1em; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 1.8em 0 .6em; }
.rich-text h3 { font-size: 1.2rem; margin: 1.5em 0 .5em; }
.rich-text h2:first-child, .rich-text h3:first-child { margin-top: 0; }
.rich-text ul, .rich-text ol { margin: 0 0 1em; padding-left: 1.3em; }
.rich-text li { margin-bottom: .4em; }
.rich-text a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.page-body { color: var(--ink-2); font-size: 1.02rem; line-height: 1.8; }
.page-updated { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 1180px) {
    .nav-desktop-only { display: none !important; }
}

/* ---------- Legal: consentimientos, cookies y Libro de Reclamaciones ---------- */
[hidden] { display: none !important; }
.consents { display: grid; gap: 10px; margin: 14px 0 4px; }
.check.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; margin: 0; }
.check.consent input { flex-shrink: 0; margin-top: 2px; }
.check.consent a, .consent-mini a { text-decoration: underline; text-underline-offset: 2px; }
.consent-optional { font-style: normal; color: var(--muted); }

/* Boletín del pie */
.newsletter { display: grid; gap: 12px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-consents { display: grid; gap: 6px; }
.consent-mini { display: flex; align-items: flex-start; gap: 8px; font-size: .74rem; line-height: 1.45; color: #a59c91; cursor: pointer; }
.consent-mini input { flex-shrink: 0; width: 14px; height: 14px; margin-top: 1px; accent-color: var(--gold); }
.consent-mini a { color: #d8cfc3; }
.consent-mini .consent-optional { color: #8f877d; }

/* Fila legal del pie */
.footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid #35302b; }
.complaints-book { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border: 1px solid #4a433c; border-radius: 6px; color: #fff; transition: border-color .2s, background .2s; }
.complaints-book:hover { border-color: var(--gold); background: rgba(255, 255, 255, .04); }
.complaints-book .icon { color: var(--gold); }
.complaints-book span { display: grid; line-height: 1.25; }
.complaints-book strong { font-size: .86rem; letter-spacing: .02em; }
.complaints-book small { font-size: .72rem; color: #a59c91; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .8rem; }
.legal-links a, .legal-links button { color: #b8afa4; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: none; }
.legal-links a:hover, .legal-links button:hover { color: #fff; }
.footer-bottom small { display: inline-block; margin-top: 4px; color: #7d756c; }

/* Aviso de cookies */
.cookie-banner {
    position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(520px, calc(100vw - 40px));
    display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: start;
    padding: 18px 20px; border-radius: 12px; background: #fff; color: var(--ink); border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(28, 26, 24, .18); opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--accent); }
.cookie-text strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; margin-bottom: 4px; }
.cookie-text p { margin: 0; font-size: .84rem; color: var(--ink-2); line-height: 1.5; }
.cookie-text a { text-decoration: underline; }
.cookie-actions { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* Libro de Reclamaciones */
.lr-title { display: flex; align-items: center; gap: 18px; }
.lr-title h1 { margin: 0 0 4px; }
.lr-title p { margin: 0; }
.lr-book { width: 64px; height: 64px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.lr-provider { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-bottom: 22px; border: 1px solid var(--line); background: var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.lr-provider div { display: grid; gap: 3px; padding: 14px 16px; background: #fff; }
.lr-provider span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lr-provider strong { font-size: .9rem; font-weight: 600; word-break: break-word; }
.lr-form { display: grid; gap: 18px; }
.lr-form fieldset { margin: 0; min-width: 0; }
.lr-form legend { float: left; width: 100%; padding: 0; }
.lr-form legend + * { clear: both; }
.lr-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.lr-choice .pay-option { grid-template-columns: 1fr auto; }
.lr-choice .pay-text small { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.lr-notes { margin: 16px 0 20px; padding: 14px 16px 14px 32px; background: var(--bg-soft); font-size: .8rem; color: var(--ink-2); line-height: 1.55; display: grid; gap: 4px; }
.lr-sheet { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: #fff; }
.lr-sheet-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.lr-sheet-head h2 { margin: 4px 0 0; }
.lr-sheet-date { font-size: .86rem; color: var(--muted); }
.lr-data { display: grid; grid-template-columns: 200px 1fr; margin: 18px 0; border: 1px solid var(--line); }
.lr-data dt, .lr-data dd { margin: 0; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.lr-data dt { background: var(--bg-soft); font-weight: 600; }
.lr-data dd small { color: var(--muted); }
.lr-data dt:last-of-type, .lr-data dd:last-of-type { border-bottom: 0; }
.lr-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 720px) {
    .lr-provider { grid-template-columns: 1fr 1fr; }
    .lr-choice { grid-template-columns: 1fr; }
    .lr-data { grid-template-columns: 1fr; }
    .lr-data dt { border-bottom: 0; padding-bottom: 2px; }
    .newsletter-row { flex-direction: column; }
    .cookie-banner { left: 12px; bottom: 12px; width: calc(100vw - 24px); }
}
@media print {
    .site-header, .announcement, .site-footer, .perks, .whatsapp-float, .cookie-banner, .lr-actions, .breadcrumbs, .to-top { display: none !important; }
    .lr-sheet { border: 0; padding: 0; }
}

/* ---------- Pie de página ---------- */
/* Franja de ventajas */
.ft-perks { background: var(--bg-soft); border-top: 1px solid var(--line); }
.ft-perks-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 34px; padding-bottom: 34px; }
.ft-perk { display: flex; align-items: center; gap: 14px; padding: 4px 24px; border-left: 1px solid var(--line); min-width: 0; }
.ft-perk:first-child { border-left: 0; padding-left: 0; }
.ft-perk-icon { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--accent); box-shadow: 0 6px 16px rgba(28, 26, 24, .05); }
.ft-perk strong { display: block; font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.ft-perk > div > span, .ft-perk > div > a { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.ft-perk > div > a { text-decoration: underline; text-underline-offset: 3px; }

/* Base */
.site-footer.ft { position: relative; overflow: hidden; padding-top: 0; background: #171513; color: #b3aa9f; font-size: .9rem; }
.ft::before { content: ''; position: absolute; top: -260px; right: -180px; width: 680px; height: 680px; background: radial-gradient(circle, rgba(201, 166, 121, .13), transparent 65%); pointer-events: none; }
.ft > .container, .ft-bottom { position: relative; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { margin: 0; }
.ft h4 { margin: 0; font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; }

/* Boletín */
.ft-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 28px 56px; align-items: center; margin-top: 64px; padding: 40px 44px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); }
.ft-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ft-news h3 { margin: 0 0 8px; color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.15rem); font-weight: 400; line-height: 1.15; }
.ft-news h3 em { color: var(--gold); }
.ft-news-copy p { margin: 0; max-width: 440px; color: #a59c91; }
.ft-news-field { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 20px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); transition: border-color .2s, background .2s; }
.ft-news-field:focus-within { border-color: var(--gold); background: rgba(255, 255, 255, .09); }
.ft-news-field input { flex: 1; min-width: 0; margin: 0; padding: 11px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; color: #fff; font: inherit; font-size: .93rem; }
.ft-news-field input::placeholder { color: #8f877d; }
.ft-news-field button { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 700 .72rem var(--sans); letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background .2s; }
.ft-news-field button:hover { background: var(--gold); }
.ft-news-field button .icon { transition: transform .2s; }
.ft-news-field button:hover .icon { transform: translateX(3px); }
.ft-news-consents { display: grid; gap: 8px; margin-top: 14px; padding-left: 6px; }
.ft .consent-mini { font-size: .76rem; color: #a59c91; }
.ft .consent-mini input { width: 15px; height: 15px; }

/* Columnas */
.ft-main { display: grid; grid-template-columns: 1.35fr 1.25fr .95fr 1.2fr; gap: 48px; padding-top: 64px; padding-bottom: 56px; }
.ft-brand .logo { display: inline-block; margin-bottom: 14px; }
.ft-tagline { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: #fff; }
.ft-about { max-width: 330px; margin: 0 0 22px; font-size: .86rem; line-height: 1.7; color: #9d948a; }
.ft-socials { display: flex; gap: 10px; }
.ft-socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .15); color: #e8e0d5; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.ft-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.ft-col summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; list-style: none; cursor: default; }
.ft-col summary::-webkit-details-marker { display: none; }
.ft-chevron { display: none; color: #8f877d; transition: transform .25s var(--ease); }
.ft-contact h4 { margin-bottom: 20px; }
.ft-links { display: grid; gap: 12px; }
.ft-links.is-split { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.ft-links a { position: relative; display: inline-block; color: #b3aa9f; transition: color .2s; }
.ft-links a::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; background: var(--gold); transition: width .25s var(--ease); }
.ft-links a:hover { color: #fff; }
.ft-links a:hover::after { width: 100%; }
.ft .ft-contact-list { display: grid; gap: 12px; margin-bottom: 22px; }
.ft-contact-list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
.ft-contact-list li > span:last-child, .ft-contact-list li > a { padding-top: 5px; min-width: 0; word-break: break-word; }
.ft-contact-list a:hover { color: #fff; }
.ft-ci { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--gold); }
.ft-wa { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; background: #25d366; color: #073b1c; font-size: .84rem; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.ft-wa:hover { color: #073b1c; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 211, 102, .25); }

/* Confianza: Libro de Reclamaciones y pagos */
.ft-trust { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ft-trust .complaints-book { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .03); color: #fff; transition: border-color .2s, background .2s; }
.ft-trust .complaints-book:hover { border-color: var(--gold); background: rgba(255, 255, 255, .06); }
.ft-trust .complaints-book small { color: #a59c91; }
.cb-icon { width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.ft-trust .complaints-book .cb-icon .icon { color: var(--ink); }
.ft-pay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ft-pay-label { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #8f877d; }
.ft-pay ul { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-pay li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font-size: .76rem; color: #d8cfc3; }
.ft-pay li .icon { color: var(--gold); }

/* Barra inferior */
.ft-bottom { background: #110f0e; border-top: 1px solid rgba(255, 255, 255, .06); }
.ft-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: .78rem; color: #857c72; }
.ft-copy { margin: 0; }
.ft-copy span { display: block; margin-top: 3px; font-size: .72rem; color: #6f675e; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ft-legal a, .ft-legal button { padding: 0; border: 0; background: none; font: inherit; color: #a59c91; cursor: pointer; transition: color .2s; }
.ft-legal a:hover, .ft-legal button:hover { color: #fff; }

@media (max-width: 1100px) {
    .ft-main { grid-template-columns: 1fr 1fr; gap: 44px 40px; }
    .ft-news { grid-template-columns: 1fr; padding: 34px; }
}
@media (max-width: 960px) {
    .ft-perks-grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
    .ft-perk:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 720px) {
    .ft-perks-grid { grid-template-columns: 1fr; row-gap: 18px; padding-top: 28px; padding-bottom: 28px; }
    .ft-perk { border-left: 0; padding: 0; }
    .ft-news { margin-top: 40px; padding: 26px 20px; }
    .ft-news-field { flex-direction: column; align-items: stretch; padding: 6px; border-radius: 14px; }
    .ft-news-field input { padding: 11px 12px; }
    .ft-news-field button { justify-content: center; border-radius: 10px; }
    .ft-main { grid-template-columns: 1fr; gap: 0; padding-top: 40px; padding-bottom: 28px; }
    .ft-brand { padding-bottom: 28px; }
    .ft-col { border-top: 1px solid rgba(255, 255, 255, .08); }
    .ft-col summary { margin: 0; padding: 18px 0; cursor: pointer; }
    .ft-chevron { display: block; }
    .ft-col[open] .ft-chevron { transform: rotate(180deg); }
    .ft-col .ft-links { padding-bottom: 20px; }
    .ft-contact { padding-top: 18px; }
    .ft-contact h4 { margin-bottom: 16px; }
    .ft-trust { flex-direction: column; align-items: flex-start; }
    .ft-bottom-inner { flex-direction: column; align-items: flex-start; }
}
@media print { .ft-perks { display: none !important; } }

/* ---------- Páginas de error ---------- */
.error-page { padding-top: 72px; padding-bottom: 96px; }
.error-box { text-align: center; max-width: 620px; margin: 0 auto; }
.error-code { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 14vw, 8.5rem); line-height: 1; color: var(--accent); opacity: .9; }
.error-box h1 { margin: 14px 0 12px; font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.error-box > p { max-width: 480px; margin: 0 auto 28px; font-size: 1rem; line-height: 1.7; }
.error-search { display: flex; align-items: center; gap: 10px; max-width: 460px; margin: 0 auto 22px; padding: 6px 6px 6px 16px; border: 1px solid var(--line); background: #fff; }
.error-search .icon { color: var(--muted); flex-shrink: 0; }
.error-search input { flex: 1; min-width: 0; margin: 0; padding: 8px 0; border: 0; background: transparent; box-shadow: none; outline: none; font: inherit; }
.error-search:focus-within { border-color: var(--ink); }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.error-actions .icon { margin-right: 2px; }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .86rem; }
.error-links span { color: var(--muted); }
.error-links a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 20px; color: var(--ink-2); transition: border-color .2s, color .2s; }
.error-links a:hover { border-color: var(--ink); color: var(--ink); }
/* ---------- Cuentas de clientes ---------- */
/* Campo de contraseña */
.password-field { position: relative; display: block; margin-top: 6px; }
.password-field input { padding-right: 48px; margin: 0; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.password-toggle:hover { color: var(--ink); }
.password-toggle .eye-off, .password-toggle.is-on .eye-open { display: none; }
.password-toggle.is-on .eye-off { display: block; }
.pw-label { position: relative; }
.label-link { position: absolute; right: 0; top: 0; font-size: .78rem; font-weight: 600; color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.caps-warning { display: block; margin-top: 6px; font-size: .76rem; font-weight: 600; color: var(--warn); }
.strength { display: block; margin-top: 8px; }
.strength-bar { display: block; height: 4px; background: var(--line); overflow: hidden; }
.strength-bar i { display: block; height: 100%; width: 0; background: var(--sale); transition: width .25s var(--ease), background .25s; }
.strength small { display: block; margin-top: 5px; font-size: .74rem; color: var(--muted); }
.strength[data-level="0"] i { width: 12%; }
.strength[data-level="1"] i { width: 30%; }
.strength[data-level="2"] i { width: 55%; background: var(--warn); }
.strength[data-level="3"] i { width: 80%; background: #6b9f3b; }
.strength[data-level="4"] i { width: 100%; background: var(--ok); }
.btn.is-loading { pointer-events: none; opacity: .8; }

/* Inicio de sesión y registro */
.auth-store { padding: 56px 0 80px; background: linear-gradient(180deg, var(--bg-soft), #fff 70%); }
.auth-store-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1080px; margin: 0 auto; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(28, 26, 24, .08); }
.auth-store-card { padding: 48px 52px; }
.auth-store-single .auth-store-card { max-width: 500px; margin: 0 auto; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(28, 26, 24, .08); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.auth-tabs a { padding: 0 0 14px; text-align: center; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.auth-tabs a:hover { color: var(--ink); }
.auth-tabs a.active { color: var(--ink); border-color: var(--ink); }
.auth-store-card h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 0 0 8px; }
.auth-store-card > .muted { margin: 0 0 24px; }
.auth-store-form { display: grid; gap: 16px; }
.auth-store-form label { margin: 0; }
.auth-store-form .btn-lg { margin-top: 6px; }
.check.remember { font-size: .86rem; }
.auth-switch { margin: 22px 0 0; text-align: center; font-size: .88rem; color: var(--muted); }
.auth-switch a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.auth-guest { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 14px 16px; border: 1px dashed var(--line); background: var(--bg-soft); transition: border-color .2s; }
.auth-guest:hover { border-color: var(--accent); }
.auth-guest > .icon:first-child { color: var(--accent); flex-shrink: 0; }
.auth-guest span { flex: 1; display: grid; line-height: 1.35; }
.auth-guest strong { font-size: .88rem; }
.auth-guest small { font-size: .78rem; color: var(--muted); }
.auth-store-aside { position: relative; display: flex; align-items: flex-end; padding: 44px; color: #fff; overflow: hidden; background: #2a2622 var(--auth-img, none) center / cover no-repeat; }
.auth-store-aside::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 17, 14, .15), rgba(20, 17, 14, .82)); }
.auth-aside-copy { position: relative; }
.auth-aside-copy .eyebrow { color: var(--gold); }
.auth-aside-copy h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 6px 0 22px; }
.auth-aside-copy h2 em { color: var(--gold); }
.auth-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.auth-benefits li { display: flex; gap: 12px; align-items: flex-start; }
.auth-benefits li > span { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.auth-benefits div { display: grid; line-height: 1.35; }
.auth-benefits strong { font-size: .9rem; }
.auth-benefits small { font-size: .8rem; color: rgba(255, 255, 255, .78); }
.auth-back-link { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 22px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.auth-back-link:hover { color: var(--ink); }
.auth-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: var(--bg-soft); color: var(--accent); }
.auth-sent-box { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 22px; margin-bottom: 16px; background: #eef6f0; color: var(--ok); }
.auth-sent-box p { margin: 0; color: var(--ink); }
.auth-actions-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Cabecera: menú de la cuenta */
.account-menu { position: relative; }
.account-initials { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; }
body.has-hero:not(.search-open) .site-header:not(.is-scrolled):not(:hover):not(:focus-within) .account-initials { background: #fff; color: var(--ink); }
.account-drop { position: absolute; right: -8px; top: calc(100% + 6px); z-index: 60; width: 240px; padding: 8px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.account-menu:hover .account-drop, .account-menu:focus-within .account-drop { opacity: 1; visibility: visible; transform: none; }
.account-drop-head { display: grid; padding: 8px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); line-height: 1.35; }
.account-drop-head strong { font-size: .88rem; }
.account-drop-head small { font-size: .76rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.account-drop a, .account-drop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none; font: inherit; font-size: .86rem; color: var(--ink-2); text-align: left; cursor: pointer; }
.account-drop a:hover, .account-drop button:hover { background: var(--bg-soft); color: var(--ink); }
.account-drop .icon { color: var(--muted); }
.account-drop form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }

/* Mi cuenta */
.acc-head { padding: 40px 0 34px; background: linear-gradient(180deg, var(--bg-soft), #fff); border-bottom: 1px solid var(--line); }
.acc-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.acc-id { display: flex; align-items: center; gap: 18px; }
.acc-avatar { width: 70px; height: 70px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--serif); font-size: 1.5rem; letter-spacing: .04em; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line); }
.acc-id h1 { margin: 2px 0 4px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.acc-id p { margin: 0; font-size: .88rem; }
.acc-verified { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: 20px; background: #eaf5ec; color: var(--ok); font-size: .7rem; font-weight: 700; vertical-align: middle; }
.acc-section { padding-top: 36px; }
.acc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; }
.acc-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line); background: #fff; }
.acc-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: .9rem; color: var(--ink-2); border-left: 2px solid transparent; transition: background .2s, color .2s; }
.acc-nav a .icon { color: var(--muted); }
.acc-nav a span { flex: 1; }
.acc-nav a b { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: .7rem; }
.acc-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.acc-nav a.active { background: var(--bg-soft); color: var(--ink); font-weight: 600; border-left-color: var(--ink); }
.acc-nav a.active .icon { color: var(--accent); }
.acc-content { display: grid; gap: 20px; min-width: 0; }
.acc-content > .alert { margin: 0; }
.acc-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acc-title h2 { margin: 0; font-size: 1.7rem; }
.acc-card { background: #fff; border: 1px solid var(--line); padding: 26px 28px; }
.acc-card h3 { font-size: 1.15rem; margin: 0 0 14px; }
.acc-card h3:not(:first-child) { margin-top: 22px; }
.acc-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.acc-card-head h2 { margin: 2px 0; font-size: 1.4rem; letter-spacing: .02em; }
.acc-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.acc-current { border-color: var(--ink); box-shadow: 0 18px 40px rgba(28, 26, 24, .07); }
.acc-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; background: #fbf6ec; border: 1px solid #efdfbf; }
.acc-banner-icon { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: #fff; color: var(--warn); }
.acc-banner > div { flex: 1; min-width: 220px; display: grid; line-height: 1.4; }
.acc-banner small { color: var(--ink-2); font-size: .8rem; }
.acc-banner form { margin: 0; }
.acc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.acc-stats > div { display: grid; gap: 2px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); }
.acc-stats span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: var(--bg-soft); color: var(--accent); }
.acc-stats strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; line-height: 1.1; }
.acc-stats small { font-size: .8rem; color: var(--muted); }

/* Seguimiento */
.tracker { --progress: 0%; position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin: 4px 0 0; padding: 0; }
.tracker::before, .tracker::after { content: ''; position: absolute; top: 17px; left: 10%; height: 2px; background: var(--line); }
.tracker::before { right: 10%; }
.tracker::after { width: calc((80%) * var(--progress) / 100%); background: var(--accent); transition: width .6s var(--ease); }
.tracker li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 0 4px; }
.tracker-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--muted); transition: .3s; }
.tracker strong { font-size: .8rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.tracker small { font-size: .74rem; color: var(--muted); line-height: 1.35; }
.tracker li.is-done .tracker-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.tracker li.is-done strong { color: var(--ink); }
.tracker li.is-current .tracker-dot { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 6px rgba(160, 125, 85, .18); }
.tracker li.is-current strong { color: var(--ink); font-weight: 700; }
.tracker:not(.is-detailed) small { display: none; }
.tracker-cancelled { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #fbecea; color: #8a2f27; font-size: .9rem; }

/* Listas de pedidos */
.order-thumbs { display: flex; align-items: center; }
.order-thumbs img { width: 44px; height: 54px; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.order-thumbs img + img { margin-left: -10px; }
.order-thumbs span { margin-left: 8px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.order-rows { list-style: none; margin: 0; padding: 0; }
.order-rows li + li { border-top: 1px solid var(--line); }
.order-rows a { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; padding: 14px 0; transition: background .2s; }
.order-rows a:hover strong { text-decoration: underline; }
.order-rows a > div { display: grid; line-height: 1.35; }
.order-rows strong { letter-spacing: .04em; }
.order-rows small { font-size: .8rem; color: var(--muted); }
.order-total { font-weight: 600; }
.acc-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 26px 10px; color: var(--accent); }
.acc-empty p { margin: 0; color: var(--muted); }
.acc-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.acc-quick a { display: flex; align-items: flex-start; gap: 12px; padding: 18px; background: var(--bg-soft); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.acc-quick a:hover { border-color: var(--line); background: #fff; }
.acc-quick .icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.acc-quick span { display: grid; line-height: 1.35; min-width: 0; }
.acc-quick strong { font-size: .9rem; }
.acc-quick small { font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.order-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.order-card-v2 { display: grid; gap: 14px; align-content: start; padding: 22px; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.order-card-v2:hover { border-color: #d8cfc2; box-shadow: 0 16px 36px rgba(28, 26, 24, .06); }
.order-card-v2 header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.order-card-v2 header div { display: grid; line-height: 1.35; }
.order-card-v2 header strong { letter-spacing: .05em; }
.order-card-v2 header small { font-size: .78rem; color: var(--muted); }
.order-progress { height: 4px; background: var(--line); overflow: hidden; }
.order-progress span { display: block; height: 100%; background: var(--accent); }
.order-step { margin: -6px 0 0; font-size: .82rem; color: var(--ink-2); }
.order-card-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-card-sum { display: grid; text-align: right; line-height: 1.3; }
.order-card-sum small { font-size: .78rem; color: var(--muted); }
.order-card-sum strong { font-size: 1.05rem; }
.acc-link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 18px; align-items: center; background: var(--bg-soft); border-style: dashed; }
.acc-link h3 { margin: 0 0 4px; }
.acc-link p { margin: 0; }
.acc-link-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin: 0; }
.acc-link-form input { margin: 0; background: #fff; }
.acc-back { display: inline-flex; align-items: center; gap: 4px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.acc-back:hover { color: var(--ink); }
.acc-pay { display: flex; gap: 14px; margin-top: 22px; padding: 16px 18px; background: #fbf6ec; border: 1px solid #efdfbf; }
.acc-pay > .icon { color: var(--warn); flex-shrink: 0; margin-top: 2px; }
.acc-pay p { margin: 4px 0; font-size: .88rem; color: var(--ink-2); }
.acc-pay small { font-size: .8rem; color: var(--muted); }
.acc-detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.acc-side { display: grid; gap: 20px; }
.acc-side p { margin: 0 0 6px; font-size: .9rem; color: var(--ink-2); line-height: 1.6; }
.order-lines { list-style: none; margin: 0; padding: 0; }
.order-lines li { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-lines img { width: 58px; height: 72px; object-fit: cover; background: var(--bg-soft); }
.order-lines div { display: grid; line-height: 1.4; }
.order-lines a { font-weight: 600; }
.order-lines a:hover { text-decoration: underline; }
.order-lines small { font-size: .8rem; color: var(--muted); }
.acc-help { display: grid; gap: 10px; }
.acc-help h3 { margin-bottom: 4px; }
.acc-help .link-inline { display: inline-flex; align-items: center; gap: 6px; justify-self: center; margin-top: 4px; }
.acc-actions { display: flex; justify-content: flex-end; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.acc-card.form { display: block; }
.acc-card .form-grid label { margin-bottom: 16px; }
.acc-info-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acc-info-list div { display: grid; gap: 2px; }
.acc-info-list span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.acc-info-list strong { font-size: .92rem; font-weight: 500; }
.acc-toggle-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.acc-toggle-row > div { flex: 1; min-width: 240px; }
.acc-toggle-row h3 { margin: 0 0 4px; }
.acc-toggle-row p { margin: 0; }
.status-on { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 20px; background: #eaf5ec; color: var(--ok); font-size: .78rem; font-weight: 600; }
.acc-danger summary { list-style: none; cursor: pointer; display: grid; gap: 2px; }
.acc-danger summary::-webkit-details-marker { display: none; }
.acc-danger summary strong { color: var(--sale); }
.acc-danger[open] summary { margin-bottom: 16px; }
.acc-danger-btn { border-color: var(--sale); color: var(--sale); }
.acc-danger-btn:hover { background: var(--sale); color: #fff; }

/* Integraciones */
.checkout-account { display: flex; align-items: flex-start; gap: 10px; margin: -6px 0 20px; padding: 12px 14px; background: var(--bg-soft); font-size: .86rem; color: var(--ink-2); }
.checkout-account .icon { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.checkout-account a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.checkout-account.is-in { background: #eef6f0; }
.thanks-account { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 22px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); text-align: left; }
.thanks-account > div { flex: 1; min-width: 220px; display: grid; line-height: 1.4; }
.thanks-account small { font-size: .84rem; color: var(--muted); }
.thanks-account-icon { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--bg-soft); color: var(--accent); }
.thanks-account.is-in { border-color: #cfe4d5; background: #f4faf6; }
.thanks-signup { align-items: flex-start; border-color: var(--ink); }
.thanks-signup-copy { flex: 1; min-width: 220px; display: grid; gap: 2px; line-height: 1.4; }
.thanks-signup-field { display: flex; align-items: flex-end; gap: 10px; flex: 1 1 360px; }
.thanks-signup-field label { flex: 1; margin: 0; font-size: .82rem; }
.thanks-signup-field .btn { flex-shrink: 0; min-height: 50px; }
.track-account { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding: 14px 18px; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.track-account:hover { border-color: var(--ink); }
.track-account > .icon:first-child { color: var(--accent); flex-shrink: 0; }
.track-account span { flex: 1; display: grid; line-height: 1.35; }
.track-account strong { font-size: .9rem; }
.track-account small { font-size: .8rem; color: var(--muted); }

@media (max-width: 1000px) {
    .acc-layout { grid-template-columns: 1fr; gap: 22px; }
    .acc-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; padding: 4px; }
    .acc-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; padding: 10px 14px; }
    .acc-nav a.active { border-bottom-color: var(--ink); }
    .acc-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .auth-store-grid { grid-template-columns: 1fr; }
    .auth-store-aside { display: none; }
    .auth-store-card { padding: 34px 26px; }
    .order-cards { grid-template-columns: 1fr; }
    .acc-quick { grid-template-columns: 1fr; }
    .acc-link { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .auth-store { padding: 28px 0 48px; }
    .acc-head { padding: 28px 0 24px; }
    .acc-avatar { width: 56px; height: 56px; font-size: 1.2rem; }
    .acc-stats { grid-template-columns: 1fr; }
    .acc-card { padding: 20px 18px; }
    .tracker strong { font-size: .68rem; }
    .tracker-dot { width: 30px; height: 30px; }
    .tracker::before, .tracker::after { top: 14px; }
    .tracker.is-detailed small { display: none; }
    .order-rows a { grid-template-columns: auto 1fr; }
    .order-rows .order-total, .order-rows .badge { grid-column: 2; justify-self: start; }
    .acc-link-form { grid-template-columns: 1fr; }
    .acc-info-list { grid-template-columns: 1fr; }
    .thanks-signup-field { flex-direction: column; align-items: stretch; }
}

/* Ajustes finos de cuenta */
.auth-store-grid.container { padding-left: 0; padding-right: 0; }
.tracker li { align-content: start; }
@media (max-width: 860px) { .auth-store-grid.container { width: auto; margin-left: 16px; margin-right: 16px; } }