/*
 * Iconic Character Collection ("Royal Dream Events - 21"): /characters,
 * /characters/{slug}, /characters/checkout. Loaded after site.css on those
 * pages only. Lola's palette for them: dusty rose, blush pink, rose gold,
 * champagne gold and ivory instead of the site's plum (the overrides below
 * recolor the shared header, footer and buttons too, on these pages only),
 * with her rose-gold silk texture behind the headings.
 */

.rde-rose {
    --ivory: #fdf8f3;
    --ivory-2: #f8eee8;
    --white: #fffdfb;
    --blush: #f8e4e3;
    --blush-2: #f0d2d2;
    --mauve: #c4878f;
    --mauve-soft: #f6e5e4;
    --plum: #8e3f50;
    --plum-2: #a65366;
    --plum-deep: #6e2c3b;
    --gold: #cfaa6e;
    --gold-light: #ecd9b0;
    --gold-dark: #a8814a;
    --ink: #4b2e33;
    --ink-soft: #7d5c61;
    --line: rgba(207, 170, 110, 0.5);
    --shadow: 0 14px 34px -18px rgba(142, 63, 80, 0.35);
    --shadow-lg: 0 24px 50px -24px rgba(142, 63, 80, 0.45);
    --rose: #b8606f;
    --rose-deep: #9a4657;
    --rose-grad: linear-gradient(180deg, #c87584 0%, #a94e60 100%);
    --rose-gold: linear-gradient(135deg, #f1cdbf 0%, #d9a394 45%, #c48577 100%);
    --champagne: #d9bd8b;
    background: var(--ivory);
}

.rde-rose .rde-header {
    background: rgba(253, 248, 243, 0.95);
    box-shadow: 0 10px 30px -24px rgba(142, 63, 80, 0.6);
}

/* ---------- Shared pieces ---------- */
.rc-crown {
    display: block;
    width: 54px;
    height: auto;
    margin: 0 auto 6px;
    color: #d3ac68;
    filter: drop-shadow(0 2px 3px rgba(168, 129, 74, 0.35));
}

.rc-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    margin: 0;
    color: var(--rose-deep);
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.9rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.08;
    text-align: center;
    text-wrap: balance;
}

.rc-title::before,
.rc-title::after {
    content: "";
    flex: 0 1 140px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--champagne));
}

.rc-title::after {
    background: linear-gradient(90deg, var(--champagne), transparent);
}

.rc-title-sm {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.rc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.rc-btn-rose {
    background: var(--rose-grad);
    border-color: #8f3f50;
    color: #fff;
    box-shadow:
        0 10px 20px -12px rgba(142, 63, 80, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.rc-btn-rose:hover,
.rc-btn-rose:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    box-shadow:
        0 14px 24px -12px rgba(142, 63, 80, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.rc-btn-outline {
    background: var(--white);
    border-color: var(--champagne);
    color: var(--rose-deep);
}

.rc-btn-outline:hover,
.rc-btn-outline:focus-visible,
.rc-btn-outline.is-on {
    background: var(--blush);
    color: var(--rose-deep);
}

.rc-btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
}

.rc-btn-lg {
    padding: 0.95rem 1.6rem;
    font-size: 1.08rem;
}

.rc-btn-block {
    display: flex;
    width: 100%;
}

.rc-btn:focus-visible,
.rc-pill:focus-visible,
.rc-heart:focus-visible,
.rc-step:focus-visible,
.rc-thumb:focus-visible,
.rc-arrow:focus-visible,
.rc-zoom-btn:focus-visible {
    outline: 2px solid var(--rose-deep);
    outline-offset: 3px;
}

.rc-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.05rem;
    border: 1px solid var(--champagne);
    border-radius: 999px;
    background: linear-gradient(180deg, #fffaf4 0%, #f9ece4 100%);
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 6px 14px -10px rgba(142, 63, 80, 0.45);
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.rc-pill:hover {
    border-color: var(--rose);
    color: var(--rose-deep);
}

.rc-pill.is-active {
    background: var(--rose-grad);
    border-color: #8f3f50;
    color: #fff;
}

.rc-pill i {
    color: inherit;
}

.rc-pill-action {
    font-weight: 500;
}

.rc-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6em;
    height: 1.6em;
    padding: 0 0.35em;
    border-radius: 999px;
    background: var(--rose-grad);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.rc-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--rose-deep);
    text-decoration: underline;
    cursor: pointer;
}

/* ---------- Collection page ---------- */
.rc-hero {
    position: relative;
    padding: calc(var(--header-h) + 22px) 0 34px;
    text-align: center;
    background:
        linear-gradient(
            180deg,
            rgba(253, 248, 243, 0.2) 0%,
            rgba(253, 248, 243, 0.55) 70%,
            var(--ivory) 100%
        ),
        url("img/characters/silk.jpg") center / cover no-repeat,
        var(--blush);
    overflow: hidden;
}

/* A few soft sparkles. */
.rc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(2px 2px at 12% 38%, #fff 50%, transparent 51%),
        radial-gradient(3px 3px at 22% 70%, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
        radial-gradient(2px 2px at 78% 30%, #fff 50%, transparent 51%),
        radial-gradient(3px 3px at 88% 62%, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
        radial-gradient(2px 2px at 64% 18%, #fff 50%, transparent 51%);
}

.rc-hero .container-xl {
    position: relative;
}

.rc-hero .rde-crumbs ol {
    justify-content: center;
}

.rc-sub {
    margin: 0.7rem 0 0;
    color: var(--rose-deep);
    font-size: clamp(0.78rem, 1.4vw, 0.98rem);
    letter-spacing: 0.26em;
    text-transform: uppercase;
    text-wrap: balance;
}

/* "A Little Extra Magic, Always Included" ("Royal Dream Events - 27"): a
   small note under the subheading, true of every character booking. Soft
   blush, a rose-gold edge and icon; compact, not an advert. */
.rc-perk {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: fit-content;
    max-width: min(760px, 100%);
    margin: 1.2rem auto 0;
    padding: 0.65rem 1.5rem 0.65rem 0.75rem;
    border: 1px solid rgba(196, 133, 119, 0.5);
    border-radius: 999px;
    background: linear-gradient(180deg, #fdf3f2 0%, #f9e5e5 100%);
    box-shadow:
        0 10px 24px -20px rgba(142, 63, 80, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-align: left;
}

.rc-perk-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--rose-gold);
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px -4px rgba(168, 110, 95, 0.65);
}

.rc-perk-words {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.rc-perk-title {
    color: var(--rose-deep);
    font-family: var(--serif);
    font-size: 1.22rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.2;
}

.rc-perk-text {
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.45;
    text-wrap: pretty; /* no lone last word */
}

@media (max-width: 575.98px) {
    .rc-perk {
        flex-direction: column;
        gap: 0.45rem;
        padding: 0.85rem 1.1rem 0.9rem;
        border-radius: 18px;
        text-align: center;
    }

    .rc-perk-title {
        font-size: 1.15rem;
    }
}

/* Magic & Villains, the sister company ("Royal Dream Events - 33"): a small
   card with its round logo. Soft cream and blush, a thin deep-purple edge
   with a faint magenta glow, a few tiny sparkles, a small plum button.
   Computers: beside the heading, top right, out of the page flow (nothing
   moves down). Phones and tablets: a centred card under the heading. */
.rc-head {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.rc-mv {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "logo title"
        "logo text"
        "logo btn";
    align-items: center;
    column-gap: 12px;
    width: fit-content;
    max-width: min(360px, 100%);
    margin: 18px auto 0;
    padding: 11px 16px 11px 11px;
    border: 1px solid rgba(98, 50, 150, 0.6);
    border-radius: 18px;
    background: linear-gradient(135deg, #fffaf5 0%, #fcf0f1 55%, #f8ebf3 100%);
    box-shadow:
        0 0 0 3px rgba(206, 92, 196, 0.07),
        0 0 16px -3px rgba(192, 72, 182, 0.4),
        0 12px 26px -20px rgba(74, 32, 112, 0.55);
    text-align: left;
    isolation: isolate;
}

/* The sparkles: a few specks of gold, white and pink, twinkling slowly. */
.rc-mv::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(1.6px 1.6px at 92% 16%, #d8b46a 50%, transparent 55%),
        radial-gradient(1.4px 1.4px at 84% 82%, #c95cc2 50%, transparent 55%),
        radial-gradient(2px 2px at 64% 10%, #fff 50%, transparent 55%),
        radial-gradient(1.4px 1.4px at 20% 88%, #d8b46a 50%, transparent 55%),
        radial-gradient(1.2px 1.2px at 97% 58%, #b77bd9 50%, transparent 55%);
    animation: rc-mv-twinkle 4.5s ease-in-out infinite alternate;
}

@keyframes rc-mv-twinkle {
    from {
        opacity: 0.45;
    }
    to {
        opacity: 1;
    }
}

.rc-mv-logo {
    grid-area: logo;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    filter: drop-shadow(0 0 6px rgba(176, 72, 200, 0.35));
}

/* Its words and button are cells of the box's grid, so the button can take a row of its own. */
.rc-mv-words {
    display: contents;
}

.rc-mv-title {
    grid-area: title;
    margin: 0;
    color: #4a2370;
    font-family: var(--serif);
    font-size: 1.16rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.12;
    text-wrap: balance;
}

.rc-mv-text {
    grid-area: text;
    margin: 3px 0 0;
    color: #6a4872;
    font-size: 0.8rem;
    line-height: 1.3;
}

.rc-mv-btn {
    grid-area: btn;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    max-width: 100%;
    margin-top: 8px;
    padding: 0.36rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #6d3ea2 0%, #4a2376 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 0 10px -3px rgba(192, 72, 182, 0.55);
    transition:
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.rc-mv-btn:hover,
.rc-mv-btn:focus-visible {
    color: #fff;
    filter: brightness(1.12);
    box-shadow: 0 0 14px -2px rgba(204, 82, 194, 0.7);
}

.rc-mv-btn:focus-visible {
    outline: 2px solid #4a2370;
    outline-offset: 3px;
}

.rc-mv-btn i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.rc-mv-btn:hover i {
    transform: translateX(2px);
}

@media (min-width: 1200px) {
    .rc-head.rc-has-mv {
        position: relative;
    }

    /* Just right of the heading, centred on it; never wider than the room left beside it. */
    .rc-mv {
        position: absolute;
        top: 50%;
        left: calc(100% + 28px);
        width: max-content;
        max-width: min(300px, calc(50vw - 50% - 56px));
        margin: 0;
        transform: translateY(-50%);
    }
}

/* Where the box is narrow (smaller laptops; the smallest phones), the button
   gets a row of its own across the box, so it never sticks out. */
@media (min-width: 1200px) and (max-width: 1365.98px), (max-width: 379.98px) {
    .rc-mv {
        grid-template-areas:
            "logo title"
            "logo text"
            "btn btn";
    }

    .rc-mv-btn {
        justify-self: stretch;
        margin-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rc-mv::before {
        animation: none;
    }

    .rc-mv-btn i {
        transition: none;
    }
}

.rc-browse {
    padding: 14px 0 40px;
}

.rc-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    margin-bottom: 28px;
}

.rc-filters,
.rc-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rc-actions {
    gap: 10px;
    margin-left: auto; /* stays on the right when the buttons wrap */
}

/* "Bundle Specials!" ("Royal Dream Events - 33"): the packages-only filter,
   soft blush with rose lettering; rose like the others when chosen. */
.rc-filters .rc-pill.rc-pill-bundles {
    border-color: #e6b3bd;
    background: linear-gradient(180deg, #fdf0f1 0%, #f9e1e4 100%);
    color: #a4455c;
    font-weight: 500;
}

.rc-filters .rc-pill.rc-pill-bundles:hover {
    border-color: var(--rose);
    background: linear-gradient(180deg, #fbe8eb 0%, #f6d7dc 100%);
    color: var(--rose-deep);
}

.rc-filters .rc-pill.rc-pill-bundles.is-active {
    border-color: transparent;
    background: var(--rose-grad);
    color: #fff;
}

.rc-more .dropdown-toggle::after {
    margin-left: 0.15rem;
    vertical-align: 0.15em;
}

.rc-more.show .rc-pill,
.rc-more .rc-pill.is-active {
    border-color: var(--rose);
}

.rc-menu {
    padding: 6px;
    border: 1px solid var(--champagne);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.rc-menu .dropdown-item {
    border-radius: 9px;
    color: var(--ink);
    font-size: 0.93rem;
    padding: 0.45rem 0.85rem;
}

.rc-menu .dropdown-item:hover,
.rc-menu .dropdown-item.is-active {
    background: var(--blush);
    color: var(--rose-deep);
}

.rc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rc-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1.5px solid var(--champagne);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffaf6 0%, #fbefe9 100%);
    box-shadow: 0 16px 30px -22px rgba(142, 63, 80, 0.55);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.rc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 36px -22px rgba(142, 63, 80, 0.6);
}

.rc-card[hidden] {
    display: none;
}

.rc-card-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--blush);
}

.rc-card-link {
    display: block;
    width: 100%;
    height: 100%;
}

.rc-card-link picture,
.rc-card-img {
    display: block;
    width: 100%;
    height: 100%;
}

.rc-card-img {
    object-fit: cover;
    object-position: 50% 25%;
    transition:
        transform 0.5s ease,
        filter 0.3s ease;
}

.rc-card-nophoto {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Hover: the photo darkens a little and "View Character" appears. */
.rc-view {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    border: 1px solid rgba(243, 223, 174, 0.9);
    border-radius: 999px;
    background: rgba(110, 44, 59, 0.82);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, -40%);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
    pointer-events: none;
}

.rc-card-link:hover .rc-card-img,
.rc-card-link:focus-visible .rc-card-img {
    filter: brightness(0.72);
    transform: scale(1.03);
}

.rc-card-link:hover .rc-view,
.rc-card-link:focus-visible .rc-view {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.rc-card-link:focus-visible {
    outline: 3px solid var(--rose-deep);
    outline-offset: -3px;
}

.rc-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(207, 170, 110, 0.8);
    border-radius: 50%;
    background: rgba(255, 250, 246, 0.9);
    color: var(--rose-deep);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.rc-heart:hover {
    transform: scale(1.08);
}

.rc-heart.is-on {
    color: #c2405b;
}

.rc-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 14px 14px 16px;
    border-top: 1.5px solid var(--champagne);
    text-align: center;
}

.rc-card-name {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.15;
}

.rc-card-name a {
    color: var(--ink);
    text-decoration: none;
}

.rc-card-name a:hover {
    color: var(--rose-deep);
}

.rc-card-var {
    margin: 0.1rem 0 0;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 1.08rem;
    font-style: italic;
}

/* A Multi-Character Package ("Royal Dream Events - 28"): its size and its own prices on the card. */
.rc-card-count i,
.rc-var-pack i {
    color: var(--gold-dark);
    font-size: 0.8em;
}

.rc-card-price {
    margin: 0.45rem 0 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.35;
}

.rc-card-price strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 700;
}

.rc-card-price span {
    display: block;
    font-size: 0.85rem;
}

/* The button sits at the bottom, so the buttons line up across a row. */
.rc-card-body > :nth-last-child(2) {
    margin-bottom: 0.8rem;
}

.rc-card-body .rc-btn {
    margin-top: auto;
}

.rc-none {
    padding: 30px 0;
    color: var(--ink-soft);
    text-align: center;
}

.rc-intro {
    max-width: 760px;
    margin: 36px auto 0;
    color: var(--ink-soft);
    text-align: center;
}

/* Pricing band: a deep-rose ribbon with the two prices on ivory. */
.rc-pricing {
    padding: 10px 0 70px;
}

.rc-pricing-band {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px 26px;
    border: 1.5px solid var(--champagne);
    border-radius: 26px;
    background: var(--rose-grad);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.rc-pricing-title {
    display: inline-block;
    margin: -24px auto 18px;
    padding: 0.4rem 2.2rem 0.5rem;
    border: 1.5px solid var(--champagne);
    border-radius: 999px;
    background: linear-gradient(180deg, #b45a6c 0%, #93404f 100%);
    color: #fff7ef;
    font-family: var(--serif);
    font-size: clamp(1.45rem, 3.2vw, 2.25rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.4);
}

.rc-pricing-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 760px;
    margin: 0 auto;
    border: 1.5px solid var(--champagne);
    border-radius: 18px;
    background: linear-gradient(180deg, #fffaf6 0%, #fbefe9 100%);
}

.rc-pricing-box p {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    margin: 0;
    padding: 16px 12px;
}

.rc-pricing-box p + p {
    border-left: 1.5px solid var(--champagne);
}

.rc-pricing-box strong {
    color: var(--rose-deep);
    font-family: var(--serif);
    font-size: clamp(2rem, 4.6vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
}

.rc-pricing-box span {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.02rem, 2vw, 1.3rem);
    font-weight: 600;
}

.rc-pricing-note {
    margin: 16px auto 0;
    max-width: 640px;
    color: #fff3ea;
    font-size: 0.95rem;
}

/* ---------- Character page ---------- */
.rc-detail {
    padding: calc(var(--header-h) + 22px) 0 40px;
    background:
        linear-gradient(180deg, rgba(253, 248, 243, 0.4) 0%, var(--ivory) 340px),
        url("img/characters/silk.jpg") center top / 100% auto no-repeat,
        var(--ivory);
}

.rc-detail-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 22px;
}

.rc-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--ink);
    font-size: 0.95rem;
}

.rc-crumbs li + li::before {
    content: "\203A";
    margin-right: 0.45rem;
    color: var(--gold-dark);
}

.rc-crumbs a {
    color: var(--rose-deep);
    text-decoration: none;
}

.rc-crumbs a:hover {
    text-decoration: underline;
}

.rc-crumbs [aria-current] {
    color: var(--ink-soft);
}

.rc-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 44px;
    align-items: start;
}

.rc-stage {
    position: relative;
    aspect-ratio: 1 / 1;
    /* Shorter on wide, low screens, so the price and Add to Cart show without scrolling much. */
    max-height: max(380px, calc(100vh - var(--header-h) - 230px));
    width: 100%;
    overflow: hidden;
    border: 2px solid var(--champagne);
    border-radius: 22px;
    background: radial-gradient(70% 60% at 50% 40%, #fff6f1 0%, var(--blush) 100%);
    box-shadow: var(--shadow-lg);
    touch-action: pan-y;
}

.rc-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.35s ease,
        visibility 0.35s;
    cursor: zoom-in;
}

.rc-slide.is-on {
    opacity: 1;
    visibility: visible;
}

.rc-slide picture,
.rc-slide-img {
    display: block;
    width: 100%;
    height: 100%;
}

.rc-slide-img {
    object-fit: contain;
}

.rc-slide figcaption {
    position: absolute;
    left: 50%;
    bottom: 14px;
    max-width: 80%;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(253, 248, 243, 0.92);
    color: var(--ink);
    font-size: 0.88rem;
    text-align: center;
    transform: translateX(-50%);
}

.rc-stage-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    height: 100%;
    color: var(--ink-soft);
}

.rc-arrow,
.rc-zoom-btn {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1.5px solid var(--champagne);
    border-radius: 50%;
    background: rgba(255, 250, 246, 0.92);
    color: var(--rose-deep);
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.rc-arrow:hover,
.rc-zoom-btn:hover {
    background: #fff;
    transform: scale(1.06);
}

.rc-arrow {
    top: 50%;
    margin-top: -23px;
}

.rc-arrow-prev {
    left: 14px;
}

.rc-arrow-next {
    right: 14px;
}

.rc-zoom-btn {
    right: 14px;
    bottom: 14px;
    background: rgba(75, 46, 51, 0.82);
    border-color: rgba(243, 223, 174, 0.8);
    color: #fff;
}

.rc-zoom-btn:hover {
    background: rgba(75, 46, 51, 0.95);
}

.rc-thumbs {
    display: flex;
    gap: 12px;
    margin: 16px 0 0;
    padding: 2px 2px 6px;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: thin;
}

.rc-thumb {
    display: block;
    flex: none;
    width: 96px;
    height: 96px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 14px;
    background: var(--blush);
    cursor: pointer;
    opacity: 0.78;
    transition:
        opacity 0.2s ease,
        border-color 0.2s ease;
}

.rc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
}

.rc-thumb:hover,
.rc-thumb.is-on {
    opacity: 1;
}

.rc-thumb.is-on {
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 2px rgba(207, 170, 110, 0.35);
}

.rc-info {
    text-align: center;
}

.rc-name {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(2.6rem, 5vw, 3.9rem);
    font-weight: 600;
    line-height: 1.02;
    text-wrap: balance;
}

.rc-var {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin: 0.3rem 0 0;
    color: var(--rose-deep);
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-style: italic;
    font-weight: 600;
}

.rc-var::before,
.rc-var::after {
    content: "";
    flex: 0 1 60px;
    height: 1.5px;
    background: var(--champagne);
}

.rc-collection {
    margin: 0.5rem 0 0;
    color: var(--gold-dark);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.rc-desc {
    margin: 1.1rem 0 0;
    color: var(--ink);
    font-size: 1.04rem;
    text-align: left;
}

.rc-details-title {
    margin: 1.2rem 0 0.5rem;
    color: var(--rose-deep);
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: left;
}

.rc-details {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.rc-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.35rem;
    color: var(--ink);
}

.rc-details li::before {
    content: "\2726";
    position: absolute;
    left: 0;
    top: 0.05em;
    color: var(--gold);
}

/* "Character Appearance": duration in the middle, price on the right. */
.rc-price-box {
    margin: 1.5rem 0 1rem;
    padding: 16px 18px 18px;
    border: 1.5px solid var(--champagne);
    border-radius: 20px;
    background: linear-gradient(180deg, #fffaf6 0%, #fbeee8 100%);
    box-shadow: var(--shadow);
}

.rc-price-title {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 600;
}

.rc-price-rule {
    margin: 0.15rem 0 0.9rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.rc-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.rc-price-row .rc-price {
    padding-left: 18px;
    border-left: 1.5px solid var(--champagne);
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3.4vw, 2.4rem);
    font-weight: 700;
    line-height: 1;
}

.rc-stepper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rc-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--rose-grad);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 6px 12px -6px rgba(142, 63, 80, 0.8);
}

.rc-step:disabled {
    background: #e7d3d3;
    color: #fff;
    box-shadow: none;
    cursor: not-allowed;
}

.rc-hours {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.6rem;
    height: 40px;
    padding: 0 0.6rem;
    border: 1.5px solid var(--champagne);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 500;
}

.rc-info .rc-btn + .rc-btn {
    margin-top: 0.7rem;
}

.rc-info .rc-crown {
    width: 46px;
}

.rc-related {
    padding: 24px 0 40px;
}

.rc-related + .rc-related {
    padding-top: 0;
}

.rc-related-title {
    margin: 0 0 22px;
    color: var(--rose-deep);
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-style: italic;
    font-weight: 600;
    text-align: center;
}

.rc-related-all {
    margin: 26px 0 0;
    text-align: center;
}

/* Photo viewer with zoom */
.rc-viewer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 18, 24, 0.94);
}

.rc-viewer[hidden] {
    display: none;
}

.rc-viewer-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(92vw, 1100px);
    height: 86vh;
    overflow: hidden;
}

.rc-viewer-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* small photos fill the viewer too */
    border-radius: 12px;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    -webkit-user-select: none;
    user-select: none;
}

.rc-viewer-stage img.is-zoomed {
    transform: scale(2.2);
    cursor: zoom-out;
    border-radius: 0;
}

.rc-viewer-hint {
    position: absolute;
    left: 50%;
    bottom: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    transform: translateX(-50%);
    pointer-events: none;
}

.rc-viewer-btn {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(243, 223, 174, 0.6);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.rc-viewer-btn:hover,
.rc-viewer-btn:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    outline: none;
}

.rc-viewer-close {
    top: 16px;
    right: 16px;
}

.rc-viewer-prev {
    left: 16px;
    top: 50%;
    margin-top: -24px;
}

.rc-viewer-next {
    right: 16px;
    top: 50%;
    margin-top: -24px;
}

/* ---------- Cart drawer, date picker, message ---------- */
.rc-cart {
    --bs-offcanvas-width: 430px;
    background: var(--ivory);
    color: var(--ink);
}

.rc-cart .offcanvas-header {
    border-bottom: 1.5px solid var(--champagne);
    background: linear-gradient(180deg, #fbefe9 0%, var(--ivory) 100%);
}

.rc-cart-title {
    margin: 0;
    color: var(--rose-deep);
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 600;
}

.rc-cart-title i {
    font-size: 1.1rem;
}

.rc-cart-date {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.rc-cart-date i {
    color: var(--rose-deep);
}

.rc-cart-empty {
    padding: 1rem 0;
    color: var(--ink-soft);
}

.rc-cart-list,
.rc-summary-list {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.rc-line {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(207, 170, 110, 0.4);
}

.rc-line-img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--blush);
    object-fit: cover;
    object-position: 50% 25%;
}

.rc-line-name {
    display: block;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.15;
    text-decoration: none;
}

.rc-line-name:hover {
    color: var(--rose-deep);
}

.rc-line-var {
    display: block;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-style: italic;
}

.rc-line-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 0.45rem;
}

.rc-stepper-sm .rc-step {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
}

.rc-stepper-sm .rc-hours {
    min-width: 4.4rem;
    height: 30px;
    font-size: 0.92rem;
}

.rc-line-price {
    color: var(--rose-deep);
    font-size: 1.05rem;
}

.rc-line-remove {
    width: 32px;
    height: 32px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: none;
    color: var(--ink-soft);
    cursor: pointer;
}

.rc-line-remove:hover,
.rc-line-remove:focus-visible {
    border-color: var(--champagne);
    background: var(--blush);
    color: var(--rose-deep);
}

.rc-cart-subtotal {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 1rem;
    font-size: 1.05rem;
}

.rc-cart-subtotal strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.8rem;
}

.rc-cart-note {
    margin: 0.6rem 0 1rem;
    color: var(--ink-soft);
    font-size: 0.85rem;
    text-align: center;
}

.rc-cart .rc-btn-outline {
    margin-top: 0.4rem;
}

.rc-date-modal .modal-content {
    border: 1.5px solid var(--champagne);
    border-radius: 18px;
    background: var(--ivory);
}

.rc-date-modal .modal-title {
    color: var(--rose-deep);
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
}

.rc-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1090;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: min(92vw, 560px);
    padding: 12px 14px 12px 18px;
    border: 1px solid var(--champagne);
    border-radius: 16px;
    background: #fffaf6;
    color: var(--ink);
    font-size: 0.95rem;
    box-shadow: 0 18px 40px -16px rgba(110, 44, 59, 0.5);
    opacity: 0;
    transform: translate(-50%, 12px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.rc-toast.is-on {
    opacity: 1;
    transform: translate(-50%, 0);
}

.rc-toast-btn {
    flex: none;
    padding: 0.4rem 0.9rem;
    border: 0;
    border-radius: 999px;
    background: var(--rose-grad);
    color: #fff;
    font-size: 0.88rem;
    cursor: pointer;
}

/* ---------- Checkout ---------- */
.rc-checkout {
    padding: calc(var(--header-h) + 26px) 0 70px;
    background:
        linear-gradient(180deg, rgba(253, 248, 243, 0.35) 0%, var(--ivory) 300px),
        url("img/characters/silk.jpg") center top / 100% auto no-repeat,
        var(--ivory);
}

.rc-checkout-head {
    margin-bottom: 26px;
    text-align: center;
}

.rc-checkout-intro {
    max-width: 640px;
    margin: 0.7rem auto 0;
    color: var(--ink-soft);
}

.rc-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 32px;
    align-items: start;
}

.rc-checkout-grid[hidden],
.rc-checkout-empty[hidden],
.rc-success[hidden] {
    display: none;
}

.rc-form,
.rc-summary,
.rc-success,
.rc-checkout-empty {
    padding: 24px 26px 26px;
    border: 1.5px solid var(--champagne);
    border-radius: 22px;
    background: linear-gradient(180deg, #fffcf8 0%, #fdf2ee 100%);
    box-shadow: var(--shadow);
}

.rc-summary {
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

.rc-form-title {
    margin: 0 0 14px;
    color: var(--rose-deep);
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 600;
}

.rc-form-title ~ .rc-form-title {
    margin-top: 20px;
}

.rc-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
}

.rc-field-wide {
    grid-column: 1 / -1;
}

.rc-field label {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--ink);
    font-weight: 500;
}

.rc-field .form-control,
.rc-field .form-select,
.rc-cart-date .form-control,
.rc-date-modal .form-control {
    border-color: rgba(207, 170, 110, 0.8);
    border-radius: 12px;
    background-color: #fff;
}

.rc-field .form-control:focus,
.rc-field .form-select:focus,
.rc-cart-date .form-control:focus,
.rc-date-modal .form-control:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 0.2rem rgba(184, 96, 111, 0.2);
}

.rc-field [aria-invalid="true"] {
    border-color: #b3261e;
}

.rc-optional {
    color: var(--ink-soft);
    font-weight: 400;
}

.rc-err {
    min-height: 1.2em;
    margin: 0.2rem 0 0.5rem;
    color: #a3221b;
    font-size: 0.86rem;
}

.rc-form-err:empty {
    display: none;
}

.rc-form-err {
    margin: 0.5rem 0 1rem;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    background: #fbe6e4;
}

.rc-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rc-form-note {
    margin: 0.8rem 0 0;
    color: var(--ink-soft);
    font-size: 0.88rem;
    text-align: center;
}

.rc-form-note a,
.rc-summary-more {
    color: var(--rose-deep);
}

.rc-summary-more {
    display: block;
    margin-top: 0.9rem;
    text-align: center;
}

.rc-checkout-empty,
.rc-success {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.rc-checkout-empty p {
    font-size: 1.15rem;
}

.rc-success p {
    color: var(--ink);
}

.rc-success:focus {
    outline: none;
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1199.98px) {
    .rc-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .rc-detail-grid,
    .rc-checkout-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .rc-summary {
        position: static;
        order: -1;
    }

    .rc-bar {
        justify-content: center;
    }

    .rc-filters {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .rc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }

    .rc-card-name {
        font-size: 1.2rem;
    }

    .rc-card-var {
        font-size: 0.98rem;
    }

    .rc-card-price {
        font-size: 0.82rem;
    }

    .rc-card-price strong {
        font-size: 1.2rem;
    }

    .rc-card-price span {
        font-size: 0.78rem;
    }

    .rc-card-body {
        padding: 10px 8px 12px;
    }

    .rc-card-body .rc-btn {
        padding: 0.45rem 0.8rem;
        font-size: 0.84rem;
    }

    /* No hover on touch screens: tapping the photo opens the character. */
    .rc-view {
        display: none;
    }

    .rc-heart {
        width: 34px;
        height: 34px;
        top: 8px;
        right: 8px;
    }

    /* The buttons wrap onto lines (a scrolling row would cut off the drop-down). */
    .rc-filters {
        gap: 6px;
    }

    .rc-filters .rc-pill {
        padding: 0.42rem 0.8rem;
        font-size: 0.85rem;
    }

    .rc-actions {
        justify-content: center;
        width: 100%;
    }

    .rc-title::before,
    .rc-title::after {
        display: none;
    }

    .rc-pricing-box {
        grid-template-columns: minmax(0, 1fr);
    }

    .rc-pricing-box p + p {
        border-left: 0;
        border-top: 1.5px solid var(--champagne);
    }

    .rc-pricing-title {
        padding: 0.4rem 1.3rem 0.5rem;
    }

    .rc-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .rc-form,
    .rc-summary,
    .rc-success,
    .rc-checkout-empty {
        padding: 20px 16px 22px;
    }

    .rc-arrow {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

    .rc-thumb {
        width: 76px;
        height: 76px;
    }

    .rc-price-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .rc-toast {
        bottom: calc(84px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 379.98px) {
    .rc-grid {
        gap: 12px 8px;
    }

    .rc-card-body .rc-btn i {
        display: none;
    }

    .rc-price-row .rc-price {
        padding-left: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rc-card,
    .rc-card-img,
    .rc-view,
    .rc-slide,
    .rc-btn,
    .rc-toast,
    .rc-viewer-stage img {
        transition: none;
    }
}
