/* Casa Brillia — estilos compartidos */
:root {
  --ivory: #f7f3ec;
  --paper: #fffdf9;
  --sand: #ece4d6;
  --line: #e2d8c6;
  --ink: #1b1915;
  --ink-soft: #4a443b;
  --muted: #847a6b;
  --black: #0f0e0c;
  --gold: #b08a3e;
  --gold-deep: #8c6a28;
  --gold-light: #d8bd7a;
  --gold-grad: linear-gradient(120deg, #8c6a28 0%, #d9bc72 38%, #b08a3e 62%, #e9d39a 100%);
  --ok: #3f6b4a;
  --warn: #9a6a1e;
  --danger: #9b3b2f;
  --radius: 2px;
  --serif: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: .02em; line-height: 1.15; margin: 0; }
.eyebrow { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin: 0 0 18px; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 28px 0; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400;
  cursor: pointer; text-decoration: none; border-radius: var(--radius); transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.gold:hover { background: var(--gold-deep); }
.btn.wa { background: #1f6f4a; border-color: #1f6f4a; }
.btn.wa:hover { background: #17573a; }
.btn.small { padding: 9px 16px; font-size: 11px; letter-spacing: .18em; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-soft); font-size: 14px; }

/* Formularios */
.field { display: grid; gap: 6px; }
.field label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.input, select.input, textarea.input {
  width: 100%; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); outline: none; transition: border-color .2s;
}
.input:focus { border-color: var(--gold); }
textarea.input { resize: vertical; min-height: 70px; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(247, 243, 236, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 30px; height: 22px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 21px; letter-spacing: .18em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.nav a:hover { color: var(--gold-deep); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--ink);
  padding: 9px 16px; cursor: pointer; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; border-radius: var(--radius);
}
.cart-btn:hover { background: var(--ink); color: var(--paper); }
.cart-count { min-width: 20px; height: 20px; border-radius: 10px; background: var(--gold); color: #fff; font-size: 11px; display: inline-grid; place-items: center; padding: 0 6px; letter-spacing: 0; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); }
.hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 520px; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge { margin-top: 44px; display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(176,138,62,.15); }
.hero-visual { position: relative; width: 100%; max-width: 470px; margin-left: auto; }
.hero-art { width: 100%; height: auto; display: block; overflow: visible; }
.hero-art .arch-cap { font-family: var(--sans); font-size: 11px; letter-spacing: .32em; fill: var(--gold-deep); }
.hero-art .pendant { transform-box: view-box; transform-origin: 240px 300px; animation: swing 7s ease-in-out infinite alternate; }
.hero-art .glow { transform-box: fill-box; transform-origin: center; animation: breathe 6s ease-in-out infinite alternate; }
.hero-art .spark { transform-box: fill-box; transform-origin: center; animation: twinkle 3.4s ease-in-out infinite; }
.hero-art .spark.s2 { animation-delay: 1.2s; }
.hero-art .spark.s3 { animation-delay: 2.3s; }
@keyframes swing { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
@keyframes breathe { from { transform: scale(.9); opacity: .75; } to { transform: scale(1.06); opacity: 1; } }
@keyframes twinkle { 0%, 100% { transform: scale(.35); opacity: .15; } 50% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-art * { animation: none !important; } }

/* ---------- Franja de atributos ---------- */
.marks { border-block: 1px solid var(--line); background: var(--paper); }
.marks .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.mark { padding: 34px 22px; text-align: center; border-right: 1px solid var(--line); }
.mark:last-child { border-right: 0; }
.mark strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--gold-deep); letter-spacing: .04em; }
.mark span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- Secciones ---------- */
section { scroll-margin-top: 76px; }
.section { padding: 120px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); }
.section-head p { color: var(--ink-soft); font-size: 17px; margin: 18px 0 0; }
.section p.eyebrow { color: var(--gold); font-size: 12px; margin: 0 0 18px; }

.dark { background: var(--black); color: #efe8da; }
.dark .section-head p, .dark p { color: #bfb5a3; }
.dark .eyebrow { color: var(--gold-light); }

.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about { background: var(--paper); border-block: 1px solid var(--line); }
.about-logo { aspect-ratio: 1; overflow: hidden; position: relative; box-shadow: 0 40px 70px -45px rgba(140,106,40,.45); }
.about-logo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(176,138,62,.35); pointer-events: none; }
.about-logo img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(34px, 4.4vw, 52px); }
.about p { font-size: 17px; color: var(--ink-soft); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.values h3 { font-size: 19px; color: var(--gold-deep); margin-bottom: 6px; }
.values p { font-size: 14px; margin: 0; }

/* Oro laminado */
.gold-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
.gold-copy p { color: var(--ink-soft); font-size: 17px; }
.layers { background: var(--paper); border: 1px solid var(--line); padding: 40px; }
.layers h3 { font-size: 22px; margin-bottom: 24px; }
.layer-row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; margin-bottom: 18px; }
.layer-row .lbl { font-size: 13px; color: var(--ink-soft); line-height: 1.35; }
.layer-row .lbl b { display: block; font-weight: 500; color: var(--ink); }
.bar { height: 14px; background: var(--sand); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--gold-grad); }
.layers small { display: block; color: var(--muted); margin-top: 20px; font-size: 12.5px; line-height: 1.5; }
.spec-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-list li span:first-child { color: var(--muted); }
.spec-list li span:last-child { text-align: right; }
.care { margin-top: 80px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.care div { border-top: 1px solid var(--gold); padding-top: 20px; }
.care h3 { font-size: 18px; margin-bottom: 8px; }
.care p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* Garantía */
.warranty { background: var(--sand); }
.warranty .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.warranty-cert { box-shadow: 0 40px 80px -40px rgba(15,14,12,.45); background: #fff; }
.warranty ol { padding: 0; margin: 32px 0; list-style: none; counter-reset: s; display: grid; gap: 18px; }
.warranty ol li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-soft); }
.warranty ol li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); color: var(--gold-deep); font-size: 20px; line-height: 1.2; }
.warranty h2 { font-size: clamp(34px, 4.4vw, 52px); }
.warranty p { color: var(--ink-soft); font-size: 17px; }

/* ---------- Tienda ---------- */
.shop-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.price-gate { background: var(--paper); border: 1px solid var(--line); padding: 22px 24px; width: min(460px, 100%); }
.price-gate p { margin: 0 0 12px; font-size: 14px; color: var(--ink-soft); }
.price-gate form { display: flex; gap: 8px; }
.price-gate .input { flex: 1; min-width: 0; }
.client-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.client-banner b { font-weight: 500; }
.pill { display: inline-block; padding: 3px 10px; background: var(--black); color: var(--gold-light); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { background: transparent; border: 1px solid var(--line); padding: 8px 18px; cursor: pointer; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); border-radius: 40px; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.card { display: flex; flex-direction: column; }
.card .ph { position: relative; aspect-ratio: 4/5; background: #fff; border: 1px solid var(--line); overflow: hidden; cursor: zoom-in; padding: 0; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .ph img { transform: scale(1.04); }
.card .badge { position: absolute; top: 12px; left: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; padding: 4px 9px; color: var(--ink-soft); }
.card .badge.low { color: var(--warn); }
.card .badge.out { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card .off { position: absolute; top: 12px; right: 12px; background: var(--gold); color: #fff; font-size: 11px; letter-spacing: .1em; padding: 4px 9px; }
.card .meta { padding: 16px 2px 0; flex: 1; display: flex; flex-direction: column; }
.card .code { font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.card h3 { font-family: var(--serif); font-size: 18px; margin: 4px 0 10px; line-height: 1.3; }
.price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; margin-top: auto; }
.price .now { font-size: 18px; font-weight: 400; }
.price .was { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.price .ask { font-size: 14px; color: var(--muted); font-style: italic; }
.card .actions { display: flex; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper); }
.qty button { width: 32px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 16px; }
.qty button:hover { color: var(--gold-deep); }
.qty span { min-width: 26px; text-align: center; font-size: 14px; }
.card .actions .btn { flex: 1; padding: 10px 12px; font-size: 11px; letter-spacing: .16em; }
.placeholder-img { width: 100%; height: 100%; display: grid; place-items: center; background: var(--ivory); color: var(--gold); }
.placeholder-img svg { width: 30%; }
.empty-note { color: var(--muted); padding: 40px 0; text-align: center; }

/* ---------- Ayuda: pagos, tallas, cambios ---------- */
.help-sec { background: var(--paper); border-top: 1px solid var(--line); }
.help-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.help-intro { position: sticky; top: 110px; }
.help-intro h2 { font-size: clamp(34px, 4.4vw, 52px); }
.help-intro p:not(.eyebrow) { color: var(--ink-soft); font-size: 17px; margin: 0 0 28px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 24px 0; font-family: var(--serif); font-size: 22px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; margin-left: auto; font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--gold-deep); transition: transform .25s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.acc-ic { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(176,138,62,.45); display: grid; place-items: center; flex: none; }
.acc-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-deep); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.acc-body { padding: 0 0 28px 58px; color: var(--ink-soft); font-size: 15.5px; }
.acc-body > p:first-child { margin-top: 0; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-card { background: var(--ivory); border: 1px solid var(--line); padding: 20px; }
.pay-card h4 { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--ink); margin: 0 0 4px; }
.pay-card .pay-sub { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 14px; }
.pay-row { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.pay-row span { grid-column: 1; color: var(--muted); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.pay-row b { grid-column: 1; font-weight: 400; color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }
.pay-row .copy { grid-column: 2; grid-row: 1 / span 2; }
.copy { background: none; border: 1px solid var(--line); padding: 5px 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; color: var(--ink-soft); }
.copy:hover { border-color: var(--gold); color: var(--gold-deep); }
.pay-note { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; }
.size-wrap { overflow-x: auto; margin: 18px 0; }
.size-tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--ivory); }
.size-tbl th { font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.size-tbl td { padding: 10px 14px; border-bottom: 1px solid var(--sand); }
.size-tbl td:first-child { color: var(--gold-deep); font-size: 16px; font-weight: 500; }
.steps { padding-left: 20px; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.policy h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: 18px; margin: 22px 0 8px; }
.policy h4:first-child { margin-top: 0; }
.policy ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.policy p { font-size: 14.5px; margin: 0; }

/* Instagram */
.insta { padding: 96px 0; text-align: center; border-top: 1px solid var(--line); }
.insta .wrap { display: flex; flex-direction: column; align-items: center; }
.insta-ic { width: 40px; height: 40px; fill: none; stroke: var(--gold-deep); stroke-width: 1.3; color: var(--gold-deep); margin-bottom: 18px; }
.insta-handle { font-family: var(--serif); font-size: clamp(36px, 6vw, 64px); text-decoration: none; line-height: 1.1; }
.insta p:not(.eyebrow) { color: var(--ink-soft); margin: 14px 0 28px; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 56px; height: 56px; border-radius: 50%;
  background: #1f6f4a; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(15,14,12,.5);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* Talla en tarjetas y carrito */
.size-sel { width: 100%; margin-bottom: 8px; padding: 9px 10px; font-size: 13px; }
.line .size-tag { display: block; margin-top: 2px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.ticket-pay { border-top: 1px dashed var(--line); margin-top: 16px; padding-top: 14px; font-size: 13px; }
.ticket-pay b { font-weight: 500; }
.ticket-pay div { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.ticket-pay span { color: var(--muted); }

/* ---------- Pie ---------- */
.site-footer { background: var(--black); color: #bfb5a3; padding: 72px 0 40px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer .brand-name { color: var(--gold-light); }
.site-footer h4 { font-family: var(--serif); font-weight: 400; color: #efe8da; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer a { text-decoration: none; display: block; margin-bottom: 8px; font-size: 14px; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(216,189,122,.2); padding-top: 24px; font-size: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Carrito (panel lateral) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(15,14,12,.45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--ivory); z-index: 70;
  transform: translateX(100%); transition: transform .35s ease, visibility 0s .35s; display: flex; flex-direction: column;
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; transition: transform .35s ease; box-shadow: -20px 0 60px -30px rgba(0,0,0,.4); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 24px; }
.x { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink-soft); padding: 4px 8px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 28px 24px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img, .line .placeholder-img { width: 64px; height: 80px; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.line h4 { font-family: var(--serif); font-weight: 400; font-size: 15px; margin: 0 0 4px; line-height: 1.3; }
.line .sub { font-size: 12px; color: var(--muted); }
.line .right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.line .qty button { height: 30px; width: 28px; }
.line .rm { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.totals { padding: 20px 0 6px; display: grid; gap: 8px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 22px; font-weight: 400; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.totals .disc { color: var(--gold-deep); }
.checkout { display: grid; gap: 14px; margin-top: 18px; }
.checkout .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { color: var(--danger); font-size: 14px; margin: 0; }
.drawer-foot { padding: 20px 28px 28px; border-top: 1px solid var(--line); background: var(--paper); }
.drawer-foot .btn { width: 100%; }
.drawer-foot small { display: block; text-align: center; color: var(--muted); margin-top: 10px; font-size: 12px; }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 16px; background: rgba(15,14,12,.55); }
.modal.open { display: grid; }
.modal-card { background: var(--ivory); width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; position: relative; }
.modal-card .x { position: absolute; top: 10px; right: 12px; z-index: 2; }
.quick { display: grid; grid-template-columns: 1fr 1fr; }
.quick .ph { background: #fff; aspect-ratio: 4/5; }
.quick .ph img { width: 100%; height: 100%; object-fit: contain; }
.quick .info { padding: 48px 40px; display: flex; flex-direction: column; gap: 6px; }
.quick h3 { font-size: 30px; margin: 4px 0 14px; }
.quick ul { padding-left: 18px; color: var(--ink-soft); font-size: 14px; margin: 18px 0 28px; }

/* Ticket */
.ticket-card { width: min(460px, 100%); }
.ticket { background: var(--paper); margin: 0; padding: 40px 34px 30px; font-size: 14px; }
.ticket .t-head { text-align: center; border-bottom: 1px dashed var(--line); padding-bottom: 20px; margin-bottom: 16px; }
.ticket .t-head svg { display: block; width: 34px; margin: 0 auto 8px; }
.ticket .t-head .brand-name { font-size: 20px; }
.ticket .t-head p { margin: 6px 0 0; color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.ticket .t-num { font-size: 22px; letter-spacing: .1em; font-weight: 400; }
.ticket table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.ticket td { padding: 7px 0; vertical-align: top; border-bottom: 1px solid var(--sand); }
.ticket td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.ticket td small { color: var(--muted); display: block; font-size: 12px; }
.ticket .kv { display: flex; justify-content: space-between; padding: 3px 0; }
.ticket .kv.total { font-size: 20px; font-weight: 400; border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 8px; }
.ticket .t-foot { text-align: center; color: var(--muted); font-size: 12px; margin-top: 18px; }
.ticket-actions { display: grid; gap: 10px; padding: 0 34px 34px; background: var(--paper); }

/* Aviso flotante */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; z-index: 90;
  background: var(--black); color: #efe8da; padding: 14px 22px; font-size: 14px; transition: all .3s; pointer-events: none;
  border-left: 3px solid var(--gold); max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Entrada suave */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .care { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 76px 0 auto; background: var(--ivory); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 16px; width: 100%; text-align: center; border-top: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .hero { padding: 48px 0 64px; }
  .hero .wrap, .about .wrap, .gold-grid, .warranty .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 380px; margin-inline: auto; }
  .about-logo { max-width: 420px; }
  .care { margin-top: 56px; }
  .marks .wrap { grid-template-columns: repeat(2, 1fr); }
  .mark:nth-child(2) { border-right: 0; }
  .mark:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 80px 0; }
  .values { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .quick { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; gap: 36px; }
  .help-intro { position: static; }
  .acc-body { padding-left: 0; }
  .accordion summary { font-size: 19px; padding: 20px 0; }
  .pay-grid { grid-template-columns: 1fr; }
  .insta { padding: 72px 0; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .quick .info { padding: 28px 24px; }
}
@media (max-width: 520px) {
  .brand-name { font-size: 17px; letter-spacing: .14em; }
  .cart-btn .lbl { display: none; }
  .hero-visual { max-width: 300px; }
  .care { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .care div { padding-top: 14px; }
  .care h3 { font-size: 16px; margin-bottom: 4px; }
  .care p { font-size: 13px; line-height: 1.5; }
  .card .actions { flex-direction: column; }
  .card .actions .qty { justify-content: space-between; }
  .card h3 { font-size: 16px; }
  .layers { padding: 26px 20px; }
  .layer-row { grid-template-columns: 92px 1fr; }
  .checkout .row2 { grid-template-columns: 1fr; }
  .price-gate form { flex-direction: column; }
  .mark { padding: 24px 12px; }
  .mark strong { font-size: 21px; }
}

/* Impresión del ticket */
@media print {
  body * { visibility: hidden; }
  #ticketPrint, #ticketPrint * { visibility: visible; }
  #ticketPrint { position: absolute; left: 0; top: 0; width: 100%; }
}
