/* Neotek - Electronics Store Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-muted: #6c757d;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --border-color: #dee2e6;
    --card-hover: #f1f3f5;
    --success: #10b981;
    --error: #ef4444;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-primary);
}

/* Container */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

/* Header */
.site-header {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* White text when transparent (homepage before scroll) */
.site-header .logo a,
.site-header .main-nav a,
.site-header .header-actions a {
    color: #fff;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Dark text when scrolled */
.site-header.scrolled .logo a,
.site-header.scrolled .main-nav a,
.site-header.scrolled .header-actions a {
    color: var(--text-primary);
}

/* Static header for non-homepage pages */
.site-header.static-header {
    position: sticky;
    background-color: #fff;
}

/* Dark text for static header */
.site-header.static-header .logo a,
.site-header.static-header .main-nav a,
.site-header.static-header .header-actions a {
    color: var(--text-primary);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #888;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-actions a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.header-actions svg {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #61A8F1;
    color: #000000;
}

.btn-primary:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background-color: rgba(99, 102, 241, 0.1);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    background-color: var(--card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--accent-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-top: 1rem;
}

.product-price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-right: 0.5rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-secondary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Contact Info */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.contact-info-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
}

.contact-info-box h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.contact-info-box p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info-box a {
    color: var(--text-secondary);
}

.contact-info-box a:hover {
    color: var(--accent-primary);
}

/* Footer */
.site-footer {
    background-color: #0a0a0a;
    border-top: 1px solid #2a2a2a;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 0;
    opacity: 0;
    padding: 0;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    color: inherit;
    /* Inherit color from header */
    font-size: 1rem;
    outline: none;
}

.search-container.active .search-input {
    width: 200px;
    opacity: 1;
    padding: 0.5rem 0.5rem 0.5rem 0;
    border-bottom-color: var(--accent-primary);
    margin-right: 10px;
}

.search-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    /* Inherit color from header */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Explicit color inheritance for search elements */
.site-header .search-input,
.site-header .search-toggle-btn {
    color: #fff;
}

/* Dark text when scrolled */
.site-header.scrolled .search-input,
.site-header.scrolled .search-toggle-btn {
    color: var(--text-primary);
}

/* Dark text for static header */
.site-header.static-header .search-input,
.site-header.static-header .search-toggle-btn {
    color: var(--text-primary);
}

.search-toggle-btn:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 2rem;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* Ensure all text in footer is white */
.site-footer h4,
.site-footer p,
.site-footer li,
.site-footer span {
    color: #ffffff !important;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-primary);
    transform: translateY(-3px);
}

/* Video Banner */
.video-banner {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.video-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(99,102,241,0.1)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .product-grid,
    .team-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Shop Grid Styles */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.shop-card {
    background-color: #f7f7f7;
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.shop-image-area {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
}

.shop-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.shop-image-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.shop-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.wishlist-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #666;
}

.shop-card:hover .wishlist-btn {
    opacity: 1;
}

.wishlist-btn:hover {
    color: #ef4444;
}

.shop-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.shop-rating {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffc107;
}

.shop-rating span {
    color: #333;
}

.shop-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.shop-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.4;
}

.shop-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 20px;
}

.shop-price {
    font-weight: 700;
    font-size: 1rem;
    color: #111;
}

.shop-select {
    text-decoration: none;
    color: #111;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.shop-select:hover {
    border-bottom: 1px solid #111;
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-card {
        min-height: auto;
    }
}

/* Category Grid Styles */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.category-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-secondary);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Features Grid Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #61A8F1;
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Grid Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #61A8F1;
    color: #111;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    stroke: #111;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Category Filter Buttons */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 1.5rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.filter-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

@media (max-width: 768px) {
    .category-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   HAMBURGER MENU & MOBILE NAVIGATION
   ============================================ */

/* Hamburger Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* Hide hamburger and close button on desktop */
.hamburger-btn {
    display: none;
}

.main-nav .close-menu-btn {
    display: none;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Dark hamburger for static header pages */
.site-header.static-header .hamburger-line,
.site-header.scrolled .hamburger-line {
    background-color: var(--text-primary);
}

/* Hamburger Animation when open */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Styles */
@media (max-width: 992px) {

    /* Show hamburger button */
    .hamburger-btn {
        display: flex;
    }

    /* Mobile nav - full screen overlay */
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: #ffffff !important;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 9999 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .main-nav.active {
        transform: translateX(0) !important;
    }

    .main-nav ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        gap: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        margin: 0 !important;
        background: #ffffff !important;
    }

    .main-nav li {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        border-bottom: 1px solid #e9ecef !important;
        background: #ffffff !important;
    }

    .main-nav li:last-child {
        border-bottom: none !important;
    }

    .main-nav a {
        display: block !important;
        padding: 1.5rem 0 !important;
        font-size: 1.5rem !important;
        color: #1a1a2e !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        background: #ffffff !important;
    }

    .main-nav a:hover {
        color: #6366f1 !important;
        background: #f8f9fa !important;
    }

    /* Close button for mobile menu */
    .main-nav .close-menu-btn {
        display: block !important;
        position: absolute;
        top: 25px;
        right: 25px;
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        color: #1a1a2e;
        z-index: 10000;
    }

    .close-menu-btn:hover {
        color: #6366f1;
    }

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Header adjustments for mobile */
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo {
        order: 1;
    }

    .logo a {
        font-size: 0.9rem !important;
    }

    .logo img {
        height: 45px !important;
    }

    /* Header actions on mobile */
    .header-actions {
        order: 2;
        gap: 0.5rem;
    }

    /* Hide search container on mobile header (move to nav or below) */
    .header-actions .search-container {
        display: none;
    }

    /* Main nav below header on mobile */
    .main-nav {
        order: 3;
    }

    /* Hero adjustments */
    .hero {
        padding: 6rem 0 4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    /* Section adjustments */
    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Category grid */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Shop grid */
    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .shop-card {
        min-height: auto;
        padding: 20px;
    }

    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact grid */
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    /* About section mobile - stack with text first */
    .section>.container>div[style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 2rem !important;
    }

    .section>.container>div[style*="grid-template-columns: 1fr 1fr"]>div:last-child {
        text-align: center;
    }

    .section>.container>div[style*="grid-template-columns: 1fr 1fr"]>div:first-child {
        max-height: 300px;
        margin-bottom: 2rem;
    }

    /* CTA banner spacing */
    .video-banner {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    /* Hero section padding */
    section[style*="padding: 0 4rem"] {
        padding: 0 1rem 2rem 1rem !important;
    }
}