/* Mobile Navigation Fix */

/* Hide mobile elements on desktop */
.es-mobile-burger,
.es-mobile-dropdown {
    display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
    /* Hide desktop menu and actions */
    .es-desktop-menu,
    .es-desktop-actions {
        display: none !important;
    }

    /* Nav inner layout */
    .es-nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        height: 60px;
        position: relative;
    }

    /* Logo styling - centered and bigger on mobile */
    .es-nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #fff;
        gap: 10px;
    }

    .es-nav-logo .es-sigma {
        font-size: 28px;
    }

    .es-nav-logo .es-logo-text {
        font-size: 20px;
        font-weight: 700;
    }

    /* Mobile burger button */
    .es-mobile-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        gap: 6px;
        margin-left: auto;
    }

    .es-mobile-burger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #e0e0e0;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Burger animation */
    .es-mobile-burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .es-mobile-burger.active span:nth-child(2) {
        opacity: 0;
    }

    .es-mobile-burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Mobile dropdown */
    .es-mobile-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        right: 16px;
        width: 200px;
        background: #1a1f2e;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        padding: 8px 0;
        z-index: 1000;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .es-mobile-dropdown.active {
        display: block;
    }

    /* Mobile links */
    .es-mobile-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        color: #e0e0e0;
        text-decoration: none;
        font-size: 15px;
        transition: background 0.2s;
    }

    .es-mobile-link:hover,
    .es-mobile-link:active {
        background: rgba(255, 255, 255, 0.05);
    }

    .es-mobile-link svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        stroke: #00c896;
    }

    /* Divider */
    .es-mobile-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 8px 0;
    }

    /* Cart badge in mobile menu */
    .es-mobile-cart-badge {
        margin-left: auto;
        background: #00c896;
        color: #000;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 10px;
        min-width: 18px;
        text-align: center;
    }

    .es-mobile-cart-badge[data-mobile-count=0] {
        display: none;
    }
}
