:root {
  --ivory: #f5f1ea;
  --ivory-2: #ece6dc;
  --paper: #fbf9f5;
  --ink: #16140f;
  --ink-2: #3b372f;
  --stone: #8a8275;
  --line: #d9d2c5;
  --gold: #b08d57;
  --gold-2: #8f7042;
  --white: #ffffff;
  --radius: 2px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1280px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.6; letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--stone); }
.muted { color: var(--stone); }

/* ---------- header ---------- */
.topbar { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; text-align: center; padding: 9px 12px; background: var(--ink); color: var(--ivory); }
header.site { position: sticky; top: 0; z-index: 40; background: rgba(245,241,234,0.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; gap: 16px; }
.brand { font-family: var(--serif); font-size: 28px; letter-spacing: 0.18em; text-transform: uppercase; justify-self: center; white-space: nowrap; }
.logo { height: 34px; width: auto; display: block; }
.logo-footer { height: 44px; }
@media (max-width: 860px) { .logo { height: 28px; } }
.brand small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: 0.3em; color: var(--stone); text-align: center; margin-top: -2px; }
nav.main { display: flex; gap: 26px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
nav.main a { padding: 6px 0; border-bottom: 1px solid transparent; }
nav.main a:hover, nav.main a.active { border-bottom-color: var(--ink); }
.actions { justify-self: end; display: flex; gap: 18px; align-items: center; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.bag-btn { background: none; border: 0; padding: 6px 0; display: inline-flex; gap: 8px; align-items: center; letter-spacing: inherit; text-transform: inherit; }
.bag-btn .count { min-width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--ivory); font-size: 10px; display: inline-grid; place-items: center; }
.burger { display: none; background: none; border: 0; padding: 8px; }
@media (max-width: 860px) {
  header.site .wrap { grid-template-columns: auto 1fr auto; height: 64px; }
  .brand { font-size: 22px; }
  nav.main { display: none; }
  .burger { display: block; }
  .actions span.label { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; min-height: 560px; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(42px, 6vw, 84px); font-weight: 400; line-height: 0.98; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { max-width: 460px; color: #c9c2b4; font-size: 16px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { position: relative; aspect-ratio: 4/5; max-height: 520px; justify-self: end; width: 100%; max-width: 440px; border: 1px solid rgba(255,255,255,0.12); background: radial-gradient(120% 90% at 30% 20%, #2b2721 0%, #16140f 70%); display: grid; place-items: center; }
.hero-art svg { width: 68%; height: auto; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; min-height: 0; } .hero-art { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; border-radius: var(--radius); transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ivory); }
.hero .btn.ghost { color: var(--ivory); border-color: rgba(255,255,255,0.4); }
.hero .btn.ghost:hover { background: var(--ivory); color: var(--ink); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ivory); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.full { width: 100%; }

/* ---------- trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 22px 48px; }
.trust div { display: flex; gap: 12px; align-items: center; font-size: 12px; letter-spacing: 0.06em; }
.trust svg { width: 20px; height: 20px; flex: none; color: var(--gold-2); }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: 1fr 1fr; padding: 18px 16px; } }

/* ---------- categories ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 400; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--ivory-2); border: 1px solid var(--line); display: grid; place-items: center; }
.cat svg { width: 46%; height: auto; opacity: .9; transition: transform .5s ease; }
.cat:hover svg { transform: scale(1.06); }
.cat .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(180deg, transparent, rgba(22,20,15,0.06)); font-family: var(--serif); font-size: 24px; display: flex; justify-content: space-between; align-items: baseline; }
.cat .label span { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
@media (max-width: 860px) { .cats { grid-template-columns: 1fr 1fr; } }

/* ---------- product grid ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 9px 16px; border: 1px solid var(--line); background: transparent; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 999px; color: var(--ink-2); }
.chip.active, .chip:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; } }
.card { position: relative; }
.card .ph { aspect-ratio: 4/5; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .ph img { transform: scale(1.04); }
.card .tag { position: absolute; top: 12px; left: 12px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; background: var(--ivory); padding: 5px 9px; border: 1px solid var(--line); }
.card .tag.sold { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.card.is-sold .ph img { filter: grayscale(1) opacity(.55); }
.card .meta { padding: 14px 2px 0; }
.card .brand { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.card .title { font-family: var(--serif); font-size: 19px; margin: 4px 0 6px; line-height: 1.2; }
.card .price { font-size: 13px; letter-spacing: 0.04em; }
.card .cond { font-size: 11px; color: var(--stone); margin-left: 8px; }
.empty { padding: 64px 0; text-align: center; color: var(--stone); font-family: var(--serif); font-size: 22px; }

/* ---------- product page ---------- */
.crumbs { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); padding: 22px 0 8px; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 72px); padding-bottom: 96px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } }
.gallery .main { aspect-ratio: 4/5; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gallery .thumbs button { width: 72px; aspect-ratio: 1; padding: 0; border: 1px solid var(--line); background: var(--paper); overflow: hidden; opacity: .7; }
.gallery .thumbs button.active, .gallery .thumbs button:hover { opacity: 1; border-color: var(--ink); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo { position: sticky; top: 96px; align-self: start; }
.pinfo .brand { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone); }
.pinfo h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 400; margin: 8px 0 14px; }
.pinfo .price { font-size: 22px; font-family: var(--serif); margin-bottom: 24px; }
.pinfo .desc { color: var(--ink-2); margin-bottom: 28px; }
.specs { border-top: 1px solid var(--line); margin: 28px 0; }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.specs dt { color: var(--stone); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; margin: 0; }
.specs dd { margin: 0; }
.assure { display: grid; gap: 10px; margin-top: 22px; font-size: 12.5px; color: var(--ink-2); }
.assure div { display: flex; gap: 10px; align-items: flex-start; }
.assure svg { width: 16px; height: 16px; flex: none; color: var(--gold-2); margin-top: 3px; }
.pinfo .wa { display: block; text-align: center; font-size: 12px; letter-spacing: 0.1em; margin-top: 14px; text-decoration: underline; text-underline-offset: 4px; color: var(--ink-2); }

/* ---------- bag drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(22,20,15,0.45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 50; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 51; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
body.bag-open .scrim { opacity: 1; pointer-events: auto; }
body.bag-open .drawer { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer header h3 { font-size: 26px; font-weight: 400; }
.drawer .close { background: none; border: 0; font-size: 22px; line-height: 1; padding: 4px 8px; }
.drawer .lines { flex: 1; overflow: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 72px; height: 90px; object-fit: cover; border: 1px solid var(--line); background: var(--ivory-2); }
.line .b { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }
.line .t { font-family: var(--serif); font-size: 17px; line-height: 1.2; }
.line .p { font-size: 13px; margin-top: 4px; }
.line .rm { background: none; border: 0; color: var(--stone); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.drawer footer { padding: 20px 24px 28px; border-top: 1px solid var(--line); }
.drawer .total { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 22px; margin-bottom: 16px; }
.drawer .note { font-size: 11.5px; color: var(--stone); text-align: center; margin-top: 12px; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1fr 420px; gap: clamp(24px, 5vw, 72px); padding: 24px 0 96px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .checkout .summary { order: -1; } }
.checkout h1 { font-size: 40px; font-weight: 400; margin-bottom: 8px; }
.form { display: grid; gap: 14px; margin-top: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
label.f { display: grid; gap: 6px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
label.f input, label.f textarea, label.f select { font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); padding: 13px 14px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); width: 100%; }
label.f input:focus, label.f textarea:focus { outline: none; border-color: var(--ink); }
label.f textarea { min-height: 80px; resize: vertical; }
.summary { background: var(--paper); border: 1px solid var(--line); padding: 24px; align-self: start; position: sticky; top: 96px; }
.summary h3 { font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.summary .line { grid-template-columns: 56px 1fr auto; }
.summary .line img { width: 56px; height: 70px; }
.summary .totals { margin-top: 12px; display: grid; gap: 8px; font-size: 13.5px; }
.summary .totals div { display: flex; justify-content: space-between; }
.summary .totals .grand { font-family: var(--serif); font-size: 22px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; }
.secure { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 11.5px; color: var(--stone); }
.secure svg { width: 16px; height: 16px; color: var(--gold-2); }
.alert { padding: 14px 16px; border: 1px solid #c98a7a; background: #fbf0ec; color: #7a2d1c; font-size: 13.5px; margin-top: 16px; }
.alert.ok { border-color: #9bb59a; background: #eef5ee; color: #24502a; }

/* ---------- success ---------- */
.center { max-width: 640px; margin: 0 auto; padding: 80px 0 120px; text-align: center; }
.center h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 400; margin: 16px 0; }
.center .box { text-align: left; background: var(--paper); border: 1px solid var(--line); padding: 24px; margin-top: 32px; }
.seal { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; margin: 0 auto; color: var(--gold-2); }

/* ---------- editorial band ---------- */
.band { background: var(--ink); color: var(--ivory); }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: clamp(48px, 7vw, 96px) 48px; align-items: center; }
.band h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 400; }
.band p { color: #c9c2b4; max-width: 520px; }
.band .steps { display: grid; gap: 18px; }
.band .steps div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 14px; }
.band .steps b { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--gold); }
.band .steps h4 { margin: 0 0 4px; font-weight: 500; font-size: 15px; }
.band .steps p { font-size: 13px; margin: 0; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; padding: 48px 16px; } }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line); background: var(--paper); }
footer.site .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 56px 48px 32px; font-size: 13px; }
footer.site h5 { margin: 0 0 12px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
footer.site a { display: block; padding: 3px 0; color: var(--ink-2); }
footer.site a:hover { color: var(--ink); }
footer .brand { justify-self: start; font-size: 24px; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 11px; color: var(--stone); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 860px) { footer.site .wrap { grid-template-columns: 1fr 1fr; padding: 40px 16px 24px; } footer .brand { grid-column: 1 / -1; } }

/* ---------- whatsapp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: white; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- mobile nav ---------- */
.mnav { position: fixed; inset: 0; background: var(--ivory); z-index: 60; display: none; padding: 80px 32px; }
.mnav.open { display: block; }
.mnav a { display: block; font-family: var(--serif); font-size: 34px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mnav .close { position: absolute; top: 18px; right: 18px; background: none; border: 0; font-size: 28px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: var(--ivory); padding: 12px 20px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0; transition: .25s; z-index: 70; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.skel { background: linear-gradient(90deg, var(--ivory-2), var(--paper), var(--ivory-2)); background-size: 200% 100%; animation: sh 1.2s infinite; }
@keyframes sh { to { background-position: -200% 0; } }
