/* ================================================================
   CHECKOUT — Shopify-inspired light theme
   White form · Gray summary · Clean sections · Solid CTA
   ================================================================ */

:root {
    --page-bg:    #f6f6f7;
    --form-bg:    #ffffff;
    --summary-bg: #f3f4f6;
    --text:       #0d0d0d;
    --muted:      #6b7280;
    --subtle:     #9ca3af;
    --border:     #d1d5db;
    --border-soft: #e5e7eb;
    --accent:     #d91a62;
    --accent-h:   #b8145a;
    --success:    #047857;
    --danger:     #dc2626;
    --radius:     6px;
    --radius-sm:  4px;
    --radius-lg:  10px;
}

/* ── Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    background: var(--page-bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--text); }

/* ── Urgency bar ─────────────────────────────────────────────── */
.flashbar {
    position: relative;
    z-index: 40;
    padding: 22px 0 0;
    background: transparent;
}

.flashbar__shell {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.flashbar__primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 18px;
    background: linear-gradient(90deg, #4937c8 0%, #d94e79 100%);
}

.flashbar__headline {
    color: #ffffff;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}

.flashbar__timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.flashbar__timebox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 46px;
    padding: 4px 6px 3px;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.flashbar__timebox strong {
    color: #22245e;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.flashbar__timebox span {
    margin-top: 2px;
    color: #22245e;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
}

.flashbar__colon {
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.flashbar__secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 58px;
    padding: 12px 18px;
    background: #ffffff;
    color: #9a9a9a;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* ── Page container ──────────────────────────────────────────── */
.checkout-page,
.success-page {
    width: min(1100px, calc(100% - 28px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

/* ── Hero banner ─────────────────────────────────────────────── */
.bump-showcase {
    margin-bottom: 18px;
}

.bump-showcase__intro {
    margin-bottom: 12px;
}

.bump-showcase__intro h2 {
    margin: 0;
    color: #111111;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
}

.bump-showcase__list {
    display: grid;
    gap: 14px;
}

.hero-banner {
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.08);
    background: #06101f;
}

.hero-banner__image {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Checkout shell — one unified card, form+summary side by side */
.checkout-shell {
    display: grid;
    grid-template-columns: 1fr 360px;
    align-items: start;
    border-radius: var(--radius-lg);
    overflow: visible;
    border: 1px solid var(--border-soft);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 24px rgba(0,0,0,0.07);
}

/* ── Form side ───────────────────────────────────────────────── */
.checkout-card {
    padding: 28px 32px;
    background: var(--form-bg);
    border-right: 1px solid var(--border-soft);
}

.checkout-card__intro {
    margin-bottom: 0;
}

.checkout-card__intro h2 {
    display: none;
}

.checkout-card__intro p {
    display: none;
}

.checkout-resume-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(20, 184, 166, 0.10);
    border: 1px solid rgba(20, 184, 166, 0.22);
    color: var(--text);
    font-size: 13px;
    line-height: 1.6;
}

.checkout-resume-note.is-hidden {
    display: none;
}

/* ── Payment marks row ───────────────────────────────────────── */
.checkout-trustbar {
    display: none;
}

.payment-marks {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.trust-points { display: none; }

.payment-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.payment-mark--paypal     { background: #ffc439; color: #003087; }
.payment-mark--apple      { background: #1d1d1f; color: #fff; }
.payment-mark--google     { background: #fff; color: #202124; border: 1px solid #dadce0; }
.payment-mark--visa       { background: #1434cb; color: #fff; }
.payment-mark--mastercard { background: #eb001b; color: #fff; }
.payment-mark--amex       { background: #006fcf; color: #fff; }

/* ── Form sections (Contact / Upgrades / Payment) ────────────── */
/* Shopify pattern: section label + border-top divider */
.form-section {
    padding: 20px 0;
    border-top: 1px solid var(--border-soft);
}

/* First visible section gets no top border */
.checkout-trustbar + form .form-section:first-child,
.form-section.is-first {
    border-top: none;
    padding-top: 0;
}

.section-kicker {
    display: block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0;
    text-transform: none;
}

/* ── Field grid ──────────────────────────────────────────────── */
.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.field-grid--compact {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.field,
.field--full {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field span {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.field input,
.field select,
.stripe-field {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    transition: border-color 0.12s, box-shadow 0.12s;
    -webkit-appearance: none;
    appearance: none;
}

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5' fill='none' viewBox='0 0 10 5'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1 1l4 3 4-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
    cursor: pointer;
}

.field input::placeholder { color: #c4c9d4; }

.stripe-field:empty::before {
    content: attr(data-placeholder);
    color: #c4c9d4;
    font-size: 14px;
}

.field input:focus,
.field select:focus,
.stripe-field.is-focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(217, 26, 98, 0.10);
}

/* ── Order bumps ─────────────────────────────────────────────── */
.order-bumps {
    padding: 20px 0;
    border-top: 1px solid var(--border-soft);
}

.section-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.section-row h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.section-row p,
.section-row span:last-child {
    margin: 0;
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
}

.order-bumps__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.bump-card {
    display: block;
    cursor: pointer;
}

.bump-card__checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bump-card--samcart .bump-card__shell {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #e7e8ec;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.bump-card__badge {
    position: absolute;
    top: 12px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef3ff;
    color: #2855b6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
}

.bump-card--samcart:hover .bump-card__shell {
    border-color: #cfdcf3;
}

.bump-card--samcart .bump-card__checkbox:checked + .bump-card__shell {
    border-color: #1e6eea;
    box-shadow: 0 0 0 3px rgba(30, 110, 234, 0.10);
}

.bump-card__checkmark {
    width: 28px;
    height: 28px;
    margin-top: 18px;
    border: 4px solid #1e6eea;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: inset 0 0 0 2px #ffffff;
}

.bump-card--samcart .bump-card__checkbox:checked + .bump-card__shell .bump-card__checkmark {
    background: linear-gradient(180deg, #2c7cf0 0%, #1257cf 100%);
}

.bump-card__content-grid {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-areas:
        "title title"
        "thumb body";
    align-items: start;
    column-gap: 16px;
    row-gap: 10px;
}

.bump-card__thumb {
    grid-area: thumb;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 108px;
    aspect-ratio: 1;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 25%, #20345f 0%, #08101f 70%);
    box-shadow: 0 8px 20px rgba(8, 16, 31, 0.18);
    overflow: hidden;
}

.bump-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bump-card__thumb span {
    color: #f6d56e;
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.bump-card__body {
    grid-area: body;
    min-width: 0;
}

.bump-card__content-grid h3 {
    grid-area: title;
    margin: 0;
    color: #243746;
    font-size: 18px;
    line-height: 1.22;
    font-weight: 800;
}

.bump-card__price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.bump-card__compare {
    color: #a4adb7;
    font-size: 15px;
    font-weight: 400;
    text-decoration: line-through;
}

.bump-card__price-line strong {
    color: #243746;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
}

.bump-card__body p {
    margin: 0;
    color: #6f7983;
    font-size: 15px;
    line-height: 1.42;
}

.bump-card__content {
    height: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fafafa;
    transition: border-color 0.12s, background 0.12s;
}

.bump-card__checkbox:checked + .bump-card__content {
    border-color: var(--accent);
    background: #fff9fb;
}

.bump-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.bump-card__tag {
    display: inline-flex;
    padding: 2px 7px;
    border-radius: 3px;
    background: #fef3c7;
    color: #92400e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.bump-card h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.bump-card p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.42;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.bump-card__price {
    text-align: right;
    flex-shrink: 0;
}

.bump-card__price strong {
    display: block;
    font-size: 14px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.bump-card__price span {
    display: block;
    margin-top: 2px;
    color: var(--subtle);
    font-size: 11px;
    text-decoration: line-through;
}

/* ── Payment section ─────────────────────────────────────────── */
.payment-stack {
    padding: 0;
    border-top: none;
}

.payment-stack__header {
    margin-bottom: 14px;
}

.payment-stack__header--card {
    text-align: left;
}

.payment-stack__title {
    display: inline-block;
    color: #7f7f85;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.1;
}

.payment-stack__secure {
    margin: 4px 0 0;
    color: #94959d;
    font-size: 12px;
    line-height: 1.35;
}

.section-kicker--payment {
    display: block;
    margin-bottom: 0;
    color: #151515;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-section--contact-top {
    padding-bottom: 18px;
}

.payment-method {
    margin-top: 12px;
    border: 1px solid #dedede;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.payment-method__row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 14px;
    background: #ffffff;
}

.payment-method--card .payment-method__row {
    border-bottom: 1px solid #e6e6e6;
}

.payment-method__radio {
    width: 14px;
    height: 14px;
    border: 2px solid #a2a2a2;
    border-radius: 999px;
    flex: 0 0 14px;
    background: #ffffff;
}

.payment-method__radio--active {
    border-color: #6d6d6d;
    box-shadow: inset 0 0 0 3px #6d6d6d;
}

.payment-method__label {
    flex: 1;
    min-width: 0;
    color: #3d3d42;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: lowercase;
}

.payment-method__logos {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.payment-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    border-radius: 3px;
    padding: 0 5px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    color: #333333;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.payment-logo--visa {
    color: #2348a5;
}

.payment-logo--amex {
    color: #1477c9;
}

.payment-logo--more {
    min-width: 28px;
    color: #7a7a7f;
    font-size: 11px;
    font-weight: 800;
}

.payment-logo--mastercard {
    width: 28px;
    padding: 0;
    position: relative;
}

.payment-logo--mastercard::before,
.payment-logo--mastercard::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.payment-logo--mastercard::before {
    left: 6px;
    background: #eb001b;
}

.payment-logo--mastercard::after {
    left: 12px;
    background: #f79e1b;
    opacity: 0.95;
}

.payment-method__live {
    padding: 10px 14px 14px;
}

.express-stack {
    padding: 0 0 12px;
}

.express-stack.is-empty {
    padding: 0;
}

.express-stack.is-empty .payment-stack__header--express,
.express-stack.is-empty .payment-divider {
    display: none;
}

.payment-stack__header--express {
    margin-bottom: 12px;
    text-align: center;
}

.payment-stack__header--express .payment-stack__title {
    color: #8d8e95;
    font-size: 18px;
    font-weight: 400;
}

.express-stack__paypal {
    margin-bottom: 12px;
}

.express-stack .payment-method--express {
    display: block;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.express-stack .payment-method__live {
    padding: 0;
}

#paypal-express-button,
#express-checkout-element {
    min-height: 54px;
}

#express-wallet-shell.is-hidden,
#paypal-express-shell.is-hidden {
    display: none;
}

#express-wallet-shell.is-loading {
    min-height: 54px;
    margin: 0;
    border: 0;
    opacity: 1;
}

#express-wallet-shell.is-loading .payment-method__live {
    padding: 0;
}

#express-wallet-shell.is-loading .wallet-card__hint {
    display: none;
}

#express-wallet-shell.is-collapsed {
    max-height: 0;
    margin: 0;
    border: 0;
    opacity: 0;
    overflow: hidden;
}

#express-wallet-shell.is-collapsed .payment-method__live,
#express-wallet-shell.is-collapsed .wallet-card__hint {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

#express-wallet-shell.is-collapsed .wallet-card__hint {
    display: none;
}

#express-wallet-shell.is-debug-open {
    max-height: none;
    margin: 0;
    border: 0;
    opacity: 1;
    overflow: visible;
}

#express-wallet-shell.is-debug-open .payment-method__live {
    padding: 0;
}

#express-wallet-shell.is-debug-open #express-checkout-element {
    display: none !important;
    min-height: 0 !important;
}

#express-wallet-shell.is-debug-open .wallet-card__hint {
    display: block;
    margin-top: 0;
    color: #8d8e95;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.express-stack .wallet-card__hint {
    margin-top: 8px;
    text-align: center;
    color: #b6bac2;
    font-size: 11px;
}

.express-stack .payment-method--express.wallet-card--live .wallet-card__hint {
    display: none;
}

.payment-method__paypal-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    line-height: 1;
}

.payment-method__paypal-wordmark img {
    display: block;
    width: auto;
    height: 20px;
}

.payment-method__chevron {
    width: 8px;
    height: 8px;
    margin-left: 2px;
    border-right: 2px solid #8e8e95;
    border-bottom: 2px solid #8e8e95;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
}

.payment-method--paypal .payment-method__row {
    cursor: pointer;
}

.payment-method--paypal .payment-method__live {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.payment-method--paypal.is-open .payment-method__live {
    max-height: 160px;
    padding-top: 10px;
    padding-bottom: 14px;
}

.payment-method--paypal.is-open .payment-method__chevron {
    transform: rotate(225deg);
}

.wallet-card__hint {
    display: block;
    margin: 8px 0 0;
    padding: 0;
    color: var(--subtle);
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
}

.form-section--contact {
    padding-bottom: 16px;
}

.section-kicker--contact {
    margin-bottom: 16px;
    color: #111111;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ── Card panel ──────────────────────────────────────────────── */
.card-panel {
    padding: 14px;
    background: #f4f4f4;
}

.card-panel .field {
    margin-bottom: 10px;
}

.card-panel .field:last-of-type {
    margin-bottom: 0;
}

.card-panel .field span {
    display: none;
}

.stripe-field,
.card-panel .field input {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #dfdfdf;
    background: #ffffff;
    box-shadow: none;
}

.stripe-field {
    position: relative;
    padding-right: 42px;
}

.stripe-field--icon-lock::after,
.stripe-field--icon-help::after {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #6e6e74;
    font-size: 14px;
    line-height: 1;
}

.stripe-field--icon-lock::after {
    content: "\1F512";
}

.stripe-field--icon-help::after {
    content: "?";
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #a0a0a0;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.billing-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    color: #5c5d64;
    font-size: 13px;
    line-height: 1.35;
}

.billing-toggle input {
    width: 16px;
    height: 16px;
    accent-color: #8c8c8c;
    flex: 0 0 16px;
}

#paypal-button {
    min-height: 44px;
    padding: 0;
}

#express-checkout-element {
    min-height: 54px;
    padding: 0;
}

.payment-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 0 8px;
    color: #8d8e95;
}

.payment-divider::before,
.payment-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.payment-divider span {
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
}

.express-stack + .form-section--contact-top {
    border-top: none;
    padding-top: 12px;
}

/* ── Error message ───────────────────────────────────────────── */
.checkout-message {
    min-height: 18px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--danger);
}

/* ── Submit CTA ──────────────────────────────────────────────── */
/* Shopify-feel: full-width, solid, no gradient, confident */
.checkout-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 62px;
    margin-top: 32px;
    padding: 0 20px;
    border: none;
    border-radius: 10px;
    background: #005bcc;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.12s, transform 0.12s;
}

.checkout-submit:hover {
    background: #004eaf;
    transform: translateY(-1px);
}

.checkout-submit:active {
    transform: translateY(0);
}

.checkout-submit:disabled {
    opacity: 0.55;
    cursor: wait;
    transform: none;
}

/* ── Legal + trust ───────────────────────────────────────────── */
.checkout-legal {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.7;
    color: var(--subtle);
    text-align: center;
}

.checkout-legal a { color: var(--subtle); }

.security-note {
    margin-top: 10px;
    text-align: center;
}

.security-note__line {
    font-size: 11px;
    color: var(--subtle);
}

.security-note__grid { display: none; }

/* ── Summary sidebar ─────────────────────────────────────────── */
.summary-column {
    display: grid;
    align-content: start;
    gap: 40px;
}

.summary-card {
    position: sticky;
    top: 50px;
    padding: 28px 24px;
    background: #ffffff;
    min-height: auto;
    border-left: 1px solid var(--border-soft);
}

.summary-card--bundle {
    border-left: 1px solid var(--border-soft);
}

.summary-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 18px;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.section-kicker--summary {
    margin: 0;
    color: #111111;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.summary-card__chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid #1f1f1f;
    border-bottom: 2px solid #1f1f1f;
    transform: rotate(-135deg);
    flex: 0 0 10px;
    transition: transform 0.18s ease;
}

.summary-card__body {
    display: block;
    padding-bottom: 6px;
}

.summary-card__collapsed {
    display: none;
}

.summary-card__expanded {
    display: block;
}

.summary-card--bundle:not(.is-open) .summary-card__collapsed {
    display: block;
}

.summary-card--bundle:not(.is-open) .summary-card__expanded {
    display: none;
}

.summary-card--bundle:not(.is-open) .summary-card__chevron {
    transform: rotate(45deg);
}

.summary-discount {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    margin-bottom: 18px;
    padding: 0 16px;
    border: 1px solid #dfdfdf;
    border-radius: 14px;
    background: #ffffff;
    color: #1d1d1f;
    font: inherit;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

.summary-discount__icon {
    font-size: 18px;
}

.summary-card__compact {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto 10px;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 8px 0 0;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.summary-card__compact-media {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e4e4e4;
    background: #f6f6f7;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 6px 18px rgba(0,0,0,0.06);
}

.summary-card__compact-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-card__compact-copy {
    min-width: 0;
}

.summary-card__compact-copy strong {
    display: block;
    color: #111111;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

.summary-card__compact-copy span {
    display: block;
    margin-top: 6px;
    color: #6f7077;
    font-size: 18px;
    line-height: 1.2;
}

.summary-card__compact-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
}

.summary-card__compact-price small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #f2f2f2;
    color: #8a8b91;
    font-size: 11px;
    font-weight: 500;
    text-transform: lowercase;
}

.summary-card__compact-compare {
    color: #b6bcc4;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-decoration: line-through;
}

.summary-card__compact-price strong {
    color: #111111;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

/* ── Summary list (dynamic via JS) ──────────────────────────── */
.summary-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
}

.summary-list--bundle {
    gap: 18px;
}

.summary-item--bundle {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 14px;
}

.summary-item__media {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e4e4e4;
    background: #f6f6f7;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 6px 18px rgba(0,0,0,0.06);
}

.summary-item__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-item__qty {
    position: absolute;
    top: 6px;
    right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 10px;
    background: #000000;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.summary-item__content {
    min-width: 0;
}

.summary-item__content strong {
    display: block;
    margin: 3px 0 0;
    color: #111111;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

.summary-item__content p {
    margin: 6px 0 0;
    color: #7a7b82;
    font-size: 14px;
    line-height: 1.45;
}

.summary-item__amount {
    white-space: nowrap;
    color: #111111;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.summary-breakdown {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.summary-breakdown__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.summary-breakdown__row span {
    color: #333333;
    font-size: 15px;
    line-height: 1.4;
}

.summary-breakdown__row strong {
    color: #111111;
    font-size: 16px;
    font-weight: 500;
}

.summary-breakdown__row:nth-child(2) span,
.summary-breakdown__row:nth-child(2) strong {
    color: #0f7a43;
    font-weight: 700;
}

.summary-grandtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.summary-grandtotal__copy {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.summary-grandtotal__copy span {
    color: #111111;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.summary-grandtotal__copy small {
    color: #8a8b91;
    font-size: 14px;
    font-weight: 500;
    text-transform: lowercase;
}

.summary-grandtotal strong {
    color: #111111;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.summary-grandtotal__amount {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.summary-grandtotal__compare {
    color: #b6bcc4;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-decoration: line-through;
}

.summary-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;
}

.summary-links a {
    color: #6f7077;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: underline;
}

.summary-assurances {
    display: grid;
    gap: 26px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.summary-assurances--standalone {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 24px;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    position: relative;
    z-index: 1;
}

.summary-assurances__item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.summary-assurances__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: #f7f7f8;
    color: #b7b9bf;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.summary-assurances__icon--access,
.summary-assurances__icon--support {
    font-size: 32px;
    font-weight: 600;
}

.summary-assurances__copy h4 {
    margin: 0 0 10px;
    color: #111111;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
}

.summary-assurances__copy p {
    margin: 0;
    color: #1d1d1f;
    font-size: 18px;
    line-height: 1.45;
}

/* ── Success page ────────────────────────────────────────────── */
.success-page {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 50px);
}

.success-card {
    width: min(660px, 100%);
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--form-bg);
    border: 1px solid var(--border-soft);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 24px rgba(0,0,0,0.07);
}

.success-card h1 {
    margin: 12px 0 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
}

.success-card p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.success-state {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 3px;
    background: #ecfdf5;
    color: var(--success);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 16px;
}

.summary-list--success { margin-top: 20px; }
.summary-support--success { padding-top: 14px; border-top: 1px solid var(--border-soft); }

.success-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: var(--radius);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.12s, transform 0.12s;
}

.primary-button { border: none; background: var(--accent); color: #fff; }
.primary-button:hover { background: var(--accent-h); }
.ghost-button { border: 1px solid var(--border); background: #fff; color: var(--text); }
.ghost-button:hover { background: var(--page-bg); }

/* ── Responsive: Tablet ──────────────────────────────────────── */
@media (max-width: 820px) {
    .checkout-shell {
        grid-template-columns: 1fr;
    }

    .checkout-card {
        border-right: none;
        border-bottom: 1px solid var(--border-soft);
    }

    .summary-card {
        position: static;
        border-left: none;
    }

    .wallet-grid,
    .order-bumps__list {
        grid-template-columns: 1fr;
    }

    .bump-card--samcart .bump-card__shell {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .bump-card__content-grid {
        grid-template-columns: 88px minmax(0, 1fr);
        column-gap: 14px;
    }

    .bump-card__thumb {
        width: 88px;
    }

    .bump-card__thumb span {
        font-size: 22px;
    }
}

/* ── Responsive: Mobile ──────────────────────────────────────── */
@media (max-width: 580px) {
    .checkout-page,
    .success-page {
        width: 100%;
        padding: 12px 12px 48px;
    }

    .checkout-card { padding: 20px; }
    .summary-card  { padding: 20px; }

    .hero-banner {
        width: calc(100% + 24px);
        margin-left: -12px;
        margin-right: -12px;
        margin-bottom: 24px;
        border-radius: 0;
    }

    .field-grid { grid-template-columns: 1fr; }
    .field-grid--compact { grid-template-columns: 1fr 1fr; }
    .wallet-grid,
    .order-bumps__list { grid-template-columns: 1fr; }

    .payment-stack__title {
        font-size: 17px;
    }

    .wallet-placeholder,
    #paypal-button,
    #paypal-express-button,
    #express-checkout-element,
    .wallet-express-tile {
        min-height: 72px;
        border-radius: 18px;
    }

    .payment-divider {
        margin: 28px 0 22px;
    }

    .payment-divider span {
        font-size: 17px;
    }

    .section-kicker--contact {
        font-size: 28px;
    }

    .section-kicker--payment {
        font-size: 28px;
    }

    .bump-showcase {
        margin-bottom: 14px;
    }

    .bump-showcase__intro h2 {
        font-size: 18px;
    }

    .bump-card--samcart .bump-card__shell {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
        border-radius: 16px;
    }

    .bump-card__badge {
        top: 10px;
        right: 10px;
        min-height: 22px;
        padding: 0 8px;
        font-size: 10px;
    }

    .bump-card__checkmark {
        width: 24px;
        height: 24px;
        margin-top: 8px;
        border-width: 3px;
        border-radius: 5px;
    }

    .bump-card__content-grid {
        grid-template-columns: 74px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 8px;
    }

    .bump-card__thumb {
        width: 74px;
        border-radius: 12px;
    }

    .bump-card__thumb span {
        font-size: 18px;
    }

    .bump-card__content-grid h3 {
        font-size: 15px;
        line-height: 1.24;
    }

    .bump-card__price-line {
        gap: 6px;
        margin-bottom: 8px;
    }

    .bump-card__compare,
    .bump-card__price-line strong {
        font-size: 14px;
    }

    .bump-card__compare {
        font-weight: 400;
    }

    .bump-card__price-line strong {
        font-weight: 800;
    }

    .bump-card__body p {
        font-size: 13px;
        line-height: 1.48;
    }

    .bump-card p {
        font-size: 13px;
        line-height: 1.48;
    }

    .section-kicker--summary {
        font-size: 28px;
    }

    .summary-discount {
        min-height: 52px;
        margin-bottom: 16px;
        padding: 0 14px;
        font-size: 16px;
    }

    .summary-card__compact {
        grid-template-columns: 54px minmax(0, 1fr) auto 10px;
        gap: 12px;
    }

    .summary-card__compact-media {
        width: 54px;
        height: 54px;
        border-radius: 12px;
    }

    .summary-card__compact-copy strong,
    .summary-card__compact-price strong {
        font-size: 22px;
    }

    .summary-card__compact-compare {
        font-size: 15px;
    }

    .summary-card__compact-copy span {
        font-size: 16px;
    }

    .summary-item--bundle {
        grid-template-columns: 74px minmax(0, 1fr) auto;
        gap: 12px;
    }

    .summary-item__media {
        width: 74px;
        height: 74px;
        border-radius: 14px;
    }

    .summary-item__qty {
        min-width: 24px;
        height: 24px;
        font-size: 13px;
    }

    .summary-item__content strong {
        font-size: 18px;
    }

    .summary-item__content p {
        font-size: 13px;
    }

    .summary-item__amount {
        font-size: 16px;
    }

    .summary-grandtotal__copy span,
    .summary-grandtotal strong {
        font-size: 24px;
    }

    .summary-grandtotal__compare {
        font-size: 16px;
        font-weight: 400;
    }

    .summary-links {
        gap: 10px 16px;
    }

    .summary-links a {
        font-size: 13px;
    }

    .summary-assurances {
        gap: 22px;
        margin-top: 0;
        padding-top: 0;
    }

    .summary-assurances--standalone {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
        border: none;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .summary-assurances__item {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 14px;
    }

    .summary-assurances__icon {
        width: 62px;
        height: 62px;
        font-size: 24px;
    }

    .summary-assurances__icon--access,
    .summary-assurances__icon--support {
        font-size: 28px;
    }

    .summary-assurances__copy h4 {
        margin-bottom: 8px;
        font-size: 18px;
    }

    .summary-assurances__copy p {
        font-size: 16px;
    }

    .success-actions { grid-template-columns: 1fr; }

    .flashbar {
        padding-top: 12px;
    }

    .flashbar__shell {
        width: 100%;
    }

    .flashbar__primary {
        gap: 10px;
        padding: 12px 10px;
    }

    .flashbar__headline {
        font-size: 13px;
    }

    .flashbar__timer {
        gap: 6px;
    }

    .flashbar__timebox {
        min-width: 42px;
        min-height: 42px;
        padding: 4px 5px 3px;
    }

    .flashbar__timebox strong {
        font-size: 16px;
    }

    .flashbar__timebox span {
        font-size: 7px;
    }

    .flashbar__colon {
        font-size: 20px;
    }

    .flashbar__secondary {
        min-height: 52px;
        padding: 10px 12px;
        font-size: 14px;
        line-height: 1.2;
    }

    .checkout-card__intro h2 {
        font-size: 20px;
    }
}
