/* ==========================================================
   FKCart Countdown Timer — Upsell Frontend Styles
   Theme colour: #b95d0e
   ========================================================== */

@keyframes fkcdt-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(185, 93, 14, 0.45);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(185, 93, 14, 0);
    }
}

@keyframes fkcdt-sway {

    0%,
    100% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }
}

#fkcdt-upsell {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Hide timer when product is already in cart */
.fkob-wrap.fkob-active #fkcdt-upsell {
    display: none !important;
}

/* ── Active strip ── */
#fkcdt-upsell .fkcdt-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 3px 10px;
    background: linear-gradient(90deg, #fff8f2, #fde8d0, #fff8f2);
    border-top: 2px solid #b95d0e;
    border-bottom: 2px solid #b95d0e;
}

#fkcdt-upsell .fkcdt-strip-lbl {
    font-size: 11px;
    font-weight: 800;
    color: #7c3d06;
    text-transform: uppercase;
    letter-spacing: .6px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

#fkcdt-upsell .fkcdt-icon {
    display: inline-block;
    animation: fkcdt-sway 2s ease-in-out infinite;
    font-size: 1.25em;
    vertical-align: middle;
}

#fkcdt-upsell .fkcdt-strip-clk {
    display: flex;
    align-items: center;
    gap: 5px;
}

#fkcdt-upsell .fkcdt-sn {
    background: #fff;
    border: 1.5px solid #e8a56b;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 15px;
    font-weight: 800;
    color: #7c3d06;
    min-width: 32px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
    transition: all .3s;
}

#fkcdt-upsell .fkcdt-sn.urgent {
    background: #fff8f2;
    border-color: #b95d0e;
    color: #b95d0e;
    animation: fkcdt-pulse 1.2s ease-in-out infinite;
}

#fkcdt-upsell .fkcdt-ssep {
    font-size: 14px;
    font-weight: 800;
    color: #d4a06a;
}

/* ── Expired state ── */
#fkcdt-upsell .fkcdt-expired {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff8f2;
    border-top: 2px solid #b95d0e;
    border-bottom: 2px solid #b95d0e;
    font-size: 12px;
    font-weight: 700;
    color: #7c3d06;
    text-transform: uppercase;
    letter-spacing: .5px;
}

#fkcdt-upsell .fkcdt-expired::before {
    content: '⏰';
    font-size: 15px;
}