.category-nav-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.international-link {
    background: linear-gradient(45deg, #ff6a00, #ee0979) !important;
    border: none !important;
    color: #fff !important;
}

.navbar_custom_category {
    position: relative;
    z-index: 99;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    width: 100%;
    max-height: 55vh;

    margin: 0;
    padding: 28px 16px calc(18px + env(safe-area-inset-bottom));

    overflow-y: auto;
    overflow-x: hidden;

    list-style: none;
    scrollbar-width: none;
}

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

.navbar_custom_category span {
    width: calc(50% - 6px);
    display: block;
}

.navbar_custom_category a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;

    width: 100%;
    min-height: 48px;

    padding: 12px 14px;

    color: rgba(255,255,255,.92);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;

    text-decoration: none;

    border-radius: 16px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        0 4px 18px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.03);

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        color .25s ease;
}

.navbar_custom_category a:hover,
.navbar_custom_category a.active {
    color: #fff;
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.16);
}

@media (min-width: 992px) {
    .navbar_custom_category {
        display: none !important;
    }
}

@media (max-width: 991px) {
    #category-widget-frame {
        padding: 0 !important;
    }

    #category-widget-frame .modal-dialog {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;
        max-width: 100%;
        margin: 0;

        transform: translateY(110%);
        transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }

    #category-widget-frame.show .modal-dialog {
        transform: translateY(0);
    }

    #category-widget-frame .modal-content {
        position: relative;
        overflow: hidden;

        border: none;
        border-radius: 28px 28px 0 0;

        background: linear-gradient(
            180deg,
            rgba(10, 24, 58, .96),
            rgba(7, 17, 31, .98)
        );

        backdrop-filter: blur(26px);
        -webkit-backdrop-filter: blur(26px);

        padding: 0;
        box-shadow:
            0 -14px 40px rgba(0,0,0,.38),
            inset 0 1px 0 rgba(255,255,255,.04);
    }

    #category-widget-frame .modal-content::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);

        width: 42px;
        height: 5px;

        border-radius: 999px;
        background: rgba(255,255,255,.16);
    }

    .modal-backdrop.show {
        opacity: 1;
        background: rgba(0,0,0,.42);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}
