/* =========================================================
   ZAVIRA · Estilos — "Noir & Oro"
   (el estilo claro anterior quedó en css/styles-claro.css)
   ========================================================= */
:root {
  --bg: #0b0a09;
  --bg-2: #12100d;
  --surface: #181511;
  --surface-2: #211d17;
  --ivory: #f4ecdc;
  --text: #efe6d3;
  --text-2: #c9bfac;
  --muted: #8f8573;
  --gold: #d6b06a;
  --gold-hi: #f3dc9f;
  --gold-lo: #9c7432;
  --gold-grad: linear-gradient(120deg, #a87a33 0%, #e9c983 35%, #fff0c4 50%, #d9b064 65%, #9c7432 100%);
  --line: rgba(214, 176, 106, .2);
  --line-2: rgba(239, 230, 211, .1);
  --radius: 4px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-weight: 400; font-size: 15.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* grano sutil */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.4rem; }
em { font-style: italic; }
h1 em, h2 em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--bg); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .7rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.1rem; font-weight: 500;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.small { font-size: .82rem; }
.muted { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem 1.9rem; border-radius: 0; border: 1px solid var(--gold);
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600;
  text-decoration: none; transition: color .35s, border-color .35s, transform .2s; white-space: nowrap; isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: scale(.98); }
.btn-dark, .btn-gold { background: var(--gold-grad); background-size: 200% 100%; color: #17120a; border-color: transparent; transition: background-position .6s var(--ease), transform .2s; }
.btn-dark::before, .btn-gold::before { display: none; }
.btn-dark:hover, .btn-gold:hover { background-position: 100% 0; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost::before { background: var(--text); }
.btn-ghost:hover { color: var(--bg); border-color: var(--text); }
.btn.block { width: 100%; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; transition: background .25s, color .25s;
}
.icon-btn:hover { background: rgba(214, 176, 106, .12); color: var(--gold-hi); }
.icon-btn svg, .tool svg, .contact-card svg, .wa-float svg {
  width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.icon-btn.outline { border: 1px solid var(--line); border-radius: 0; width: 52px; height: 52px; flex: none; }
.icon-btn.outline:hover { border-color: var(--gold); }
.icon-btn.is-on svg, .fav-toggle.is-on svg { fill: var(--gold); stroke: var(--gold); }
.badge {
  position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--gold); color: #17120a; font-size: .64rem; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.badge:empty, .badge[data-n="0"] { display: none; }

/* ---------- Header ---------- */
.topbar {
  background: var(--gold-grad); color: #1b140a; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600;
  display: flex; justify-content: center; gap: 1.2rem; padding: .5rem 1rem; flex-wrap: wrap; text-align: center;
}
.topbar b { font-weight: 700; }
.topbar .dot { opacity: .5; }
.header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 0 clamp(1rem, 4vw, 3.5rem);
  background: rgba(11, 10, 9, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .3s, height .3s;
}
.header.scrolled { border-color: var(--line); }
.brand { grid-column: 2; grid-row: 1; justify-self: center; }
.brand img { height: 48px; width: auto; transition: transform .3s; }
.brand:hover img { transform: scale(1.03); }
.nav { grid-column: 1; grid-row: 1; display: flex; gap: 1.35rem; flex-wrap: nowrap; }
.nav a { white-space: nowrap; text-decoration: none; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; position: relative; padding: .3rem 0; color: var(--text-2); transition: color .25s; }
.nav a:hover { color: var(--gold-hi); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-hl { color: var(--gold); }
.header-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; gap: .2rem; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
  max-width: 1380px; margin: 0 auto; min-height: min(calc(100vh - var(--header-h) - 34px), 880px);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 72% 45%, rgba(214, 176, 106, .16), transparent 70%); }
.hero h1 { font-size: clamp(3.4rem, 8.5vw, 7.6rem); letter-spacing: -.02em; line-height: .95; }
.lead { font-size: 1.05rem; color: var(--text-2); max-width: 31rem; margin: 1.8rem 0 2.4rem; font-weight: 300; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-trust { list-style: none; padding: 2.2rem 0 0; margin: 2.8rem 0 0; display: flex; gap: 3rem; flex-wrap: wrap; border-top: 1px solid var(--line-2); max-width: 31rem; }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust b { font-family: var(--serif); font-size: 2rem; font-weight: 400; color: var(--gold-hi); line-height: 1.1; }
.hero-trust span { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.hero-media { position: relative; aspect-ratio: 4 / 5; max-width: 520px; width: 100%; justify-self: center; }
.arch { position: absolute; inset: 0 8% 0 4%; border-radius: 999px 999px 0 0; overflow: hidden; box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: slowzoom 18s ease-in-out infinite alternate; }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 10, 9, .55), transparent 45%); }
.arch-line { position: absolute; inset: -14px 2% 14px 10%; border: 1px solid var(--gold); border-radius: 999px 999px 0 0; opacity: .55; }
.orb { position: absolute; width: 38%; aspect-ratio: 1; left: -6%; bottom: 8%; border-radius: 50%; overflow: hidden; border: 5px solid var(--bg); box-shadow: var(--shadow); }
.orb img { width: 100%; height: 100%; object-fit: cover; }
.seal { position: absolute; width: 30%; right: -2%; top: 6%; animation: spin 26s linear infinite; }
.seal text { font-family: var(--sans); font-size: 12px; letter-spacing: 3px; fill: var(--gold-hi); font-weight: 500; }
.seal-z { position: absolute; width: 7%; right: 13.5%; top: 12.5%; }
.hero-text > *, .hero-media > * { animation: rise 1s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .08s; } .hero-text > :nth-child(3) { animation-delay: .16s; }
.hero-text > :nth-child(4) { animation-delay: .24s; } .hero-text > :nth-child(5) { animation-delay: .32s; }
.hero-media .orb { animation-delay: .3s; } .hero-media .seal { animation: rise 1s .45s var(--ease) both, spin 26s linear infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes slowzoom { to { transform: scale(1.14); } }
@keyframes spin { to { transform: rotate(360deg); } }

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 1.05rem 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 2.4rem; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--text); white-space: nowrap; }
.marquee i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 5vw, 4.5rem); max-width: 1380px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head .sub { color: var(--text-2); margin: 1rem auto 0; max-width: 36rem; font-weight: 300; }
.section.invert { max-width: none; background: var(--ivory); color: #1a1510; }
.section.invert > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.section.invert .eyebrow { color: var(--gold-lo); }
.section.invert h2 em { background: linear-gradient(120deg, #8a6424, #c49a4c 50%, #8a6424); -webkit-background-clip: text; background-clip: text; }

/* ---------- Filtros ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; justify-content: center; margin-bottom: 2.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.chip {
  border: 1px solid var(--line-2); background: transparent; border-radius: 0; padding: .5rem 1.05rem; color: var(--text-2);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; transition: all .25s;
}
.chip:hover { border-color: var(--gold); color: var(--gold-hi); }
.chip.active { background: var(--gold); border-color: var(--gold); color: #17120a; font-weight: 600; }
.sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--bg); background: var(--c); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.sw:hover { transform: scale(1.12); }
.sw.active { box-shadow: 0 0 0 2px var(--gold); }
.select { border: 1px solid var(--line-2); background: var(--surface); color: var(--text); border-radius: 0; padding: .55rem 1rem; font: inherit; font-size: .8rem; }

/* ---------- Grid productos ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2.4rem 1.4rem; }
.card { position: relative; display: flex; flex-direction: column; cursor: pointer; animation: rise .6s var(--ease) both; }
.card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); }
.card-media::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(243, 220, 159, 0); transition: border-color .5s, inset .5s var(--ease); pointer-events: none; }
.card:hover .card-media::after { border-color: rgba(243, 220, 159, .55); inset: 14px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s; }
.card-media .alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-media img { transform: scale(1.06); }
.card:hover .card-media .alt { opacity: 1; }
.card-tag { position: absolute; left: 0; top: 18px; background: var(--gold); color: #17120a; padding: .25rem .8rem; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.fav-toggle { position: absolute; right: 12px; top: 12px; background: rgba(11, 10, 9, .55); color: var(--text); backdrop-filter: blur(6px); }
.fav-toggle:hover { background: rgba(11, 10, 9, .8); }
.card-quick {
  position: absolute; left: 0; right: 0; bottom: 0; transform: translateY(101%); transition: transform .45s var(--ease);
  background: var(--gold-grad); color: #17120a; border: 0; padding: .95rem; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700;
}
.card:hover .card-quick { transform: none; }
.card-info { padding: 1.1rem 0 0; display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; border-bottom: 1px solid var(--line-2); padding-bottom: .9rem; }
.card-info h3 { font-size: 1.3rem; }
.card-info small { display: block; color: var(--muted); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; margin-top: .35rem; }
.card-price { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-hi); white-space: nowrap; }
.grid-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 3rem 0; }
.grid-empty a { color: var(--gold); }

/* ---------- Editor 3D ---------- */
.builder-section { max-width: 1440px; }
.builder { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(340px, 1fr); gap: 0; align-items: start; border: 1px solid var(--line); }
.builder > * { min-width: 0; }
.viewer {
  position: sticky; top: var(--header-h);
  aspect-ratio: 1 / 1; max-height: calc(100vh - var(--header-h)); width: 100%; overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 38%, rgba(243, 220, 159, .16), transparent 70%),
    radial-gradient(120% 90% at 50% 20%, #2a241b 0%, #14110d 55%, #0b0a09 100%);
}
.viewer::before { content: ""; position: absolute; inset: 18px; border: 1px solid var(--line); pointer-events: none; z-index: 1; }
#bracelet3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
#bracelet3d:active { cursor: grabbing; }
.viewer-loading { position: absolute; inset: 0; display: grid; place-content: center; gap: .9rem; justify-items: center; color: var(--muted); font-size: .85rem; letter-spacing: .1em; }
.viewer-loading.hide { display: none; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); border-top-color: var(--gold); animation: spin 1s linear infinite; }
.viewer-tools { position: absolute; right: 34px; top: 34px; display: flex; flex-direction: column; gap: .5rem; z-index: 2; }
.tool { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(11, 10, 9, .6); color: var(--text); backdrop-filter: blur(6px); transition: all .25s; }
.tool:hover { border-color: var(--gold); color: var(--gold-hi); }
.tool[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #17120a; }
.viewer-hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; pointer-events: none; z-index: 2; }
.viewer-summary { position: absolute; left: 34px; top: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; max-width: 60%; pointer-events: none; z-index: 2; }
.viewer-summary span { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--text-2); }
.viewer-summary span:first-child { font-size: 1.25rem; color: var(--gold-hi); }

.panel { background: var(--bg-2); padding: 1.6rem 1.8rem 0; border-left: 1px solid var(--line); }
.step { padding: 1.2rem 0 1.4rem; border-bottom: 1px solid var(--line-2); }
.step:first-child { padding-top: .3rem; }
.step h3 { font-family: var(--sans); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; color: var(--text); }
.step h3 span { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0; font-weight: 400; color: var(--gold); width: auto; }
.step h3 em { margin-left: auto; text-transform: none; letter-spacing: .02em; font-family: var(--serif); font-size: 1rem; color: var(--gold-hi); font-weight: 400; }
.row { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.row:first-of-type { margin-top: 0; }
.lbl { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.lbl output { color: var(--gold-hi); font-weight: 600; font-size: .8rem; letter-spacing: .05em; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .4rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 100%;
  border: 1px solid var(--line-2); padding: .85rem .5rem; cursor: pointer; transition: all .25s; background: var(--surface); color: var(--text-2);
}
.seg span b { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--text); }
.seg span small { font-size: .66rem; color: var(--muted); line-height: 1.35; margin-top: .2rem; letter-spacing: .04em; }
.seg.small span { padding: .55rem .3rem; font-size: .74rem; }
.seg span:hover { border-color: var(--line); color: var(--text); }
.seg input:checked + span { border-color: var(--gold); background: rgba(214, 176, 106, .12); color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold); }
.seg input:checked + span b { color: var(--gold-hi); }
.seg input:checked + span small { color: var(--text-2); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.colors { display: flex; flex-wrap: wrap; gap: .6rem; }
.color { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--bg-2); background: var(--c); box-shadow: 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s; padding: 0; }
.color:hover { transform: scale(1.1); }
.color.active { box-shadow: 0 0 0 1.5px var(--gold-hi); transform: scale(1.06); }

.charms { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.weaves { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.weave {
  display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .7rem .4rem .6rem;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: .66rem; letter-spacing: .04em; line-height: 1.25; text-align: center;
  transition: all .25s;
}
.weave svg { width: 100%; max-width: 92px; height: 34px; color: var(--gold); }
.weave small { color: var(--muted); font-size: .58rem; }
.weave:hover { border-color: var(--line); color: var(--text); }
.weave.active { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: rgba(214, 176, 106, .12); color: var(--gold-hi); }
.charm {
  display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .65rem .2rem .5rem;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: .62rem; letter-spacing: .04em; line-height: 1.2; text-align: center;
  transition: all .25s;
}
.charm svg { width: 28px; height: 28px; color: var(--gold); }
.charm:hover { border-color: var(--line); color: var(--text); }
.charm.active { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: rgba(214, 176, 106, .12); color: var(--gold-hi); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: linear-gradient(to right, var(--gold) var(--p, 50%), rgba(239, 230, 211, .15) var(--p, 50%)); outline: none; margin: .7rem 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-grad); border: 3px solid var(--bg-2); box-shadow: 0 0 0 1px var(--gold); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg-2); cursor: pointer; }

.input {
  width: 100%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); border-radius: 0; padding: .8rem .95rem; font: inherit; font-size: .92rem;
  transition: border-color .25s;
}
.input:focus { outline: none; border-color: var(--gold); }
.input.letter { width: 64px; text-align: center; font-family: var(--serif); font-size: 1.7rem; padding: .25rem; text-transform: uppercase; color: var(--gold-hi); }
select.input option { background: var(--surface); }

.panel-foot {
  position: sticky; bottom: 0; background: var(--bg-2); padding: 1.2rem 0 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  border-top: 1px solid var(--line);
}
.price small { display: block; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.price strong { font-family: var(--serif); font-size: 2.1rem; font-weight: 400; color: var(--text); transition: color .3s; }
.price strong.bump { color: var(--gold-hi); }
.panel-actions { display: flex; gap: .5rem; align-items: center; }

/* ---------- Oro laminado (sección marfil) ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: why; border-top: 1px solid rgba(26, 21, 16, .15); }
.why article { counter-increment: why; padding: 2.2rem 1.6rem 2rem 0; border-right: 1px solid rgba(26, 21, 16, .12); }
.why article + article { padding-left: 1.6rem; }
.why article:last-child { border-right: 0; }
.why-ico { display: block; font-size: 0; }
.why-ico::before { content: "0" counter(why); font-family: var(--serif); font-size: 3rem; line-height: 1; color: #b08a45; }
.why h3 { margin: 1rem 0 .6rem; color: #1a1510; font-size: 1.45rem; }
.why p { margin: 0; color: #5e5446; font-weight: 400; font-size: .92rem; }
.care { margin-top: 3rem; padding: 2rem 2.2rem; background: #1a1510; color: var(--text); display: grid; grid-template-columns: auto 1fr; gap: 2.4rem; align-items: center; }
.care h3 { font-style: italic; color: var(--gold-hi); }
.care ul { margin: 0; padding-left: 1.1rem; color: var(--text-2); font-weight: 300; }
.care li::marker { color: var(--gold); content: "✦  "; }

/* ---------- FAQ (dos columnas) ---------- */
#envios { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
#envios .section-head { text-align: left; position: sticky; top: calc(var(--header-h) + 2rem); margin: 0; }
#envios .section-head .eyebrow::after { display: none; }
.faq { width: 100%; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 0; font-family: var(--serif); font-size: 1.35rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color .25s; }
.faq summary:hover { color: var(--gold-hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg) translate(-3px, -3px); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq p { margin: 0 0 1.5rem; color: var(--text-2); font-weight: 300; max-width: 46rem; }
.faq b { color: var(--gold-hi); font-weight: 500; }

/* ---------- Mayoristas ---------- */
.wholesale {
  max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  background: linear-gradient(90deg, rgba(11, 10, 9, .96) 30%, rgba(11, 10, 9, .7)), url("../assets/img/productos/p14.jpg") center / cover;
  padding-left: max(clamp(1rem, 5vw, 4.5rem), calc((100vw - 1240px) / 2)); padding-right: max(clamp(1rem, 5vw, 4.5rem), calc((100vw - 1240px) / 2));
  border-block: 1px solid var(--line);
}
.wholesale-text p { color: var(--text-2); font-weight: 300; }
.ticks { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .8rem; }
.ticks li { display: flex; gap: .9rem; }
.ticks li::before { content: "✦"; color: var(--gold); }
.card-form { background: rgba(18, 16, 13, .88); backdrop-filter: blur(10px); border: 1px solid var(--line); padding: 2.2rem; display: grid; gap: 1rem; }
.card-form label, .checkout label { display: grid; gap: .35rem; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card-form h3 { margin-bottom: .3rem; font-size: 1.7rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.contact-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: 2.4rem 1.8rem; text-decoration: none;
  transition: background .35s; word-break: break-word; border-right: 1px solid var(--line);
}
.contact-card:last-child { border-right: 0; }
.contact-card::after { content: "→"; position: absolute; right: 1.6rem; top: 2.2rem; color: var(--gold); transition: transform .35s var(--ease); }
.contact-card:hover { background: var(--surface); }
.contact-card:hover::after { transform: translateX(6px); }
.contact-card svg { width: 28px; height: 28px; color: var(--gold); margin-bottom: 1.2rem; }
.contact-card b { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.contact-card span { font-size: .82rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); text-align: center; padding: 4rem 1rem 2.5rem; }
.footer-logo { width: 220px; margin: 0 auto 1.6rem; }
.pay-badges { display: flex; justify-content: center; gap: .6rem; margin-bottom: 1.4rem; }
.pay-badges span { border: 1px solid var(--line); color: var(--gold-hi); padding: .35rem 1rem; font-size: .7rem; letter-spacing: .18em; }
.footer p { margin: .3rem 0; color: var(--text-2); }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%;
  background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7); transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 27px; height: 27px; }

/* ---------- Drawers ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 50; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); z-index: 60; background: var(--bg-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--line-2); }
.drawer-head h3 { font-size: 1.7rem; }
.drawer-sub { margin: 0; padding: .9rem 1.6rem 0; color: var(--muted); font-size: .86rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: .6rem 1.6rem 1rem; }
.drawer-foot { padding: 1.3rem 1.6rem 1.6rem; border-top: 1px solid var(--line-2); }
.drawer-empty { text-align: center; color: var(--muted); padding: 3.5rem 1rem; display: grid; justify-items: center; gap: .6rem; }
.drawer-empty svg { color: var(--gold); }
.drawer-empty .btn { margin-top: .8rem; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-2); align-items: center; }
.line img { width: 76px; height: 92px; object-fit: cover; background: var(--surface); }
.line h4 { margin: 0; font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.line p { margin: .2rem 0 0; font-size: .72rem; color: var(--muted); line-height: 1.45; }
.line .line-price { font-family: var(--serif); color: var(--gold-hi); font-size: 1rem; margin-top: .35rem; }
.line-side { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.line-side .btn { padding: .55rem .9rem !important; font-size: .6rem !important; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); }
.qty button { border: 0; background: none; width: 28px; height: 28px; color: var(--text-2); }
.qty button:hover { color: var(--gold-hi); }
.qty span { min-width: 18px; text-align: center; font-size: .82rem; }
.link-btn { border: 0; background: none; font-size: .68rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 0; letter-spacing: .04em; }
.link-btn:hover { color: var(--text); }
.link-btn.dark { color: var(--gold); }
.totals { display: grid; gap: .4rem; font-size: .88rem; color: var(--text-2); }
.totals div { display: flex; justify-content: space-between; }
.totals .total { font-family: var(--serif); font-size: 1.55rem; color: var(--text); padding-top: .55rem; border-top: 1px solid var(--line-2); margin-top: .3rem; }
.totals .total span:last-child { color: var(--gold-hi); }
.totals.compact .total { border: 0; }
.ship-note { font-size: .76rem; color: var(--gold); margin: .7rem 0 1.1rem; letter-spacing: .03em; }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 1rem; background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { position: relative; background: var(--bg-2); border: 1px solid var(--line); width: min(960px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto; transform: translateY(24px); transition: transform .45s var(--ease); }
.modal.open .modal-card { transform: none; }
.modal-card > .close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(11, 10, 9, .7); }
.product-modal { display: grid; grid-template-columns: 1.05fr 1fr; }
.pm-media { background: var(--surface); }
.pm-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pm-thumbs { display: flex; gap: .5rem; padding: .7rem; }
.pm-thumbs:empty { display: none; }
.pm-thumbs img { width: 62px; height: 62px; cursor: pointer; opacity: .5; aspect-ratio: auto; transition: opacity .25s; }
.pm-thumbs img.active { opacity: 1; outline: 1px solid var(--gold); outline-offset: 2px; }
.pm-info { padding: 3rem 2.4rem 2.4rem; display: flex; flex-direction: column; }
.pm-info h3 { font-size: 2.6rem; }
.pm-price { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-hi); margin: .6rem 0 1rem; }
.pm-info > p:not(.eyebrow):not(.pm-price) { color: var(--text-2); font-weight: 300; }
.pm-specs { list-style: none; padding: 0; margin: .8rem 0 2rem; display: grid; gap: .55rem; font-size: .84rem; }
.pm-specs li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line-2); padding-bottom: .5rem; }
.pm-specs li span:first-child { color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; }
.pm-actions { display: flex; gap: .6rem; margin-top: auto; }
.pm-actions .btn { flex: 1; }

.checkout { width: min(580px, 100%); padding: 2.4rem; }
.checkout h3 { font-size: 2.2rem; margin-bottom: 1.4rem; }
.checkout form { display: grid; gap: .9rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.pay-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.pay { position: relative; text-transform: none !important; letter-spacing: 0 !important; }
.pay input { position: absolute; opacity: 0; }
.pay span { display: flex; flex-direction: column; align-items: center; padding: 1rem .4rem; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; transition: all .25s; color: var(--text); text-align: center; }
.pay span b { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.pay span small { font-size: .66rem; color: var(--muted); }
.pay input:checked + span { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: rgba(214, 176, 106, .12); }
.pay input:checked + span b { color: var(--gold-hi); }
.pay-info { font-size: .86rem; background: var(--surface); border-left: 2px solid var(--gold); padding: .95rem 1.1rem; color: var(--text-2); }
.pay-info:empty { display: none; }
.pay-info b { color: var(--gold-hi); font-weight: 500; }
.note { font-size: .78rem; color: var(--gold); margin: 0; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 90; transform: translate(-50%, 160%); background: var(--surface-2); border: 1px solid var(--gold); color: var(--text); padding: .85rem 1.5rem; font-size: .86rem; letter-spacing: .03em; transition: transform .45s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .why { grid-template-columns: 1fr 1fr; }
  .why article:nth-child(2) { border-right: 0; }
  .why article:nth-child(3) { padding-left: 0; }
  .why article:nth-child(n+3) { border-top: 1px solid rgba(26, 21, 16, .12); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card:nth-child(2) { border-right: 0; }
  .contact-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .builder { grid-template-columns: 1fr; }
  .viewer { position: sticky; top: var(--header-h); z-index: 5; aspect-ratio: auto; height: min(56vh, 540px); }
  .panel { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 1240px) {
  .header { grid-template-columns: auto 1fr auto; }
  .menu-btn { display: inline-grid; grid-column: 1; grid-row: 1; }
  .brand img { height: 38px; }
  .nav {
    grid-column: auto; position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg);
    padding: .5rem 1.4rem 1.4rem; border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; transition: transform .45s var(--ease), opacity .35s; z-index: -1;
  }
  .nav.open { transform: none; opacity: 1; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--line-2); font-size: .74rem; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .hero { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .hero-media { max-width: 420px; }
  #envios { grid-template-columns: 1fr; }
  #envios .section-head { position: static; }
  .wholesale { grid-template-columns: 1fr; }
  .product-modal { grid-template-columns: 1fr; }
  .care { grid-template-columns: 1fr; gap: .9rem; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .topbar { font-size: .56rem; gap: .5rem; letter-spacing: .16em; }
  .topbar .dot, .topbar span:nth-child(n+4) { display: none; }
  .header { gap: .3rem; padding: 0 .6rem; }
  .hero h1 { font-size: 3.6rem; }
  .hero-trust { gap: 1.3rem; }
  .hero-trust b { font-size: 1.6rem; }
  .hero-trust span { font-size: .56rem; letter-spacing: .16em; }
  .hero-media { width: 88%; }
  .marquee span { font-size: 1.15rem; }
  .why, .contact-grid { grid-template-columns: 1fr; }
  .why article, .why article + article { padding: 1.8rem 0; border-right: 0; border-top: 1px solid rgba(26, 21, 16, .12); }
  .contact-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-card:last-child { border-bottom: 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 1.6rem .8rem; }
  .card-info { flex-direction: column; gap: .2rem; }
  .card-info h3 { font-size: 1.05rem; }
  .card-info small { font-size: .56rem; letter-spacing: .12em; }
  .card-quick { display: none; }
  .charms { grid-template-columns: repeat(4, 1fr); }
  .panel { padding: 1.1rem 1rem 0; }
  .viewer { height: 46vh; }
  .viewer::before { inset: 10px; }
  .viewer-tools { right: 20px; top: 20px; }
  .viewer-summary { display: none; }
  .viewer-hint { bottom: 20px; font-size: .56rem; }
  .panel-foot { gap: .6rem; }
  .hide-sm { display: none; }
  .price strong { font-size: 1.6rem; }
  .price small { font-size: .56rem; }
  .panel-actions .btn { padding: .95rem 1.1rem; letter-spacing: .16em; }
  .panel-actions .icon-btn.outline { width: 48px; height: 48px; }
  .two, .pay-options { grid-template-columns: 1fr; }
  .checkout { padding: 1.6rem; }
  .card-form { padding: 1.5rem; }
  .filters { justify-content: flex-start; }
  .pm-info { padding: 2rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
