/* Products Carousel Styles */
.products-carousel {
    position: relative;
    overflow: hidden;
}

.products-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0;
    -ms-overflow-style: none;
    /* scrollbar-width: none; */
    -webkit-overflow-scrolling: touch;
}

.products-track::-webkit-scrollbar {
    height: 8px;  /* Height of horizontal scrollbar */
    display: block;
}

.products-track::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.products-track::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 4px;
}

.products-track::-webkit-scrollbar-thumb:hover {
    background: #aaaaaa;
}

.product-card {
    flex: 0 0 200px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    backdrop-filter: blur(2px);
}

.product-card-body {
    padding: 1rem;
}

.product-title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: #2c3e50;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-delivery-type {
    margin-top: 0.5rem;
}

.product-delivery-type .badge {
    font-size: 0.8rem;
    padding: 0.4em 0.8em;
}

/* Product Modal Styles */
.product-images-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-images-carousel .swiper {
    width: 100%;
    height: 100%;
}

.product-images-carousel .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-images-carousel img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0,0,0,0.7);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.product-details {
    padding: 1rem 0;
}

.product-description {
    color: #666;
    line-height: 1.6;
}

.product-delivery-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
}

.product-delivery-info h6 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .product-card {
        flex: 0 0 160px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
    
    .product-images-carousel {
        height: 300px;
    }
}

/* Menu Carousel Styles */
.menu-carousel {
    position: relative;
    overflow: hidden;
}

.menu-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0;
    -ms-overflow-style: none;
    /* scrollbar-width: none; */
    margin: 0;
    -webkit-overflow-scrolling: touch;
}

.menu-track::-webkit-scrollbar {
    height: 8px;  /* Height of horizontal scrollbar */
    display: block;
}

.menu-track::-webkit-scrollbar {
    height: 8px;  /* Height of horizontal scrollbar */
    display: block;
}

.menu-track::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.menu-track::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 4px;
}

.menu-track::-webkit-scrollbar-thumb:hover {
    background: #aaaaaa;
}

.menu-card {
    flex: 0 0 200px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.menu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.menu-image {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #f8f9fa;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-card:hover .menu-image img {
    transform: scale(1.05);
}

.menu-image-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    backdrop-filter: blur(2px);
}

.menu-card-body {
    padding: 1rem;
}

.menu-title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: #2c3e50;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-price {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.menu-cook-time {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-cook-time i {
    color: #2c3e50;
}

/* Menu Modal Styles */
.menu-images-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-images-carousel .swiper {
    width: 100%;
    height: 100%;
}

.menu-images-carousel .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.menu-images-carousel img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.menu-details {
    padding: 1rem 0;
}

.menu-description,
.menu-ingredients {
    color: #666;
    line-height: 1.6;
}

.menu-description h6,
.menu-ingredients h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/*nav#main-navbar{
    position: fixed !important;
}*/

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    body{
        padding-top: 0 !important;
    }
    
    /*nav#main-navbar {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }*/

    .menu-card {
        flex: 0 0 160px;
    }
    
    .menu-image {
        height: 120px;
    }
    
    .menu-title {
        font-size: 0.9rem;
    }
    
    .menu-price {
        font-size: 1rem;
    }
    
    .menu-images-carousel {
        height: 300px;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
	h6.item-title{
		font-size:18px;
	}
}
