:root {
  --cream: #FBF6EF;
  --panel: #FFFFFF;
  --ink: #211512;
  --muted: #6F5F52;
  --line: #E4D9C8;
  --plum: #3D1F47;
  --plum-dark: #2A1430;
  --gold: #C9972F;
  --gold-light: #F2E2BC;
  --terracotta: #C1572E;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 14px 36px rgba(61, 31, 71, 0.08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 246, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0;
}
.brand {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em;
  color: var(--plum);
}
.brand span { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.94rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--plum); }
.nav-currency {
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font: inherit;
  font-size: 0.85rem; font-weight: 600; color: var(--plum); background: var(--cream); cursor: pointer;
}

/* ---------- Eyebrow / ledger-line signature ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::after { content: ''; display: block; width: 48px; height: 1px; background: var(--gold); }
.section-head { margin-bottom: 28px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.01em; margin: 10px 0 8px; color: var(--plum);
}
.section-head p { margin: 0; color: var(--muted); max-width: 56ch; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 48px;
  position: relative;
  background:
    radial-gradient(ellipse 600px 400px at 85% 0%, rgba(201,151,47,0.10), transparent),
    radial-gradient(ellipse 500px 350px at 5% 30%, rgba(193,87,46,0.07), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04;
  margin: 18px 0 18px; letter-spacing: -0.02em; color: var(--plum);
}
.hero p { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
.hero-card, .panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-card { padding: 26px; position: relative; overflow: hidden; }
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
}
.hero-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 0 0 4px; color: var(--plum); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.stat {
  padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream);
}
.stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--plum); }
.stat span { color: var(--muted); font-size: 0.86rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--plum); color: white; box-shadow: 0 6px 18px rgba(61,31,71,0.25); }
.btn-primary:hover { background: var(--plum-dark); }
.btn-secondary { background: white; color: var(--plum); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 56px 0 8px; }
.category-grid, .product-grid, .feature-grid { display: grid; gap: 20px; }
.category-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.feature-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.product-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.category-card, .product-card, .feature-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.15s, box-shadow 0.15s;
}
.category-card:hover, .product-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(61,31,71,0.12); border-color: var(--gold); }
.feature-card:has(a):hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(61,31,71,0.12); border-color: var(--gold); cursor: pointer; }
.feature-card a { display: block; }
.category-card { padding: 20px; position: relative; }
.category-card .cat-index {
  font-family: var(--font-display); font-style: italic; color: var(--gold-light);
  font-size: 2.4rem; position: absolute; top: 8px; right: 14px; line-height: 1; z-index: 0;
}
.category-card h3, .feature-card h3, .product-card h3 {
  font-family: var(--font-display); font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em;
  color: var(--plum); position: relative; z-index: 1;
}
.category-card p, .feature-card p, .product-card p { margin: 0; color: var(--muted); position: relative; z-index: 1; }

.product-thumb {
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--gold-light), #fff 60%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.badge { background: var(--gold-light); color: var(--plum); padding: 5px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.price { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--plum); }
.note { color: var(--muted); font-size: 0.9rem; }

.cta-band {
  margin: 48px 0; padding: 32px; border-radius: 22px;
  background: linear-gradient(135deg, var(--plum), var(--plum-dark));
  color: white; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0; opacity: 0.08;
  background: repeating-linear-gradient(45deg, white 0, white 1px, transparent 1px, transparent 14px);
}
.cta-band h2 { font-family: var(--font-display); font-weight: 600; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,0.82); position: relative; z-index: 1; max-width: 60ch; }

.site-footer { padding: 56px 0 40px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px; background: var(--panel); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr; }
.footer-col h4 { font-family: var(--font-display); color: var(--plum); font-size: 1rem; margin: 0 0 14px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col ul a { font-size: 0.92rem; color: var(--muted); transition: color 0.15s; }
.footer-col ul a:hover { color: var(--terracotta); }
.footer-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); font-size: 0.78rem; font-weight: 700; color: var(--plum);
}
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.small { font-size: 0.92rem; }
.stack { display: grid; gap: 12px; }
.policy-list { display: grid; gap: 10px; }
.social-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.social-link {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px;
  background: white; color: var(--plum); font-weight: 700; font-size: 0.85rem;
  border: 1px solid var(--line); transition: background 0.15s, color 0.15s;
}
.social-link:hover { background: var(--plum); color: white; }

.btn-link-toggle {
  background: none; border: none; color: var(--terracotta); font-weight: 700; font-size: 0.88rem;
  text-decoration: underline; cursor: pointer; padding: 6px 2px; text-align: left;
}
.pay-options { display: grid; gap: 10px; margin-top: 4px; }

/* ---------- Product detail page ---------- */
.product-page { padding: 36px 0 60px; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--terracotta); font-weight: 600; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.product-panel { padding: 24px; }
.product-panel h1 {
  font-family: var(--font-display); font-weight: 600; margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--plum);
}
.product-panel ul { padding-left: 18px; color: var(--muted); }

/* ---------- Form inputs ---------- */
input[type="text"], input[type="email"], textarea {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; font: inherit; background: white;
}
input:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

@media (max-width: 900px) {
  .hero-grid, .product-layout, .footer-grid { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; flex-direction: column; }
}
