/*MAIN STYLE CSS*/
body .ui-autocomplete {
    display: none !important;
}

#_desktop_search_widget {
    float: right;
    min-width: 16.5rem
}
.bonsearch_button.active {
    color: #089c9c;
}

.bonsearch { 
    transition: all .15s ease;
    color: #3a3a3a;
}
    #footer .bonsearch {
        margin-right: 12px;
    }
    #index #footer .bonsearch {
        margin-right: -209.5px;
    }

.bonsearch:hover,
 .bonsearch:focus {
    cursor: pointer;
    color: #089c9c;
}

.bonsearch #searchbox {
	display: flex;
	position: relative;
    z-index: 1039; /*1042;*/
	padding-right: 30px
}

.bonsearch #searchbox:after {
	content: '';
	display: block;
	height: 100%;
	width: 100%;
	background: #f6f6f6;
	position: absolute;
	top: 0;	
	z-index: -1
}

.bonsearch #input_search {
    min-width: 300px;
    height: 46px;
    border: none;
    background: transparent;
    padding: 5px 12px;
    font-size: 13px;
    color: #8a8888;
}

.bonsearch #input_search:focus {
    outline: none;
}

.bonsearch .search-form-button {
	width: 46px;
	height: 46px;
	position: absolute;
	right: 0;
	overflow: hidden;
    transition: all .15s ease;
}
.bonsearch .bonsearch_btn {
	background-color: #f6f6f6;
	cursor: pointer;
	height: 46px;
	width: 46px;
	border: none;
}

.bonsearch .bonsearch_btn:before {
	content: "\e032";
	font-family: "fl-outicons";
    font-size: 20px;
    font-weight: 500;
    color: #24b9d7;
	transform: translate3d(-50%, -50%, 0);	
}
.bonsearch .search-form-inner {   
    display: flex;
}

/* .bonsearch-microphone */
#bonsearch-popup-wrapper.modal {
	z-index: 1350;
    background: rgba(0, 0, 0, .8)
}

#bonsearch-popup-wrapper .modal-content .popup-close {
	width: 3px;
	right: 9px;
	padding: 0;
}

body:has(#bonsearch-popup-wrapper[style="display: block;"]) .modal-backdrop.in {
    display: none!important;
    visibility: hidden;    
}

#bonsearch-popup-wrapper .modal-dialog {
    min-width: 100%;
    margin: 0 auto;
}

#bonsearch-popup-wrapper .modal-content {
    max-width: 260px;
    align-items: center;
    translate: calc(50vW - 130px);
    border: none;
    border-radius: 0;
    background-color: transparent
}

#bonsearch-popup-wrapper .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(217, 217, 217, .922);
    border-radius: 5px 0;
}

#bonsearch-popup-wrapper .modal-body p {
	text-align: center;
	color: #232323;
	font-size: .825rem;
	width: 80%;
	margin: 0 auto
}

.bonsearch .bonsearch-microphone {
    border: none;
    padding: 0 11px;
    position: absolute;
    top: 0;
    right: 46px;
    display: flex;
    align-items: center;
    height: 46px;
    cursor: pointer;
    background-color: #f6f6f6;
}

.bonsearch .bonsearch-microphone:focus {
    outline: none;
}

.bonsearch .bonsearch-microphone i {
	color: #24b9d7;
	font-size: 22px;
	font-weight: 400;
}

.bonsearch .bonsearch-microphone:before {
    position: absolute;
    content: '';
    background-color: #dedede;
    width: 1px;
    height: 70%;
    left: 0;
    top: 15%;
}

@keyframes animate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes animate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.bonsearch-icon-speech.show::after {
    animation: animate 2s ease;
    animation-iteration-count: infinite;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 16px solid rgba(8, 156, 156, 0.5);
    position: absolute;
    content: '';
    z-index: -1;
}

.bonsearch-icon-speech.show {
    background-color: #089c9c;
}

.bonsearch-icon-speech {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #E84B3D;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0;
    position: relative;
    z-index: 3;
}

.bonsearch-icon-speech i {
    color: #fff;
    font-size: 24px;
}

.bonsearch-speek-text,
.bonsearch-error-text,
.bonsearch-unsupport-text {
    display: none;
}

.bonsearch-speek-text.show,
.bonsearch-error-text.show {
    display: block;
}

#search_popup {
	position: absolute;
    z-index: 1042;
	top: 51px;
	left: 0;    
	width: 444px;
    padding-left: 15px;
	background: rgba(247, 247, 247, .955);
	box-shadow: 0 2px 2px rgba(0,0,0,.033);
}
    html.dark #search_popup {
        background: rgb(255, 255, 255,.955);	
    }
#search_popup .wrap_item:after {
	content: '';
	display: block;
	height: 50px;
	width: 5px;
	background: rgba(247, 247, 247, .955);
	position: absolute;
	top: 0;
	right: -2px;
	z-index: -1;
	transform: matrix(1,0,-.08,1,0,0);
	transform-origin: center;
}
    html.dark #search_popup .wrap_item:after {
        background: rgb(255, 255, 255, .955);
    }

#search_popup a,
 #header #search_popup a:hover {
     color: #8d8d8d
}

.bonsearch .reference,
 #search_popup .search_info .price {
    margin-bottom: .215rem;
    display: block;
    font-weight: 500;
    font-size: .975rem;
    color: #99c6d0; 
}

.bonsearch .reference span {
    color: #232323
}

#search_popup .wrap_item {
    padding: 15px 0;
}

#search_popup .wrap_item h6 {	
	font-size: .875rem;
    font-weight: 500;
	line-height: 1.5em;
    color: #232323;
	margin: 0;	
}

#search_popup .wrap_item .product_image {
    overflow: hidden;
    display: block;
    min-height: 90px;
    margin-bottom: 15px;
}

#search_popup .wrap_item .product_image img:hover {
    opacity: .7;
}

#search_popup .wrap_item .product_image h5:hover {
	text-indent: 2px;
	transform: rotate(-1.2deg);
	transform-origin: center;
}

#search_popup .wrap_item .product_image:last-child {
    margin: 0;
}

#search_popup .search_img {
    float: left;
    width: 70px;
    margin-right: 12px;
}

#search_popup .search_info {
	float: left;
	width: 217px;
	padding-left: .7rem;
	border-left: 1px solid;
	border-image: linear-gradient(180deg, #d8d8e3 70%, transparent 30%) 1;
}

#search_popup .search_img img {
    max-width: 100%;
    height: auto;
    transition: all .15s ease;
    background: #fafafa;
}

#search_popup .search_info h5 {
    font-size: .975rem;
    font-weight: 500;
    color: #232323;  
    margin-bottom: 8px;
    transition: all .15s ease;
}


/*Responsive part*/
@media (max-width: 991px) {

    #header .header-top .position-static #_desktop_search_widget {
        margin-top: 8px;
    }

    #search_popup {
        width: 407px;
        padding-left: 10px;
    }

    .search-form-inner {
        display: flex;
    }

    .wrap_item {
        padding: 10px 0;
    }

    #search_popup .wrap_item .product_image {
        margin-bottom: 10px;
    }

}

@media (max-width: 767px) {
    #bonsearch-popup-wrapper .modal-content {
        margin: 0 auto;
    }

    #header .header-top .position-static #_desktop_search_widget {
        margin-top: 18px;
    }

    .bon-search-icon i {
        font-size: 25px;
    }

    .bon-search-icon:hover i {
        color: #089c9c;
    }

    .bon-search-icon {
        cursor: pointer;
    }

    #_desktop_search_widget.active {
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .bonsearch #input_search {
        width: 220px}
    
    .bonsearch .bonsearch_btn {
        background-color: transparent}   
    
    #header .header-top .position-static #_desktop_search_widget {
	    margin-right: 6px}
    
    .bonsearch #searchbox:after {
        transform: skewX(-15deg)}
    
    #search_popup {
	    left: -6px;
        width: 308px}
    
    body#checkout #header .header-top {
        padding: 0;
        max-height: 0}
    body#checkout #_desktop_search_widget {
        display: none}
}

@media (max-width:575px) {

}
