/* WooCommerce pages */
#content .woocommerce {
	margin-bottom: 3rem;
	margin-top: 3rem;
}
#content > .product {
	margin-top: 3rem;
}
h1.product-title {
	font-weight: 600;
}
#content .product .woocommerce {
	margin-top: 0;
}
.woocommerce-page #main > .row:first-child {
	margin-top: 2rem;
}
.woocommerce-checkout .woocommerce-checkout {
	margin-bottom: 3rem;
	margin-top: 1rem;
}
.woocommerce-order {
	margin-bottom: 3rem;
	margin-top: 3rem;
}



/* My account */

.woocommerce-MyAccount-navigation ul {
	list-style-type: none;
}



/* Cart, checkout */
#customer_details {
	margin-bottom: 3rem;
}
label + span.woocommerce-input-wrapper {
	width: 100%;
	display: block;
	float: left;
}
.cart-link #cart-count {
	color: #29235c;
	font-size: 1rem;
	font-style: normal;
	font-weight: 300;
}
#coupon_code {
	padding: 8px 15px;
	width: 100% !important;
	max-width: 180px;
	margin-right: 1rem;
}
.woocommerce form.checkout_coupon #coupon_code {
	padding: 14px 15px;
}
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
	border: 1px solid #29235c;
	padding: 20px;
	margin: 2em 0;
	text-align: left;
}
.woocommerce form.checkout_coupon.woocommerce-form-coupon .form-row-first,
.woocommerce form.checkout_coupon.woocommerce-form-coupon .form-row-last {
	float: left;
	width: auto;
}
.woocommerce table.shop_table td {
	white-space: nowrap;
}
.woocommerce table.shop_table td.product-name {
	white-space: nowrap;
}
.woocommerce table.shop_table thead,
.woocommerce table.shop_table tfoot {
	background: #f5f5f5;
}
.woocommerce table.shop_table tr:nth-child(2n) {
	text-align: left;
	border-collapse: separate;
	background-color: transparent;
}
.woocommerce table.shop_table tr.cart_item:hover {
	background-color: rgba(245, 245, 245, 0.6);
}
.woocommerce table.shop_table tbody th, 
.woocommerce table.shop_table tfoot td, 
.woocommerce table.shop_table tfoot th {
	white-space: nowrap;
}
.woocommerce table.shop_table tfoot td {
	font-weight: 400;
	width: 100%;
}
#add_payment_method #payment, 
.woocommerce-cart #payment, 
.woocommerce-checkout #payment {
	background: #f5f5f5;
}
#add_payment_method #payment div.payment_box, 
.woocommerce-cart #payment div.payment_box, 
.woocommerce-checkout #payment div.payment_box {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	padding: 1em;
	margin: 1em 0;
	font-size: .92em;
	line-height: 1.5;
	background-color: #ddd;
	color: #08476b;
	float: left;
}
#add_payment_method #payment div.payment_box::before, 
.woocommerce-cart #payment div.payment_box::before, 
.woocommerce-checkout #payment div.payment_box::before {
	content: '';
	display: block;
	border: 1em solid #ddd;
	border-right-color: transparent;
	border-left-color: transparent;
	border-top-color: transparent;
	position: absolute;
	top: -.75em;
	left: 0;
	margin: -1em 0 0 2em;
}
#add_payment_method #payment ul.payment_methods, 
.woocommerce-cart #payment ul.payment_methods, 
.woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 1px solid #ddd;
}
#add_payment_method #payment ul.payment_methods li input, 
.woocommerce-cart #payment ul.payment_methods li input, 
.woocommerce-checkout #payment ul.payment_methods li input {
	margin: 0 1em 0 0;
}
.woocommerce form .form-row.woocommerce-validated.woocommerce-invalid .select2-container, 
.woocommerce form .form-row.woocommerce-validated.woocommerce-invalid input.input-text, 
.woocommerce form .form-row.woocommerce-validated.woocommerce-invalid select {
	border-color: #a00;
}
#vat_number_field strong {
	font-weight: normal;
}
.woocommerce-cart-form__cart-item.cart_item div.quantity {
	display: inline-block;
}
.woocommerce-cart-form__cart-item.cart_item div.quantity input.qty {
	margin-right: 0;
}

/* Notices, messages */
.cart .woocommerce-notices-wrapper {
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
	position: relative;
	right: 50%;
	width: 100vw;
}
.woocommerce-notices-wrapper ul {
	padding: 2rem 1rem 3rem;
}
.woocommerce-notices-wrapper ul li {
}
.woocommerce-message {
	display: flex;
	/*justify-content: center;*/
	align-items: center;
}
.woocommerce-error, 
.woocommerce-info, 
.woocommerce-message {
	padding: 1em 2em 1em 2.5em;
	margin: 0 auto;
	position: relative;
	background-color: transparent;
	color: #404040;
	border-top: 0;
	list-style: none outside;
	width: 100%;
	word-wrap: break-word;
	max-width: 100rem;
}
.woocommerce-message {
	border-top-color: #29235c ;
}
.woocommerce-error::before, 
.woocommerce-info::before, 
.woocommerce-message::before {
	float: left;
	position: relative;
	top: 0;
	left: -1em;
}
.woocommerce .woocommerce-error .button, 
.woocommerce .woocommerce-info .button, 
.woocommerce .woocommerce-message .button, 
.woocommerce-page .woocommerce-error .button, 
.woocommerce-page .woocommerce-info .button, 
.woocommerce-page .woocommerce-message .button {
	margin-left: auto;
}

/* Products, archive & single */
.woocommerce ul.products li.product .price {
	color: #1c1c1c;
	font-weight: 400;
	font-size: .857em;
}
.post-type-archive-product.woocommerce div.product {
	margin-bottom: 0;
	margin-top: 0;
	position: relative;
}
.woocommerce div.product .product-info {
	padding: 1.5rem 1.5rem 2rem;
}
h2.woocommerce-loop-product__title {
	font-size: 1.2375rem;
	margin-bottom: 0.5rem;
	margin-top: 0.5rem;
}
.woocommerce div.product .product_title {
	margin-bottom: 0.5rem;
}
.woocommerce-product-details__short-description {
	margin-bottom: 2rem;
}
.sku_wrapper {
	font-size: 0.8375rem;
}
a.product-read-more {
	color: #29235c ;
	font-weight: 700;
	text-transform: uppercase;
}
.woocommerce .upsells {
	margin: 0 0 2em;
	padding: 0 1.5rem 1rem;
}

/* Star rating, comments */
.woocommerce .star-rating {
	float: none;
	margin-bottom: 1rem;
}
/*.woocommerce .comment-text > div:first-child {
	line-height: 0;
}*/
.woocommerce .comment-text > div:first-child img {
	margin-right: 5px;
	padding-top: 6px;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
	margin: 0 0 0 0;
	border: 1px solid #e4e1e3;
	padding: 1em 1em 0;
}

/* Product images, slick slider */
.woocommerce-product-gallery__image {
	border: 3px solid transparent;
}
.woocommerce div.product .product-images {
	height: 0;
	padding-bottom: 100%;
	position: relative;
}
.woocommerce div.product.product-small .product-images {
	height: 0;
	padding-bottom: 70%;
	position: relative;
}
.woocommerce .product-images .slick {
	height: 100%;
	position: absolute;
	width: 100%;
}
.woocommerce .product-images .slick-arrow {
	top: 50%;
	position: absolute;
	transform: translateY(-50%);
	z-index: 50;
}
.woocommerce .product-images .slick-arrow.slick-prev {
	left: 1rem;
}
.woocommerce .product-images .slick-arrow.slick-next {
	right: 1rem;
}
.woocommerce .product-images .slick .slick-slide {
	display: block;
	float: left;
	height: 100%;
	min-height: 100%;
	width: 100%;
}
.woocommerce .product-images .slick .slick-slide > div {
}
.slide-content {
	background-size: contain;
	background-position: 50%;
	background-repeat: no-repeat;
	height: 0;
	width: 100%;
	padding-bottom: 100%;
}
.product-small .slide-content {
	width: 70%;
	padding-bottom: 70%;
	margin-left: auto;
	margin-right: auto;
}
.slide-content:hover {
	cursor: zoom-in;
}

/* Fancybox */
.fancybox-navigation .fancybox-button--arrow_left,
.fancybox-navigation .fancybox-button--arrow_right {
	padding: 0;
}
.fancybox-navigation .fancybox-button {
	height: auto;
	width: auto;
}
.fancybox-button svg {
	height: 24px;
	width: auto;
}
.fancybox-content {
	width: 600px;
	max-width: 80%;
}

/* Price */
.woocommerce div.product p.price, 
.woocommerce div.product span.price {
	color: #29235c ;
	font-weight: 700;
	margin-bottom: 0;
}
.woocommerce div.product.product-small p.price, 
.woocommerce div.product.product-small span.price {
	margin-bottom: 1.5rem;
}
.woocommerce div.product span.price {
	font-weight: 400;
	font-size: .857em;
	height: 2.5rem;
	display: inline-block;
	width: 100%;
}
.woocommerce div.product p.price span.tax-info {
	color: #404040;
	font-weight: 400;
	font-size: .6em;
	display: inline-block;
	padding-left: 0.5rem;
}
.woocommerce div.product span.price > span {
	padding: 0.5rem;
}
span.leasing_price_eur {
	color: #29235c ;
	font-size: 110%;
	font-weight: 700;
}
.woocommerce span.onsale {
	min-height: 3.236em;
	min-width: 3.236em;
	padding: 0;
	font-weight: 700;
	position: absolute;
	text-align: center;
	line-height: 3.236;
	margin: 0;
	border-radius: 100%;
	background-color: #29235c ;
	color: #fff;
	font-size: 1em;
	z-index: 9;
}
span.leasing_price {
	font-size: 1rem;
	margin: 1rem 0 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid #eee;
	display: block;
}
#leasing-info-link {
	background-image: url(https://puhujatori.fi/wp-content/themes/puhujatorifi/img/icon-info.svg?v=1);
	background-position: center left;
	background-repeat: no-repeat;
	background-size: 1rem;
	display: inline-block;
	padding-left: 1.5rem;
}

/* Tabs */
.woocommerce .products ul, 
.woocommerce ul.products {
	display: inline-block;
	width: 100%;
}
.woocommerce-tabs.wc-tabs-wrapper {
	margin-top: 2rem;
}
.woocommerce div.product .woocommerce-tabs .panel {
	margin: 0 0 2em;
	padding: 0 1.5rem 1rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
	border: 0;
	padding-left: 0.5em;
	border-top: 0;
	width: 100%;
	float: left;
	margin-right: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background-color: rgba(0,0,0,.05);
	display: inline-block;
	margin: 0 0.25em -1px 0;
	border-bottom: 0;
	padding: 0;
	position: relative;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background-color: #fff;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	/*border: 1px solid rgba(0,0,0,.1);*/
	color: #888;
	display: block;
	padding: 0.5em 1em;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: #1b1b1b;
}

/* Forms, buttons */
.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button {
	background-color: #29235c;
	border: 2px solid #29235c;
	border-radius: 8px;
	box-shadow: 0;
	cursor: pointer;
	color: #fff;
	font-size: 1.25rem;
	font-weight: 600;
	display: inline-block;
	line-height: 1.25;
	letter-spacing: 0.05rem;
	padding: 0.55em 2em;
	position: relative;
	text-align: center;
	text-decoration: none;
	transition: all .25s ease-in-out;
	vertical-align: middle;
	-webkit-font-smoothing: antialiased;
}
.woocommerce #respond input#submit:hover, 
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover {
	background-color: #1e1b4c;
	border: 2px solid #1e1b4c;
    color: #fff;
}
.woocommerce #respond input#submit.alt, 
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt {
    background-color: #29235c;
    border: 2px solid #29235c;
    color: #fff;
}
.woocommerce #respond input#submit.alt:hover, 
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover {
	background-color: #1e1b4c;
	border: 2px solid #1e1b4c;
	color: #fff;
}
.woocommerce #respond input#submit.alt.disabled, 
.woocommerce #respond input#submit.alt.disabled:hover, 
.woocommerce #respond input#submit.alt:disabled, 
.woocommerce #respond input#submit.alt:disabled:hover, 
.woocommerce #respond input#submit.alt:disabled[disabled], 
.woocommerce #respond input#submit.alt:disabled[disabled]:hover, 
.woocommerce a.button.alt.disabled, 
.woocommerce a.button.alt.disabled:hover, 
.woocommerce a.button.alt:disabled, 
.woocommerce a.button.alt:disabled:hover, 
.woocommerce a.button.alt:disabled[disabled], 
.woocommerce a.button.alt:disabled[disabled]:hover, 
.woocommerce button.button.alt.disabled, 
.woocommerce button.button.alt.disabled:hover, 
.woocommerce button.button.alt:disabled, 
.woocommerce button.button.alt:disabled:hover, 
.woocommerce button.button.alt:disabled[disabled], 
.woocommerce button.button.alt:disabled[disabled]:hover, 
.woocommerce input.button.alt.disabled, 
.woocommerce input.button.alt.disabled:hover, 
.woocommerce input.button.alt:disabled, 
.woocommerce input.button.alt:disabled:hover, 
.woocommerce input.button.alt:disabled[disabled], 
.woocommerce input.button.alt:disabled[disabled]:hover,
.woocommerce #respond input#submit.disabled, 
.woocommerce #respond input#submit:disabled, 
.woocommerce #respond input#submit:disabled[disabled], 
.woocommerce a.button.disabled, .woocommerce a.button:disabled, 
.woocommerce a.button:disabled[disabled], 
.woocommerce button.button.disabled, 
.woocommerce button.button:disabled, 
.woocommerce button.button:disabled[disabled], 
.woocommerce input.button.disabled, 
.woocommerce input.button:disabled, 
.woocommerce input.button:disabled[disabled] {
	border: 1px solid rgba(43, 37, 39, 0.5);
	background-color: #ebe9eb;
	color: inherit;
	cursor: not-allowed;
	opacity: .5;
	padding: 0.65rem 2.5rem;
}
.woocommerce .woocommerce-error .button, .woocommerce .woocommerce-info .button, .woocommerce .woocommerce-message .button, .woocommerce-page .woocommerce-error .button, .woocommerce-page .woocommerce-info .button, .woocommerce-page .woocommerce-message .button {
	margin-left: auto;
}
.woocommerce-cart .woocommerce-cart-form {
	margin-bottom: 1rem;
	margin-top: 3rem;
}
.woocommerce div.product form.cart table.variations tbody, 
.woocommerce div.product form.cart table.variations tfoot, 
.woocommerce div.product form.cart table.variations thead {
	border: 0;
}
.woocommerce div.product form.cart table.variations td {
	display: block;
	width: 100%;
}
.woocommerce div.product.product-small form.cart {
	margin-top: 1.5rem;
}
.woocommerce div.product.product-small form.cart .button {
	font-size: 90%;
	padding: 0.6rem 1.5rem;
}
.woocommerce .quantity .qty {
	width: 3.631em;
	margin-right: 1rem;
	text-align: center;
}
.woocommerce-product-quote {
	margin-top: 2rem;
}
.woocommerce #quotation_form .quantity .qty {
	float: left;
}
.woocommerce #quotation_form .quantity label {
	line-height: 2.5;
}
.woocommerce form p {
	clear: none;
}


@media screen and (min-width: 40em) {
	.woocommerce-page #main > .row:first-child {
		margin-top: 3rem;
	}
	.woocommerce div.product.product-large .product-info {
		padding: 2rem 3rem;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs {
		/*border-bottom: 1px solid rgba(0,0,0,.25);*/
		padding-left: 1.5em;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li {
		margin: 0 0.25em -1px 0;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li a {
		/*border-bottom: 0;
		border-left: 1px solid rgba(0,0,0,.1);
		border-top: 1px solid rgba(0,0,0,.1);
		border-right: 1px solid rgba(0,0,0,.1);*/
		color: #6d6d6d;
		display: block;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
		background-color: transparent;
		/*border-bottom: 1px solid #fff;
		border-left: 1px solid rgba(0,0,0,.25);
		border-top: 1px solid rgba(0,0,0,.25);
		border-right: 1px solid rgba(0,0,0,.25);*/
		color: #1b1b1b;
	}
	.woocommerce div.product.product-small h2 {
		margin-top: 0;
	}
	.woocommerce div.product.product-small .product-images {
		padding-bottom: 90%;
	}
	.product-small .slide-content {
		padding-bottom: 90%;
		width: 90%;
	}
}

@media screen and (max-width: 48em) {
	.woocommerce ul.products[class*=columns-] li.product,
	.woocommerce-page ul.products[class*=columns-] li.product {
	width:96%;
	float:left;
	clear:both;
	margin:0 0 2.992em
	}
}

@media screen and (min-width: 64em) {
	.woocommerce-page #main > .row:first-child {
		margin-top: 4rem;
	}
	.woocommerce .product.product-large:nth-child(odd) .product-images {
		order: 2;
	}
	.woocommerce .product.product-large:nth-child(odd) .product-info {
		order: 1;
	}
	.woocommerce div.product.product-large .product-info {
		padding: 3rem 4rem;
	}
	.woocommerce div.product.product-large .product-images,
	.woocommerce div.product.product-small .product-images {
		padding-bottom: 50%;
	}
}