:root {
  --ink: #081424;
  --ink-soft: #536071;
  --paper: #f7f4ef;
  --white: #fffdf9;
  --coral: #ff3926;
  --orange: #ff6b08;
  --pink: #ff075c;
  --green: #0a8f62;
  --line: rgba(8, 20, 36, 0.13);
  --gradient: linear-gradient(125deg, var(--orange), var(--coral) 48%, var(--pink));
  --shadow: 0 24px 70px rgba(8, 20, 36, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(8, 20, 36, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 20, 36, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(black, transparent 85%);
}
button, input, textarea { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  color: white;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.checkout-header {
  width: min(1320px, calc(100% - 64px));
  height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand img { width: 132px; display: block; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.sandbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: #775f00;
  background: #fff3b7;
  border: 1px solid #ead777;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.sandbox-pill i { width: 7px; height: 7px; background: #e4a500; border-radius: 50%; box-shadow: 0 0 0 4px rgba(228,165,0,.13); }
.cart-shortcut {
  padding: 9px 13px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.cart-shortcut b { min-width: 22px; margin-left: 5px; padding: 2px 6px; display: inline-block; color: white; background: var(--ink); border-radius: 99px; }

.sandbox-banner {
  width: min(1320px, calc(100% - 64px));
  margin: 18px auto 0;
  padding: 12px 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #66500a;
  background: #fff8d8;
  border: 1px solid #ead777;
  border-radius: 12px;
}
.sandbox-banner span { flex: none; padding: 4px 7px; color: white; background: #b97c00; border-radius: 5px; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sandbox-banner p { margin: 0; font-size: 11px; font-weight: 500; }

.progress { width: min(900px, calc(100% - 64px)); margin: 38px auto 50px; }
.progress ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #969da6; }
.progress li::before { content: ""; position: absolute; z-index: -1; top: 15px; right: 50%; width: 100%; height: 1px; background: #d8d4cd; }
.progress li:first-child::before { display: none; }
.progress li span { width: 31px; height: 31px; display: grid; place-items: center; background: var(--paper); border: 1px solid #c9c5bf; border-radius: 50%; font-size: 10px; font-weight: 800; }
.progress li b { font-size: 10px; font-weight: 700; }
.progress li.active { color: var(--ink); }
.progress li.active span { color: white; background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 5px rgba(8,20,36,.08); }
.progress li.done { color: var(--green); }
.progress li.done span { color: white; background: var(--green); border-color: var(--green); font-size: 0; }
.progress li.done span::after { content: "✓"; font-size: 12px; }
.progress li.done::before { background: var(--green); }

.checkout-shell {
  width: min(1320px, calc(100% - 64px));
  min-height: 600px;
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 26px;
}
.checkout-content { min-width: 0; }
.checkout-content.content-wide { grid-column: 1 / -1; }
.step-panel { display: none; }
.step-panel.active { display: block; animation: panel-in 360ms cubic-bezier(.2,.75,.2,1); }
.section-heading { margin-bottom: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-heading.compact { align-items: flex-start; }
.section-heading .eyebrow, .success-card .eyebrow {
  margin: 0 0 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--coral);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.section-heading .eyebrow::before, .success-card .eyebrow::before { content: ""; width: 21px; height: 2px; background: var(--coral); }
.section-heading h1, .success-card h1 { margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
.section-heading > div > p:last-child { max-width: 660px; margin: 13px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.demo-label { flex: none; margin-bottom: 4px; padding: 8px 10px; color: #737a83; border: 1px solid var(--line); border-radius: 8px; font-size: 9px; font-weight: 700; text-transform: uppercase; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.product-card { overflow: hidden; background: rgba(255,253,249,.78); border: 1px solid var(--line); border-radius: 19px; transition: transform 180ms ease, box-shadow 180ms ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(8,20,36,.08); }
.product-art { position: relative; height: 230px; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.product-art::before, .product-art::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.product-art::before { width: 210px; height: 210px; background: rgba(255,255,255,.55); }
.product-art::after { width: 255px; height: 255px; border: 1px solid rgba(255,255,255,.65); }
.product-art > span { width: 98px; height: 125px; padding-top: 34px; display: block; color: white; background: var(--ink); border-radius: 8px 8px 23px 8px; box-shadow: 0 18px 30px rgba(8,20,36,.22); text-align: center; font-size: 22px; font-weight: 800; letter-spacing: -.06em; transform: rotate(-6deg); }
.product-art i { position: absolute; width: 56px; height: 7px; top: 119px; left: calc(50% - 28px); background: var(--coral); border-radius: 9px; transform: rotate(-6deg); }
.product-art b { position: absolute; top: 145px; left: 50%; color: rgba(255,255,255,.55); font-size: 8px; transform: translateX(-50%) rotate(-6deg); }
.art-granola { background: #d9bb75; }
.art-coffee { background: #a7c6bf; }
.art-coffee > span { background: #3d251a; transform: rotate(5deg); }
.art-coffee i { background: #c78c5d; transform: rotate(5deg); }
.art-coffee b { transform: translateX(-50%) rotate(5deg); }
.art-sambal { background: #e99a83; }
.art-sambal > span { height: 105px; padding-top: 27px; background: #8d1814; border-radius: 16px 16px 8px 8px; transform: rotate(-2deg); }
.art-sambal i { top: 128px; width: 83px; left: calc(50% - 41px); background: #f1bd59; transform: rotate(-2deg); }
.art-sambal b { top: 151px; transform: translateX(-50%) rotate(-2deg); }
.product-copy { padding: 20px; }
.product-copy > p { margin: 0 0 8px; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-copy h2 { min-height: 46px; margin: 0 0 7px; font-size: 17px; line-height: 1.27; letter-spacing: -.025em; }
.product-copy > small { min-height: 43px; display: block; color: #6b737d; font-size: 10px; line-height: 1.55; }
.product-copy > div { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-copy strong { font-size: 14px; }
.add-product { padding: 9px 11px; color: white; background: var(--ink); border: 0; border-radius: 8px; cursor: pointer; font-size: 9px; font-weight: 800; transition: background 160ms ease, transform 160ms ease; }
.add-product:hover { background: var(--coral); transform: translateY(-1px); }

.cart-summary { position: sticky; top: 20px; padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.cart-summary.summary-hidden { display: none; }
.summary-heading { padding-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--line); }
.summary-heading p { margin: 0 0 3px; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.summary-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
.summary-heading > span { padding: 5px 8px; color: #707780; background: #f1eee8; border-radius: 6px; font-size: 9px; font-weight: 700; }
.empty-cart { padding: 43px 18px 35px; text-align: center; }
.empty-cart > span { width: 44px; height: 44px; margin: 0 auto 14px; display: grid; place-items: center; color: #9fa3a8; border: 1px dashed #c8c4be; border-radius: 50%; font-size: 20px; }
.empty-cart b { display: block; margin-bottom: 5px; font-size: 12px; }
.empty-cart p { margin: 0; color: #8a8f96; font-size: 9px; line-height: 1.5; }
.cart-items { display: grid; }
.cart-row { padding: 16px 0; display: grid; grid-template-columns: 1fr auto; gap: 11px; border-bottom: 1px solid var(--line); }
.cart-row > div:first-child { min-width: 0; }
.cart-row > div:first-child b { overflow: hidden; display: block; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.cart-row > div:first-child small { margin-top: 3px; display: block; color: #81878e; font-size: 8px; }
.cart-row > strong { align-self: center; font-size: 10px; }
.quantity-control { grid-row: 1 / span 2; grid-column: 2; display: flex; align-items: center; align-self: start; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.quantity-control button { width: 25px; height: 27px; padding: 0; background: transparent; border: 0; cursor: pointer; font-size: 14px; }
.quantity-control button:hover { background: #f0ede7; }
.quantity-control span { min-width: 23px; text-align: center; font-size: 9px; font-weight: 700; }
.cart-row > strong { grid-column: 1; }
.summary-totals { padding: 18px 0 4px; }
.summary-totals > div { margin-bottom: 10px; display: flex; justify-content: space-between; font-size: 10px; }
.summary-totals > div span { color: #707781; }
.summary-totals .grand-total { margin-top: 14px; padding-top: 14px; align-items: baseline; border-top: 1px solid var(--line); }
.summary-totals .grand-total span { color: var(--ink); font-weight: 700; }
.summary-totals .grand-total b { font-size: 19px; letter-spacing: -.035em; }
.summary-totals > small { display: block; color: #8c9299; font-size: 8px; line-height: 1.5; }
.primary-button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: white;
  background: var(--ink);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}
.primary-button:hover:not(:disabled) { background: var(--coral); transform: translateY(-2px); }
.primary-button:disabled { cursor: not-allowed; opacity: .35; }
.primary-button span { font-size: 17px; font-weight: 500; }
.summary-button { width: 100%; margin-top: 18px; }
.summary-trust { margin-top: 17px; display: flex; align-items: flex-start; gap: 9px; color: #777f88; }
.summary-trust > span { color: var(--green); font-size: 11px; font-weight: 800; }
.summary-trust p { margin: 0; font-size: 8px; line-height: 1.55; }
.summary-trust b { display: block; color: var(--ink); }

form { display: grid; gap: 14px; }
fieldset, .choice-section { margin: 0; padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
fieldset legend { padding: 0 8px; font-size: 12px; font-weight: 800; letter-spacing: -.02em; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.full-field { grid-column: 1 / -1; }
.field-grid label > span { margin-bottom: 7px; display: block; color: #535c67; font-size: 9px; font-weight: 700; }
.field-grid label em { color: #969da5; font-style: normal; font-weight: 500; }
input, textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid #d3d0ca;
  border-radius: 9px;
  outline: none;
  font-size: 11px;
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
textarea { min-height: 92px; resize: vertical; line-height: 1.55; }
input:focus, textarea:focus { background: white; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(8,20,36,.07); }
input.invalid, textarea.invalid { border-color: #d63425; }
.field-hint { margin-top: 6px; display: block; color: #899099; font-size: 8px; }
.field-error { min-height: 13px; margin-top: 4px; display: block; color: #c72d20; font-size: 8px; }
.form-actions { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.text-button { padding: 9px 0; color: #646d77; background: transparent; border: 0; cursor: pointer; font-size: 10px; font-weight: 700; text-decoration: none; }
.text-button:hover { color: var(--coral); }

.choice-section + .choice-section { margin-top: 14px; }
.choice-heading { margin-bottom: 17px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.choice-heading > div { display: flex; align-items: center; gap: 10px; }
.choice-heading > div > span { width: 26px; height: 26px; display: grid; place-items: center; color: white; background: var(--ink); border-radius: 50%; font-size: 8px; font-weight: 800; }
.choice-heading h2 { margin: 0; font-size: 16px; letter-spacing: -.025em; }
.choice-heading > p { margin: 0; color: #777f88; font-size: 9px; }
.choice-intro { margin: -7px 0 16px; color: #747c85; font-size: 9px; line-height: 1.6; }
.choice-list { display: grid; gap: 8px; }
.shipping-option, .payment-option { position: relative; min-height: 68px; padding: 12px 15px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 13px; background: #fbfaf7; border: 1px solid #ddd9d3; border-radius: 11px; cursor: pointer; transition: border 150ms ease, background 150ms ease, transform 150ms ease; }
.shipping-option:hover, .payment-option:hover { transform: translateY(-1px); border-color: #aaa8a4; }
.shipping-option:has(input:checked), .payment-option:has(input:checked) { background: #fff9f7; border-color: var(--coral); box-shadow: 0 0 0 2px rgba(255,57,38,.07); }
.shipping-option input, .payment-option input { position: absolute; opacity: 0; pointer-events: none; }
.courier-mark, .payment-icon { width: 39px; height: 39px; display: grid; place-items: center; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 9px; font-size: 8px; font-weight: 800; letter-spacing: -.04em; }
.shipping-option > span:nth-of-type(2) b, .payment-option > span:nth-of-type(2) b { display: block; margin-bottom: 3px; font-size: 10px; }
.shipping-option > span:nth-of-type(2) small, .payment-option > span:nth-of-type(2) small { display: block; color: #818890; font-size: 8px; }
.shipping-option > strong { font-size: 11px; }
.shipping-option > i, .payment-option > i { width: 16px; height: 16px; border: 1px solid #bbb8b3; border-radius: 50%; }
.shipping-option:has(input:checked) > i, .payment-option:has(input:checked) > i { background: radial-gradient(circle, var(--coral) 0 42%, transparent 45%); border-color: var(--coral); }
.quote-meta { display: flex; align-items: flex-end; flex-direction: column; gap: 4px; }
.quote-meta > span { padding: 4px 7px; color: #176a48; background: #e9f8f0; border: 1px solid #c7ead8; border-radius: 999px; font-size: 7px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.quote-meta > p { margin: 0; }
.quote-state { min-height: 96px; padding: 20px; display: grid; place-items: center; align-content: center; gap: 5px; color: #5f6873; background: #fbfaf7; border: 1px dashed #cbc7c0; border-radius: 11px; text-align: center; }
.quote-state > span { width: 18px; height: 18px; border: 2px solid #ded9d2; border-top-color: var(--coral); border-radius: 50%; animation: quote-spin .75s linear infinite; }
.quote-state b { color: #2d333b; font-size: 10px; }
.quote-state small { max-width: 420px; font-size: 8px; line-height: 1.55; }
.quote-state.error { color: #8d4741; background: #fff7f5; border-color: #edc6c1; }
.quote-state.error button { height: 32px; margin-top: 5px; padding: 0 13px; color: #fff; background: var(--coral); border: 0; border-radius: 7px; font: 600 8px Poppins, sans-serif; }
@keyframes quote-spin { to { transform: rotate(360deg); } }
.midtrans-chip { padding: 6px 8px; color: #6e5500; background: #fff3b7; border: 1px solid #ead777; border-radius: 6px; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.midtrans-handoff { grid-column: 1 / -1; cursor: default; }
.midtrans-handoff > i { display: grid; place-items: center; border: 0; font-style: normal; font-weight: 800; }
.payment-option { min-height: 96px; padding: 13px; grid-template-columns: auto 1fr auto; }
.payment-icon { width: 34px; height: 34px; color: white; border: 0; }
.qris-icon { background: #171c28; }
.bank-icon { background: #1a66a8; }
.card-icon { background: var(--gradient); letter-spacing: .14em; }
.choice-section.locked { opacity: .42; pointer-events: none; }
.payment-actions { margin-top: 22px; }
.secure-note { margin: 15px 0 0; color: #777f88; text-align: right; font-size: 8px; }
.secure-note span { color: var(--green); }

.success-card { max-width: 830px; margin: 10px auto; padding: 60px; background: var(--white); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); text-align: center; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 25px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 10px rgba(10,143,98,.09); font-size: 24px; font-weight: 800; }
.success-card .eyebrow { justify-content: center; }
.success-card > p:not(.eyebrow) { max-width: 620px; margin: 18px auto 0; color: #68717b; font-size: 11px; line-height: 1.7; }
.success-details { margin: 35px 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.success-details div { padding: 16px 12px; border-right: 1px solid var(--line); text-align: left; }
.success-details div:last-child { border: 0; }
.success-details span { margin-bottom: 5px; display: block; color: #8a9097; font-size: 7px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.success-details b { display: block; font-size: 9px; }
.success-details .paid-status { color: var(--green); }
.success-actions { display: flex; align-items: center; justify-content: center; gap: 24px; }

dialog { width: min(470px, calc(100% - 30px)); padding: 0; overflow: hidden; background: white; border: 0; border-radius: 20px; box-shadow: 0 30px 100px rgba(8,20,36,.35); }
dialog::backdrop { background: rgba(8,20,36,.65); backdrop-filter: blur(5px); }
.dialog-browserbar { height: 37px; padding: 0 12px; display: flex; align-items: center; gap: 5px; background: #eceff2; border-bottom: 1px solid #d9dde1; }
.dialog-browserbar > i { width: 7px; height: 7px; background: #bbc0c6; border-radius: 50%; }
.dialog-browserbar > span { margin: 0 auto; padding: 4px 32px; color: #747b84; background: white; border-radius: 5px; font: 8px sans-serif; }
.dialog-body { position: relative; padding: 30px; }
.midtrans-wordmark { margin-bottom: 27px; color: #6c2bd9; font-size: 17px; font-weight: 800; letter-spacing: -.04em; }
.midtrans-wordmark span { margin-left: 5px; padding: 3px 5px; color: #775f00; background: #fff3b7; border-radius: 4px; font-size: 7px; letter-spacing: .05em; vertical-align: middle; }
.dialog-close { position: absolute; top: 20px; right: 20px; width: 30px; height: 30px; background: #f2f2f2; border: 0; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; }
.dialog-kicker { margin: 0 0 5px; color: #6c2bd9; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dialog-body h2 { margin: 0; font-size: 27px; letter-spacing: -.04em; }
.dialog-copy { margin: 10px 0 20px; color: #707780; font-size: 9px; line-height: 1.6; }
.dialog-summary { padding: 5px 16px; background: #f7f8fa; border: 1px solid #e0e3e6; border-radius: 10px; }
.dialog-summary div { padding: 10px 0; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid #e0e3e6; font-size: 9px; }
.dialog-summary div:last-child { border: 0; }
.dialog-summary span { color: #777e87; }
.midtrans-pay { width: 100%; min-height: 48px; margin-top: 18px; color: white; background: #6c2bd9; border: 0; border-radius: 8px; cursor: pointer; font-size: 10px; font-weight: 800; }
.midtrans-pay:disabled { opacity: .6; }
.dialog-cancel { width: 100%; padding: 12px; color: #707780; background: transparent; border: 0; cursor: pointer; font-size: 9px; font-weight: 700; }
.dialog-security { margin: 8px 0 0; color: #7f858c; text-align: center; font-size: 7px; }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 25px; padding: 11px 16px; color: white; background: var(--ink); border-radius: 9px; box-shadow: 0 12px 35px rgba(8,20,36,.25); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity 180ms ease, transform 180ms ease; font-size: 9px; font-weight: 700; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.return-shell { width: min(900px, calc(100% - 32px)); min-height: calc(100vh - 170px); margin: 55px auto; display: grid; place-items: center; }
.return-card { width: 100%; }
.pending-icon { background: #d29a00; }
.return-shell.confirmed .pending-icon { background: var(--green); }

footer { width: min(1320px, calc(100% - 64px)); margin: 0 auto; padding: 35px 0 45px; display: flex; align-items: center; gap: 30px; border-top: 1px solid var(--line); }
footer img { width: 105px; }
footer p { margin: 0 auto 0 0; color: #757c84; font-size: 8px; }
footer a { color: var(--ink); font-size: 9px; font-weight: 800; text-underline-offset: 3px; }

@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 1080px) {
  .checkout-shell { grid-template-columns: minmax(0, 1fr) 330px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: 190px 1fr; }
  .product-art { height: 215px; }
  .payment-grid { grid-template-columns: 1fr; }
  .success-details { grid-template-columns: 1fr 1fr; }
  .success-details div:nth-child(2) { border-right: 0; }
  .success-details div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 800px) {
  .checkout-header, .sandbox-banner, .checkout-shell, footer { width: min(100% - 32px, 680px); }
  .progress { width: min(100% - 32px, 590px); }
  .checkout-shell { grid-template-columns: 1fr; }
  .checkout-content { grid-row: 1; }
  .cart-summary { position: static; grid-row: 2; }
  .checkout-content.content-wide { grid-row: 1; }
  .section-heading { margin-top: 18px; }
}

@media (max-width: 560px) {
  .checkout-header { height: 76px; }
  .brand img { width: 106px; }
  .sandbox-pill { padding: 7px 9px; font-size: 7px; }
  .cart-shortcut { padding: 7px 9px; font-size: 7px; }
  .sandbox-banner { align-items: flex-start; }
  .sandbox-banner p { font-size: 9px; }
  .progress { margin: 28px auto 35px; }
  .progress li b { max-width: 70px; text-align: center; font-size: 7px; line-height: 1.3; }
  .checkout-shell { margin-bottom: 65px; }
  .section-heading { display: block; }
  .section-heading h1 { font-size: 40px; }
  .demo-label { margin-top: 16px; display: inline-block; }
  .product-card { grid-template-columns: 135px 1fr; }
  .product-art { height: 210px; }
  .product-art::after { display: none; }
  .product-art > span { width: 72px; height: 98px; padding-top: 28px; font-size: 17px; }
  .product-art i { top: 111px; width: 41px; left: calc(50% - 20px); }
  .product-art b { top: 137px; }
  .product-copy { padding: 16px; }
  .product-copy h2 { font-size: 14px; }
  .product-copy > small { font-size: 8px; }
  .product-copy > div { align-items: flex-start; flex-direction: column; }
  .field-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  fieldset, .choice-section { padding: 20px; }
  .shipping-option { grid-template-columns: auto 1fr auto; }
  .shipping-option > strong { grid-column: 2; }
  .shipping-option > i { grid-row: 1 / span 2; grid-column: 3; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions .primary-button { width: 100%; }
  .payment-actions { flex-direction: column-reverse; }
  .secure-note { text-align: center; }
  .success-card { padding: 40px 22px; }
  .success-card h1 { font-size: 36px; }
  .success-details { grid-template-columns: 1fr; }
  .success-details div { border-right: 0; border-bottom: 1px solid var(--line); }
  .success-details div:nth-child(3) { border-bottom: 1px solid var(--line); }
  .success-actions { flex-direction: column; gap: 8px; }
  footer { align-items: flex-start; flex-wrap: wrap; }
  footer p { flex: 1; }
  footer a { width: 100%; }
  .dialog-body { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
