.preorder-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(79, 124, 69, 0.12), transparent 24rem),
    radial-gradient(circle at 94% 24%, rgba(18, 22, 22, 0.08), transparent 28rem),
    linear-gradient(180deg, #f8faf6 0%, #eef1ed 52%, #e5e9e3 100%);
}

.preorder-page select,
.preorder-page input {
  font: inherit;
}

.preorder-page select:focus-visible {
  outline: 3px solid rgba(79, 124, 69, 0.5);
  outline-offset: 4px;
}

.preorder-main,
.preorder-footer {
  width: min(100% - (var(--page) * 2), var(--max));
  margin: 0 auto;
}

.stripe-result-card {
  max-width: 760px;
  margin: clamp(52px, 9vw, 112px) auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 18px;
}

.stripe-result-card h1 {
  max-width: 11ch;
}

.stripe-result-card > p:not(.eyebrow) {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.58;
}

.preorder-hero {
  padding: clamp(28px, 4vw, 54px) 0 clamp(18px, 3vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.72fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
}

.preorder-page h1 {
  max-width: 10ch;
  margin-top: 16px;
  font-size: clamp(46px, 5.7vw, 76px);
  line-height: 0.94;
}

.preorder-hero-copy {
  display: grid;
  gap: 22px;
}

.preorder-hero-copy > p {
  color: var(--ink-soft);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
}

.preorder-badges {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.preorder-badges div {
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.54);
  display: grid;
  align-content: space-between;
}

.preorder-badges dt,
.preorder-badges dd {
  margin: 0;
}

.preorder-badges dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preorder-badges dd {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.product-panel,
.checkout-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 24px 70px rgba(45, 58, 50, 0.12);
}

.product-panel {
  position: sticky;
  top: 94px;
  overflow: hidden;
}

.product-visual {
  position: relative;
  height: clamp(280px, 30vw, 390px);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 24%, rgba(79, 124, 69, 0.13), transparent 16rem),
    rgba(255, 255, 255, 0.72);
}

.product-visual img {
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
}

.product-copy,
.product-options,
.product-kit-list,
.checkout-spec-list,
.order-summary {
  padding: 20px;
}

.product-copy {
  display: grid;
  gap: 12px;
}

.product-copy h2,
.form-heading h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 0.98;
  font-weight: 900;
}

.product-copy p:not(.eyebrow),
.form-heading p:not(.eyebrow) {
  color: var(--ink-soft);
  line-height: 1.5;
}

.product-options {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
}

.product-kit-list {
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  gap: 0;
}

.product-kit-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
}

.product-kit-list li:first-child {
  border-top: 0;
}

.product-kit-list strong,
.product-kit-list span {
  line-height: 1.3;
}

.product-kit-list strong {
  color: var(--ink);
}

.product-kit-list span {
  max-width: 26ch;
  color: var(--ink-soft);
  text-align: left;
}

.checkout-spec-list {
  margin: 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
}

.checkout-spec-list div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(86px, 0.38fr) minmax(0, 1fr);
  gap: 14px;
}

.checkout-spec-list div:first-child {
  border-top: 0;
}

.checkout-spec-list dt,
.checkout-spec-list dd {
  margin: 0;
  line-height: 1.35;
}

.checkout-spec-list dt {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-spec-list dd {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.option-row {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(220px, 1fr);
  gap: 16px;
  align-items: center;
}

.option-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.option-row strong {
  font-size: 15px;
}

.color-choices,
.quantity-control {
  display: flex;
  gap: 8px;
}

.color-choice {
  min-height: 44px;
  flex: 1;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 830;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.color-choice:active,
.quantity-control button:active {
  transform: scale(0.97);
}

.color-choice.is-active {
  border-color: rgba(79, 124, 69, 0.6);
  background: rgba(79, 124, 69, 0.13);
  color: var(--accent-dark);
}

.swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(18, 22, 22, 0.16);
}

.swatch-graphite {
  background: linear-gradient(135deg, #18201d, #4f7c45 48%, #587565);
}

.swatch-sand {
  background: linear-gradient(135deg, #e6d8bf, #7ea36f 54%, #4f7c45);
}

.quantity-control {
  justify-content: flex-end;
}

.quantity-control button,
.quantity-control input {
  width: 46px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  text-align: center;
  font-weight: 850;
}

.quantity-control button {
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.quantity-control button:hover {
  background: rgba(79, 124, 69, 0.1);
  border-color: rgba(79, 124, 69, 0.34);
}

.quantity-control button:first-child {
  border-radius: 999px 0 0 999px;
}

.quantity-control button:last-child {
  border-radius: 0 999px 999px 0;
}

.quantity-control input {
  border-left: 0;
  border-right: 0;
  appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.order-summary {
  margin: 0;
  border-top: 1px solid var(--line);
  display: grid;
}

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

.order-summary dt,
.order-summary dd {
  margin: 0;
  line-height: 1.3;
}

.order-summary dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.order-summary dd {
  color: var(--ink);
  text-align: right;
  font-weight: 850;
}

.order-summary .total-row {
  border-bottom: 0;
}

.total-row dt,
.total-row dd {
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.checkout-panel {
  padding: clamp(24px, 4vw, 40px);
}

.form-heading {
  display: grid;
  gap: 12px;
  padding-bottom: 26px;
}

.preorder-process {
  padding: 0 0 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.preorder-process article {
  min-height: 148px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.52);
  display: grid;
  align-content: space-between;
}

.preorder-process span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preorder-process h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.preorder-process p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.form-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.form-section h3 {
  margin-bottom: 18px;
  font-size: 22px;
}

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

.form-grid label,
.checkbox-row {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 830;
}

.form-grid input,
.form-grid select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

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

.preorder-terms {
  display: grid;
  gap: 14px;
}

.payment-method {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #f1f8ec;
}

.payment-method strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
}

.payment-method p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.48;
}

.checkbox-row {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  line-height: 1.45;
}

.checkbox-row:first-of-type {
  border-top: 0;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.checkout-actions {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checkout-actions .button {
  min-width: 190px;
}

.confirmation {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(79, 124, 69, 0.34);
  border-radius: var(--radius);
  background: rgba(79, 124, 69, 0.1);
}

.confirmation h3 {
  margin: 8px 0 8px;
  font-size: 24px;
}

.confirmation p:last-child {
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 920px) {
  .preorder-hero,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .product-panel {
    position: static;
  }

  .preorder-page h1 {
    max-width: 13ch;
  }
}

@media (max-width: 720px) {
  .preorder-main,
  .preorder-footer {
    width: min(100% - 28px, var(--max));
  }

  .preorder-hero {
    padding-top: 42px;
  }

  .preorder-page h1 {
    font-size: clamp(44px, 13vw, 66px);
  }

  .preorder-badges,
  .preorder-process,
  .form-grid,
  .option-row {
    grid-template-columns: 1fr;
  }

  .preorder-badges div {
    min-height: 82px;
  }

  .product-visual {
    height: 300px;
  }

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

  .color-choices,
  .quantity-control,
  .checkout-actions {
    width: 100%;
  }

  .checkout-actions .button {
    width: 100%;
  }
}
