:root {
  --ink: #17201d;
  --muted: #68726e;
  --line: #dce1dc;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --green: #244c3b;
  --sage: #7d8d77;
  --gold: #b78335;
  --blue: #2d6278;
  --red: #a44634;
  --shadow: 0 24px 70px rgba(18, 32, 29, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 12px 28px;
  background: rgba(251, 250, 247, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand, nav, .hero-actions, .metric-strip, footer, .section-head, .shop-controls, .status-flow, .tracking-line, .swatches, .size-row, .card-bottom {
  display: flex;
  align-items: center;
}

.brand { gap: 10px; font-weight: 900; }
.brand img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
nav { justify-content: center; gap: 8px; }
nav a, .icon-button, .theme-toggle {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
}
nav a.active, nav a:hover, .icon-button[aria-pressed="true"], .theme-toggle[aria-pressed="true"] {
  color: var(--green);
  border-color: var(--line);
  background: white;
}

.page { display: none; }
.page.active { display: block; }

.hero {
  min-height: calc(100vh - 65px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 290px;
  align-items: end;
  gap: 28px;
  padding: 74px 5vw 38px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 24, 22, .88), rgba(16, 24, 22, .56) 58%, rgba(16, 24, 22, .18));
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { max-width: 820px; color: white; padding-bottom: 52px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(48px, 8vw, 104px); line-height: .9; margin-bottom: 20px; letter-spacing: 0; }
h2 { font-size: clamp(28px, 4vw, 52px); line-height: 1.02; margin-bottom: 14px; letter-spacing: 0; }
h3 { font-size: 18px; margin-bottom: 8px; }
.hero-copy p:not(.eyebrow), .shop-hero p, .builder-intro p, .about-hero p, .dashboard-page p {
  color: rgba(255,255,255,.78);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.42;
}
.hero-actions { gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.button {
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 11px 16px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.button.primary { color: white; background: var(--green); border-color: var(--green); } .top-actions { display: flex; align-items: center; gap: 10px; } .theme-toggle { font-weight: 900; }
.button.secondary { color: var(--ink); background: white; border-color: var(--line); }

.hero-slip, .sticky-slip, .builder-card, .dash-shell, .proof-card, .product-card, .bale-card, .faq article, .policy-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(18, 32, 29, .08);
}
.hero-slip {
  color: white;
  background: rgba(23, 32, 29, .82);
  border-color: rgba(255,255,255,.22);
  display: grid;
  gap: 8px;
  padding: 18px;
  margin-bottom: 52px;
}
.hero-slip span, .slip-row span, .totals span, .dash-cards span, .product-meta, .locked-note, .bale-card span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
}
.hero-slip span { color: rgba(255,255,255,.66); }
.hero-slip strong { font-size: 20px; }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: #eef2eb;
}
.metric-strip div { padding: 26px 5vw; border-right: 1px solid var(--line); }
.metric-strip strong { display: block; color: var(--green); font-size: 30px; }
.metric-strip span { color: var(--muted); }

.section, .shop-hero, .builder-page, .about-hero, .dashboard-page {
  padding: 78px 5vw;
}
.section-head {
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}
.section-head.tight { margin-bottom: 18px; }
.section-head h2 { max-width: 920px; }

.bale-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bale-grid.compact .bale-card:nth-child(n+7) { display: none; }
.bale-card { padding: 18px; }
.bale-card strong { display: block; font-size: 18px; margin: 8px 0; }
.bale-card p, .faq p, .policy-grid p, .sticky-slip p, .product-card p, .proof-card p { color: var(--muted); line-height: 1.55; }
.bale-price { color: var(--green); font-weight: 900; }

.video-band {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: center;
  padding: 78px 5vw;
  background: var(--green);
  color: white;
}
.video-band p { color: rgba(255,255,255,.75); line-height: 1.55; }
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
video { width: 100%; border-radius: 8px; background: #000; }

.ad-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 28px 5vw;
  background: #f2f5f1;
}
.ad-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.faq-grid, .policy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.faq article, .policy-grid article { padding: 18px; }

.shop-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(36, 76, 59, .05), rgba(183, 131, 53, .09));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.shop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(183, 131, 53, .16), transparent 38%);
  pointer-events: none;
}
.shop-hero > * { position: relative; z-index: 1; }
.shop-hero h1, .builder-page h1, .about-hero h1, .dashboard-page h1 { color: var(--ink); font-size: clamp(42px, 6vw, 78px); }
.shop-hero p, .builder-intro p, .about-hero p, .dashboard-page p { color: var(--muted); }
.shop-controls { gap: 10px; }
.shop-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.shop-badge-row .hero-pill,
.builder-intro-badges .hero-pill {
  color: var(--green);
  background: rgba(255,255,255,.8);
  border-color: var(--line);
}
select, input, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 5vw 78px;
}
.sticky-slip {
  position: sticky;
  top: 88px;
  padding: 18px;
}
.sticky-slip .button { width: 100%; margin: 12px 0; }
.slip-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--green);
  background: white;
  font-weight: 900;
}

.shop-hint {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 18px;
}

.shop-category-accordion {
  display: grid;
  gap: 12px;
}
.category-accordion-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}
.category-accordion-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  font-weight: 900;
  color: var(--ink);
}
.category-accordion-item summary::-webkit-details-marker { display: none; }
.category-accordion-item summary::before {
  content: "+";
  font-size: 20px;
  font-weight: 900;
  color: var(--gold);
  margin-right: 8px;
  transition: transform .2s ease;
}
.category-accordion-item[open] summary::before {
  content: "\2212";
}
.category-accordion-label {
  flex: 1;
  font-size: 17px;
}
.category-accordion-count {
  font-size: 12px;
}
.category-accordion-item .catalog-grid {
  padding: 4px 20px 22px;
}
.category-accordion-item .catalog-grid:empty::after {
  content: "Loading garments…";
  color: var(--muted);
  font-size: 13px;
  padding: 12px 0;
  display: block;
}
.empty-state {
  color: var(--muted);
  padding: 24px 4px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  overflow: hidden;
  cursor: pointer;
  transition: all .25s ease;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(18, 32, 29, .16);
  transform: translateY(-2px);
}
.product-card.selected {
  outline: 3px solid var(--gold);
  outline-offset: 0;
}
.product-card.expanded {
  box-shadow: 0 10px 24px rgba(18, 32, 29, .12);
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  background: #edf0eb;
}
.placeholder {
  width: 100%;
  aspect-ratio: 1 / 1.14;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(45deg, #eff2ed, #eff2ed 12px, #e5eae3 12px, #e5eae3 24px);
  color: var(--green);
  font-weight: 900;
}
.product-body { padding: 14px; display: grid; gap: 10px; }
.product-body h3 { min-height: 44px; }
.product-meta, .choice-label, .product-body .product-meta ~ *, .card-bottom {
  display: none;
}
.product-body p {
  display: none;
}
.product-card-basic {
  display: block;
}
.product-card-basic h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.3;
}
.product-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.product-card-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f2f5f1;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.product-price-brief {
  display: block;
  color: var(--green);
  font-weight: 900;
  font-size: 15px;
}
.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-card-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f7f8f4;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.product-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-card-action {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.product-card-action.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.product-card-extra {
  display: none;
  padding: 10px;
  border-radius: 8px;
  background: #f2f5f1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.product-card.expanded .product-card-extra {
  display: block;
}
.choice-label {
  display: block;
  margin: 12px 0 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.swatches, .size-row, .card-bottom {
  gap: 7px;
  flex-wrap: wrap;
}
.swatch {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}
.swatch.active, .team-dot.active, .size-pill.active, .style-pill.active {
  box-shadow: 0 0 0 3px rgba(183, 131, 53, .35), 0 0 0 1px var(--gold);
  border-color: var(--gold);
}
.team-dot {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.size-pill, .style-pill {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 9px;
  color: var(--ink);
  background: white;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.style-pill { min-width: 86px; }
.mini-qty { margin-top: 12px; }
.card-bottom {
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.card-bottom .button { min-height: 36px; padding: 8px 12px; }
.product-spec {
  margin-top: 10px;
  padding: 10px;
  border-radius: 6px;
  background: #f2f5f1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
body:not(.verified) .product-spec, body:not(.verified) .price-lock { display: none; }
.locked-note { margin-bottom: 0; }

.builder-page {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 36px;
  align-items: start;
}
.builder-intro {
  display: grid;
  gap: 14px;
}
.builder-intro-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(36, 76, 59, .04), rgba(183, 131, 53, .06));
  box-shadow: var(--shadow);
}
.builder-intro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.builder-side-stack {
  display: grid;
  gap: 16px;
}
.builder-summary-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(36, 76, 59, .04), rgba(183, 131, 53, .06));
  box-shadow: var(--shadow);
}
.builder-summary-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.builder-summary-head h3 { margin-bottom: 0; }
.builder-progress {
  display: grid;
  gap: 10px;
}
.builder-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(36, 76, 59, .16);
  overflow: hidden;
}
.builder-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transition: width .25s ease;
}
.builder-progress-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.builder-progress-meta div {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.7);
}
.builder-progress-meta span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
}
.builder-progress-meta strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
}
.builder-summary-note {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.rule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.rule-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  margin-right: 10px;
}
.builder-card {
  padding: 22px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
}
.order-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 18px;
  align-items: start;
}
.bet-slip {
  display: grid;
  gap: 10px;
}
.empty-state {
  margin: 0;
  color: var(--muted);
}
.bet-row {
  display: grid;
  grid-template-columns: 1fr 96px 34px;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8faf7;
}
.bet-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.bet-row button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
  background: white;
  cursor: pointer;
}
.slip-qty {
  gap: 3px;
  font-size: 11px;
}
.slip-qty input {
  min-height: 34px;
  padding: 4px 6px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}
input[type="range"] { padding: 0; accent-color: var(--green); }
output { color: var(--green); float: right; }
.totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.totals div, .dash-cards article {
  padding: 14px;
  border-radius: 7px;
  background: #f2f5f1;
}
.totals strong, .dash-cards strong { display: block; color: var(--green); font-size: 23px; margin-top: 7px; }

.about-hero {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 34px;
  align-items: center;
  background: #f0f2ee;
}
.about-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.proof-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px;
  margin-bottom: 18px;
}
.proof-card img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #f1f3ef;
  border-radius: 6px;
}
.policy-grid { grid-template-columns: repeat(3, 1fr); }
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.certificate-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: white;
  box-shadow: 0 12px 34px rgba(18, 32, 29, .08);
  cursor: pointer;
  text-align: left;
}
.certificate-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f1f3ef;
  border-radius: 6px;
}
.certificate-card span {
  display: block;
  margin-top: 10px;
  font-weight: 900;
}
.cert-modal {
  width: min(900px, 92vw);
  border: 0;
  border-radius: 8px;
  padding: 22px;
}
.cert-modal::backdrop { background: rgba(0,0,0,.55); }
.cert-modal button {
  float: right;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}
.cert-modal img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #f1f3ef;
  margin-bottom: 14px;
}

.dashboard-page { background: #e9eee8; }
.dash-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  overflow: hidden;
  margin-top: 26px;
}
.dash-shell aside {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  padding: 14px;
  background: var(--ink);
  overflow-x: auto;
}
.dash-shell aside button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  padding: 11px 12px;
  text-align: center;
  color: rgba(255,255,255,.72);
  background: transparent;
  white-space: nowrap;
}
.dash-shell aside button.active { color: white; background: rgba(255,255,255,.12); }
.dash-main { padding: 22px; }
.status-flow, .tracking-line { gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.status-flow span, .tracking-line span {
  padding: 9px 11px;
  border-radius: 999px;
  background: #edf1ec;
  color: var(--muted);
  font-size: 13px;
}
.status-flow .done, .tracking-line .done { background: var(--green); color: white; }
.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px 5vw;
  color: var(--muted);
  background: #f2f0ea;
}
footer strong { color: var(--ink); }

@media (max-width: 1080px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-grid, .dash-cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .category-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .builder-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow-arrow { display: none; }
}

@media (max-width: 860px) {
  .topbar { grid-template-columns: 1fr auto; }
  .top-actions { grid-column: 2; grid-row: 1; }
  nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }
  .hero, .shop-hero, .shop-layout, .builder-page, .about-hero, .proof-card, .dash-shell, .video-band, .order-grid, .trust-layout, .contact-modal-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero-media { grid-template-columns: 1fr; }
  .hero-media img:nth-child(n+2) { display: none; }
  .hero-copy, .hero-slip { padding-bottom: 0; margin-bottom: 0; }
  .metric-strip, .bale-grid, .catalog-grid, .policy-grid, .video-grid, .totals, .ad-strip, .certificate-grid, .contact-links, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-slip { position: static; }
  .builder-page { gap: 24px; }
  .builder-intro .rule-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .topbar { padding: 12px 16px; }
  .brand span { display: none; }
  .section, .shop-hero, .builder-page, .about-hero, .dashboard-page, .shop-layout, .video-band { padding-inline: 18px; }
  .metric-strip, .bale-grid, .faq-grid, .policy-grid, .video-grid, .totals, .dash-cards, .ad-strip, .certificate-grid, .contact-links, .feature-grid, .category-grid, .trust-grid, .builder-flow, .testimonial-grid { grid-template-columns: 1fr; }
  .section-head, footer { align-items: flex-start; flex-direction: column; }
  .shop-controls { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .contact-modal-shell { padding: 18px; }
  .sticky-slip { position: sticky; top: 12px; z-index: 40; }
  .builder-intro-panel { padding: 18px; }
  .builder-card { padding: 18px; }
  .builder-progress-meta { grid-template-columns: 1fr; }
  .cta-card { flex-direction: column; align-items: flex-start; }
}

.section-alt {
  background: #f4f6f0;
}
.feature-grid,
.category-grid,
.trust-grid,
.faq-grid,
.contact-links,
.testimonial-grid {
  display: grid;
  gap: 16px;
}
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feature-card,
.category-card,
.trust-card,
.faq-card,
.contact-chip,
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(18, 32, 29, .08);
}
.feature-card,
.category-card,
.trust-card,
.faq-card,
.testimonial-card {
  padding: 20px;
}
.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.category-card {
  overflow: hidden;
  padding: 0;
}
.category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.category-card div {
  padding: 18px 18px 20px;
}
.bale-card {
  display: grid;
  gap: 14px;
  padding: 0;
  overflow: hidden;
}
.bale-card-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.bale-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.bale-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bale-meta div {
  padding: 10px;
  border-radius: 8px;
  background: #f2f5f1;
}
.bale-meta span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
}
.bale-meta strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 15px;
}
.bale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.builder-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
}
.flow-step {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  text-align: center;
  font-weight: 900;
  color: var(--green);
}
.flow-arrow {
  text-align: center;
  font-size: 20px;
  color: var(--gold);
  font-weight: 900;
}
.trust-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  align-items: start;
}
.trust-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.story-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(18, 32, 29, .08);
}
.story-card-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  align-items: start;
}
.story-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.success-band {
  background: linear-gradient(135deg, rgba(36, 76, 59, .96), rgba(45, 98, 120, .94));
  color: white;
}
.success-band .eyebrow,
.success-band p,
.success-band h2 {
  color: inherit;
}
.success-intro {
  max-width: 760px;
}
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.faq-accordion {
  display: grid;
  gap: 12px;
}
.faq-card {
  padding: 18px 20px;
}
.faq-card summary, .proof-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-weight: 900;
}
.proof-card summary::-webkit-details-marker, .faq-card summary::-webkit-details-marker { display: none; }
.proof-card details[open] summary, .faq-card details[open] summary { box-shadow: 0 8px 20px rgba(18,32,29,.06); }
.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  color: var(--ink);
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card p {
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.65;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.testimonial-card {
  padding: 20px;
}
.testimonial-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.testimonial-card span {
  display: block;
  color: var(--muted);
  margin-top: 8px;
  font-size: 13px;
}
.contact-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.contact-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 14px;
  font-weight: 900;
  color: var(--green);
}

.text-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--green);
  font-weight: 900;
  cursor: pointer;
}
.contact-modal {
  border: 0;
  padding: 0;
  width: min(900px, calc(100vw - 24px));
  border-radius: 16px;
  background: transparent;
}
.contact-modal::backdrop { background: rgba(7, 12, 10, .72); }
.contact-modal-shell {
  padding: 24px;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.contact-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.contact-modal-head button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  font-size: 22px;
  cursor: pointer;
}
.contact-modal-grid {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 20px;
}
.contact-modal-links {
  display: grid;
  gap: 10px;
}
.contact-form {
  display: grid;
  gap: 12px;
}
.contact-form label {
  display: grid;
  gap: 7px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
}

/* Premium home experience polish */
.hero-shell {
  min-height: calc(100vh - 70px);
  grid-template-columns: 1.1fr 320px;
  align-items: end;
}
.hero-shell .hero-copy { max-width: 780px; padding-bottom: 0; }
.hero-copy h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.3rem);
  line-height: 1.08;
  max-width: 760px;
}
.hero-copy > p {
  max-width: 640px;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.7;
}
.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.14);
  color: white;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.benefit-accordion,
.verification-stack,
.payment-accordions {
  display: grid;
  gap: 12px;
}
.benefit-card,
.doc-card,
.video-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(18, 32, 29, .08);
  padding: 18px 20px;
}
.benefit-card summary,
.doc-card summary,
.video-card summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 900;
  color: var(--ink);
}
.benefit-card summary::-webkit-details-marker,
.doc-card summary::-webkit-details-marker,
.video-card summary::-webkit-details-marker {
  display: none;
}
.benefit-card p,
.doc-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 10px 0 0;
}
.benefit-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f2f5f1;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.workflow-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.workflow-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(18, 32, 29, .08);
  display: grid;
  gap: 8px;
}
.workflow-step {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.premium-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.video-card video {
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
  background: #000;
}
.cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(36, 76, 59, .96), rgba(45, 98, 120, .94));
  color: white;
  box-shadow: var(--shadow);
}
.cta-card .eyebrow { color: #f6c978; }
.testimonial-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 620px) {
  .testimonial-stack {
    grid-template-columns: 1fr;
  }
  .story-card-grid {
    grid-template-columns: 1fr;
  }
}
.payment-accordions .payment-method-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(18, 32, 29, .08);
  padding: 16px;
}
.payment-accordions .payment-method-group-title {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--ink);
}
.payment-accordions .payment-methods-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}
.payment-accordions .payment-method-card {
  background: #f5f2ea;
  color: var(--ink);
  min-height: 118px;
}
.payment-accordions .payment-method-card.text-only {
  min-height: 64px;
  justify-content: center;
  padding: 12px 14px;
}
.payment-accordions .payment-method-card.text-only .payment-card-name {
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}
.payment-accordions .payment-card-name {
  color: var(--ink);
}
.contact-success-toast {
  background: rgba(36, 76, 59, .95);
  color: white;
  border-left-color: transparent;
}

/* Launch refinements: theme switch, dark mode, compact team logos */
body[data-theme="dark"] {
  --ink: #f5f1e8;
  --muted: #b7b0a2;
  --line: #3d3830;
  --paper: #14120f;
  --panel: #1f1b17;
  --green: #f08a24;
  --sage: #8c7157;
  --gold: #ffb45c;
  --blue: #d4873d;
  --red: #ff7c5e;
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
}
body[data-theme="dark"] .topbar { background: rgba(20, 18, 15, .94); }
body[data-theme="dark"] .shop-hero,
body[data-theme="dark"] .dashboard-page,
body[data-theme="dark"] .about-hero,
body[data-theme="dark"] .metric-strip,
body[data-theme="dark"] .ad-strip,
body[data-theme="dark"] .section-alt,
body[data-theme="dark"] footer { background: #181510; }
body[data-theme="dark"] select,
body[data-theme="dark"] input,
body[data-theme="dark"] textarea,
body[data-theme="dark"] .button.secondary,
body[data-theme="dark"] .pill,
body[data-theme="dark"] .size-pill,
body[data-theme="dark"] .style-pill,
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .bet-row button,
body[data-theme="dark"] .certificate-card,
body[data-theme="dark"] .contact-modal-shell,
body[data-theme="dark"] .feature-card,
body[data-theme="dark"] .category-card,
body[data-theme="dark"] .trust-card,
body[data-theme="dark"] .faq-card,
body[data-theme="dark"] .testimonial-card,
body[data-theme="dark"] .story-card { background: #231f19; color: var(--ink); }
body[data-theme="dark"] .totals div,
body[data-theme="dark"] .bet-row,
body[data-theme="dark"] .product-spec { background: #28231c; }
body[data-theme="dark"] .hero-slip,
body[data-theme="dark"] .button.primary,
body[data-theme="dark"] .button.secondary,
body[data-theme="dark"] .contact-chip { box-shadow: 0 10px 24px rgba(0, 0, 0, .24); }
body[data-theme="dark"] .hero-slip { background: rgba(19, 16, 13, .94); }
body[data-theme="dark"] .eyebrow { color: #ffb45c; }
body[data-theme="dark"] .text-link { color: #ffb45c; }
body[data-theme="dark"] nav a.active,
body[data-theme="dark"] nav a:hover,
body[data-theme="dark"] .icon-button[aria-pressed="true"],
body[data-theme="dark"] .theme-toggle[aria-pressed="true"],
body[data-theme="dark"] .product-card-action,
body[data-theme="dark"] .contact-modal-head button,
body[data-theme="dark"] .cert-modal button,
body[data-theme="dark"] .team-dot {
  background: #231f19;
  color: var(--ink);
  border-color: var(--line);
}
body[data-theme="dark"] .product-card-action.primary {
  background: var(--green);
  color: #1a1208;
}
.top-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { font-weight: 900; }
.logo-dot.team-dot {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  padding: 2px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.logo-dot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
.logo-dot span { display: none; }
@media (max-width: 860px) {
  .top-actions { grid-column: 2; grid-row: 1; }
}

/* Professional order success confirmation */
.success-modal {
  width: min(760px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  color: var(--ink);
}
.success-modal::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); }
.success-panel {
  padding: clamp(24px, 5vw, 46px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.success-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 38px;
  font-weight: 900;
  animation: successPop .55s ease both;
}
.success-panel h2 {
  font-size: clamp(30px, 5vw, 48px);
  margin-bottom: 14px;
}
.success-panel p { color: var(--muted); line-height: 1.65; }
.success-steps {
  list-style: none;
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 14px 0 20px;
}
.success-steps li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  color: var(--ink);
  line-height: 1.45;
}
.success-steps li::before {
  content: "\\2713";
  color: var(--green);
  font-weight: 900;
}
.success-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.success-actions .button { min-width: 190px; }
button:disabled {
  cursor: not-allowed;
  opacity: .62;
}
@keyframes successPop {
  0% { transform: scale(.72); opacity: 0; }
  70% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@media (max-width: 560px) {
  .success-actions .button { width: 100%; }
}

/* Floating bale cart */
body.cart-open { overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.floating-cart {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  gap: 0;
  color: white;
  background: var(--green);
  box-shadow: var(--shadow);
  cursor: pointer;
  transform: translateY(24px) scale(.88);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}
.floating-cart.visible { transform: translateY(0) scale(1); opacity: 1; }
.floating-cart span { font-size: 24px; line-height: 1; }
.floating-cart strong {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 2px solid var(--panel);
  border-radius: 999px;
  background: var(--gold);
  color: white;
  font-size: 12px;
}
.cart-toast {
  position: fixed;
  right: 22px;
  bottom: 98px;
  z-index: 91;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-weight: 900;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}
.cart-toast.show { opacity: 1; transform: translateY(0); }
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(0, 0, 0, .48);
  color: var(--ink);
}
.cart-overlay.open { display: block; }
.cart-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
}
.cart-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 5vw;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.cart-head h2 { margin: 0; font-size: clamp(22px, 4vw, 34px); }
.cart-head button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.cart-head button:first-child { justify-self: start; }
.cart-head button:last-child { justify-self: end; }
.cart-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 18px;
  padding: 22px 5vw 150px;
  overflow: auto;
}
.cart-items { display: grid; gap: 12px; }
.cart-item-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(18, 32, 29, .08);
}
.cart-item-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: #edf0eb;
}
.cart-item-main { display: grid; gap: 10px; }
.cart-item-main strong { display: block; font-size: 17px; }
.cart-item-main span,
.cart-item-main small { display: block; color: var(--muted); line-height: 1.45; }
.cart-item-meta { display: flex; gap: 10px; flex-wrap: wrap; font-weight: 900; color: var(--green); }
.cart-qty-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cart-qty-controls button,
.cart-qty-controls input {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  text-align: center;
  font-weight: 900;
}
.cart-qty-controls input { width: 86px; }
.cart-qty-controls .cart-remove { color: var(--red); margin-left: auto; }
.cart-checkout-panel { display: grid; gap: 14px; align-content: start; }
.cart-summary {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr)) auto;
  gap: 8px;
  align-items: center;
  padding: 12px 5vw;
  border-top: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 -18px 45px rgba(18, 32, 29, .11);
}
.cart-summary div { min-width: 0; }
.cart-summary span { display: block; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.cart-summary strong { display: block; color: var(--green); font-size: 18px; }
.cart-submit { background: #f08a24 !important; border-color: #f08a24 !important; min-width: 160px; }
body[data-theme="dark"] .cart-shell,
body[data-theme="dark"] .cart-head,
body[data-theme="dark"] .cart-summary { background: var(--paper); }
body[data-theme="dark"] .cart-head button,
body[data-theme="dark"] .cart-qty-controls button,
body[data-theme="dark"] .cart-qty-controls input { background: #231f19; color: var(--ink); }
@media (max-width: 960px) {
  .cart-content { grid-template-columns: 1fr; padding-bottom: 230px; }
  .cart-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-submit { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 560px) {
  .floating-cart { right: 16px; bottom: 16px; width: 62px; height: 62px; }
  .cart-head { grid-template-columns: 1fr; text-align: center; }
  .cart-head button:first-child,
  .cart-head button:last-child { justify-self: stretch; }
  .cart-item-card { grid-template-columns: 88px 1fr; }
  .cart-content { padding-inline: 14px; }
  .cart-summary { padding-inline: 14px; }
}

/* Cart scroll and summary stability fixes */
.cart-overlay.open {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-shell {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
.cart-content {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: clamp(190px, 24vh, 260px);
}
.cart-items-panel,
.cart-checkout-panel,
.cart-item-main,
.cart-summary {
  min-width: 0;
}
.cart-summary {
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr)) minmax(150px, auto);
  max-height: 42vh;
  overflow-x: hidden;
  overflow-y: auto;
}
.cart-summary .cart-submit {
  align-self: stretch;
}
.cart-qty-controls {
  max-width: 100%;
}
.cart-qty-controls input {
  max-width: 92px;
}
@media (max-width: 960px) {
  .cart-content {
    padding-bottom: 300px;
  }
  .cart-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 46vh;
  }
}
@media (max-width: 560px) {
  .cart-content {
    padding-bottom: 360px;
  }
  .cart-item-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }
  .cart-qty-controls input {
    width: 72px;
  }
}

/* Final bale cart scroll corrections */
.cart-shell {
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.cart-head {
  position: relative;
  top: auto;
}
.cart-head h2 {
  justify-self: center;
}
.cart-content {
  padding-bottom: 22px;
}
.cart-summary {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  max-height: none;
  overflow: visible;
  grid-template-columns: repeat(7, minmax(96px, 1fr)) minmax(150px, auto);
}
.cart-item-meta span {
  white-space: nowrap;
}
@media (max-width: 960px) {
  .cart-content {
    padding-bottom: 18px;
  }
  .cart-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .cart-head h2 {
    order: -1;
  }
  .cart-head button:first-child {
    justify-self: stretch;
  }
  .cart-content {
    padding-bottom: 16px;
  }
  .cart-summary {
    max-height: 42vh;
    overflow-x: hidden;
    overflow-y: auto;
  }
}
/* Style introduction controls */
.style-intro-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.style-intro-pill,
.style-intro-badge {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}
.style-intro-pill {
  background: white;
  color: var(--ink);
  cursor: pointer;
}
.style-intro-pill.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(183, 131, 53, .35), 0 0 0 1px var(--gold);
}
.style-intro-badge {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  background: color-mix(in srgb, var(--green) 9%, white);
}
body[data-theme="dark"] .style-intro-pill {
  background: #231f19;
  color: var(--ink);
}
body[data-theme="dark"] .style-intro-badge {
  background: #28231c;
}
/* Professional contact page */
.contact-page {
  background: var(--paper);
}
.contact-hero {
  padding: 86px 5vw 34px;
  max-width: 980px;
}
.contact-hero h1 {
  color: var(--ink);
  font-size: clamp(42px, 6vw, 78px);
  margin: 0 0 16px;
}
.contact-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}
.contact-grid,
.contact-info-grid {
  display: grid;
  gap: 18px;
  padding: 24px 5vw;
}
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.contact-info-grid {
  grid-template-columns: .85fr 1.15fr;
  padding-bottom: 86px;
}
.contact-card,
.contact-info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(18, 32, 29, .08);
  padding: clamp(20px, 3vw, 28px);
  animation: contactRise .38s ease both;
}
.contact-card {
  display: grid;
  gap: 14px;
  align-content: start;
}
.contact-card h2,
.contact-info-card h2 {
  margin: 0;
  color: var(--ink);
}
.contact-card p,
.contact-info-card p,
.contact-info-card li {
  color: var(--muted);
  line-height: 1.6;
}
.contact-card .button {
  justify-self: start;
  margin-top: auto;
}
.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
}
.contact-icon svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}
.telegram-card .contact-icon { background: #229ed9; }
.whatsapp-card .contact-icon { background: #25d366; }
.email-card .contact-icon { background: #244c3b; }
.facebook-card .contact-icon { background: #1877f2; }
.tiktok-card .contact-icon { background: #111111; }
.youtube-card .contact-icon { background: #ff0033; }
.contact-email {
  color: var(--green);
  font-weight: 900;
  word-break: break-word;
}
.contact-info-card ul {
  margin: 0;
  padding-left: 18px;
}
.order-error-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 130;
  width: min(620px, calc(100vw - 28px));
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(181, 58, 58, .3);
  border-radius: 8px;
  background: #fff5f5;
  color: #8f1f1f;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  font-weight: 800;
  line-height: 1.45;
  transition: opacity .2s ease, transform .2s ease;
}
.order-error-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
body[data-theme="dark"] .contact-page,
body[data-theme="dark"] .contact-card,
body[data-theme="dark"] .contact-info-card {
  background: var(--paper);
}
body[data-theme="dark"] .contact-card,
body[data-theme="dark"] .contact-info-card {
  background: var(--panel);
}
body[data-theme="dark"] .order-error-toast {
  background: #2a1714;
  color: #ffb3a7;
  border-color: #633027;
}
@keyframes contactRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 960px) {
  .contact-grid,
  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .contact-hero,
  .contact-grid,
  .contact-info-grid {
    padding-inline: 18px;
  }
  .contact-grid,
  .product-card-actions { flex-direction: column; }
  .product-card-action { min-height: 44px; padding: 12px 14px; font-size: 14px; }
  .product-body h3 { font-size: 18px; }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .contact-card .button {
    width: 100%;
  }
}
.order-progress[hidden] { display: none; }
.order-progress { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(13, 25, 20, .62); }
.order-progress-panel { width: min(360px, 100%); display: grid; justify-items: center; gap: 12px; padding: 30px 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); text-align: center; box-shadow: 0 24px 64px rgba(0, 0, 0, .28); }
.order-progress-panel > span:last-child { color: var(--muted); }
.order-progress-spinner { width: 38px; height: 38px; border: 4px solid color-mix(in srgb, var(--green) 24%, transparent); border-top-color: var(--green); border-radius: 50%; animation: orderSpin .8s linear infinite; }
@keyframes orderSpin { to { transform: rotate(360deg); } }
body.order-submitting { overflow: hidden; }

/* Product Focus Modal Popup */
.product-focus-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(6px);
  animation: fadeIn .25s ease;
}
.product-focus-overlay.open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-focus-modal {
  position: relative;
  width: min(85vw, 90vw);
  max-height: 92vh;
  background: var(--panel);
  border-radius: 12px;
  overflow: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  animation: popupSlide .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popupSlide {
  from { transform: scale(0.92) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.product-focus-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .2s ease;
}
.product-focus-close:hover {
  background: #f5f1e8;
  border-color: var(--gold);
}
.product-focus-content {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  padding: 32px;
}
.product-focus-image {
  position: sticky;
  top: 32px;
  height: fit-content;
}
.product-focus-image img,
.product-focus-image .placeholder {
  width: 100%;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  border-radius: 8px;
  background: #edf0eb;
}
.product-focus-details h3 {
  font-size: 24px;
  margin: 0 0 8px;
}
.product-focus-details .product-meta {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 12px;
}
.product-focus-details p {
  display: block;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.product-focus-price {
  display: block;
  color: var(--green);
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 24px;
}
.product-focus-spec {
  display: block;
  margin-bottom: 20px;
  padding: 14px;
  border-radius: 6px;
  background: #f2f5f1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.product-focus-section {
  margin-bottom: 20px;
}
.product-focus-section .choice-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 8px;
}
.product-focus-swatches,
.product-focus-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-focus-qty-section {
  margin-bottom: 24px;
}
.product-focus-qty-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-focus-qty-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  background: white;
  color: var(--ink);
  font-weight: 900;
  font-size: 14px;
}
.product-focus-qty-range {
  width: 100%;
  margin-top: 8px;
  accent-color: var(--green);
}
.product-focus-add-btn {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: white;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  transition: all .25s ease;
  margin-bottom: 12px;
}
.product-focus-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(36, 76, 59, .25);
}
.product-focus-continue {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: all .2s ease;
}
.product-focus-continue:hover {
  background: #f5f1e8;
  border-color: var(--gold);
}
@media (max-width: 860px) {
  .product-focus-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .product-focus-image {
    position: static;
  }
  .product-focus-modal {
    width: 90vw;
    max-height: 95vh;
  }
}
@media (max-width: 560px) {
  .product-focus-modal {
    width: 95vw;
    max-height: 95vh;
    border-radius: 12px;
  }
  .product-focus-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .product-focus-content {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
  }
  .product-focus-details h3 {
    font-size: 20px;
  }
}
body[data-theme="dark"] .product-focus-modal {
  background: var(--panel);
}
body[data-theme="dark"] .product-focus-close {
  background: var(--panel);
  border-color: var(--line);
}
body[data-theme="dark"] .product-focus-close:hover {
  background: #231f19;
  border-color: var(--gold);
}

/* Payment Methods Section - Home Page (Informational Only) */
.payment-methods-section {
  background: linear-gradient(135deg, #f9f8f4 0%, #f2f0ea 100%);
}

.payment-groups {
  display: grid;
  gap: 34px;
}

.payment-group-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: .5;
}

/* Cards are intentionally kept on a fixed near-black surface (independent of the
   light/dark site theme) because the supplied logo assets are pre-cropped on a
   black canvas. This keeps every logo's edges invisible against its card. */
.payment-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.payment-logo-item {
  background: #101010;
  border: 1px solid rgba(183, 131, 53, .18);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.payment-logo-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}

.payment-logo-item img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.payment-logo-item p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #f5f1e8;
  line-height: 1.35;
}

.payment-info-card {
  justify-content: flex-start;
  min-height: 160px;
  text-align: left;
  align-items: flex-start;
}

.payment-info-card h4 {
  margin: 0;
  color: #f5f1e8;
  font-size: 14px;
  font-weight: 900;
}

.payment-info-card p {
  color: #ded7c8;
  font-size: 12px;
  font-weight: 500;
}

.payment-info-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(183, 131, 53, .16);
  color: #f4d08f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .payment-groups { gap: 26px; }
  .payment-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .payment-logo-item {
    padding: 14px 10px;
    gap: 8px;
  }

  .payment-logo-item img {
    height: 44px;
  }

  .payment-logo-item p {
    font-size: 11.5px;
  }
}

@media (max-width: 560px) {
  .payment-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .payment-logo-item {
    padding: 12px 8px;
    gap: 8px;
  }

  .payment-logo-item img {
    height: 40px;
  }

  .payment-logo-item p {
    font-size: 11px;
  }
}

body[data-theme="dark"] .payment-methods-section {
  background: linear-gradient(135deg, #1a1714 0%, #14120f 100%);
}

body[data-theme="dark"] .payment-logo-item {
  border-color: rgba(255, 180, 92, .22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}

body[data-theme="dark"] .payment-logo-item:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
}

/* Payment Method Cards in Order Forms (Interactive) */

/* Terms & Conditions Styling */
.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  cursor: pointer;
}
.terms-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--green);
}
.terms-link {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
  transition: all .2s ease;
}
.terms-link:hover {
  color: var(--gold);
  text-decoration: underline;
}
.terms-error {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  margin: 8px 0 16px;
  padding: 10px 12px;
  background: rgba(164, 70, 52, .1);
  border-left: 3px solid var(--red);
  border-radius: 4px;
}
.payment-error {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  margin: 8px 0 16px;
  padding: 10px 12px;
  background: rgba(164, 70, 52, .1);
  border-left: 3px solid var(--red);
  border-radius: 4px;
}

/* Payment Methods Cards Redesign */
.payment-methods-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.payment-method-card {
  position: relative;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #1a1a1a;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 140px;
  justify-content: center;
}
.payment-method-card:hover {
  border-color: var(--muted);
  transform: translateY(-2px);
}
.payment-method-card.active {
  border-color: var(--gold);
  background: rgba(36, 76, 59, .15);
}
.payment-method-card.active::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: var(--gold);
  border-radius: 50%;
  color: white;
  font-weight: 900;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.payment-card-logo {
  width: 100%;
  max-width: 88px;
  height: 40px;
  object-fit: contain;
  border-radius: 4px;
}
.payment-card-name {
  color: white;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 860px) {
  .payment-methods-cards { grid-template-columns: repeat(2, 1fr); }
  .payment-method-card { min-height: 120px; }
}
@media (max-width: 560px) {
  .payment-methods-cards { grid-template-columns: 1fr; }
  .payment-method-card { 
    min-height: auto;
    padding: 12px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
  }
  .payment-card-logo { width: 50px; height: 32px; }
  .payment-card-name { flex: 1; text-align: left; }
}
body[data-theme="dark"] .payment-method-card {
  background: #28231c;
  border-color: var(--line);
}
body[data-theme="dark"] .payment-method-card:hover {
  border-color: var(--muted);
}
body[data-theme="dark"] .payment-method-card.active {
  background: rgba(240, 138, 36, .15);
  border-color: var(--gold);
}

/* Cart Terms Section */
.cart-terms-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Terms Content Page */
.terms-content {
  display: grid;
  gap: 24px;
  max-width: 900px;
}
.terms-article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.terms-article h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--ink);
}
.terms-article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}
@media (max-width: 560px) {
  .terms-article {
    padding: 14px;
  }
  .terms-article h3 {
    font-size: 16px;
  }
  .terms-article p {
    font-size: 14px;
  }
}
/* Payment Methods Showcase - Home Page (informational) */
.payment-methods-section {
  background: linear-gradient(135deg, #f9f8f4 0%, #f2f0ea 100%);
}
.payment-groups {
  display: grid;
  gap: 34px;
}
.payment-group-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
}
.payment-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: .5;
}
.payment-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.payment-logo-item {
  background: #101010;
  border: 1px solid rgba(183, 131, 53, .18);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.payment-logo-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}
.payment-logo-item img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}
.payment-logo-item p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #f5f1e8;
  line-height: 1.35;
}
@media (max-width: 860px) {
  .payment-groups { gap: 26px; }
  .payment-logos-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .payment-logo-item { padding: 14px 10px; gap: 8px; }
  .payment-logo-item img { height: 44px; }
  .payment-logo-item p { font-size: 11.5px; }
}
@media (max-width: 560px) {
  .payment-logos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .payment-logo-item { padding: 12px 8px; gap: 8px; }
  .payment-logo-item img { height: 40px; }
  .payment-logo-item p { font-size: 11px; }
}
body[data-theme="dark"] .payment-methods-section {
  background: linear-gradient(135deg, #1a1714 0%, #14120f 100%);
}
body[data-theme="dark"] .payment-logo-item {
  border-color: rgba(255, 180, 92, .22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
body[data-theme="dark"] .payment-logo-item:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
}

/* Home page readability and verification media */
.doc-card img { display: none; width: 100%; max-height: 420px; object-fit: contain; margin-top: 16px; border: 1px solid var(--line); border-radius: 8px; background: #f5f6f2; }
.doc-card[open] img { display: block; }
.video-card video { display: none; }
.video-card[open] video { display: block; }
.story-card { align-content: start; }
.story-card p:not(.eyebrow) { max-width: 68ch; line-height: 1.75; color: var(--muted); }
.payment-accordions .payment-card-logo { display: none; }
.payment-accordions .payment-method-card.active .payment-card-logo { display: block; }
.product-card-actions:empty { display: none; }
@media (max-width: 620px) {
  #home .section { padding-block: 42px; }
  #home .section-head h2 { max-width: 22ch; line-height: 1.16; }
  #home .hero-shell { min-height: auto; }
  #home .hero-copy { padding: 30px 20px 34px; }
  #home .hero-copy h1 { font-size: clamp(2rem, 9vw, 2.7rem); line-height: 1.08; }
  #home .hero-slip { display: grid; margin: 0 18px 24px; }
  #home .hero-pill-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
  #home .hero-pill { justify-content: flex-start; }
  #home .workflow-shell { grid-template-columns: 1fr; }
  #home .workflow-card, #home .benefit-card, #home .doc-card, #home .video-card, #home .testimonial-card, #home .story-card { border-radius: 8px; box-shadow: none; }
  #home .bale-card { padding: 20px; border-radius: 8px; }
  #home .bale-meta { grid-template-columns: 1fr 1fr; }
  #home .bale-actions .button { width: 100%; }
  #home .verification-stack, #home .premium-video-grid, #home .testimonial-stack { grid-template-columns: 1fr; }
  #home .doc-card summary, #home .video-card summary, #home .benefit-card summary { align-items: flex-start; }
  #home .doc-card summary .benefit-pill, #home .video-card summary .benefit-pill { flex: 0 0 auto; }
  #home .payment-accordions .payment-method-group { border-radius: 8px; box-shadow: none; }
  #home .cta-card { border-radius: 8px; padding: 22px; }
}
.bale-recipe { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; }
.bale-recipe li { display: grid; gap: 3px; padding: 9px 0; border-top: 1px solid var(--line); }
.bale-recipe li strong { color: var(--ink); font-size: 14px; }
.bale-recipe li span { color: var(--muted); font-size: 12px; line-height: 1.5; }
@media (max-width: 620px) { .bale-recipe li span { font-size: 11.5px; } }

.bale-details { margin-top: 14px; border-top: 1px solid var(--line); }
.bale-details summary { padding: 12px 0 4px; cursor: pointer; color: var(--green); font-weight: 900; }
/* Production verification and payment disclosure */
.payment-method-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}
.payment-method-group-title {
  cursor: pointer;
  list-style: none;
  padding: 13px 14px;
  font-weight: 900;
  color: var(--ink);
}
.payment-method-group-title::-webkit-details-marker { display: none; }
.payment-method-group-title::after { content: "+"; float: right; color: var(--gold); }
.payment-method-group[open] .payment-method-group-title::after { content: "-"; }
.payment-method-group:not([open]) .payment-methods-cards { display: none; }
.payment-method-card .payment-card-logo { display: none; }
.payment-method-card.active .payment-card-logo { display: block; }
.verification-modal {
  width: min(480px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}
.verification-modal::backdrop { background: rgba(0, 0, 0, .58); backdrop-filter: blur(4px); }
.verification-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
}
.verification-panel h2 { font-size: 28px; margin-bottom: 0; }
.verification-panel p:not(.eyebrow) { color: var(--muted); line-height: 1.5; }
.verification-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.verification-actions .button { flex: 1 1 160px; }

/* Terms Modal Overlay */
.terms-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  padding: 16px;
  overflow-y: auto;
}
.terms-modal-overlay[aria-hidden="true"] { display: none; }
.terms-modal-content {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  background: var(--panel);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.terms-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.terms-modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}
.terms-modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.terms-modal-close:hover {
  background: var(--paper);
  border-color: var(--muted);
}
.terms-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.terms-modal-body .terms-article {
  margin-bottom: 24px;
}
.terms-modal-body .terms-article:last-child {
  margin-bottom: 0;
}
.terms-modal-body .terms-article h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px 0;
}
.terms-modal-body .terms-article p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
  font-size: 14px;
}
.terms-modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  justify-content: flex-end;
}
.terms-modal-footer .button {
  min-width: 120px;
}

@media (max-width: 768px) {
  .terms-modal-header { padding: 18px; }
  .terms-modal-body { padding: 18px; }
  .terms-modal-footer { padding: 12px 18px; flex-direction: column-reverse; }
  .terms-modal-footer .button { width: 100%; }
  .terms-modal-header h2 { font-size: 20px; }
}

body[data-theme="dark"] .terms-modal-overlay {
  background: rgba(0, 0, 0, .72);
}
body[data-theme="dark"] .terms-modal-content {
  background: #1a1a1a;
  border: 1px solid #333;
}
body[data-theme="dark"] .terms-modal-header,
body[data-theme="dark"] .terms-modal-footer {
  border-color: #333;
}
body[data-theme="dark"] .terms-modal-close {
  border-color: #444;
  color: #ccc;
}
body[data-theme="dark"] .terms-modal-close:hover {
  background: #2a2a2a;
  border-color: #555;
}
