/* ============================= */
/* 🔥 MAIN CONTAINER */
/* ============================= */
.cw-buy-wrap {
    max-width: 400px;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 15px;
    background: #fff;
}

/* ============================= */
/* 🎥 VIDEO BOX */
/* ============================= */
.cw-video-box {
    position: relative;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #000;
    margin-bottom: 20px;
}

.cw-video-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* ============================= */
/* 💰 PRICE */
/* ============================= */
.cw-price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

/* ============================= */
/* ⏳ TIMER + STOCK */
/* ============================= */
.cw-timer-box,
.cw-stock-box {
    display: block;
    text-align: left;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
}

/* ============================= */
/* 🚀 BUY BUTTON */
/* ============================= */
.cw-open-lead {
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================= */
/* 🌍 GUMROAD BUTTON IMPROVE */
/* ============================= */
.cw-buy-wrap a[href*="gumroad"] {
    transition: all 0.25s ease;
}

.cw-buy-wrap a[href*="gumroad"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ============================= */
/* 🔥 FINAL MODAL FIX */
/* ============================= */
#cw-lead-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,0.65);
    z-index: 999999;
}

/* show state */
#cw-lead-modal.show {
    display: flex !important;
}

/* ============================= */
/* 📦 MODAL BOX */
/* ============================= */
.cw-modal-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    width: 90%;
    max-width: 380px;

    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);

    animation: cwPop 0.25s ease;
}

/* close button */
.cw-modal-content button:first-child {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* ============================= */
/* ✍ INPUTS */
/* ============================= */
.cw-modal-content input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* ============================= */
/* 🚀 SUBMIT BUTTON */
/* ============================= */
.cw-modal-content button[type="submit"] {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;

    background: linear-gradient(135deg,#00c853,#009624);
    color: #fff;

    font-weight: 600;
    font-size: 16px;

    transition: all 0.25s ease;
}

.cw-modal-content button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0,200,83,0.3);
}

/* ============================= */
/* 💬 RESPONSE TEXT */
/* ============================= */
.cw-lead-response {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}

/* ============================= */
/* 🎬 ANIMATION */
/* ============================= */
@keyframes cwPop {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}