:root {
  --bg: #0d1712;
  --bg-soft: #111f17;
  --panel: #15241b;
  --line: #2b3f32;
  --gold: #c9a45c;
  --gold-deep: #9a7a3f;
  --ivory: #f2f0e4;
  --muted: #a9b39d;
  --muted-dim: #6e7d6e;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ivory);
  font-family: "Jost", "Segoe UI", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 18, 13, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "Cormorant Garamond", serif; font-size: 22px; color: var(--gold);
}
.brand-name { font-family: "Marcellus", "Cormorant Garamond", Georgia, serif; font-size: 26px; letter-spacing: 0.32em; }
.brand-sub { font-size: 10px; letter-spacing: 0.32em; color: var(--muted); margin-top: 2px; }
.nav-links { display: flex; gap: 28px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
@media (max-width: 720px) {
  .nav-links { gap: 14px; font-size: 11px; }
  .brand-name { font-size: 19px; }
}

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 96px 22px 72px;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, #1e3128 0%, var(--bg) 70%);
}
.hero-eyebrow { color: var(--gold); font-size: 12px; letter-spacing: 0.42em; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 7vw, 76px); margin-bottom: 18px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p { color: var(--muted); max-width: 560px; margin: 0 auto 34px; font-size: 17px; }
.rule { width: 64px; height: 1px; background: var(--gold); margin: 0 auto 26px; }
.btn {
  display: inline-block; padding: 14px 38px; border-radius: 999px;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  transition: all 0.25s; cursor: pointer; background: transparent;
}
.btn:hover { background: var(--gold); color: #171410; }
.btn-solid { background: var(--gold); color: #171410; }
.btn-solid:hover { background: #dbb968; }
.btn-wa { border-color: #3ecf6f; color: #3ecf6f; }
.btn-wa:hover { background: #3ecf6f; color: #0d140f; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- sections ---------- */
section.block { padding: 72px 0; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.sec-head p { color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.25s, border-color 0.25s;
}
.cat-card:hover { transform: translateY(-5px); border-color: var(--gold-deep); }
.cat-card .ph { aspect-ratio: 1; overflow: hidden; background: #0a110d; }
.cat-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.cat-card:hover .ph img { transform: scale(1.05); }
.cat-card .tx { padding: 18px; text-align: center; }
.cat-card .tx h3 { font-size: 24px; letter-spacing: 0.08em; }
.cat-card .tx span { color: var(--muted); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- product grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 18px; }
.chip {
  padding: 9px 22px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  cursor: pointer; background: transparent; transition: all 0.2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.on { background: var(--gold); border-color: var(--gold); color: #171410; }
.search-row { display: flex; justify-content: center; margin-bottom: 40px; }
.search-row input {
  width: min(420px, 90%); padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--ivory);
  font-size: 14px; letter-spacing: 0.06em; outline: none;
}
.search-row input:focus { border-color: var(--gold); }
.search-row input::placeholder { color: var(--muted-dim); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold-deep); }
.card .ph { aspect-ratio: 1; background: #0a110d; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .tx { padding: 14px 16px 18px; }
.card .code { font-size: 14px; letter-spacing: 0.1em; color: var(--ivory); margin-bottom: 6px; }
.card .spec { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.card .spec b { color: var(--gold); font-weight: 400; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; grid-column: 1 / -1; }

/* ---------- product page ---------- */
.crumb { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dim); margin: 34px 0 26px; }
.crumb a:hover { color: var(--gold); }
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 80px; }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; } }
.pd-photo {
  background: #0a110d; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 1; position: relative;
}
.pd-slides { width: 100%; height: 100%; }
.pd-slide { display: none; width: 100%; height: 100%; }
.pd-slide.on { display: block; }
.pd-slide img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.pd-slide video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.pd-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; gap: 8px; justify-content: center; }
.pd-dot { font-family: inherit; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10,17,13,0.75); color: var(--muted); cursor: pointer; }
.pd-dot.on { background: var(--gold); border-color: var(--gold); color: #0d1712; }
.pd-info h1 { font-size: clamp(30px, 4vw, 44px); margin: 6px 0 4px; letter-spacing: 0.04em; }
.pd-cat { color: var(--gold); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; }
.variant-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.variant-row .chip.on { background: var(--gold); }
.spec-table { width: 100%; margin: 20px 0 28px; border-collapse: collapse; font-size: 15px; }
.spec-table td { padding: 12px 4px; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-size: 12px; width: 42%; }
.spec-table td:last-child { text-align: right; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.pd-note { color: var(--muted-dim); font-size: 13px; margin-top: 18px; }
.wa-soon {
  display: none; margin-top: 14px; padding: 12px 18px; border: 1px dashed var(--gold-deep);
  border-radius: 10px; color: var(--muted); font-size: 13.5px;
}
/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 7, 5, 0.94);
  display: none; align-items: center; justify-content: center; cursor: zoom-out; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }

/* ---------- about / contact ---------- */
.about { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.about p { color: var(--muted); margin-bottom: 14px; }
.contact { text-align: center; }
.contact .btn { margin: 6px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 34px; text-align: center; }
footer .brand-name { font-size: 20px; }
footer p { color: var(--muted-dim); font-size: 13px; margin-top: 12px; }
footer nav { display: flex; gap: 24px; justify-content: center; margin: 18px 0 6px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
footer nav a { color: var(--muted); }
footer nav a:hover { color: var(--gold); }
.cert { color: var(--gold); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- gallery slide label ---------- */
.pd-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10,17,13,0.8); color: var(--gold); }
.pd-dots { flex-wrap: wrap; padding: 0 10px; }
