/*
 * Character Collection, new design (Lola's "Royal Dream Events - 23"
 * mockup): clean and luxurious, ivory and cream with dusty rose and blush,
 * champagne and rose-gold details, lots of white space, the photos first,
 * few decorations (one small crown, no sparkles, light borders). Loaded
 * after characters.css, only when the new design is on: in preview until
 * Lola switches it on (body class rc-v2, rde_char_v2()).
 */

.rc-v2 {
    --ivory: #fdf9f5;
    --cream: #f8f1ea;
    --line-soft: #efe2d9;
    --champagne: #dcc29a;
    --rose: #b25e6d;
    --rose-deep: #9a4858;
    --rose-grad: linear-gradient(180deg, #bf6b79 0%, #9e4859 100%);
    background: var(--ivory);
}

/* The header's Build Your Party Online button stays gold here too, next to
   the rose Book Your Character one ("Royal Dream Events - 24"; the "23"
   mockup had turned it rose on these pages). */

/* ---------- Heading ---------- */
.rc-v2 .rc-hero {
    padding: calc(var(--header-h) + 34px) 0 30px;
    background:
        linear-gradient(
            180deg,
            rgba(253, 249, 245, 0.78) 0%,
            rgba(253, 249, 245, 0.92) 60%,
            var(--ivory) 100%
        ),
        url("img/characters/silk.jpg") center top / cover no-repeat,
        var(--ivory);
}

.rc-v2 .rc-hero::before {
    display: none; /* no sparkles */
}

.rc-v2 .rc-hero .rde-crumbs {
    display: none; /* the mockup has none; Google still gets them (structured data) */
}

.rc-v2 .rc-crown-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 4px;
}

.rc-v2 .rc-crown-row::before,
.rc-v2 .rc-crown-row::after {
    content: "";
    flex: 0 1 220px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--champagne));
}

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

.rc-v2 .rc-crown {
    width: 42px;
    margin: 0;
    filter: none;
    color: #cfa866;
}

.rc-v2 .rc-title {
    font-size: clamp(2.3rem, 5.4vw, 4.3rem);
    font-weight: 600;
    color: var(--rose-deep);
}

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

.rc-v2 .rc-sub {
    margin-top: 0.5rem;
    color: #6f3d47;
    letter-spacing: 0.3em;
}

/* ---------- Filters and buttons ---------- */
.rc-v2 .rc-browse {
    padding: 10px 0 30px;
}

.rc-v2 .rc-bar {
    margin-bottom: 30px;
}

.rc-v2 .rc-pill {
    border-color: var(--champagne);
    background: #fffdfb;
    box-shadow: none;
    font-size: 0.93rem;
}

.rc-v2 .rc-pill:hover {
    border-color: var(--rose);
    background: #fffdfb;
}

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

.rc-v2 .rc-pill-action i {
    color: var(--rose-deep);
}

.rc-v2 .rc-pill.is-active i {
    color: #fff;
}

/* ---------- Character cards: the photo first ---------- */
.rc-v2 .rc-grid {
    gap: 30px 26px;
}

.rc-v2 .rc-card {
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 30px -24px rgba(110, 52, 62, 0.45);
}

.rc-v2 .rc-card:hover {
    box-shadow: 0 20px 36px -24px rgba(110, 52, 62, 0.55);
}

.rc-v2 .rc-card-photo {
    aspect-ratio: 3 / 2;
    background: var(--cream);
}

.rc-v2 .rc-card-body {
    padding: 16px 16px 18px;
    border-top: 0;
}

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

.rc-v2 .rc-card-var {
    color: #8a6c70;
    font-size: 1.05rem;
}

.rc-v2 .rc-view {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 253, 250, 0.94);
    color: var(--rose-deep);
}

.rc-v2 .rc-card-link:hover .rc-card-img,
.rc-v2 .rc-card-link:focus-visible .rc-card-img {
    filter: brightness(0.8);
}

/* The heart shows on hover (or once it's a favorite); always on touch screens. */
.rc-v2 .rc-heart {
    width: 34px;
    height: 34px;
    border-color: transparent;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    opacity: 0;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.rc-v2 .rc-card:hover .rc-heart,
.rc-v2 .rc-card:focus-within .rc-heart,
.rc-v2 .rc-heart.is-on {
    opacity: 1;
}

@media (hover: none) {
    .rc-v2 .rc-heart {
        opacity: 1;
    }
}

/* Preview only: Draft / Hidden on a card. */
.rc-status {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #5b4a4d;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rc-status-hidden {
    background: #b07a1f;
}

/* ---------- "Don't see your character?" ---------- */
.rc-ask {
    padding: 34px 0 24px;
}

.rc-ask-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 30px;
    max-width: 900px;
    margin: 0 auto;
}

.rc-ask-icon {
    display: inline-flex;
    align-items: center;
    padding-right: 28px;
    border-right: 1px solid var(--champagne);
    color: var(--rose-deep);
    font-size: 2.4rem;
    line-height: 1;
}

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

.rc-ask-title {
    margin: 0;
    color: var(--rose-deep);
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.15;
}

.rc-ask-text p {
    margin: 0.2rem 0 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1.9vw, 1.35rem);
    font-style: italic;
}

.rc-ask .rc-btn {
    padding: 0.8rem 1.6rem;
    font-size: 1.02rem;
}

/* ---------- Pricing: ivory box, rose title, small sticker ---------- */
.rc-v2 .rc-pricing {
    padding: 36px 0 76px;
}

.rc-v2 .rc-pricing-band {
    max-width: 920px;
    padding: 0 24px 28px;
    border: 1.5px solid var(--champagne);
    border-radius: 30px;
    background: #fffdfb;
    box-shadow: 0 18px 40px -30px rgba(110, 52, 62, 0.45);
}

.rc-v2 .rc-pricing-title {
    margin: -26px auto 14px;
    border: 0;
    background: var(--rose-grad);
    box-shadow: 0 10px 20px -14px rgba(110, 52, 62, 0.7);
}

.rc-v2 .rc-pricing-box {
    border: 0;
    background: none;
}

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

.rc-v2 .rc-pricing-box strong {
    color: var(--rose-deep);
}

.rc-v2 .rc-pricing-note {
    margin-top: 8px;
    color: var(--ink-soft);
}

/* "More Pictures Coming Soon~!": on the pricing and ("Royal Dream Events - 27")
   at the top right of the page heading. A lighter, softer rose-pink than the
   pricing banner, white lettering, a soft shadow. */
.rc-sticker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #e597ab 0%, #d47a93 55%, #c96f88 100%);
    color: #fff;
    font-family: var(--serif);
    font-size: 1.02rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(122, 38, 62, 0.35);
    box-shadow: 0 8px 18px -10px rgba(170, 80, 105, 0.6);
}

.rc-sticker i {
    font-size: 0.85rem;
}

.rc-sticker-price {
    position: absolute;
    top: -18px;
    right: -14px;
    transform: rotate(8deg);
}

/* Beside the heading: on wide screens just right of the heading's first
   line; narrower, on its own line above the heading's right end, so it never
   covers a word. */
.rc-title-wrap {
    display: flex;
    flex-direction: column;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.rc-sticker-top {
    order: -1;
    align-self: flex-end;
    margin: 0.6rem 0 0.55rem;
    transform: rotate(3deg);
}

/* Tablets and phones: the pricing sticker sits on the bottom edge of the
   pricing box, centred, clear of the pricing banner on top. */
@media (max-width: 991.98px) {
    .rc-sticker-price {
        top: auto;
        right: 50%;
        bottom: -16px;
        transform: translateX(50%) rotate(-3deg);
    }

    .rc-v2 .rc-pricing-band {
        padding-bottom: 34px;
    }
}

@media (min-width: 1200px) {
    .rc-title-wrap {
        position: relative;
    }

    .rc-sticker-top {
        position: absolute;
        top: 0.2rem;
        left: calc(100% + 0.6rem);
        margin: 0;
        transform: rotate(8deg);
    }

    /* That spot belongs to the Magic & Villains box ("33") while it shows:
       the sticker stays above the heading's right end, as on smaller screens. */
    .rc-has-mv .rc-sticker-top {
        position: static;
        margin: 0.6rem 0 0.55rem;
        transform: rotate(3deg);
    }
}

.rc-v2 .rc-intro {
    max-width: 680px;
    margin: 28px auto 0;
    font-size: 0.95rem;
}

/* ---------- Character page ---------- */
.rc-v2 .rc-detail,
.rc-v2 .rc-checkout {
    background: var(--ivory);
}

.rc-v2 .rc-info > .rc-crown,
.rc-v2 .rc-checkout .rc-crown,
.rc-v2 .rc-success .rc-crown {
    display: none;
}

.rc-v2 .rc-stage {
    border: 1px solid var(--line-soft);
    background: var(--cream);
    box-shadow: 0 18px 40px -30px rgba(110, 52, 62, 0.5);
}

.rc-v2 .rc-arrow,
.rc-v2 .rc-zoom-btn {
    border-color: transparent;
}

.rc-v2 .rc-thumb.is-on {
    border-color: var(--rose);
    box-shadow: none;
}

.rc-v2 .rc-var::before,
.rc-v2 .rc-var::after {
    height: 1px;
}

.rc-v2 .rc-price-box,
.rc-v2 .rc-form,
.rc-v2 .rc-summary,
.rc-v2 .rc-success,
.rc-v2 .rc-checkout-empty {
    border: 1px solid var(--line-soft);
    background: #fff;
    box-shadow: 0 14px 30px -26px rgba(110, 52, 62, 0.5);
}

.rc-v2 .rc-hours {
    border-color: var(--line-soft);
}

.rc-v2 .rc-price-row .rc-price {
    border-left-color: var(--line-soft);
}

/* ---------- Preview pill (only you see it) ---------- */
.rc-preview-bar {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1085;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    max-width: min(92vw, 420px);
    padding: 9px 14px;
    border-radius: 14px;
    background: #3f2a2f;
    color: #fff;
    font-size: 0.82rem;
    line-height: 1.4;
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5);
}

.rc-preview-bar a {
    color: #f6d9b8;
    font-weight: 500;
    white-space: nowrap;
}

/* ---------- Smaller screens ---------- */
@media (max-width: 767.98px) {
    .rc-v2 .rc-crown-row::before,
    .rc-v2 .rc-crown-row::after {
        flex-basis: 70px;
    }

    .rc-v2 .rc-grid {
        gap: 18px 12px;
    }

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

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

    .rc-ask-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .rc-ask-icon {
        padding-right: 0;
        border-right: 0;
        font-size: 2rem;
    }

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

    .rc-sticker {
        font-size: 0.92rem;
    }

    .rc-preview-bar {
        left: 10px;
        right: 10px;
        bottom: calc(84px + env(safe-area-inset-bottom));
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rc-v2 .rc-heart {
        transition: none;
    }
}
