@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;600;700&display=swap');

/* OVERLAY */
#novo-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 2147483646;
}

/* POPUP */
#novo-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 2147483647;
    width: 92%;
    max-width: 860px;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

#novo-popup.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* CLOSE */
#novo-close {
    position: absolute;
    top: 18px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    z-index: 10;
    padding: 4px 8px;
    transition: color 0.2s;
}
#novo-close:hover { color: #000; }

/* INNER LAYOUT */
#novo-popup-inner {
    display: flex;
    min-height: 500px;
}

/* IMAGE SIDE */
#novo-popup-img {
    width: 48%;
    position: relative;
    overflow: hidden;
    background: #f5f5f0;
    flex-shrink: 0;
}

#novo-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* TEXT SIDE */
#novo-popup-text {
    flex: 1;
    padding: 50px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.novo-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff3e6;
    color: #e86a00;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    margin-bottom: 16px;
    width: fit-content;
}

.novo-tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.03em;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

#novo-popup-text h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 64px;
    line-height: 0.95;
    color: #111;
    margin: 0 0 22px 0;
    letter-spacing: 0.02em;
}

.novo-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 20px;
}

.novo-old-price {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    color: #bbb;
    text-decoration: line-through;
}

.novo-new-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    color: #e86a00;
    line-height: 1;
}

.novo-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.novo-perks li {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #444;
    font-weight: 500;
}

#novo-claim-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #e86a00;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    padding: 17px 28px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    width: 100%;
    border-radius: 3px;
}

#novo-claim-btn:hover {
    background: #d15e00;
    transform: translateY(-1px);
}
#novo-claim-btn:active { transform: translateY(0); }
#novo-claim-btn:disabled { opacity: 0.7; cursor: not-allowed; }

#novo-claim-btn svg { transition: transform 0.2s; flex-shrink: 0; }
#novo-claim-btn:hover svg { transform: translateX(4px); }

.novo-fine {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    color: #aaa;
    margin-top: 10px;
    text-align: center;
}


/* MOBILE */
@media (max-width: 580px) {

    #novo-popup {
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        transform: translateY(-100%) !important;
        transition: transform 0.4s cubic-bezier(0.34, 1.1, 0.64, 1) !important;
    }

    #novo-popup.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    #novo-popup-inner {
        flex-direction: column !important;
        height: 100vh !important;
        min-height: unset !important;
    }

    #novo-popup-img {
        width: 100% !important;
        height: 45vh !important;
        flex-shrink: 0 !important;
    }

    #novo-product-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    #novo-popup-text {
        flex: 1 !important;
        padding: 20px 22px !important;
        justify-content: center !important;
        overflow-y: auto !important;
    }

    .novo-badge       { font-size: 10px !important; margin-bottom: 8px !important; }
    .novo-tagline     { font-size: 10px !important; margin-bottom: 6px !important; }
    #novo-popup-text h2 { font-size: 36px !important; margin-bottom: 10px !important; }
    .novo-price-wrap  { margin-bottom: 12px !important; }
    .novo-old-price   { font-size: 16px !important; }
    .novo-new-price   { font-size: 36px !important; }
    .novo-perks       { display: flex !important; margin-bottom: 16px !important; }
    .novo-perks li    { font-size: 13px !important; }

    #novo-claim-btn {
        font-size: 15px !important;
        padding: 15px !important;
    }

    .novo-fine { font-size: 10px !important; }

    #novo-close {
        top: 12px !important;
        right: 14px !important;
        font-size: 13px !important;
        background: rgba(255,255,255,0.9) !important;
        color: #333 !important;
        border-radius: 20px !important;
        padding: 4px 10px !important;
    }
}
