:root {
  color-scheme: light;
  --ink: #16201d;
  --muted: #66736d;
  --line: #d9e2dc;
  --paper: #fbfcfa;
  --panel: #ffffff;
  --mint: #dff5e8;
  --mint-strong: #2f8a5d;
  --coral: #ef765f;
  --amber: #f3b650;
  --blue: #4c7fd9;
  --shadow: 0 18px 48px rgba(22, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 44px);
  border-bottom: 1px solid rgba(217, 226, 220, 0.86);
  background: rgba(251, 252, 250, 0.9);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.cart-pill,
.hero-actions,
.product-toolbar,
.field-row,
.drawer-header,
.summary-line,
.order-summary div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
}

.nav {
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.cart-pill {
  justify-self: end;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}

.cart-pill strong {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 7px;
  background: var(--mint);
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: clamp(28px, 5vw, 68px) clamp(16px, 4vw, 44px) 36px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--mint-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: 0;
}

.intro,
.checkout-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.primary-action {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.secondary-action,
.ghost-action {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.store-shell {
  display: grid;
  grid-template-columns: minmax(230px, 300px) 1fr;
  gap: 24px;
  padding: 26px clamp(16px, 4vw, 44px) 54px;
}

.filters,
.checkout-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(22, 32, 29, 0.07);
}

.filters {
  position: sticky;
  top: 86px;
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 20px;
}

.filter-group,
.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

.trust-panel {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--muted);
  line-height: 1.5;
}

.trust-panel strong {
  color: var(--ink);
}

.product-area {
  min-width: 0;
}

.product-toolbar {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.product-toolbar p {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(22, 32, 29, 0.06);
}

.product-visual {
  overflow: hidden;
  display: flex;
  min-height: 178px;
  border-radius: 8px;
  background: #eef3ef;
}

.product-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-meta {
  display: grid;
  gap: 8px;
}

.product-meta h3 {
  margin: 0;
  font-size: 18px;
}

.product-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 20px;
  font-weight: 900;
}

.add-button,
.qty-button,
.icon-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  cursor: pointer;
}

.add-button {
  min-height: 40px;
  padding: 0 14px;
  font-weight: 800;
}

.checkout-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(22px, 4vw, 52px);
  padding: 40px clamp(16px, 4vw, 44px) 70px;
  background: #eef5f1;
}

.checkout-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
}

.field-row {
  gap: 14px;
}

.field-row label {
  flex: 1 1 0;
}

.order-summary {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.order-summary div {
  justify-content: space-between;
}

.summary-total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 20px;
}

.full-width {
  width: 100%;
}

.order-message {
  min-height: 24px;
  margin: 0;
  color: var(--mint-strong);
  font-weight: 800;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: end;
  background: rgba(22, 32, 29, 0.34);
}

.cart-drawer.is-open {
  display: flex;
}

.drawer-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(440px, 100%);
  height: 100%;
  padding: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.drawer-header {
  justify-content: space-between;
  gap: 16px;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  font-size: 18px;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 14px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-button {
  width: 32px;
  height: 32px;
}

.drawer-footer {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.summary-line {
  justify-content: space-between;
  font-size: 20px;
}

@media (max-width: 960px) {
  .hero,
  .store-shell,
  .checkout-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .filters {
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero-actions,
  .field-row,
  .product-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}
