/* ==========================================================================
   Window to the Womb — Gift Vouchers
   GIFT-2608

   Design notes, because the next person will wonder:

   - NO WEB FONTS. Not one. This page set is bought on phones, often on poor
     connections, often at 11pm. A self-hosted display face costs 40-80kb and a
     layout shift; Georgia is on every device already and looks right for the
     brand. If a licensed face is ever added, drop the @font-face in below and
     keep the same stack order so nothing else changes.
   - Everything is a token. Colour, spacing, radius, shadow. Changing the brand
     is changing the :root block, not hunting hex codes.
   - Mobile first, and genuinely: the long-form checkout is designed for a
     thumb, and the desktop layout is the enhancement.
   - Respects prefers-reduced-motion and prefers-colour-scheme is deliberately
     NOT honoured: a gift voucher is a warm, light, printable object, and a dark
     inversion of it looks broken.
   ========================================================================== */

/* 27 Nov 2026: the gift shop now wears the new website's identity. The two
   faces are the website's own self-hosted files on the same domain, already
   cached by anyone arriving from the website, so they cost nothing extra. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/figtree-latin.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 650; font-display: swap; src: url(/fonts/fraunces-latin.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces Fallback'; src: local('Georgia'); size-adjust: 102%; ascent-override: 92%; descent-override: 24%; }

:root {
    /* Brand ---------------------------------------------------------- */
    --teal-900: #134246;
    --teal-800: #1b5a5f;
    --teal-700: #1b5a5f;   /* deep teal, the website's primary (27 Nov 2026) */
    --teal-500: #65c9cb;
    --teal-200: #a9e0e1;
    --teal-100: #dff3f3;
    --teal-050: #f2f8f8;

    --blush-500: #c9b1bd;
    --blush-100: #f3ecef;
    --sand-100:  #FAF5EE;
    --sand-200:  #F0E6D8;

    --ink:      #134246;
    --body:     #24323c;
    --muted:    #586874;
    --line:     #d7e3e5;
    --line-soft:#EFF4F3;
    --white:    #FFFFFF;

    --danger:   #B3261E;
    --danger-bg:#FDECEA;
    --success:  #1E7A4B;
    --success-bg:#E8F5EE;
    --warn:     #8A6100;
    --warn-bg:  #FFF6E0;

    /* Type ----------------------------------------------------------- */
    --font-display: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
    --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
    --step-0:  clamp(1.00rem, 0.97rem + 0.15vw, 1.09rem);
    --step-1:  clamp(1.20rem, 1.13rem + 0.35vw, 1.42rem);
    --step-2:  clamp(1.45rem, 1.31rem + 0.68vw, 1.90rem);
    --step-3:  clamp(1.75rem, 1.50rem + 1.25vw, 2.60rem);
    --step-4:  clamp(2.05rem, 1.60rem + 2.25vw, 3.40rem);

    /* Space, radius, shadow ------------------------------------------ */
    --s1: 0.25rem; --s2: 0.5rem;  --s3: 0.75rem; --s4: 1rem;
    --s5: 1.5rem;  --s6: 2rem;    --s7: 3rem;    --s8: 4rem;  --s9: 6rem;

    --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(22,48,44,.06);
    --shadow-md: 0 2px 4px rgba(22,48,44,.05), 0 8px 24px rgba(22,48,44,.07);
    --shadow-lg: 0 4px 8px rgba(22,48,44,.05), 0 24px 48px rgba(22,48,44,.10);

    --wrap: 1120px;
    --wrap-narrow: 720px;
}

/* Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 var(--s4);
    font-weight: 600;
    letter-spacing: -0.01em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }

:focus-visible {
    outline: 3px solid var(--teal-500);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--teal-800); color: #fff; padding: var(--s3) var(--s4);
    border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Layout ------------------------------------------------------------- */
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--s7); }
.section--tight { padding-block: var(--s6); }
@media (min-width: 48em) { .section { padding-block: var(--s8); } }

.stack > * + * { margin-top: var(--s4); }
.stack-lg > * + * { margin-top: var(--s6); }

.lede { font-size: var(--step-1); color: var(--body); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* Header / footer ----------------------------------------------------- */
.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--white);
    position: sticky; top: 0; z-index: 40;
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s4); min-height: 68px;
}
.site-header__brand {
    display: inline-flex; align-items: baseline; gap: var(--s2);
    font-family: var(--font-display); font-size: 1.15rem; color: var(--ink);
    text-decoration: none; font-weight: 600;
}
.site-header__brand { align-items: center; gap: .75rem; }
.site-header__brand span { color: var(--ink); font-size: 1.05rem; font-family: var(--font-display); font-weight: 600; }
.site-nav { display: none; gap: var(--s5); align-items: center; }
@media (min-width: 56em) { .site-nav { display: flex; } }
.site-nav a { color: var(--body); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:hover, .site-nav a.is-active { color: var(--teal-800); }
.site-nav a.is-active { text-decoration: underline; text-underline-offset: 6px; }

.site-footer {
    background: var(--teal-050);
    border-top: 1px solid var(--line);
    padding-block: var(--s7) var(--s6);
    margin-top: var(--s8);
    font-size: var(--step--1);
}
.site-footer__grid { display: grid; gap: var(--s6); }
@media (min-width: 48em) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: var(--s3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: var(--s2); }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--teal-800); text-decoration: underline; }
.site-footer__legal { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--muted); }

/* Buttons -------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
    padding: 0.85rem 1.6rem;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    font-weight: 650;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, transform .12s ease, box-shadow .15s ease;
    min-height: 48px; /* thumb target */
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal-800); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--teal-800); border-color: var(--teal-200); }
.btn--ghost:hover { background: var(--teal-050); color: var(--teal-900); }
.btn--quiet { background: var(--teal-050); color: var(--teal-800); }
.btn--quiet:hover { background: var(--teal-100); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; min-height: 56px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* Cards / panels -------------------------------------------------------- */
.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s5);
}
.panel--soft { background: var(--teal-050); border-color: var(--teal-100); }
.panel--sand { background: var(--sand-100); border-color: var(--sand-200); }
.panel--flush { padding: 0; overflow: hidden; }

.grid { display: grid; gap: var(--s5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 44em) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 48em) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Hero ------------------------------------------------------------------ */
.hero {
    background:
        radial-gradient(120% 100% at 85% 0%, var(--blush-100) 0%, transparent 55%),
        linear-gradient(180deg, var(--teal-050) 0%, var(--white) 100%);
    padding-block: var(--s7) var(--s7);
    border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 48em) { .hero { padding-block: var(--s8) var(--s8); } }
.hero__grid { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 56em) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: var(--s7); } }
.hero h1 { margin-bottom: var(--s4); }
.hero .lede { max-width: 34em; }

.eyebrow {
    display: inline-flex; align-items: center; gap: var(--s2);
    font-size: .78rem; font-weight: 700; letter-spacing: .10em; text-transform: uppercase;
    color: var(--teal-800); background: var(--teal-100);
    padding: .4rem .85rem; border-radius: var(--r-pill); margin-bottom: var(--s4);
}

.trust-row {
    display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5);
    margin-top: var(--s5); padding: 0; list-style: none;
    font-size: var(--step--1); color: var(--muted);
}
.trust-row li { display: flex; align-items: center; gap: var(--s2); }
.trust-row li::before {
    content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
    background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232E8E83'%3E%3Cpath d='M8.2 13.6 5 10.4l1.1-1.1 2.1 2.1 5.7-5.7L15 6.8z'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Product card ----------------------------------------------------------- */
.product-card {
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--teal-200); }
.product-card__media {
    aspect-ratio: 3 / 2;
    background: linear-gradient(135deg, var(--teal-100), var(--blush-100));
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: var(--step-3); color: var(--teal-800);
}
.product-card__body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { margin-bottom: var(--s2); font-size: var(--step-1); }
.product-card__price {
    font-family: var(--font-display); font-size: var(--step-2); color: var(--teal-800);
    margin: var(--s3) 0 var(--s4);
}
.product-card__price small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); display: block; font-weight: 500; }
.product-card__cta { margin-top: auto; }

/* The voucher artwork ---------------------------------------------------- */
.voucher-card {
    position: relative;
    border-radius: var(--r-xl);
    padding: var(--s6) var(--s5);
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(217,138,148,.22) 0%, transparent 60%),
        linear-gradient(145deg, var(--teal-800) 0%, var(--teal-700) 55%, var(--teal-500) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.voucher-card::after {
    content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.28);
    border-radius: calc(var(--r-xl) - 8px); pointer-events: none;
}
.voucher-card__brand {
    font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
    opacity: .88; font-weight: 700; margin-bottom: var(--s5);
}
.voucher-card__value {
    font-family: var(--font-display); font-size: clamp(2.6rem, 10vw, 3.6rem);
    line-height: 1; margin-bottom: var(--s2);
}
.voucher-card__product { font-size: 1rem; opacity: .92; margin-bottom: var(--s5); }
.voucher-card__message {
    background: rgba(255,255,255,.14);
    border-radius: var(--r-md);
    padding: var(--s4);
    font-family: var(--font-display); font-size: 1.05rem; line-height: 1.5;
    margin-bottom: var(--s5);
    min-height: 3.5rem;
    word-break: break-word;
}
.voucher-card__meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-size: .82rem; opacity: .9; }
.voucher-card__code {
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    letter-spacing: .08em; font-size: 1.05rem; font-weight: 600;
}

/* Forms ------------------------------------------------------------------ */
.field { margin-bottom: var(--s5); }
.field > label, .fieldset__legend {
    display: block; font-weight: 650; color: var(--ink);
    margin-bottom: var(--s2); font-size: .95rem;
}
.field__hint { display: block; font-size: var(--step--1); color: var(--muted); margin-bottom: var(--s2); font-weight: 400; }
.input, .textarea, .select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    background: var(--white);
    transition: border-color .15s ease, box-shadow .15s ease;
    min-height: 50px;
}
.input:focus, .textarea:focus, .select:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 4px var(--teal-100);
    outline: none;
}
.textarea { min-height: 8rem; resize: vertical; line-height: 1.6; }
.input--code {
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    letter-spacing: .16em; text-transform: uppercase; font-size: 1.1rem;
}
.field--error .input, .field--error .textarea, .field--error .select { border-color: var(--danger); }
.field__error { display: block; color: var(--danger); font-size: var(--step--1); margin-top: var(--s2); font-weight: 500; }

.fieldset { border: 0; padding: 0; margin: 0 0 var(--s5); }
.fieldset__legend { padding: 0; }

.choice-grid { display: grid; gap: var(--s3); grid-template-columns: 1fr 1fr; }
.choice {
    position: relative; display: block; cursor: pointer;
}
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.choice__box {
    display: block; padding: var(--s4);
    border: 1.5px solid var(--line); border-radius: var(--r-md);
    background: var(--white); transition: all .15s ease; height: 100%;
}
.choice__box strong { display: block; color: var(--ink); font-size: .98rem; }
.choice__box span { display: block; font-size: var(--step--1); color: var(--muted); margin-top: 2px; }
.choice input:checked + .choice__box { border-color: var(--teal-700); background: var(--teal-050); box-shadow: 0 0 0 1px var(--teal-700) inset; }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--teal-500); outline-offset: 2px; }

.amount-grid { display: flex; flex-wrap: wrap; gap: var(--s2); }
.amount-chip { position: relative; }
.amount-chip input { position: absolute; opacity: 0; }
.amount-chip span {
    display: inline-block; padding: .6rem 1.1rem; border-radius: var(--r-pill);
    border: 1.5px solid var(--line); cursor: pointer; font-weight: 650; color: var(--body);
    transition: all .15s ease;
}
.amount-chip input:checked + span { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.amount-chip input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 2px; }

.check {
    display: flex; gap: var(--s3); align-items: flex-start;
    padding: var(--s4); border: 1.5px solid var(--line); border-radius: var(--r-md);
    background: var(--white); cursor: pointer;
}
.check input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--teal-700); }
.check span { font-size: .95rem; }

/* Messages --------------------------------------------------------------- */
.note {
    padding: var(--s4); border-radius: var(--r-md);
    border-left: 4px solid var(--teal-500); background: var(--teal-050);
    font-size: .95rem;
}
.note--danger  { border-left-color: var(--danger); background: var(--danger-bg); color: #7A1A15; }
.note--success { border-left-color: var(--success); background: var(--success-bg); color: #14532D; }
.note--warn    { border-left-color: var(--warn); background: var(--warn-bg); color: #6B4A00; }
.note p:last-child { margin-bottom: 0; }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; gap: var(--s5); counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 48em) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding-top: 3.5rem; position: relative; }
.steps li::before {
    content: counter(step);
    position: absolute; top: 0; left: 0;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--teal-700); color: #fff;
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: 1.15rem;
}
.steps h3 { font-size: var(--step-1); margin-bottom: var(--s2); }

/* FAQ -------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    padding: var(--s4) var(--s6) var(--s4) 0; cursor: pointer; position: relative;
    font-weight: 650; color: var(--ink); font-size: 1.05rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: var(--s2); top: 50%; transform: translateY(-50%);
    font-size: 1.5rem; color: var(--teal-700); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 var(--s6) var(--s5) 0; color: var(--body); }

/* Summary / receipt lines -------------------------------------------------- */
.summary { list-style: none; margin: 0; padding: 0; }
.summary li { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line-soft); }
.summary li:last-child { border-bottom: 0; }
.summary li.is-total { font-weight: 700; color: var(--ink); font-size: 1.1rem; border-top: 2px solid var(--line); margin-top: var(--s2); padding-top: var(--s4); }

.pill {
    display: inline-block; padding: .25rem .7rem; border-radius: var(--r-pill);
    font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    background: var(--teal-100); color: var(--teal-800);
}
.pill--warn { background: var(--warn-bg); color: var(--warn); }
.pill--danger { background: var(--danger-bg); color: var(--danger); }
.pill--success { background: var(--success-bg); color: var(--success); }
.pill--muted { background: var(--line-soft); color: var(--muted); }

/* Tables (admin) ----------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
table.data th, table.data td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
table.data th { background: var(--teal-050); font-weight: 700; color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data code { font-size: .88em; }

.kpi-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); }
.kpi__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.kpi__value { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); margin-top: var(--s1); }
.kpi__sub { font-size: var(--step--1); color: var(--muted); }

/* Utilities ---------------------------------------------------------------- */
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); } .mt-6 { margin-top: var(--s6); }

@media print {
    .site-header, .site-footer, .no-print { display: none !important; }
    body { background: #fff; }
    .voucher-card { box-shadow: none; }
}

/* --- Late corrections found by rendering the pages, not by reading them ---
   GIFT-2608. Kept at the end and labelled rather than folded in, so the next
   person can see what was wrong and why. */

/* A consent checkbox inherits the bold field-label weight and shouts. */
.field > label.check { font-weight: 400; }
.check span { font-weight: 400; }
.check a { font-weight: 600; }

/* A group legend needs air before the first control under it. */
.fieldset__legend { font-size: 1.05rem; margin-bottom: var(--s4); }

/* On a narrow screen the two-up choice tiles crush; stack them. */
@media (max-width: 26em) {
    .choice-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   The card (27 Nov 2026)

   One face, drawn the same everywhere it appears: the preview while they
   type, the hosted card, the confirmation. Proportioned like a bank card and
   scaled with container units, so it is the same object at 320px and 900px.
   The art is the ultrasound sector, the shape every parent knows from the
   scan room. The PDF draws the same layout in points (views/pdf).
   ========================================================================== */
.gcard { container-type: inline-size; width: 100%; max-width: 640px; }
.gcard__face {
    position: relative; aspect-ratio: 1600 / 1010; border-radius: 4.5cqw; overflow: hidden;
    background: #134246 center / cover no-repeat; color: #fbf6ec; --foil: #e9dcc0;
    box-shadow: 0 1px 2px rgba(19,66,70,.12), 0 24px 48px -16px rgba(19,66,70,.45);
}
.gcard--midnight  .gcard__face { background-image: url(../img/cards/midnight.webp); }
.gcard--plum      .gcard__face { background-image: url(../img/cards/plum.webp); background-color: #4a3242; --foil: #f1cdbd; }
.gcard--christmas .gcard__face { background-image: url(../img/cards/christmas.webp); background-color: #143d37; --foil: #f3dc9a; }
.gcard__logo { position: absolute; left: 6.5cqw; top: 6.5cqw; width: 10cqw; height: 10cqw; }
.gcard__body { position: absolute; left: 6.5cqw; right: 38cqw; bottom: 15cqw; }
.gcard__for { font-size: 3.3cqw; margin: 0 0 1.4cqw; color: var(--foil); }
.gcard__for b { font-weight: 700; color: #fff; }
.gcard__title { font-family: var(--font-display); font-weight: 600; font-size: 8.4cqw; line-height: .98; letter-spacing: -.02em; margin: 0 0 2cqw; color: #fff; }
.gcard__sub { font-size: 3cqw; line-height: 1.3; margin: 0; color: rgba(255,255,255,.82); }
.gcard__foot { position: absolute; left: 6.5cqw; right: 6.5cqw; bottom: 6cqw; display: flex; justify-content: space-between; align-items: baseline; gap: 3cqw; font-size: 2.6cqw; color: var(--foil); }
.gcard__code { font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.gcard__value { position: absolute; right: 7.5cqw; top: 7cqw; text-align: right; font-size: 2.5cqw; font-weight: 600; line-height: 1.15; color: var(--foil); text-transform: none; }
.gcard__value b { display: block; font-family: var(--font-display); font-size: 6cqw; font-weight: 600; color: #fff; }
.gcard__message { margin-top: var(--s4); font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); white-space: pre-line; }
.gcard__message:empty { display: none; }

/* design picker */
.design-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.design-picker label { cursor: pointer; display: block; }
.design-picker input { position: absolute; opacity: 0; }
.design-picker span { display: block; border-radius: 10px; aspect-ratio: 1600/1010; background: center/cover no-repeat; box-shadow: inset 0 0 0 1px var(--line); }
.design-picker small { display: block; text-align: center; margin-top: var(--s1); font-size: var(--step--1); color: var(--muted); }
.design-picker input:checked + span { box-shadow: 0 0 0 3px var(--teal-700); }
.design-picker input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 3px; }

/* the price panel at the top of the form */
.buy-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4); padding: var(--s5); border-radius: var(--r-lg); background: var(--teal-050); border: 1px solid var(--line); margin-bottom: var(--s6); }
.buy-head h1 { font-size: var(--step-3); margin: 0 0 var(--s2); }
.buy-head p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.buy-head__price { text-align: right; white-space: nowrap; }
.buy-head__price b { display: block; font-family: var(--font-display); font-size: var(--step-3); color: var(--ink); font-weight: 600; line-height: 1; }
.buy-head__price s { color: var(--muted); font-size: var(--step--1); }
.buy-head__deal { display: inline-block; margin-top: var(--s2); font-size: var(--step--1); font-weight: 700; color: #5a3d50; background: var(--blush-100); padding: .15em .6em; border-radius: var(--r-pill); }
.includes-list { margin: var(--s3) 0 0; padding-left: 1.1em; font-size: var(--step--1); color: var(--body); }
.amount-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
@media (max-width: 47.99em) {
    .buy-head { flex-direction: column; gap: var(--s3); }
    .buy-head__price { text-align: left; }
    .buy-preview { order: -1; }
    .buy-preview > div { position: static !important; }
}
