:root { color-scheme: light; font: 16px/1.55 Arial, sans-serif; color: #242322; background: #f4f2ef; }
* { box-sizing: border-box; }
body { margin: 0; }
.shop { width: min(1120px, 100% - 32px); margin: 0 auto 40px; }
.brand { display: flex; align-items: center; gap: 12px; padding: 18px 0; font-weight: 700; }
.brand img { object-fit: contain; }
.demo-banner { margin: 0 0 18px; padding: 12px 16px; border: 1px solid #d8bb65; border-radius: 8px; background: #fff3c9; color: #57400c; }
.layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.product, .order, .panel { background: #fff; border: 1px solid #e1ddd8; border-radius: 16px; padding: clamp(16px, 3vw, 30px); min-width: 0; }
.panel { margin-bottom: 18px; }
.kicker { margin: 0; color: #8e2523; font-size: .83rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
h1, h2 { line-height: 1.2; margin: .35em 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.price { font-size: 2.4rem; font-weight: 700; margin: 0 0 .3em; }
figure { margin: 18px 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 10px; }
figcaption, .fine, caption { font-size: .88rem; color: #534e49; }
summary { cursor: pointer; font-weight: 700; color: #8e2523; padding: 8px 0; }
.measurement { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e1ddd8; }
thead { background: #f4f2ef; }
caption { text-align: left; padding: 8px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.size-guide summary { padding-bottom: 12px; }
.size-guide .table-scroll { border: 1px solid #e1ddd8; border-radius: 10px; }
.size-table { font-size: .9rem; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 6px clamp(4px, 1.15vw, 12px); text-align: center; }
.size-table thead th { white-space: nowrap; }
.size-table tbody th { background: #faf8f6; }
.size-table .size-equivalent { background: #f2efeb; }
.size-table .size-measure { background: #fcf6f5; }
.size-table thead .size-measure { background: #f5e6e4; color: #752422; }
.size-table .measure-start { border-left: 2px solid #dcc4be; }
.size-table tbody tr:last-child > * { border-bottom: 0; }
.measure-key { display: flex; flex-wrap: wrap; gap: 5px 16px; margin: 12px 0 6px; font-size: .86rem; }
.measure-key div { display: flex; align-items: baseline; gap: 5px; }
.measure-key dt { font-weight: 700; color: #8e2523; }
.measure-key dd { margin: 0; }
.size-guide .fine { margin: 8px 0 4px; }
.names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wide { grid-column: 1 / -1; }
.field { display: grid; gap: 4px; margin-bottom: 12px; }
.quantities { margin: 0 0 12px; padding: 8px 12px 12px; min-width: 0; border: 1px solid #e1ddd8; border-radius: 8px; }
.quantities legend, .order-total { font-weight: 700; }
.quantities p { margin: 0 0 8px; }
.quantity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(63px, 1fr)); gap: 8px; }
.quantity-grid label { display: grid; gap: 3px; }
.order-total { margin: 10px 0; }
label { font-weight: 700; }
input, select, button { font: inherit; }
input, select { width: 100%; min-width: 0; border: 1px solid #837d78; border-radius: 6px; padding: 8px; background: white; color: #242322; }
button { cursor: pointer; color: white; background: #b8312f; padding: 8px 13px; border: 0; border-radius: 6px; font-weight: 700; }
button:hover { background: #8e2523; }
.order button { width: 100%; }
.order button:disabled { background: #ece7e3; color: #514945; cursor: default; }
.order-preview { margin: 0 0 15px; font-size: .9rem; }
.bank-details { margin-top: 22px; padding-top: 16px; border-top: 1px solid #e1ddd8; }
.bank-details h3 { font-size: 1rem; margin: 0 0 10px; }
.bank-details dl { margin: 0; font-size: .9rem; }
.bank-details dl > div { margin-top: 10px; }
.bank-details dt { font-weight: 700; color: #534e49; }
.bank-details dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.payment-callout { margin: 14px 0 20px; padding: 14px; border: 1px solid #e1c4be; border-left: 4px solid #b8312f; border-radius: 8px; background: #fcf6f5; }
.payment-callout > strong { color: #8e2523; }
.payment-callout p { margin: 6px 0 0; }
.review-actions { display: grid; gap: 10px; margin-top: 18px; }
.review-actions button:disabled { background: #ece7e3; color: #514945; cursor: default; }
button.secondary { background: #f4f2ef; color: #8e2523; border: 1px solid #dcc4be; }
#preview-review { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid #e1ddd8; border-radius: 16px; padding: 24px; color: #242322; }
#preview-review::backdrop { background: rgb(0 0 0 / .4); }
.payment-reminder { margin: 10px 0 12px; }
.payment-qr { margin-top: 20px; }
.payment-qr canvas { display: block; width: min(100%, 240px); height: auto; background: #fff; }
.payment-qr button { background: #f4f2ef; color: #8e2523; border: 1px solid #dcc4be; font-size: .9rem; }
.payment-form { width: min(340px, 70vw); white-space: normal; }
.payment-form label { display: grid; gap: 3px; }
.payment-form label:has(input[type="checkbox"]) { display: block; }
.payment-form input { width: 100%; }
.paypal-payment { margin-top: 18px; }
.paypal-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.paypal-logo { display: block; width: 96px; height: auto; flex: 0 0 auto; }
.paypal-payment p { margin: 6px 0; overflow-wrap: anywhere; }
.billing-summary { font-weight: 400; }
.billing-summary p { white-space: normal; min-width: 160px; font-size: .9rem; }
a, .error { color: #8e2523; }
.notice { background: #f8eeea; padding: 10px; border-radius: 6px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.deadline-form { max-width: 350px; }
.orders th, .orders td { white-space: nowrap; }
.delete { margin-top: 5px; }
.delete form { display: grid; gap: 6px; }
.delete .quantity-grid { width: min(320px, 65vw); }
.delete label { font-weight: 400; }
.delete input { width: auto; }
.delete .quantity-grid input { width: 100%; }
@media (max-width: 760px) { .layout { grid-template-columns: minmax(0, 1fr); } }

/* Shared checkout rhythm: selection, review, then one coherent payment area. */
.checkout-shop { max-width: 780px; }
.layout.checkout-layout { display: block; }
.checkout-title { font-size: clamp(1.55rem, 4vw, 2rem); line-height: 1.2; margin: 0 0 10px; }
.checkout-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 760px; margin: 0 auto 22px; padding: 0; list-style: none; }
.checkout-steps li { display: flex; align-items: center; gap: 8px; color: #77716c; font-size: .9rem; }
.checkout-steps li > span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border: 1px solid #d9d2cb; border-radius: 50%; font-size: .8rem; }
.checkout-steps .is-current { color: #242322; font-weight: 700; }
.checkout-steps .is-current > span { background: #b8312f; border-color: #b8312f; color: #fff; }
.checkout-steps .is-complete > span { color: #8e2523; background: #f6e9e6; border-color: #e4cbc4; }
.status-label { display: inline-block; margin: 0 0 12px; padding: 3px 9px; border-radius: 20px; background: #eef5ef; color: #2c6240; font-size: .78rem; font-weight: 700; }
.order-reference { margin: 0 0 12px; font-size: .85rem; color: #6d665f; }
.summary-product { display: flex; align-items: center; gap: 16px; padding: 20px 0 16px; }
.summary-product img { display: block; flex: 0 0 96px; width: 96px; height: 72px; object-fit: contain; border: 1px solid #eee9e3; border-radius: 8px; }
.summary-product h2 { margin: 2px 0; font-size: 1.15rem; }
.summary-product .kicker { font-size: .72rem; }
.summary-product p { margin: 0; }
.summary-items { font-variant-numeric: tabular-nums; }
.summary-items thead { background: #f7f5f2; color: #6d665f; }
.summary-items thead th { font-size: .8rem; font-weight: 400; }
.summary-items th, .summary-items td { padding: 12px; }
.summary-items th:nth-child(2), .summary-items td:nth-child(2) { text-align: center; }
.summary-items th:last-child, .summary-items td:last-child { text-align: right; white-space: nowrap; }
.summary-items tbody th { font-weight: 400; }
.summary-items tfoot th { text-align: left; }
.summary-items tfoot th, .summary-items tfoot td { padding-top: 16px; border: 0; font-weight: 700; }
.summary-items tfoot td { font-size: 1.5rem; }
.summary-contact { margin-top: 8px; border-top: 1px solid #eee9e3; }
.summary-contact summary { font-size: .83rem; font-weight: 400; padding: 12px 0; color: #6d665f; }
.summary-contact p { margin: 0 0 14px; font-size: .9rem; overflow-wrap: anywhere; }
.payment-note { padding: 16px 0 0; margin: 18px 0 0; border: 0; border-top: 1px solid #e8e2db; border-radius: 0; background: transparent; font-size: .88rem; line-height: 1.5; color: #6d665f; }
.payment-note > strong { color: #534e49; font-weight: 600; }
.payment-note p { margin: 4px 0 0; }
.review-actions { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: 'back submit'; gap: 12px; margin-top: 24px; }
.review-actions > :not(.secondary) { grid-area: submit; }
.review-actions > .secondary { grid-area: back; }
.review-actions button { padding: 12px 16px; }
.order-tools { margin: 14px 0 0; font-size: .88rem; }
.payment-section { padding-top: 24px; margin-top: 24px; }
.payment-state { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.payment-state h2 { margin: 3px 0 0; font-size: 1.35rem; }
.payment-state .kicker { font-size: .72rem; color: #77716c; }
.remaining-amount { text-align: right; flex-shrink: 0; }
.remaining-amount span { display: block; color: #6d665f; font-size: .78rem; }
.remaining-amount strong { display: block; font-size: 1.8rem; line-height: 1.25; }
.payment-state.is-paid { padding: 16px; background: #eef5ef; border-radius: 10px; color: #2c6240; }
.payment-state.is-paid > strong { font-size: 1.5rem; white-space: nowrap; }
.payment-intro { margin: 12px 0 18px; }
.payment-method { border: 1px solid #dfd8d0; border-radius: 10px; margin-top: 12px; overflow: hidden; }
.payment-method > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; color: #242322; list-style: none; }
.payment-method > summary::-webkit-details-marker { display: none; }
.payment-method > summary strong { display: block; font-size: 1rem; }
.payment-method > summary small { display: block; margin-top: 3px; font-size: .8rem; line-height: 1.4; font-weight: 400; color: #6d665f; }
.method-chevron { width: 8px; height: 8px; flex: 0 0 8px; margin-right: 2px; border-right: 1.5px solid #6d665f; border-bottom: 1.5px solid #6d665f; transform: rotate(45deg); }
.payment-method[open] > summary .method-chevron { transform: rotate(225deg); }
.method-body { border-top: 1px solid #eee9e3; padding: 18px; }
.transfer-content { display: grid; grid-template-columns: minmax(0, 1fr) 192px; gap: 24px; align-items: start; }
.bank-details .payment-facts { margin: 0; }
.bank-details .payment-facts > div { margin: 0 0 14px; }
.bank-details .payment-facts > div:last-child { margin-bottom: 0; }
.payment-facts dt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .76rem; font-weight: 400; color: #77716c; }
.payment-facts dd { margin: 3px 0 0; font-size: .95rem; font-weight: 500; }
.payment-section .payment-qr { margin: 0; width: 192px; max-width: 100%; text-align: center; }
.payment-qr[hidden] { display: none; }
.payment-section .payment-qr canvas { width: 192px; max-width: 100%; }
.payment-section .payment-qr p { margin: 8px 0 10px; font-size: .75rem; line-height: 1.45; }
.payment-section .payment-qr button { font-size: .76rem; padding: 8px; }
.order .copy-button { width: auto; padding: 0; flex-shrink: 0; border: 0; border-radius: 0; color: #8e2523; background: transparent; font-size: .72rem; font-weight: 400; text-decoration: underline; }
.button-link { display: inline-block; padding: 10px 16px; border: 1px solid #d8cfc5; border-radius: 6px; text-decoration: none; font-size: .9rem; font-weight: 700; color: #242322; background: #f7f5f2; }
.paypal-open { margin-top: 18px; }
.paypal-payment .method-body > .fine { margin-top: 12px; font-size: .8rem; }
.payment-footnote { margin: 18px 0 0; font-size: .8rem; }
.fulfilment-note { margin-top: 24px; }
.account-actions { margin-top: 24px; border-top: 1px solid #eee9e3; padding-top: 16px; font-size: .83rem; }
.order .quiet-button { width: auto; padding: 0; color: #6d665f; background: transparent; border: 0; font-size: .83rem; font-weight: 400; text-decoration: underline; }
@media (max-width: 640px) {
  .transfer-content { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .payment-section .payment-qr { justify-self: center; border-top: 1px solid #eee9e3; width: 100%; padding-top: 12px; }
  .payment-section .payment-qr canvas { margin: 0 auto; }
  .payment-section .payment-qr button { width: auto; }
  .payment-state { align-items: flex-start; gap: 12px; }
  .remaining-amount strong { font-size: 1.5rem; }
}
@media (max-width: 400px) {
  .checkout-steps { gap: 5px; }
  .checkout-steps li { font-size: .76rem; gap: 5px; }
  .checkout-steps li > span { flex-basis: 24px; height: 24px; }
  .review-actions { grid-template-columns: 1fr; grid-template-areas: 'submit' 'back'; }
  .payment-state h2 { font-size: 1.15rem; }
  .summary-items th, .summary-items td { padding-left: 8px; padding-right: 8px; }
}
