:root {
  --bg: #f7f5f2;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --text: #17181a;
  --text-dim: #63645f;
  --accent: #d94f2b;
  --accent-dim: #b8401f;
  --border: #e4e0d8;
  --radius: 10px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--text);
  text-transform: uppercase;
}
.logo span { color: var(--accent); }

nav.main-nav { display: flex; gap: 32px; }
nav.main-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 720px) {
  nav.main-nav {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  nav.main-nav.open { max-height: 300px; }
  nav.main-nav a { padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--text); }
.btn-block { width: 100%; text-align: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Hero */
.hero {
  padding: 90px 0 70px;
  border-bottom: 1px solid var(--border);
}
.hero .eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.05;
  margin: 0 0 20px;
  font-weight: 800;
  max-width: 780px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 0 32px;
  line-height: 1.6;
}
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Section */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { margin-bottom: 36px; max-width: 640px; }
.section-head .eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 14px; font-weight: 800; }
.section-head p { color: var(--text-dim); line-height: 1.6; font-size: 16px; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-card .thumb {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #eee7dc, #f7f5f2 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.product-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-dim);
}
.product-card h3 { margin: 0; font-size: 18px; }
.product-card p.desc { color: var(--text-dim); font-size: 14px; line-height: 1.5; margin: 0; flex: 1; }
.product-card .price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.product-card .price { font-size: 20px; font-weight: 800; }

.badge-soon {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 999px;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 56px 0;
  align-items: start;
}
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; } }
.product-media {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #eee7dc, #f7f5f2 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 2px;
}
.product-info .tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dim);
}
.product-info h1 { font-size: clamp(26px, 4vw, 36px); margin: 12px 0 16px; font-weight: 800; }
.product-info p.desc { color: var(--text-dim); line-height: 1.7; font-size: 16px; margin-bottom: 24px; }
.product-info ul.includes { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.product-info ul.includes li { font-size: 14px; padding-left: 22px; position: relative; }
.product-info ul.includes li::before { content: "✓"; color: var(--accent); position: absolute; left: 0; font-weight: 800; }
.buy-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.buy-box .price { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.buy-box .price-note { color: var(--text-dim); font-size: 13px; margin-bottom: 18px; }
.buy-box .status-msg { font-size: 13px; color: var(--text-dim); margin-top: 14px; line-height: 1.5; }
.buy-box .status-msg.error { color: #b8401f; }

/* Story section */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }
.story-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #eee7dc, #f7f5f2 60%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
}
.story-copy p { color: var(--text-dim); line-height: 1.7; font-size: 16px; margin-bottom: 18px; }

/* Footer */
footer.site-footer { border-top: 1px solid var(--border); padding: 44px 0 28px; color: var(--text-dim); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 28px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { max-width: 320px; font-size: 14px; line-height: 1.6; margin: 0; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); margin: 0 0 14px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; color: var(--text-dim); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Center page */
.center-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.center-page .icon { font-size: 48px; margin-bottom: 20px; }
.center-page h1 { font-size: 30px; margin-bottom: 14px; }
.center-page p { color: var(--text-dim); max-width: 480px; margin: 0 auto 28px; line-height: 1.6; }
