/*
Theme Name: shoco

WooCommerce styles override
*/

.section-header {
	display: grid;
	grid-template-columns: 3fr 1fr;
	justify-content: space-between;

	width: 100%;
}

.s-header-column-1 {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;

	gap: 10px;
}

.s-header-column-2 {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;

	gap: 10px;

	padding-top: 30px;
}

.s-header-big-text {
	font-family: Cera Pro;
	font-size: 72px;
	font-weight: 500;
	line-height: 100%;

	text-transform: uppercase;

	color: #63092B;

	display: flex;
	align-items: center;
	justify-content: flex-end;

	position: relative;
}

.s-header-big-text a {
	display: flex;
	line-height: 100%;
	color: #63092B;
}

.s-header-big-text a:hover,
.s-header-big-text a:visited {
	color: #63092B !important;
}

body .s-header-big-text a:visited {
	color: #63092B !important;
}

.s-header-big-text .color-block {
	height: 40px;
	width: 125px;
	background: #EFB50E;
}



.section-header.s-header-type-2 .cut-text-wrapper {
	margin-top: -20px;
}

.section-header.s-header-type-2 .color-block {
	margin-bottom: 10px;
	width: 90px;
}

.section-header.s-header-type-2 .cut-text,
.section-header.s-header-type-2 .cut-text-wrapper:before {
	padding-left: 25px;

	font-size: 72px;
	line-height: 90%;
}

.section-header.s-header-type-2 .s-header-column-2 {
	align-items: flex-end;
	justify-content: flex-start;
	padding-top: 20px;

	gap: 40px;
}

.section-header.s-header-type-2 .s-header-column-2 img {
	height: 60px;
	width: 135px;
	object-fit: contain;
}

.products.columns-3 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 25px;
}

.products.columns-4 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 25px;
}

.archive .product {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 15px;
}

.archive .product .woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	gap: 10px;

	text-decoration: none;
}

.archive .product h2 {
	margin: 0;
	
	font-size: 20px;
	font-weight: 400;
	line-height: 120%;
	text-transform: uppercase;
	color: #000;	

	/*min-height: 48px;*/
}

.product .amount, .product .price {
	font-size: 21px;
	font-weight: 400;
	line-height: 120%;
	text-transform: uppercase;
	color: #D5BA8D;
}

.custom-product-thumbnail {
    position: relative;
    justify-content: center;
}
.product-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.product-image-wrapper img {
	height: 340px;
	/*max-width: 140px;*/
	object-fit: contain;
}


.shoco-btn.loading svg {
    animation: rotateSvg 1s linear infinite;
}

@keyframes rotateSvg {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.shoco-btn .added-mark {
	display: none;
}

.shoco-btn.added .added-mark {
	display: flex;
	align-items: center;
}

.shoco-btn.added svg{
	display: none;
}

.product .added_to_cart {
	display: none;
}

.wapf-product .wapf {
	display: none;
}

.wapf-product .woocommerce-variation-add-to-cart .quantity {
	display: none;
}


.custom-quantity-wrapper {
    display: flex;
    align-items: center;
}

.quantity {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.quantity span {
	font-size: 21px;
	color: #503629;
}

.custom-quantity-wrapper .quantity-decrease,
.custom-quantity-wrapper .quantity-increase {
    background-color: #9ECFCA;
    border: unset;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    border-radius: unset;
}

.custom-quantity-wrapper input[type="number"] {
	background: #FDF7ED;
	color: #503629;
	font-size: 24px;
    text-align: center;
    width: 50px;

    border-radius: unset;
    border: unset;
    padding: 0;

    -moz-appearance: textfield; /* Firefox */
}

.custom-quantity-wrapper input[type="number"]::-webkit-outer-spin-button,
.custom-quantity-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Chrome, Safari, Edge, Opera */
    margin: 0;
}


.product-loop-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	gap: 10px;
}

.map-loaded {
	height: 610px;
}

.hidden-field {
    display: none !important;
}

.xoo-wsc-sm-sales {
	display: none;
}


.woocommerce-notices-wrapper {
	max-width: 1440px;
	margin: 0 auto;
    padding: 0 2em;
}

.woocommerce-notices-wrapper .woocommerce-message {
	padding: 10px;
	background: #FDF7ED;

	color: #503629;
}


.woo-btn-list-addons {
	display: flex;
	gap: 20px;
}

.woo-btn-list-addons .woo-apf-show-addons {
	background: #FDF7ED;
	color: #503629;
	border-color: #FDF7ED;
}

.woo-apf-show-addons.shoco-btn {
	padding: 21px 30px !important;
}

.woo-apf-selected-addons {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.selected-addon-item {
	font-size: 17px;
	font-weight: 300;

	color: #503629;
}

.selected-addon-item span.remove-addon {
	margin-left: 5px;
	background: #FDF7ED;
	padding: 0px 5px;
    border-radius: 5px;
}

.woo-apf-selected-addons-title {
	font-size: 21px;
	font-weight: 300;

	color: #503629;
}

.woovr-variation-radio .woovr-variation-availability p {
	margin: 0;
}

.out-of-stock-message {
	color: #D5BA8D;
}

.upsells .woo-apf-show-addons.shoco-btn {
	display: none;
}

.upsells .woo-apf-selected-addons {
	display: none;
}

.upsells .woocommerce-variation-add-to-cart.variations_button, .upsells .woocommerce-variation-add-to-cart {
	padding: 0;
}

.upsells .woocommerce-variation-add-to-cart.variations_button .shoco-btn, .upsells .woocommerce-variation-add-to-cart .shoco-btn {
	padding: 16px 30px;
	font-size: 13px;
}

.upsells .woocommerce-variation-add-to-cart.variations_button .shoco-btn svg, .upsells .woocommerce-variation-add-to-cart .shoco-btn svg {
	width: auto;
	height: auto;
}

.upsells {
	margin-bottom: 1.5em;
}

.upsells .product-tags {
	display: none;
}

.up-sells-title {
	text-align: center;
	text-transform: uppercase;
	font-size: 40px;
	font-weight: 500;
	line-height: 120%;

	color: #503629;
}

.xoo-wsc-basket {
	display: block;
}

@media (max-width: 1024px) {
	.h-block-2 {
		gap: 10px;
	}

	.tags-list {
		gap: 20px;
	}

	.product-description {
		display: none;
	}

	.shoco-btn {
		padding: 12px 20px;
	}

	.radio-input {
		flex-wrap: wrap;
	}

	.product-image img {
		max-height: 65px;
	}
}

@media (max-width: 767px) {


	.section-header {
		grid-template-columns: 1fr;
	}

	.s-header-big-text {
		font-size: 34px;
		align-items: center;
		position: unset;
	}
	.s-header-big-text .color-block {
		height: 20px;
		width: 32px;

		position: absolute;
		left: 0;
	}


	.s-header-column-1 {
		gap: 0;
	}

	.s-header-column-2 {
		padding-top: 10px;
	}


	.section-header.s-header-type-2 .cut-text-wrapper {
		margin-top: 0;
	}

	.section-header.s-header-type-2 .s-header-column-2 {
		display: none;
	}

	.section-header.s-header-type-2 .cut-text,
	.section-header.s-header-type-2 .cut-text-wrapper:before {
		padding-left: 22px;

		font-size: 34px;
		line-height: 90%;
	}

	.section-header.s-header-type-2 .color-block {
		width: 32px;
		margin-bottom: 0;
	}

	.products.columns-3, .products.columns-4 {
		grid-template-columns: 1fr 1fr;
		row-gap: 25px;
		column-gap: 25px;
	}

	.product-loop-content {
		gap: 5px;
	}

	.archive .shoco-btn,
	.upsells .woocommerce-variation-add-to-cart.variations_button .shoco-btn, .upsells .woocommerce-variation-add-to-cart .shoco-btn  {
		justify-content: center;
		width: 100%;

        padding: 13px 10px;

		font-size: 11px;
	}

	.up-sells-title {
		font-size: 25px;
	}

	.archive .product h2 {
		font-size: 12px;
		font-weight: 400;
		margin: 0;

		min-height: unset;
	}

	.product-loop-content {
		height: 100%;
		justify-content: space-between;
	}

	.product-image-wrapper:hover .product-description {
		display: none;
	}

	.product .amount, .product .price {
		font-size: 12px;
	}

	.custom-product-thumbnail {
		display: flex;
	}

	.product-image-wrapper img {
		height: 220px;
	}

	.product-description {
		padding: 10px;
	}

	.product-description p {
		font-size: 8px;
	}

	.product-tags .tag img {
		width: 35px;
	}



	.xoo-wsc-basket {
		padding: 20px;
		bottom: 85px;
	}

	.xoo-wsc-basket svg {
	    width: 25px;
	    height: 25px;
	}

	.xoo-wsc-basket span.xoo-wsc-items-count {
		left: 15px;
		top: -7px;
		padding: 4px 6px;
	}

	.quantity span {
		font-size: 15px;
	}

	.custom-quantity-wrapper .quantity-decrease, .custom-quantity-wrapper .quantity-increase {
		font-size: 24px;
	}

	.custom-quantity-wrapper input[type="number"] {
		font-size: 17px;
		min-height: 34px;
		display: flex;
		width: 55px;
	}

	.map-loaded {
		height: 350px;
	}

	.woo-apf-show-addons.shoco-btn {
		padding: 12px 28px !important;
	}

	.woo-apf-selected-addons-title {
		font-size: 15px;
	}

	.out-of-stock-message {
		font-size: 12px;
	}

}