/* Hide section on large screens */
@media (min-width: 768px) {
	.mobile-deals {
		display: none;
	}
}

/* Base styles */


.mobile-deals {
	background: #f5f5f5;
	padding-bottom: 12px;
}

/* Slider */
.slider {
	width: 100%;
	overflow: hidden;
}

.slides {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.slide {
	min-width: 100%;
	scroll-snap-align: start;
}

.slide img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
}

/* Hide scrollbar */
.slides::-webkit-scrollbar {
	display: none;
}

/* Horizontal items */
.item-scroll {
	display: flex;
	gap: 12px;
	padding: 8px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.item-scroll::-webkit-scrollbar {
	display:block;
}

.item {
	min-width: 90px;
	background: #fff;
	border-radius: 12px;
	padding: 1px;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.item img {
	width: 100%;
	height: 90px;
	object-fit: contain;
	margin-bottom: 1px;
}

.item p {
	font-size: 12px;
	margin: 0;
	font-weight: 600;
}
.slides {
	scroll-behavior: smooth;
}

/* Mobile-specific styles */
@media (max-width: 767px) {
    .section-padding {
        padding: 20px 0;
    }
    
    /* Tabbed Interface */
    .nav-tabs {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        border-bottom: 2px solid #dee2e6;
    }
    
    .nav-tabs .nav-link {
        white-space: nowrap;
        padding: 10px 15px;
        font-size: 14px;
        border: none;
        color: #666;
        background: none;
    }
    
    .nav-tabs .nav-link.active {
        color: #0d6efd;
        border-bottom: 2px solid #0d6efd;
        font-weight: 600;
    }
    
    .mobile-product-item {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-product-item:last-child {
        border-bottom: none;
    }
    
    .mobile-product-item img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .small-ratings {
        font-size: 12px;
    }
    
    /* Accordion */
    .accordion-button {
        padding: 15px;
        font-size: 16px;
    }
    
    .accordion-button:not(.collapsed) {
        background-color: #f8f9fa;
    }
    
    .mobile-product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .mobile-product-card {
        border: 1px solid #eee;
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.2s;
    }
    
    .mobile-product-card:hover {
        transform: translateY(-2px);
    }
    
    .mobile-product-card .product-image {
        height: 120px;
        overflow: hidden;
    }
    
    .mobile-product-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .mobile-product-card .product-info {
        padding: 10px;
    }
    
    .mobile-product-card .product-title {
        font-size: 13px;
        line-height: 1.3;
        height: 34px;
        overflow: hidden;
        margin-bottom: 8px;
    }
    
    /* Horizontal Scroll */
    .mobile-scroll-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .mobile-scroll-wrapper {
        display: flex;
        gap: 15px;
        padding: 0 5px;
    }
    
    .mobile-scroll-item {
        flex: 0 0 auto;
        width: 160px;
    }
    
    .product-card-mobile {
        width: 160px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    }
    
    .product-image-mobile {
        position: relative;
        height: 120px;
    }
    
    .product-image-mobile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .badge-best-seller {
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(255, 0, 0, 0.9);
        color: white;
        font-size: 10px;
        padding: 3px 6px;
        border-radius: 4px;
    }
    
    .product-info-mobile {
        padding: 10px;
    }
    
    .product-info-mobile .product-title {
        font-size: 13px;
        line-height: 1.3;
        height: 34px;
        overflow: hidden;
        margin-bottom: 8px;
    }
    
    .rating-number {
        font-weight: bold;
        margin-right: 3px;
    }
    
    .price-mobile {
        font-size: 14px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .mobile-product-item,
    .mobile-product-card,
    .product-card-mobile {
        cursor: pointer;
    }
    
    .btn,
    .nav-link,
    .accordion-button {
        min-height: 44px; /* Minimum touch target size */
    }
    
    .mobile-scroll-container::-webkit-scrollbar {
        display: none;
    }
}

/* product card responsiveness */

