﻿* {
    box-sizing: border-box;
}


#header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transform: translateY(0);
    background: #fff;
    opacity: 1;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1), background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.25s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
    border-bottom: 1px solid #eee;
}


    #header-wrap.at-top {
        transform: translateY(0);
        background: #fff;
        box-shadow: none;
    }

    
    #header-wrap.hide {
        transform: translateY(-120%);
        opacity: 0;
    }

    #header-wrap.show-fixed {
        transform: translateY(0);
        opacity: 1;
        background: #fff;
        box-shadow: 0 8px 25px rgba(0,0,0,.08);
    }

#header-spacer {
    height: 120px !important;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#options-body {
    position: absolute;
    background-color: #efefef;
    top: 100%;
    height: 0;
    width: calc(300px + 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 2000;
}

    #options-body.active {
        height: 4rem; 
    }

#option-search {
    display: inline-flex;
    background-color: rgb(255, 255, 255);
    width: 285px;
    height: 100% !important;
    padding-inline-start: 0.5rem;
    font-size: 0.91rem;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 0px 2px 2px;
    text-align: right;
    z-index: 200;
    color: black;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    outline: 0px;
    margin: 0px;
}

.dropdown-body .search-box > form > button {
    display: inline-grid;
    place-items: center;
    height: 2.8rem;
    width: 2.8rem;
    border: none;
    outline: 0;
    margin-right: 2px;
    box-shadow: 0 0 2px 2px rgb(0 0 0 / .19);
}

    .dropdown-body .search-box > form > button:hover {
        box-shadow: 0 0 2px 2px rgb(0 0 0 / .4);
    }

input:not([type=checkbox]):not([type=radio]), select {
    min-height: 40px;
}
.nav-item {
    position: relative;
}

#header #mainMenu-trigger {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    height: 80px;
    z-index: 1;
}

    #header #mainMenu-trigger button {
        background: none;
        border: 0;
        padding: 17px;
    }

.nav-item > .nav-link,
.nav-item > a {
    display: inline-block;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

    .nav-item > a:hover {
        color: #c67d6c;
    }

.nav-arrow {
    margin-left: 6px;
}


.has-mega > .mega-panel {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: all 0.25s ease;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    display: flex;
    gap: 40px;
    box-shadow: 0 0 7px 0 rgb(0 0 0 / 57%);
    border-radius: 4px;
    z-index: 1000;
    direction: rtl;
}


.has-mega:hover > .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-row {
    display: flex;
    gap: 10px;
}


.mega-col {
    display: flex;
    flex-direction: column;
}


.mega-heading > a {
    order: -1;
    display: block;
    font-weight: 800;
    font-size: 16px !important;
    color: #ce877c !important;
    margin-bottom: 12px;
    text-decoration: none;
}

.mega-group {
    display: flex;
    flex-direction: column;
}

    .mega-group li a {
        font-size: 13px;
        color: #666;
        padding: 4px 0;
        display: block;
        text-decoration: none;
        transition: color 0.2s;
    }


        .mega-group li a:hover {
            color: #111;
        }


    .mega-group li {
        line-height: 1.6;
    }

.header {
    border-bottom: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.top-logo {
    flex-direction: column;
}

#top-search2 #searchform #searchTxt {
    display: inline-flex;
    background-color: #fff;
    width: 285px;
    padding-inline-start: .5rem;
    height: 100%;
    padding-inline-start: .5rem;
    border: none;
    outline: 0;
    font-size: .91rem;
    box-shadow: 0 0 2px 2px rgb(0 0 0 / .19);
    text-align: right;
    margin: 0;
    z-index: 200;
    color: black;
}

.header-inner {
    width: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    max-width: 1400px;
    margin: 0 auto;
}


.logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo img {
    max-width: 100px;
    height: auto;
}

.mono-brand {
    font-size: 13px;
    font-weight: bold;
    line-height: 1.1;
    color: #707070;
    font-weight: 400;
    width: 84px;
    position: relative;
    top: -8px;
}


.top-bar {
    display: flex;
    align-items: center;
    padding: 0px 24px;
}

.top-right a {
    margin-left: 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.logo img {
    height: 45px;
}

.icons {
    display: flex !important;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}


.main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 24px;
    border-top: 1px solid #eee;
}

    .main-menu ul {
        display: flex;
        /* gap: 47px; */
        white-space: nowrap;
        list-style: none;
        margin-bottom: 0px;
        direction: rtl;
    }

    .main-menu a {
        text-decoration: none;
        color: #252525;
        font-size: 15px;
        transition: all .3s ease;
    }


.shopping-cart-items {
    position: absolute;
    z-index: 1;
    background: #cba16d;
    border-radius: 50%;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    height: 13px;
    line-height: 10px;
    padding: 2px 4px;
    right: -6px;
    top: -6px;
    width: 13px
}

.shopping-cart-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 19px;
    background: #F5F5F5;
    border-radius: 50px;
}


.basketCounter {
    font-size: 14px;
    font-weight: 600;
    min-width: 16px;
    text-align: center;
}


.club-btn {
    background: #7a1d2f;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px !important;
}

    .club-btn svg {
        margin-left: 3px;
    }

.user-menu {
    position: relative;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    display: none;
    min-width: 160px;
}

.user-menu:hover .dropdown-list {
    display: block;
}

.list-entry {
    display: block;
    padding: 10px 14px;
    color: #28303F;
    text-decoration: none;
}


.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
    text-align: center;
}

    .mobile-menu a {
        padding: 14px;
        border-bottom: 1px solid #eee;
        text-decoration: none;
        color: #333;
    }




@media (min-width: 920px) {
    .fa-chevron-down:before {
        display: none;
    }
    .logo-mobile {
        display: none !important;
    }
    .mobile-only{
        display: none !important;
    }


}

@media (max-width: 991.98px) {

    .header-inner {
        width: 100%;
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        max-width: 1400px;
        margin: 0 auto;
    }

    .desktop-only {
        display: none !important;
    }

    .logo-mobile {
        display: block !important;
    }

    .mobile-only {
        display: block !important;
    }

    .header-mobile {
        padding: 0.75rem 1rem;
        background: #fff;
        position: relative;
        z-index: 1000;
    }

    .mobile-icons svg {
        cursor: pointer;
    }

    .hamburger-btn {
        font-size: 22px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .shopping-cart-link {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 0 !important;
        background: transparent !important;
        border-radius: 0px !important;
    }

    .logo-desktop {
        display: none !important;
    }

    .shopping-cart-text {
        display: none !important;
    }

    .nav-list {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        background: #fff;
        flex-direction: column;
        overflow: hidden;
        z-index: 1500;
        align-items: flex-start;
        padding: 0 20px;
        gap: 2px;
        transition: height 0.35s ease;
    }

        .nav-list.active {
            height: auto; 
            max-height: 80vh; 
            overflow-y: auto; 
        }

        .nav-list li {
            padding: 8px 0;
            text-align: right; 
        }

            .nav-list li a {
                display: block;
                padding-right: 15px;
                color: #000; 
                text-decoration: none; 
                font-weight: 500;
            }



    #mainMenu-trigger {
        width: 28px;
        height: 28px;
        position: relative;
        overflow: visible; 
    }

    .lines {
        position: relative;
        width: 18px;
        height: 2px;
        background: #000;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .lines-button {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center; 
        justify-content: center; 
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
    }

        .lines::before,
        .lines::after {
            content: '';
            position: absolute;
            left: 0;
            width: 100%;
            height: 2px;
            background: #000;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .lines::before {
            top: -6px ;
        }

        .lines::after {
            top: 6px ;
        }



    .lines-button.active .lines {
        background: transparent; 
    }

        .lines-button.active .lines::before {
            transform: rotate(45deg);
            top: -1px !important;  
        }

        .lines-button.active .lines::after {
            transform: rotate(-45deg);
            top: 6px !important; 
        }

    .has-mega:hover > .mega-panel {
        display: none !important;
    }

    .has-mega > .mega-panel {
        position: static;
        display: none; 
        padding: 0px 12px;
        margin: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .has-mega.active > .mega-panel {
        display: block !important;
    }

    .mega-row {
        display: block !important;
    }

    .mega-col {
        width: 100%;
    }

    .mega-panel li a {
        display: block;
        padding: 6px 0;
        font-size: 14px;
    }

    .mega-heading > a{
        margin-bottom: 0 !important;
    }

    .nav-arrow {
        font-size: 14px;
        padding: 10px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .has-mega {
        position: relative; 
        width: 100%;
        padding: 8px 12px;
    }

        .has-mega > .nav-link {
            display: inline-block;
            float: right; 
            text-align: right;
            max-width: calc(100% - 40px);
        }


        .has-mega > .nav-arrow {
            display: inline-block;
            float: left; 
            cursor: pointer;
        }


        .has-mega > .mega-panel {
            display: none;
            position: absolute; 
            top: 100%; 
            left: 0;
            width: 100%; 
            background: #fff;
            z-index: 1000;
        }



        .has-mega.active > .mega-panel {
            display: block !important;
        }


    #options-body {
        position: absolute;
        background-color: #efefef;
        top: 100%;
        height: 0;
        width: calc(300px + 4rem);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: height 0.3s ease;
        z-index: 2000;
    }
}
}


@media (max-width: 768px) {
    .top-right {
        display: none;
    }

    .main-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }
}
