/* ==================================================
   Today's Best Deals Section Styles
   ================================================== */
.best-deals-section {
    padding: 20px 0 60px 0;
    background-color: #0B081D;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden; /* মোবাইলে ডানে-বামে স্ক্রল বন্ধ করার জন্য */
}

/* Header Area */
.deals-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.deals-title-area .sub-title {
    font-size: 11px;
    letter-spacing: 2px;
    color: #8c8c9a;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.deals-title-area .main-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.deals-action-area {
    display: flex;
    align-items: center;
    gap: 30px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    min-width: 55px;
}

.time-box .time {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.time-box .label {
    display: block;
    font-size: 8px;
    color: #8c8c9a;
    margin-top: 2px;
}

.colon {
    font-size: 20px;
    font-weight: bold;
    color: #8c8c9a;
}

.btn-view-deals {
    background: #FFD700;
    color: #000;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-view-deals:hover {
    background: #e6c200;
}

/* Products Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Product Card */
.deal-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #1a1635;
    color: #FFD700;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 5px;
    z-index: 2;
}

.product-img-box {
    height: 180px;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-img-box img {
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain;
}

.demo-icon {
    font-size: 50px;
    color: #d1d5db;
    transition: color 0.3s ease;
}

.deal-card:hover .demo-icon {
    color: #3b82f6; 
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
}

.price-box {
    margin-bottom: 15px;
}

.current-price {
    font-size: 16px;
    font-weight: 700;
    color: #ef4444; 
    margin-right: 8px;
}

.old-price {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
}

.rating-cart-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ratings {
    color: #fbbf24;
    font-size: 11px;
}

.btn-add-cart {
    background-color: #6366f1; 
    color: #ffffff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-add-cart:hover {
    background-color: #4f46e5;
}

/* ==========================================
       🌟 Responsive (Mobile/Tablet View) 🌟
       ========================================== */
    @media (max-width: 1024px) { 
        .shop-master-container { flex-direction: column; }
        .shop-sidebar-area { width: 100%; position: static; margin-bottom: 20px; }
        .na-grid { grid-template-columns: repeat(3, 1fr); } 
    }
    
    @media (max-width: 768px) { 
        .na-grid { grid-template-columns: repeat(2, 1fr); } 
    }
    
    @media (max-width: 480px) { 
        .na-grid { 
            grid-template-columns: repeat(2, 1fr); /* মোবাইলের জন্য 2 কলাম */
            gap: 10px; 
        } 
        .na-card {
            padding: 10px;
        }
        .na-img-box {
            height: 140px;
        }
        .na-product-title {
            font-size: 12px;
        }
        .na-price {
            font-size: 14px;
        }
        .na-add-btn {
            font-size: 11px;
            padding: 8px 0;
        }
    }