/**
 * ============================================================================
 * GURABASNEED ULTRA-PREMIUM GLOBAL ENTRANCE & MOTION ENGINE (CSS)
 * Lightweight, GPU-Accelerated, High-Speed Perceived Performance System
 * ============================================================================
 */

/* --------------------------------------------------------------------------
 * 1. Global Content Entrance Animation (Triggered after Skeleton Dismissal)
 * -------------------------------------------------------------------------- */
.gb-content-wrapper.gb-revealed {
    animation: gb-reveal-in 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: opacity, transform;
}

@keyframes gb-reveal-in {
    0% {
        opacity: 0;
        transform: translateY(6px) scale(0.994);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --------------------------------------------------------------------------
 * 2. Capped Staggered Grid Reveal (0ms - 175ms Max, Never Delays Users)
 * -------------------------------------------------------------------------- */
.gb-content-wrapper.gb-revealed .product_item,
.gb-content-wrapper.gb-revealed .product-item,
.gb-content-wrapper.gb-revealed .category-item,
.gb-content-wrapper.gb-revealed .feature-box {
    animation: gb-item-entrance 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes gb-item-entrance {
    0% {
        opacity: 0;
        transform: translateY(5px) scale(0.99);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Stagger indices 1 to 8 (max delay 175ms) */
.gb-content-wrapper.gb-revealed .product_item:nth-child(1),
.gb-content-wrapper.gb-revealed .product-item:nth-child(1) { animation-delay: 0ms; }
.gb-content-wrapper.gb-revealed .product_item:nth-child(2),
.gb-content-wrapper.gb-revealed .product-item:nth-child(2) { animation-delay: 25ms; }
.gb-content-wrapper.gb-revealed .product_item:nth-child(3),
.gb-content-wrapper.gb-revealed .product-item:nth-child(3) { animation-delay: 50ms; }
.gb-content-wrapper.gb-revealed .product_item:nth-child(4),
.gb-content-wrapper.gb-revealed .product-item:nth-child(4) { animation-delay: 75ms; }
.gb-content-wrapper.gb-revealed .product_item:nth-child(5),
.gb-content-wrapper.gb-revealed .product-item:nth-child(5) { animation-delay: 100ms; }
.gb-content-wrapper.gb-revealed .product_item:nth-child(6),
.gb-content-wrapper.gb-revealed .product-item:nth-child(6) { animation-delay: 125ms; }
.gb-content-wrapper.gb-revealed .product_item:nth-child(7),
.gb-content-wrapper.gb-revealed .product-item:nth-child(7) { animation-delay: 150ms; }
.gb-content-wrapper.gb-revealed .product_item:nth-child(8),
.gb-content-wrapper.gb-revealed .product-item:nth-child(8) { animation-delay: 175ms; }
/* Items 9+ reveal together immediately with index 8 */
.gb-content-wrapper.gb-revealed .product_item:nth-child(n+9),
.gb-content-wrapper.gb-revealed .product-item:nth-child(n+9) { animation-delay: 175ms; }

/* --------------------------------------------------------------------------
 * 2.1. Ultra-Fast 60FPS Optical Fade-In Image Loading System
 * Engineered for instant visibility, zero-flicker & flawless fail-safe render
 * -------------------------------------------------------------------------- */
.pro_img,
.premium-card-img,
.cat_img_holder,
.daraz-flash-img-box {
    background: #f8fafc !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Remove all sketch/shimmer loading overlays from product images */
.pro_img::before,
.cat_img_holder::before,
.premium-card-img::before {
    display: none !important;
    content: none !important;
}

/* Instant-visible, hardware-accelerated optical fade-in */
.pro_img img,
.cat_img_holder img,
.daraz-flash-img-box img {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    opacity: 1 !important;
    animation: gbOpticalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: opacity, transform;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.premium-card-img img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 2 !important;
    display: block !important;
    opacity: 1 !important;
    animation: gbOpticalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: opacity, transform;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes gbOpticalFadeIn {
    0% {
        opacity: 0.2;
        transform: scale(0.985);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* --------------------------------------------------------------------------
 * 3. Premium Micro-Interactions (Hover & Active Press)
 * -------------------------------------------------------------------------- */
.product_item,
.product-item {
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1);
    transform: translateZ(0);
}

@media (hover: hover) and (pointer: fine) {
    .product_item:hover,
    .product-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.07);
    }
}

/* Subtle button press feedback */
.addcartbutton,
.order_now,
#order_now_btn,
.premium-large-order-btn,
.home-order-btn,
#homeOrderSubmitBtn {
    transition: transform 0.12s cubic-bezier(0.2, 0, 0, 1), opacity 0.15s ease;
    transform: translateZ(0);
}

.addcartbutton:active,
.order_now:active,
#order_now_btn:active,
.premium-large-order-btn:active,
.home-order-btn:active,
#homeOrderSubmitBtn:active {
    transform: scale(0.978) !important;
}

/* --------------------------------------------------------------------------
 * 4. Detail Page Gallery & Hero Grouped Transitions
 * -------------------------------------------------------------------------- */
.details-image-box,
.details-summary-box {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
}

/* --------------------------------------------------------------------------
 * 4.1. Detail Page Related Products Smooth Entrance Animation
 * -------------------------------------------------------------------------- */
.related-product-section .premium-product-card,
.related_slider .premium-product-card {
    animation: gb-item-entrance 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: opacity, transform;
    transform: translateZ(0);
    transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.related-product-section .premium-product-card:hover,
.related_slider .premium-product-card:hover {
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
 * 5. Mobile & Tablet GPU Containment & Content Visibility
 * -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    /* Optimize below-the-fold rows so mobile CPU doesn't choke */
    .homeproduct:nth-of-type(n+3) {
        content-visibility: auto;
        contain-intrinsic-size: 0 420px;
    }
    
    /* Hardware acceleration for mobile cards & modal dialogs */
    .modal-dialog {
        transform: translateZ(0);
        will-change: transform;
    }
}

/* --------------------------------------------------------------------------
 * 6. Full Accessibility: Reduced-Motion Support
 * -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .gb-content-wrapper.gb-revealed,
    .gb-content-wrapper.gb-revealed .product_item,
    .gb-content-wrapper.gb-revealed .product-item,
    .gb-content-wrapper.gb-revealed .category-item,
    .gb-content-wrapper.gb-revealed .feature-box,
    .product_item,
    .product-item,
    .related-product-section .premium-product-card,
    .related_slider .premium-product-card,
    .addcartbutton,
    .order_now,
    #order_now_btn {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ==========================================================================
 * 7. ULTRA-PREMIUM DARAZ-STYLE FLASH SALE & HOT DEALS SYSTEM
 * High-Converting, Fiery Red-Yellow Gradient, Micro-Motion & Progress Bar
 * ========================================================================== */

/* --- Flash Sale Section Container --- */
.flash-sale-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.flash-sale-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff1744 0%, #f85606 50%, #ffb700 100%);
}

/* --- Flash Sale Header Bar --- */
.daraz-flash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f8fafc;
}

.daraz-flash-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.daraz-flash-title {
    font-size: 24px;
    font-weight: 800;
    color: #f85606;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
    font-family: 'Anek Bangla', 'Hind Siliguri', sans-serif;
}

.daraz-flash-title .flash-bolt {
    color: #ff9800;
    font-size: 24px;
    animation: flashBoltPulse 1.4s infinite alternate;
    display: inline-block;
    filter: drop-shadow(0 2px 6px rgba(255, 152, 0, 0.5));
}

@keyframes flashBoltPulse {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.15) rotate(-5deg); }
}

/* Live Status Badge */
.flash-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff1f0;
    color: #e11d48;
    border: 1px solid #ffe4e6;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    font-family: 'Anek Bangla', 'Hind Siliguri', sans-serif;
}

.flash-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e11d48;
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    animation: liveDotPulse 1.6s infinite;
}

@keyframes liveDotPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

/* --- Countdown Timer Styling (Modern Digital Flip Look) --- */
.daraz-timer-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.daraz-timer-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Anek Bangla', 'Hind Siliguri', sans-serif;
}

.daraz-timer-container .syotimer__body,
.daraz-timer-container.timer_inner .syotimer__body {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row;
}

.daraz-timer-container .syotimer-cell,
.daraz-timer-container.timer_inner .syotimer-cell {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    color: #ffffff !important;
    min-width: 36px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(248, 86, 6, 0.3);
    padding: 0 6px;
    letter-spacing: 0.5px;
    position: relative;
    margin-right: 4px;
}

.daraz-timer-container .syotimer-cell:not(:last-child)::after,
.daraz-timer-container.timer_inner .syotimer-cell:not(:last-child)::after {
    content: ':';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    color: #f85606;
    font-weight: 900;
    font-size: 16px;
    animation: timerColonBlink 1s infinite;
    z-index: 2;
    line-height: 1;
}

@keyframes timerColonBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.daraz-timer-container .syotimer-cell__unit,
.daraz-timer-container.timer_inner .syotimer-cell__unit {
    display: none !important;
}

/* --- View All Button (Shop More) --- */
.daraz-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #f85606;
    border: 1.5px solid #f85606;
    background: transparent;
    padding: 6px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    font-family: 'Anek Bangla', 'Hind Siliguri', sans-serif;
}

.daraz-view-all-btn:hover {
    background: linear-gradient(135deg, #f85606 0%, #ff7a00 100%);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(248, 86, 6, 0.3);
    transform: translateY(-1px);
}

.daraz-view-all-btn i {
    transition: transform 0.2s ease;
}

.daraz-view-all-btn:hover i {
    transform: translateX(3px);
}

/* --- Daraz Flash Sale Product Card Architecture --- */
.daraz-flash-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.daraz-flash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px -6px rgba(248, 86, 6, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: #ffd8bf;
}

/* Card Image Box */
.daraz-flash-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
}

.daraz-flash-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.daraz-flash-card:hover .daraz-flash-img-box img {
    transform: scale(1.06);
}

/* Signature Flame Discount Badge (Top-Left) */
.daraz-discount-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    background: linear-gradient(135deg, #ef4444 0%, #f85606 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px 5px;
    border-radius: 0 0 10px 0;
    box-shadow: 0 4px 12px rgba(248, 86, 6, 0.35);
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    letter-spacing: -0.2px;
    font-family: 'Anek Bangla', 'Hind Siliguri', sans-serif;
}

.daraz-discount-badge i {
    color: #ffeb3b;
    font-size: 11px;
}

/* Floating Wishlist Button (Top-Right) */
.daraz-wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.daraz-wishlist-btn:hover {
    background: #ff478c;
    color: #ffffff;
    transform: scale(1.1);
}

/* Bottom Tag (Free Delivery) */
.daraz-free-delivery-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 5;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #38bdf8;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-family: 'Anek Bangla', 'Hind Siliguri', sans-serif;
}

/* Card Body Content */
.daraz-flash-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.daraz-flash-title-link {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px;
    margin-bottom: 8px;
    transition: color 0.2s ease;
    font-family: 'Anek Bangla', 'Hind Siliguri', sans-serif;
}

.daraz-flash-title-link:hover {
    color: #f85606;
}

/* Price Box */
.daraz-flash-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
    font-family: 'Anek Bangla', 'Hind Siliguri', sans-serif;
}

.daraz-new-price {
    font-size: 20px;
    font-weight: 800;
    color: #f85606;
    letter-spacing: -0.3px;
}

.daraz-old-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

/* --- 🔥 Daraz-Signature Sold / Stock Progress Bar --- */
.daraz-sold-bar-wrap {
    margin-bottom: 12px;
}

.daraz-sold-track {
    width: 100%;
    height: 14px;
    background: #fff1eb;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid #ffe2d4;
}

.daraz-sold-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff3b30 0%, #ff8c00 60%, #ffb700 100%);
    border-radius: 20px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.daraz-sold-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: translateX(-100%) translateZ(0);
    animation: barShine 3s infinite cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

@keyframes barShine {
    0% { transform: translateX(-100%) translateZ(0); }
    50%, 100% { transform: translateX(200%) translateZ(0); }
}

.daraz-sold-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Anek Bangla', 'Hind Siliguri', sans-serif;
}

.daraz-sold-text {
    color: #ea580c;
    display: flex;
    align-items: center;
    gap: 4px;
}

.daraz-stock-left {
    color: #64748b;
}

/* --- Action Buttons (Dual: Order Now & Cart) --- */
.daraz-action-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: auto;
}

.daraz-btn-cart {
    background: #ffbc00;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(255, 188, 0, 0.25);
    font-family: 'Anek Bangla', 'Hind Siliguri', sans-serif;
}

.daraz-btn-cart:hover {
    background: #e6a800;
    color: #000;
    transform: translateY(-1px);
}

.daraz-btn-order {
    background: linear-gradient(135deg, #f85606 0%, #ff4500 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(248, 86, 6, 0.3);
    font-family: 'Anek Bangla', 'Hind Siliguri', sans-serif;
}

.daraz-btn-order:hover {
    background: linear-gradient(135deg, #e04500 0%, #e63900 100%);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(248, 86, 6, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 767.98px) {
    .flash-sale-section {
        padding: 14px 10px 18px !important;
        border-radius: 12px !important;
    }

    /* 2-Row Compact App Header Layout */
    .daraz-flash-header {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-areas:
            "title viewall"
            "timer timer" !important;
        row-gap: 10px !important;
        column-gap: 8px !important;
        align-items: center !important;
        padding-bottom: 12px !important;
        margin-bottom: 14px !important;
    }

    .daraz-flash-title-wrap {
        grid-area: title !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
    }

    .daraz-flash-title {
        font-size: 18px !important;
        gap: 5px !important;
    }

    .daraz-flash-title .flash-bolt {
        font-size: 19px !important;
    }

    .daraz-flash-sub {
        display: none !important;
    }

    .flash-live-pill {
        font-size: 9.5px !important;
        padding: 2px 7px !important;
        gap: 4px !important;
    }

    .daraz-view-all-wrap {
        grid-area: viewall !important;
        margin: 0 !important;
    }

    .daraz-view-all-btn {
        padding: 4px 10px !important;
        font-size: 11px !important;
        border-radius: 50px !important;
        gap: 3px !important;
        border-width: 1px !important;
    }

    /* Dedicated Pill Timer Row */
    .daraz-timer-wrap {
        grid-area: timer !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: #fff6f1 !important;
        border: 1px solid #ffd8c7 !important;
        border-radius: 8px !important;
        padding: 5px 10px !important;
    }

    .daraz-timer-label {
        font-size: 11.5px !important;
        font-weight: 700 !important;
        color: #c2410c !important;
        gap: 4px !important;
    }

    .daraz-timer-container .syotimer-cell,
    .timer_inner .syotimer-cell {
        min-width: 28px !important;
        height: 26px !important;
        font-size: 12.5px !important;
        font-weight: 800 !important;
        border-radius: 5px !important;
        padding: 0 3px !important;
        margin-right: 4px !important;
    }

    .daraz-timer-container .syotimer-cell:not(:last-child)::after,
    .timer_inner .syotimer-cell:not(:last-child)::after {
        font-size: 13px !important;
        right: -6px !important;
    }

    /* Product Cards on Mobile */
    .daraz-flash-card {
        border-radius: 10px !important;
        margin-bottom: 10px !important;
        border: 1px solid #f1f5f9 !important;
    }

    .daraz-flash-body {
        padding: 8px 8px 10px !important;
    }

    .daraz-flash-title-link {
        font-size: 12px !important;
        min-height: 32px !important;
        margin-bottom: 4px !important;
        line-height: 1.35 !important;
    }

    .daraz-flash-price-box {
        margin-bottom: 6px !important;
        gap: 4px !important;
    }

    .daraz-new-price {
        font-size: 15px !important;
    }

    .daraz-old-price {
        font-size: 11px !important;
    }

    .daraz-sold-bar-wrap {
        margin-bottom: 8px !important;
    }

    .daraz-sold-track {
        height: 9px !important;
    }

    .daraz-sold-info {
        font-size: 10px !important;
        font-weight: 700 !important;
        margin-top: 3px !important;
    }

    /* Action Buttons in Mobile: Side-by-Side 1-Row Compact Grid */
    .daraz-action-btns {
        grid-template-columns: 1fr 1fr !important;
        gap: 4px !important;
        margin-top: auto !important;
    }

    .daraz-btn-cart, .daraz-btn-order {
        padding: 6px 2px !important;
        font-size: 10.5px !important;
        border-radius: 6px !important;
        gap: 3px !important;
        font-weight: 700 !important;
    }
}

/* ==========================================================================
   ⚡ 60FPS ULTRA-SMOOTH PRODUCT SLIDER (HOMEPAGE & CATEGORIES)
   Full drag/swipe support, 60FPS fluid motion & elegant floating navigation arrows
   ========================================================================== */
.product_slider {
    position: relative !important;
}

.product_slider .owl-stage-outer {
    position: relative !important;
    overflow: hidden !important;
}

.product_slider .owl-stage {
    display: flex !important;
    align-items: stretch !important;
    touch-action: pan-y !important;
    cursor: grab !important;
}

.product_slider.owl-drag .owl-stage {
    cursor: grabbing !important;
}

.product_slider .owl-item {
    flex-shrink: 0 !important;
    height: auto !important;
    display: flex !important;
}

/* Prevent native image/link dragging from blocking Owl Carousel mouse drag */
.product_slider,
.product_slider * {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
}

.product_slider .product_item,
.product_slider .product_item a,
.product_slider .product_item img {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.product_slider .owl-item .product_item {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.product_slider .owl-item .product_item_inner,
.product_slider .owl-item .daraz-flash-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Clean Floating Navigation Buttons for Desktop */
.product_slider .owl-nav {
    display: block !important;
    position: static !important;
}

.product_slider .owl-nav button.owl-prev,
.product_slider .owl-nav button.owl-next {
    position: absolute !important;
    top: 42% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    color: #1e293b !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 10 !important;
    opacity: 0.9 !important;
}

.product_slider .owl-nav button.owl-prev {
    left: 2px !important;
}

.product_slider .owl-nav button.owl-next {
    right: 2px !important;
}

.product_slider .owl-nav button.owl-prev:hover,
.product_slider .owl-nav button.owl-next:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25) !important;
    opacity: 1 !important;
}

/* Hide navigation arrows on mobile & tablet so touch swipe is 100% clean and nothing floats over cards */
@media (max-width: 991px) {
    .product_slider .owl-nav {
        display: none !important;
    }
}
