* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Screen reader only - accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header Styles */
.top-bar {
    background: #1a1a1a;
    padding: 8px 0;
    border-bottom: 1px solid #333;
    color: #fff;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.top-bar .contact-info,
.top-bar .user-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar .contact-info a,
.top-bar .user-actions a {
    color: #fff;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.top-bar .contact-info a:hover,
.top-bar .user-actions a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.top-bar i {
    color: #fff;
}

.top-bar .user-actions #cart-count {
    margin-left: 6px;
}

/* Legacy support for span-based contact info */
.contact-info span {
    margin-right: 20px;
    font-size: 14px;
    color: #ccc;
}

.contact-info span i {
    margin-right: 5px;
    color: #007bff;
}

.cart {
    position: relative;
}

#cart-count {
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 5px;
}

/* Main Navigation */
.main-nav {
    background: #2a2a2a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 10000;
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo h1 {
    color: #007bff;
    font-size: 2em;
    margin-bottom: 0;
}

.logo span {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 113px;
    width: auto;
    max-width: 600px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-img {
        height: 55px;
        max-width: 280px;
    }
}

.search-bar {
    display: flex;
    flex: 1;
    max-width: 600px;
    margin: 0 40px;
    position: relative;
    z-index: 30000; /* keep suggestions above menus */
}

.search-bar form {
    display: flex;
    flex: 1;
}

.search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #444;
    border-right: none;
    border-radius: 25px 0 0 25px;
    outline: none;
    font-size: 14px;
    background: #3a3a3a;
    color: #fff;
}

.search-bar input::placeholder {
    color: #aaa;
}

.search-bar input:focus {
    border-color: #007bff;
    background: #444;
}

.search-bar button {
    padding: 12px 20px;
    background: #007bff;
    color: white;
    border: 2px solid #007bff;
    border-left: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #0056b3;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 96vw);
    background: #1f1f23;
    border: 1px solid #2d2f35;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 32000;
    overflow: hidden;
}
.suggestion-header,
.suggestion-footer {
    padding: 10px 14px;
    background: #191b1f;
    color: #cfd3dc;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #2d2f35;
}
.suggestion-footer {
    border-top: 1px solid #2d2f35;
    border-bottom: none;
}
.suggestion-header a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.15s ease, opacity 0.2s ease;
}
.suggestion-header a:hover { background: rgba(255,255,255,0.08); opacity: 0.95; }
.suggestion-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: transparent;
    text-decoration: none;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.15s ease, opacity 0.2s ease;
}
.suggestion-footer a:hover { background: rgba(255,255,255,0.08); opacity: 0.95; }
.search-suggestions ul {
    list-style: none;
    margin: 0;
    padding: 6px 12px 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8px;
}
.search-suggestions li {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f0f2f7;
    cursor: pointer;
    min-height: 72px;
}
.search-suggestions li:hover {
    background: #2a2d33;
}
.suggestion-thumb {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: #2f3138;
    object-fit: cover;
    border: 1px solid #2d2f35;
}
.suggestion-title {
    font-weight: 600;
    color: #f5f6f7;
}
.suggestion-category {
    font-size: 12px;
    color: #9aa0ae;
}
.suggestion-meta {
    font-size: 12px;
    color: #9aa0ae;
}
.suggestion-price {
    margin-left: auto;
    font-weight: 700;
    color: #4ade80;
}

/* Pure Flow-Based Mega Menu - No Absolute Positioning */
#mega-menu {
    background: #1E2024;
    border-bottom: 1px solid #36393F;
    position: relative;
    z-index: 9000;
}

.nav-mega-menu {
    max-width: 1200px;
    margin: 0 auto;
}

.menu-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 46px;
    padding: 0 16px;
    gap: 4px;
    position: relative;
    z-index: 9001;
}

.burger {
    display: flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-right: 4px;
}

.burger:hover {
    background-color: #36393F;
}

.burger svg {
    margin-right: 8px;
}

.menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 46px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

.menu::-webkit-scrollbar {
    display: none;
}

.menu li {
    white-space: nowrap;
    flex-shrink: 0;
}

.label-mega-menu {
    display: flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 20px;
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.label-mega-menu:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Overlay-style dropdown that covers page below nav */
.mega-dropdown-section {
    position: fixed;
    top: 0; /* Will be set dynamically by JavaScript */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding-top: 4px;
}

.mega-dropdown-section.show {
    opacity: 1;
    visibility: visible;
}

.mega-dropdown-content {
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    width: 100%;
    margin: 0;
    border: 1px solid #e1e5e9;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.mega-dropdown-section.show .mega-dropdown-content {
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-content {
    display: flex;
    padding: 20px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.mega-menu-column {
    flex: 1;
    min-width: 200px;
}

.mega-menu-column h3 {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #007bff;
}

.mega-menu-column a {
    display: block;
    padding: 6px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-bottom: none;
}

.mega-menu-column a:hover {
    color: #007bff;
    padding-left: 8px;
    text-decoration: none;
}

/* Promotion Content Styling */
.promotion-content {
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    text-align: center;
    color: white;
    margin: 20px;
}

.promotion-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

.promotion-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: #fff;
    color: #667eea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.py-4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Subcategory List Styling */
.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.subcategory-list li {
    margin: 0;
}

.subcategory-list a {
    display: block;
    padding: 6px 0 6px 15px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.subcategory-list a:hover {
    color: #007bff;
    padding-left: 20px;
    border-left-color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

/* Category Header Styling */
.category-header {
    margin-bottom: 5px;
}

.category-header a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.category-header a:hover {
    transform: translateX(5px);
}

.category-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #e9ecef;
}

/* Mega Menu Grid Styling */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

/* Hide burger button on desktop */
.burger {
    display: none;
}

@media (max-width: 768px) {
    .menu-burger {
        display: none;
    }
    
    .horizontal-menu {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .horizontal-menu-items {
        margin-left: 0;
        padding-right: 8px;
    }
    
    .horizontal-menu-items .dropdown-menu {
        min-width: 300px;
        left: -50px;
        position: fixed;
        top: auto;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .horizontal-menu-items .dropdown-content {
        flex-direction: column;
    }
    
    .horizontal-menu-items .column {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    /* Touch-friendly spacing on mobile */
    .horizontal-menu-items .column a {
        padding: 12px 0;
        font-size: 16px;
    }
}

/* Categories Banner Section */
.categories-banner {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.categories-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1180px;
    margin: 0 auto;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.category-circle {
    position: relative;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f0f0f0;
}

.category-image {
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease;
}

.category-item:hover .category-image {
    transform: scale(1.1);
}

.category-image img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.category-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .categories-carousel {
        gap: 20px;
    }
    
    .category-circle {
        width: 64px;
        height: 64px;
    }
    
    .category-image img {
        width: 64px;
        height: 64px;
    }
    
    .category-label {
        font-size: 12px;
    }
}

/* Hero Section - Removed, replaced by categories banner above */

.slide-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    background: #007bff;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Featured Categories */
.featured-categories {
    padding: 80px 0;
    background: #f8f9fa;
}

.featured-categories h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    color: #333;
}

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

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    padding: 20px;
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.category-card p {
    padding: 0 20px 20px;
    color: #666;
    font-size: 14px;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

.product-image {
    width: 100%;
    height: 250px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
}

.product-brand {
    color: #007bff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 15px;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: #dc3545 !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.add-to-cart:hover {
    background: #c82333 !important;
}

/* Brands Section */
.brands {
    padding: 60px 0;
    background: #f8f9fa;
}

.brands h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #333;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.brands-grid img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
    cursor: pointer;
}
.brand-text {
    font-size: 18px;
    font-weight: 700;
    color: #2c2f36;
    display: inline-block;
    padding: 10px 0;
    text-align: center;
}

.brands-grid img:hover {
    filter: grayscale(0%);
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    color: #007bff;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-section p {
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #007bff;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #555;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #007bff;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* Desktop Sidebar Styles */
.desktop-sidebar-burger {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-right: 20px;
}

.desktop-sidebar-burger:hover {
    background: #555;
    border-color: #777;
}

.desktop-sidebar-burger svg {
    width: 20px;
    height: 20px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.sidebar-panel {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100%;
    background: #fff;
    z-index: 20001;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.sidebar-panel::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.sidebar-panel.show {
    left: 0;
}

.sidebar-header {
    background: #333;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.sidebar-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-content {
    padding: 0;
}

.sidebar-section {
    padding: 5px 0;
}

.sidebar-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 5px 20px;
}

.sidebar-section-title {
    padding: 10px 20px 5px 20px;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-category-list li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-category-list li:last-child {
    border-bottom: none;
}

.sidebar-category-list a {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar-category-list a:hover {
    background: #f5f5f5;
    color: #333;
    padding-left: 25px;
}

.sidebar-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.sidebar-category-item a {
    flex: 1;
    padding: 10px 20px !important;
    margin: 0;
    color: #333;
    text-decoration: none;
}

.sidebar-category-item a:hover {
    background: #f5f5f5;
}

.arrow-container {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.arrow-container:hover {
    background: #f5f5f5;
}

.arrow {
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkgMThMMTUgMTJMOSA2IiBzdHJva2U9IiM2NjY2NjYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=') no-repeat center;
    background-size: contain;
}

.previous-menu {
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.3s ease;
}

.previous-menu:hover {
    background: #f5f5f5;
}

.previous-menu .gelule {
    display: flex;
    align-items: center;
    gap: 10px;
}

.previous-menu .gelule span {
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE1IDYgTDkgMTJMMTUgMTgiIHN0cm9rZT0iIzY2NjY2NiIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==') no-repeat center;
    background-size: contain;
    filter: brightness(0) invert(28%) sepia(1%) saturate(2392%) hue-rotate(10deg) brightness(78%) contrast(76%);
}

.previous-menu .gelule p {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.sidebar-subcategory {
    padding-left: 40px !important;
    font-size: 13px !important;
    color: #888 !important;
}

.sidebar-subcategory:hover {
    padding-left: 45px !important;
}

.sidebar-contact, .sidebar-user {
    padding: 20px;
}

.sidebar-contact h4, .sidebar-user h4 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.sidebar-contact p, .sidebar-user p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.sidebar-contact p:last-child, .sidebar-user p:last-child {
    margin-bottom: 0;
}

.sidebar-user a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.sidebar-user a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-bar {
        order: 3;
        margin: 0;
        max-width: 100%;
    }
    
    .main-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .main-menu > li {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border: 1px solid #e9ecef;
        margin-top: 10px;
    }
    
    .dropdown-content {
        flex-direction: column;
    }
    
    .column {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .hero .slide-content h2 {
        font-size: 2em;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Mobile mega menu styling */
    #mega-menu {
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    /* Hide horizontal menu items on mobile */
    .menu.gap-1,
    ul[data-context="horizontal-menu"] {
        display: none !important;
    }
    
    .menu-bar {
        display: block !important;
        padding: 0;
        background: #333;
        border-bottom: 1px solid #e9ecef;
    }
    
    .burger {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        cursor: pointer;
        color: #fff;
        font-weight: 500;
        transition: all 0.3s ease;
        background: #333;
        padding: 15px 20px;
        margin: 0;
    }
    
    .burger:hover {
        background: #444;
        color: #fff;
    }
    
    .burger svg {
        transition: transform 0.3s ease;
        width: 24px;
        height: 24px;
    }
    
    .burger.active svg {
        transform: rotate(180deg);
    }
    
    .burger .menu-text {
        flex: 1;
        margin-left: 10px;
        font-size: 16px;
    }
    
    .burger .expand-icon {
        margin-left: auto;
        font-size: 18px;
        transition: transform 0.3s ease;
    }
    
    .burger.active .expand-icon {
        transform: rotate(180deg);
    }
    
    .mega-dropdown-section {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        background: transparent;
        box-shadow: none;
        padding: 0;
        transition: all 0.3s ease;
        max-height: 0;
        overflow: hidden;
    }
    
    .mega-dropdown-section.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: 100vh;
    }
    
    .mega-dropdown-content {
        padding: 0;
    }
    
    .dropdown-menu {
        display: block !important;
        margin-bottom: 0;
    }
    
    .mega-menu-content {
        display: block !important;
        padding: 20px;
    }
    
    .mega-menu-column {
        margin-bottom: 0;
        padding: 0;
        background: transparent;
        border-radius: 0;
        border-left: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .mega-menu-column:last-child {
        border-bottom: none;
    }
    
    .mega-menu-column h3 {
        color: #333 !important;
        font-size: 16px !important;
        margin: 0 !important;
        font-weight: 500 !important;
        display: block !important;
        padding: 15px 20px;
        background: #f7f7f7;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .mega-menu-column h3::before {
        display: none;
    }
    
    .mega-menu-column a {
        display: block !important;
        color: #666 !important;
        text-decoration: none !important;
        padding: 12px 20px !important;
        padding-left: 40px !important;
        border-bottom: 1px solid #f0f0f0 !important;
        font-size: 14px !important;
        position: relative;
        transition: background-color 0.2s ease;
        background: #fff;
    }
    
    .mega-menu-column a::before {
        display: none;
    }
    
    .mega-menu-column a:hover,
    .mega-menu-column a:active {
        color: #333 !important;
        background: #f5f5f5 !important;
        padding-left: 40px !important;
    }
    
    .mega-menu-column a:last-child {
        border-bottom: none !important;
    }
    
    /* Hide desktop sidebar on mobile */
    .desktop-sidebar-burger {
        display: none !important;
    }
}
