/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary-green: #00A86B;
    --primary-orange: #FF6600;
    --secondary-green: #22b178;
    --secondary-orange: #ff7a26;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #65a0db;
    --gray-100: #f1f3f4;
    --gray-200: #e8eaed;
    --gray-300: #dadce0;
    --gray-400: #9aa0a6;
    --gray-500: #5f6368;
    --gray-600: #3c4043;
    --gray-700: #202124;
    --gray-800: #171717;
    --gray-900: #0f0f0f;
    
    /* Status Colors */
    --success: #2ed573;
    --warning: #ffa502;
    --error: #ff4757;
    --info: #3742fa;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: #d7f5f9;
    padding-top: 80px;
    font-size: var(--font-size-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: var(--gray-800);
    padding: var(--space-4) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 40px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px;
    border: 2px solid rgba(255,255,255,0.3);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    100% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    filter: brightness(1.1);
}

.logo:active {
    transform: scale(0.98);
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-brand i {
    margin-right: 0.5rem;
    color: #ffd700;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Brand Color Classes */
.brand-big {
    color: var(--primary-green);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(46, 213, 115, 0.3);
}

.brand-mart {
    color: var(--primary-orange);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
}

.brand-fast {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9em;
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-orange);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    width: 100%;
    max-width: 280px;
    
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 25px;
    width: 100%;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    color: var(--white);
    padding-right: 45px; /* Make space for the button */
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
    border-color: var(--primary-green);
    color: var(--white);
}

.search-btn {
    position: absolute;
    right: 5px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.4);
    filter: brightness(1.1);
}

.cart-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.cart-btn:hover {
    background: rgba(0,0,0,0.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    font-size: var(--font-size-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

/* Small buttons for product cards */
.product-actions .btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 15px;
    flex: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-green) 100%);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 168, 107, 0.2);
    transform: translateY(0);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 28px rgba(255, 102, 0, 0.25);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-large.btn-primary {
    padding: calc(var(--space-5)) calc(var(--space-10));
    font-size: var(--font-size-2xl);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    background: linear-gradient(160deg, #f9fafb 0%, #eef2f5 100%);
    color: var(--gray-700);
    padding: var(--space-20) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 168, 107, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 102, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(102, 126, 234, 0.05) 0%, transparent 40%);
    animation: float 8s ease-in-out infinite;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-green);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 168, 107, 0.1);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    line-height: 1.1;
    text-shadow: none;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .highlight {
    background: linear-gradient(45deg, var(--primary-green), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: var(--space-2);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-8);
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.delivery-announcement {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-green));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--space-8);
    box-shadow: 0 8px 20px rgba(0, 168, 107, 0.25);
    animation: fadeInUp 0.8s ease-out 0.5s both;
    border: 2px solid rgba(255, 255, 255, 0.5);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.delivery-announcement i {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
    animation: pulse-marker 2s infinite ease-in-out;
}

.hero-stats {
    display: flex;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-green);
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.8;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-trust {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: 500;
    opacity: 0.9;
}

.trust-item i {
    font-size: var(--font-size-lg);
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-700);
    font-weight: 600;
    font-size: var(--font-size-sm);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: var(--font-size-2xl);
    color: var(--primary-green);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
}

.card-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    color: var(--white);
    padding: var(--space-6) 0;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.promo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.promo-text h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.promo-text p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
}

.promo-code {
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.promo-code strong {
    font-size: var(--font-size-lg);
    color: var(--white);
}

/* Category Quick Access */
.category-quick-access {
    padding: var(--space-16) 0;
    background: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.category-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    text-decoration: none;
    color: var(--gray-700);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 213, 115, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before {
    left: 100%;
}

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

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    font-size: var(--font-size-3xl);
    color: var(--white);
    transition: var(--transition-normal);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--gray-700);
}

.category-card p {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    line-height: 1.5;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-12);
    color: var(--gray-700);
    position: relative;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-lg);
    transition: var(--transition-normal);
}

.view-all-btn:hover {
    color: var(--secondary-green);
    transform: translateX(4px);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(46, 213, 115, 0.3);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    border-radius: 1px;
    opacity: 0.7;
}

/* Testimonials Section */
.testimonials {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: var(--transition-normal);
}

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

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.testimonial-rating i {
    color: #ffd700;
    font-size: var(--font-size-lg);
}

.testimonial-text {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-xl);
}

.author-info h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: var(--space-1);
}

.author-info span {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

/* Newsletter Section */
.newsletter {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="newsletter-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23newsletter-pattern)"/></svg>');
    opacity: 0.3;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.newsletter-text h3 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.newsletter-text p {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    line-height: 1.6;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Responsive grid for different screen sizes */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    height: fit-content;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.product-image {
    width: 100%;
    max-width: 150px;
    height: 130px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    display: block;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding-top: 0.5rem;
    flex-grow: 1;
}

.product-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: none;
    order: 4;
}

.product-actions {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
    width: 100%;
    margin-top: auto;
    order: 5;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
    order: 1;
    line-height: 1.2;
}

.product-description {
    font-style: italic;
    color: #555;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    order: 3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    order: 2;
    margin-bottom: 0.5rem;
    background-color: rgba(0, 168, 107, 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.product-restaurant {
    font-size: 0.7rem;
    color: #666;
    font-style: italic;
    order: 1.5;
    margin-bottom: 0.25rem;
}

.product-price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    order: 2;
    margin-bottom: 0.5rem;
}

.product-sale-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    background-color: rgba(0, 168, 107, 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.product-original-price {
    font-size: 0.8rem;
    color: #999;
    text-decoration: line-through;
}

.product-discount {
    font-size: 0.7rem;
    color: #2ed573;
    font-weight: 600;
    background: #e8f5e8;
    padding: 0.1rem 0.3rem;
    border-radius: 8px;
}

/* Features Section */
.features {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #667eea 50%, transparent 100%);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: #764ba2;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
    color: var(--white);
    padding: var(--space-16) 0 var(--space-4);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
    position: relative;
    z-index: 2;
}

.footer-brand-section {
    max-width: 400px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.footer-logo {
    height: 50px;
    width: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    padding: var(--space-2);
    border: 2px solid rgba(255,255,255,0.2);
}

.footer-brand h3 {
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-size: var(--font-size-2xl);
    font-weight: 800;
}

.footer-description {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: var(--space-6);
}

.footer-trust-badges {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge i {
    color: var(--primary-green);
}

.footer-section h4 {
    margin-bottom: var(--space-6);
    color: var(--white);
    font-size: var(--font-size-xl);
    font-weight: 700;
}

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

.footer-section ul li {
    margin-bottom: var(--space-3);
}

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition-normal);
    font-size: var(--font-size-base);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-section ul li a:hover {
    color: var(--primary-green);
    transform: translateX(4px);
}

.contact-info {
    margin-bottom: var(--space-6);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.contact-item i {
    color: var(--primary-green);
    font-size: var(--font-size-lg);
    margin-top: var(--space-1);
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.contact-item strong {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--white);
}

.contact-item span {
    font-size: var(--font-size-sm);
    color: var(--gray-300);
}

.social-description {
    font-size: var(--font-size-sm);
    color: var(--gray-300);
    margin-bottom: var(--space-4);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.social-links a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition-normal);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
}

.social-links a:hover {
    color: var(--primary-green);
    background: rgba(46, 213, 115, 0.1);
    transform: translateX(4px);
}

.social-links a i {
    font-size: var(--font-size-lg);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-8);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright p {
    color: var(--gray-300);
    font-size: var(--font-size-base);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition-normal);
}

.footer-legal a:hover {
    color: var(--primary-green);
}

.footer-payment {
    text-align: center;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payment p {
    color: var(--gray-300);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-3);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.payment-methods i {
    font-size: var(--font-size-2xl);
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.payment-methods i:hover {
    color: var(--primary-green);
    transform: scale(1.1);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #eee;
}

.cart-sidebar.open {
    right: 0;
}

.cart-sidebar.updating {
    pointer-events: none;
}

.cart-sidebar.updating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-sidebar.updating::after {
    content: 'Updating...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 2;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

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

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-right: 1rem;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: #667eea;
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    pointer-events: auto;
}

.cart-item-controls * {
    pointer-events: auto;
}

.quantity-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.quantity-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

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

.quantity-input {
    min-width: 60px;
    width: auto;
    max-width: 100px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
}

.remove-item {
    background: #ff4757;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.cart-summary {
    margin-bottom: 1rem;
}

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

.summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    border-top: 1px solid #ddd;
    padding-top: 0.5rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #2ed573;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1002;
}

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

/* Page Specific Styles */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Products Page */
.products-page {
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
}

/* About Page */
.about-page {
    padding: 2rem 0;
}

.about-section {
    margin-bottom: 4rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-text p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

.about-image {
    text-align: center;
    font-size: 6rem;
    color: #667eea;
    opacity: 0.3;
}

.vision-mission {
    margin-bottom: 4rem;
}

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

.vm-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.vm-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.vm-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.why-choose-us {
    margin-bottom: 4rem;
}

.team-section {
    text-align: center;
}

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

.team-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.team-card h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.team-card p {
    color: #666;
}

/* Contact Page */
.contact-page {
    padding: 2rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-details p {
    color: #666;
    line-height: 1.5;
}

.social-section h4 {
    margin-bottom: 1rem;
    color: #333;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #764ba2;
}

.faq-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.faq-item h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
    line-height: 1.5;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }
    
    .footer-brand-section {
        grid-column: 1 / -1;
        margin-bottom: var(--space-8);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .floating-card {
        padding: var(--space-3);
        font-size: var(--font-size-xs);
    }
    
    .floating-card i {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
    
    .header .container {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }
    
    .search-input {
        width: 200px;
    }
    
    .hero {
        padding: var(--space-12) 0;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
        margin-bottom: var(--space-6);
    }
    
    .hero-stats {
        justify-content: center;
        gap: var(--space-6);
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-6);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.75rem;
    }
    .product-image {
        height: 100px;
        max-width: 120px;
    }
    .product-card {
        padding: 0.4rem;
    }
    .product-name {
        font-size: 0.85rem;
    }
    .product-price {
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .products-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
}

@media (max-width: 480px) {
    body {
        padding-top: 120px;
    }
    
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero {
        padding: var(--space-8) 0;
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .category-card {
        padding: var(--space-6);
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-2xl);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .testimonial-card {
        padding: var(--space-6);
    }
    
    .newsletter-text h3 {
        font-size: var(--font-size-2xl);
    }
    
    .newsletter-text p {
        font-size: var(--font-size-lg);
    }
    
    .footer-trust-badges {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .trust-badge {
        justify-content: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 1rem 0;
        min-height: 30vh;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-image {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .product-image {
        height: 90px;
        max-width: 100px;
    }
    .product-card {
        padding: 0.4rem;
    }
    .product-name {
        font-size: 0.8rem;
    }
    .product-price {
        font-size: 0.9rem;
    }
    .product-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 1;
    line-clamp: 1;
    }
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-input {
        width: 150px;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .logo {
        height: 35px;
        padding: 6px;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
    }
    
    .footer-logo {
        height: 30px;
        padding: 4px;
    }
    
    .footer-brand h3 {
        font-size: 1.2rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Product Grid Loading State */
.products-grid.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.products-grid.loading::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: #333;
}

/* Search Results Info */
.search-results-info {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success/Error States */
.success {
    background: #2ed573 !important;
}

.error {
    background: #ff4757 !important;
}

.warning {
    background: #ffa502 !important;
}


/* Checkout Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1100;
}

.modal.show {
    display: block;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(480px, 92vw);
    max-height: 80vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.modal-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.modal-body {
    padding: 0.75rem 1rem;
    overflow-y: auto;
    max-height: calc(80vh - 56px);
}

.checkout-form .form-group { margin-bottom: 0.75rem; }
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    padding: 0.5rem 0.6rem;
}

.modal-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.order-success { text-align: center; padding: 1.5rem 1rem; }
.order-success i { font-size: 2.5rem; color: #2ed573; margin-bottom: 0.5rem; }

/* Smaller modal on very small screens */
@media (max-width: 480px) {
    .modal-content {
        width: 94vw;
        max-height: 78vh;
    }
    .modal-header { padding: 0.6rem 0.9rem; }
    .modal-body { padding: 0.6rem 0.9rem; }
}

/* Helpers */
.hidden { display: none !important; }
.order-summary { margin-top: 1rem; }

/* Checkout items list */
.checkout-items {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 0.5rem;
    margin: 0.5rem 0 0.5rem;
    background: #fafafa;
}
.checkout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.25rem;
    border-bottom: 1px dashed #e5e5e5;
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item-name { font-weight: 600; color: #333; }
.checkout-item-price { color: #667eea; font-weight: 600; }
.checkout-qnty {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.checkout-qnty .qbtn {
    background: #f0f2ff;
    color: #667eea;
    border: 1px solid #dce0ff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
}
.checkout-qnty .qval {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

/* Checkout item thumbnails */
.checkout-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    margin-right: 0.5rem;
    flex-shrink: 0;
}
.checkout-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Adjust checkout item layout to include thumbnail */
.checkout-item {
    gap: 0.5rem;
}
.checkout-item-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

/* Prevent page scroll when modal open */
.no-scroll { overflow: hidden; }

/* Ensure modal is always hidden unless .show is present */
.modal { display: none; }
.modal.hidden { display: none !important; }
.modal:not(.show) { display: none !important; }
.modal.show { display: block; }
