 :root {
            --blue: #1a237e;
            --gold: #ffd700;
            --white: #ffffff;
            --black: #000000;
            --light-blue: #e8eaf6;
            --dark-blue: #0d1458;
            --gray: #f5f5f5;
            --dark-gray: #333333;
            --success-green: #4caf50;
            --error-red: #f44336;
            --warning-orange: #ff9800;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }
        
        body {
            background-color: var(--white);
            color: var(--dark-gray);
            line-height: 1.6;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* Header Styles */
        header {
            background-color: var(--blue);
            color: var(--white);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
        }
        
        .logo {
            max-height: 60px;
            margin-right: 15px;
        }
        
        .logo-text h1 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800;
            font-size: 24px;
            color: var(--gold);
            margin-bottom: 5px;
        }
        
        .logo-text p {
            font-size: 12px;
            color: var(--white);
        }
        
        .search-bar {
            flex: 1;
            max-width: 500px;
            margin: 0 20px;
            position: relative;
        }
        
        .search-bar input {
            width: 100%;
            padding: 10px 15px;
            border-radius: 30px;
            border: none;
            font-size: 14px;
        }
        
        .search-bar button {
            position: absolute;
            right: 5px;
            top: 5px;
            background: var(--gold);
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            cursor: pointer;
            color: var(--blue);
        }
        
        .user-actions {
            display: flex;
            align-items: center;
        }
        
        .user-actions a {
            color: var(--white);
            text-decoration: none;
            margin-left: 15px;
            font-size: 14px;
        }
        
        .user-actions a:hover {
            color: var(--gold);
        }
        
        .cart-icon {
            position: relative;
        }
        
        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--gold);
            color: var(--blue);
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }
        
        /* Navigation */
        nav {
            background-color: var(--dark-blue);
            padding: 10px 0;
        }
        
        .nav-menu {
            display: flex;
            list-style: none;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        
        .nav-menu li {
            position: relative;
        }
        
        .nav-menu a {
            color: var(--white);
            text-decoration: none;
            padding: 8px 15px;
            display: block;
            font-size: 14px;
            transition: all 0.3s;
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;
        }
        
        .nav-menu a:hover {
            color: var(--gold);
        }
        
        .dropdown {
            position: relative;
        }
        
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: var(--white);
            min-width: 250px;
            max-height: 500px;
            overflow-y: auto;
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
            z-index: 1000;
            border-radius: 5px;
            overflow: hidden;
            padding: 10px 0;
        }
        
        .dropdown-content a {
            color: var(--dark-gray);
            padding: 10px 20px;
            text-decoration: none;
            display: block;
            border-bottom: 1px solid var(--gray);
            font-size: 14px;
        }
        
        .dropdown-content a:hover {
            background-color: var(--light-blue);
            color: var(--blue);
        }
        
        .dropdown:hover .dropdown-content {
            display: block;
        }
        
        /* Mega Menu for Categories */
        .mega-menu {
            display: none;
            position: absolute;
            left: 0;
            right: 0;
            background-color: var(--white);
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
            z-index: 1000;
            border-radius: 5px;
            padding: 20px;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        .mega-menu.active {
            display: block;
        }
        
        .mega-menu-columns {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        
        .mega-menu-column h4 {
            color: var(--blue);
            margin-bottom: 15px;
            padding-bottom: 5px;
            border-bottom: 2px solid var(--gold);
            font-size: 16px;
            font-family: 'Montserrat', sans-serif;
        }
        
        .mega-menu-column ul {
            list-style: none;
        }
        
        .mega-menu-column li {
            margin-bottom: 8px;
        }
        
        .mega-menu-column a {
            color: var(--dark-gray);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
        }
        
        .mega-menu-column a:hover {
            color: var(--blue);
        }
        
        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--white);
            font-size: 24px;
            cursor: pointer;
            padding: 5px;
        }
        
        /* Location Selector */
        .location-selector {
            background-color: var(--light-blue);
            padding: 15px 0;
            border-bottom: 1px solid #ddd;
        }
        
        .location-form {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            align-items: center;
        }
        
        .location-form select {
            padding: 8px 15px;
            border-radius: 5px;
            border: 1px solid #ddd;
            background-color: var(--white);
            min-width: 200px;
        }
        
        /* Main Content */
        .main-content {
            padding: 20px 0;
        }
        
        /* Search Filters */
        .search-filters {
            background-color: var(--gray);
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            align-items: center;
        }
        
        .filter-group {
            display: flex;
            flex-direction: column;
            min-width: 150px;
        }
        
        .filter-group label {
            font-size: 12px;
            color: var(--dark-gray);
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .filter-group select {
            padding: 8px 10px;
            border-radius: 5px;
            border: 1px solid #ddd;
            background-color: var(--white);
        }
        
        /* Advertisements */
        .ad-section {
            margin-bottom: 30px;
        }
        
        .ad-slider {
            position: relative;
            height: 300px;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .ad-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease;
            background-size: cover;
            background-position: center;
        }
        
        .ad-slide.active {
            opacity: 1;
        }
        
        .ad-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.7));
            color: var(--white);
            padding: 20px;
        }
        
        .ad-nav {
            position: absolute;
            bottom: 20px;
            right: 20px;
            display: flex;
            gap: 10px;
        }
        
        .ad-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.5);
            cursor: pointer;
        }
        
        .ad-dot.active {
            background-color: var(--gold);
        }
        
        /* Category Badges */
        .category-badge {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            margin-bottom: 5px;
            color: white;
            background-color: var(--blue);
        }
        
        /* Product Sections */
        .section-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: var(--blue);
            margin: 30px 0 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--gold);
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .product-card {
            background-color: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .product-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        
        .product-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: var(--gold);
            color: var(--blue);
            padding: 5px 10px;
            border-radius: 3px;
            font-size: 12px;
            font-weight: bold;
        }
        
        .product-info {
            padding: 15px;
        }
        
        .product-title {
            font-weight: 500;
            margin-bottom: 5px;
            min-height: 40px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        /* Rating Stars */
        .rating-stars {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .stars {
            color: var(--gold);
            font-size: 14px;
            margin-right: 5px;
        }
        
        .star {
            margin-right: 1px;
        }
        
        .rating-value {
            font-weight: 600;
            color: var(--blue);
            margin-right: 5px;
            font-size: 14px;
        }
        
        .review-count {
            font-size: 12px;
            color: #666;
        }
        
        .product-price {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .current-price {
            font-weight: bold;
            color: var(--blue);
            font-size: 18px;
        }
        
        .original-price {
            text-decoration: line-through;
            color: #999;
            margin-left: 10px;
            font-size: 14px;
        }
        
        .discount {
            color: var(--blue);
            font-weight: bold;
            margin-left: 10px;
            font-size: 14px;
        }
        
        .product-location {
            display: flex;
            align-items: center;
            color: #666;
            font-size: 12px;
            margin-bottom: 10px;
        }
        
        .product-location i {
            margin-right: 5px;
        }
        
        .product-actions {
            display: flex;
            justify-content: space-between;
        }
        
        /* Button Styles - RESPONSIVE AND COMPATIBLE */
        .btn {
            padding: 8px 15px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
            font-family: 'Montserrat', sans-serif;
            display: inline-block;
            text-align: center;
            text-decoration: none;
            user-select: none;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }
        
        .btn-primary {
            background-color: var(--blue);
            color: var(--white);
        }
        
        .btn-primary:hover,
        .btn-primary:focus,
        .btn-primary:active {
            background-color: var(--dark-blue);
            outline: none;
        }
        
        .btn-secondary {
            background-color: var(--gold);
            color: var(--blue);
        }
        
        .btn-secondary:hover,
        .btn-secondary:focus,
        .btn-secondary:active {
            background-color: #e6c200;
            outline: none;
        }
        
        /* Make buttons responsive */
        @media (hover: hover) {
            .btn-primary:hover,
            .btn-secondary:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            }
        }
        
        @media (hover: none) {
            .btn-primary:active,
            .btn-secondary:active {
                transform: scale(0.98);
            }
        }
        
        /* Featured Categories */
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .category-card {
            background-color: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            text-align: center;
            padding: 15px 10px;
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
            border-top: 4px solid var(--blue);
        }
        
        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .category-icon {
            font-size: 30px;
            margin-bottom: 10px;
            color: var(--blue);
        }
        
        .category-title {
            font-weight: 500;
            margin-bottom: 5px;
            font-size: 14px;
        }
        
        .item-count {
            font-size: 12px;
            color: #666;
        }
        
        /* Quick Order Section */
        .quick-order {
            background-color: var(--light-blue);
            padding: 30px;
            border-radius: 10px;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .quick-order h3 {
            margin-bottom: 15px;
            color: var(--dark-blue);
            font-family: 'Montserrat', sans-serif;
        }
        
        .quick-order-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        
        /* Category Showcase */
        .category-showcase {
            background: var(--light-blue);
            padding: 30px;
            border-radius: 10px;
            margin-bottom: 30px;
        }
        
        .category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .category-title-main {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: var(--blue);
            font-size: 24px;
        }
        
        .view-all {
            color: var(--blue);
            text-decoration: none;
            font-weight: 500;
        }
        
        .view-all:hover {
            text-decoration: underline;
            color: var(--dark-blue);
        }
        
        /* Food Ordering Section */
        .food-ordering-section {
            background-color: var(--white);
            border: 2px solid var(--blue);
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 30px;
            position: relative;
        }
        
        .food-ordering-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--blue), var(--dark-blue));
            border-radius: 10px 10px 0 0;
        }
        
        .food-ordering-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .food-ordering-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: var(--blue);
            font-size: 22px;
        }
        
        .food-categories {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
            overflow-x: auto;
            padding-bottom: 10px;
        }
        
        .food-category-btn {
            padding: 10px 20px;
            background-color: var(--white);
            border: 2px solid var(--blue);
            border-radius: 30px;
            color: var(--blue);
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.3s;
            user-select: none;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }
        
        .food-category-btn.active {
            background-color: var(--blue);
            color: white;
        }
        
        .food-category-btn:hover:not(.active),
        .food-category-btn:focus:not(.active) {
            background-color: var(--light-blue);
            outline: none;
        }
        
        .food-category-btn:active {
            transform: scale(0.98);
        }
        
        .food-items-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }
        
        .food-item-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            border: 1px solid #f0f0f0;
        }
        
        .food-item-image {
            height: 150px;
            overflow: hidden;
        }
        
        .food-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .food-item-info {
            padding: 15px;
        }
        
        .food-item-name {
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--dark-gray);
        }
        
        .food-item-price {
            font-weight: 700;
            color: var(--blue);
            margin-bottom: 10px;
        }
        
        .food-item-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .quantity-selector {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .quantity-btn {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            background-color: var(--gray);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            user-select: none;
            touch-action: manipulation;
        }
        
        .quantity-input {
            width: 40px;
            text-align: center;
            border: 1px solid #ddd;
            border-radius: 3px;
            padding: 3px;
        }
        
        /* Supermarket Section */
        .supermarket-section {
            background-color: var(--white);
            border: 2px solid var(--blue);
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 30px;
            position: relative;
        }
        
        .supermarket-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--blue), var(--dark-blue));
            border-radius: 10px 10px 0 0;
        }
        
        .supermarket-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .supermarket-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: var(--blue);
            font-size: 22px;
        }
        
        .supermarket-categories {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
            overflow-x: auto;
            padding-bottom: 10px;
        }
        
        .supermarket-category-btn {
            padding: 10px 20px;
            background-color: var(--white);
            border: 2px solid var(--blue);
            border-radius: 30px;
            color: var(--blue);
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.3s;
            user-select: none;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }
        
        .supermarket-category-btn.active {
            background-color: var(--blue);
            color: white;
        }
        
        .supermarket-category-btn:hover:not(.active),
        .supermarket-category-btn:focus:not(.active) {
            background-color: var(--light-blue);
            outline: none;
        }
        
        .supermarket-category-btn:active {
            transform: scale(0.98);
        }
        
        /* Product Reviews Section */
        .reviews-section {
            margin-top: 30px;
            border-top: 1px solid #eee;
            padding-top: 20px;
        }
        
        .reviews-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .reviews-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            color: var(--blue);
            font-size: 18px;
        }
        
        .overall-rating {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            padding: 15px;
            background-color: var(--light-blue);
            border-radius: 8px;
        }
        
        .rating-summary {
            text-align: center;
        }
        
        .rating-average {
            font-size: 32px;
            font-weight: 700;
            color: var(--blue);
            line-height: 1;
        }
        
        .rating-average-stars {
            color: var(--gold);
            font-size: 14px;
            margin: 5px 0;
        }
        
        .total-reviews {
            font-size: 12px;
            color: #666;
        }
        
        .rating-breakdown {
            flex: 1;
        }
        
        .rating-bar {
            display: flex;
            align-items: center;
            margin-bottom: 5px;
            font-size: 12px;
        }
        
        .rating-bar span {
            width: 30px;
            color: var(--blue);
        }
        
        .rating-bar .bar {
            flex: 1;
            height: 8px;
            background-color: #eee;
            border-radius: 4px;
            overflow: hidden;
            margin: 0 10px;
        }
        
        .rating-bar .fill {
            height: 100%;
            background-color: var(--gold);
        }
        
        .write-review-btn {
            background-color: var(--blue);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
        }
        
        .write-review-btn:hover {
            background-color: var(--dark-blue);
        }
        
        .review-form {
            background-color: var(--light-blue);
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: none;
        }
        
        .review-form.active {
            display: block;
        }
        
        .review-form h4 {
            margin-bottom: 15px;
            color: var(--blue);
        }
        
        .review-rating {
            margin-bottom: 15px;
        }
        
        .review-rating label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .star-rating-input {
            display: flex;
            gap: 5px;
            margin-bottom: 10px;
        }
        
        .star-rating-input .star {
            font-size: 24px;
            color: #ddd;
            cursor: pointer;
            transition: color 0.2s;
        }
        
        .star-rating-input .star:hover,
        .star-rating-input .star.active {
            color: var(--gold);
        }
        
        .review-textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-family: 'Poppins', sans-serif;
            margin-bottom: 10px;
            resize: vertical;
            min-height: 100px;
        }
        
        .review-submit-btn {
            background-color: var(--blue);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
        }
        
        .review-submit-btn:hover {
            background-color: var(--dark-blue);
        }
        
        .review-cancel-btn {
            background-color: #999;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
            margin-left: 10px;
        }
        
        .review-cancel-btn:hover {
            background-color: #777;
        }
        
        .reviews-list {
            max-height: 400px;
            overflow-y: auto;
        }
        
        .review-item {
            border-bottom: 1px solid #eee;
            padding: 15px 0;
        }
        
        .review-item:last-child {
            border-bottom: none;
        }
        
        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .reviewer-name {
            font-weight: 600;
            color: var(--blue);
        }
        
        .review-date {
            font-size: 12px;
            color: #999;
        }
        
        .review-rating-stars {
            color: var(--gold);
            font-size: 12px;
            margin-bottom: 8px;
        }
        
        .review-content {
            color: #333;
            line-height: 1.5;
        }
        
        .no-reviews {
            text-align: center;
            padding: 20px;
            color: #666;
        }
        
        /* Footer */
        footer {
            background-color: var(--blue);
            color: var(--white);
            padding: 40px 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .footer-column h3 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: var(--gold);
            margin-bottom: 20px;
            font-size: 18px;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: var(--white);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: var(--gold);
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }
        
        .social-links a {
            color: var(--white);
            font-size: 20px;
            transition: color 0.3s;
        }
        
        .social-links a:hover {
            color: var(--gold);
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 14px;
        }
        
        /* Product Details Modal */
        .product-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 2000;
            overflow: auto;
        }
        
        .product-modal-content {
            background-color: var(--white);
            margin: 5% auto;
            padding: 0;
            border-radius: 10px;
            width: 90%;
            max-width: 1000px;
            position: relative;
            animation: modalopen 0.4s;
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .product-modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #999;
            z-index: 100;
            background: white;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .product-modal-close:hover {
            color: var(--black);
        }
        
        .product-modal-body {
            display: flex;
            flex-wrap: wrap;
        }
        
        .product-modal-images {
            flex: 1;
            min-width: 300px;
            padding: 20px;
        }
        
        .product-modal-main-image {
            width: 100%;
            height: 300px;
            overflow: hidden;
            border-radius: 8px;
            margin-bottom: 10px;
        }
        
        .product-modal-main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .product-modal-details {
            flex: 2;
            min-width: 300px;
            padding: 20px;
            border-left: 1px solid #eee;
        }
        
        .product-modal-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: var(--blue);
            margin-bottom: 10px;
            font-size: 24px;
        }
        
        .product-modal-price {
            font-size: 28px;
            font-weight: 700;
            color: var(--blue);
            margin-bottom: 15px;
        }
        
        .product-modal-description {
            margin-bottom: 20px;
            line-height: 1.6;
        }
        
        .product-modal-actions {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .product-modal-specs {
            margin-bottom: 20px;
        }
        
        .specs-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .specs-table tr {
            border-bottom: 1px solid #eee;
        }
        
        .specs-table td {
            padding: 8px 0;
        }
        
        .specs-table td:first-child {
            font-weight: 500;
            width: 150px;
            color: var(--blue);
        }
        
        /* Modal Styles */
        .modal {
            /* display: none; */
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 2000;
            overflow: auto;
        }
        
        .modal-content {
            background-color: var(--white);
            margin: 5% auto;
            padding: 20px;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            position: relative;
            animation: modalopen 0.4s;
        }
        
        @keyframes modalopen {
            from {opacity: 0; transform: translateY(-50px);}
            to {opacity: 1; transform: translateY(0);}
        }
        
        .close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #999;
        }
        
        .close:hover {
            color: var(--black);
        }
        
        .modal-title {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: var(--blue);
            margin-bottom: 20px;
            text-align: center;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
        }
        
        .form-row {
            display: flex;
            gap: 15px;
        }
        
        .form-row .form-group {
            flex: 1;
        }
        
        .btn-block {
            width: 100%;
            padding: 12px;
            font-size: 16px;
        }
        
        .text-center {
            text-align: center;
        }
        
        /* Loading State */
        .loading {
            opacity: 0.7;
            pointer-events: none;
            position: relative;
        }
        
        .loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            border: 2px solid #f3f3f3;
            border-top: 2px solid var(--blue);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            transform: translate(-50%, -50%);
        }
        
        @keyframes spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }
        
        /* Error and Success Messages */
        .error-message {
            color: var(--error-red);
            font-size: 12px;
            margin-top: 5px;
            display: none;
        }
        
        .success-message {
            color: var(--blue);
            background-color: var(--light-blue);
            padding: 10px;
            border-radius: 5px;
            margin: 10px 0;
            text-align: center;
        }
        
        /* Search Results */
        .search-results {
            margin: 20px 0;
            padding: 15px;
            background-color: var(--gray);
            border-radius: 10px;
            display: none;
        }
        
        .search-results.active {
            display: block;
        }
        
        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .results-count {
            font-weight: 500;
            color: var(--blue);
        }
        
        .clear-search {
            color: var(--blue);
            cursor: pointer;
            text-decoration: underline;
        }
        
        .no-results {
            text-align: center;
            padding: 20px;
            color: #666;
        }
        
        /* Security Notice */
        .security-notice {
            background-color: var(--light-blue);
            border-left: 4px solid var(--gold);
            padding: 10px;
            margin-bottom: 15px;
            border-radius: 0 5px 5px 0;
            font-size: 12px;
        }
        
        /* Password visibility toggle */
        .password-toggle {
            position: absolute;
            right: 10px;
            top: 35px;
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
        }
        
        .password-wrapper {
            position: relative;
        }
        
        /* Login attempts warning */
        .attempts-warning {
            background-color: rgba(255, 152, 0, 0.1);
            border: 1px solid var(--warning-orange);
            color: var(--warning-orange);
            padding: 8px;
            border-radius: 5px;
            margin-bottom: 15px;
            font-size: 12px;
            display: none;
        }
        
        /* Two-factor auth section */
        .two-factor-section {
            display: none;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }
        
        /* Forgot password link */
        .forgot-password {
            display: block;
            text-align: right;
            margin-top: 5px;
            font-size: 12px;
            color: var(--blue);
            text-decoration: none;
        }
        
        .forgot-password:hover {
            text-decoration: underline;
        }
        
        /* Checkbox styles */
        .checkbox-group {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .checkbox-group input[type="checkbox"] {
            margin-right: 8px;
        }
        
        /* Responsive Styles */
        @media (max-width: 1200px) {
            .mega-menu-columns {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .header-top {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .search-bar {
                max-width: 100%;
                margin: 15px 0;
            }
            
            .user-actions {
                width: 100%;
                justify-content: space-between;
            }
            
            .menu-toggle {
                display: block;
                position: absolute;
                right: 15px;
                top: 15px;
            }
            
            .nav-menu {
                flex-direction: column;
                display: none;
            }
            
            .nav-menu.active {
                display: flex;
            }
            
            .nav-menu li {
                margin-bottom: 5px;
                width: 100%;
            }
            
            .dropdown-content, .mega-menu {
                position: static;
                box-shadow: none;
                display: none;
                background-color: var(--dark-blue);
                width: 100%;
                max-height: none;
                overflow: visible;
                padding: 10px;
            }
            
            .mega-menu-columns {
                grid-template-columns: 1fr;
            }
            
            .dropdown.active .dropdown-content,
            .dropdown.active .mega-menu {
                display: block;
            }
            
            .mega-menu-column a {
                color: var(--white);
            }
            
            .mega-menu-column h4 {
                color: var(--gold);
            }
            
            .search-filters {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .filter-group {
                width: 100%;
            }
            
            .food-items-grid {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            }
            
            .product-modal-body {
                flex-direction: column;
            }
            
            .product-modal-details {
                border-left: none;
                border-top: 1px solid #eee;
            }
            
            /* Mobile button improvements */
            .btn, .food-category-btn, .supermarket-category-btn {
                min-height: 44px; /* Apple's recommended minimum touch target */
                padding: 12px 20px;
            }
            
            .quantity-btn {
                width: 44px;
                height: 44px;
            }
        }
        
        @media (max-width: 768px) {
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
            
            .categories-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            }
            
            .location-form {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .location-form select {
                width: 100%;
            }
            
            .quick-order-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .food-items-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
            
            .btn {
                padding: 10px 16px;
                font-size: 14px;
            }
            
            .overall-rating {
                flex-direction: column;
                align-items: flex-start;
            }
        }
        
        @media (max-width: 576px) {
            .products-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .categories-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
            
            .logo-text h1 {
                font-size: 20px;
            }
            
            .ad-slider {
                height: 200px;
            }
            
            .modal-content {
                margin: 10% auto;
                width: 95%;
            }
            
            .food-items-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            /* Small screen button adjustments */
            .btn {
                padding: 8px 12px;
                font-size: 13px;
            }
            
            .product-actions {
                flex-direction: column;
                gap: 8px;
            }
            
            .product-actions .btn {
                width: 100%;
            }
            
            .product-modal-content {
                width: 95%;
                margin: 10% auto;
            }
        }
        
        /* Print styles */
        @media print {
            .btn, .food-category-btn, .supermarket-category-btn,
            .menu-toggle, .search-bar button, .close {
                display: none !important;
            }
        }
        
        /* High contrast support */
        @media (prefers-contrast: high) {
            .btn-primary, .btn-secondary {
                border: 2px solid var(--black);
            }
        }
        
        /* Reduced motion */
        @media (prefers-reduced-motion: reduce) {
            .product-card, .category-card, .btn,
            .food-category-btn, .supermarket-category-btn {
                transition: none;
            }
            
            .modal-content {
                animation: none;
            }
            
            .loading::after {
                animation: none;
            }
        }