:root {
  --bg: #f7f0e6;
  --surface: #fffaf3;
  --surface-soft: #f1eadf;
  --text: #6f7652;
  --text-strong: #5f6746;
  --muted: #929675;
  --border: #d9d4c6;
  --accent: #969b72;
  --accent-dark: #7f865e;
  --accent-soft: #e6e2d2;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.35), transparent 38%),
    var(--bg);
  color: var(--text-strong);
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(20px, 5vw, 72px);
  background: rgba(247, 240, 230, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  display: block;
  width: clamp(150px, 18vw, 230px);
  height: 72px;
  object-fit: contain;
  object-position: left center;
}
.basket-button, .icon-button {
  border: 1px solid var(--accent-soft);
  background: rgba(255,250,243,.9);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.basket-button:hover, .icon-button:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.hero {
  min-height: 64vh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 54px 24px 72px;
}
.hero-logo {
  width: min(620px, 88vw);
  max-height: 380px;
  object-fit: contain;
  display: block;
  margin-bottom: 18px;
}
.hero-copy {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0 22px;
  background: var(--accent);
  color: #fffaf3;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.primary-button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}
.full-width { width: 100%; }

.shop-section { padding: 32px clamp(20px, 5vw, 72px) 90px; }
.section-heading { margin-bottom: 26px; }
.section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.04em;
  color: var(--accent-dark);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  background: rgba(255,250,243,.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(111, 118, 82, 0.08);
}
.product-image {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--surface-soft), var(--accent-soft));
  color: var(--accent-dark);
  font-weight: 700;
}
.product-content { padding: 20px; }
.product-content h3 { margin: 0 0 8px; font-size: 21px; color: var(--text-strong); }
.product-content p { margin: 0 0 18px; color: var(--muted); line-height: 1.55; }
.product-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.product-price { font-weight: 800; font-size: 18px; color: var(--accent-dark); }
.add-button {
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-dark);
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.add-button:hover {
  background: var(--accent);
  color: #fffaf3;
}

.basket-panel {
  position: fixed;
  z-index: 40;
  inset: 0 0 0 auto;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--text-strong);
  transform: translateX(100%);
  transition: transform 180ms ease;
  box-shadow: -18px 0 42px rgba(95, 103, 70, .12);
}
.basket-panel.open { transform: translateX(0); }
.basket-header, .basket-footer { padding: 22px; }
.basket-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.basket-header h2 { margin: 0; color: var(--accent-dark); }
.basket-items { flex: 1; overflow: auto; padding: 10px 22px; }
.basket-item { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.basket-item p { margin: 4px 0 0; color: var(--muted); }
.remove-button { border: 0; background: none; cursor: pointer; color: var(--accent-dark); }
.basket-footer { border-top: 1px solid var(--border); }
.basket-total { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: 18px; }
.secure-note { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 13px; }
.empty-state { color: var(--muted); padding: 24px 0; }
.overlay { position: fixed; inset: 0; z-index: 30; background: rgba(81, 86, 58, .28); }
footer { padding: 28px; text-align: center; color: var(--muted); border-top: 1px solid var(--border); }

@media (max-width: 640px) {
  .site-header { padding: 8px 16px; }
  .brand-logo { width: 145px; height: 58px; }
  .hero { min-height: 56vh; padding-top: 38px; }
  .hero-logo { width: min(500px, 95vw); }
  .product-grid { grid-template-columns: 1fr; }
}
