* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary: #C5282F;
    --primary-dark: #A01D24;
    --primary-light: #E85B63;
    --secondary: #8B0000;
    --bg-light: #FFFFFF;
    --bg-gray: #F8F9FA;
    --text-primary: #2C1810;
    --text-secondary: #6C757D;
    --text-light: #FFFFFF;
    --border-light: #E9ECEF;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 4px 20px rgba(197, 40, 47, 0.2);
    --gradient-primary: linear-gradient(135deg, #C5282F 0%, #E85B63 100%);
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;
    --header-height: 70px;
    --mobile-nav-height: 80px;
    --ad-width: 300px;
    --sidebar-width: 250px;
    --content-max-width: 1200px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* User Dropdown Menu */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-menu-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    height: 36px;
    font-size: 0.9rem;
    font-weight: 600;
}

.user-menu-btn:hover {
    background: var(--primary);
    color: var(--text-light);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    min-width: 200px;
    border: 1px solid var(--border-light);
    z-index: 1100;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0.5rem 0;
}

/* Header - Desktop */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
    height: var(--header-height);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    gap: 0.5rem;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.mobile-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.3rem;
}

.mobile-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.mobile-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.mobile-menu-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-menu-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.mobile-menu-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.city-selector {
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.city-selector:hover {
    border-color: var(--primary);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* User Menu Styles */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.user-menu-toggle:hover {
    border-color: var(--primary);
    background: var(--bg-gray);
}

.user-avatar {
    font-size: 1.2rem;
}

.user-name {
    color: var(--text-primary);
    font-weight: 500;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 0.7rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.user-menu-toggle:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: var(--bg-gray);
}

.dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 12px 12px;
}

.dropdown-item.logout {
    color: var(--danger);
}

.dropdown-item.logout:hover {
    background: rgba(220, 53, 69, 0.1);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0.5rem 0;
}

.cart-count.has-items {
    background: var(--danger);
    color: white;
    padding: 0 4px;
    border-radius: 10px;
    font-size: 0.8rem;
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.user-menu {
    position: relative;
    display: inline-block;
}

.header .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.header .user-avatar:hover {
    transform: scale(1.05);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    min-width: 200px;
    box-shadow: var(--shadow-primary);
    display: none;
    z-index: 2000;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.user-dropdown a:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.user-dropdown a:last-child {
    border-bottom: none;
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 1rem;
    box-shadow: var(--shadow-light);
    height: var(--header-height);
}

.mobile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.hamburger {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: var(--bg-gray);
}

.mobile-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.mobile-cart {
    position: relative;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-cart:hover {
    background: var(--bg-gray);
}

/* Main Layout with Ads */
.app-layout {
    margin-top: var(--header-height);
    position: relative;
}

/* OLD SIDEBAR STYLES - DISABLED */
.left-ad-sidebar {
    display: none !important;
}

.right-ad-sidebar {
    display: none !important;
}

.main-content {
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    position: relative;
}

.ad-banner {
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.ad-banner:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

.ad-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ad-banner:hover img {
    transform: scale(1.02);
}

.ad-banner-long {
    height: 350px;
}

.ad-banner-long img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero section - Fixed for proper responsive behavior */
.hero {
    background-image: url('hero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    padding: 0;
    text-align: center;
    position: relative;
    width: 100%;
    height: 600px;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
}

/* Fallback for hero image */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./hero.png'), url('hero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 1;
}

/* Fallback gradient if image fails to load */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #C5282F 0%, #E85B63 100%);
    z-index: -1;
}

.hero-content {
    display: none;
}

/* Content wrapper with ad margins (starts after hero) */
/* New Hero Banner Section */
.hero-banner-section {
    width: 100%;
    position: relative;
    margin-bottom: 0;
}

/* New Layout with Side Banners */
.content-with-side-banners {
    display: grid;
    grid-template-columns: var(--ad-width) 1fr var(--ad-width);
    gap: 2rem;
    max-width: 1800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.main-content-area {
    min-width: 0; /* Prevent grid overflow */
}

.side-banner-left,
.side-banner-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    height: fit-content;
}

/* Updated content-with-ads to work without fixed sidebars */
.content-with-ads {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
}

/* Page headers for non-home pages */
.page:not(#home) .page-header {
    margin: 0;
    padding: 2rem 0 1rem;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border-light);
}

/* Mobile Side Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: var(--bg-light);
    z-index: 2001;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.show {
    left: 0;
}

.mobile-menu-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--gradient-primary);
    color: var(--text-light);
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-menu-items {
    padding: 1rem 0;
}

.mobile-menu-item {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-item:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.mobile-menu-item .icon {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

/* Mobile Bottom Navigation - Fixed */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    z-index: 1000;
    height: var(--mobile-nav-height);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.bottom-nav-items {
    display: flex;
    height: 100%;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem;
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item:hover {
    color: var(--primary);
    background: rgba(197, 40, 47, 0.05);
}

.bottom-nav-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.bottom-nav-label {
    font-size: 0.7rem;
    font-weight: 500;
}

.bottom-nav-badge {
    position: absolute;
    top: 0.25rem;
    right: 50%;
    transform: translateX(10px);
    background: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Welcome Message */
.welcome-message {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.welcome-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.welcome-content {
    position: relative;
    z-index: 1;
}

.welcome-message h2 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.welcome-message p {
    opacity: 0.9;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.page {
    display: none;
    padding: 1rem 0;
}

.page.active {
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Search Bar */
.search-bar {
    position: relative;
    max-width: 450px;
    margin: 2rem auto;
}

.search-bar input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    background: var(--bg-light);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(197, 40, 47, 0.1);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    color: var(--text-light);
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(197, 40, 47, 0.3);
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* Categories */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.category-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-light);
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.card-image {
    height: 180px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #FFD700;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-light);
}

.btn-success {
    background: var(--success);
    color: var(--text-light);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* Page Headers */
.page-header {
    text-align: center;
    padding: 2rem 0;
    background: var(--bg-gray);
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.breadcrumb {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

/* Filters */
.filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.filter-btn {
    background: var(--bg-light);
    color: var(--text-secondary);
    border: 2px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
    min-height: 40px;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

/* Enhanced City Selection Modal */
.city-selection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 1rem;
}

.city-selection-overlay.show {
    opacity: 1;
    visibility: visible;
}

.city-selection-modal {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(197, 40, 47, 0.3);
    border: 2px solid var(--primary);
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s ease;
}

.city-selection-overlay.show .city-selection-modal {
    transform: scale(1) translateY(0);
}

.city-selection-modal h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.city-selection-modal p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.city-option {
    padding: 1.5rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

.city-option:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(197, 40, 47, 0.3);
}

.city-icon {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.city-name {
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Account Styles */
.account-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.account-sidebar {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    height: fit-content;
}

.account-menu {
    list-style: none;
}

.account-menu li {
    margin-bottom: 0.5rem;
}

.account-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.account-menu a:hover, .account-menu a.active {
    background: var(--primary);
    color: var(--text-light);
}

.account-content {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
    flex-wrap: wrap;
    gap: 1rem;
}

.account-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.account-tab {
    display: none;
}

.account-tab.active {
    display: block;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 44px;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 40, 47, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 2000;
    overflow-y: auto;
    padding: 1rem;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-light);
    margin: auto;
    padding: 2rem;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-primary);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.modal-close:hover {
    color: var(--primary);
    background: var(--bg-gray);
}

/* Menu Modal */
.menu-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 2000;
    overflow-y: auto;
    padding: 1rem;
}

.menu-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
}

.menu-modal-content {
    background: var(--bg-light);
    margin: auto;
    padding: 1.5rem;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-primary);
    max-height: 85vh;
    overflow-y: auto;
}

.menu-categories {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.menu-category-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-light);
    background: var(--bg-light);
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
    min-height: 40px;
}

.menu-category-btn.active, .menu-category-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--text-light);
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.menu-item-card {
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.menu-item-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* NEW MENU LIST DESIGN */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.menu-item-row {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.menu-item-row:last-child {
    border-bottom: none;
}

.menu-item-row:hover {
    background: var(--bg-gray);
}

.menu-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.menu-item-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.menu-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.25rem 0 0 0;
}

.menu-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
}

/* Add to Cart Button (Initial State) */
.add-to-cart-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.add-to-cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Quantity Controls (After Adding) */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-gray);
    padding: 0.5rem;
    border-radius: 8px;
    border: 2px solid var(--primary);
}

.quantity-controls.hidden {
    display: none;
}

.quantity-btn-new {
    background: var(--primary);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn-new:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.quantity-display {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 30px;
    text-align: center;
}

/* Animation for state transitions */
.menu-item-actions .add-to-cart-btn.fade-out {
    opacity: 0;
    transform: scale(0.8);
}

.menu-item-actions .quantity-controls.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Menu List */
@media (max-width: 768px) {
    .menu-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .menu-item-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }
    
    .add-to-cart-btn {
        width: 100%;
        min-width: auto;
    }
    
    .quantity-controls {
        justify-content: center;
    }
}

/* Messages */
.success-message, .error-message, .info-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.success-message {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.info-message {
    background: rgba(23, 162, 184, 0.1);
    border: 1px solid #17a2b8;
    color: #17a2b8;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(197, 40, 47, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* RESPONSIVE STYLES FOR NEW LAYOUT */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .content-with-side-banners {
        grid-template-columns: 300px 1fr 300px;
    }
}

/* Tablet (768px - 1200px) */
@media (min-width: 768px) and (max-width: 1199px) {
    :root {
        --ad-width: 250px;
    }
    
    .content-with-side-banners {
        grid-template-columns: 250px 1fr 250px;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
}

/* Page Wrapper Layout with Side Banners */
.page-wrapper {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    padding-top: var(--header-height);
    min-height: 100vh;
    gap: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.content-area {
    flex: 1;
    max-width: var(--content-max-width);
    margin: 0 auto;
    width: 100%;
}

.side-banner-left,
.side-banner-right {
    width: var(--sidebar-width);
    position: sticky;
    top: calc(var(--header-height) + 20px);
    height: fit-content;
    max-height: calc(100vh - var(--header-height) - 40px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.side-banner-left::-webkit-scrollbar,
.side-banner-right::-webkit-scrollbar {
    width: 4px;
}

.side-banner-left::-webkit-scrollbar-thumb,
.side-banner-right::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

/* Advertisement Banner Styles */
.ad-banner {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ad-banner:hover {
    box-shadow: var(--shadow-light);
    transform: translateY(-2px);
}

.ad-banner-square {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-banner-long {
    min-height: 150px;
}

.ad-content {
    text-align: center;
    position: relative;
}

.ad-content h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.ad-content h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.ad-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.ad-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.btn-small {
    padding: 0.4rem 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-small:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.quick-links,
.trending-section {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
}

.quick-links h4,
.trending-section h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.quick-links ul,
.trending-section ul {
    list-style: none;
}

.quick-links li,
.trending-section li {
    padding: 0.4rem 0;
}

.quick-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: var(--primary);
}

.trending-section li {
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.trending-section li:last-child {
    border-bottom: none;
}

/* City Modal Styles */
.city-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.city-modal {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.city-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.city-modal-header h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--primary);
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.city-option {
    background: var(--bg-gray);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.city-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.city-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.city-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 768px) {
    :root {
        --ad-width: 0px; /* Remove ads on mobile */
    }
    
    /* Hide desktop header, show mobile header */
    .header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    /* Page wrapper mobile */
    .page-wrapper {
        flex-direction: column;
        padding-top: var(--mobile-nav-height);
        gap: 0;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Hide side banners on mobile */
    .side-banner-left,
    .side-banner-right {
        display: none;
    }
    
    .content-area {
        width: 100%;
        max-width: 100%;
    }
    
    /* New layout mobile styles */
    .content-with-side-banners {
        display: block;
        padding: 1rem;
    }
    
    .main-content-area {
        width: 100%;
    }

    /* Hide ad sidebars completely on mobile */
    .left-ad-sidebar, .right-ad-sidebar {
        display: none !important;
    }
    
    /* Remove ad margins from content */
    .content-with-ads {
        margin-left: 0;
        margin-right: 0;
    }
    
    .page:not(#home) .page-header {
        padding: 1rem;
        margin: 0;
    }
    
    /* Show mobile bottom navigation */
    .mobile-bottom-nav {
        display: block;
    }
    
    /* Add bottom padding to main content for mobile nav */
    .main-content {
        padding-bottom: var(--mobile-nav-height);
    }
    
    /* Fix hero banner for mobile */
    .hero {
        margin: 0;
        width: 100%;
        height: 300px;
        min-height: 250px;
        background-size: cover;
    }
    
    /* Adjust categories for mobile */
    .categories {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    /* Adjust cards grid for mobile */
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    /* Account layout for mobile */
    .account-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .account-sidebar {
        order: 2;
    }
    
    .account-content {
        order: 1;
    }
    
    /* Menu modal adjustments */
    .menu-modal-content {
        margin: 1rem;
        padding: 1rem;
    }
    
    .menu-items-grid {
        grid-template-columns: 1fr;
    }
    
    /* City selection modal */
    .city-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    /* Search bar */
    .search-bar {
        margin: 1rem auto;
    }
    
    /* Modal adjustments */
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    /* Filters scroll on mobile */
    .filters {
        gap: 0.5rem;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .filters::-webkit-scrollbar {
        display: none;
    }
    
    /* Page headers */
    .page-header {
        padding: 1.5rem 0;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    /* Container padding */
    .container {
        padding: 0 0.75rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Cart and checkout improvements */
    #cartItems > div {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    #cartSummary {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    /* Form improvements */
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    /* Ensure proper touch targets */
    .nav-item, 
    .filter-btn, 
    .btn, 
    .city-option,
    .mobile-menu-item {
        min-height: 44px;
        touch-action: manipulation;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .hero {
        height: 250px;
        min-height: 200px;
    }
    
    .category-card {
        padding: 1.25rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .modal-content {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .menu-modal-content {
        margin: 0.5rem;
        padding: 1rem;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 250px;
        min-height: 200px;
    }
    
    .mobile-header {
        padding: 0.75rem 1rem;
    }
    
    .mobile-bottom-nav {
        height: 60px;
    }
    
    :root {
        --mobile-nav-height: 60px;
    }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
    .card:hover,
    .category-card:hover,
    .btn:hover,
    .filter-btn:hover,
    .city-option:hover {
        transform: none;
    }

    .card:active,
    .category-card:active {
        transform: scale(0.98);
    }

    .btn:active {
        transform: scale(0.95);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border-light: #333;
        --text-secondary: #333;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Animations */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.blur-background {
    filter: blur(5px);
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.slider-prev,
.slider-next {
    display: none !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
    color: var(--primary);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary);
    color: white;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

/* Menu Table Styles */
.menu-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu-table thead {
    background: var(--primary);
    color: white;
}

.menu-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.menu-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.menu-table tbody tr:hover {
    background: var(--bg-gray);
}

.menu-table td {
    padding: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: var(--primary);
    color: white;
}

.quantity-display {
    width: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px;
    font-weight: 600;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .hero-slider {
        height: 250px;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slider-prev,
    .slider-next {
        padding: 0.5rem 1rem;
        font-size: 1.5rem;
    }
    
    .menu-table {
        font-size: 0.9rem;
    }
    
    .menu-table th,
    .menu-table td {
        padding: 10px 8px;
    }
}

/* Additional Styles for Multi-Page Layout */

/* City Modal */
.city-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.city-modal {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.city-card {
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
    background: var(--primary);
    color: white;
}

.city-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* User Dropdown */
.user-dropdown-container {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-gray);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    height: 36px;
    font-size: 0.9rem;
}

.user-dropdown-container .user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    min-width: 200px;
    display: none;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.3s;
}

.user-dropdown a:hover {
    background: var(--bg-gray);
}

/* Loading Container */
.loading-container {
    text-align: center;
    padding: 3rem;
}

.loading-message {
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

/* Cart Count */
.cart-count {
    display: inline-block;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

/* Message Notifications */
.message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow-light);
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 10001;
}

.message.show {
    transform: translateX(0);
}

.message-success {
    border-left: 4px solid var(--success);
}

.message-error {
    border-left: 4px solid var(--danger);
}

.message-info {
    border-left: 4px solid var(--info);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Featured Section */
.featured-section {
    padding: 3rem 0;
    background: var(--bg-gray);
}

.featured-category {
    margin-bottom: 3rem;
}

.featured-category h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 2rem 0;
    background: var(--bg-gray);
    margin-bottom: 2rem;
}

.page-header h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
}

/* Service Type Badge */
.service-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.qty-btn:hover {
    background: var(--primary);
    color: white;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 0.25rem;
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* Cart Page Styles */
.cart-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-top: 2rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.item-details h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.item-source {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.item-price {
    color: var(--primary);
    font-weight: 500;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-light);
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--bg-gray);
    border-color: var(--primary);
}

.quantity {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
}

.item-total {
    font-weight: 600;
    color: var(--primary);
    min-width: 80px;
    text-align: right;
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.remove-btn:hover {
    background: var(--danger);
    color: white;
}

.cart-summary {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    height: fit-content;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.summary-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-row.total {
    padding-top: 1rem;
    font-size: 1.1rem;
}

.checkout-btn {
    width: 100%;
    margin: 1rem 0 0.5rem 0;
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.empty-cart {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.empty-state {
    text-align: center;
    max-width: 400px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Checkout Page Styles */
.checkout-steps {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.step {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: var(--bg-gray);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.step.active {
    background: var(--primary);
    color: white;
}

.checkout-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.checkout-section {
    width: 100%;
}

.section-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.section-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: 8px;
}

.order-total {
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.final-total {
    font-size: 1.2rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary);
}

.delivery-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.address-type {
    margin: 1rem 0;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.radio-label:hover {
    border-color: var(--primary);
}

.radio-label input[type="radio"] {
    margin: 0;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-method:hover {
    border-color: var(--primary);
}

.payment-method input[type="radio"]:checked + .method-info {
    color: var(--primary);
}

.payment-method input[type="radio"] {
    margin-right: 1rem;
}

.method-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    font-size: 1.5rem;
}

.card-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.order-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.terms-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.terms-text a {
    color: var(--primary);
    text-decoration: none;
}

/* My Account Page Styles */
.account-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.account-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    height: fit-content;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.user-info {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1rem;
}

.user-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.user-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.account-nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.nav-item:hover, .nav-item.active {
    background: var(--primary);
    color: white;
}

.nav-item.logout {
    margin-top: 1rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
}

.nav-item.logout:hover {
    background: var(--danger);
}

.account-content {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    min-height: 600px;
}

.account-section {
    display: none;
    padding: 2rem;
}

.account-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.section-header h2 {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-form {
    max-width: 600px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.order-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-light);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.orders-list, .addresses-list, .bookings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card, .address-card, .booking-card {
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.order-card:hover, .address-card:hover, .booking-card:hover {
    box-shadow: var(--shadow-light);
}

.order-header, .address-header, .booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-id {
    font-weight: 600;
    color: var(--text-primary);
}

.order-status, .booking-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active, .status-confirmed {
    background: var(--success);
    color: white;
}

.status-delivered {
    background: var(--info);
    color: white;
}

.status-cancelled {
    background: var(--danger);
    color: white;
}

.order-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.order-total {
    font-weight: 600;
    color: var(--primary);
}

.order-items {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.order-actions {
    display: flex;
    gap: 0.5rem;
}

.address-text {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.address-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.booking-provider, .booking-datetime {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.preferences-form {
    max-width: 500px;
}

.pref-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.pref-group h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 26px;
    background: var(--border-light);
    border-radius: 26px;
    transition: all 0.2s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: all 0.2s ease;
}

input[type="checkbox"]:checked + .toggle-slider {
    background: var(--primary);
}

input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(24px);
}

input[type="checkbox"] {
    display: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-gray);
}

.modal-form {
    padding: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-summary {
        position: static;
        order: -1;
    }
    
    .cart-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .item-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .account-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .account-sidebar {
        position: static;
    }
    
    .user-info {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }
    
    .user-avatar {
        width: 60px;
        height: 60px;
        margin: 0;
        font-size: 1.5rem;
    }
    
    .account-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .nav-item {
        padding: 0.75rem;
        margin-bottom: 0;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
    }
    
    .order-actions {
        flex-direction: column-reverse;
    }
    
    .empty-actions {
        flex-direction: column;
    }
    
    .checkout-steps {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header, .modal-form {
        padding: 1rem;
    }
}

/* Blur Effect for Mandatory City Selection */
.blurred {
    filter: blur(5px);
    pointer-events: none;
    transition: filter 0.3s ease;
}

/* City Modal */
.city-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.city-modal-overlay.mandatory {
    background: rgba(0, 0, 0, 0.7);
}

.city-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.city-modal {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.city-modal-overlay.show .city-modal {
    transform: scale(1);
}

.city-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.city-modal-header h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 0;
}

.city-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.city-modal-close:hover {
    background: var(--bg-gray);
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.city-card {
    padding: 1.5rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.city-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.city-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.city-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* Side Advertisements */
.side-banner-left,
.side-banner-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: var(--ad-width);
    z-index: 100;
    padding: 1rem;
}

.side-banner-left {
    left: 20px;
}

.side-banner-right {
    right: 20px;
}

.ad-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ad-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.ad-placeholder::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    z-index: -1;
    border-radius: 12px;
    opacity: 0.1;
}

.ad-placeholder .ad-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.ad-placeholder h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.ad-placeholder p {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 200px;
}

/* City Selector */
.city-selector {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.city-selector:hover {
    border-color: var(--primary);
    background: var(--bg-gray);
}

/* Page Content Styles */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.item-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}

.item-card .card-content {
    padding: 1.5rem;
}

.item-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.item-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.item-card .card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.item-card .card-meta span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.item-card .price {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.loading-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.error-message {
    text-align: center;
    padding: 3rem;
    color: var(--danger);
}

.error-message h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.services-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-gray);
    border-radius: 12px;
    margin-top: 2rem;
}

.services-placeholder p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Body modal styles */
body.modal-open {
    overflow: hidden;
}

body.modal-open #mainContent,
body.modal-open .header,
body.modal-open .mobile-header,
body.modal-open .footer {
    filter: blur(5px);
    pointer-events: none;
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-secondary);
}

/* Restaurant/Product Details Styles */
.restaurant-details,
.product-details {
    max-width: 1000px;
    margin: 0 auto;
}

.restaurant-header,
.product-header {
    margin-bottom: 3rem;
}

.restaurant-header h1,
.product-header h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.restaurant-description,
.product-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.restaurant-meta,
.product-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.meta-item {
    padding: 0.5rem 1rem;
    background: var(--bg-gray);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.price-large {
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.restaurant-actions,
.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.item-card .restaurant-actions {
    margin-top: 1rem;
    margin-bottom: 0;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.restaurant-info,
.product-info {
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    text-align: center;
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-card p {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.menu-preview {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.menu-preview h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Responsive adjustments for side banners */
@media (max-width: 1800px) {
    .side-banner-left {
        left: 10px;
    }
    .side-banner-right {
        right: 10px;
    }
    :root {
        --ad-width: 250px;
    }
}

@media (max-width: 1600px) {
    .side-banner-left,
    .side-banner-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .city-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.8rem;
    }
    
    .city-card {
        padding: 1rem 0.5rem;
    }
    
    .city-modal {
        padding: 1.5rem;
        width: 95%;
    }
    
    .city-selector {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
