/* ==========================================================================
   Stock Urgency Badge
   ========================================================================== */
.stock-urgency {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 4px;
    font-weight: 500;
}

/* ==========================================================================
   Flash Sale Flip Timer
   ========================================================================== */
#flash-sale-timer-container {
    background: #111;
    color: #fff;
    padding: 12px 18px;
    margin: 15px 0;
    border-radius: 6px;
    display: inline-block;
}

.flash-sale-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: #ff3b30;
    font-weight: bold;
}

#flip-countdown {
    display: flex;
    gap: 8px;
}

.clock-box {
    background: #222;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #333;
}

/* ==========================================================================
   Dynamic Free Shipping Bar
   ========================================================================== */
#free-shipping-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    text-align: center;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    z-index: 999998;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}

/* ==========================================================================
   Exit Intent Modal Popup
   ========================================================================== */
#exit-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

#exit-popup-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

#exit-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    line-height: 1;
}

.exit-coupon {
    font-size: 18px;
    margin: 15px 0;
    padding: 8px;
    background: #f4f4f4;
    border: 1px dashed #ccc;
    border-radius: 4px;
}

.exit-btn {
    display: inline-block;
    background: #007cba;
    color: #fff !important;
    padding: 10px 20px;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
}

/* ==========================================================================
   Cart Upsell Popup Widget
   ========================================================================== */
#cart-upsell {
    display: none;
    position: fixed;
    bottom: 60px;
    right: 20px;
    background: #fff;
    border: 1px solid #e2e2e2;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    z-index: 99999;
    max-width: 320px;
    width: 100%;
}

.upsell-title {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

#upsell-product {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upsell-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.upsell-variation-wrapper select.upsell-select {
    width: 100%;
    padding: 6px 8px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#add-upsell {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

#add-upsell:disabled {
    background: #ccc;
    cursor: not-allowed;
}