:root {
  --paper: #fbfbf8;
  --surface: #ffffff;
  --ink: #20242a;
  --muted: #6a7076;
  --line: #dce2df;
  --sage: #496b5b;
  --sage-dark: #2f4c41;
  --clay: #b7674b;
  --rose: #f2ded9;
  --sky: #d9e7ee;
  --gold: #b89455;
  --shadow: 0 18px 40px rgba(32, 36, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
a {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 52px);
  background: rgba(251, 251, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.language-picker {
  display: inline-flex;
  align-items: center;
}

.language-picker select {
  height: 42px;
  min-width: 92px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  position: relative;
}

.header-actions .icon-button {
  margin-left: 0;
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

#cartCount {
  position: absolute;
  right: -5px;
  top: -5px;
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--clay);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
  min-height: calc(100vh - 148px);
  padding: clamp(30px, 6vw, 78px) clamp(16px, 4vw, 52px) 34px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.hero-copy p:not(.eyebrow) {
  color: var(--muted);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-proof span {
  padding: 7px 10px;
  border: 1px solid rgba(73, 107, 91, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 800;
}

.hero-intake {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.hero-intake div {
  min-height: 86px;
  padding: 13px;
  border: 1px solid rgba(73, 107, 91, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.hero-intake strong,
.buyer-strip strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  line-height: 1.15;
}

.hero-intake span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

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

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

.primary-link {
  border: 0;
  background: var(--sage);
  color: white;
}

.primary-link:hover {
  background: var(--sage-dark);
}

.primary-link:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.secondary-link,
.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.disabled-link {
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}

.mobile-quick-actions {
  display: none;
}

.hero-media {
  align-self: stretch;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buyer-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(16px, 4vw, 52px) 28px;
  background: var(--paper);
}

.buyer-strip article {
  display: grid;
  align-content: start;
  min-height: 120px;
  padding: 18px;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.buyer-strip article:first-child {
  border-left: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
}

.buyer-strip article:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 8px 8px 0;
}

.buyer-strip span {
  margin-bottom: 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
}

.buyer-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.business-section {
  padding: clamp(44px, 6vw, 82px) clamp(16px, 4vw, 52px);
  background: #ffffff;
  border-block: 1px solid var(--line);
}

.business-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(420px, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.business-copy {
  max-width: 520px;
}

.business-copy p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.business-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.business-facts div {
  min-height: 98px;
  padding: 14px;
  border: 1px solid rgba(73, 107, 91, 0.18);
  border-radius: 8px;
  background: #fbfbf8;
}

.business-facts .wide {
  grid-column: span 2;
}

.business-facts dt {
  margin-bottom: 8px;
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.business-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.business-facts a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-section,
.sample-section,
.wholesale-section,
.workflow-section,
.craft-section,
.payment-section {
  padding: clamp(48px, 7vw, 90px) clamp(16px, 4vw, 52px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  max-width: 1240px;
  margin: 0 auto 28px;
}

.section-heading .eyebrow,
.section-heading h2 {
  grid-column: 1;
}

.segmented-control {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.segmented-control {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.segmented-control button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.segmented-control button.active {
  background: var(--sage);
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.product-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.product-gallery button {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.product-gallery button.active {
  border-color: var(--clay);
  box-shadow: 0 0 0 2px rgba(166, 91, 54, 0.14);
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-missing {
  position: relative;
  background: #f3f2ec;
}

.image-missing img {
  opacity: 0;
}

.image-missing::after {
  content: "Image unavailable";
  position: absolute;
  inset: 10px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(73, 107, 91, 0.28);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.cart-line.image-missing::after {
  content: none;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
  padding: 18px;
}

.product-body > p {
  margin-bottom: 0;
}

.catalogue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.catalogue-tags span {
  padding: 6px 8px;
  border: 1px solid rgba(73, 107, 91, 0.18);
  border-radius: 6px;
  background: #fbfbf8;
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 800;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.product-meta p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.price {
  color: var(--clay);
  font-weight: 900;
  white-space: nowrap;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.product-specs {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: #f5f6f2;
}

.product-specs div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: start;
}

.product-specs dt {
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 900;
}

.product-specs dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.swatch {
  width: 28px;
  height: 28px;
  border: 2px solid transparent;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(32, 36, 42, 0.18);
  cursor: pointer;
}

.swatch.active {
  border-color: var(--ink);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 34px minmax(74px, 1fr) 34px;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.quantity-stepper button {
  height: 100%;
  border: 0;
  background: var(--surface);
  cursor: pointer;
}

.quantity-stepper input {
  width: 100%;
  height: 44px;
  border: 0;
  border-inline: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
  font-weight: 800;
}

.quantity-stepper input:focus {
  outline: 2px solid rgba(73, 107, 91, 0.28);
  outline-offset: -2px;
}

.add-button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--sage);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.add-button:hover {
  background: var(--sage-dark);
}

.sample-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--sage-dark);
  font-weight: 800;
  cursor: pointer;
}

.sample-button:hover {
  border-color: rgba(73, 107, 91, 0.38);
  background: #f7f7f2;
}

.section-note {
  max-width: 1240px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.section-note a {
  display: inline-flex;
  margin-left: 8px;
  color: var(--sage-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wholesale-section {
  background: #f7f7f2;
}

.wholesale-grid,
.workflow-track,
.payment-layout {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  gap: 18px;
}

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

.capability-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1240px;
  margin: 18px auto 0;
}

.capability-strip span {
  padding: 8px 10px;
  border: 1px solid rgba(73, 107, 91, 0.18);
  border-radius: 999px;
  background: var(--surface);
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 800;
}

.factory-check {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(420px, 1fr);
  gap: 18px;
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.factory-check > div:first-child p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

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

.factory-check-grid article {
  padding: 14px;
  border: 1px solid rgba(73, 107, 91, 0.16);
  border-radius: 8px;
  background: var(--surface);
}

.factory-check-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
}

.factory-check-grid strong {
  display: block;
  margin-bottom: 7px;
}

.factory-check-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.workflow-section {
  background: var(--surface);
}

.workflow-track {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.workflow-track article {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 250px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.workflow-track span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
}

.workflow-track p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.wholesale-grid article,
.payment-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.wholesale-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.wholesale-grid p,
.payment-layout p,
.payment-card li {
  color: var(--muted);
}

.payment-section {
  background: var(--surface);
}

.sample-section {
  background: var(--surface);
}

.payment-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: start;
}

.payment-layout > div:first-child {
  padding: 22px 0;
}

.payment-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--sage-dark);
}

.payment-card ol {
  margin: 0 0 18px;
  padding-left: 20px;
}

.sample-policy {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1fr);
  gap: 18px;
  max-width: 1240px;
  margin: 24px auto 0;
  align-items: stretch;
}

.sample-policy-head,
.sample-policy-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.sample-policy-head {
  padding: 22px;
}

.sample-policy-head p:not(.eyebrow) {
  color: var(--muted);
}

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

.sample-policy-grid article {
  padding: 18px;
}

.sample-policy-grid span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
}

.sample-policy-grid h4 {
  margin: 8px 0;
  font-size: 16px;
}

.sample-policy-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(420px, 1fr);
  gap: 18px;
  max-width: 1240px;
  margin: 24px auto 0;
  align-items: start;
}

.inquiry-checklist,
.inquiry-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.inquiry-checklist {
  padding: 22px;
}

.inquiry-checklist h3 {
  margin-bottom: 14px;
}

.inquiry-checklist ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  scroll-margin-top: 86px;
}

.inquiry-form.is-locked {
  border-color: rgba(73, 107, 91, 0.22);
  background: #fbfbf8;
}

.form-intro {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.inquiry-fields {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.inquiry-fields[disabled] {
  opacity: 1;
}

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

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 900;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.inquiry-form input,
.inquiry-form select {
  height: 44px;
  padding: 0 12px;
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 92px;
  padding: 12px;
}

.inquiry-fields[disabled] input,
.inquiry-fields[disabled] select,
.inquiry-fields[disabled] textarea {
  border-color: rgba(73, 107, 91, 0.16);
  background: #f4f7f2;
  color: var(--muted);
  cursor: not-allowed;
}

.inquiry-fields[disabled] .primary-link {
  background: #8c9b92;
  cursor: not-allowed;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: 2px solid rgba(73, 107, 91, 0.28);
  outline-offset: 1px;
}

.hidden-field {
  display: none;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 800;
  white-space: pre-line;
}

.form-fallback {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(73, 107, 91, 0.22);
  border-radius: 8px;
  background: #f4f7f2;
}

.form-fallback[hidden] {
  display: none;
}

.form-fallback p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.compliance-lock {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(73, 107, 91, 0.22);
  border-radius: 8px;
  background: #f4f7f2;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 800;
}

.compliance-lock[hidden] {
  display: none;
}

.compliance-lock + .hidden-field {
  margin-top: -8px;
}

.legal-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

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

.legal-form .wide {
  grid-column: 1 / -1;
}

.legal-form label {
  display: grid;
  gap: 7px;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 900;
}

.legal-form input,
.legal-form select,
.legal-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.legal-form input,
.legal-form select {
  height: 44px;
  padding: 0 12px;
}

.legal-form textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.form-consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--sage);
}

.form-consent a,
.site-footer a,
.site-footer button {
  color: var(--sage-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 28px clamp(16px, 4vw, 52px);
  border-top: 1px solid var(--line);
  background: #f7f7f2;
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
}

.site-footer p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer .footer-legal {
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: flex-end;
}

.site-footer button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.privacy-banner {
  position: fixed;
  left: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.privacy-banner[hidden],
.privacy-modal[hidden] {
  display: none;
}

.privacy-banner strong,
.privacy-dialog h2 {
  color: var(--ink);
}

.privacy-banner p,
.privacy-dialog p,
.privacy-toggle small {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.privacy-actions .primary-link,
.privacy-actions .secondary-button {
  min-height: 40px;
  padding: 9px 13px;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(32, 36, 42, 0.48);
}

.privacy-dialog {
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  padding: 22px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.privacy-dialog h2 {
  margin-bottom: 8px;
}

.privacy-toggle {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.privacy-toggle input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--sage);
}

.legal-page {
  background: var(--paper);
}

.legal-main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) 0;
}

.legal-main h1 {
  font-size: clamp(36px, 4vw, 54px);
}

.legal-main section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

.legal-main a {
  color: var(--sage-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sage-dark);
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.legal-meta {
  color: var(--sage-dark);
  font-weight: 900;
}

.craft-section {
  background: #f1f4ef;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.craft-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.craft-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--clay);
  font-weight: 900;
}

.craft-grid p {
  color: var(--muted);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: flex-end;
  background: rgba(32, 36, 42, 0.42);
}

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

.cart-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(420px, 100%);
  height: 100%;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cart-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-top h2 {
  margin-bottom: 0;
}

.cart-items {
  overflow: auto;
  padding: 16px 22px;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-line p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.remove-line {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.cart-empty {
  padding: 34px 0;
  color: var(--muted);
}

.cart-summary {
  display: grid;
  gap: 12px;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}

.full {
  width: 100%;
}

.secondary-button {
  border: 1px solid var(--line);
}

.cart-status {
  min-height: 20px;
  margin: 0;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 800;
}

.cart-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .hero-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .section-heading,
  .buyer-strip,
  .business-layout,
  .business-facts,
  .product-grid,
  .wholesale-grid,
  .factory-check,
  .factory-check-grid,
  .workflow-track,
  .payment-layout,
  .sample-policy,
  .sample-policy-grid,
  .inquiry-layout,
  .form-grid,
  .craft-grid {
    grid-template-columns: 1fr;
  }

  .buyer-strip {
    gap: 0;
  }

  .buyer-strip article,
  .buyer-strip article:first-child,
  .buyer-strip article:last-child {
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 0;
  }

  .buyer-strip article:first-child {
    border-radius: 8px 8px 0 0;
  }

  .buyer-strip article:last-child {
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
  }

  .segmented-control {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}

@media (max-width: 520px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .site-header {
    min-height: 64px;
    padding-inline: 14px;
  }

  .brand {
    font-size: 14px;
  }

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

  .header-actions {
    gap: 8px;
  }

  .language-picker select {
    min-width: 78px;
    padding-inline: 10px 28px;
  }

  .hero,
  .shop-section,
  .business-section,
  .sample-section,
  .wholesale-section,
  .workflow-section,
  .craft-section,
  .payment-section {
    padding-inline: 14px;
  }

  .factory-check {
    padding: 14px;
  }

  .factory-check-grid article {
    padding: 12px;
  }

  .hero {
    gap: 18px;
    padding-block: 16px 24px;
  }

  h1 {
    font-size: 32px;
    margin-bottom: 14px;
  }

  h2 {
    font-size: 28px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .hero-copy p:not(.eyebrow) {
    margin-bottom: 0;
  }

  .hero-proof {
    margin-top: 16px;
  }

  .hero-proof span {
    padding: 6px 9px;
    font-size: 12px;
  }

  .hero-intake {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 14px;
  }

  .hero-intake div {
    min-height: 44px;
    padding: 9px;
  }

  .hero-intake strong {
    margin-bottom: 2px;
    font-size: 13px;
  }

  .hero-intake span {
    display: none;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 16px;
  }

  .primary-link,
  .secondary-link,
  .secondary-button {
    min-height: 40px;
    padding: 10px 14px;
  }

  .hero-media {
    aspect-ratio: 3.1 / 1;
    box-shadow: 0 12px 28px rgba(32, 36, 42, 0.1);
  }

  .shop-section,
  .business-section,
  .sample-section,
  .wholesale-section,
  .workflow-section,
  .craft-section,
  .payment-section {
    padding-block: 42px;
  }

  .business-facts .wide {
    grid-column: auto;
  }

  .business-facts div {
    min-height: 0;
    padding: 12px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 18px;
  }

  .hero-actions,
  .segmented-control {
    width: 100%;
  }

  .hero-actions a {
    flex: 1 1 auto;
  }

  .segmented-control {
    flex-wrap: nowrap;
    justify-self: stretch;
  }

  .segmented-control button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 8px;
    font-size: 14px;
  }

  .product-grid {
    gap: 14px;
  }

  .product-image {
    aspect-ratio: 16 / 10;
    background: #fff;
  }

  .product-image img {
    object-fit: contain;
  }

  .product-gallery {
    grid-template-columns: repeat(4, minmax(58px, 70px));
    justify-content: start;
    gap: 7px;
    padding: 8px;
    overflow-x: auto;
  }

  .product-body {
    gap: 10px;
    min-height: 0;
    padding: 13px;
  }

  .product-body > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 15px;
  }

  .catalogue-tags {
    display: none;
  }

  .product-specs {
    gap: 6px;
    padding: 9px;
  }

  .product-specs div {
    grid-template-columns: 68px 1fr;
  }

  .product-specs div:nth-child(n + 3) {
    display: none;
  }

  .catalogue-tags span {
    padding: 5px 7px;
    font-size: 11px;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .card-actions .quantity-stepper {
    order: 1;
  }

  .card-actions .add-button {
    order: 2;
  }

  .card-actions .sample-button {
    order: 3;
  }

  .workflow-track,
  .inquiry-layout,
  .form-grid,
  .legal-form-grid {
    grid-template-columns: 1fr;
  }

  .quantity-stepper {
    grid-template-columns: 44px 1fr 44px;
  }

  .mobile-quick-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(251, 251, 248, 0.94);
    backdrop-filter: blur(16px);
  }

  .mobile-quick-actions a,
  .mobile-quick-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
  }

  .mobile-quick-actions .mobile-primary-action {
    border-color: var(--sage);
    background: var(--sage);
    color: white;
  }

  body.has-inquiry-items .mobile-quick-actions .mobile-primary-action {
    border-color: var(--line);
    background: var(--surface);
    color: var(--ink);
  }

  body.has-inquiry-items .mobile-quick-actions a[href="#payment"] {
    border-color: var(--sage);
    background: var(--sage);
    color: white;
  }

  .mobile-cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--clay);
    color: white;
    font-size: 11px;
    line-height: 1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 90px;
  }

  .site-footer nav,
  .privacy-actions {
    justify-content: flex-start;
  }

  .privacy-banner {
    bottom: calc(72px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .privacy-banner p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 11px;
    line-height: 1.25;
  }

  .privacy-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .privacy-actions .primary-link,
  .privacy-actions .secondary-button {
    min-height: 34px;
    padding: 8px 7px;
    font-size: 12px;
  }
}
