/* TK Promotions ─────────────────────────────────────────────────────── */

/* ── Badge solde (%) ─────────────────────────────────────────────────── */

span.onsale.tk-sale-badge {
    background: #dc2626;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 20px;
    line-height: 1;
    min-height: 0;
    min-width: 0;
}

/* ── Prix barré amélioré ─────────────────────────────────────────────── */

.woocommerce ul.products .price del,
.woocommerce .summary .price del {
    color: #9ca3af;
    font-size: .88em;
    opacity: 1;
}
.woocommerce ul.products .price ins,
.woocommerce .summary .price ins {
    text-decoration: none;
    font-weight: 700;
    color: #dc2626;
}

/* ── Compteur de stock urgent ────────────────────────────────────────── */

.tk-stock-urgency {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff7ed;
    color: #f97316;
    border: 1px solid #fed7aa;
    font-size: 12px;
    padding: 4px 11px;
    border-radius: 20px;
    margin: 0 0 8px;
    line-height: 1.4;
}
.tk-stock-icon { font-size: 14px; }

/* ── Compte à rebours ────────────────────────────────────────────────── */

.tk-countdown {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    border-radius: 12px;
    padding: 13px 18px;
    margin: 10px 0 14px;
}
.tk-countdown-label {
    font-size: 13px;
    color: #cbd5e1;
    white-space: nowrap;
}
.tk-countdown-timer {
    display: flex;
    align-items: center;
    gap: 5px;
}
.tk-cd-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 6px 11px;
    min-width: 46px;
}
.tk-cd-num {
    font-size: 22px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: #f97316;
}
.tk-cd-unit {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.tk-cd-sep {
    font-size: 20px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 14px;
}

/* ── Code promo (panier) ─────────────────────────────────────────────── */

.woocommerce-cart .coupon {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
}
.woocommerce-cart .coupon label {
    display: none;
}
.woocommerce-cart .coupon input.input-text {
    flex: 1;
    border-radius: 8px 0 0 8px !important;
    border: 1.5px solid #e5e7eb !important;
    border-right: none !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
}
.woocommerce-cart .coupon input.input-text::placeholder {
    color: #9ca3af;
}
.woocommerce-cart .coupon .button {
    border-radius: 0 8px 8px 0 !important;
    background: #f97316 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: background .15s !important;
    white-space: nowrap;
}
.woocommerce-cart .coupon .button:hover {
    background: #ea6e0a !important;
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .tk-countdown { gap: 10px; padding: 11px 14px; }
    .tk-cd-num    { font-size: 18px; }
    .tk-cd-block  { padding: 5px 8px; min-width: 38px; }
}
