/* CardReactor public eBay Partner CTA — intentionally scoped to this component. */
.cr-ebay-card-cta {
    --cr-ebay-mint: #b88d41;
    --cr-ebay-mint-deep: #7c5b22;
    --cr-ebay-ink: #171b1a;
    --cr-ebay-muted: #4f5956;
    --cr-ebay-line: #dbe4e0;
    width: 100%;
    margin-top: 18px;
    color: var(--cr-ebay-ink);
    font-family: inherit;
}

.cr-ebay-card-cta__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 84px;
    padding: 14px 16px 14px 19px;
    color: var(--cr-ebay-ink);
    text-decoration: none;
    background:
        radial-gradient(circle at 88% 18%, rgba(184, 141, 65, .12), transparent 33%),
        #fff;
    border: 1px solid var(--cr-ebay-line);
    border-radius: 18px;
    box-shadow: 0 9px 24px rgba(23, 27, 26, .07);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cr-ebay-card-cta__link:hover {
    color: var(--cr-ebay-ink);
    border-color: rgba(184, 141, 65, .62);
    box-shadow: 0 13px 30px rgba(86, 64, 27, .12);
    transform: translateY(-1px);
}

.cr-ebay-card-cta__link:focus-visible {
    outline: 3px solid rgba(184, 141, 65, .32);
    outline-offset: 3px;
}

.cr-ebay-card-cta__copy {
    display: grid;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.cr-ebay-card-cta__copy > small {
    color: var(--cr-ebay-mint-deep);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .16em;
    line-height: 1.2;
}

.cr-ebay-card-cta__logo {
    display: block;
    width: 88px;
    height: 35px;
}

.cr-ebay-card-cta__logo svg {
    display: block;
    width: 100%;
    height: 100%;
}

.cr-ebay-card-cta__pointer {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--cr-ebay-mint-deep);
    background: #e6f8f2;
    border: 1px solid #c8eee2;
    border-radius: 50%;
}

.cr-ebay-card-cta__pointer svg {
    width: 23px;
    height: 23px;
}

.cr-ebay-card-cta__disclosure {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 8px;
    margin: 8px 4px 0;
    color: var(--cr-ebay-muted);
    font-size: 12px;
    line-height: 1.45;
}

.cr-ebay-card-cta__disclosure strong {
    color: var(--cr-ebay-mint-deep);
    font-size: inherit;
    font-weight: 850;
    letter-spacing: .08em;
}

.cr-ebay-card-cta--lightbox {
    width: min(560px, 88vw);
    margin-top: 0;
    padding: 11px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .32);
}

.cr-ebay-card-cta--lightbox .cr-ebay-card-cta__link {
    min-height: 70px;
    padding-block: 10px;
    border-radius: 13px;
    box-shadow: none;
}

.cr-ebay-card-cta--lightbox .cr-ebay-card-cta__disclosure {
    margin-inline: 6px;
}

.crn-lightbox__partner-slot {
    display: grid;
    justify-items: center;
    width: 100%;
}

.crn-lightbox__partner-slot:empty {
    display: none;
}

.crn-lightbox__stack {
    display: grid;
    justify-items: center;
    gap: 14px;
    width: min(900px, 92vw);
    max-height: calc(100dvh - 36px);
    cursor: default;
}

.crn-lightbox .crn-lightbox__stack > img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 196px);
    object-fit: contain;
    filter: drop-shadow(0 24px 45px rgba(0, 0, 0, .52));
    cursor: default;
}

@media (max-width: 520px) {
    .cr-ebay-card-cta__link {
        min-height: 74px;
        gap: 12px;
        padding: 11px 12px 11px 14px;
        border-radius: 15px;
    }

    .cr-ebay-card-cta__logo {
        width: 76px;
        height: 30px;
    }

    .cr-ebay-card-cta__pointer {
        width: 40px;
        height: 40px;
    }

    .cr-ebay-card-cta__disclosure {
        display: grid;
    }

    .cr-ebay-card-cta--lightbox {
        width: min(94vw, 560px);
        padding: 8px;
    }

    .crn-lightbox__stack {
        gap: 9px;
        width: 94vw;
    }

    .crn-lightbox .crn-lightbox__stack > img {
        max-height: calc(100dvh - 205px);
    }
}

/* BUILD 0021.24.3 — lightbox media owns its width so side arrows stay attached to the holder. */
.crn-lightbox__stack {
    width: auto;
    max-width: 94vw;
}
.crn-lightbox__media {
    position: relative;
    display: grid;
    place-items: center;
    width: fit-content;
    max-width: calc(100vw - 132px);
}
.crn-lightbox__media > img {
    display: block;
    width: auto;
    max-width: min(900px, calc(100vw - 132px));
    height: auto;
    max-height: calc(100dvh - 196px);
    object-fit: contain;
    filter: drop-shadow(0 24px 45px rgba(0, 0, 0, .52));
    cursor: default;
}

html[data-crn-theme="dark"] .cr-ebay-card-cta {
    --cr-ebay-ink: #f4f7f6;
    --cr-ebay-muted: #a7b0ad;
    --cr-ebay-line: #2a3531;
    --cr-ebay-mint-deep: #f0c873;
}
html[data-crn-theme="dark"] .cr-ebay-card-cta__link {
    background: radial-gradient(circle at 88% 18%, rgba(201, 163, 96, .14), transparent 33%), #111614;
}
html[data-crn-theme="dark"] .cr-ebay-card-cta__pointer { background: #3b2a12; border-color: #6e5127; }
html[data-crn-theme="dark"] .cr-ebay-card-cta--lightbox { background: rgba(17, 22, 20, .98); border-color: rgba(255,255,255,.16); }

@media (max-width: 560px) {
    .crn-lightbox__media { max-width: calc(100vw - 94px); }
    .crn-lightbox__media > img { max-width: calc(100vw - 94px); max-height: calc(100dvh - 205px); }
}
