
.header-fly {
    will-change: transform, opacity;
    transition: transform 2s cubic-bezier(.2, .7, .2, 1), opacity .8s ease;
}

@media (prefers-reduced-motion: reduce) {
    .header-fly {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

.menu-wrapper {
    position: sticky;
    top: 0;
    background: #ffffffdb;
    backdrop-filter: blur(5px);
    z-index: 4000;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.menu {
    position: static; /* reset */
    padding: 10px 0;
}
.menu .navbar li {
    list-style: none;
}

.navbar {
    margin-bottom: 0;
    justify-content: right;
    gap: 30px;
}

.navbar-nav {
    gap: 10px;
}

.navbar ul li.arrow {
    align-items: center;
    display: flex;
    line-height: 1;
    margin-block-end: -10px;
    margin-block-start: -10px;
    padding: 10px;
    padding-inline-end: 0;
}

.navbar ul li.arrow svg {
    width: 8px;
}

.nav-item.dropdown:hover .dropdown-menu {
    padding: 0;
    display: block;
    margin-top: 0;
    border: none;
    border-radius: 10px;
    box-shadow: rgb(165 165 165 / 20%) 0px 5px 10px 0px;
    text-align: center;
}

@media (min-width: 992px) {
    .menu-wrapper .dropdown-menu {
        top: 40px;
    }
}

.dropdown-item {
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 14px;
    padding: 14px 0;
    cursor: pointer;
}

.dropdown-menu li:first-child .dropdown-item {
    border-radius: 10px 10px 0 0;
}

.dropdown-menu li:last-child .dropdown-item {
    border-radius: 0 0 10px 10px;
}

.dropdown-item:not(:first-child) {
    border-radius: 0;
}

.dropdown-item:hover {
    background-color: rgb(0, 31, 51);
    color: #fff;
}

.menu .navbar li .nav-link {
    font-size: 14px;
    color: rgb(0, 31, 51);
    font-weight: 400;
    position: relative;
    padding-left: 22px;
    transition: color 0.3s ease;
}

.burger-menu svg {
    width: 30px;
}

.menu-wrapper .wishlist-icon {
    width: 30px;
    stroke: #001F33;
}

#closeBtn {
    position: absolute;
    width: 14px;
    height: 25px;
    top: -40px;
    left: 0;
    z-index: 3;
    border: none;
    border-radius: 50%;
    opacity: 1;
}

.menu-wrapper #closeBtn svg {
    position: absolute;
    left: 4px;
    top: 5px;
    width: 25px;
}

/*LOGO*/

.logo img {
    width: 115px;
    height: auto;
    display: inline-block;
}

/*MENU ITEMS*/

.menu-items {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 1rem;
}

.menu-wrapper .menu-items svg {
    width: 30px;
    stroke: #001F33;
    transition: 0.3s ease;
}


.menu-wrapper .menu-items a {
    text-decoration: none;
    color: #001F33;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.3s ease;
}

.menu-wrapper .menu-items a:hover svg {
    stroke: #C69B50;
}

.menu-wrapper .menu-items a:hover {
    color: #C69B50;
}

.menu-wrapper .cart-icon {
    position: relative;
}

.menu-wrapper .cart-badge {
    position: absolute;
    top: -5px;
    left: 15px;
    font-size: 10px;
    padding: 0.4rem;
    min-width: 13px;
    height: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00243B;
    color: white;
    font-weight: 500;
}


.navbar-toggler {
    border: none;
}

#closeBtn {
    /*background-color: #F0E5DB78;*/
    position: absolute;
    top: 10px;
    left: 10px;
    border: none;
    font-size: 17px;
    border-radius: 50%;
}

.mobile-menu-items {
    stroke: #001F33;
    border-radius: 10px;
    border: 3px solid #BCBEC057;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px;
}

.mobile-menu-items .track-order a {
    text-decoration: none;
    color: #001F33;
    font-size: 14px;
}

.menu-wrapper .mobile-menu-items svg {
    width: 30px;
}

.mobile-nav .navbar-nav {
    align-self: start;
}

@media (max-width: 992px) {
    .navbar-collapse {
        padding: 30px;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100%;
        width: 350px;
        background-color:#fff;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        transition: right 0.3s ease;
        z-index: 1050;
        border-radius: 10px;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-toggler {
        z-index: 999;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: 1040;
    display: none;
    transition: opacity 0.3s ease;
}

.overlay.show {
    display: block;
}

.input-container {
    position: relative;
    width: 100%;
}

.navbar-collapse .support-num svg {
    width: 18px;
    stroke: #7A7A7A;
}

.navbar-collapse .support-num span {
    font-size: 15px;
    color: #7A7A7A;
}

.navbar-collapse .support-num a {
    text-decoration: none;
    font-size: 15px;
    color: #C69B50;
}

.navbar-collapse .search-bar svg {
    width: 30px;
}

.navbar-collapse .search-bar .search-svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    height: 100%;
}

.input-container input {
    padding-left: 35px;
    width: 100%;
    border: 1px solid #F4F4F4;
    transition: border-color 0.3s ease;
}

.input-container input:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.menu-wrapper .search-content .search-bar svg {
    width: 35px;
}

.search-content .search-bar .search-svg-wrap {
    border-radius: 5px;
    background-color: #00243B;
    height: 100%;
    padding: 0 12px;
}

.search-content .search-bar .search-svg {
    pointer-events: none;
    height: 100%;
}

.full-screen-search-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    display: none;
}

.search-content {
    padding-top: 50px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: 100%;
}

.search-bar {
    position: relative;
    max-width: 90%;
    width: 100%;
}

@media (max-width: 1200px) {
    .search-bar {
        max-width: 100%;
        width: 100%;
    }
}

.search-bar .form-control {
    border-color: #00243B;
    width: 100%;
    font-size: 16px;
    padding: 15px 15px 15px 30px;
}

.search-bar .form-control:focus {
    border: 1px solid #00243B;
}

#closeSearch {
    /*position: absolute;*/
    z-index: 3;
    background-color: #C69B50;
    border: none;
    border-radius: 50%;
    opacity: 1;
    padding: 2px 7px;
}

.menu-wrapper #closeSearch svg {
    /*position: absolute;*/
    left: 4px;
    top: 5px;
    width: 15px;
}

.search-clear-btn {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.input-container {
    position: relative;
}

.menu-wrapper #clearSearchBtn svg, .menu-wrapper #mobileClearSearchBtn svg {
    /*width: 25px;*/
    height: 13px;
    width: auto;
    fill: #7A7A7A;
}

#clearSearchBtn, #mobileClearSearchBtn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 124px;
    transform: translateY(-50%);
}

#mobileClearSearchBtn {
    left: 40px;
}

.dropdown-menu-start {
    right: -100%;
}

.menu .navbar .dropdown-toggle::after {
    content: '';
    font-size: 16px;
    position: absolute;
    top: 16px;
}

.nav-item.dropdown-submenu:hover .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.nav-item.dropdown-submenu .dropdown-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 100%;
}

.dropdown-submenu.dropdown .dropdown-toggle::after {
    content: "";
    font-family: "Font Awesome 5 Free";
    margin-left: 5px;
    transform: rotate(90deg);
    position: absolute;
    top: 21px;
}

.nav-item {
    position: relative;
    padding-bottom: 5px; /* Space for the underline */
}

.nav-item::after {
    content: '';
    position: absolute;
    top: 35px;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #C69B50;
    transition: width 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    visibility: hidden;
    /*transform: scaleY(0.5);*/
    transform-origin: bottom;
}

.nav-item:not(.dropdown-submenu):hover::after {
    width: 100%;
    opacity: 1;
    visibility: visible;
}

/*CART START*/
/*.cart-modal {*/
/*    display: none;*/
/*    position: absolute;*/
/*    top: 35px;*/
/*    left: 0;*/
/*    width: 385px;*/
/*    !*height: 100%;*!*/
/*    z-index: 999;*/
/*    !*justify-content: center;*!*/
/*    !*align-items: center;*!*/
/*    max-height: 80vh;*/
/*}*/

.cart-icon a {
    text-decoration: none;
    color: rgb(0, 31, 51);
    transition: color 0.3s ease;
}

.menu-wrapper .cart-modal {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: -100%;
    left: 0;
    width: 366px;
    z-index: 999;
    max-height: 80vh;
    transition: opacity 0.3s ease, top 0.3s ease, visibility 0.3s ease;
}

.menu-wrapper .cart-modal.show {
    visibility: visible;
    opacity: 1;
    top: 35px;
}

.menu-wrapper .cart-modal-content {
    background: white;
    padding: 20px;
    width: 100%;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
    position: relative;
    border-radius: 10px;
}

.menu-wrapper .close-cart-btn {
    color: #C69B50;
    position: absolute;
    top: 0;
    left: 10px;
    font-size: 35px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-wrapper .close-cart-btn:hover {
    color: #BCBEC0;
}

.menu-wrapper .cart-items {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    max-height: 45vh;
    overflow-y: auto;
}

.menu-wrapper .cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    margin-left: 15px;
    border-bottom: 1px solid #ddd;
}

.menu-wrapper .cart-item-text {
    font-size: 13px;
    color: #00243B;
}

.menu-wrapper .cart-item .item-image {
    width: 85px;
    height: 100%;
    margin-left: 10px;
    border-radius: 10px;
}

.menu-wrapper .cart-item .item-name {
    text-decoration: none;
    color: rgb(0, 31, 51);
    font-size: 14px;
}

.menu-wrapper .cart-item .item-price {
    color: #C69B50;
    font-size: 15px;
    font-weight: 500;
}

.menu-wrapper .cart-item .remove-item-btn svg {
    width: 18px;
    cursor: pointer;
    font-size: 18px;
    stroke: #d5d8dc;
}

.menu-wrapper .cart-item .remove-item-btn {
    align-self: end;
}

.menu-wrapper .cart-total {
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 20px 0;
    /*font-weight: bold;*/
}

.menu-wrapper .cart-total span:first-child {
    font-weight: 700;
}

.menu-wrapper .cart-total #totalPrice {
    font-size: 18px;
}

.menu-wrapper .cart-buttons-wrapper {
    display: flex;
    gap: 8px;
}

.menu-wrapper .checkout-btn {
    font-size: 14px;
    font-weight: 700 !important;
    text-decoration: none;
    text-align: center;
    display: block;
    margin: 20px 0 0;
    padding: 15px 10px;
    width: 100%;
    background-color: #00243B;
    color: white !important;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease !important;
    /*border-radius: 4px;*/
}

.menu-wrapper .checkout-btn:hover {
    background-color: #BCBEC0;
    color: #fff !important;
}

.menu-wrapper .see-cart-btn {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    display: block;
    margin: 20px 0 0;
    padding: 15px 10px;
    width: 100%;
    border: 1px solid rgb(0, 31, 51);
    border-radius: 10px;
    background-color: white;
    color: rgb(0, 31, 51) !important;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease !important;
    /*border-radius: 4px;*/
}

.menu-wrapper .see-cart-btn:hover {
    background-color: #BCBEC0;
    color: #00243B !important;
}
