/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    /* Color Variables */
    --primary-red: #d32f2f;
    --dark-red: #b71c1c;
    --light-red: #ff6659;
    --light-bg: #f9f9f9;
    --dark-text: #333;
    --light-text: #777;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    
    /* Design System Variables */
    --primary-color: #d32f2f;
    --secondary-color: #b71c1c;
    --primary-50: #ffebee;
    --primary-100: #ffcdd2;
    --primary-600: #d32f2f;
    --primary-700: #c62828;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --warning-500: #f59e0b;
    --secondary-500: #8b5cf6;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.25rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 3rem;
    
    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Shadows */
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    padding-top: 0;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 var(--space-xl);
}
.text-lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    background-color: var(--white);
    transform: translateY(0);
    transition: transform 0.3s ease;
    border-bottom: 1px solid #eee;
}

header.hidden {
    transform: translateY(-100%);
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.95);
}

.top-bar {
    background: var(--primary-red);
    color: var(--white);
    padding: 8px 5%;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.top-bar i {
    color: #ffeb3b;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem clamp(1rem, 5vw, 4rem);
    background-color: var(--white);
    min-height: 64px;
    box-sizing: border-box;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
}

.logo-tagline {
    font-size: 12px;
    color: var(--light-text);
    font-weight: 400;
    margin-top: 2px;
    white-space: nowrap;
}

/* Search Bar */
.search-bar {
    position: relative;
    flex-grow: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 2px solid #eee;
    outline: none;
    font-size: 14px;
    transition: all 0.3s;
    background: #f8f9fa;
}

.search-bar input:focus {
    border-color: var(--primary-red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
}

/* User Actions */
.user-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.user-link {
    text-decoration: none;
    color: var(--dark-text);
    position: relative;
    transition: all 0.3s;
}

.user-link:hover {
    color: var(--primary-red);
}

/* Cart Styles */
.cart-wrapper {
    position: relative;
    display: inline-block;
}

.cart-count, .mobile-cart-count, .nav-badge {
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cart-count {
    width: 20px;
    height: 20px;
    font-size: 11px;
    position: absolute;
    top: -8px;
    right: -8px;
    border: 2px solid var(--white);
}

.user-link span {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
}

.user-actions i {
    font-size: 20px;
    margin-bottom: 4px;
}

/* Pulse animation for cart badges */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.cart-count.pulse, .mobile-cart-count.pulse, .nav-badge.pulse {
    animation: pulse 0.3s ease-in-out;
}

/* Main Navigation */
.main-nav {
    background: var(--dark-red);
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
}

.nav-container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    color: var(--white);
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.15);
}

.main-nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #ffeb3b;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-red);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    background: rgba(211, 47, 47, 0.1);
}

.mobile-search-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-red);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
}

/* ===== CATEGORIES SECTION ===== */
#categories.section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

#categories .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 2;
}

#categories .section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

#categories .badge-primary {
    background: linear-gradient(135deg, var(--primary-red), #ff6b6b);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: var(--space-sm);
}

#categories .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.cat-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    transform: translateY(0);
}

.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-red);
}

.cat-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.cat-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.cat-card:hover .cat-image {
    transform: scale(1.1);
}

.cat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.cat-card:hover .cat-overlay {
    opacity: 1;
}

.cat-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1), rgba(183, 28, 28, 0.05));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.cat-card:hover .cat-gradient {
    opacity: 1;
}

.cat-info {
    padding: var(--space-xl);
    position: relative;
    text-align: center;
}

.cat-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

.cat-card:hover .cat-info h3 {
    color: var(--primary-red);
}

.cat-shop-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.875rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all var(--transition-base);
}

.cat-card:hover .cat-shop-link {
    opacity: 1;
    transform: translateX(0);
}

.cat-shop-link i {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.cat-card:hover .cat-shop-link i {
    transform: translateX(4px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

/* Loading State */
.loading-categories {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* No Categories State */
.no-categories {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    color: var(--gray-500);
}

.no-categories i {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    opacity: 0.3;
}

.no-categories p {
    font-size: 1.125rem;
    color: var(--gray-400);
}

/* ===== CATEGORY DROPDOWN STYLES ===== */
.dropdown-trigger {
    position: relative;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    opacity: 0.9;
}

.dropdown-icon {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown-trigger.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 0;
    display: none;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: hidden;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 0 8px;
}

.dropdown-item:hover {
    background: #f3f4f6;
    color: var(--primary-red);
    transform: translateX(4px);
}

.dropdown-item i {
    margin-right: 12px;
    color: var(--gray-500);
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.dropdown-item:hover i {
    color: var(--primary-red);
}

.dropdown-item .badge {
    background: var(--primary-red);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    font-weight: 600;
}

.dropdown-item.view-all {
    margin-top: 8px;
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
    color: var(--primary-red);
    font-weight: 600;
    background: none;
}

.dropdown-item.view-all:hover {
    background: #fef2f2;
}

/* Dropdown No Categories */
.dropdown-no-categories {
    padding: 40px 20px;
    text-align: center;
    color: var(--gray-500);
}

.dropdown-no-categories i {
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* ===== HERO SECTION ===== */
.hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding: 140px 5% 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* LEFT SIDE - Sliding Image Section */
.hero-main {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 400px;
    box-shadow: var(--shadow);
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 25px;
    border-radius: 10px;
    max-width: 500px;
    backdrop-filter: blur(5px);
}

.slide-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.slide-content h1 {
    font-size: 32px;
    margin: 10px 0;
    line-height: 1.2;
    color: white;
}

.slide-content p {
    font-size: 16px;
    max-width: 80%;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.shop-now {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.shop-now:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* RIGHT SIDE - Cards */
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-card {
    border-radius: 20px;
    padding: 30px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s;
    box-shadow: var(--shadow);
}

.side-card:hover {
    transform: translateY(-5px);
}

.side-card p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.side-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.red {
    background: linear-gradient(135deg, #e63946, #d00000);
}

.green {
    background: linear-gradient(135deg, #40916c, #2d6a4f);
}

.order-btn {
    background: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    margin-top: 10px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.order-btn:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* ===== PRODUCT SECTIONS ===== */
.featured-products, .new-arrivals, .best-sellers, .all-products {
    padding: 60px 5%;
    background-color: var(--white);
    max-width: 1400px;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-red);
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-red);
}

.view-all-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.view-all-link:hover {
    gap: 10px;
}

.view-all-link i {
    font-size: 0.875rem;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-red);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-red);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-text);
    height: 50px;
    overflow: hidden;
    line-height: 1.4;
}

.product-description {
    color: var(--light-text);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    height: 40px;
    overflow: hidden;
}

/* Product Meta */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    font-size: 13px;
}

.product-rating {
    color: #fbbf24;
}

.rating-text {
    color: #6b7280;
    margin-left: 5px;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-red);
}

.old-price {
    text-decoration: line-through;
    color: var(--light-text);
    font-size: 14px;
    margin-left: 5px;
}

.price-per-unit {
    font-size: 12px;
    color: #6b7280;
    margin-left: 5px;
}

/* Stock Indicator */
.stock-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-indicator.in-stock {
    background-color: #d1fae5;
    color: #065f46;
}

.stock-indicator.out-of-stock {
    background-color: #fee2e2;
    color: #991b1b;
}

.stock-indicator.low-stock {
    background-color: #fef3c7;
    color: #92400e;
}

.low-stock {
    color: #dc2626;
    font-weight: 600;
    font-size: 12px;
}

/* Add to Cart Button */
.add-to-cart-btn {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn:hover {
    background: var(--dark-red);
    transform: scale(1.05);
}

.add-to-cart-btn.loading {
    background-color: #6b7280 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.add-to-cart-btn.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

.add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== DEALS SECTION ===== */
.deals-section {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 15px;
    padding: 40px;
    margin: 40px auto;
    max-width: 1400px;
    display: flex;
    align-items: center;
    gap: 30px;
    color: white;
}

.deal-content {
    flex: 1;
}

.deal-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
}

.deal-timer {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.timer-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
    backdrop-filter: blur(10px);
}

.timer-value {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.timer-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.timer-value.pulse {
    animation: pulse 1s infinite;
}

.deal-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.deal-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 60px 5%;
    background-color: var(--white);
    max-width: 1400px;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    padding: 20px;
    text-align: center;
}

.map-placeholder i {
    font-size: 60px;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.map-placeholder h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.map-placeholder p {
    color: var(--light-text);
    max-width: 500px;
    line-height: 1.6;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.whatsapp {
    background-color: #25D366;
}

.floating-btn.messenger {
    background-color: #006AFF;
}

.floating-btn .tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--dark-text);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.floating-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===== NOTIFICATION SYSTEM ===== */
.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 400px;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    border-left: 4px solid;
}

.custom-notification.show {
    transform: translateX(0);
}

.custom-notification.success {
    border-left-color: #10b981;
    background: #2E7D32;
    color: white;
}

.custom-notification.error {
    border-left-color: #ef4444;
    background: #dc3545;
    color: white;
}

.custom-notification.info {
    border-left-color: #3b82f6;
    background: #1976D2;
    color: white;
}

.custom-notification.warning {
    border-left-color: #f59e0b;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.custom-notification i {
    font-size: 20px;
}

.custom-notification.success i {
    color: #10b981;
}

.custom-notification.error i {
    color: #ef4444;
}

.notification-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

/* Quick View Loading */
.quick-view-loading {
    text-align: center;
    padding: 40px 20px;
}

.quick-view-loading i {
    font-size: 40px;
    color: #3b82f6;
    margin-bottom: 20px;
}

/* ===== MOBILE NAVIGATION ===== */
/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Sidebar */
.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: var(--white);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.mobile-menu-sidebar.active {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 20px;
    background: var(--primary-red);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-logo-img {
    height: 30px;
}

.mobile-logo-text {
    display: flex;
    flex-direction: column;
}

.mobile-logo-main {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.mobile-logo-tagline {
    font-size: 10px;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
    margin-top: 2px;
}

.close-mobile-menu {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-body {
    flex: 1;
    padding: 20px 0;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
}

.mobile-nav-list li a:hover,
.mobile-nav-list li a.active {
    background: rgba(211, 47, 47, 0.05);
    color: var(--primary-red);
}

.mobile-nav-list li a i {
    margin-right: 15px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.mobile-cart-summary {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-icon-wrapper i {
    font-size: 24px;
    color: var(--primary-red);
}

.mobile-cart-count {
    width: 20px;
    height: 20px;
    font-size: 11px;
    position: absolute;
    top: -5px;
    right: -5px;
}

.cart-total {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 16px;
}

.mobile-contact-info {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: var(--primary-red);
    width: 20px;
    text-align: center;
}

.contact-item span {
    font-size: 14px;
    color: var(--dark-text);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
    padding: 10px 0 5px;
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
}

.mobile-nav-item {
    flex: 1;
    text-align: center;
}

.mobile-nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--light-text);
    padding: 5px;
    font-size: 11px;
    transition: all 0.3s;
}

.mobile-nav-item a.active {
    color: var(--primary-red);
}

.mobile-nav-item a i {
    font-size: 18px;
    margin-bottom: 4px;
}

.mobile-nav-item a .nav-badge {
    position: absolute;
    top: -2px;
    right: 25%;
    width: 18px;
    height: 18px;
    font-size: 10px;
}

/* ===== FOOTER ===== */
footer {
    background: #222;
    color: var(--white);
    padding: 60px 5% 30px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo span {
    color: #ffeb3b;
}

.footer-about p {
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-red);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-red);
}

.contact-info {
    color: #ccc;
    line-height: 1.8;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
    color: var(--primary-red);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 120px 5% 40px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
    
    .search-bar {
        max-width: 400px;
    }
    
    .deals-section {
        flex-direction: column;
    }
    
    .deal-image {
        width: 100%;
    }
    
    .dropdown-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        border-radius: 0;
        transform: translateX(100%);
        z-index: 1100;
    }
    
    .dropdown-menu.show {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .main-header {
        padding: 12px 15px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo-container {
        flex: 1;
        min-width: 0;
    }
    
    .logo-text {
        display: none;
    }
    
    .mobile-menu-toggle {
        order: 3;
        margin-left: auto;
    }
    
    .search-bar {
        order: 4;
        width: 100%;
        max-width: 100%;
        margin: 10px 0 0;
        display: none;
    }
    
    .search-bar.active {
        display: block;
    }
    
    .user-actions {
        display: none;
    }
    
    .mobile-search-toggle {
        display: block;
    }
    
    .mobile-bottom-nav {
        display: block;
    }
    
    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .view-all-link {
        align-self: flex-end;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .product-img {
        height: 140px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 16px;
        height: 40px;
    }
    
    .product-description {
        font-size: 12px;
        height: 30px;
    }
    
    .price {
        font-size: 18px;
    }
    
    .add-to-cart-btn {
        padding: 6px 15px;
        font-size: 14px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .cat-image-container {
        height: 160px;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-main {
        height: 300px;
    }
    
    .slide-content {
        left: 20px;
        bottom: 20px;
        padding: 15px;
        max-width: 90%;
    }
    
    .slide-content h1 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
        max-width: 100%;
    }
    
    .dropdown-trigger .dropdown-link {
        justify-content: space-between;
        width: 100%;
    }
    
    .dropdown-trigger .dropdown-icon {
        margin-left: auto;
    }
    
    .floating-buttons {
        bottom: 70px;
        right: 15px;
    }
    
    .floating-btn .tooltip {
        display: none;
    }
}

@media (max-width: 640px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .category-filter {
        overflow-x: auto;
        padding-bottom: var(--space-sm);
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 15px 20px;
    }
    
    .hero-main {
        height: 250px;
    }
    
    .side-card {
        min-height: 150px;
        padding: 20px;
    }
    
    .side-card h3 {
        font-size: 20px;
    }
    
    .deals-section {
        padding: 20px;
    }
    
    .deal-timer {
        gap: 10px;
    }
    
    .timer-box {
        min-width: 60px;
        padding: 10px;
    }
    
    .timer-value {
        font-size: 24px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    #categories .container {
        padding: 0 var(--space-md);
    }
    
    .cat-info {
        padding: var(--space-lg);
    }
    
    .cat-info h3 {
        font-size: 1.125rem;
    }
    
    #categories .section-title {
        font-size: 1.75rem;
    }
}

/* ===== HEART ANIMATION ===== */
@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.heartbeat {
    animation: heartbeat 0.6s ease-in-out;
}

/* ===== LOADING STATES ===== */
.category-loading {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.category-skeleton {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.skeleton-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loadingSkeleton 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 20px;
}

.skeleton-text {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loadingSkeleton 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-text.medium {
    width: 80%;
}

@keyframes loadingSkeleton {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.no-products i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-products h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.no-products p {
    color: #7f8c8d;
    margin-bottom: 20px;
}