/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*----------------------------------------
GLOBAL STYLES 
----------------------------------------*/

.l-main a:hover:not(.w-btn):not(.button) {
    text-decoration: underline;
}


.l-header {
	transition: border-bottom 0.3s ease;
	border-bottom: 1px solid #FFF;
}

.l-header.sticky {
	border-bottom: 1px solid #EFEFEF;
}

.l-header .l-subheader.at_bottom {
	border-top: 1px solid #EFEFEF;
	position: fixed;
	bottom: 0;
	bottom: env(safe-area-inset-bottom);
	width: 100%;
}

.l-header .l-subheader.at_bottom .w-btn {
	width: 100%;
}

.l-header .user-initials {
	border: 1px solid #5C7787;
	border-radius: 4px;
	padding: 0.74rem;
	line-height: 1;
}

.heading h1 {
	font-size: var(--h2-font-size, inherit);
	margin-bottom: 2rem;
	position: relative;
}

.heading h1:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 64px;
    height: 6px;
    background-image: url(assets/heading-underline.svg);
    transform: translateX(-50%);
    background-size: 100% 100%;
}

.heading h2 {
	position: relative;
	margin-bottom: 2.8rem;
}

.heading h2:after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -12px;
	width: 64px;
	height: 6px;
	background-image: url(assets/heading-underline.svg);
	transform: translateX(-50%);
	background-size: 100% 100%;
}

.wpcf7-form label {
	line-height: 12px;
	color: #102D3E;
	font-size: 12px;
}

.wpcf7-form p {
	margin-bottom: 1rem;
}

.wpcf7-form .wpcf7-form-control-wrap {
	margin-top: 0.25rem;
}

.wpcf7-form textarea {
	margin-bottom: 0.75rem;
	resize: none;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1.5em 0em 1em !important;
}

.w-btn.us-btn-style_2.back {
	padding-left: 2rem !important;
	position: relative;
	width: max-content;
} 

.w-btn.us-btn-style_2.back:after {
	content: "";
	position: absolute;
	left: 1rem;
	top: 50%;
	width: 6px;
	height: 11px;
	background-image: url(assets/chevron-left.svg);
	transform: translate(0,-50%);
	transition: transform 0.3s;
} 

.w-btn.us-btn-style_2.back:hover:after {
	transform: translate(-2px,-50%);
}

.woocommerce .quantity input.qty {
	border-radius: 0 10px 0 10px;
	line-height: 1.2rem;
    min-height: 41.5px;
}

.w-btn.us-btn-style_4 {
	text-align: left;
}

.w-btn.us-btn-style_4 .w-btn-label {
	padding: 0 2rem 0 0;
	position: relative;
	display: block;
}

.w-btn.us-btn-style_4 .w-btn-label:after {
	content: "";
	position: absolute;
	right: 0;
	top: 2px;
	width: 18px;
	height: 18px;
	background-image: url(assets/download-icon.svg);
	background-size: 100% 100%;
}

/* Product grid */

.w-grid-item.type-product .w-grid-item-h {
	border-radius: 8px 40px 8px 40px;
}

.w-grid-item.type-product .post_image {
    border-bottom-right-radius: 40px;
	z-index: 10;
}

.w-grid-item.type-product .w-vwrapper {
	padding: 0.75rem 1.25rem 1rem; 
}

.w-grid-item.type-product .w-vwrapper:before {
	content: "";
	position: absolute;
	left: 0;
	top: -40px;
	width: 100%;
	height: 40px;
}

.w-grid-item.type-product .post_title {
	font-size: 1.25rem;
	font-weight: 600;
}

.w-grid-item.type-product a {
	transition: none;
}

.w-grid-item.type-product .price {
	font-size: 1.75rem;
	font-weight: 600;
	color: #102D3E;
}

.w-grid-item.type-product .w-btn-wrapper,
.w-grid-item.type-product .w-btn {
    opacity: 0; 
    display: block; 
    transition: opacity 0.2s ease;
}

.w-grid-item.type-product .w-grid-item-h .w-vwrapper {
	transition: margin-bottom 0.4s ease; 
    margin-bottom: -40px; 
    position: relative; 
}

.w-grid-item.type-product .w-grid-item-h:hover .w-vwrapper {
	background-color: #1B714E;
    margin-bottom: 0; 
}

.w-grid-item.type-product .w-grid-item-h:hover .w-vwrapper:before {
	background-color: #1B714E;
}

.w-grid-item.type-product .w-grid-item-h:hover .w-vwrapper .post_title a,
.w-grid-item.type-product .w-grid-item-h:hover .w-vwrapper .w-text,
.w-grid-item.type-product .w-grid-item-h:hover .w-vwrapper .price  {
	color: #fff;
}

.w-grid-item.type-product:hover .w-btn-wrapper,
.w-grid-item.type-product:hover .w-btn {
    opacity: 1; 
}

/* Product carousel */

.owl-carousel.navstyle_circle .owl-nav button {
	border: 1px solid #5C7787;
	background: #fff;
	height: 2.5rem;
    width: 2.5rem;
}

.dotstyle_circle .owl-dot span {
	border: 1px solid #fff;
	background: none;
	width: 12px;
	height: 12px;
	opacity: 1;
}

.dotstyle_circle .owl-dot.active span {
	background: #fff !important;
	border-radius: 12px;
    box-shadow: none;
    width: 40px;
}

@media (min-width: 520px) {	
	.w-btn.us-btn-style_4 .w-btn-label:before {
		content: "";
		position: absolute;
		left: 0;
		top: -1px;
		width: 24px;
		height: 24px;
		background-image: url(assets/pdf-icon.svg);
		background-size: 100% 100%;
	}
	.w-btn.us-btn-style_4 .w-btn-label {
		padding-left: 2.2rem;
	}
}

@media (min-width: 800px) {
	.heading h1 {
		margin-bottom: 2.5rem;
	}
	.heading h1:after {
        left: 0;
        transform: translateX(0);
    }
}

/*----------------------------------------
FRONT PAGE
----------------------------------------*/

.hero-section h1 {
	margin-bottom: 1rem;
}

.hero-section h2 {
	margin-bottom: 2.5rem;
	font-size: 1.15rem;
	line-height: 1.2;
	font-weight: 500;
	color: #305468;
}

.features-section .w-iconbox {
	background-color: #fff;
	border-radius: 40px 0px;
	padding: 2rem;
}

.frontpage-products-grid .heading h2 {
	color: #fff;
}

.frontpage-products-grid .heading h2:after {
	background-image: url(assets/heading-underline-white.svg);
}

.frontpage-products-grid .w-grid {
	margin-bottom: 2rem;
}

.frontpage-products-grid .w-grid-list .owl-stage {
	align-items: baseline;
}

.about-us-section .w-image-h {
	border-radius: 40px 0px;
}

.about-us-section .g-cols.wpb_row:not(:last-child) {
	margin-bottom: 2.5rem;
}

.contact-us-section .g-cols.vc_row {
	background: #fff;
}

.contact-us-section a {
	color: #102D3E
}

.contact-us-section .w-iconbox.iconpos_left .w-iconbox-icon {
	margin-right: 0.7rem;
}

.contact-us-section .w-iconbox .w-iconbox-link {
	display: flex;
	align-content: center;
}

.contact-us-section .w-iconbox .w-iconbox-link {
	margin-bottom: 1.5rem;
}

.login-section .w-image-h {
    border-radius: 40px 0px;
	max-width: 590px;
}

.login-section .w-form.for_login {
	max-width: 430px;
}

.login-section .w-form-row.for_submit {
	flex-direction: column-reverse;
	display: inline-flex;
	margin-top: 0.5rem;
}

.login-section .w-form-row.for_submit .w-btn {
	width: max-content;
	margin-top: 1.5rem;
}

@media (max-width: 599px) {
	.header_hor .l-header.pos_fixed~.l-main>.l-section:first-of-type>.l-section-h {
		padding-top: 80px;
	}
	.w-btn-wrapper .w-btn,
	.wpcf7-submit.w-btn,
	.w-btn-wrapper {
		width: 100%;
	}
	.contact-us-section .g-cols.wpb_row .vc_column_container:last-child:after {
		bottom: -0.5rem;
	}
}

@media (max-width: 700px) {
	.l-footer .w-hwrapper {
		flex-direction: column;
	}
	.l-footer .w-hwrapper>:not(:last-child) {
		margin-bottom: 1rem;
		--hwrapper-gap: 0;
	}
}

@media (max-width: 799px) {
	.hero-section h1,
	.hero-section h2,
	.heading h2 {
		text-align: center;
	}
	.hero-section .l-section-h {
		padding-bottom: 1rem;
	}
	.hero-section .w-btn-wrapper {
		display: flex;
		justify-content: center;
	}
	.features-section .l-section-h {
		padding: 1rem 0 1rem;
	}
	.features-section .w-iconbox {
		margin-bottom: 1rem;
		width: 100%;
	}
	.features-section .w-hwrapper {
		flex-wrap: wrap;
	}
	.about-us-section .l-section-h {
		padding-top: 1rem;
	}
	.contact-us-section .l-section-img {
		display: none;
	}
	.contact-us-section .g-cols.wpb_row .vc_column_container:last-child:after {
		content: "";
		position: absolute;
		left: 0;
		bottom: -1.2rem;
		width: 100%;
		height: 1px;
		background-color: #EFEFEF;
	}
	.l-footer .l-section-h {
		padding: 1rem 0 1rem;
	}
}

@media (min-width: 800px) {
	.hero-section h1 {
		margin-bottom: 0.75rem;
	}
	.heading h2 {
		margin-bottom: 3.3rem;
	}
	.heading h2:after {
		left: 0;
		transform: translateX(0);
	}
	.features-section .w-hwrapper {
		display: flex;
		align-items: stretch;
	}
	.features-section .w-iconbox {
		width: 33.33%;
	}
	.frontpage-products-grid .w-grid {
		margin-bottom: 4rem;
	}
	.about-us-section .g-cols.wpb_row {
		margin-bottom: 2.5rem;
	}
	.contact-us-section .g-cols.vc_row {
		border: 1px solid #EFEFEF;
		border-radius: 40px 0px;
		padding: 3.75rem;
	}
	.contact-us-section .g-cols.vc_row > .wpb_column:after {
		content: "";
		position: absolute;
		left: 50%;
		top: 0;
		height: 100%;
		width: 1px;
		background-color: #EFEFEF;
	}
	.contact-us-section .wpcf7-form {
		max-width: 520px;
		margin: 0 auto;
	}
	.login-section .wpb_column:nth-child(2) > .vc_column-inner {
		display: flex;
    	flex-direction: column;
    	height: 100%;
	}
	.login-section .wpb_column:nth-child(2) > .vc_column-inner .w-btn-wrapper {
		align-self: flex-start;
	}
	.login-section .wpb_column:nth-child(2) > .vc_column-inner .w-vwrapper {
		margin: auto 0;
	}
}

@media (min-width: 1000px) {
	.contact-us-section .g-cols.vc_row {
		padding: 3.75rem;
	}
}

/*----------------------------------------
PRODUCTS CATALOG
----------------------------------------*/

.products-catalog-section h1 {
	font-size: var(--h2-font-size, inherit);
	margin-bottom: 2rem;
	position: relative;
}

.products-catalog-section h1:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 64px;
    height: 6px;
    background-image: url(assets/heading-underline.svg);
    transform: translateX(-50%);
    background-size: 100% 100%;
}

.products-catalog-section .w-grid-list {
	align-items: baseline;
}

@media (min-width: 800px) {
	.products-catalog-section h1 {
	margin-bottom: 3.3rem;
	}
	.products-catalog-section h1:after {
		left: 0;
        transform: translateX(0);
	}
}


/*----------------------------------------
PRODUCT PAGE
----------------------------------------*/

.product-header {
	padding-bottom: 0rem !important;
} 

.product-main-section {
	padding-top: 2.5rem !important;
	padding-bottom: 2rem !important;
}

.woocommerce-product-gallery > .flex-viewport {
	border: 1px solid #EFEFEF;
    border-radius: 40px 0px;
}

.woocommerce-product-gallery li img {
	border-radius: 0 20px 0 20px;
	border: 1px solid #EFEFEF;
}

.woocommerce-product-gallery li img.flex-active {
	border-color: #5C7787;
}

.single-product .post_title {
	font-size: 1.5rem;
}

.single-product .post-excerpt {
	margin-bottom: 1.5rem;
}

.single-product .post-excerpt ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	margin-left: 0;
}

.single-product .post-excerpt li {
	border-radius: 0 16px 0 16px;
	background-color: #EFEFEF;
	padding: 0.4rem 1.1rem;
	margin-bottom: 0.5rem;
	color: #102D3E;
}

.single-product .post-excerpt li:not(:last-child) {
	margin-right: 0.5rem;
}

.single-product .price {
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
	font-weight: 600;
	color: #102D3E;
}

.single-product .product-content-section h2 {
	margin-bottom: 1.5rem;
	font-size: 1.25rem;
}

.single-product .product-content-section h3 {
	margin-bottom: 0.5rem;
	font-size: 1.15rem;
}

.product-content-section .post_content section {
	padding-top: 1.1rem !important;
	padding-bottom: 1.1rem !important;
}

.product-content-section .wpb_text_column {
	margin-bottom: 0.5rem;
}

.product-content-section .iconbox-row {
	margin-top: 1rem;
}

.product-content-section .iconbox-row .wpb_column,
.product-content-section .iconbox-row .vc_column-inner,
.product-content-section .iconbox-row .w-iconbox {
	height: 100%;
}

.product-content-section .iconbox-row .w-iconbox-icon {
	display: none;
}

.product-content-section .iconbox-row .w-iconbox-icon {
	display: none;
}

.product-content-section .iconbox-row .w-iconbox {
	border-radius: 0 20px 0 20px;
	background-color: #FAFAFA;
	padding: 1.25rem;
}

.product-content-section .iconbox-row .w-iconbox-title {
	font-size: 1rem;
}

.product-content-section .ingredients-section .w-html {
	border: 1px solid #5C7787;
	border-radius: 20px;
}

.product-content-section .nutrition-table thead th {
	border-radius: 20px 20px 0 0;
    background-color: #EFEFEF;
	padding: 1rem 1.5rem;
	color: #102D3E;
}

.product-content-section .nutrition-table tbody td {
	padding: 1rem 1.5rem;
	border-bottom: none;
}

.product-content-section .nutrition-table tbody tr:nth-child(even) td {
	background-color: #FAFAFA;
}

.product-content-section .nutrition-table tbody td:last-child {
	color: #102D3E;
}

.product-content-section .ingredients-section .w-iconbox {
	display: flex;
    flex-direction: column;
    gap: 0.5rem;
	background-color: #5C7787;
	margin-top: 1.75rem;
	border-radius: 20px;
	padding: 1.5rem;
}

.product-content-section .ingredients-section .w-iconbox h4,
.product-content-section .ingredients-section .w-iconbox p {
	color: #fff;
}

@media (min-width: 500px) AND (max-width: 799px) {
	.product-content-section .ingredients-section .w-iconbox {
		flex-direction: row;
    	gap: 1.5rem;
	}
	.product-content-section .ingredients-section .w-iconbox .w-iconbox-meta {
		text-align: left;
	}
}

@media (min-width: 800px) {
	.product-content-section .post_content section {
		padding-top: 1.4rem !important;
		padding-bottom: 1.4rem !important;
	}

	.product-content-section .post_content section:last-child {
		padding-bottom: 5rem !important;
	}
}

@media (min-width: 1050px) {
	.product-main-section .vc_row.via_grid {
		grid-template-columns: 40% 60%;
	}
	.product-content-section .ingredients-section .w-iconbox {
		flex-direction: row;
    	gap: 1.5rem;
	}
	.product-content-section .ingredients-section .w-iconbox .w-iconbox-meta {
		text-align: left;
	}
}


/*----------------------------------------
CART AND CHECKOUT
----------------------------------------*/

.header_hor .l-header.pos_fixed:not(.down)~.l-main .cart-collaterals, 
.header_hor .l-header.pos_fixed:not(.down)~.l-main .woocommerce-checkout #order_review {
	top: calc(var(--header-sticky-height) + 4rem);
}

.woocommerce-notices-wrapper .woocommerce-message {
	background-color: #EFEFEF;
    color: #102D3E;
}

.woocommerce-notices-wrapper .woocommerce-message a {
	text-decoration: underline;
}

.cart_totals .woocommerce-shipping-destination {
	display: none;
}

/*----------------------------------------
MY ACCOUNT
----------------------------------------*/

.woocommerce-MyAccount-navigation {
	padding: 0.75rem 0 0.75rem;
	border: 1px solid #EFEFEF;
    border-radius: 8px;
}

.woocommerce>.woocommerce-MyAccount-navigation li {
	padding: 0.5rem 0;
	margin-bottom: 0;
}


.woocommerce>.woocommerce-MyAccount-navigation li a {
	padding-left: 1rem;
}

.woocommerce>.woocommerce-MyAccount-navigation li.is-active {
	background-color: #EFEFEF;
}

.woocommerce>.woocommerce-MyAccount-navigation li.is-active a {
	font-weight: 400;
	color: #102D3E;
}