/*!
Theme Name: Elmich old backup 1
Theme URI: https://elmich.vn/
Author: TiLu
Author URI: https://elmich.vn/
Description: Start theme by TiLu - Elmich
Version: 1.0.1
Text Domain: gnws
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


/* Alignments
--------------------------------------------- */

img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

.gnws-no_post_found {
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

body:not(.home) #header {
    padding-top: 0;
}

.th_menu__primary>li>.sub-menu>li>a {
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
    border-top: 1px solid #e3e3e3;
    padding: 10px 0;
    border-bottom: 1px solid #e3e3e3;
    text-transform: uppercase;
}

.home .gd_header_bottom {
    z-index: 9!important;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.reg_button.active {
    width: auto;
    cursor: pointer;
}

body .bic_p__detail-price p {
    display: inline-block;
    margin: 0;
}

body .bic_p__detail-price .price,
body .bic_p__detail-price .price span {
    color: #e91d29;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.5rem;
   
}
@media(max-width:767px){
   body .bic_p__detail-price .price,
body .bic_p__detail-price .price span {
    
    font-size: 1.2rem;
   
} 
}

.none-product-absolute .bic_p__content {
    position: relative;
    opacity: 1;
    background: #fff0;
    padding: 1rem 1rem 0;
}

.bic_p__content .price,
.bic_p__content .price span {
    color: #232323;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
}

.bct-prodPrice .price,
.bct-prodPrice .price span {
    color: #232323;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}

.th_menu__primary a:hover {
    color: #fff;
}

.gnws-product_content .bic_p__content>.mb-3>a:not(.bic_p__title) {
    display: none;
}

.slider-homepage .swiper-slide-contents {
    background: rgba(26, 26, 26, 0.7);
    padding: 3rem;
}

body .elmich_grid_product .bic_p__image {
    height: unset;
}

body .elmich_grid_product .bic_p__button {
    display: none;
}

body .elmich_grid_product .bic_p__image img {
    object-fit: contain;
}

body .elmich_grid_product .none-product-absolute .bic_p__content {
    text-align: center;
    ;
}

.mt-30 {
    margin-top: 30px
}

body .e-con>.e-con-inner {
    max-width: 1540px;
}

.elmich_icon:hover {
    box-shadow: 0 0 10px #b9b9b9;
    cursor: pointer;
}

.elmich_icon {
    padding: 10px;
    border-radius: 10px;
}

body .elmich_icon:hover p {
    color: #ec1f24!important;
}

body .elmcih_category img {
/*    height: calc(258 / 375 * (var(--content-size) / 4)); */
    width: 100%;
    object-fit: cover;
}

body .elmich_blog img {
    border-radius: 30px;
    width: 100%;
    object-fit: cover;
    height: calc(300 / 450 * (var(--content-size) / 3));
}

.elmich_blog p.elementor-image-box-title {
    position: absolute;
    width: calc(100% - 20px);
    left: 10px;
    bottom: 10px;
    padding: 1rem;
    outline: 1px solid #fff;
    outline-offset: -8px;
    background-color: #ed2024c9;
    color: #fff;
    font-size: 1.125rem;
    transition: 0.4s;
    opacity: 0;
    transform: translateY(2rem);
    border-radius: 10px;
}

.elmich_blog .elmich_icon {
    box-shadow: none;
}

.elmich_blog .elmich_icon:hover .elementor-image-box-title {
    transform: none;
    opacity: 1;
    color: #fff;
}

.elmich_blog p.elementor-image-box-title a {
    color: #fff;
}


/*#endregion */

.xt_woovs-attribute-value {
    display: none!important;
}

form.variations_form table.variations tr td.label {
    font-weight: bold;
}

body .xt_woovs-single-product .xt_woovs-swatches .swatch.swatch-label {
    height: 40px;
    line-height: 40px;
}

body .reset_variations.xt_woovs-reset-visible {
    display: none!important;
}

.gnws-product_content :is(.add_to_cart_button, button),
.gnws-product_content .variations .xt_woovs-swatches .swatch-label {
    display: none!important;
}

body .xt_woovs-archives-product .xt_woovs-swatches .swatch.swatch-image {
    width: 50px;
}

.fillter__popup .widget-title {
    margin-bottom: 10px;
}

.stock.out-of-stock {
    display: none;
}

.gnws-product_content td.label {
    display: none;
}

.header__middle-menu ul.sub-menu {
    display: none;
    position: absolute;
    right: 0;
    z-index: 9;
    background: #fff;
    color: #333;
    box-shadow: 1px 4px 5px 0px #6c6c6c;
    min-width: max-content;
    padding: 10px;
}

.header__middle-menu li:hover>ul.sub-menu {
    display: block;
}

.header__middle-menu ul.sub-menu li {
    margin: 10px 20px;
}

.header__middle-menu li {
    position: relative;
}

.header__middle-menu ul.sub-menu a {
    color: #333;
    margin-bottom: 10px;
    display: block;
    text-align: left;
    margin-right: 0;
}

.header__middle-menu ul.sub-menu a:hover {
    color: #e91d29;
}

body .elmcih_category * {
    padding: 0
}

body .elmcih_category .elmich_icon {
    box-shadow: none;
}

:is(.elementor-swiper-button-prev, .elementor-swiper-button-next) i {
    width: 2.5rem;
    height: 5.125rem;
    background-image: url(assets/images/arrow_left.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    cursor: pointer;
    font-size: 0;
}

.bic_p__item:first-child.col-lg-3 {
    height: unset;
}

.elementor-widget-reviews .elementor-main-swiper,
.elementor-widget-testimonial-carousel .elementor-main-swiper {
    width: 100%;
}

.elementor-swiper-button-next i {
    transform: rotateZ(180deg);
}

.header__middle .header__middle-menu li.menu-item-has-children::after {
    position: absolute;
    content: "";
    font-family: "Font Awesome 5 Pro";
    font-weight: bold;
    right: -10px;
    top: 8px;
    transform: translateY(-50%);
    color: #fff;
    z-index: 0;
}

.woocommerce .widget_price_filter .ui-slider-horizontal {
    margin-top: 20px;
}

.widget_product_search input#woocommerce-product-search-field-0 {
    line-height: 40px;
    padding-left: 12px;
    border-radius: 12px;
    border: none;
    width: 100%;
}

.widget_product_search form.woocommerce-product-search {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    position: relative;
}

.widget_product_search button {
    position: absolute;
    height: 100%;
    width: 3rem;
    background-color: transparent;
    border: none;
    right: 0px;
    background-image: url(assets/images/loupe.png);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    font-size: 0;
}

.mw-500 {
    max-width: 400px;
    margin-left: auto;
}

.woocommerce .woocommerce-ordering {
    margin: 0;
    width: max-content;
    margin-right: 25px;
}

.big_search_order .bic_search__filter.soft select {
    max-width: unset;
}

.swiper-slide-contents:empty {
    display: none!important;
}

@media (min-width: 992px) {
    .mw-236px {
        min-width: 236px;
    }
}

@media (max-width: 992px) {
    .bic_p__title .bic_text {
        font-size: 0.6rem;
    }
}

@media (max-width: 992px) {
    body .widget-area .widget {
        margin-bottom: 1rem;
    }
    body .elmcih_category img,
    body .elmich_blog img {
        height: 200px;
    }
    .widget-area_product>.widget.widget_layered_nav .woocommerce-widget-layered-nav-list {
        display: none;
    }
    .widget-area_product>.widget.widget_layered_nav.active .woocommerce-widget-layered-nav-list {
        display: block;
    }
    .widget-area_product>.widget.widget_layered_nav h2.widget-title {
        position: relative;
    }
    .widget-area_product>.widget.widget_layered_nav h2.widget-title::after {
        position: absolute;
        content: "";
        font-family: "Font Awesome 5 Pro";
        font-weight: bold;
        right: 0;
        top: 0;
        color: #fff;
        z-index: 0;
        width: 50px;
        height: 100%;
        text-align: center;
        line-height: 35px;
    }
    .widget-area_product>.widget.widget_layered_nav.active h2.widget-title::after {
        rotate: 180deg;
    }
    .widget-area_product>.widget.widget_layered_nav {
        margin-bottom: 0;
    }
    .widget-area_product>.widget.widget_layered_nav .widget-title {
        border-radius: 0;
    }
    .widget-area_product>.widget.widget_layered_nav {
        margin-bottom: 0;
        border-bottom: 1px solid #ccc;
    }
    .big_search_order .bic_search__filter.soft select {
        width: 80%;
        top: 0
    }
}

@media (min-width: 576px) {
    body :is(.elementor-section-wrap, body [data-elementor-id])>.e-con:not(.e-con-full) {
        max-width: 540px
    }
}

@media (min-width: 768px) {
    body :is(.elementor-section-wrap, body [data-elementor-id])>.e-con:not(.e-con-full) {
        max-width: 720px
    }
}

@media (min-width: 992px) {
    body :is(.elementor-section-wrap, body [data-elementor-id])>.e-con:not(.e-con-full) {
        max-width: 960px
    }
}

@media (min-width: 1200px) {
    body :is(.elementor-section-wrap, body [data-elementor-id])>.e-con:not(.e-con-full) {
        max-width: 1140px
    }
}

@media (min-width: 1400px) {
    body :is(.elementor-section-wrap, body [data-elementor-id])>.e-con:not(.e-con-full) {
        max-width: 1300px
    }
}

@media (min-width: 1500px) {
    body :is(.elementor-section-wrap, body [data-elementor-id])>.e-con:not(.e-con-full) {
        max-width: 1400px
    }
}

@media (min-width: 1600px) {
    body :is(.elementor-section-wrap, body [data-elementor-id])>.e-con:not(.e-con-full) {
        max-width: 1570px
    }
}

.elementor-2 .elementor-element .swiper-slide-contents {
    min-width: max-content;
}

#load_article.related .bic_post__item {
    margin-bottom: 30px;
}

.form__contact-single .wpcf7-blockquote {
    background: #efefef;
    padding: 20px 10px;
    border-radius: 10px;
    margin: 10px 0;
    font-weight: 700;
}

.form__contact-single .wpcf7-submit {
    background: #ed2024;
    border: navajowhite;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

.form__contact-single .wpcf7-submit:hover {
    background: #be1A1D;
}

.form__contact-single .wpcf7-form-control-wrap {
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 768px) {
    body .gd_logo img {
        height: 30px;
        object-fit: contain;
    }
    .product-info-top {
        padding-top: 0!important;
    }
}

.elmich_icon {
    height: 100%;
}

body .slider-homepage>.elementor-widget-container {
    background: #fff0!important;
}

@media (min-width: 768px) {
    body .slider-homepage>.elementor-widget-container>.elementor-swiper {
        border-radius: 20px;
        overflow: hidden;
    }
	.header__middle-menu {
    z-index: 9;
}
}

body :is(.slider-homepage, .elmich_cauchuyen) .elementor-swiper-button {
    background: 50% rgba(101, 101, 108, .54);
    width: 3rem;
    height: 3rem;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.elmcih_category .elementor-testimonial__footer {
    display: none;
}

span.wpcf7-spinner {
    position: absolute;
}

.elmich_icon.elmich_icon2 img {
    height: 50px;
    width: auto;
    object-fit: contain;
}
@media (max-width: 768px) {
h6.elementor-heading-title.elementor-size-xl {
    font-size: 20px!important;
}
}

.bic_product_shortinfo .woocommerce-variation-price {
    display: none;
}

.elmich-breadcrumb {
	margin-top: 20px;
	color: #666666;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    text-align: left;
}
.elmich-breadcrumb > a {
    color: #666666;
}

.elmich-breadcrumb .rank-math-breadcrumb a, 
.elmich-breadcrumb .rank-math-breadcrumb span {
	color: #666666;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
}

.location_store_page {
	padding-top: 30px;
}

.location_store_page .content_location {
	padding-top: 60px;
}

.location_store_page .content_location .store-number .number-item {
	position: relative;
}

.location_store_page .content_location .store-number .number-item .text-item {
	position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    padding-left: 50px;
    color: #fff;
	transform: translateY(-50%);
}

.location_store_page .content_location .store-number .number-item .text-item .number {
	font-size: 48px;
	font-weight: 600;
	line-height: 1;

}

.location_store_page .content_location .store-number .number-item .text-item .text {
	font-size: 14px;
	font-weight: 600;
	line-height: 22px;
}

.location_store_page .content_location .store-list {
	padding-top: 30px;
}

.location_store_page .content_location .store-list .store-list-left .select-city-wrapper .custom-select {
	border: 1px solid #E4E4E4;
	border-radius: 16px;
	height: 48px;
	line-height: 46px;
	padding: 0 25px;
	margin-bottom: 10px;
	outline: none;
    box-shadow: none;
}

.location_store_page .content_location .store-list .store-list-left .list-items {
    padding: 25px 15px 17px;
    border: 1px solid #E4E4E4;
    border-radius: 16px;
	max-height: 530px;
    overflow-y: auto;
}

.location_store_page .content_location .store-list .store-list-left .list-items .item {
    border-radius: 16px;
	background: #F3F6FA;
	padding: 15px;
	margin-bottom: 8px;
	font-size: 14px;
    line-height: 22px;
	cursor: pointer;
}

.location_store_page .content_location .store-list .store-list-left .list-items .item.active {
    background: #FF283B;
	color: #fff;
}

.location_store_page .content_location .store-list .store-list-right .box__map {
	position: relative;
    width: 100%;
    padding-top: 82.8%;
}

.location_store_page .content_location .store-list .store-list-right .box__map iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.location_store_page .content_location .store-number .row,
.location_store_page .content_location .store-list .row {
	margin: 0 -12px;
}
.location_store_page .content_location .store-number .row .item, 
.location_store_page .content_location .store-list .row .col-md-4 {
	padding: 0 12px;
}
@media (max-width: 1199px) {
	.location_store_page .content_location {
		padding-top: 30px;
	}
	.location_store_page .content_location .store-number .number-item .text-item {
		padding-left: 20px;
	}
	.location_store_page .content_location .store-number .number-item .text-item .number {
		font-size: 26px;
	}
	.location_store_page .content_location .store-list .store-list-left .select-city-wrapper .custom-select {
		border-radius: 12px;
		height: 38px;
		line-height: 36px;
		padding: 0 15px;
	}

	.location_store_page .content_location .store-list .store-list-left .list-items {
		padding: 15px 10px 7px;
		max-height: 395px;
	}
	.location_store_page .content_location .store-list .store-list-left .list-items .item {
		padding: 10px;
	}
	.location_store_page .content_location .store-list .store-list-right {
		margin-top: 24px;
	}
	.location_store_page .content_location .store-number .row {
		    overflow: auto;
			white-space: nowrap;
			display: inline-block !important;
			-ms-overflow-style: none;
			scrollbar-width: none;
	}
}

@media (max-width: 767px) {
	.location_store_page .content_location .store-number .row {
		overflow: auto;
		white-space: nowrap;
		display: inline-block !important;
		-ms-overflow-style: none;
		scrollbar-width: none;
		margin: 0 -4px;
	}
	.location_store_page .content_location .store-number .row .item {
		display: inline-block;
		max-width: 45%;
		white-space: normal;
		padding: 0 4px;
	}
	.location_store_page .content_location .store-number .number-item .text-item .number {
		font-size: 18px;
	}
	.location_store_page .content_location .store-number .number-item .text-item .text {
		font-size: 12px;
	}
	.location_store_page .content_location .store-number .number-item .text-item {
        padding-left: 12px;
    }
}

.elmich_product_tem.row {
	margin: 0 -12px;
}
.elmich_product_tem .elmich_product_grid {
	padding: 0 12px;
}
.elmich_product_grid .bic_p__inner {
	border: 1px solid #E4E4E4;
	border-radius: 16px;
}

.elmich_product_grid .bic_p__inner .bic_p__image {
	border-radius: 16px;
}

.elmich_product_grid .bic_p__title .bic_text {
	font-weight: 700;
	line-height: 22px;
	height: 44px;
}
.elmich_product_grid .bic_p__content .price span {
	font-size: 14px;
	font-weight: 500;
}

.elmich_title_cat {
	font-size: 32px;
	font-weight: 700;
	color: #232323;
}
.elmich_child_cat .elmich_child_title {
	position: relative;
	color: #232323;
	font-size: 24px;
	font-weight: 700;
	padding-left: 35px;
}
.elmich_child_cat .elmich_child_title a {
	color: #232323;
}
.elmich_child_cat .elmich_child_title:before {
	content: "";
	background: linear-gradient(90deg, #E1081B 0%, #FF283B 100%);
	width: 16px;
	height: 16px;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.elmich_product_grid .bic_p__content .bottom-info {
	display: flex;
	justify-content: center;
}

.elmich_product_grid .bic_p__content .bottom-info .product-tag {
	margin-left: 10px;
	border: 1px solid #FF283B;
	border-radius: 8px;
	border-bottom-left-radius: 0;
	padding: 0 8px;
	font-size: 12px;
	color: #FF283B;
	height: 22px;
	line-height: 20px;
}

.product-category .elmich-head-page {
	display: flex;
    justify-content: space-between;
	margin: 20px 0 50px;
}

.product-category .elmich-head-page .item-tag {
    display: inline-block;
}
.product-category .elmich-head-page .item-tag a {
	height: 38px;
	padding: 0 15px;
	color: #232323;
	font-size: 14px;
	line-height: 36px;
	border: 1px solid #E4E4E4;
	border-radius: 20px;
	font-weight: 500;
	display: block;
}
.product-category .elmich-head-page .item-tag.active a,
.product-category .elmich-head-page .item-tag a:hover {
	color: #FF283B;
	border-color: #FF283B;
}

.product-category .elmich-head-page .item-tag:not(:first-child) {
    margin-left: 24px;
}

@media (max-width: 767px) {
	.product-category .elmich-head-page {
    	flex-direction: column;
		margin: 20px 0;
	}
	.product-category .elmich-head-page .elmich_title_cat {
		font-size: 18px;
	}
	.product-category .elmich-head-page .filter-tag {
		margin-top: 15px;
		overflow: auto;
		white-space: nowrap;
		display: inline-block !important;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
	.product-category .elmich-head-page .item-tag:not(:first-child) {
		margin-left: 8px;
	}
	.elmich_child_cat .elmich_child_title {
		font-size: 16px;
		line-height: 24px;
	}
	.elmich_product_tem.row {
		margin: 0 -7px;
	}
	.elmich_product_tem .elmich_product_grid {
		padding: 0 7px;
		margin-bottom: 14px;
	}
}
.bic_p__image {
    position: relative;
    overflow: hidden;
    border-radius: 20px!important;
}

.bic_p__image img {
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.bic_p__image img.secondary-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.bic_p__image:hover img.secondary-image {
    opacity: 1;
}

.bic_p__image:hover img.primary-image {
    opacity: 0;
}
.bic_p__item img {
    border-radius: 20px!important;
}