.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
    min-height: 60px;
    overflow: visible;
    isolation: isolate;
}

.logo {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--accent, #1f2937);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo img,
.brand-logo-img {
    width: 64px;
    height: 64px;
    display: block;
    object-fit: contain;
    flex: 0 0 auto;
}

.logo img,
.brand-logo-img {
    transform: scale(1);
    transform-origin: center;
    transition:
        transform 0.88s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.88s ease;
    will-change: transform;
}

.logo:hover img,
.logo:focus-visible img,
.brand-logo-img:hover,
footer div:hover > .brand-logo-img {
    transform: scale(0.86) rotate(360deg);
    filter: drop-shadow(0 10px 14px rgba(217, 119, 6, 0.16));
}

@media (prefers-reduced-motion: reduce) {
    .logo img,
    .brand-logo-img {
        transition: filter 0.24s ease;
    }

    .logo:hover img,
    .logo:focus-visible img,
    .brand-logo-img:hover,
    footer div:hover > .brand-logo-img {
        transform: scale(0.9);
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--accent, #1f2937);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-dropdown {
    position: relative;
}

.nav-link {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--text-sub, #6b7280);
    text-decoration: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link i.fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-dark, #d97706);
    background: transparent;
}

.nav-link:focus-visible {
    outline: 3px solid rgba(251, 191, 36, 0.35);
    outline-offset: 2px;
    color: var(--primary-dark, #d97706);
    background: transparent;
}

.nav-dropdown:hover .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 12px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-light, #fef3c7);
    margin-top: 8px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    padding: 10px 14px;
    color: var(--text-main, #111827);
    text-decoration: none;
    display: block;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0;
    cursor: pointer;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-support {
    position: relative;
}

.nav-support summary {
    list-style: none;
}

.nav-support summary::-webkit-details-marker {
    display: none;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--text-sub, #6b7280);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.nav-contact:hover,
.nav-support[open] .nav-contact {
    color: var(--primary-dark, #d97706);
    background: var(--primary-light, #fef3c7);
}

.nav-contact:focus-visible {
    outline: 3px solid rgba(251, 191, 36, 0.35);
    outline-offset: 2px;
}

.support-chevron {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.nav-support[open] .support-chevron {
    transform: rotate(180deg);
}

.support-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
    z-index: 250;
}

.support-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 28px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid rgba(17, 24, 39, 0.08);
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    transform: rotate(45deg);
}

.support-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: var(--accent, #1f2937);
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.support-menu-item:hover,
.support-menu-item:focus-visible {
    color: var(--primary-dark, #d97706);
    background: var(--primary-light, #fef3c7);
    transform: translateY(-1px);
}

.support-menu-item:focus-visible {
    outline: 3px solid rgba(251, 191, 36, 0.35);
    outline-offset: 2px;
}

.support-menu-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--primary-dark, #d97706);
    background: rgba(251, 191, 36, 0.14);
    border-radius: 10px;
}

.support-menu-label,
.support-menu-value {
    display: block;
}

.support-menu-label {
    margin-bottom: 3px;
    color: var(--text-sub, #6b7280);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.support-menu-value {
    color: currentColor;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.btn-cart {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

.mobile-menu-sidebar.open {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9998;
}

.mobile-menu-overlay.show {
    display: block;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent, #1f2937);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.mobile-menu-title .brand-logo-img {
    width: 30px;
    height: 30px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-sub, #6b7280);
    cursor: pointer;
    padding: 5px;
    border-radius: 12px;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-nav-item {
    margin-bottom: 15px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--accent, #1f2937);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    background: var(--primary-light, #fef3c7);
    border-color: var(--primary, #fbbf24);
}

.mobile-nav-link i {
    font-size: 1.2rem;
    color: var(--primary-dark, #d97706);
}

.mobile-dropdown {
    background: var(--primary-light, #fef3c7);
    border-radius: 12px;
    margin-top: 8px;
    overflow: hidden;
}

.mobile-dropdown-item {
    display: block;
    background-color: #fbfbfb61;
    padding: 12px 20px;
    color: var(--accent, #1f2937);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-dropdown-item:hover {
    background: var(--primary, #fbbf24);
    color: white;
}

@media (min-width: 769px) {
    .nav-dropdown .dropdown-menu {
        left: calc(50% - 70px);
        width: min(980px, calc(100vw - 48px));
        min-width: 760px;
        min-height: 520px;
        padding: 34px 28px;
        display: grid;
        grid-template-columns: 390px 1fr;
        column-gap: 46px;
        row-gap: 0;
        align-items: start;
        border: 1px solid rgba(17, 24, 39, 0.08);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
        transform: translate(-50%, -8px);
        overflow: hidden;
        z-index: 200;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        transform: translate(-50%, 0);
    }

    .nav-menu .nav-dropdown:first-child .dropdown-menu {
        left: 0;
        transform: translate(0, -8px);
    }

    .nav-menu .nav-dropdown:first-child:hover .dropdown-menu,
    .nav-menu .nav-dropdown:first-child:focus-within .dropdown-menu {
        transform: translate(0, 0);
    }

    .nav-menu .nav-dropdown:nth-child(2) .dropdown-menu {
        left: calc(50% + 110px);
    }

    .nav-dropdown .dropdown-menu::before {
        content: "";
        position: absolute;
        top: 14px;
        right: 24px;
        bottom: 14px;
        width: 450px;
        border-radius: 18px 24px 24px 18px;
        background: #ffffff;
        border: 0;
        pointer-events: none;
    }

    .nav-dropdown .dropdown-menu::after {
        content: "";
        position: absolute;
        right: 24px;
        top: 50%;
        width: 450px;
        height: calc(100% - 28px);
        background: var(--nav-dropdown-image, url("/assets/imgs/home-hero-section.svg")) center / contain no-repeat;
        opacity: 1;
        transform: translateY(-50%);
        transition: opacity 0.18s ease, transform 0.24s ease;
        pointer-events: none;
    }

    .nav-dropdown .dropdown-menu.is-image-changing::after {
        opacity: 0.18;
        transform: translateY(-50%) scale(0.98);
    }

    .nav-dropdown:has(.fa-instagram) .dropdown-menu {
        --nav-dropdown-image: url("/assets/imgs/navBar-images/folloers/instagram-followers.webp");
    }

    .nav-dropdown:has(.fa-tiktok) .dropdown-menu {
        --nav-dropdown-image: url("/assets/imgs/navBar-images/folloers/tiktok-followers.webp");
    }

    .nav-dropdown:has(.fa-youtube) .dropdown-menu {
        --nav-dropdown-image: url("/assets/imgs/navBar-images/folloers/youtube-followers.webp");
    }

    .nav-dropdown:has(.fa-facebook) .dropdown-menu {
        --nav-dropdown-image: url("/assets/imgs/navBar-images/folloers/facebook-followers.webp");
    }

    .nav-dropdown:has(.fa-twitch) .dropdown-menu {
        --nav-dropdown-image: url("/assets/imgs/navBar-images/folloers/twutch-folloers.webp");
    }

    .nav-dropdown .dropdown-list {
        grid-column: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 390px;
    }

    .nav-dropdown .dropdown-item {
        width: 100%;
        min-height: 64px;
        padding: 13px 18px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        border-radius: 12px;
        border: 2px solid transparent;
        background: #f4f4f5;
        color: #050505;
        font-family: 'Inter', sans-serif;
        font-size: 1.05rem;
        line-height: 1.25;
        font-weight: 700;
        letter-spacing: 0;
        text-transform: none;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
        position: relative;
        isolation: isolate;
        overflow: hidden;
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    }

    .nav-dropdown .dropdown-item::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: #ff0066;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
        z-index: -1;
    }

    .nav-dropdown .dropdown-item:hover::before,
    .nav-dropdown .dropdown-item:focus-visible::before {
        width: 540px;
        height: 540px;
    }

    .nav-dropdown .dropdown-item::after {
        content: "\f08e";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: currentColor;
        font-size: 0.85rem;
        flex: 0 0 auto;
        order: -1;
        opacity: 0.58;
        transform: translateY(1px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-dropdown .dropdown-item:hover,
    .nav-dropdown .dropdown-item:focus-visible {
        border-color: #ff0066;
        color: #ffffff;
        box-shadow: 0 12px 28px rgba(255, 0, 102, 0.28);
        transform: translateY(-4px) scale(1.03);
    }

    .nav-dropdown .dropdown-item:hover::after,
    .nav-dropdown .dropdown-item:focus-visible::after {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        left: 3%;
        z-index: 10;
    }

    .nav-menu {
        display: none;
    }

    .navbar {
        padding: 10px 3%;
        min-height: 56px;
        justify-content: center;
        position: relative;
    }

    .logo {
        font-size: 1.1rem;
        gap: 4px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo img {
        width: 54px;
        height: 54px;
    }

    .nav-actions {
        position: absolute;
        right: 3%;
        gap: 6px;
        flex-shrink: 0;
    }

    .nav-contact {
        display: none;
    }

    .nav-support {
        display: none;
    }
}
