:root {
  --checkout-indigo: #1D2438;
  --checkout-sand: #F3E9D8;
  --checkout-gold: #c5a054;
  --checkout-gold-ink: #79591d;
  --checkout-ink: #273048;
  --checkout-muted: #554f4a;
}

* { box-sizing: border-box; }

.checkout-page {
  min-height: 100vh;
  margin: 0;
  background: var(--checkout-sand);
  color: var(--checkout-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 10;
  padding: .75rem 1rem;
  background: var(--checkout-gold);
  color: var(--checkout-indigo);
  font-family: "Cinzel", serif;
  font-size: .75rem;
}
.skip-link:focus { top: 1rem; }

.checkout-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 5vw, 5.5rem);
  background: var(--checkout-indigo);
  border-bottom: 1px solid rgba(201, 168, 76, .38);
}
.checkout-brand,
.checkout-return { color: var(--checkout-sand); text-decoration: none; }
.checkout-brand { font-family: "Cinzel", serif; font-size: clamp(.85rem, 1.8vw, 1.1rem); letter-spacing: .095em; }
.checkout-return { border-bottom: 1px solid rgba(201, 168, 76, .7); padding-bottom: .18rem; font-family: "Cormorant SC", serif; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.checkout-brand:hover, .checkout-brand:focus,
.checkout-return:hover, .checkout-return:focus { color: var(--checkout-gold); }

.checkout-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 4.5vw, 3.75rem) 1.5rem clamp(2rem, 4vw, 3.15rem);
  color: var(--checkout-sand);
  background:
    radial-gradient(circle at 15% 15%, rgba(201,168,76,.15), transparent 28rem),
    radial-gradient(circle at 85% 82%, rgba(243,233,216,.07), transparent 24rem),
    var(--checkout-indigo);
}
.checkout-intro-inner { position: relative; z-index: 1; max-width: 740px; margin: 0 auto; text-align: center; }
.checkout-eyebrow { margin: 0 0 .7rem; color: #e8cb8e; font-family: "Cormorant SC", serif; font-size: .75rem; letter-spacing: .19em; text-transform: uppercase; }
.checkout-intro h1 { margin: 0; color: var(--checkout-sand); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.85rem, 6vw, 4.6rem); font-style: italic; font-weight: 400; letter-spacing: -.035em; line-height: .94; }
.checkout-lede { max-width: 560px; margin: .8rem auto 0; color: rgba(243,233,216,.87); font-size: clamp(1.12rem, 2vw, 1.32rem); line-height: 1.42; }

.checkout-shell {
  width: min(1120px, calc(100% - 2.5rem));
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3.3rem);
  margin: clamp(-1.5rem, -2.7vw, -2.6rem) auto clamp(2.2rem, 5vw, 3.75rem);
  padding: clamp(1.15rem, 3vw, 2.7rem) clamp(1.25rem, 4vw, 4rem) clamp(1.4rem, 2.5vw, 2.25rem);
  background: var(--checkout-sand);
}

.product-showcase { display: grid; min-width: 0; place-items: center; }
.product-image {
  display: block;
  width: auto;
  height: min(405px, 34vw);
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 21px 18px rgba(29,36,56,.25));
}

.order-content { max-width: 520px; padding: .65rem 0; }
.order-content h2 {
  margin: 0;
  color: var(--checkout-indigo);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.35rem, 4.25vw, 3.7rem);
  font-weight: 500;
  line-height: .99;
}
.summary-description { max-width: 495px; margin: 1rem 0 .9rem; color: var(--checkout-muted); font-size: clamp(1.12rem, 1.6vw, 1.27rem); line-height: 1.46; }
.offer-price { margin: 0; color: var(--checkout-indigo); font-family: "Cormorant SC", serif; font-size: clamp(1.12rem, 1.8vw, 1.35rem); font-weight: 600; letter-spacing: .04em; line-height: 1.35; }
.offer-price strong { font-family: "Cinzel", serif; font-size: 1.08em; }
.order-price-note { margin: .18rem 0 0; color: var(--checkout-muted); font-size: .98rem; line-height: 1.35; text-align: center; }
.purchase-action { max-width: 485px; margin-top: 1.3rem; }
.order-buy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  width: 100%;
  margin: 0;
  padding: 1.08rem 1.25rem;
  border: 1px solid var(--checkout-gold);
  background: var(--checkout-gold);
  color: var(--checkout-indigo);
  font-family: "Cormorant SC", serif;
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.order-buy-button:hover, .order-buy-button:focus-visible { background: var(--checkout-indigo); color: var(--checkout-sand); outline: none; transform: translateY(-1px); }
.order-buy-button span { font-family: Georgia, serif; font-size: 1.35em; line-height: .5; }
.checkout-note { max-width: 470px; margin: .72rem 0 0; color: var(--checkout-muted); font-size: .98rem; font-style: italic; line-height: 1.35; }

.checkout-footer { display: grid; place-items: center; gap: .55rem; padding: .5rem 1rem 2.5rem; background: var(--checkout-sand); color: var(--checkout-indigo); text-align: center; }
.checkout-footer img { width: 54px; opacity: .78; }
.checkout-footer p { margin: 0; font-family: "Cormorant SC", serif; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }

.confirmation-card { width: min(680px, calc(100% - 2.5rem)); margin: clamp(-2.4rem, -4vw, -4rem) auto 5rem; padding: clamp(2.2rem, 6vw, 5rem); border: 1px solid rgba(29,36,56,.13); background: var(--checkout-sand); box-shadow: 0 28px 70px rgba(29,36,56,.15); text-align: center; }
.confirmation-mark { width: 58px; margin: 0 auto 1.4rem; }
.confirmation-card h1 { margin: 0; color: var(--checkout-indigo); font-size: clamp(2.4rem, 4.6vw, 3.7rem); font-style: italic; font-weight: 400; line-height: 1.03; }
.confirmation-card p { max-width: 510px; margin: 1.25rem auto 0; color: var(--checkout-muted); font-size: 1.2rem; line-height: 1.5; }
.confirmation-card .confirmation-actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.confirmation-card .confirmation-actions a { padding: .75rem 1rem; border: 1px solid var(--checkout-indigo); color: var(--checkout-indigo); font-family: "Cormorant SC", serif; font-size: .75rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.confirmation-card .confirmation-actions a.primary { border-color: var(--checkout-gold); background: var(--checkout-gold); }

@media (max-width: 780px) {
  .checkout-nav { min-height: 65px; }
  .checkout-return { font-size: .65rem; }
  .checkout-shell { grid-template-columns: 1fr; width: min(100% - 1.4rem, 620px); gap: .6rem; margin-top: 0; padding: 1.1rem 1.15rem 2.1rem; }
  .product-image { height: min(245px, 62vw); }
  .order-content { max-width: 510px; padding: .2rem 0 0; }
  .order-content h2 { font-size: 2.45rem; }
  .summary-description { margin-top: .8rem; }
  .offer-price { width: 100%; }
  .purchase-action { margin-top: 1rem; }
}

@media (max-width: 440px) {
  .checkout-nav { padding: 1rem; }
  .checkout-intro { padding: 1.6rem 1rem 1.8rem; }
  .checkout-intro h1 { font-size: 2.7rem; }
  .checkout-shell { width: calc(100% - 1rem); padding-inline: 1rem; }
  .product-image { height: min(215px, 55vw); }
  .order-content h2 { font-size: 2.25rem; }
  .summary-description { font-size: 1.08rem; }
}
