/* Mother's Day campaign — extends modern-home/public variables */
:root {
    --md-rose: #c45c6a;
    --md-blush: #fde8ea;
    --md-ink: #2a2528;
}

/* Funnel shell: replaces full site header/footer (see campaigns/base_campaign.html) */
.md-campaign-shell-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.md-campaign-top {
    background: var(--black, #000103);
    color: var(--cream, #fffffa);
    border-bottom: 2px solid var(--red, #ff312e);
    padding: 0.65rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 30;
}

.md-campaign-top-inner {
    width: min(1120px, 96vw);
    margin: 0 auto;
}

.md-campaign-brand {
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 1rem;
    color: inherit;
    text-decoration: none;
}

.md-campaign-brand:hover {
    color: var(--red, #ff312e);
}

.md-campaign-main {
    flex: 1;
}

.md-campaign-foot {
    margin-top: auto;
    padding: 1.25rem 1rem 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray, #515052);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 250, 0.85);
}

.md-campaign-foot nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.md-campaign-foot a {
    color: var(--gray, #515052);
    font-weight: 600;
}

.md-campaign-foot a:hover {
    color: var(--red, #ff312e);
}

.md-campaign {
    --charcoal: var(--md-ink);
}

/* Landing: #pricing uses modern-home card styles (tuned for .sales-home dark). On campaign, body is cream — recolor. */
.md-campaign .pricing-section {
    max-width: min(1120px, 96vw);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 2.5rem 0.5rem 0.5rem;
}

.md-campaign .pricing-section .section-intro h2 {
    color: var(--md-ink, #2a2528);
}

.md-campaign .pricing-card {
    color: var(--md-ink, #2a2528);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(42, 37, 40, 0.1);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
}

.md-campaign .pricing-card.premium {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 250, 0.98));
}

.md-campaign .tier-summary,
.md-campaign .pricing-card .tier-label {
    /* modern-home .tier-summary targets dark sales-home */
    color: rgba(42, 37, 40, 0.8);
}

.md-campaign .pricing-card a:not(.button) {
    color: var(--red, #ff312e);
    font-weight: 700;
}

.md-campaign .pricing-card a:not(.button):hover {
    color: var(--black, #000103);
}

/* Landing: full-width explainer above the two-up “included / how it works” cards */
.md-campaign .md-landing-below-hero .md-landing-song-explainer {
    grid-column: 1 / -1;
}

.md-campaign .collection-card a {
    color: var(--red, #ff312e);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.1em;
}

.md-campaign .collection-card a:hover {
    color: var(--black, #000103);
}

/* Full-width trust strip under the 3 info cards: not YouTube, link-based privacy */
.md-landing-privacy {
    margin-top: 2rem;
    width: 100%;
    max-width: min(1120px, 96vw);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 1.35rem 1.5rem 1.4rem;
    border-radius: var(--radius-md, 1.25rem);
    background: linear-gradient(120deg, #eef4f0 0%, #e3ebe6 50%, #dce6df 100%);
    border: 1px solid rgba(42, 37, 40, 0.1);
    box-shadow: 0 8px 24px rgba(0, 1, 3, 0.06);
}

.md-landing-privacy-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.md-landing-privacy-heading {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--md-ink, #2a2528);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.md-landing-privacy-body {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #3a3538;
    max-width: 72ch;
}

@media (min-width: 800px) {
    .md-landing-privacy-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.75rem 2.25rem;
    }

    .md-landing-privacy-heading {
        flex: 0 0 min(12rem, 32%);
    }

    .md-landing-privacy-body {
        flex: 1 1 auto;
        max-width: none;
    }
}

.md-landing-bottom-cta {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 0 0.5rem;
    box-sizing: border-box;
}

.md-landing-bottom-cta .md-cta-row {
    justify-content: center;
}

.md-hero {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: center;
    background: linear-gradient(135deg, #1a1517 0%, #3d2f35 55%, #5a4148 100%);
    color: var(--cream, #fffffa);
    border-radius: var(--radius-lg, 2rem);
    box-shadow: var(--shadow-soft, 0 24px 60px rgba(0, 1, 3, 0.12));
    padding: 2.75rem 2.25rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Keep glow behind copy + preview column (::after is last in tree and can cover siblings). */
.md-hero > * {
    position: relative;
    z-index: 1;
}

.md-hero::after {
    content: "";
    position: absolute;
    inset: -20% -10% auto auto;
    width: min(420px, 70vw);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255, 49, 46, 0.22) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.md-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    line-height: 1.2;
    margin: 0 0 1rem;
}

.md-hero .lead {
    opacity: 0.92;
    margin: 0 0 1.5rem;
    max-width: 36ch;
}

.md-price-pill {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 250, 0.12);
    border: 1px solid rgba(255, 255, 250, 0.2);
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.md-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.md-preview {
    background: rgba(0, 0, 0, 0.22);
    border-radius: var(--radius-md, 1.25rem);
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 250, 0.12);
}

.md-preview-grid {
    align-self: start;
}

.md-preview-promos {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .md-preview-promos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.md-preview-promos .audio-song-card {
    margin: 0;
}

.md-preview-promos .audio-song-card .song-card__content h3 {
    font-size: 1rem;
    margin: 0 0 0.35rem;
}

.md-preview-promos .audio-song-card .song-card__content p {
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
}

/* Copy under hero + preview: light on dark (body/muted can otherwise win) */
.md-hero .md-hero-song-link,
.md-hero .md-preview-all-songs {
    color: rgba(255, 255, 250, 0.95) !important;
}

/* “See all song options” on dark hero / preview — keep link text white */
.md-inline-link,
.md-inline-link:visited {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.md-inline-link:hover {
    color: #ffffff;
    text-decoration-thickness: 0.12em;
    opacity: 0.92;
}

.md-preview audio {
    width: 100%;
    max-width: 400px;
    margin-top: 0.5rem;
}

.md-download-block {
    margin-top: 2rem;
    padding: 1.35rem 1.5rem;
    border-radius: var(--radius-md, 1.25rem);
    background: rgba(255, 255, 250, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-card, 0 14px 30px rgba(0, 1, 3, 0.08));
}

.md-download-block .eyebrow {
    margin-bottom: 0.35rem;
}

.md-download-copy {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--gray, #515052);
}

.md-download-block--inline {
    margin-top: 2rem;
}

.md-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.md-license-note {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 250, 0.86);
    max-width: 40rem;
}

.md-license-note a {
    color: #ffccc9;
    font-weight: 700;
    text-decoration: underline;
}

.md-license-note a:hover {
    color: #fffffa;
}

.md-form-panel {
    background: #fff;
    border-radius: var(--radius-lg, 2rem);
    box-shadow: var(--shadow-card, 0 14px 30px rgba(0, 1, 3, 0.08));
    padding: 2rem 1.75rem;
    max-width: 560px;
}

.md-form-panel label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--md-ink);
}

.md-form-panel input[type="text"],
.md-form-panel input[type="email"],
.md-form-panel select,
.md-form-panel textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid #dcd8da;
    font: inherit;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.md-form-panel textarea {
    min-height: 120px;
    resize: vertical;
}

.md-help {
    font-size: 0.88rem;
    color: var(--gray, #515052);
    margin: 0 0 0.75rem;
}

.md-tier-fieldset {
    border: 1px solid #e8e4e6;
    border-radius: 0.85rem;
    padding: 1rem 1.1rem 0.25rem;
    margin: 0 0 1rem;
}

.md-tier-fieldset legend {
    padding: 0 0.35rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--md-ink);
}

.md-gift-photos {
    margin: 0 0 1.75rem;
}

.md-gift-photos-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--md-ink, #2a2426);
}

.md-gift-photo-grid .md-photo-tile {
    max-width: min(560px, 92vw);
}

.md-photo-grid {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.md-photo-tile {
    max-width: 320px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.65rem;
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.9);
}

.md-photo-thumb {
    display: block;
    border-radius: 0.45rem;
    overflow: hidden;
}

.md-photo-thumb img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    display: block;
}

.md-photo-missing {
    font-size: 0.75rem;
    color: var(--gray, #515052);
    padding: 0.5rem 0;
}

.md-photo-meta {
    font-size: 0.7rem;
    color: #555;
    margin-top: 0.35rem;
}

.md-photo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.35rem;
    align-items: center;
}

.md-photo-move-form,
.md-photo-delete-form {
    margin: 0;
}

.button.button-ghost {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--md-ink);
    padding: 0.25rem 0.45rem;
    font-size: 0.8rem;
    border-radius: 0.4rem;
    cursor: pointer;
}

.button.button-ghost:hover:not(:disabled) {
    border-color: var(--md-rose, #c45c6a);
    color: var(--md-rose, #c45c6a);
}

.button.button-ghost:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

button.md-photo-delete {
    color: var(--red, #ff312e);
    border-color: rgba(255, 49, 46, 0.35);
}

.md-field-error {
    color: var(--red, #ff312e);
    font-size: 0.875rem;
    margin: -0.75rem 0 0.75rem;
}

.md-photo-added-banner {
    margin: 0.75rem 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #e3f2e4 100%);
    border: 1px solid rgba(46, 125, 50, 0.35);
    color: #1b5e20;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
}

.md-photo-added-status {
    margin: 0.5rem 0 0.85rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.5rem;
    background: rgba(46, 125, 50, 0.08);
    border: 1px solid rgba(46, 125, 50, 0.22);
    color: var(--md-ink, #2a2426);
    font-size: 0.88rem;
    font-weight: 600;
}

.md-checkout-summary {
    background: #fff;
    border-radius: var(--radius-lg, 2rem);
    padding: 2rem;
    box-shadow: var(--shadow-card, 0 14px 30px rgba(0, 1, 3, 0.08));
    max-width: 640px;
}

.md-checkout-summary dl {
    margin: 0 0 1.5rem;
}

.md-checkout-summary dt {
    font-weight: 700;
    margin-top: 1rem;
    color: var(--gray, #515052);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.md-checkout-summary dt:first-child {
    margin-top: 0;
}

.md-checkout-summary dd {
    margin: 0.25rem 0 0;
}

.md-success-card {
    background: #fff;
    border-radius: var(--radius-lg, 2rem);
    padding: 2rem;
    box-shadow: var(--shadow-card, 0 14px 30px rgba(0, 1, 3, 0.08));
    max-width: 640px;
}

.md-success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.md-notice {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md, 1.25rem);
    background: var(--md-blush);
    border: 1px solid rgba(196, 92, 106, 0.25);
    color: var(--md-ink);
}

.md-gift-shell {
    max-width: 720px;
    margin: 0 auto;
}

.md-card {
    border-radius: var(--radius-lg, 2rem);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft, 0 24px 60px rgba(0, 1, 3, 0.12));
    margin-bottom: 2rem;
}

.md-card--warm_floral {
    background: linear-gradient(165deg, #fff8f6 0%, #fde8ea 45%, #f5e6dc 100%);
    border: 1px solid rgba(196, 92, 106, 0.15);
}

.md-card--soft_gold {
    background: linear-gradient(165deg, #fffdf7 0%, #f8efd4 50%, #ebe2c8 100%);
    border: 1px solid rgba(180, 150, 90, 0.25);
}

.md-card--simple_elegant {
    background: linear-gradient(165deg, #fafafa 0%, #ececec 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.md-card .message {
    font-size: 1.15rem;
    line-height: 1.65;
    white-space: pre-wrap;
}

.md-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md, 1.25rem);
    box-shadow: var(--shadow-card, 0 14px 30px rgba(0, 1, 3, 0.08));
}

.md-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/*
 * HTML5 <video>: do NOT reuse the iframe padding-bottom + height:0 trick alone —
 * percentage height on the video often resolves to 0, so controls never appear / nothing plays.
 * Use aspect-ratio so the element has a real box.
 */
.md-video-wrap.md-video-wrap--html5 {
    padding-bottom: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
}

.md-video-wrap--html5 .md-inline-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.md-order-links code {
    display: block;
    word-break: break-all;
    font-size: 0.85rem;
    padding: 0.5rem 0.65rem;
    background: #f4f2f3;
    border-radius: 0.5rem;
    margin-top: 0.35rem;
}

/* Landing: sample preview (screenshot of /gift/{slug}) */
.md-sample-section {
    margin-bottom: 3rem;
}

.md-sample-head {
    text-align: center;
    margin-bottom: 1.25rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.md-sample-head h2 {
    margin: 0 0 0.5rem;
}

.md-sample-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray, #515052);
    margin-bottom: 0.35rem;
}

.md-sample-note {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gray, #515052);
}

.md-sample-shell {
    max-width: 720px;
    margin: 0 auto;
}

.md-sample-figure {
    margin: 0;
}

.md-sample-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md, 1.25rem);
    box-shadow: var(--shadow-card, 0 14px 30px rgba(0, 1, 3, 0.08));
}

/* Ready-made song picker */
.md-song-pick-form {
    max-width: 720px;
    margin: 0 auto;
}

.md-song-pick-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.md-song-pick-instructions {
    max-width: 720px;
    margin: 0 auto 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 49, 46, 0.35);
    border-radius: 1rem;
    background: rgba(255, 49, 46, 0.08);
    font-weight: 700;
}

.md-song-pick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

/* --- Ready-made checkout: video preview picker (no audio-player.css) --- */
.md-song-pick-list.ready-made-preview-list {
    display: grid;
    gap: 1.5rem;
}

.ready-made-video-card.song-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border: 1px solid rgba(0, 1, 3, 0.08);
    border-radius: 28px;
    background: #fffffa;
    color: var(--md-ink, #2a2528);
    box-shadow: 0 18px 50px rgba(0, 1, 3, 0.08);
    padding: 1.35rem;
    margin-bottom: 0;
}

.ready-made-video-card .song-card__media {
    flex: 0 0 auto;
    max-width: 200px;
}

.ready-made-video-card .song-card__image {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
}

.ready-made-video-card .song-card__content {
    flex: 1 1 auto;
    min-width: 0;
}

.ready-made-video-card .song-card__content h2,
.ready-made-video-card .song-card__content h3 {
    margin: 0 0 0.5rem;
    color: var(--md-ink, #2a2528);
}

.ready-made-video-card .song-card__content p {
    margin: 0 0 0.75rem;
    color: #515052;
    line-height: 1.55;
}

.ready-made-version-buttons {
    display: grid;
    gap: 0.85rem;
    margin: 1.25rem 0;
}

.ready-made-video-choice {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid rgba(51, 49, 56, 0.12);
    border-radius: 18px;
    background: rgba(51, 49, 56, 0.03);
}

.ready-made-video-choice input[type="radio"] {
    accent-color: #ff312e;
    inline-size: 1.25rem;
    block-size: 1.25rem;
    flex: 0 0 auto;
}

.ready-made-select-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 8rem;
    color: var(--md-ink, #2a2528);
    font-weight: 800;
    cursor: pointer;
}

.ready-made-select-dot {
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid #ff312e;
    border-radius: 999px;
    display: inline-block;
}

.ready-made-video-choice:has(input[type="radio"]:checked) {
    border-color: #ff312e;
    background: rgba(255, 49, 46, 0.1);
    box-shadow: 0 0 0 2px rgba(255, 49, 46, 0.22);
}

.ready-made-video-choice:has(input[type="radio"]:checked) .ready-made-select-dot {
    background: #ff312e;
}

.ready-made-preview-pill {
    margin-left: auto;
    border: 1px solid #515052;
    background: #000103;
    color: #fffffa;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ready-made-preview-pill:hover,
.ready-made-preview-pill.active {
    background: #ff312e;
    border-color: #ff312e;
    color: #fffffa;
}

.ready-made-current-preview {
    font-size: 0.95rem;
    color: #515052;
    margin: 0.5rem 0 0.75rem;
}

.ready-made-video-frame {
    margin-top: 1rem;
    border-radius: 22px;
    overflow: hidden;
    background: #000103;
}

.ready-made-preview-video {
    display: block;
    width: 100%;
    max-height: 520px;
    background: #000103;
}

@media (max-width: 640px) {
    .ready-made-video-card.song-card {
        flex-direction: column;
    }

    .ready-made-video-card .song-card__media {
        max-width: 100%;
    }

    .ready-made-video-card .song-card__image {
        width: 100%;
        height: auto;
        max-height: 220px;
    }

    .ready-made-preview-pill {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

/* --- Ready-made song showroom (tabs + single hero video + sticky save) --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.md-song-showroom-page {
    padding-bottom: 5.5rem;
}

.md-showroom-hero .lead {
    max-width: 40rem;
}

.md-song-showroom-form.md-song-pick-form {
    max-width: 960px;
}

.md-showroom-steps {
    font-size: 0.9rem;
    font-weight: 700;
    color: #515052;
    letter-spacing: 0.02em;
    margin: 0 0 1.25rem;
}

.md-showroom-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0 0 1.5rem;
}

.md-showroom-tab {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(0, 1, 3, 0.12);
    border-radius: 1rem;
    padding: 0.85rem 0.95rem;
    background: #fffffa;
    cursor: pointer;
    font: inherit;
    color: var(--md-ink, #2a2528);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.md-showroom-tab:hover {
    border-color: rgba(255, 49, 46, 0.45);
}

.md-showroom-tab--active {
    border-color: #ff312e;
    box-shadow: 0 0 0 2px rgba(255, 49, 46, 0.22);
    background: rgba(255, 49, 46, 0.06);
}

.md-showroom-tab-title {
    display: block;
    font-weight: 800;
    font-size: 1rem;
}

.md-showroom-tab-tagline {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    line-height: 1.35;
    color: #515052;
    font-weight: 600;
}

.md-showroom-video-wrap {
    margin: 0 0 1rem;
    border-radius: 22px;
    overflow: hidden;
    background: #000103;
    box-shadow: 0 18px 50px rgba(0, 1, 3, 0.12);
}

.md-showroom-preview-video {
    display: block;
    width: 100%;
    max-height: 520px;
    background: #000103;
}

.md-showroom-now {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--md-ink, #2a2528);
}

.md-showroom-panel[hidden] {
    display: none !important;
}

.md-showroom-version-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.md-showroom-version-card {
    border: 1px solid rgba(51, 49, 56, 0.14);
    border-radius: 1.1rem;
    padding: 1rem 1rem 0.85rem;
    background: rgba(51, 49, 56, 0.03);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.md-showroom-version-card:hover {
    border-color: rgba(255, 49, 46, 0.35);
}

.md-showroom-version-card--active {
    border-color: #ff312e;
    background: rgba(255, 49, 46, 0.1);
    box-shadow: 0 0 0 2px rgba(255, 49, 46, 0.18);
}

.md-showroom-version-head {
    cursor: pointer;
    margin: 0;
}

.md-showroom-version-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--md-ink, #2a2528);
}

.md-showroom-version-blurb {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #515052;
    flex: 1 1 auto;
}

.md-showroom-preview-btn {
    margin-top: 0.25rem;
    align-self: flex-start;
}

.md-showroom-back-row {
    margin: 0.5rem 0 0;
}

.md-showroom-sticky-spacer {
    height: 4.5rem;
}

.md-showroom-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.85rem 1.25rem;
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 250, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 1, 3, 0.1);
    box-shadow: 0 -10px 36px rgba(0, 1, 3, 0.1);
}

.md-showroom-sticky .button {
    flex: 0 0 auto;
}

.md-showroom-sticky-selected {
    margin: 0;
    font-weight: 700;
    flex: 1 1 14rem;
    min-width: 0;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--md-ink, #2a2528);
}

@media (max-width: 900px) {
    .md-showroom-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-showroom-version-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .md-showroom-tabs {
        grid-template-columns: 1fr;
    }

    .md-showroom-sticky {
        flex-direction: column;
        align-items: stretch;
    }

    .md-showroom-sticky .button {
        width: 100%;
    }
}
