
.wc-block-product-template__responsive .wc-block-grid__product-image img,
.wp-block-woocommerce-related-products ul.products-block-post-template .wc-block-grid__product-image img {
    min-height: 257px;
    max-height: 257px;
	background-color: white;
}

.wcpf-button.wcpf-button-action-reset {
	background-color: var(--wp--preset--color--primary);
    border-radius: 2px;
    border-width: 0;
    color: #fff;
    font-family: inherit;
    font-size: clamp(14px, calc(0.39vw + 0.91rem), 16px);
    font-weight: 600;
    line-height: inherit;
    padding-top: 16px;
    padding-right: clamp(32px, calc(0.98vw + 1.77rem), 42px);
    padding-bottom: 16px;
    padding-left: clamp(32px, calc(0.98vw + 1.77rem), 42px);
    text-decoration: none;
	cursor: pointer;
	border: 1px solid var(--wp--preset--color--primary);
}

.wcpf-button.wcpf-button-action-reset:hover{
	color: var(--button--hover-color);
    background-color: #fff;
}
.jsc-add-to-cart-info {
	-ms-overflow-style: none;
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	grid-template-columns: 1fr;
	justify-content: space-between;
	overflow-y: auto;
	scrollbar-width: none;
}
@media (min-width: 768px) {
	.jsc-add-to-cart-info {
		grid-gap: 8px;
		flex-wrap: nowrap;
	}
}
.jsc-add-to-cart-info::-webkit-scrollbar {
	height: 0;
	width: 0;
}

.jsc-stock {
	align-items: center;
	display: flex;
	font-size: 12px;
	font-weight: 600;
	position: relative;
	white-space: nowrap;
	margin: 10px;
}
.jsc-stock span {
	font-weight: 300;
}

.jsc-stock i::before{
	margin-right: 5px;
}
.jsc-stock.available-on-backorder i::before{
	color: rgb(207, 46, 46);
}
.jsc-stock.in-stock i::before {
	color: rgb(69, 174, 126);
}
.jsc-stock.on-backorder i::before {
	color: rgb(243, 158, 0);
}
.jsc-sku {
	font-size: 10px;
	font-weight: 300;
	letter-spacing: 0.24px;
	text-transform: uppercase;
}
@media (max-width: 768px) {
	.jsc-sku {
		margin-top: 3px;
		width: 100%;
	}
}
@media (min-width: 768px) {
	.jsc-sku {
		font-size: 12px;
		white-space: nowrap;
	}
}
form.cart {
	grid-gap: 8px;
	display: grid;
	grid-template-columns: 1fr;
	margin-bottom: 0 !important;
}
form.cart:after,
form.cart:before {
	content: none !important;
}
@media (min-width: 1400px) {
	form.cart {
		grid-template-columns: 48% calc(52% - 8px);
	}
}
form.cart .jsc-qty {
	align-items: center;
	border-radius: 2px;
	display: flex;
	overflow: hidden;
	position: relative;
}
form.cart .jsc-qty > .quantity {
	align-items: center;
	border-radius: 2px;
	display: flex !important;
	display: flex;
	flex-basis: 100%;
	flex-wrap: nowrap;
	justify-content: space-between;
	margin: 0 !important;
	overflow: hidden;
	position: relative;
	width: 100%;
}
.wp-block-jsc-content-jsc-add-to-cart
	form.cart
	.jsc-qty
	input::-webkit-inner-spin-button,
.wp-block-jsc-content-jsc-add-to-cart
	form.cart
	.jsc-qty
	input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
form.cart .jsc-qty input[type="number"] {
	-moz-appearance: textfield;
	-webkit-appearance: textfield;
	appearance: textfield;
	background-color: #fff;
	border: none;
	box-shadow: none;
	flex-grow: 1;
	font-size: 14px;
	font-weight: 300;
	height: 33px;
	left: 0;
	margin: 0 !important;
	min-width: 100%;
	padding: 0 !important;
	position: absolute;
	text-align: center;
	width: 100%;
}
form.cart .jsc-qty .jsc-qty-minus,
form.cart .jsc-qty .jsc-qty-plus {
	align-items: center;
	background-color: #f6f7f8;
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: 8px;
	cursor: pointer;
	display: flex;
	height: 33px;
	justify-content: center;
	min-width: 33px;
	transition: all 0.2s ease-in-out;
	width: 33px;
	z-index: 2;
}
form.cart .jsc-qty .jsc-qty-minus:hover,
form.cart .jsc-qty .jsc-qty-plus:hover {
	background-color: #ddd;
}

form.cart > :nth-child(3) {
	grid-column: span 2;
}
form.cart > :nth-child(3).added_to_cart {
	color: var(--wp--preset--color--primary);
	font-size: 14px;
	font-weight: 400;
	margin-top: 0;
	text-align: center;
	text-decoration: none;
}

.single_add_to_cart_button{
	width: 50%;
}
.wp-element-button:hover{
	color: var(--button--hover-color);
    background-color: #fff;
}

.wp-block-jsc-content-jsc-add-to-cart
	.wp-element-button.ajax_add_to_cart.loading,
button.ajax_add_to_cart.loading {
	font-size: 0 !important;
}
.wp-block-jsc-content-jsc-add-to-cart
	.wp-element-button.ajax_add_to_cart.loading:after,
button.ajax_add_to_cart.loading:after {
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: 26px;
	content: "";
	display: inline-block;
	height: 26px;
	margin-bottom: 2px;
	margin-right: 5px;
	width: 26px;
}
.wp-block-woocommerce-related-products
	ul.products-block-post-template
	li:nth-child(n + 5) {
	display: none;
}
@media (min-width: 768px) {
	.wp-block-woocommerce-related-products
		ul.products-block-post-template
		li
		.wp-block-jsc-content-jsc-add-to-cart
		form.cart {
		grid-template-columns: 38% calc(62% - 8px);
	}
}

.wp-block-woocommerce-related-products
	ul.products-block-post-template
	li
	.wp-block-jsc-content-jsc-add-to-cart
	form.cart
	.quantity {
	display: flex !important;
}

.woocommerce-variation-add-to-cart div.quantity,
form.cart div.quantity,
.woocommerce-variation-add-to-cart input,
.woocommerce-variation-add-to-cart button {
	display: none !important;
}
.wp-block-woocommerce-product-collection .wp-block-post-title, 
.wp-block-woocommerce-related-products .wp-block-post-title {
    min-height: 36px;
}

li.wp-block-post.status-publish,
.wc-block-product-template__responsive>li {
    margin-block-start: 0;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
	background-color: var(--wp--preset--color--bg-loop);
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

li.wp-block-post.status-publish .wp-block-post-title:not(.related-info-name),
li.wc-block-product .wp-block-post-title:not(.related-info-name){
	margin: 10px;
}

.is-layout-constrained > .alignwide {
    max-width: unset;
}
a.woocommerce-product-gallery__trigger{
	display: none;
	text-decoration: none!important;
}

.wc-block-breadcrumbs.woocommerce,
.wp-block-breadcrumbs.woocommerce,
.woocommerce.wp-block-breadcrumbs {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}


ul.tabs.wc-tabs li{
	list-style-type: none;
}
.woocommerce-Tabs-panel h2{
	display: none;
}

.woocommerce-product-gallery__wrapper.woocommerce-product-gallery__trigger{
	cursor: zoom-in;
}
.pswp__item{
	cursor: zoom-out;
}
.woocommerce table.shop_attributes th {
    width: 50%;
    font-weight: normal;
    /* padding: 8px; */
	padding: 0;
	border: none;
    /* border-top: 0; */
    /* border-bottom: 1px dotted rgba(0,0,0,.1); */
    margin: 0;
    /* line-height: 1.5; */
    text-align: right;
    padding-right: 20px;
}
.woocommerce table.shop_attributes td {
    font-style: italic;
    padding: 0;
	border: none;
    /* border-top: 0; */
    /* border-bottom: 1px dotted rgba(0,0,0,.1); */
    margin: 0;
    /* line-height: 1.5; */
}
.woocommerce table.shop_attributes {
    /* font-size: 14px;*/ 
}
.woocommerce-Tabs-panel.wc-tab{
	max-width: 732px;
    margin-left: auto;
    margin-right: auto;
	padding-top: 20px;
    padding-bottom: 20px;
}
.single-product-block {
    margin-block-end: 130px;
}
.product_meta{
	display: grid;
}

td.product-meta-wrapper,
td.product-meta-value,
.product_meta span,
td.product-meta{
	font-size:small;
}

#product-meta-availability,
td.product-meta-wrapper {
    width: 150px;
    text-align: right;
}
td.product-meta-value {
    text-align: left;
}
#product-meta-availability,
td.product-meta-wrapper,
td.product-meta-value{
	margin: 0 5px;
    display: inline-block;
}
table.product_meta_table{
	border-spacing: 0;
}
.product_meta_table tr:nth-child(odd) {
	background-color: var(--wp--preset--color--bg-light);
}
/**
 product filter / butikk
 */
.wcpf-title-container {
    font-size: 14px;
}
.wcpf-input-container {
    margin-top: 0.5em!important;
    border: 1px solid #17365d!important;
}
.wcpf-title-container {
    padding-left: 8px;
}
.wcpf-item-label.wcpf-checkbox-label {
    margin-top: 5px;
} 
.wcpf-item-label.wcpf-checkbox-label .box-item-toggle::before{
	line-height: 0!important;
}

.woocommerce table.variations tr td select,
.woocommerce-ordering select.orderby {
    height: 39px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid var(--wp--preset--color--primary);
    border-radius: 2px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--wp--preset--color--primary) 50%), linear-gradient(135deg, var(--wp--preset--color--primary) 50%, transparent 50%), linear-gradient(to right, #fff, #fff);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
	color: var(--wp--preset--color--primary);
}
.has-contrast-color {
    color: var(--wp--preset--color--primary) !important;
}
.wc-block-components-product-image {
    margin: 0;
    justify-content: center;
    display: flex;
    background-color: white;
}
.archive .wcpf-filter .wcpf-field-item, 
.woocommerce-shop .wcpf-filter .wcpf-field-item {
    margin-bottom: 0;
    /* padding: 4px 0; */
    border-bottom: 1px solid #ddd;
}
.wp-block-woocommerce-add-to-cart-form{
	font-size: 14px!important;
	font-weight: 400!important;
}
a.reset_variations {
    padding: 10px;
}
.wp-block-woocommerce-related-products {
    padding-bottom: 60px;
}
/* center product image */
.woocommerce-product-gallery__image {
    position: relative;
    overflow: hidden;
    justify-content: center;
    display: flex;
}

/* fit image in div */
.woocommerce-product-gallery__image img.wp-post-image:not(.pswp__img), 
.woocommerce-page img.wp-post-image:not(.pswp__img) {
    height: unset;
    max-width: unset;
    max-height: 500px;
    width: auto;
    margin: auto;
}
/* removed zoomed image transparency */
img.zoomImg {
    background-color: white;
}

@media (min-width: 880px) and (max-width: 1600px) {
    .wc-block-product-template__responsive, .wp-block-woocommerce-related-products ul.products-block-post-template {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 880px) {
    .wc-block-product-template__responsive, .wp-block-woocommerce-related-products ul.products-block-post-template {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 500px) {
    .wc-block-product-template__responsive, .wp-block-woocommerce-related-products ul.products-block-post-template {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

.dgwt-wcas-style-pirx.dgwt-wcas-has-submit .dgwt-wcas-search-submit svg path {
    fill: #fff;
}