/*
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;
}

#global-tooltip {
	position: absolute;
	display: none;
	background-color: #f7f2e8;
	color: #4c362e;
	padding: 10px;
	border-radius: 5px;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
	font-size: 14px;
}

/* Блок з іконками тегів зліва */
.product-tags {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.product-tags .tag img {
	height: 55px;
	width: 55px;
	object-fit: contain !important;
}

/* Іконка додавання в улюблене */
.favorite-icon {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 20px;
	cursor: pointer;
}


.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;
	width: 100%;
}

.woo-btn-list-addons .woo-apf-show-addons {
	background: #F8F8F8;
	color: #63092B !important;
	border-color: #F8F8F8;
}

.woo-btn-list-addons .woo-apf-show-addons:hover {
	background: #EFB50E;
	color: #63092B !important;
}

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

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

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

	color: #000;
}

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

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

	color: #63092B;
}

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


.woovr-variation-radio .woovr-variation-info .woovr-variation-price {
	margin-top: 3px;
}

.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: 12px;
	font-size: 13px;
	border-radius: 0;
	gap: 0;
}

.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: #63092B;
}

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

.woocommerce-pagination {
	margin-top: 30px;
}

.woocommerce-pagination .page-numbers {

	display: flex;
	list-style: none;
	justify-content: center;
	gap: 20px;
	padding: 0;
}

.woocommerce-pagination .page-numbers li {
	font-family: "Cera Pro";
	font-size: 21px;
	font-weight: 400;
	line-height: 120%;
	text-transform: uppercase;

	color: #000;
}

.woocommerce-pagination .page-numbers li a {
	color: #63092B;
}


.product-loop-item-bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.product-loop-item-bottom .amount,
.product-loop-item-bottom .price {
	color: #63092B;
}

.product-loop-item-bottom .woocommerce-LoopProduct-link {
	flex-direction: row;
	align-items: flex-end;
	margin-bottom: 5px;
}

.product-loop-item-bottom .add_to_cart_button {
	padding: 12px;
	border-radius: 0;
	background: #63092B;

	min-width: 28px;
	justify-content: center;
}

.product-loop-item-bottom .add_to_cart_button svg {
	margin: 0;
	width: 28px;
	height: 28px;

	justify-content: center;
}

.product-loop-item-bottom .add_to_cart_button.added .added-mark {
	width: 28px;
	height: 28px;
	justify-content: center;
}

@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: 15px;
	}

	.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;
	}

	.upsells .woocommerce-variation-add-to-cart.variations_button .shoco-btn,
	.upsells .woocommerce-variation-add-to-cart .shoco-btn {
		padding: 8px;
	}

	.woovr-variation-radio .woovr-variation-info .woovr-variation-price {
		margin-top: 0px;
	}

	.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 {
		width: 100%;
	}

	.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: 40px;
		height: 40px;
		object-fit: contain !important;
	}

	.woo-btn-list-addons {
		gap: 12px;
	}



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

	.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 14px !important;
	}

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

	.selected-addon-item {
		font-size: 14px;
	}

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

	.woocommerce-pagination .page-numbers li {
		font-size: 14px;
	}

	.product-loop-item-bottom .add_to_cart_button {
		width: auto;

		padding: 8px;
		border-radius: 1.25px;
	}

	.product-loop-item-bottom .add_to_cart_button svg,
	.product-loop-item-bottom .add_to_cart_button.added .added-mark {
		width: 14px;
		height: 14px;
	}

}

/* ==========================================================================
   Zwin Cross-Domain Side Cart Tabs & Panels (.zwin.ua)
   ========================================================================== */

.zwin-wsc-tabs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	background: #FAF8F8;
	border-top: 1px solid #ECE7E7;
	border-bottom: 1px solid #ECE7E7;
}

.zwin-wsc-tab {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 14px;
	background: #FFFFFF;
	color: #333333;
	border: 1px solid #DFD9D9;
	border-radius: 0px !important;
	font-size: 13px;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	outline: none;
}

.zwin-wsc-tab:hover {
	border-color: #63092B;
	color: #fff;
	border-radius: 0;
}

.zwin-wsc-tab.active,
.zwin-wsc-tab:focus {
	background: #63092B !important;
	color: #FFFFFF;
	border-color: #63092B;
	box-shadow: 0 2px 6px rgba(99, 9, 43, 0.22);
}

.zwin-wsc-tab .zwin-tab-count {
	font-size: 11px;
	opacity: 0.85;
	padding: 1px 5px;
	background: rgba(0, 0, 0, 0.07);
	border-radius: 10px;
	font-weight: 500;
}

.zwin-wsc-tab.active .zwin-tab-count {
	background: rgba(255, 255, 255, 0.25);
	color: #FFFFFF;
}

.zwin-external-notice {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #FFF7F8;
	border: 1px dashed #63092B;
	border-radius: 6px;
	padding: 10px 14px;
	margin: 14px 16px 8px;
	font-size: 12px;
	line-height: 1.4;
	color: #63092B;
}

.zwin-external-notice svg {
	flex-shrink: 0;
	stroke: #63092B;
}

.zwin-external-notice a {
	color: #63092B;
	font-weight: 500;
	text-decoration: underline;
}

.zwin-ext-product-row {
	display: flex;
	align-items: center;
	padding: 14px 16px;
	border-bottom: 1px solid #ECE7E7;
	gap: 14px;
}

.zwin-ext-product-row .xoo-wsc-img-col {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
}

.zwin-ext-product-row .xoo-wsc-img-col img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

.zwin-ext-product-row .xoo-wsc-sum-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.zwin-ext-product-row .xoo-wsc-pname {
	font-size: 14px;
	font-weight: 600;
	color: #111111;
	text-decoration: none;
	line-height: 1.3;
}

.zwin-ext-product-row .xoo-wsc-pname:hover {
	color: #63092B;
}

.zwin-ext-product-row .xoo-wsc-price-qty {
	font-size: 13px;
	color: #666666;
}

.zwin-ext-product-row .zwin-ext-subtotal {
	font-size: 13px;
	color: #222222;
	margin-top: 2px;
}

.zwin-ext-product-row .zwin-ext-subtotal strong {
	color: #63092B;
}