:root {
  --ink: #231b18;
  --muted: #756b66;
  --cream: #fffaf2;
  --paper: #ffffff;
  --line: #eadfd4;
  --red: #a92f28;
  --red-dark: #85231e;
  --gold: #c99438;
  --shadow: 0 18px 60px rgba(47, 33, 24, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--cream); }
.wrap { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.hero { padding: 76px 0 64px; background: radial-gradient(circle at 90% 10%, rgba(201,148,56,.18), transparent 32%), var(--red); color: white; }
.hero h1 { max-width: 800px; margin: 12px 0 18px; font-family: Georgia, serif; font-size: clamp(42px, 7vw, 82px); line-height: .98; letter-spacing: -0.04em; }
.hero p { max-width: 620px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.82); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.products { padding: 72px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
h2 { margin: 8px 0 0; font-family: Georgia, serif; font-size: clamp(34px, 5vw, 54px); letter-spacing: -.03em; }
.mini-total { padding: 14px 18px; background: white; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.mini-total strong { margin-left: 8px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.product-card.featured { border-color: rgba(169,47,40,.45); }
.badge { position: absolute; z-index: 2; top: 16px; right: 16px; padding: 8px 11px; border-radius: 999px; background: var(--red); color: white; font-size: 12px; font-weight: 800; }
.image-placeholder { aspect-ratio: 4/3; display: grid; place-items: center; background: linear-gradient(135deg, #f1e8dd, #fff9f1); border-bottom: 1px dashed #d7c8b8; color: #9b8c7e; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.product-body { padding: 22px; }
.product-row { display: flex; justify-content: space-between; align-items: start; gap: 14px; }
.product-row h3 { margin: 0; font-size: 21px; }
.product-row strong { color: var(--red); white-space: nowrap; font-size: 19px; }
.description-placeholder { margin: 10px 0 20px; color: var(--muted); min-height: 24px; }
label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.stepper { display: grid; grid-template-columns: 42px 1fr 42px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stepper button { border: 0; background: #f8f1e8; cursor: pointer; font-size: 22px; color: var(--ink); }
.stepper input { width: 100%; border: 0; text-align: center; font: inherit; padding: 11px 4px; background: white; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.checkout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; padding: 54px; margin-bottom: 72px; background: white; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.checkout > div p { color: var(--muted); line-height: 1.65; max-width: 420px; }
form { display: grid; gap: 18px; }
form input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 14px 15px; font: inherit; background: #fffdfa; outline: none; }
form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(169,47,40,.09); }
.order-summary { margin-top: 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; display: grid; gap: 10px; }
.order-summary > div { display: flex; justify-content: space-between; gap: 20px; }
.grand-total { font-size: 22px; }
.grand-total strong { color: var(--red); }
.pay-button { border: 0; border-radius: 14px; padding: 16px 20px; font: inherit; font-weight: 850; cursor: pointer; background: var(--red); color: white; transition: .18s ease; }
.pay-button:hover { background: var(--red-dark); transform: translateY(-1px); }
.pay-button:disabled { opacity: .65; cursor: wait; transform: none; }
.secure-note { margin: -8px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff0ef; color: #8f201b; font-size: 14px; }
footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.status-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.status-card { width: min(580px, 100%); padding: 42px; border-radius: 28px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.status-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #f5eee7; font-size: 32px; }
.status-card h1 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 42px; }
.status-card p { color: var(--muted); line-height: 1.6; }
.back-link { display: inline-block; margin-top: 12px; color: var(--red); font-weight: 800; text-decoration: none; }
@media (max-width: 820px) {
  .product-grid { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1fr; padding: 30px 22px; gap: 28px; }
  .section-heading { align-items: start; flex-direction: column; }
  .hero { padding: 58px 0 52px; }
}
