/* Custom CSS for RozaFood */
        .products-section {
            scroll-margin-top: 110px;
        }
        .footer-section {
            scroll-margin-top: 75px;
        }
        body {
            font-family: "Noto Serif Bengali", serif;
            background-color: #f8f9fa;
        }
        
        .text-success {
            color: #198754 !important;
        }
        
        .bg-success {
            background-color: #198754 !important;
        }
        
        .btn-success {
            background-color: #198754;
            border-color: #198754;
        }
        
        .btn-success:hover {
            background-color: #157347;
            border-color: #157347;
        }
        
        /* Navbar */
        .navbar {
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .navbar-brand img {
            /* height: 40px; */
            width: 128px;
        }
        
        @media (max-width: 991.98px) {
            .navbar-collapse {
                text-align: center;
                margin-top: 10px;
            }
        }
        
        /* Hero Section */
        .hero-section {
            background-color: #e9f5ee;
            min-height: 50vh;
        }
        
        .banner-img {
            height: 100%;
            object-fit: cover;
        }
        
        @media (min-width: 992px) {
            .hero-section .row {
                min-height: 50vh;
            }
        }
        
        /* Category Section */
        .category-card {
            transition: transform 0.2s;
            cursor: pointer;
        }
        
        .category-card:hover {
            transform: translateY(-5px);
            border: 1px solid #198754 !important;
        }
        .card-title {
            font-size: 0.8rem;
        }
        
        .category-card.active {
            border: 2px solid #198754 !important;
            background-color: #e9f5ee;
        }

        .category-card .card-body {
            padding: 1rem;
        }
        
        /* Products Section */
        .product-image-container {
            height: 180px;
            overflow: hidden;
            padding: 0px; /* Added padding around the image */
        }
        
        .product-img {
            height: 100%;
            width: 100%;
            object-fit: contain; /* Changed to 'contain' to show the full image */
        }
        
        .product-card {
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
        }
        
        .product-card .card-body a {
            color: inherit;
            text-decoration: none;
            cursor: pointer;
        }

        .product-name {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 1rem; /* Reduced font size */
        }
        
        /* Search Bar */
        @media (min-width: 992px) {
            .search-bar {
                max-width: 400px;
                margin-left: auto;
            }
        }

        /* Footer Section - Base Styles */
        .footer-section {
            background-color: #212529 !important;
            color: #f8f9fa;
        }
        
        .footer-section a {
            color: #198754;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-section a:hover {
            color: #157347;
        }
        
        .footer-section .list-unstyled li {
            line-height: 1.6;
        }
        
        /* Styling for list with checkmarks */
        .list-check {
            padding-left: 0;
        }
        
        .list-check li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 0.5rem;
        }
        
        .list-check li i {
            margin-right: 10px;
            flex-shrink: 0;
            padding-top: 3px;
            color: #198754;
        }
        
        /* Vertical border for contact section on larger screens */
        .border-start-md {
            border-left: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        /* Offcanvas Cart */
        .offcanvas {
            max-width: 450px;
        }
        
        @media (max-width: 575.98px) {
            .offcanvas {
                max-width: 85%;
            }
        }
        
        .offcanvas-footer {
            background-color: #f8f9fa;
        }
        
        .toast {
            opacity: 0.95;
            z-index: 9999;
        }

        /* Centered toast message */
        .center-toast-container {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 9999;
        }
        
        .cart-item {
            border-bottom: 1px solid #e9ecef;
            padding-bottom: 1rem;
            margin-bottom: 1rem;
        }

        .cart-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .cart-item-image {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 8px;
        }

        .quantity-controls {
            display: flex;
            align-items: center;
        }

        .quantity-controls .btn {
            width: 30px;
            height: 30px;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        /* Product Modal */
        #productModal .modal-content {
            border-radius: 15px;
        }
        
        #productModal .modal-header {
            border-bottom: none;
        }
        
        #productModal .btn-close {
            box-shadow: none;
        }
        
        #productModal .main-product-image {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }
        
        #productModal .thumbnail-image {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 5px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s;
        }
        
        #productModal .thumbnail-image.active, #productModal .thumbnail-image:hover {
            border-color: #198754;
        }
        
        /* Description and button layout for mobile */
        @media (max-width: 767.98px) {
            .modal-product-details .btn-group-vertical {
                display: block;
                margin-bottom: 1.5rem;
            }
            .modal-product-details .btn-group-vertical .btn {
                width: 100%;
                margin-bottom: 0.5rem;
            }
        }
        

        /* Order Confirmation Modal */
        #orderConfirmModal .modal-content {
            border-radius: 15px;
            text-align: center;
        }

        #orderConfirmModal .modal-body .icon {
            font-size: 5rem;
            color: #198754;
            margin-bottom: 1rem;
            animation: bounce 0.8s ease-in-out;
        }

        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        /* Flatpickr customization */
        .flatpickr-input {
            cursor: pointer;
        }

        /* Footer Responsive Adjustments */
        @media (max-width: 767.98px) {
            .footer-section .container .row {
                padding-left: 15px;
                padding-right: 15px;
            }
            
            .footer-section .col-md-6 {
                padding-left: 15px !important;
                padding-right: 15px !important;
            }
            
            .footer-section .col-md-6:not(:last-child) {
                margin-bottom: 30px;
            }
            
            .footer-section .row.g-4 {
                padding-left: 0;
                padding-right: 0;
            }
            
            .border-start-md {
                border-left: none;
                padding-left: 0 !important;
            }
            
            .footer-section .list-check {
                padding-left: 10px;
            }
        }

        /* Order Tracking Modal Responsive Fixes */
        #orderTrackingModal .modal-body {
            overflow-x: hidden;
        }
        
        #orderTrackingModal .order-card {
            word-wrap: break-word;
            overflow-wrap: break-word;
        }
        
        #orderTrackingModal .badge {
            white-space: nowrap;
            font-size: 0.75rem;
        }
        
        @media (max-width: 767.98px) {
            #orderTrackingModal .badge {
                font-size: 0.65rem;
                padding: 0.25rem 0.5rem !important;
            }
            
            #orderTrackingModal .order-card .row > div {
                margin-bottom: 0.5rem;
            }
            
            #orderTrackingModal .text-truncate {
                max-width: 150px !important;
            }
        }

        /* Prevent cart button changes on hover */
        .add-to-cart-btn:hover {
            transform: none !important;
            box-shadow: none !important;
            width: 100% !important;
        }