:root {
  --bg: #faf1ee;                 /* crema rosado más cálido */
  --bg-soft: #f3e3e0;
  --paper: #fffaf7;
  --ink: #2a1822;
  --ink-soft: #5a3a4b;
  --ink-mute: #9a7a87;
  --line: #ead7d5;
  --line-soft: #f4e6e4;
  --accent: #8B2A5C;             /* Shanely magenta */
  --accent-ink: #6b1f47;
  --accent-deep: #4a1530;
  --gold: #e8b93e;               /* Shanely dorado */
  --gold-soft: #f4d777;
  --gold-deep: #b88b1e;
  --whatsapp: #128c7e;
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --script: "Playfair Display", serif;
  --sans: "Jost", "Montserrat", -apple-system, sans-serif;
  --label: "Jost", sans-serif;
  --r-card: 16px;
  --r-btn: 999px;
  --shadow-soft: 0 1px 3px rgba(139,42,92,0.05), 0 10px 30px rgba(139,42,92,0.08);
  --shadow-pop: 0 24px 80px rgba(74,21,48,0.22);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(232,185,62,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(139,42,92,0.06), transparent 60%);
}
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px; letter-spacing: -0.005em;
  color: var(--accent);
}
.brand-mark {
  width: 42px; height: 42px;
  object-fit: contain;
}
.brand-name { line-height: 1; }
.brand-sub {
  font-family: var(--label); font-weight: 400;
  font-size: 10px; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold-deep);
  padding-left: 12px; border-left: 1px solid var(--line);
}
.nav-actions { display: flex; align-items: center; gap: 4px; }
.socials { display: flex; gap: 2px; }
.icon-btn.social { width: 36px; height: 36px; color: var(--accent); }
.icon-btn.social:hover { background: var(--bg-soft); color: var(--gold-deep); }
.nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 8px; }
@media (max-width: 560px) { .socials { display: none; } .nav-sep { display: none; } }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent); transition: background 0.2s;
}
.icon-btn:hover { background: var(--bg-soft); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px;
  background: var(--gold); color: var(--accent-deep);
  font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  border: 2px solid var(--bg);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.cart-count.bump { transform: scale(1.35); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1400px; margin: 0 auto;
  padding: 96px 32px 64px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px;
  align-items: end;
}
.hero-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--gold-deep);
  margin-bottom: 10px;
  line-height: 1;
  letter-spacing: -0.005em;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  text-wrap: balance;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.gold-underline { position: relative; display: inline-block; }
.gold-underline::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: 0.12em; height: 0.22em;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-soft) 50%, var(--gold) 80%, transparent);
  opacity: 0.7; z-index: -1;
  border-radius: 99px;
}
.hero p {
  font-size: 16.5px; color: var(--ink-soft); max-width: 46ch;
  text-wrap: pretty;
  margin: 0;
  line-height: 1.6;
}
.hero-meta {
  display: flex; flex-direction: column; gap: 0;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.hero-meta::before {
  content: "✦"; position: absolute; top: -14px; left: 28px;
  background: var(--bg); color: var(--gold); font-size: 20px;
  padding: 0 8px;
}
.hero-meta .row {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px; color: var(--ink-soft);
  font-family: var(--sans);
}
.hero-meta .row:last-child { border-bottom: 0; }
.hero-meta .row span:first-child {
  font-family: var(--label);
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 10px; color: var(--ink-mute);
}
.hero-meta strong {
  color: var(--accent); font-weight: 500;
  font-family: var(--serif); font-size: 16px;
  font-style: italic;
}

/* ---------- Filter bar ---------- */
.filters {
  position: sticky; top: 74px; z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 32px;
}
.filters-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 0; }
.chip {
  font-family: var(--sans); font-size: 13px;
  font-weight: 400;
  padding: 8px 16px; border-radius: 999px;
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: all 0.2s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active {
  background: var(--accent); color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(139,42,92,0.25);
}
.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 999px;
  width: 240px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139,42,92,0.1); }
.search input {
  border: 0; outline: 0; background: transparent;
  font-size: 13.5px; flex: 1; min-width: 0;
}
.sort {
  font-family: var(--sans); font-size: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 9px 34px 9px 16px; border-radius: 999px;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%238B2A5C' stroke-width='1.4' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Masonry grid ---------- */
.grid-wrap {
  max-width: 1400px; margin: 0 auto;
  padding: 40px 32px 96px;
}
.result-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 24px;
  font-size: 13px; color: var(--ink-mute);
}
.result-meta .count { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-soft); }
.result-meta .count b { color: var(--accent); font-weight: 500; font-style: normal; }
.result-meta .hint { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold-deep); }

.masonry {
  columns: 4;
  column-gap: 24px;
}
@media (max-width: 1100px) { .masonry { columns: 3; } }
@media (max-width: 780px)  {
  .masonry { columns: 2; column-gap: 14px; }
  .card { margin-bottom: 14px; }
  .grid-wrap { padding: 20px 14px 60px; }
  .hero { padding: 40px 16px 28px; grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(40px, 10vw, 58px); margin-bottom: 20px; }
  .hero p { font-size: 15px; }
  .hero-eyebrow { font-size: 17px; }
  .hero-meta { padding: 18px 20px; }
  .hero-meta .row { padding: 9px 0; font-size: 12.5px; }
  .hero-meta strong { font-size: 14px; }
  .filters { padding: 10px 14px; top: 64px; }
  .filters-inner { gap: 10px; }
  .chips { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: none; -ms-overflow-style: none; }
  .chips::-webkit-scrollbar { display: none; }
  .search { width: 100%; order: 1; padding: 8px 14px; }
  .search input { font-size: 14px; }
  .sort { order: 2; flex: 0 0 auto; font-size: 12px; padding: 8px 28px 8px 12px; }
  .nav-inner { padding: 12px 14px; }
  .brand { gap: 8px; font-size: 22px; }
  .brand-mark { width: 34px; height: 34px; }
  .icon-btn { width: 38px; height: 38px; }
  .card-body { padding: 12px 14px 14px; }
  .card-name { font-size: 16px; margin-bottom: 8px; }
  .card-cat { font-size: 9.5px; letter-spacing: 0.2em; }
  .card-label { font-size: 9.5px; padding: 4px 9px; left: 8px; top: 8px; }
  .card-quick { opacity: 1; transform: none; width: 36px; height: 36px; right: 8px; bottom: 8px; }
  .price { font-size: 16px; }
  .card-foot .stk { font-size: 9.5px; }
  .result-meta { margin-bottom: 16px; flex-wrap: wrap; gap: 6px; }
  .result-meta .count { font-size: 16px; }
  .result-meta .hint { display: none; }

  .modal { grid-template-columns: 1fr; max-height: 94vh; overflow: auto; border-radius: 14px; }
  .modal-media { min-height: 260px; aspect-ratio: 4/3; }
  .modal-body { padding: 28px 22px 28px; }
  .modal h2 { font-size: 28px; margin-bottom: 14px; }
  .modal-price { font-size: 28px; }
  .modal-unit { font-size: 11px; margin-bottom: 18px; }
  .modal-desc { font-size: 14.5px; margin-bottom: 20px; }
  .tag-row { margin-bottom: 22px; }
  .qty-row { gap: 10px; margin-bottom: 18px; }
  .stock-note { width: 100%; font-size: 12.5px; }
  .modal-close { top: 10px; right: 10px; width: 38px; height: 38px; }
  .modal-scrim { padding: 12px; }

  .drawer { width: 100vw; }
  .drawer-head { padding: 18px 20px; }
  .drawer-head h3 { font-size: 22px; }
  .drawer-body { padding: 4px 20px; }
  .drawer-foot { padding: 18px 20px 22px; }
  .line { grid-template-columns: 60px 1fr auto; gap: 12px; padding: 16px 0; }
  .line-media { width: 60px; height: 60px; }
  .line-name { font-size: 15px; }
  .line-meta { font-size: 10px; }
  .line-price { font-size: 15px; }
  .totals .row.grand { font-size: 22px; }
  .totals .row.grand .price { font-size: 22px; }

  .checkout-inner { grid-template-columns: 1fr; padding: 20px 14px 50px; gap: 24px; }
  .checkout-top { margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
  .step-label { font-size: 10px; }
  .checkout h2 { font-size: clamp(30px, 8vw, 40px); margin-bottom: 14px; }
  .checkout-lead { font-size: 14.5px; margin-bottom: 24px; }
  .bank, .receipt, .summary { padding: 22px 20px; border-radius: 14px; }
  .field { grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 0; }
  .field .copy-btn { grid-column: 1 / -1; justify-self: start; }
  .field-label { font-size: 9.5px; letter-spacing: 0.16em; }
  .field-value { font-size: 14px; }
  .steps { margin-bottom: 22px; }
  .step { grid-template-columns: 36px 1fr; gap: 12px; padding: 12px 0; }
  .step-num { width: 30px; height: 30px; font-size: 15px; }
  .step-title { font-size: 15.5px; }
  .step-desc { font-size: 13.5px; }
  .receipt { position: static; }
  .receipt h4 { font-size: 22px; }
  .receipt-seal { width: 56px; height: 56px; }
  .receipt-meta { gap: 12px; }
  .summary { position: static; }
  .summary-list { max-height: none; }
  .sum-line { grid-template-columns: 36px 1fr auto; gap: 10px; padding: 10px 0; }
  .sum-name { font-size: 14px; }

  .about { padding: 48px 16px 48px; }
  .about-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-copy h2 { font-size: clamp(30px, 8vw, 40px); margin-bottom: 16px; }
  .about-copy p { font-size: 15px; }
  .about-card { padding: 28px 22px; order: -1; }
  .about-card img { width: 72px; height: 72px; }
  .about-card-name { font-size: 26px; }
  .about-values { gap: 12px; }
  .about-values strong { font-size: 15.5px; }
  .about-values small { font-size: 12.5px; }

  .foot { padding: 20px 16px 28px; gap: 12px; font-size: 11px; justify-content: center; text-align: center;}
  .foot > div:first-child { flex: 1 1 100%; }

  .toast { left: 14px; right: 14px; bottom: 18px; transform: translateY(20px); width: auto; }
  .toast.show { transform: translateY(0); }

  .tweaks { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 14px 16px; }

  .btn { padding: 13px 20px; }
  .btn-lg { padding: 15px 22px; font-size: 13px; }
}
@media (max-width: 480px)  {
  .masonry { columns: 2; column-gap: 10px; }
  .card { margin-bottom: 10px; border-radius: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card-name { font-size: 14.5px; line-height: 1.2; margin-bottom: 6px; }
  .card-foot { padding-top: 8px; }
  .price { font-size: 14.5px; }
  .price .cur { font-size: 9px; }
  .card-foot .stk { font-size: 9px; }
  .card-label { font-size: 9px; padding: 3px 7px; }
  .card-cat { font-size: 9px; letter-spacing: 0.18em; margin-bottom: 4px; }
  .hero h1 { font-size: clamp(36px, 11vw, 50px); }
  .hero-meta .row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .brand-name { font-size: 22px; }
  .chip { font-size: 12px; padding: 6px 12px; }
  .receipt-meta { grid-template-columns: 1fr; }
}

.card {
  break-inside: avoid;
  margin-bottom: 24px;
  background: var(--paper);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.35s, border-color 0.35s;
  cursor: pointer;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--line); }
.card:hover .card-quick { opacity: 1; transform: translateY(0); }

.card-media {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.card-media::before {
  content: ""; display: block; padding-top: var(--ar, 110%);
}
.card-fg {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.swatch {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 35%, var(--s1) 0%, transparent 48%),
    radial-gradient(circle at 70% 65%, var(--s2) 0%, transparent 52%),
    radial-gradient(circle at 50% 50%, var(--s3, transparent) 0%, transparent 58%),
    linear-gradient(135deg, #fbf2ec 0%, #f3e1d7 100%);
  filter: saturate(0.95);
}
.swatch::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 6px);
  mix-blend-mode: overlay;
}
.card-label {
  position: absolute; left: 12px; top: 12px;
  font-family: var(--sans); font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  background: rgba(255,250,247,0.92);
  backdrop-filter: blur(4px);
  padding: 5px 11px; border-radius: 999px;
  color: var(--accent);
  border: 1px solid rgba(139,42,92,0.1);
}
.card-quick {
  position: absolute; right: 12px; bottom: 12px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(74,21,48,0.32);
  border: 2px solid var(--paper);
}
.card-quick:hover { background: var(--gold); color: var(--accent-deep); transform: scale(1.08); }
.card-quick.added { background: var(--gold); color: var(--accent-deep); }
.card-body {
  padding: 16px 18px 20px;
}
.card-cat {
  font-family: var(--label); font-size: 10px;
  font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--gold-deep); margin-bottom: 8px;
}
.card-name {
  font-family: var(--serif); font-weight: 500;
  font-size: 20px; line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 12px;
  text-wrap: balance;
  color: var(--ink);
}
.card-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
}
.price { font-family: var(--serif); font-size: 18px; color: var(--accent); font-feature-settings: "tnum"; font-weight: 500;}
.price .cur { font-family: var(--sans); font-size: 10px; color: var(--gold-deep); letter-spacing: 0.14em; margin-right: 5px; vertical-align: 2px; font-weight: 500;}
.card-foot .stk { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 400; }

.empty {
  padding: 80px 20px; text-align: center;
  color: var(--ink-mute); font-family: var(--serif);
  font-style: italic; font-size: 24px;
}

/* ---------- Modal ---------- */
.modal-scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(74,21,48,0.55);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--paper);
  border-radius: 20px;
  max-width: 980px; width: 100%;
  max-height: 90vh; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr;
  box-shadow: var(--shadow-pop);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1);
  position: relative;
}
.modal-scrim.open .modal { transform: translateY(0) scale(1); }
@media (max-width: 780px) { .modal { grid-template-columns: 1fr; max-height: 92vh; overflow: auto; border-radius: 16px; } }
.modal-media {
  position: relative;
  background: #f3e1d7;
  min-height: 440px;
}
.modal-media .swatch { filter: saturate(1); }
.modal-body {
  padding: 44px 40px;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,250,247,0.95);
  display: grid; place-items: center;
  z-index: 2;
  transition: transform 0.25s, background 0.2s;
  color: var(--accent);
  border: 1px solid var(--line-soft);
}
.modal-close:hover { transform: rotate(90deg); background: var(--gold); color: #fff; }
.modal-cat { font-family: var(--label); font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.28em; color: var(--gold-deep); margin-bottom: 12px; }
.modal h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 40px; letter-spacing: -0.015em;
  line-height: 1.05; margin: 0 0 18px;
  text-wrap: balance;
  color: var(--ink);
}
.modal-price {
  font-family: var(--serif); font-size: 34px; letter-spacing: -0.01em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}
.modal-unit {
  font-family: var(--sans); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--ink-mute);
  margin-bottom: 24px;
}
.modal-desc { font-size: 15px; color: var(--ink-soft); margin: 0 0 26px; text-wrap: pretty; line-height: 1.65; }
.tag-row { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.tag {
  font-family: var(--sans); font-size: 10.5px; text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.16em; padding: 5px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--accent);
  background: var(--bg-soft);
}
.qty-row {
  display: flex; align-items: center; gap: 16px; margin-bottom: 22px;
  flex-wrap: wrap;
}
.qty-label { font-family: var(--label); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-mute); }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden;
  background: var(--bg-soft);
}
.qty button {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  transition: background 0.2s, color 0.2s;
  color: var(--accent);
}
.qty button:hover { background: var(--accent); color: #fff; }
.qty .val { width: 44px; text-align: center; font-variant-numeric: tabular-nums; font-size: 15px; font-family: var(--serif); font-weight: 500; }
.stock-note { font-size: 13px; color: var(--accent); margin-left: auto; font-family: var(--serif); font-style: italic; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: var(--r-btn);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--sans);
  transition: transform 0.15s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 24px rgba(139,42,92,0.3);
}
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 12px 32px rgba(139,42,92,0.4);}
.btn-gold { background: var(--gold); color: var(--accent-deep); box-shadow: 0 8px 24px rgba(232,185,62,0.35); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); background: var(--bg-soft); }
.btn-wa { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 24px rgba(18,140,126,0.3); }
.btn-wa:hover { background: #0f6e64; }
.btn-full { width: 100%; }
.btn-lg { padding: 17px 28px; font-size: 13.5px; }

/* ---------- Cart drawer ---------- */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(74,21,48,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(480px, 100vw);
  background: var(--paper);
  z-index: 91;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-pop);
  border-left: 1px solid var(--line);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  padding: 24px 30px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--paper) 100%);
}
.drawer-head h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0; letter-spacing: -0.01em; color: var(--accent);}
.drawer-head h3 span { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gold-deep); margin-left: 10px; font-weight: 400; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 30px; }
.cart-empty { padding: 80px 20px; text-align: center; color: var(--ink-mute); }
.cart-empty .big { font-family: var(--serif); font-size: 26px; font-style: italic; margin-bottom: 10px; color: var(--accent); }
.cart-empty .orn { font-size: 28px; color: var(--gold); margin-bottom: 18px; }

.line {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.line:last-child { border-bottom: 0; }
.line-media {
  width: 72px; height: 72px;
  border-radius: 10px; overflow: hidden; position: relative;
  background: var(--bg-soft);
}
.line-name { font-family: var(--serif); font-size: 17px; font-weight: 500; line-height: 1.2; margin: 0 0 4px; letter-spacing: -0.005em; color: var(--ink);}
.line-meta { font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold-deep); margin-bottom: 10px; font-weight: 500;}
.line-ctrl { display: flex; align-items: center; gap: 12px; }
.line-ctrl .qty { border-radius: 999px; }
.line-ctrl .qty button { width: 30px; height: 30px; }
.line-ctrl .qty .val { width: 30px; font-size: 13px; }
.line-remove { font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mute); padding: 4px 0; font-weight: 500;}
.line-remove:hover { color: var(--accent); }
.line-price { font-family: var(--serif); font-size: 17px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; color: var(--accent); }
.line-subtotal-note { font-family: var(--sans); font-size: 11px; color: var(--ink-mute); }

.drawer-foot {
  padding: 24px 30px 30px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
}
.totals { margin-bottom: 20px; }
.totals .row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  font-size: 14px; color: var(--ink-soft);
}
.totals .row.grand {
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px dashed var(--line);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  align-items: baseline;
}
.totals .row.grand .price { font-size: 26px; }
.drawer-foot .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-deep);
  text-align: center;
  margin-top: 14px;
}

/* ---------- Checkout screen ---------- */
.checkout {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  overflow-y: auto;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(232,185,62,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(139,42,92,0.06), transparent 60%);
}
.checkout.open { opacity: 1; pointer-events: auto; }
.checkout-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 40px 32px 96px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
}
@media (max-width: 880px) { .checkout-inner { grid-template-columns: 1fr; padding: 24px 20px 60px; gap: 32px; } }
.checkout-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
  grid-column: 1 / -1;
}
.step-label { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500;}
.step-label b { color: var(--accent); font-weight: 600; }
.checkout h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 4.5vw, 60px);
  letter-spacing: -0.02em; line-height: 1.02;
  margin: 0 0 20px;
  text-wrap: balance;
  color: var(--ink);
}
.checkout h2 em { font-style: italic; color: var(--accent); }
.checkout-eyebrow {
  font-family: var(--serif); font-style: italic; font-size: 20px;
  color: var(--gold-deep); margin-bottom: 6px; line-height: 1;
  font-weight: 400;
}
.checkout-lead { color: var(--ink-soft); font-size: 16px; margin: 0 0 32px; max-width: 50ch; text-wrap: pretty; line-height: 1.65; }

.bank {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 30px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.bank::before {
  content: "✦";
  position: absolute;
  top: -14px; left: 30px;
  background: var(--bg);
  color: var(--gold);
  font-size: 22px;
  padding: 0 10px;
  line-height: 1;
}
.bank-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.bank-head h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0; color: var(--accent); }
.bank-head .badge { font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.field { padding: 13px 0; display: grid; grid-template-columns: 140px 1fr auto; gap: 18px; align-items: center; border-bottom: 1px solid var(--line-soft);}
.field:last-child { border-bottom: 0; }
.field-label { font-family: var(--label); font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-mute); }
.field-value { font-size: 15.5px; font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; color: var(--ink); }
.field-value.mono { font-family: var(--sans); font-size: 14.5px; letter-spacing: 0.04em; font-weight: 500; color: var(--accent); }
.copy-btn {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.16em; font-weight: 500;
  text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-soft);
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.copy-btn.copied { background: var(--gold); color: var(--accent-deep); border-color: var(--gold); }

.note {
  font-size: 14px; color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid rgba(139,42,92,0.12);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 26px;
  line-height: 1.55;
}
.note strong { color: var(--accent); font-weight: 500; }

/* Summary card */
.summary {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 30px 32px;
  align-self: start;
  position: sticky; top: 32px;
  box-shadow: var(--shadow-soft);
}
.summary h4 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 4px;
}
.summary-list {
  max-height: 340px; overflow-y: auto;
  margin-bottom: 16px; padding-right: 4px;
  margin-top: 18px;
}
.sum-line {
  display: grid; grid-template-columns: 40px 1fr auto;
  gap: 14px; padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.sum-line:last-child { border-bottom: 0; }
.sum-media { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; position: relative; background: var(--bg-soft); }
.sum-name { font-family: var(--serif); font-size: 15px; line-height: 1.2; font-weight: 500; }
.sum-name small { display: block; font-family: var(--sans); font-size: 10px; color: var(--ink-mute); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 3px; font-weight: 400;}
.sum-qty { font-family: var(--sans); font-size: 11px; color: var(--gold-deep); letter-spacing: 0.1em; font-weight: 500; }
.sum-price { font-family: var(--serif); font-size: 15px; font-variant-numeric: tabular-nums; grid-column: 3; grid-row: 1 / span 2; align-self: center; color: var(--accent); font-weight: 500;}

.order-id {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-deep);
  font-weight: 500;
}

/* ---------- Steps list ---------- */
.steps {
  margin: 0 0 28px;
  padding: 4px 0;
}
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-soft);
  align-items: start;
}
.step:last-child { border-bottom: 0; }
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  border: 1px solid var(--line);
}
.step.active .step-num {
  background: var(--accent); color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(139,42,92,0.28);
}
.step-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 3px;
  letter-spacing: -0.005em;
}
.step-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

.wa-note {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--gold-deep);
  text-align: center; margin-top: 14px;
}
.wa-note strong { color: var(--accent); font-style: normal; font-weight: 500; }

/* ---------- Receipt (proforma) ---------- */
.receipt {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 30px 32px;
  align-self: start;
  position: sticky; top: 32px;
  box-shadow: var(--shadow-soft);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(139,42,92,0.03) 27px 28px);
  background-position: 0 80px;
}
.receipt-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 14px;
}
.receipt h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--accent);
  margin: 0;
  letter-spacing: -0.01em;
}
.receipt-seal {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center;
  width: 66px; height: 66px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-deep);
  transform: rotate(-8deg);
}
.receipt-seal span { font-size: 14px; line-height: 1; }
.receipt-seal small {
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 2px;
  line-height: 1.1;
}
.receipt-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 12px 0 16px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 10px;
}
.receipt-meta > div { display: flex; flex-direction: column; gap: 3px; }
.receipt-meta span {
  font-family: var(--label);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}
.receipt-meta strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.receipt-foot {
  font-family: var(--serif); font-style: italic;
  font-size: 12.5px; color: var(--ink-mute);
  text-align: center;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px dashed var(--line);
}

/* ---------- About ---------- */
.about {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 32px 80px;
  border-top: 1px solid var(--line-soft);
}
.about-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .about { padding: 56px 20px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
}
.about-copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4.5vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0 0 24px;
  color: var(--ink);
}
.about-copy h2 em { font-style: italic; color: var(--accent); }
.about-copy p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 54ch;
  margin: 0 0 16px;
}
.about-copy p strong { color: var(--accent); font-weight: 500; }
.about-values {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-values > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.about-values > div > span {
  color: var(--gold);
  font-size: 18px;
  line-height: 1.2;
}
.about-values strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 2px;
}
.about-values small {
  display: block;
  font-size: 13px;
  color: var(--ink-mute);
}
.about-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.about-card::before {
  content: "✦";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  color: var(--gold);
  font-size: 22px;
  padding: 0 10px;
  line-height: 1;
}
.about-card img {
  width: 90px; height: 90px;
  margin: 8px auto 14px;
  object-fit: contain;
}
.about-card-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 6px;
}
.about-card-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.about-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.about-socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--accent);
  display: grid; place-items: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: 1px solid var(--line-soft);
}
.about-socials a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--accent);
}

/* ---------- Footer ---------- */
.foot {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  flex-wrap: wrap;
}
.foot-socials { display: flex; gap: 4px; }
.foot-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--accent);
  transition: background 0.2s;
}
.foot-socials a:hover { background: var(--bg-soft); }
.toast {
  position: fixed; left: 50%; bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: var(--accent); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-size: 13.5px; font-family: var(--sans);
  box-shadow: var(--shadow-pop);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Tweaks panel */
.tweaks {
  position: fixed; bottom: 20px; left: 20px; z-index: 150;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  width: 272px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  display: none;
}
.tweaks.on { display: block; }
.tweaks h5 { font-family: var(--serif); font-style: italic; font-size: 18px; margin: 0 0 16px; color: var(--accent); font-weight: 500; display: flex; justify-content: space-between; align-items: center;}
.tweak-row { margin-bottom: 16px; }
.tweak-row:last-child { margin-bottom: 0; }
.tweak-row label { display: block; font-size: 10.5px; color: var(--ink-mute); margin-bottom: 8px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;}
.swatches { display: flex; gap: 8px; }
.sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: transform 0.2s;}
.sw:hover { transform: scale(1.1); }
.sw.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--accent); }
.seg { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--bg-soft);}
.seg button { flex: 1; padding: 8px 10px; font-size: 11px; transition: background 0.2s, color 0.2s; color: var(--ink-soft); font-weight: 500;}
.seg button.active { background: var(--accent); color: #fff; }
