:root {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --ink: #2b2320;
  --muted: #7c716a;
  --brand: #e8743b;
  --brand-dark: #cf5f2b;
  --accent: #3b8a7a;
  --border: #eadfd4;
  --shadow: 0 6px 24px rgba(60, 40, 20, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 242, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; }
.brand-mark { font-size: 1.4rem; }
.brand-name span { color: var(--brand); }
.main-nav { margin-left: auto; display: flex; gap: 22px; }
.main-nav a { color: var(--muted); font-weight: 600; }
.main-nav a:hover { color: var(--ink); }

.cart-btn {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 1rem;
  cursor: pointer;
}
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin-left: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
}

/* Hero */
.hero { background: linear-gradient(135deg, #fff2e8, #eef7f4); border-bottom: 1px solid var(--border); }
.hero-inner { display: flex; align-items: center; gap: 30px; padding: 56px 20px; }
.hero-copy { flex: 1; }
.eyebrow { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; margin: 0 0 8px; }
.hero h1 { font-size: 2.4rem; line-height: 1.1; margin: 0 0 14px; }
.hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 46ch; margin: 0 0 22px; }
.hero-art { font-size: 4rem; line-height: 1.4; text-align: center; }

/* Buttons */
.btn { display: inline-block; border: none; border-radius: 999px; padding: 12px 22px; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: transform 0.05s ease, background 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-block { width: 100%; }

/* Products */
.products-section { padding: 48px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: 1.6rem; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip { border: 1px solid var(--border); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.product-thumb { font-size: 3.4rem; text-align: center; padding: 28px 0; background: linear-gradient(135deg, #fff7f0, #f0f7f4); }
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent); }
.product-name { font-weight: 700; font-size: 1.02rem; margin: 0; }
.product-desc { color: var(--muted); font-size: 0.88rem; margin: 0; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.product-price { font-weight: 800; font-size: 1.1rem; }
.add-btn { border: none; background: var(--accent); color: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.add-btn:hover { filter: brightness(0.95); }

/* About */
.about { padding: 20px 0 60px; max-width: 60ch; }
.about h2 { font-size: 1.5rem; }
.about p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 26px 0; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* Cart drawer */
.cart-overlay { position: fixed; inset: 0; background: rgba(30, 20, 10, 0.4); z-index: 30; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 92vw);
  background: var(--surface); z-index: 40; display: flex; flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  transform: translateX(100%); transition: transform 0.25s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border); }
.cart-header h2 { margin: 0; font-size: 1.2rem; }
.icon-btn { border: none; background: none; font-size: 1.1rem; cursor: pointer; color: var(--muted); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-empty { color: var(--muted); text-align: center; margin-top: 40px; }

.cart-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item-thumb { font-size: 1.8rem; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.92rem; }
.cart-item-price { color: var(--muted); font-size: 0.85rem; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 26px; height: 26px; border: 1px solid var(--border); background: var(--bg); border-radius: 6px; cursor: pointer; font-size: 1rem; line-height: 1; }
.qty span { min-width: 18px; text-align: center; font-weight: 600; }
.remove-btn { border: none; background: none; color: var(--brand); cursor: pointer; font-size: 0.8rem; }

.cart-footer { border-top: 1px solid var(--border); padding: 20px; }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 1.05rem; }

@media (max-width: 640px) {
  .hero-inner { flex-direction: column; text-align: center; padding: 40px 20px; }
  .hero h1 { font-size: 1.9rem; }
  .main-nav { display: none; }
}
