:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --ink: #1a1a2e;
  --muted: #6b6b7b;
  --gold: #c9a962;
  --gold-soft: #f3ead2;
  --border: #e8e2d8;
  --shadow: 0 12px 40px rgba(26, 26, 46, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

.container { width: min(1200px, 92vw); margin: 0 auto; }

.site-header {
  background: var(--ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.logo { height: 42px; width: auto; }
.logo-fallback { display: none; font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase; }
nav a { color: #d9d9e3; text-decoration: none; margin-left: 1rem; }
nav a.active, nav a:hover { color: var(--gold); }

.hero { padding: 3rem 0 2rem; text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .75rem;
  color: var(--gold);
  margin: 0 0 .5rem;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .5rem; font-weight: 500; }
.hero-sub { color: var(--muted); margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  padding-bottom: 4rem;
}
.diamond-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.diamond-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(26,26,46,.12); }
.card-link { color: inherit; text-decoration: none; display: block; }
.card-media {
  aspect-ratio: 1;
  background: linear-gradient(180deg, #fff, var(--gold-soft));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1rem 1.1rem 1.25rem; }
.card-ref { color: var(--gold); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .35rem; }
.card-body h2 { font-size: 1.05rem; margin: 0 0 .35rem; font-weight: 600; }
.card-specs { color: var(--muted); margin: 0 0 .75rem; font-size: .92rem; }
.card-price { display: flex; justify-content: space-between; align-items: baseline; }
.card-price span { color: var(--muted); font-size: .85rem; }
.card-price strong { color: var(--ink); font-size: 1.1rem; }

.back-link { display: inline-block; margin: 2rem 0 1rem; color: var(--gold); text-decoration: none; }
.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  padding-bottom: 4rem;
}
.detail-gallery {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.gallery-image, .gallery-video {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin-bottom: 1rem;
  background: #111;
}
.gallery-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--gold-soft);
  border-radius: 12px;
}
.detail-info h1 { margin: .25rem 0; font-size: 2rem; font-weight: 500; }
.detail-sub { color: var(--muted); margin-top: 0; }
.price-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--gold-soft);
  border-radius: 12px;
}
.price-box span { display: block; color: var(--muted); font-size: .85rem; }
.price-box strong { font-size: 1.35rem; }
.cert-link { color: var(--ink); font-weight: 600; }
.cert-note { color: var(--muted); font-size: .92rem; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.spec-table th,
.spec-table td {
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 500;
  background: #fcfaf7;
}

.site-footer {
  background: var(--ink);
  color: #d9d9e3;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2.5rem 0 1.5rem;
}
.site-footer h3, .site-footer h4 { color: #fff; margin-top: 0; }
.site-footer a { color: var(--gold); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 0 1.5rem;
  font-size: .85rem;
  color: #9a9ab0;
}

@media (max-width: 860px) {
  .detail-layout { grid-template-columns: 1fr; }
}
