:root {
  --primary: #2f6b3f;
  --on-primary: #ffffff;
  --primary-container: #d6f0d4;
  --secondary: #5d6f42;
  --surface: #fffdf5;
  --surface-container: #f2efe4;
  --background: #fbfaf2;
  --outline: #d6d1c4;
  --text: #1a1c18;
  --muted: #60675a;
  --shadow: 0 18px 50px rgba(33, 47, 28, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214,240,212,.75), transparent 34rem),
    linear-gradient(180deg, #fbfaf2, #f4f1e5);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 70px; }

.app-bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 28px;
  background: rgba(255,253,245,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(214,209,196,.75);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 14px; background: var(--primary); color: var(--on-primary);
  box-shadow: 0 10px 24px rgba(47,107,63,.28);
}
nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
nav a {
  padding: 10px 16px; border-radius: 999px; color: var(--muted); font-weight: 650;
}
nav a.active, nav a:hover { background: var(--primary-container); color: #12371d; }
.cart-button {
  border: 0; border-radius: 999px; padding: 11px 16px; background: #e8f4e2;
  font-weight: 700; cursor: pointer;
}
.cart-button span { background: var(--primary); color: white; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }

.surface { background: rgba(255,253,245,.92); border: 1px solid rgba(214,209,196,.9); box-shadow: var(--shadow); }
.hero {
  min-height: 560px; border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 70px);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
  overflow: hidden; position: relative;
}
.hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -90px;
  background: rgba(214,240,212,.8); border-radius: 50%; z-index: 0;
}
.hero-copy, .hero-card { position: relative; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; color: var(--primary); font-weight: 800; font-size: .78rem; }
h1 { font-size: clamp(2.3rem, 6vw, 5.4rem); line-height: .95; letter-spacing: -.07em; margin: 0 0 22px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.045em; margin: 0 0 12px; }
h3 { margin: 0 0 10px; }
p { color: var(--muted); line-height: 1.65; }
.hero-copy > p:not(.eyebrow) { font-size: 1.18rem; max-width: 650px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  border: 0; border-radius: 999px; padding: 0 22px; font-weight: 800; cursor: pointer;
}
.button.filled { background: var(--primary); color: var(--on-primary); }
.button.tonal { background: var(--primary-container); color: #12371d; }
.button.full { width: 100%; }
.hero-card {
  min-height: 420px; border-radius: var(--radius-xl); padding: 28px;
  background: linear-gradient(160deg, #ecf8df, #faf1d2);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.tin {
  position: absolute; inset: 40px 48px auto auto; width: 190px; height: 230px;
  background: linear-gradient(120deg, #336f42, #80a867); border-radius: 26px 26px 34px 34px;
  box-shadow: 0 28px 42px rgba(47,107,63,.28);
}
.tin::after { content: "MATCHA"; color: white; font-weight: 800; position: absolute; bottom: 34px; left: 36px; letter-spacing: .16em; }

.section-grid, .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.info-card, .product-card, .form-card, .contact-card, .toolbar, .featured { border-radius: var(--radius-lg); padding: 24px; }
.icon { font-size: 2rem; }
.featured { margin-top: 24px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.page-title { padding: 40px 0 18px; max-width: 820px; }
.page-title h1 { font-size: clamp(2.2rem, 5vw, 4.8rem); }
.toolbar { display: flex; gap: 18px; align-items: end; margin-bottom: 22px; }
label { display: grid; gap: 8px; font-weight: 750; color: #364133; flex: 1; }
input, select, textarea {
  width: 100%; border: 1px solid var(--outline); border-radius: 14px; padding: 14px 15px;
  background: #fffdf9; font: inherit; color: var(--text); outline-color: var(--primary);
}
.product-card { position: relative; overflow: hidden; }
.product-visual { height: 180px; border-radius: 20px; background: linear-gradient(135deg, #d6f0d4, #eff8c9); margin-bottom: 18px; display:grid; place-items:center; font-size:3rem; }
.badge { position: absolute; top: 18px; left: 18px; background: #fff7d5; border-radius: 999px; padding: 7px 12px; font-weight: 800; font-size: .78rem; }
.price-row { display:flex; justify-content: space-between; align-items:center; gap: 12px; margin-top: 18px; }
.price { font-size: 1.25rem; font-weight: 850; }
.cart-drawer { width: min(380px, calc(100% - 32px)); margin: 0 auto 50px; border-radius: var(--radius-lg); padding: 22px; }
.cart-item { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--outline); }
.cart-total { display:flex; justify-content:space-between; }
.inquiry-layout { display:grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items:start; }
.form-card { display:grid; gap: 18px; }
.contact-card { position: sticky; top: 92px; }
.mini-map { height: 230px; border-radius: 22px; background: linear-gradient(135deg, #d6f0d4, #b8d7a5); display:grid; place-items:center; color:#23452a; font-weight:800; margin-top: 18px; }
.form-status { color: var(--primary); font-weight: 800; }
footer { text-align: center; padding: 30px 16px 44px; color: var(--muted); }

@media (max-width: 820px) {
  .app-bar { align-items: flex-start; flex-direction: column; }
  .hero, .inquiry-layout { grid-template-columns: 1fr; }
  .section-grid, .product-grid { grid-template-columns: 1fr; }
  .featured, .toolbar { flex-direction: column; align-items: stretch; }
  .hero-card { min-height: 340px; }
  .contact-card { position: static; }
}
