/* Flash Deal Wrapper */
.flash-deal-wrapper {
    transition: box-shadow 0.3s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.flash-deal-wrapper:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* .flash-deal-wrapper {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
} */

/* Overlay when background image exists */
.flash-deal-wrapper.has-bg-image:before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* dark overlay, adjust opacity as you like */
    z-index: 0;
    border-radius: inherit;
}

/* Ensure all direct children stay above the overlay */
.flash-deal-wrapper > * {
    position: relative;
    z-index: 1;
}

/* Countdown Timer */
.flash-countdown .countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    min-width: 52px;
    padding: 6px 4px;
    font-weight: 600;
}

.flash-countdown .countdown-item span {
    font-size: 1.25rem;
    line-height: 1;
}

.flash-countdown .countdown-item small {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.85;
}

.countdown-sep {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    margin-top: -8px;
}

/* Carousel adjustments (keep your existing Owl overrides) */
.flash-deal-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.flash-deal-carousel .item {
    height: 100%;
}

/* Product cards inside flash deal – ensure they look good on the coloured background */
/* .flash-deal-wrapper .product-item {
    background: #fff;
    border-radius: var(--app-border-radius);
    color: #212529; 
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
} */

/* Responsive fine-tuning */
@media (max-width: 767px) {
    .flash-countdown .countdown-item {
        min-width: 44px;
        padding: 4px 2px;
    }
    .flash-countdown .countdown-item span {
        font-size: 1rem;
    }
}