:root {
  --bg: #f7f4ef;
  --bg-elevated: #ffffff;
  --ink: #1c1410;
  --ink-soft: #5c534c;
  --line: #e6dfd5;
  --accent: #9a1830;
  --accent-deep: #6e0f22;
  --accent-soft: #f6e8eb;
  --gold: #b08d57;
  --shadow: 0 18px 50px rgba(28, 20, 16, 0.08);
  --radius: 18px;
  --font: "DM Sans", "Segoe UI", "PingFang SC", sans-serif;
  --display: "Fraunces", "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(circle at top left, rgba(154, 24, 48, 0.08), transparent 32%),
    linear-gradient(180deg, #fbf8f3 0%, var(--bg) 40%, #f3eee7 100%);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(251, 248, 243, 0.88);
  border-bottom: 1px solid rgba(230, 223, 213, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a, .nav button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}
.nav a:hover, .nav button:hover, .nav a.active {
  color: var(--ink);
  background: rgba(28, 20, 16, 0.05);
}
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink) !important;
  color: #fff !important;
  padding: 10px 16px !important;
}
.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero {
  padding: 72px 0 40px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 10ch;
  margin-bottom: 18px;
}
.hero-lead {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(154, 24, 48, 0.25);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 0.92rem; }
.btn-block { width: 100%; }

.section {
  padding: 28px 0 56px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}
.section-head p { color: var(--ink-soft); }
.section-link {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.feature-card, .product-card, .pack-card, .connect-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 420px;
}
.feature-copy, .feature-media, .product-body, .pack-body, .connect-card {
  padding: 28px;
}
.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.feature-copy h3, .product-card h3, .pack-card h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 12px 0;
}
.feature-copy p, .product-card p, .pack-card p, .connect-card p {
  color: var(--ink-soft);
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.price {
  font-size: 1.35rem;
  font-weight: 800;
}
.price s {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  margin-right: 8px;
}
.feature-media, .product-media, .pack-media {
  background:
    linear-gradient(145deg, rgba(154, 24, 48, 0.92), rgba(28, 20, 16, 0.92)),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 40%);
  color: #fff;
  display: flex;
  align-items: end;
  min-height: 220px;
}
.feature-media { padding: 28px; }
.product-media, .pack-media {
  aspect-ratio: 4 / 3;
  padding: 20px;
}
.media-label {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
}
.side-stack {
  display: grid;
  gap: 18px;
}

.product-grid, .pack-grid, .connect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card, .pack-card {
  display: flex;
  flex-direction: column;
}
.product-body, .pack-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3, .pack-card h3 {
  font-size: 1.15rem;
  margin-top: 0;
}
.product-actions {
  margin-top: auto;
  padding-top: 16px;
  display: grid;
  gap: 8px;
}

.youtube-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}
.youtube-main {
  padding: 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1c1410, #9a1830);
  color: #fff;
  box-shadow: var(--shadow);
}
.youtube-main h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 12px 0 18px;
}
.youtube-list {
  display: grid;
  gap: 12px;
}
.youtube-item {
  display: block;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  transition: 0.2s ease;
}
.youtube-item:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 24, 48, 0.35);
}
.youtube-item strong { display: block; margin-bottom: 4px; }
.youtube-item span { color: var(--ink-soft); font-size: 0.92rem; }

.connect-grid { grid-template-columns: repeat(3, 1fr); }
.connect-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: space-between;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  color: var(--ink-soft);
}
.footer-links a:hover { color: var(--accent); }

.bag-drawer {
  position: fixed;
  inset: 0;
  background: rgba(28, 20, 16, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 60;
}
.bag-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}
.bag-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -20px 0 60px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(24px);
  transition: 0.25s ease;
}
.bag-drawer.is-open .bag-panel { transform: translateX(0); }
.bag-top, .bag-footer {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bag-footer {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  margin-top: auto;
  flex-direction: column;
  align-items: stretch;
}
.bag-list {
  list-style: none;
  padding: 10px 22px;
  overflow: auto;
  flex: 1;
}
.bag-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.bag-item button {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}
.bag-empty {
  padding: 40px 22px;
  color: var(--ink-soft);
  text-align: center;
}
.bag-empty.is-hidden { display: none; }
.bag-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(28,20,16,0.06);
  cursor: pointer;
  font-size: 1.2rem;
}

.page-hero {
  padding: 48px 0 20px;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
}
.legal {
  max-width: 720px;
  padding: 20px 0 60px;
  color: var(--ink-soft);
}
.legal h2 {
  color: var(--ink);
  font-size: 1.2rem;
  margin: 24px 0 8px;
}
.legal p { margin-bottom: 12px; }

@media (max-width: 980px) {
  .featured-grid,
  .feature-card,
  .youtube-strip,
  .product-grid,
  .pack-grid,
  .connect-grid {
    grid-template-columns: 1fr;
  }
  .nav a:not(.cart-btn) { display: none; }
  .hero { padding-top: 48px; }
}
