/*
	Theme Name: Smart Home Child
	Theme URI: https://smarthome.fuelthemes.net
	Description: <strong>A fast &amp; optimized WooCommerce WordPress Theme by <a href="https://fuelthemes.net" target="_blank">fuelthemes</a></strong>
	Version: 1.0.2
	template: smart-home
*/


img.current_language_flag {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 100px
}


.other-language.dialog-prevent-scroll {
	overflow: scroll !important;
}

#popup-wpml-language li:not(:has(a)) {
    display: none;
}

#popup-wpml-language li a {
    height: 70px;
    padding: .5rem 1rem;
    -webkit-box-shadow: 0 .1px .6px rgba(0,0,0,.01),0 .3px 1.5px rgba(0,0,0,.01),0 .5px 2.9px rgba(0,0,0,.02),0 .9px 5.1px rgba(0,0,0,.02),0 1.7px 9.6px rgba(0,0,0,.02),0 4px 23px rgba(0,0,0,.03);
    -moz-box-shadow: 0 .1px .6px rgba(0,0,0,.01),0 .3px 1.5px rgba(0,0,0,.01),0 .5px 2.9px rgba(0,0,0,.02),0 .9px 5.1px rgba(0,0,0,.02),0 1.7px 9.6px rgba(0,0,0,.02),0 4px 23px rgba(0,0,0,.03);
    box-shadow: 0 .1px .6px rgba(0,0,0,.01),0 .3px 1.5px rgba(0,0,0,.01),0 .5px 2.9px rgba(0,0,0,.02),0 .9px 5.1px rgba(0,0,0,.02),0 1.7px 9.6px rgba(0,0,0,.02),0 4px 23px rgba(0,0,0,.03);
    gap: 15px;
    border-radius: 15px;
    display: flex!important;
    margin: 10px;
    align-items: center;
}

#popup-wpml-language li a:hover {
    transition: .4s cubic-bezier(.04,0,.2,1);
}

span.icl_lang_sel_bracket {
    display: none;
}

span.icl_lang_sel_translated {
    font-size: 14px;
    width: 100%;
    display: block;
}


#popup-wpml-language ul {
    display: grid;
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
    grid-auto-columns: 1fr;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 10px;
}


@media (min-width: 768px) and (max-width: 1199.98px) {
    #popup-wpml-language ul {
        grid-template-columns: 1fr 1fr !important;
    }
}


@media (max-width: 768px) {
    #popup-wpml-language ul {
        grid-template-columns: 1fr !important;
    }
}


#popup-wpml-language li img {
    width: 28px;
    height: 28px;
    border-radius: 100px;
    object-fit: cover;
}

#popup-wpml-language li .icl_lang_sel_native {
    font-weight: 500;
    font-size: 16px;
}

#popup-wpml-language a {
    color: #000;
}

.post-282576 #popup-wpml-language {
  	margin: auto;
    margin-bottom: 80px;
    order: 2;
}

.post-282576 .small-12.columns {
    display: grid;
}


@media (max-width: 1067px) {
	.post-282576 #popup-wpml-language {
	    min-width: -webkit-fill-available;
	}
}

.contained_block.wp-block-group.eplus-wrapper.is-layout-flow.wp-block-group-is-layout-flow.eplus-styles-uid-55c990 {
    order: 1;
}

#popup-wpml-language ul li a:hover {
    transform: scale(1.02);
    box-shadow: var(--box-shadow-block-hover);
}

#popup-wpml-language ul {
    display: grid;
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
    grid-auto-columns: 1fr;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 10px;
}

#popup-wpml-language li img {
    width: 28px;
    height: 28px;
    border-radius: 100px;
    object-fit: cover;
}

#popup-wpml-language li .icl_lang_sel_native {
    font-weight: 500;
    font-size: 16px;
}

.blackfriday-label {
	display: none;
} 

footer#footer .button:lang(fi) {
	font-size: 15px;
}

.menu-item a[href$="/black-friday/"] {
	color: #fd2186 !important;
}


.lang-fi #billing_postcode_field.form-row-first, #shipping_postcode_field.form-row-first, #billing_postcode_field.form-row-last, #shipping_postcode_field.form-row-last {
	width: 100%;
}

.lang-fi .woocommerce form .form-row.form-row-first, .woocommerce-page .form-row.form-row-first {
	padding-right: 0;
}

@media screen and (max-width: 799px) { 
	
	.blackfriday-label {
		margin-top: -15px;
	}

	.header-usps::after, .header-usps::before {
		content: unset !important;
	}

	.blackfriday-label {
		text-align: center;
		background: #fd2186;
		display: flex;
		justify-content: center;
		height: 60px;
		align-items: center;
		margin-bottom: 0;
		position: absolute;
		width: 100%;
		z-index: 2;
	}
	
	.blackfriday-label a {
		color: white;
		font-weight: 500;
		font-family: 'poppins';
	}
}

@media (max-width: 1068px) {

	.header-usps .row  {
		margin-left: 0;
	}
}

/* CSS Black Friday */


.header-wrapper .header {
	padding-left: 15px;
	padding-right: 15px;
}

.bundle_sells_title {
	display: none !important;
}

.header-usps {
	background-color: #ECF5E9;
	justify-content: center;
	display: flex;
	align-items: center !important;
	height: 60px;
	padding-top: 15px;
	padding-bottom: 15px;
	overflow: hidden;
}

.header-usps .icon  {
	height: 20px;
	margin-top: -4px;
	margin-right: 10px;
}


.extrainfo {
	background: #ecf5e9;
	width: 100%;
	padding: 20px;
	z-index: 10;
	margin-top: -35px;	
	font-size: 16px;
	border-radius: 0 0 16px 16px;
}


.header-usps .columns {
	width: 1400px !important;
}

.header-usps .row.align-middle {
	max-width: 100% !important;
}

.header-usps .list-inline {
	list-style: none;
	justify-content: space-between;
	padding: 0;
	margin: 0;
	font-size: 14px;
	width: 1400px;
}

.header-usps .list-inline li:last-child {
	padding: 0;
}

.header-usps .list-inline li p {
	color: #000;
	display: inline-block;
	margin: 0;
}

.header-usps .list-inline li:last-child {
	padding-right: 0;
}

.cross-sells h2 {
	display: none;
}

.cross-sells .thb-product-inner-content h2 {
	display: block;
}

.woocommerce-cart img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
	width: 80px !important;
}

.cart-message {
	font-size: 14px !important;
	background: #ecf5e9;
	padding: 20px !important;
	border-radius: 10px;
	line-height: 20px;
	margin-bottom: 60px;
}

.cart-message.count-items2 {
	display: none !important;
}

.cart-message.count-items3 {
	display: none !important;
}

.cart-message.count-items4 {
	display: none !important;
}

.cart-message.count-items5 {
	display: none !important;
}

.cart-message.count-items6 {
	display: none !important;
}

.usps-desktop {
	display: none !important;
}

.usps-mobile {
	display: flex !important;
}


.swiper-backface-hidden .swiper-slide {
	align-items: center;
}

.swiper-free-mode>.swiper-wrapper {
	transition-timing-function: ease;
}


.bundle_form.bundle_sells_form {
	display: none !important;
}

.swiper-slide {
	display: inherit !important;
	justify-content: center;
}

.swiper-button-next:after, .swiper-button-prev:after {
	color: #9ab193 !important;
	font-size: 20px;
	width: 60px;
	height: 60px;
	position: absolute;
	top: 0;
	text-align: center;
	justify-content: center;
	bottom: 0;
	align-items: center;
	display: flex;
}

.swiper-button-next, .swiper-button-prev {
	z-index: 100;
	height: 60px;
	margin: 0;
	top: 0;
}


.swiper-button-prev {
	left: 0;
	background: rgb(236,245,233);
	background: linear-gradient(273deg, rgba(236,245,233,0) 0%, rgba(236,245,233,1) 100%);
}

.swiper-button-next {
	right: 0;
	background: rgb(236,245,233);
	background: linear-gradient(90deg, rgba(236,245,233,0) 0%, rgba(236,245,233,1) 100%);	
}


@media screen and (max-width: 799px) { 
	
	
	.swiper-slide p {
		margin: 0;
		font-size: 14px;
	}
	
	.header-usps {
		margin-top: 13px;
	}
	
	
	.header .header-logo-row {
		padding: 14px 0!important;
	}
	
	
	.header-usps::before {
		content: '';
		position: absolute;
		left: 0;
		z-index: 0;
		height: 60px;
		width: 100px;
		background: rgb(236,245,233);
		background: linear-gradient(273deg, rgba(236,245,233,0) 0%, rgba(236,245,233,1) 100%);
	}
	
	.header-usps::after {
		content: '';
		position: absolute;
		right: 0;
		z-index: 0;
		height: 60px;
		width: 100px;		
		background: rgb(236,245,233);
		background: linear-gradient(273deg, rgba(236,245,233,1) 0%, rgba(236,245,233,0) 100%);
	}
	
	.header-usps .row {
		max-width: 100% !important;
	}
	
	.header-usps .icon {
		margin-top: 0;
	}
	
	
	.usps-mobile {
		display: none !important;
	}
	
	
	.usps-desktop {
		display: grid !important;
	}
	
	.swiper.mySwiper {
		align-items: center;
		height: 30px;
	}
	
	.mySwiper .swiper-wrapper {
		text-align: center;
		margin: auto;
	}
	
	
	.extrainfo {
		border-radius: 16px !important;
	}
	
	
	
	.thb-product-detail .woocommerce-product-gallery {
		padding-bottom: 60px;
	}
	
}

@media screen and (min-width: 790px) and (max-width: 1410px) {
	
	.header-usps .icon {
		margin-top: -3px;
	}
	
	.swiper-wrapper {
		justify-content: center;
		height: 60px;
	}

	.thb-product-detail .woocommerce-product-gallery {
		padding-bottom: 60px;
	}
	
	.header-usps {
		margin-top: 10px;
	}
	
	.header .header-logo-row {
		padding: 14px 0!important;
	}
		
	
	.swiper-backface-hidden .swiper-slide {
		text-align: center;
	}
	
	.swiper-slide {
		font-size: 14px !important;
	}
	
	.swiper-slide p {
		margin: 0;
		font-size: 14px;
	}
	.swiper-slide {
		z-index: -5;
	}
	
	
	.header-usps::before {
		content: '';
		position: absolute;
		left: 0;
		z-index: 0;
		height: 60px;
		width: 100px;
		background: rgb(236,245,233);
		background: linear-gradient(273deg, rgba(236,245,233,0) 0%, rgba(236,245,233,1) 100%);
	}
	
	.header-usps::after {
		content: '';
		position: absolute;
		right: 0;
		z-index: 0;
		height: 60px;
		width: 100px;		
		background: rgb(236,245,233);
		background: linear-gradient(273deg, rgba(236,245,233,1) 0%, rgba(236,245,233,0) 100%);
	}
 
	.usps-mobile {
		display: none !important;
	}
	
	.usps-desktop {
		display: block !important;
	}
}



