:root {
  --ink: #25211b;
  --muted: #686157;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --corn: #d99d2b;
  --leaf: #315f45;
  --field: #8b5e34;
  --line: #e7dfd2;
  --shadow: 0 18px 60px rgba(37, 33, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(231, 223, 210, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--leaf);
  border-radius: 7px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 42px);
}

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.cart-button,
.cart-head button,
.buy-row button,
.quote-form button,
.checkout-button,
.primary-action,
.secondary-action {
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 16px;
  color: #fff;
  background: var(--ink);
}

.cart-button strong {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  color: var(--ink);
  background: var(--corn);
  border-radius: 999px;
  font-size: 0.86rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 72px));
  align-items: center;
  overflow: hidden;
  background: #1f1b16;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(18, 15, 12, 0.82), rgba(18, 15, 12, 0.50) 46%, rgba(18, 15, 12, 0.08));
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 88px 0 126px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--corn);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 690px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 6vw, 5.9rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
}

.primary-action {
  color: #1d160c;
  background: var(--corn);
}

.secondary-action {
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  min-height: 116px;
  padding: 24px clamp(18px, 4vw, 44px);
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  max-width: 360px;
  margin-top: 6px;
  color: var(--muted);
}

.section,
.quality-band {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.intro,
.delivery,
.search-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}

.intro p,
.delivery p,
.search-section p,
.quality-band p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  width: min(860px, 100%);
  margin-bottom: 32px;
}

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

.product-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(37, 33, 27, 0.08);
}

.product-media {
  position: relative;
  height: clamp(220px, 28vw, 340px);
  overflow: hidden;
  background: #34291d;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transition: transform 220ms ease;
}

.product-media-alt img {
  transform: scale(1.08);
  object-position: center 66%;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-card:hover .product-media-alt img {
  transform: scale(1.12);
}

.product-media span {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(37, 33, 27, 0.76);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.product-body p {
  color: var(--muted);
}

.product-kicker {
  margin: 0;
  color: var(--leaf) !important;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.product-meta span {
  padding: 7px 10px;
  color: var(--field);
  background: #f7efe0;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
}

.buy-row strong {
  font-size: 1.55rem;
}

.buy-row button,
.quote-form button,
.checkout-button {
  padding: 0 18px;
  color: #fff;
  background: var(--leaf);
}

.quality-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(34px, 8vw, 96px);
  align-items: start;
  color: #fff;
  background: var(--leaf);
}

.quality-band .eyebrow {
  color: #f1c15d;
}

.quality-band p {
  color: rgba(255, 255, 255, 0.78);
}

.quality-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quality-list li {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.quality-list strong,
.quality-list span {
  display: block;
}

.quality-list span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(37, 33, 27, 0.08);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfaf6;
}

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

.order-summary p,
.payment-note,
.form-status {
  margin: 0;
  color: var(--muted);
}

.order-summary span {
  color: var(--ink);
  font-weight: 800;
}

.payment-note,
.form-status {
  font-size: 0.94rem;
  line-height: 1.5;
}

.checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  justify-items: end;
  background: rgba(37, 33, 27, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.cart-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: min(440px, 100%);
  height: 100%;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(20px);
  transition: transform 180ms ease;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-head h2 {
  margin: 0;
  font-size: 1.8rem;
}

.cart-head button {
  padding: 0 14px;
  color: var(--ink);
  background: #f1eadf;
}

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

.empty-cart {
  color: var(--muted);
}

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

.cart-line span,
.cart-line small {
  display: block;
}

.cart-line small {
  color: var(--muted);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.checkout-button {
  width: 100%;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

footer strong {
  color: #fff;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .trust-strip,
  .intro,
  .search-section,
  .product-grid,
  .quality-band,
  .delivery {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(18, 15, 12, 0.8), rgba(18, 15, 12, 0.42));
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 72px;
  }
}

@media (max-width: 540px) {
  .brand small,
  .cart-button span {
    display: none;
  }

  .site-header {
    min-height: 64px;
    gap: 12px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-bottom: 84px;
  }

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

  .primary-action,
  .secondary-action,
  .buy-row button {
    width: 100%;
  }

  .product-body,
  .quote-form,
  .cart-panel {
    padding: 18px;
  }
}
