:root {
  --bg: #f7f4ee;
  --paper: #fffdf8;
  --ink: #24201b;
  --muted: #6d655a;
  --green: #173f2a;
  --green-2: #276143;
  --saddle: #9a6238;
  --straw: #e2c786;
  --cream: #f0e7d6;
  --border: #ded5c6;
  --shadow: 0 18px 45px rgba(36, 32, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.announcement {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 10px clamp(18px, 4vw, 56px);
  background: var(--green);
  color: #fffdf8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.announcement > span:nth-of-type(2) {
  text-align: right;
}

.language-select {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.language-select select {
  min-height: 34px;
  padding: 0 28px 0 10px;
  background: #fffdf8;
  border: 1px solid rgba(255, 253, 248, 0.5);
  border-radius: 4px;
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
}

.header-language {
  color: var(--muted);
}

.header-language select {
  border-color: var(--border);
}

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

.menu-button,
.cart-link,
.button,
.modal-close {
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.menu-button {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--green);
}

.brand img {
  width: 150px;
  height: 58px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.nav a,
.footer-links a,
.text-link {
  transition: color 160ms ease;
}

.nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--green-2);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 14px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  min-height: max(590px, calc(100svh - 144px));
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(22, 28, 20, 0.84) 0%, rgba(22, 28, 20, 0.56) 43%, rgba(22, 28, 20, 0.08) 78%),
    linear-gradient(0deg, rgba(22, 28, 20, 0.34), rgba(22, 28, 20, 0.04));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--green);
}

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

.hero-copy {
  max-width: 720px;
  color: #fffdf8;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--saddle);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--straw);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 23px;
  line-height: 1.16;
  letter-spacing: 0;
}

.lead,
.section-heading p,
.story-copy p,
.benefit-grid p,
.product-body p,
.faq p,
.contact-band p,
.footer span,
.modal-content p,
.modal-content small {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

.lead {
  max-width: 650px;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(18px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--green);
  font-size: 15px;
}

.button.primary {
  background: var(--green);
  color: #fffdf8;
}

.button.secondary-on-dark {
  background: rgba(255, 253, 248, 0.1);
  border-color: rgba(255, 253, 248, 0.55);
  color: #fffdf8;
}

.button.outline {
  background: transparent;
  color: var(--green);
}

.button.light-button {
  border-color: #fffdf8;
  background: #fffdf8;
  color: var(--green);
}

.hero-feature {
  align-self: end;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(255, 253, 248, 0.55);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-feature img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.hero-feature div {
  padding: 18px;
}

.hero-feature span,
.product-type,
.price,
dt,
.footer-company strong {
  font-family: Arial, Helvetica, sans-serif;
}

.hero-feature span {
  display: block;
  margin-bottom: 5px;
  color: var(--saddle);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-feature strong {
  font-size: 20px;
  line-height: 1.2;
}

.category-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.category-band a {
  min-height: 126px;
  padding: 26px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--border);
}

.category-band a:last-child {
  border-right: 0;
}

.category-band span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.category-band strong {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
}

.section {
  padding: clamp(54px, 7vw, 94px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.favorites {
  background: var(--bg);
}

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

.product-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(36, 32, 27, 0.06);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #eee6d7;
}

.feature-card {
  grid-row: span 2;
}

.feature-card img {
  aspect-ratio: 0.95;
}

.product-body {
  padding: 22px;
}

.product-type {
  margin-bottom: 8px;
  color: var(--saddle);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  display: block;
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green-2);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.split-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 4vw, 56px);
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.story-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-copy {
  max-width: 680px;
}

.story-copy .button {
  margin-top: 12px;
}

.compliance-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 32px;
  padding: clamp(42px, 5vw, 70px) clamp(18px, 4vw, 56px);
  background: var(--green);
  color: #fffdf8;
}

.compliance-panel h2 {
  margin-bottom: 0;
}

.compliance-panel dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.compliance-panel div {
  min-width: 0;
}

dt {
  margin-bottom: 5px;
  color: var(--straw);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.benefits {
  background: #eee4d3;
}

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

.benefit-grid article {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.benefit-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--saddle);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.review-section {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 4vw, 56px);
  background: #1f1c18;
  color: #fffdf8;
}

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

blockquote {
  margin: 0;
  padding: 26px;
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
}

blockquote strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

blockquote p {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.78);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

details {
  padding: 22px 24px;
  background: #f7f4ee;
  border: 1px solid var(--border);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
}

details p {
  margin: 14px 0 0;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(44px, 6vw, 78px) clamp(18px, 4vw, 56px);
  background: var(--saddle);
  color: #fffdf8;
}

.contact-band p {
  max-width: 640px;
  color: rgba(255, 253, 248, 0.82);
}

.footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(180px, 0.55fr) minmax(280px, 1.25fr);
  gap: 28px;
  padding: 42px clamp(18px, 4vw, 56px);
  background: #1f1c18;
  color: #fffdf8;
}

.footer img {
  width: 92px;
  height: 68px;
  object-fit: contain;
}

.footer p {
  margin: 10px 0 4px;
  font-size: 22px;
}

.footer-links,
.footer-company {
  display: grid;
  gap: 9px;
  align-content: start;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-links a {
  color: rgba(255, 253, 248, 0.86);
}

.footer-company span,
.footer span {
  color: rgba(255, 253, 248, 0.72);
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 4px 0;
}

.payment-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 4px;
  color: #fffdf8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(16, 16, 14, 0.62);
}

.newsletter-modal.is-visible {
  display: flex;
}

.modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(280px, 1fr);
  width: min(820px, 100%);
  overflow: hidden;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--green);
  font-size: 24px;
  line-height: 1;
}

.modal-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.modal-content {
  padding: clamp(28px, 5vw, 48px);
}

.modal-content h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.newsletter-form {
  display: grid;
  gap: 8px;
  margin: 22px 0 12px;
  font-family: Arial, Helvetica, sans-serif;
}

.newsletter-form label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.newsletter-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.newsletter-form input {
  min-width: 0;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.newsletter-form button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--green);
  color: #fffdf8;
  font-weight: 800;
}

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

.policy-content {
  max-width: 860px;
  margin: 0 auto;
}

.policy-content h1 {
  margin-top: 26px;
  color: var(--green);
  font-size: clamp(42px, 6vw, 68px);
}

.policy-content h2 {
  margin-top: 34px;
  font-size: clamp(28px, 4vw, 38px);
}

.policy-language {
  margin-bottom: 18px;
  color: var(--muted);
}

.simple-header {
  grid-template-columns: auto 1fr auto;
}

.simple-header .cart-link {
  justify-self: end;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(340px, 0.8fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  padding: clamp(34px, 5vw, 70px) clamp(18px, 4vw, 56px);
  background: var(--paper);
}

.main-product-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.thumbnail-row button {
  overflow: hidden;
  padding: 0;
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.thumbnail-row button.is-active {
  border-color: var(--green);
}

.thumbnail-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-summary {
  position: sticky;
  top: 120px;
}

.product-summary h1 {
  margin-bottom: 16px;
  color: var(--green);
  font-size: clamp(40px, 5vw, 64px);
}

.rating-line {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--saddle);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.product-intro {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.58;
}

.price-line {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 22px 0;
}

.current-price {
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 900;
}

.compare-price {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: line-through;
}

.purchase-panel {
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.purchase-panel label {
  display: block;
  margin-bottom: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.product-size-select {
  width: 100%;
  min-height: 52px;
  margin-bottom: 16px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

.quantity-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
}

.quantity-row input {
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.checkout-button {
  width: 100%;
  margin-top: 10px;
  background: var(--saddle);
  border-color: var(--saddle);
  color: #fffdf8;
}

.shop-pay-button {
  width: 100%;
  margin-top: 10px;
  background: #5433ff;
  border-color: #5433ff;
  color: #fff;
}

.more-payments-link {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
}

.product-payments {
  margin-top: 16px;
}

.product-payments span {
  background: #fff;
  border-color: var(--border);
  color: var(--green);
}

.secure-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.scenario-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.scenario-list span {
  padding: 8px 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.product-meta-panel {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 2px solid var(--straw);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
}

.product-meta-panel p {
  margin: 10px 0 0;
}

.product-meta-panel a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.share-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--paper);
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.star-line span,
.rating-line span,
.review-summary-card span,
.product-review-grid span {
  color: #e3c900;
  letter-spacing: 0;
}

.product-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(42px, 5vw, 70px) clamp(18px, 4vw, 56px);
  background: var(--bg);
}

.product-info-grid article,
.product-tabs > div {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.product-info-grid p,
.product-tabs li,
.product-tabs td {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

.product-tabs {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 22px;
  background: #eee4d3;
}

.product-tabs ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.product-tabs table {
  width: 100%;
  border-collapse: collapse;
}

.product-tabs th,
.product-tabs td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.product-tabs th {
  width: 34%;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.related-products {
  background: var(--paper);
}

.product-reviews {
  background: var(--bg);
}

.review-summary-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto 24px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.review-summary-card strong {
  color: var(--green);
  font-size: 34px;
}

.review-summary-card p {
  margin: 0;
  color: var(--muted);
}

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

.product-review-grid blockquote {
  background: var(--paper);
  border-color: var(--border);
  color: var(--ink);
}

.product-review-grid blockquote p {
  color: var(--muted);
}

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

.mini-product a {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.mini-product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.mini-product strong,
.mini-product span {
  font-family: Arial, Helvetica, sans-serif;
}

.mini-product span {
  color: var(--green);
  font-weight: 800;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 24px;
  align-items: start;
}

.cart-items,
.order-summary,
.checkout-form,
.checkout-summary {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
}

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

.cart-line:last-child {
  border-bottom: 0;
}

.cart-line img,
.checkout-line img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.cart-line span,
.cart-line strong,
.cart-controls,
.order-summary,
.checkout-summary,
.checkout-form {
  font-family: Arial, Helvetica, sans-serif;
}

.cart-line span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.cart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.cart-controls button {
  min-height: 34px;
  padding: 0 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
}

.order-summary {
  position: sticky;
  top: 112px;
  padding: 24px;
}

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

.order-summary p {
  color: var(--muted);
  line-height: 1.5;
}

.cart-payments,
.checkout-payments {
  margin: 16px 0;
}

.cart-payments span,
.checkout-payments span {
  background: var(--bg);
  border-color: var(--border);
  color: var(--green);
}

.empty-cart {
  padding: 32px;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  font-family: Arial, Helvetica, sans-serif;
}

.checkout-header .header-language {
  margin-left: auto;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: start;
  padding: clamp(34px, 5vw, 70px) clamp(18px, 4vw, 56px);
}

.checkout-form,
.checkout-summary {
  padding: 26px;
}

.checkout-form h1 {
  color: var(--green);
  font-size: clamp(38px, 5vw, 62px);
}

fieldset {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.checkout-form input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.checkout-form label:has(input[type="checkbox"]) {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkout-form input[type="checkbox"] {
  min-height: auto;
}

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

.form-grid:has(label:nth-child(3)) {
  grid-template-columns: 1fr 0.6fr 0.6fr;
}

.payment-box {
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.payment-box p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.checkout-line span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .announcement {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .announcement > span:nth-of-type(2),
  .announcement .language-select {
    text-align: center;
    justify-self: center;
  }

  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .simple-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
  }

  .cart-link {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: max(650px, calc(100svh - 120px));
  }

  .hero-feature {
    display: none;
  }

  .category-band,
  .benefit-grid,
  .review-grid,
  .footer,
  .compliance-panel,
  .contact-band,
  .split-story {
    grid-template-columns: 1fr;
  }

  .category-band a {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

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

  .feature-card {
    grid-row: span 1;
  }

  .product-detail,
  .product-info-grid,
  .product-tabs,
  .related-row,
  .product-review-grid,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .product-summary,
  .order-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 74px;
    gap: 12px;
  }

  .brand img {
    width: 118px;
    height: 46px;
  }

  .cart-link,
  .menu-button {
    min-height: 38px;
    padding: 0 11px;
    font-size: 13px;
  }

  .simple-header,
  .checkout-header {
    gap: 12px;
  }

  .simple-header .header-language,
  .checkout-header .header-language {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 0;
  }

  .checkout-header {
    flex-wrap: wrap;
  }

  .hero {
    min-height: max(610px, calc(100svh - 112px));
    padding: 28px 18px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(22, 28, 20, 0.88), rgba(22, 28, 20, 0.62)),
      linear-gradient(0deg, rgba(22, 28, 20, 0.28), rgba(22, 28, 20, 0.08));
  }

  .hero-media img {
    object-position: 58% center;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-actions .button,
  .contact-band .button {
    width: 100%;
  }

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

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

  .quantity-row,
  .cart-line,
  .checkout-line,
  .form-grid,
  .form-grid:has(label:nth-child(3)) {
    grid-template-columns: 1fr;
  }

  .modal-card {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 44px);
    overflow: auto;
  }

  .modal-image img {
    min-height: 220px;
    max-height: 260px;
  }

  .newsletter-form div {
    grid-template-columns: 1fr;
  }
}
