.main_menu_wrap{
	position: fixed;
	top: 2px;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	z-index: 99;
	}
.main_menu{
	display: grid;
	gap: 1rem;
	grid: 3rem / 20rem auto 3rem;
	justify-items: center;
	align-content: center;
	align-items: center;
	}
.logo{
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 1.6rem;
    background: linear-gradient(135deg, var(--blue_1), var(--orange_1));
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    width: calc(100% - 3.2rem);
    justify-content: center;
	}
.logo .icon{
    width: 2rem;
    height: 2rem;
    background: radial-gradient(circle, var(--orange_2), var(--orange_1));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
	}
.user_button{
	background: url("/media/images/user.webp") center center no-repeat;
	background-size: cover;
    border-radius: 1.5rem;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    width: 2.8rem;
    height: 2.8rem;
	}

.menu_button{
    height: 2.5rem;
    width: 3rem;
    background: linear-gradient(135deg, var(--blue_1), var(--orange_1));
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    grid-area: 1/1 / 3/2;
    cursor: pointer;
    display: grid;
    grid: repeat(3, 10px) / auto;
    justify-content: center;
    align-items: center;
    align-content: center;
    }
.menu_button span{
    height: 4px;
    border-radius: 2px;
    width: 2rem;
    background-color: #fff;
    }

.small_menu_wrap{
    display: none;
    position: relative;
    }
#small_menu{
    z-index: 1000;
    display: none;  
    width: var(--content_width_m);
    position: fixed;
    top:3.5rem;
    left: 0.5rem;
    padding: 0.5rem;
    background-color: var(--orange_gray);
    display: grid;
    grid: auto / auto auto;
    transform: scale(0);
    transform-origin: top left;
    transition: all .4s ease;
    border-radius: 5px;
    box-shadow: 0 0 10px #000;
    box-sizing: border-box;
    }
.small_menu_links{
    margin-right: 0.5rem;
    padding-right: 0.5rem;
    }   
.small_menu_links a{
    display: block;
    font-size: 1.1rem;
    padding: 0.2rem;
    color: #fff;
    }
.small_menu_links a:hover{
    color: #eee;
    }

.search{
    width: 100%;
    background: linear-gradient(135deg, var(--blue_1), var(--orange_1));
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    height: 2.8rem;
    position: relative;
    }
.search form{
    width: 100%;
    height: 100%;
    }
.search input{
    background-color: #fff;
    width: calc(100% - 9.9rem);
    height: 1.6rem;
    text-align: left;
    margin: 0.4rem 0 0.4rem 0.4rem;
    padding: 0.3rem 0.2rem 0.1rem 0.2rem;
    border: none;
    font-size: 1rem;
    border-radius: 5px;
    }
.search input[type=submit], #search_filter{
    margin: 0.4rem 0.4rem 0.4rem 0;
    float: right;
    background-color: #fff; 
    text-align: center;
    font-weight:600;
    font-size: 1rem;
    }
#search_filter{
    display: none;
    height: 1.6rem;
    line-height: 1.6rem;
    padding: 0.3rem 0.2rem 0.1rem 0.2rem;
    width: 4.5rem;
    cursor: pointer;
    background-color: #fff; 
    }
.search input[type=submit]{
    height: 2rem;
    padding: 0.3rem 0.2rem 0.1rem 1.7rem;
    width: 8rem;
    background: url("/media/images/search_button.png") 0.4rem center no-repeat;
    background-size: 1.2rem 1.2rem;
    background-color: #fff; 
    border-radius: 5px;
    }

#ac_searchdiv{
    color: #000;
    top:calc(3rem - 1px);
    left: 0px;
    width:calc(100% - 2px);
    background-color: #fff;
    border: var(--blue_1) solid 1px;
    border-radius: 5px;
    position:absolute;
    z-index:20;
    display:none;
    overflow:hidden;
    }
#ac_select{
    border:none;
    position: relative;
    padding: 0.2rem;
    margin: 0;
    width: calc(100% - 0.4rem);
    }
#ac_select li{
    cursor:pointer;
    display:block;
    clear: both;
    white-space: nowrap;
    font-size:0.9rem;
    width: 100%;
    padding: 0.2rem 0 0.2rem 0;
    }
#ac_select li:hover, #ac_select li:focus{
    background:var(--blue_1);
    outline: none;
    color: #fff;
    }
#ac_select .header{
    font-weight: bold;
    }
#ac_select .header:hover{
    background: initial;
    color: #000;
    }

.category_menu_wrap, .category_menu_wrap_small{
    position: relative;
    display: flex;
    align-items: center;
    }
.category_menu_wrap_small{
    display: none;
    }
#category_list_small_wrap{
    z-index: 300;
    display: none;  
    position: absolute;
    top:-0.5rem;
    left: -0.5rem;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: all .4s ease;
    max-width: 100vw;
    height: 100vh;
    background-color: var(--orange_gray);
    }
.category_list_header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3rem;
    color: #fff;
    border-bottom: 1px solid #fff;
    }
.category_list_header .close, .category_list_header .back, .category_slider_categories .next{
    font-size: 2rem;
    font-weight: 300;
    padding: 0.5rem 1rem 0 1rem;
    cursor: pointer;
    }
.category_slider_categories .next{
    padding: 0 0 0 0.5rem;
    font-size: 1.6rem;
    }
#category_slider_wrap{
    max-width: 100%;
    width: 28rem;
    height: calc(100% - 3rem);
    overflow: hidden;
    color: #fff;
    }
.category_slider{
    display: flex;
    height: 100%;
    transition: all .4s ease;
    flex-direction: row !important;
    }
.category_slider a{
    line-height: 1.6rem;
    color: #fff;
    }
.category_slider .category_slider_categories{
    width: calc(100% - 1.7rem);
    min-width: calc(100% - 1.7rem);
    padding: 0.5rem 1.2rem 0.5rem 0.5rem;
    display: none;
    overflow-y: scroll;
    }
.category_slider .level_0{
    display: block;
    }
.category_slider .category{
    display: flex;
    justify-content: space-between;
    }
.category_slider .other{
    margin-top: 0.5rem;
    border-top: 1px solid #fff;
    padding-top: 0.5rem;
    }
.category_slider .other a{
    font-size: 1.1rem;
    font-weight: bold;
    }
.category_list h3{
    margin:0;
    }
.category_list a{
    display: flex;
    align-items: center;
    font-size:0.8rem;
    font-weight: normal;
    }
.category_list .tt_image{
    height: auto;
    max-height: 24px;
    max-width: 24px;
    }
.category_list .tt_image_box{
    text-align: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-right: 0.4rem;
    background-color: #000;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    }
.category_list a:hover .tt_image_box{
    background-color:var(--light_blue_1);
    }
.category_list a:hover{ 
    color:var(--light_blue_1);
    }

#category_list_wrap{
    border-top: 1px solid #000;
    z-index: 300;
    display: none;  
    position: absolute;
    top:2.5rem;
    left: -0.5rem;
    padding: 0 0.5rem;
    display: flex;
    transform: scale(0);
    transform-origin: top left;
    transition: all .4s ease;
    background-color: #fff;
    width: 17.5rem;
    }
#category_list_wrap{
    height: calc(400px + 2.65rem);
    }
#category_menu_bck, #category_menu_bck_small{
    background-color: rgba(0, 0, 0, 0.0);
    position: fixed;
    z-index: 300;
    display: none;  
    top:3.25rem;
    left: 0;
    width: 100%;
    height: 100%;
    transition: background-color 0.4s ease;
    }
 #category_menu_bck_small{
    top:0;
    }
.fade-in{
    background-color: rgba(0, 0, 0, 0.6) !important;
    }
.fade-out{
    background-color: rgba(0, 0, 0, 0) !important;
    }

.category_menu_links{
    margin-right: 0.5rem;
    padding-right: 0.5rem;
    }   
.category_menu_links a{
    display: block;
    font-size: 1.1rem;
    padding: 0.2rem;
    }

@media(max-width:63rem){
    .category_menu_wrap_small{
        display: initial;
        }
    .category_menu_wrap{
        display: none;
        }

     #cart_info,  #cart_info_mini{
        display: none;
        }
     #cart_info_mini{
        display: block;
        }
    .header_main{
        grid: auto / repeat(5, auto);
        }

    .header_main .menu_button{
        width: 2.2rem;
        border: none;
        padding: 0;
        grid: repeat(3, 0.6rem) / auto;
        }

    .header_main .search{
        grid-area: 2/1 / 3/6;
        }

    .header_main .hide_on_small{
        display: none;
        }
    }