/*====================================================*
MOBILE SIDE MENU
*====================================================*/

.mobile-side-menu {

    position: fixed;

    top: 0;
    left: 0;

    width: 360px;
    max-width: 86vw;
    height: 100dvh;

    z-index: 10002;

    background: #ffffff;

    transform: translate3d(-100%, 0, 0);

    transition:
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    box-shadow:
        8px 0 30px rgba(0, 0, 0, 0.16);

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

    -webkit-overflow-scrolling: touch;

    visibility: hidden;

}


/*====================================================*
SIDE MENU OPEN
*====================================================*/

.mobile-side-menu.open {

    transform: translate3d(0, 0, 0);

    visibility: visible;

}


/*====================================================*
MENU OVERLAY
*====================================================*/

.mobile-menu-overlay {

    position: fixed;

    inset: 0;

    z-index: 10001;

    width: 100%;
    height: 100dvh;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

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

}


/*====================================================*
OVERLAY OPEN
*====================================================*/

.mobile-menu-overlay.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/*====================================================*
SIDE MENU HEADER
*====================================================*/

.side-menu-header {

    position: relative;

    width: 100%;

    height: 110px;

    padding: 0 28px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #182b34;

}


/*====================================================*
SIDE MENU LOGO
*====================================================*/

.side-menu-logo {

    display: inline-flex;

    align-items: center;

    text-decoration: none;

}


.side-menu-logo img {

    display: block;

    width: 150px;
    height: auto;

    max-width: 100%;

    object-fit: contain;

}


/*====================================================*
CLOSE BUTTON
*====================================================*/

.side-menu-close {

    position: relative;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #f8b44c;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    transition:
        background 0.25s ease,
        transform 0.25s ease;

}


/*====================================================*
CLOSE BUTTON HOVER
*====================================================*/

.side-menu-close:hover {

    background: #ffbd5b;

    transform: rotate(90deg);

}


/*====================================================*
CLOSE BUTTON LINES
*====================================================*/

.side-menu-close span {

    position: absolute;

    width: 17px;
    height: 2px;

    border-radius: 2px;

    background: #182b34;

}


.side-menu-close span:first-child {

    transform: rotate(45deg);

}


.side-menu-close span:last-child {

    transform: rotate(-45deg);

}


/*====================================================*
SIDE MENU NAVIGATION
*====================================================*/

.side-menu-nav {

    width: 100%;

    padding: 18px 25px 35px;

    box-sizing: border-box;

}


/*====================================================*
SIDE MENU LINK
*====================================================*/

.side-menu-link {

    position: relative;

    width: 100%;

    min-height: 58px;

    padding: 0 4px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    gap: 13px;

    border-bottom: 1px solid #e9e9e9;

    color: #182b34;

    font-family: "Poppins", sans-serif;

    font-size: 14px;

    font-weight: 500;

    line-height: 1.4;

    text-decoration: none;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;

}


/*====================================================*
SIDE MENU ARROW
*====================================================*/

.side-menu-arrow {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    color: #f8b44c;

    font-family: Arial, sans-serif;

    font-size: 22px;

    font-weight: 400;

    line-height: 1;

    transition:
        transform 0.25s ease;

}


/*====================================================*
LINK HOVER
*====================================================*/

.side-menu-link:hover {

    color: #f8b44c;

    padding-left: 9px;

}


.side-menu-link:hover .side-menu-arrow {

    transform: translateX(3px);

}


/*====================================================*
ACTIVE LINK
*====================================================*/

.side-menu-link.active {

    color: #f8b44c;

}


/*====================================================*
BODY LOCK WHEN MENU OPEN
*====================================================*/

body.menu-open {

    overflow: hidden;

    touch-action: none;

}


/*====================================================*
DESKTOP
====================================================*/

@media (min-width: 993px) {

    .mobile-side-menu,
    .mobile-menu-overlay {

        display: none;

    }

}


/*====================================================*
TABLET
====================================================*/

@media (max-width: 992px) {

    .mobile-side-menu {

        width: 340px;

        max-width: 82vw;

    }


    .side-menu-header {

        height: 105px;

        padding: 0 24px;

    }


    .side-menu-logo img {

        width: 145px;

    }


    .side-menu-nav {

        padding: 16px 23px 30px;

    }


    .side-menu-link {

        min-height: 56px;

        font-size: 14px;

    }

}


/*====================================================*
MOBILE
====================================================*/

@media (max-width: 768px) {

    .mobile-side-menu {

        width: 320px;

        max-width: 82vw;

    }


    .side-menu-header {

        height: 95px;

        padding: 0 20px;

    }


    .side-menu-logo img {

        width: 135px;

    }


    .side-menu-close {

        width: 38px;
        height: 38px;

        flex-basis: 38px;

    }


    .side-menu-close span {

        width: 16px;
        height: 2px;

    }


    .side-menu-nav {

        padding: 12px 20px 30px;

    }


    .side-menu-link {

        min-height: 54px;

        font-size: 13px;

        gap: 11px;

    }


    .side-menu-arrow {

        width: 18px;
        height: 18px;

        font-size: 20px;

    }

}


/*====================================================*
SMALL MOBILE
*====================================================*/

@media (max-width: 480px) {

    .mobile-side-menu {

        width: 290px;

        max-width: 84vw;

    }


    .side-menu-header {

        height: 90px;

        padding: 0 17px;

    }


    .side-menu-logo img {

        width: 125px;

    }


    .side-menu-close {

        width: 36px;
        height: 36px;

        flex-basis: 36px;

    }


    .side-menu-close span {

        width: 15px;

    }


    .side-menu-nav {

        padding: 10px 17px 25px;

    }


    .side-menu-link {

        min-height: 51px;

        font-size: 12px;

        gap: 9px;

    }


    .side-menu-arrow {

        width: 17px;
        font-size: 19px;

    }

}


/*====================================================*
VERY SMALL MOBILE
*====================================================*/

@media (max-width: 360px) {

    .mobile-side-menu {

        width: 275px;

        max-width: 86vw;

    }


    .side-menu-header {

        height: 85px;

        padding: 0 15px;

    }


    .side-menu-logo img {

        width: 115px;

    }


    .side-menu-close {

        width: 34px;
        height: 34px;

        flex-basis: 34px;

    }


    .side-menu-nav {

        padding: 8px 15px 20px;

    }


    .side-menu-link {

        min-height: 48px;

        font-size: 11.5px;

    }

}