/*
Theme Name:   Ofii Design
Theme URI:    https://www.ofiidesign.se
Author:       Sofie Persson
Template:     virtue
Version:      1.0.10
*/

.ofii-flash {
	align-items: center;
	background: #000;
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-weight: 600;
	height: 80px;
	line-height: 1.5;
	justify-content: center;
	position: absolute;
	right: 1.5rem;
	text-align: center;
	top: 1.5rem;
	width: 80px;
	z-index: 500;
}

.ofii-flash.small-text {
	font-size: 11px;
	padding: .5rem;
}

div.product form.cart {
	margin-top: 3rem;
}

@media screen and (max-width: 767px) {
	.ofii-flash {
		height: 70px;
		right: 0.5rem;
		top: 0.5rem;
		width: 70px;
	}
}

.woocommerce-product-gallery .ofii-flash {
	height: 120px;
	width: 120px;
	font-size: 20px;
	padding: 1.5rem;
}

.woocommerce-product-gallery .ofii-flash.small-text {
	font-size: 16px;
}

@media screen and (max-width: 767px) {
	.woocommerce-product-gallery .ofii-flash {
		right: auto;
		left: 1.5rem;
	}
}

.slick-slide img {
	width: 100%;
}

.product-summary-case .entry-summary h5,
table.wccpf_fields_table td.wccpf_value.top>label {
	font-family: Montserrat;
	line-height: 24px;
	font-weight: 700;
	font-style: normal;
	font-size: 18px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.woocommerce-product-details__short-description {
	margin-top: 1.5rem;
}

.product-summary-case .entry-summary .single_variation_wrap {
	display: flex !important;
	flex-flow: column;
}

.product-summary-case .entry-summary .single_variation_wrap .single_variation {
	margin-top: 2.5rem;
	order: 2;
}

.product-summary-case .entry-summary .single_variation_wrap .woocommerce-variation-add-to-cart {
	order: 1;
}

.single-product .product .summary button {
	background-color: #538232;
	font-size: 16px;
}

.wccpf-fields-group-container div.wcff-fields-group {
	margin: 0;
}

.wccpf-fields-container.woocommerce_before_add_to_cart_button {
	margin-bottom: 3rem;
}

.wccpf_value label span {
	display: none;
}

.product-type-variable .summary.entry-summary .pricebox {
	display: none;
}

.variation-select-ofii {
	margin: 2rem 0 1rem 0;
}

.variation-select-ofii .radio-select {
	display: flex;
	gap: 2rem;
}

.variation-select-ofii .radio-select label {
	align-items: center;
	display: flex;
}

.variation-select-ofii .radio-select label input {
	margin: 0 .5rem 0 0;
}

.variation-select-ofii .animal-select {
	display: grid;
	grid-template-columns: repeat(auto-fill, 60px);
	gap: 1rem;
}

.variation-select-ofii .animal-select .animal {
	cursor: pointer;
	width: 60px;
	height: 60px;
}

.variation-select-ofii .animal-select .animal img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.variation-select-ofii .animal-select .animal.active {
	border: 2px solid black;
	position: relative;
}

.variation-select-ofii .animal-select .animal.active::after {
	content: '';
	border-radius: 50%;
	width: 18px;
	height: 18px;
	background: black url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2500 2500" version="1.1"><path d="M 2328.494 1.029 C 2284.334 5.235, 2244.622 28.074, 2217.112 65.087 C 2212.375 71.461, 1881.575 532.783, 1482 1090.248 L 755.500 2103.822 508 1856.597 C 237.413 1586.312, 253.963 1602.150, 229.500 1590.073 C 206.676 1578.804, 191.347 1575.056, 165 1574.302 C 149.124 1573.848, 144.753 1574.071, 134.180 1575.877 C 77.491 1585.560, 30.692 1625.310, 12.185 1679.500 C 6.066 1697.417, 4.580 1707.285, 4.580 1730 C 4.580 1747.367, 4.915 1752.038, 6.771 1760.565 C 11.349 1781.594, 19.017 1799.797, 30.741 1817.472 C 36.635 1826.357, 46.370 1836.564, 116.123 1907 C 159.425 1950.725, 302.549 2094.104, 434.177 2225.620 C 668.675 2459.920, 673.732 2464.894, 685.015 2472.325 C 703.006 2484.175, 720.341 2491.504, 741.230 2496.091 C 753.287 2498.739, 780.344 2499.765, 793.273 2498.064 C 829.710 2493.272, 859.939 2478.278, 886 2452.070 C 898.499 2439.501, 898.563 2439.412, 1684.500 1344.109 C 2116.800 741.644, 2472.467 245.744, 2474.872 242.109 C 2480.620 233.419, 2489.247 215.501, 2492.466 205.565 C 2498.114 188.137, 2499.407 179.119, 2499.431 157 C 2499.450 139.484, 2499.131 135.029, 2497.238 126.396 C 2493.956 111.434, 2490.614 101.984, 2483.480 87.500 C 2461.703 43.286, 2418.007 10.887, 2369 2.616 C 2357.580 0.688, 2339.504 -0.020, 2328.494 1.029" stroke="none" fill="white" fill-rule="evenodd"></path></svg>') center center / 50% 50% no-repeat;
	position: absolute;
	bottom: 3px;
	right: 3px;
}

.order-received-ofii {
	display: flex;
	justify-content: space-between;
}

@media screen and (max-width: 1023px) {
	.order-received-ofii {
		flex-flow: column;
	}

	.order-received-ofii .photo {
		margin: 3rem auto auto auto;
		max-width: 300px;
	}
}

.order-received-ofii .content {
	flex: 0 0 50%;
}

.order-received-ofii .content h1 {
	margin-bottom: 2rem;
}

.order-received-ofii .content span.name {
	display: block;
	font-size: 120%;
	margin-top: 3.5rem;
}

.order-received-ofii .photo {
	overflow: hidden;
	flex: 0 0 40%;
}

.order-received-ofii .photo.rounded {
	border-radius: 50%;
}

.woocommerce-order-received #klarna-checkout-container {
	margin-top: 6rem;
}

.woocommerce-order-details,
.woocommerce-customer-details {
	display: none;
}

.woocommerce-ordering,
.woocommerce-result-count {
	display: none;
}

.woocommerce .page-header {
	border: none;
}

.product .pricebox {
	border: none;
	margin: 1rem 0 3rem 0;
}

.single-product.woocommerce span.onsale {
	align-items: center;
	background: black;
	border-radius: 50%;
	display: flex;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.75rem;
	font-weight: 400;
	justify-content: center;
	height: 54px;
	width: 54px;
	position: absolute;
	left: auto;
	right: 3rem;
	top: 1.5rem;
}

.product_item a.product_item_link img.hover-image {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	transition: opacity .3s;
}

@media screen and (max-width:767px) {
	.product_item a.product_item_link img.hover-image {
		left: 50%;
		transform: translateX(-50%);
	}
}

.product_item .onsale.percentage {
	align-items: center;
	background: black;
	border-radius: 50%;
	display: flex;
	font-family: 'Montserrat',
		sans-serif;
	font-size: 1.75rem;
	font-weight: 400;
	justify-content: center;
	height: 54px;
	width: 54px;
	position: absolute;
	left: auto;
	right: 1.5rem;
	top: 1.5rem;
}

.products .product_item {
	border: none;
	margin-bottom: 5rem;
}

.wrap .product_item .product_details h5 {
	font-size: 1.8rem;
	line-height: 1.5;
}

.product_item a.product_img_link {
	position: relative;
	transition: transform 0.2s;
}

/* .product_item:hover a.product_img_link {
	transform: scale(1.05);
} */

.product_item:hover a.product_item_link img {
	opacity: 1;
}

.sale-price {
	color: #aaa;
	font-size: 85%;
	text-decoration: line-through;
}

.product_item .product_details h5 {
	font-family: Montserrat, Arial, sans-serif !important;
	font-weight: 300 !important;
	padding-top: 20px;
}

.product_item .kad_add_to_cart,
.product_item a.button {
	margin-top: 1.5rem;
}

a.button.add_to_cart_button.kad-btn.headerfont.kad_add_to_cart {
	background: #6d8660 !important;
	font-family: 'Lato', sans-serif;
	font-size: 90%;
	padding: .75rem .5rem;
	transition-duration: 0s;
}

a.button.add_to_cart_button.kad-btn.headerfont.kad_add_to_cart:hover {
	background: #47573e !important;
	transition-duration: 0ms;
}

.related.products h2 {
	margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {

	.related.products,
	.upsells.products {
		margin-top: 75px;
	}
}

.related.products a.button.add_to_cart_button.kad-btn.headerfont.kad_add_to_cart {
	background: #6f6f6f !important;
}

.related.products a.button.add_to_cart_button.kad-btn.headerfont.kad_add_to_cart:hover {
	background: #4a4a4a !important;
}

#nav-main ul {
	display: flex;
	align-items: center;
}

li.cart-item {
	position: relative;
}

li.cart-item a {
	display: flex;
}

li.cart-item svg {
	width: 24px;
	height: 24px;
}

li.cart-item .count {
	background: black;
	color: white;
	display: flex;
	font-size: 11px;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 2px;
	left: 10px;
	border-radius: 50%;
	width: 18px;
	height: 18px;
}

.mobile-cart-link {
	display: none;
}

.single_variation .price {
	padding: 0;
}

.product-template-default .cat_back_btn {
	display: none;
}

.product-template-default .product_header {
	border: none;
}

#mobile-nav-trigger {
	display: none;
}

.wccpf-fields-container {
	margin-bottom: 4rem;
}

.product-template-default .woocommerce-tabs {
	display: none;
}

.product-template-default .product_meta {
	display: none;
}

@media screen and (max-width: 767px) {
	body #logo {
		padding-top: 15px;
	}

	#thelogo {
		text-align: left;
	}

	#thelogo img {
		height: 80px;
		width: auto;
	}
}

.single-product .woocommerce-notices-wrapper ul {
	padding: 15px;
}

.single-product .woocommerce-notices-wrapper ul::before {
	content: '';
}

@media screen and (max-width: 991px) {

	.mobile-cart-link {
		box-shadow: 0 0 10px rgba(0, 0, 0, .15);
		display: flex;
		align-items: center;
		justify-content: center;
		background: white;
		position: fixed;
		width: 50px;
		height: 50px;
		right: 2rem;
		bottom: 2rem;
		border-radius: 50%;
		z-index: 1000;
	}

	.mobile-cart-link .count {
		background: black;
		color: white;
		display: flex;
		font-size: 11px;
		justify-content: center;
		align-items: center;
		position: absolute;
		top: 10px;
		left: 6px;
		border-radius: 50%;
		width: 16px;
		height: 16px;
	}

	.mobile-cart-link svg {
		width: 28px;
		height: 28px;
		transform: translate(2px, 2px);
	}

}

.ofii-mobile-menu-trigger {
	display: none;
}

.ofii-mobile-menu {
	display: none;
}

@media screen and (max-width: 991px) {
	.product .product_title {
		margin-top: 2rem;
	}

	.ofii-mobile-menu-trigger {
		display: block;
		position: relative;
		z-index: 99999999;
	}

	.ofii-mobile-menu-trigger button {
		background: white;
		border: 0;
		color: black;
		font-size: 4rem;
		position: absolute;
		top: 3.5rem;
		right: 2rem;
	}

	.ofii-mobile-menu {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		top: 0;
		opacity: 0;
		z-index: -2;
		transition: opacity 250ms 200ms, z-index 0s 450ms;
	}

	.ofii-mobile-menu.active {
		opacity: 1;
		z-index: 9999999999;
		transition: opacity 200ms 0s, z-index 0s 0s;
	}

	.ofii-mobile-menu .menu {
		align-self: stretch;
		background: white;
		position: relative;
		width: 100%;
		transform: translateX(100%);
		transition: transform 200ms;
	}

	.ofii-mobile-menu.active .menu {
		transform: translateX(0%)
	}

	.ofii-mobile-menu .menu button.close {
		background: white;
		border: 0;
		color: black;
		font-size: 4rem;
		position: absolute;
		top: 1.5rem;
		right: 1.5rem;
	}

	.ofii-mobile-menu .menu ul {
		font-size: 3rem;
		list-style: none;
		margin: 0;
		padding: 3rem;
		padding-top: 5rem;
	}

	.ofii-mobile-menu .menu ul li {
		line-height: 2;
	}
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	.ofii-mobile-menu-trigger button {
		top: 6rem;
	}

	.ofii-mobile-menu {
		backdrop-filter: blur(5px);
		display: block;
	}

	.ofii-mobile-menu .menu {
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		width: 320px;
		z-index: 2;
	}

	.ofii-mobile-menu .overlay {
		background: rgba(0, 0, 0, .15);
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		position: absolute;
		z-index: 1;
	}
}

@media screen and (max-width:767px) {
	.post-type-archive-product .container .products {
		display: flex;
		flex-flow: row wrap;
		row-gap: 2rem;
		height: auto !important;
		justify-content: space-between;
		position: relative !important;
	}

	.post-type-archive-product .container .products.rowtight:after,
	.post-type-archive-product .container .products.rowtight:before {
		display: none;
	}

	.post-type-archive-product .container .products .product {
		flex: 0 0 48%;
		left: auto !important;
		padding: 0 !important;
		position: relative !important;
		top: auto !important;
	}

	a.button.add_to_cart_button.kad-btn.headerfont.kad_add_to_cart {
		font-size: 11.5px;
	}

	.related.products h2 {
		font-size: 22px;
	}

	.wrap .product_item .product_details h5 {
		font-size: 1.5rem;
	}

	.product_item .product_price {
		font-size: 14px;
	}
}

.woocommerce-cart .cart-collaterals .cart_totals .shop_table {
	border: 0 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals .shop_table input[type=checkbox],
.woocommerce-cart .cart-collaterals .cart_totals .shop_table input[type=radio] {
	margin-top: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals .shop_table #shipping_method {
	list-style: none;
	margin: 0 0 1rem 0;
	padding: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals .shop_table li {
	align-items: center;
	display: flex;
	gap: 0.5rem;
	margin: 0 0 1rem 0 !important;
	padding: 0 !important;
	text-indent: 0 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals .shop_table li label {
	margin-bottom: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals .shop_table label[for=shipping_method_0_local_pickup2]::after {
	content: ' (gratis)';
	font-weight: normal;
}

.woocommerce-cart .cart-collaterals .cart_totals .shop_table tr {
	background: none;
	border: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals .shop_table tr.order-total {
	background: #f2f1f1;
}

.woocommerce-cart .cart-collaterals .cart_totals .shop_table tr.woocommerce-shipping-totals td {
	padding-bottom: 3rem;
}

.woocommerce-cart .cart-collaterals .cart_totals .shop_table td,
.woocommerce-cart .cart-collaterals .cart_totals .shop_table th {
	background: none;
	border: 0 !important;
	vertical-align: top;
}

.woocommerce-cart .cart-collaterals .cart_totals .shop_table .shipping-calculator-button {
	text-decoration: underline;
}

.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout {
	margin-top: 2rem;
	text-align: right;
}

.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a {
	background: #526a4c;
}

.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a:hover {
	background: #3b4d37;
}

@media screen and (min-width: 1024px) {
	.woocommerce-cart .cart-collaterals .cart_totals {
		width: 50%;
	}
}

footer.main {
	align-items: center;
	background: #f0f2f0;
	padding: 4rem 2rem;
}

footer.main .inner {
	display: flex;
	flex-flow: column;
}

footer.main .link-group ul {
	align-items: center;
	display: flex;
	flex-flow: column;
	list-style: none;
	margin: 0;
	padding: 0;
}

footer.main .link-group li {
	margin-bottom: 1rem;
}

footer.main .logo {
	margin: auto;
	max-width: 35%;
	order: 5;
}

footer.main .social {
	margin-bottom: 5rem;
	margin-top: 4rem;
	text-align: center;
}

footer.main .social .links {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-top: 2rem;
}

footer.main .social img {
	max-width: 40px;
}

@media screen and (min-width: 1024px) {
	footer.main {
		padding: 6rem 4rem;
	}

	footer.main .inner {
		flex-flow: row;
		justify-content: space-between;
		margin: auto;
		max-width: 1144px;
	}

	footer.main .logo {
		max-width: 160px;
		margin: unset;
		order: 0;
	}

	footer.main .link-group ul {
		align-items: flex-start;
	}

	footer.main .social {
		margin: 0;
	}
}


/*
.woocommerce-cart {
	.cart-collaterals {
		.cart_totals {

			.shop_table {
				border: 0 !important;

				input[type=checkbox],
				input[type=radio] {
					margin-top: 0;
				}

				#shipping_method {
					list-style: none;
					margin: 0 0 1rem 0;
					padding: 0;
				}

				li {
					align-items: center;
					display: flex;
					gap: .5rem;
					margin: 0 0 1rem 0 !important;
					padding: 0 !important;
					text-indent: 0 !important;

					label {
						margin-bottom: 0;
					}
				}

				label[for=shipping_method_0_local_pickup2]::after {
					content: ' (gratis)';
					font-weight: normal;
				}

				tr {
					background: none;
					border: 0;
				}

				tr.order-total {
					background: #F2F1F1;
				}

				tr.woocommerce-shipping-totals td {
					padding-bottom: 3rem;
				}

				td,
				th {
					background: none;
					border: 0 !important;
					vertical-align: top;


				}

				.shipping-calculator-button {
					text-decoration: underline;
				}
			}
		}

		.wc-proceed-to-checkout {
			margin-top: 2rem;
			text-align: right;

			a {
				background: #526A4C;
			}

			a:hover {
				background: #3b4d37;
			}
		}
	}
}


@media screen and (min-width: 1024px) {
	.woocommerce-cart {
		.cart-collaterals {
			.cart_totals {
				width: 50%;
			}
		}
	}
}

footer.main {
	align-items: center;
	background: #F0F2F0;
	padding: 4rem 2rem;

	.inner {
		display: flex;
		flex-flow: column;
	}

	.link-group {
		ul {
			align-items: center;
			display: flex;
			flex-flow: column;
			list-style: none;
			margin: 0;
			padding: 0;
		}

		li {
			margin-bottom: 1rem;
		}
	}

	.logo {
		margin: auto;
		max-width: 35%;
		order: 5;
	}

	.social {
		margin-bottom: 5rem;
		margin-top: 4rem;
		text-align: center;

		.links {
			display: flex;
			gap: 1rem;
			justify-content: center;
			margin-top: 2rem;
		}

		img {
			max-width: 40px;
		}
	}
}

@media screen and (min-width: 1024px) {
	footer.main {
		padding: 6rem 4rem;

		.inner {
			flex-flow: row;
			justify-content: space-between;
			margin: auto;
			max-width: 1144px;
		}

		.logo {
			max-width: 160px;
			margin: unset;
			order: 0;
		}

		.link-group {
			ul {
				align-items: flex-start;
			}
		}

		.social {
			margin: 0;
		}
	}
}
*/