/* ── Admin order badge ────────────────────────────────────────────────── */
.bcs-order-badge {
    display: inline-block;
    background: #7c3aed;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
}

/* ── Countdown timer — shared ─────────────────────────────────────────── */
.bcs-countdown {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 6px 8px;
    font-size: 12px;
    font-family: inherit;
    line-height: 1;
}

/* Overlay: Woodmart injects countdown inside .wd-product-img-link <a> */
.wd-product-img-link {
    position: relative;
    display: block;
}

/* PLP overlay wrapper — frosted glass bar pinned to image bottom */
.wd-product-img-link .bcs-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: linear-gradient(to top, rgba(8, 4, 22, 0.92) 0%, rgba(8, 4, 22, 0.55) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 8px 8px 10px;
}

.wd-product-img-link .bcs-card-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.wd-product-img-link .bcs-countdown {
    background: transparent;
    padding: 0;
    justify-content: center;
    gap: 0;
}

.wd-product-img-link .bcs-unit {
    min-width: 0;
    padding: 0 7px;
}

.wd-product-img-link .bcs-val {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.wd-product-img-link .bcs-label {
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 3px;
    opacity: 1;
}

.wd-product-img-link .bcs-unit + .bcs-unit::before {
    content: none;
}

/* PDP: card-per-unit style */
.bcs-pdp-countdown-wrap {
    margin-bottom: 20px;
}

.bcs-pdp-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 8px;
}

.bcs-pdp-countdown-wrap .bcs-countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    padding: 0;
}

.bcs-pdp-countdown-wrap .bcs-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
    background: #242424;
    border-radius: 6px;
    padding: 10px 8px 8px;
}

.bcs-pdp-countdown-wrap .bcs-val {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.bcs-pdp-countdown-wrap .bcs-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin-top: 4px;
}

/* No colon separators on PDP — cards are visually distinct enough */
.bcs-pdp-countdown-wrap .bcs-unit + .bcs-unit::before {
    content: none;
}

/* Units */
.bcs-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 28px;
}

.bcs-val {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.bcs-label {
    font-size: 9px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 2px;
}


/* ── Coming Soon button (PDP) ─────────────────────────────────────────── */

/* Body class applied server-side — blocks button before JS loads */
.bcs-coming-soon-product .single_add_to_cart_button {
    pointer-events: none !important;
    cursor: not-allowed !important;
    opacity: 0.55 !important;
    background: #aaa !important;
    color: #fff !important;
    border-color: #aaa !important;
    box-shadow: none !important;
}

.bcs-coming-soon-btn {
    cursor: not-allowed !important;
    opacity: 0.55;
    background: #aaa !important;
    color: #fff !important;
    border-color: #aaa !important;
}

/* ── Pre-order button ─────────────────────────────────────────────────── */
.bcs-preorder-btn,
.single_add_to_cart_button.bcs-preorder-btn,
.bcs-preorder-product .single_add_to_cart_button {
    background: #7c3aed !important;
    border-color: #7c3aed !important;
    color: #fff !important;
}

.bcs-preorder-btn:hover,
.single_add_to_cart_button.bcs-preorder-btn:hover,
.bcs-preorder-product .single_add_to_cart_button:hover {
    background: #6d28d9 !important;
    border-color: #6d28d9 !important;
}
