/**
 * Ravers Co — Add-to-cart welcome toast (v1.14.1)
 * Bottom slide-up card. Dark, on-brand, mobile-first.
 */
/* Don't inherit the theme's box model — width:100% inputs/buttons must include
   their own padding + border or they overflow the card's right edge. */
.rcc-wt, .rcc-wt * { box-sizing: border-box; }

/* Centered celebration modal over a dimmed backdrop, above the whole
   cart/chat/rewards stack (all 6-digit z-index) — so it must be 999999. */
.rcc-wt {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(6, 4, 14, 0.72);
    color: #e7e3f5;
    font-family: inherit;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.rcc-wt[hidden] { display: none; }
.rcc-wt.rcc-wt--in { opacity: 1; }

.rcc-wt__card {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 26px 22px 22px;
    border-radius: 18px;
    background: linear-gradient(145deg, #1a0a3e, #0f0326);
    border: 1px solid rgba(124, 58, 237, 0.5);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.rcc-wt.rcc-wt--in .rcc-wt__card { transform: scale(1); }

.rcc-wt__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    background: none;
    color: rgba(231, 227, 245, 0.6);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.rcc-wt__close:hover { color: #fff; }

.rcc-wt__added {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #7ef0d0;
    margin-bottom: 6px;
}
.rcc-wt__pitch {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #efeaff;
}
.rcc-wt__heading {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
}

.rcc-wt__reveal-btn,
.rcc-wt__claim {
    width: 100%;
    padding: 13px 14px;
    border: 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.42);
}
.rcc-wt__claim {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}
.rcc-wt__reveal-btn:hover,
.rcc-wt__claim:hover { filter: brightness(1.06); }
.rcc-wt__claim:disabled { opacity: 0.55; cursor: default; filter: none; }

.rcc-wt__email,
.rcc-wt__whatsapp {
    width: 100%;
    padding: 11px 12px;
    margin-bottom: 9px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 14px;
}
.rcc-wt__email::placeholder,
.rcc-wt__whatsapp::placeholder { color: rgba(231, 227, 245, 0.5); }
.rcc-wt__email:focus,
.rcc-wt__whatsapp:focus { outline: none; border-color: #a855f7; }

.rcc-wt__result {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}
.rcc-wt__result--ok { color: #7ef08c; }
.rcc-wt__result--err { color: #ff9b9b; }
.rcc-wt__step[hidden] { display: none; }
