/* ==================== MODERN COMPARE POPUP 2026 - ISOLATED STYLES ==================== */

/* Overlay */
.mcp-overlay-2026 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Slightly lighter overlay per reference */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mcp-overlay-2026.mcp-active-2026 {
    opacity: 1;
    visibility: visible;
}

/* Popup Container */
.mcp-popup-inner-2026 {
    background: #ffffff;
    border-radius: 0px;
    /* Reference has 0 border radius on inner */
    padding: 20px;
    max-width: 800px;
    /* Wider like reference */
    width: auto;
    min-width: 500px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.mcp-overlay-2026.mcp-active-2026 .mcp-popup-inner-2026 {
    transform: scale(1);
}

/* Message Wrap */
.mcp-msg-wrap-2026 {
    padding: 10px;
}

/* Message Details */
.mcp-message-details-2026 {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.mcp-message-details-2026 i.material-icons {
    flex: 0 0 24px;
    width: 24px;
    /* Fixed width */
    height: 24px;
    color: #15B579;
    /* Reference green */
    font-size: 24px;
    margin-top: 2px;
}

.mcp-success-message-2026 {
    flex: 1 1 auto;
    padding: 0 0 0 16px;
    line-height: 24px;
    font-size: 15px;
    color: #333;
    font-family: 'Open Sans', sans-serif;
    /* Matching likely font */
}

.mcp-success-message-2026 a {
    color: #ef4a23 !important;
    /* Orange/Red product link */
    font-weight: 600;
    text-decoration: none;
}

.mcp-success-message-2026 a:hover {
    text-decoration: underline;
}

/* Button Wrap */
.mcp-btn-wrap-2026 {
    padding-left: 40px;
    /* Adjusted to align with text */
    display: flex;
    align-items: center;
}

.mcp-checkout-btn-2026 {
    text-decoration: none;
    margin-right: 15px;
}

/* Buttons */
button.mcp-btn-2026 {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    /* Slightly rounded */
    padding: 10px 25px;
    cursor: pointer;
    transition: all 0.2s;
    height: 42px;
    outline: none;
    line-height: 1;
    text-transform: capitalize;
}

/* Compare Now Button (Primary) */
a.mcp-checkout-btn-2026 button.mcp-btn-2026 {
    background: #3749bb;
    /* Blue from reference */
    color: #fff;
    border: 1px solid #3749bb;
}

a.mcp-checkout-btn-2026 button.mcp-btn-2026:hover {
    background: #2c3a99;
}

/* Continue Button (Secondary/Outline) */
button.mcp-st-outline-2026 {
    background: #fff;
    color: #3749bb;
    border: 1px solid #3749bb;
}

button.mcp-st-outline-2026:hover {
    background: #f0f2ff;
}

/* Close Button (Top Right) */
.mcp-close-btn-top-2026 {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mcp-close-btn-top-2026:after {
    content: "\00d7";
    /* Multiplication sign X */
    font-family: sans-serif;
    font-size: 28px;
    color: #999;
    font-weight: 300;
    line-height: 1;
}

.mcp-close-btn-top-2026:hover:after {
    color: #333;
}


/* ==================== COMPARE COUNTER BADGE ==================== */

/* Counter Badge */
.cmpr-toggler .value {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ef4a23 0%, #d63a1a 100%);
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: none;
    /* JS will show it */
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(239, 74, 35, 0.4);
    z-index: 10;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Sticky Compare Button Positioning */
.sticky-btn.cmpr-toggler {
    position: relative;
}

.sticky-btn.cmpr-toggler a {
    position: relative;
}

/* ==================== RESPONSIVE STYLES ==================== */

@media (max-width: 576px) {
    .mcp-popup-inner-2026 {
        min-width: auto;
        width: 90%;
        padding: 15px;
    }

    .mcp-message-details-2026 {
        flex-direction: row;
        /* Keep icon left */
        margin-bottom: 15px;
    }

    .mcp-success-message-2026 {
        font-size: 14px;
    }

    .mcp-btn-wrap-2026 {
        padding-left: 0;
        justify-content: center;
        flex-direction: row;
        gap: 10px;
    }

    .mcp-checkout-btn-2026 {
        margin-right: 0;
    }

    button.mcp-btn-2026 {
        padding: 8px 15px;
        font-size: 13px;
        height: 38px;
    }
}