/* SmartCity Electronics Custom Styles */
/* Brand Color: Green (#7ac720) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Hide scrollbar utility */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

:root {
    --brand-green: #7ac720;
    --brand-green-dark: #5fa018;
    --brand-slate: #0f172a;
    --surface: #f8fafc;
    
    /* Typography Scale */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
}

/* Desktop Responsive Fixes */
@media (max-width: 1280px) {
    .max-w-screen-2xl {
        max-width: 100%;
    }
}

/* Category nav overflow handling */
nav .flex.items-center.gap-1 {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    white-space: nowrap;
}
nav .flex.items-center.gap-1::-webkit-scrollbar {
    display: none;
}

/* Header right actions - prevent wrap */
header .flex.items-center.gap-4 {
    flex-wrap: nowrap;
}

/* Search bar responsive */
@media (max-width: 1024px) {
    header form.max-w-2xl {
        max-width: 400px;
    }
}

/* Header right actions - compact layout */
header .flex.items-center.gap-2.md\:gap-5 {
    gap: 0.5rem;
}

/* Hide Need Help label on medium desktops, show only phone */
@media (max-width: 1100px) {
    header .hidden.xl\:flex .leading-tight p:first-child {
        display: none;
    }
}

/* Reduce icon sizes in header */
header .w-10.h-10.rounded-full {
    width: 2rem;
    height: 2rem;
}
header .w-10.h-10.rounded-full i {
    font-size: 0.875rem;
}

/* Compact cart/wishlist buttons */
header .w-9.h-9.md\:w-10.md\:h-10 {
    width: 2rem;
    height: 2rem;
}

/* Hide My Account text label on smaller desktop */
@media (max-width: 1200px) {
    header .leading-tight.hidden.lg\:block {
        display: none;
    }
}

/* Category nav - reduce padding */
nav .flex.items-center.gap-1.h-11 > a,
nav .flex.items-center.gap-1.h-11 > div > button {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.8rem;
}

/* Smooth horizontal scroll for category nav */
nav .flex.items-center.gap-1.h-11 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Hide scrollbar for category nav */
nav .flex.items-center.gap-1.h-11::-webkit-scrollbar {
    display: none;
}
nav .flex.items-center.gap-1.h-11 {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    background: var(--surface);
    color: var(--brand-slate);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Utilities */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }
.text-5xl { font-size: var(--font-size-5xl); }

.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }
.font-black { font-weight: var(--font-weight-black); }

.leading-tight { line-height: var(--line-height-tight); }
.leading-snug { line-height: var(--line-height-snug); }
.leading-normal { line-height: var(--line-height-normal); }
.leading-relaxed { line-height: var(--line-height-relaxed); }
.leading-loose { line-height: var(--line-height-loose); }

/* Enhanced Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.025em;
    color: var(--brand-slate);
}

h1 { 
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
}

h2 { 
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
}

h3 { 
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
}

h4 { 
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

h5 { 
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
}

h6 { 
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
}

/* Paragraph and Text */
p {
    line-height: var(--line-height-relaxed);
    margin-bottom: 1rem;
    color: var(--brand-slate);
}

/* Links */
a {
    color: var(--brand-green);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--brand-green-dark);
}

/* Form Elements */
input, textarea, select {
    font-family: inherit;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
}

/* Button Typography */
button {
    font-family: inherit;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.025em;
}

/* Responsive Typography - keep mobile text at least as readable as desktop */
@media (max-width: 640px) {
    :root {
        --font-size-xs: 0.8125rem;  /* 13px */
        --font-size-sm: 0.9375rem;  /* 15px */
        --font-size-base: 1rem;     /* 16px */
        --font-size-lg: 1.125rem;   /* 18px */
        --font-size-xl: 1.25rem;    /* 20px */
        --font-size-2xl: 1.5rem;    /* 24px */
        --font-size-3xl: 1.75rem;   /* 28px */
        --font-size-4xl: 2rem;      /* 32px */
        --font-size-5xl: 2.5rem;    /* 40px */
    }

    body {
        font-size: var(--font-size-base);
    }

    h1 { font-size: var(--font-size-3xl); }
    h2 { font-size: var(--font-size-2xl); }
    h3 { font-size: var(--font-size-xl); }
    h4 { font-size: var(--font-size-lg); }
    h5 { font-size: var(--font-size-base); }
    h6 { font-size: var(--font-size-sm); }
}

@media (max-width: 480px) {
    :root {
        --font-size-3xl: 1.5rem;    /* 24px */
        --font-size-4xl: 1.75rem;   /* 28px */
    }

    h1 { font-size: var(--font-size-3xl); }
    h2 { font-size: var(--font-size-2xl); }
    h3 { font-size: var(--font-size-lg); }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Dark mode typography adjustments */
@media (prefers-color-scheme: dark) {
    body {
        color: #f8fafc;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #f1f5f9;
    }
    
    p {
        color: #e2e8f0;
    }
}

/* Print typography */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    h1 { font-size: 18pt; }
    h2 { font-size: 16pt; }
    h3 { font-size: 14pt; }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Hero Section */
.hero-section {
    background:
        radial-gradient(circle at top left, rgba(122, 199, 32, 0.18), transparent 34%),
        radial-gradient(circle at top right, rgba(122, 199, 32, 0.12), transparent 28%),
        linear-gradient(135deg, #f4fbe8 0%, #ffffff 52%, #ecf5d8 100%);
    position: relative;
    isolation: isolate;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.22;
    pointer-events: none;
    z-index: -1;
}

/* Component Typography Improvements */

/* Product Cards */
.product-card {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

.product-card h3 {
    font-size: var(--font-size-base) !important;
    font-weight: var(--font-weight-semibold) !important;
    line-height: var(--line-height-tight) !important;
    margin-bottom: 0.5rem;
}

.product-card .price {
    font-size: var(--font-size-lg) !important;
    font-weight: var(--font-weight-bold) !important;
    color: var(--brand-green);
    line-height: var(--line-height-tight);
}

.product-card .original-price {
    font-size: var(--font-size-sm) !important;
    font-weight: var(--font-weight-normal);
    color: #94a3b8;
    text-decoration: line-through;
}

.product-card .description {
    font-size: var(--font-size-sm) !important;
    line-height: var(--line-height-relaxed);
    color: #64748b;
    margin-bottom: 1rem;
}

/* Navigation */
.nav-link {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.025em;
    transition: all 0.2s ease;
}

.nav-link:hover {
    font-weight: var(--font-weight-semibold);
}

/* Mobile Navigation */
.mobile-menu-item {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

/* Buttons */
.btn {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.025em;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-large {
    font-size: var(--font-size-base);
    padding: 0.875rem 1.5rem;
}

.btn-small {
    font-size: var(--font-size-xs);
    padding: 0.5rem 1rem;
}

/* Forms */
.form-label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--brand-slate);
    margin-bottom: 0.5rem;
    display: block;
}

.form-input {
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(122, 199, 32, 0.1);
}

/* Homepage modern surfaces */
.home-page .bg-white.rounded-2xl,
.home-page .bg-white.rounded-3xl,
.home-page .bg-white.rounded-xl {
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.home-page .bg-white.rounded-2xl:hover,
.home-page .bg-white.rounded-3xl:hover,
.home-page .bg-white.rounded-xl:hover {
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
}

.home-page .product-card {
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.home-page .product-card:hover {
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

.home-page section {
    scroll-margin-top: 96px;
}

.home-page section.py-20 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.home-page section.py-16 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

.home-page section.py-12 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.home-page section.py-8 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.home-page h2,
.home-page h3 {
    letter-spacing: -0.02em;
}

/* Footer Typography */
.site-footer {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(135deg, #7ac720 0%, #5fa018 55%, #7ac720 100%);
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

.site-footer h4 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 0.025em;
}

.site-footer p,
.site-footer li {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    color: rgba(255, 255, 255, 0.9);
}

.site-footer a {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.site-footer a:hover {
    transform: translateY(-1px);
    color: #ffffff;
}

.site-footer .footer-accent {
    color: #d9f2b8;
    font-weight: var(--font-weight-semibold);
}

.site-footer .footer-pill {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* Badges and Tags */
.badge {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-success {
    background-color: #dcfce7;
    color: #166534;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-error {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Status Text */
.status-text {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Meta Information */
.meta-info {
    font-size: var(--font-size-xs);
    color: #64748b;
    font-weight: var(--font-weight-normal);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: #64748b;
}

.breadcrumb a {
    color: var(--brand-green);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--brand-green-dark);
}

/* Alerts and Messages */
.alert {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Product Card Hover Effects */
.product-card:hover {
    transform: translateY(-4px);
}

.product-card {
    transition: all 0.3s ease;
}

/* Favorite Button Animation */
.favorite-btn i.fas {
    color: #ef4444;
}

.favorite-btn:hover i {
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

/* Featured Card Overlay */
.featured-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: 1;
}

.featured-card > * {
    position: relative;
    z-index: 2;
}

/* Cart Sidebar Animation */
#cart-sidebar > div:last-child {
    transition: transform 0.3s ease;
}

#cart-sidebar.active > div:last-child {
    transform: translateX(0);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Button Hover Effects */
.add-to-cart-btn:hover {
    transform: scale(1.02);
}

/* Star Rating */
.star-rating i {
    transition: color 0.2s ease;
}

/* Newsletter Input Focus */
#newsletter-email:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Scrollbar Styling */
#cart-items::-webkit-scrollbar {
    width: 6px;
}

#cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#cart-items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

#cart-items::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #7ac720;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

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

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

.toast.success {
    background: #7ac720;
}

.toast.error {
    background: #ef4444;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .featured-card {
        height: 250px;
    }
}

/* Admin Dashboard Styles */
.admin-sidebar {
    width: 250px;
    min-height: 100vh;
}

.admin-sidebar a.active {
    background: rgba(16, 185, 129, 0.1);
    color: #7ac720;
    border-right: 3px solid #7ac720;
}

.admin-card {
    transition: all 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Table Styles */
.admin-table th {
    background: #f8fafc;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.admin-table tr:hover {
    background: #f8fafc;
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #7ac720;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Status Badges */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-pending {
    background: #fef3c7;
    color: #d97706;
}

.badge-processing {
    background: #e8f5d0;
    color: #5fa018;
}

.badge-shipped {
    background: #f4fbe8;
    color: #7ac720;
}

.badge-delivered {
    background: #dcfce7;
    color: #7ac720;
}


/* Shop Page Styles */
.line-clamp-1 {
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Card Enhanced */
.product-card {
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Filter Checkbox */
.filter-checkbox:checked {
    background-color: #7ac720;
    border-color: #7ac720;
}

/* Price Range Slider */
input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #7ac720;
    border-radius: 50%;
    cursor: pointer;
}

/* Category Pills */
.category-pill {
    transition: all 0.2s ease;
}

.category-pill:hover {
    background-color: rgba(16, 185, 129, 0.1);
    color: #7ac720;
}

.category-pill.active {
    background-color: #7ac720;
    color: white;
}

/* View Toggle Buttons */
.view-btn {
    transition: all 0.2s ease;
}

.view-btn.active {
    background-color: #7ac720;
    color: white;
}

/* Pagination */
.pagination-btn {
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(.active) {
    border-color: #7ac720;
    color: #7ac720;
}

.pagination-btn.active {
    background-color: #7ac720;
    color: white;
    border-color: #7ac720;
}

/* Mobile Filter Toggle */
@media (max-width: 1024px) {
    .filter-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        z-index: 100;
        transition: left 0.3s ease;
    }
    
    .filter-sidebar.open {
        left: 0;
    }
}

/* Quick View Button */
.quick-view-btn {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Sale Badge Animation */
.sale-badge {
    animation: pulse 2s infinite;
}

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

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Mobile Navigation Enhancements */
#mobile-menu-drawer {
    -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
}

#mobile-menu-drawer .flex-1 {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

#mobile-menu-drawer .flex-1::-webkit-scrollbar {
    width: 4px;
}

#mobile-menu-drawer .flex-1::-webkit-scrollbar-track {
    background: transparent;
}

#mobile-menu-drawer .flex-1::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 2px;
}

#mobile-menu-drawer .flex-1::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* Mobile Header Icons Responsive */
@media (max-width: 768px) {
    .mobile-icon {
        padding: 0.25rem;
    }
    
    .mobile-icon i {
        font-size: 1.125rem;
    }
    
    .mobile-icon span {
        font-size: 0.625rem;
        margin-top: 0.125rem;
    }
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Mobile Menu Content Spacing */
#mobile-menu-drawer .space-y-1 > * + * {
    margin-top: 0.25rem;
}

#mobile-menu-drawer hr {
    margin: 1rem 0;
    border-color: #e5e7eb;
}

/* Mobile Menu Link Hover Effects */
#mobile-menu-drawer a:hover {
    background-color: #f3f4f6;
    transition: background-color 0.15s ease;
}

#mobile-menu-drawer a:active {
    background-color: #e5e7eb;
}

/* Social Links in Mobile Menu */
#mobile-menu-drawer .social-links a {
    transition: all 0.2s ease;
}

#mobile-menu-drawer .social-links a:hover {
    transform: scale(1.1);
}

/* Contact Info Card in Mobile Menu */
#mobile-menu-drawer .contact-info {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
}

/* ============================================
   Clean Scroll Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.56s; opacity: 1; transform: translateY(0); }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-stagger > * {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Mobile Horizontal Product Slider */
@media (max-width: 767px) {
    .product-slider:not(.grid) {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .product-slider:not(.grid)::-webkit-scrollbar {
        display: none;
    }

    .product-slider:not(.grid) .product-card {
        scroll-snap-align: start;
        flex: 0 0 auto;
        width: 46vw;
        min-width: 140px;
        max-width: 200px;
    }

    .product-slider:not(.grid) .product-card img {
        height: 120px;
    }
}

/* Category Slider */
.category-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-slider::-webkit-scrollbar {
    display: none;
}

.category-slide {
    scroll-snap-align: start;
    flex: 0 0 auto;
}

/* Slider navigation arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    color: #7ac720;
    border: 1px solid #e5e7eb;
}

.slider-arrow:hover {
    background: #7ac720;
    color: white;
    border-color: #7ac720;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.footer-accent {
    color: #a3e060;
}

.footer-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-arrow.left { left: -12px; }
.slider-arrow.right { right: -12px; }

@media (max-width: 640px) {
    .slider-arrow { display: none; }
}
