/* ============================================================
   OVANIE DEAL NEGOTIATION — ULTRA PREMIUM IA DESIGN
   ============================================================ */

.ovanie-price-deal {
    margin: 18px 0 26px;
    position: relative;
}

.deal-surprise-btn {
    width: 100%;
    border: none;
    border-radius: 18px;
    padding: 18px 22px;
    background:
        linear-gradient(135deg, #024fc8, #0797df 45%, #00a651);
    color: #fff;
    font-size: 16px;
    font-weight: 950;
    cursor: pointer;
    letter-spacing: .3px;
    box-shadow: 0 18px 40px rgba(2, 79, 200, .32);
    position: relative;
    overflow: hidden;
    transition: all .25s ease;
}

.deal-surprise-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
    transform: translateX(-120%);
    animation: dealShine 2.5s infinite;
}

.deal-surprise-btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 24px 55px rgba(2, 79, 200, .42);
}

@keyframes dealShine {
    to { transform: translateX(120%); }
}

.deal-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background:
        radial-gradient(circle at top, rgba(7,151,223,.35), transparent 38%),
        rgba(2, 6, 23, .78);
    backdrop-filter: blur(10px);
}

.deal-modal.active {
    display: flex;
}

.deal-box {
    width: 100%;
    max-width: 480px;
    position: relative;
    text-align: center;
    border-radius: 30px;
    padding: 34px 28px 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
    border: 1px solid rgba(255,255,255,.65);
    box-shadow:
        0 40px 100px rgba(0,0,0,.40),
        inset 0 1px 0 rgba(255,255,255,.9);
    animation: dealPop .25s cubic-bezier(.34, 1.56, .64, 1);
    overflow: hidden;
}

.deal-box::before {
    content: "OVANIE IA";
    position: absolute;
    top: 18px;
    left: 22px;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 1.5px;
    color: #024fc8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 6px 10px;
}

@keyframes dealPop {
    from { transform: scale(.88); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.deal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: all .2s;
    z-index: 3;
}

.deal-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

.deal-box h2 {
    margin: 28px 0 6px;
    font-size: 24px;
    font-weight: 950;
    color: #0f172a;
    line-height: 1.25;
}

.deal-subtitle {
    margin: 0 0 22px;
    color: #00a651;
    font-size: 15px;
    font-weight: 900;
}

.deal-price-card {
    margin: 22px 0;
    border-radius: 24px;
    padding: 24px 20px;
    color: white;
    background:
        radial-gradient(circle at top left, rgba(0,166,81,.35), transparent 36%),
        linear-gradient(135deg, #020617, #0f172a 50%, #024fc8);
    box-shadow: 0 20px 45px rgba(2, 6, 23, .32);
}

.deal-price-card span {
    display: block;
    margin-bottom: 10px;
    opacity: .78;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.deal-price-card strong {
    display: block;
    color: #fbbf24;
    font-size: 42px;
    font-weight: 1000;
    line-height: 1;
    letter-spacing: -1px;
}

.deal-actions {
    display: flex;
    flex-direction: column;
}

.deal-actions > p {
    margin: 0 0 12px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 800;
}

.deal-yes,
.deal-no,
#submitOffer,
#acceptLastOffer {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 15px 18px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    transition: all .2s ease;
}

.deal-yes,
#acceptLastOffer {
    background: linear-gradient(135deg, #00a651, #10b981);
    color: white;
    box-shadow: 0 12px 28px rgba(0,166,81,.28);
}

.deal-no {
    background: linear-gradient(135deg, #024fc8, #0797df);
    color: white;
    box-shadow: 0 12px 28px rgba(2,79,200,.28);
}

.deal-yes:hover,
.deal-no:hover,
#submitOffer:hover,
#acceptLastOffer:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.deal-yes:disabled,
.deal-no:disabled,
#submitOffer:disabled,
#acceptLastOffer:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.offer-zone,
.last-offer-zone {
    display: none;
    margin-top: 18px;
}

.offer-zone label {
    display: block;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

.offer-zone input {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #dbeafe;
    border-radius: 18px;
    padding: 16px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
    outline: none;
    transition: all .2s;
}

.offer-zone input:focus {
    background: white;
    border-color: #00a651;
    box-shadow: 0 0 0 5px rgba(0,166,81,.12);
}

#submitOffer {
    background: linear-gradient(135deg, #0f172a, #334155);
    color: white;
    box-shadow: 0 12px 28px rgba(15,23,42,.25);
}

.last-offer-zone {
    border: 2px dashed #ff7a00;
    border-radius: 22px;
    padding: 22px 18px;
    text-align: center;
    background:
        linear-gradient(135deg, #fff7ed, #fffbeb);
}

.last-offer-zone p {
    margin: 0 0 8px;
    color: #9a3412;
    font-size: 14px;
    font-weight: 900;
}

#timer {
    display: block;
    margin: 10px 0 16px;
    color: #dc2626;
    font-size: 48px;
    font-weight: 1000;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}

#expiredMsg {
    display: none;
    margin-top: 12px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 900;
}

#step-dot-1,
#step-dot-2,
#step-dot-3 {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px 14px;
    font-size: 13px;
    font-weight: 950;
    background: #e5e7eb;
    color: #9ca3af;
    transition: all .2s;
}

@keyframes pulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@media(max-width: 520px) {
    .deal-box {
        padding: 32px 20px 24px;
        border-radius: 24px;
    }

    .deal-price-card strong {
        font-size: 34px;
    }

    #timer {
        font-size: 40px;
    }
}