/* =============================================
   PromoTimer - Frontend Styles
   ============================================= */

/* BEFORE PROMO message */
.fsswc-before-promo {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 12px 0;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Countdown wrapper */
.fsswc-countdown {
    font-size: 17px;
    font-weight: bold;
    margin: 20px 0 15px 0;
    padding: 12px 14px;
    border-radius: 6px;
    background: #fff4e0;
    border: 1px solid #ffd7a8;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Timer numbers */
.fsswc-timer {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Message under sale price */
.fsswc-under-price {
    font-size: 15px;
    font-weight: 600;
    margin-top: 10px;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Emoji styling */
.fsswc-emoji {
    font-size: 20px;
    line-height: 1;
    display: inline-block;
}

/* WooCommerce compatibility */
.single-product .fsswc-countdown,
.woocommerce .fsswc-countdown {
    box-sizing: border-box;
}

/* Some themes hide price section dynamically — ensure visibility */
.fsswc-before-promo,
.fsswc-countdown,
.fsswc-under-price {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .fsswc-countdown {
        font-size: 15px;
        padding: 10px 12px;
    }
    .fsswc-timer {
        font-size: 17px;
    }
    .fsswc-before-promo,
    .fsswc-under-price {
        font-size: 14px;
    }
}


/* Mesaj "before promo" în lista de produse */
.fsswc-loop-before-promo {
    font-size: 12px;
    font-weight: 600;
    margin: 6px 0 4px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.fsswc-loop-before-promo .fsswc-emoji {
    font-size: 14px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .fsswc-loop-before-promo {
        font-size: 11px;
    }
}


/* Badge */
.fsswc-badge {
    display: block;
    clear: both;
    width: fit-content;
    background: #ff0000;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 3px;
    font-weight: bold;
    margin-bottom: 6px;
    margin: 0 auto 6px !important;
}
/* Mobil */
@media (max-width: 480px) {
    .fsswc-badge {
        padding: 3px 6px;
        font-size: 11px;
    }
}

