:root {
  --ivory: #f5f1e8;
  --paper: #fbf9f4;
  --ink: #1d1b18;
  --muted: #706b62;
  --line: #d9d2c6;
  --gold: #a77a3f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.checkout-header { min-height: 86px; padding: 18px max(24px, calc((100vw - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 18px; letter-spacing: .08em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--sans); font-size: 9px; letter-spacing: .12em; }
.secure-label { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.secure-label span { margin-right: 8px; color: var(--gold); }
.checkout-shell { width: min(1280px, 100%); margin: auto; display: grid; grid-template-columns: 1.08fr .92fr; }
.checkout-main { padding: 65px clamp(32px, 7vw, 100px) 90px max(24px, calc((100vw - 1280px) / 2)); }
.back-link { display: inline-block; margin-bottom: 52px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid transparent; }
.back-link:hover { border-color: currentColor; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(52px, 5vw, 76px); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.intro-copy { max-width: 570px; margin: 24px 0 50px; color: var(--muted); font-family: var(--serif); font-size: 16px; line-height: 1.65; }
.form-section { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 34px 0; border-top: 1px solid var(--line); }
.section-number { color: var(--gold); font-family: var(--serif); font-size: 18px; }
.section-heading { margin-bottom: 26px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.section-heading p { margin: 0; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field span { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.field input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); font-family: var(--serif); font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgb(167 122 63 / .09); }
.field input[readonly] { background: var(--ivory); color: var(--muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 24px 60px; color: var(--muted); font-size: 11px; line-height: 1.55; cursor: pointer; }
.consent input { margin-top: 2px; accent-color: var(--ink); }
.checkout-status { min-height: 21px; margin-left: 60px; color: #9d3d2e; font-size: 11px; line-height: 1.5; }
.checkout-status.success { color: #54714e; }
.pay-button { width: calc(100% - 60px); min-height: 58px; margin-left: 60px; padding: 0 24px; border: 0; background: var(--ink); color: white; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .25s, transform .25s; }
.pay-button:hover:not(:disabled) { background: var(--gold); transform: translateY(-2px); }
.pay-button:disabled { cursor: wait; opacity: .65; }
.pay-button strong { font-family: var(--serif); font-size: 17px; font-weight: 400; letter-spacing: 0; }
.payment-note { margin: 13px 0 0 60px; color: #969086; font-size: 9px; line-height: 1.5; }
.order-panel { background: #201e1a; color: #f4eee4; }
.order-panel-inner { position: sticky; top: 0; min-height: calc(100vh - 86px); padding: 70px clamp(28px, 6vw, 90px); display: flex; flex-direction: column; }
.order-panel h2 { margin: 0 0 35px; font-family: var(--serif); font-size: 38px; font-weight: 400; }
.summary-items { border-top: 1px solid #403d37; }
.summary-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid #403d37; }
.summary-item img { width: 74px; height: 86px; object-fit: cover; }
.summary-item h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 17px; font-weight: 400; }
.summary-item p { margin: 0; color: #9b968e; font-size: 9px; line-height: 1.5; }
.summary-item > strong { font-family: var(--serif); font-size: 16px; font-weight: 400; }
.summary-totals { margin-top: 28px; }
.summary-totals > div { display: flex; justify-content: space-between; gap: 22px; margin: 12px 0; color: #a9a49b; font-size: 10px; }
.summary-grand { margin-top: 24px !important; padding-top: 20px; border-top: 1px solid #403d37; align-items: baseline; color: #f4eee4 !important; }
.summary-grand span { font-family: var(--serif); font-size: 18px; }
.summary-grand strong { font-family: var(--serif); font-size: 27px; font-weight: 400; }
.checkout-assurance { margin-top: auto; padding-top: 36px; display: flex; gap: 13px; color: #8f8a82; font-size: 9px; line-height: 1.6; }
.checkout-assurance > span { flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #6e5a3f; border-radius: 50%; color: #d1a568; }
.checkout-assurance p { margin: 0; }
.checkout-assurance strong { color: #ddd5c9; font-weight: 600; }
.summary-empty { padding: 40px 0; text-align: center; color: #a9a49b; font-family: var(--serif); }
.summary-empty a { color: #d4aa70; border-bottom: 1px solid currentColor; }
.success-page { min-height: 100vh; padding: 32px; display: grid; place-items: center; background: var(--ivory); }
.success-card { width: min(650px, 100%); padding: clamp(42px, 8vw, 85px); border: 1px solid var(--line); background: var(--paper); text-align: center; box-shadow: 0 26px 70px rgb(53 42 29 / .1); }
.success-card .brand { justify-content: center; margin-bottom: 58px; }
.success-icon { width: 58px; height: 58px; margin: 0 auto 28px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 22px; }
.success-card h1 { font-size: clamp(45px, 7vw, 68px); }
.success-card > p:not(.eyebrow) { max-width: 470px; margin: 24px auto; color: var(--muted); font-family: var(--serif); font-size: 16px; line-height: 1.65; }
.order-reference { margin: 34px 0; padding: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.order-reference span { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.order-reference strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.return-button { min-height: 54px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: white; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

@media (max-width: 900px) {
  .checkout-shell { grid-template-columns: 1fr; }
  .checkout-main { padding: 55px 28px 80px; }
  .order-panel { grid-row: 1; }
  .order-panel-inner { position: static; min-height: auto; padding: 48px 28px; }
  .checkout-assurance { margin-top: 38px; }
}

@media (max-width: 560px) {
  .checkout-header { min-height: 72px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 30px; height: 30px; }
  .secure-label { font-size: 7px; }
  .order-panel-inner { padding: 42px 20px; }
  .checkout-main { padding: 48px 20px 70px; }
  .back-link { margin-bottom: 38px; }
  .form-section { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 7px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .consent, .checkout-status, .payment-note { margin-left: 0; }
  .pay-button { width: 100%; margin-left: 0; }
}
