
/* product-list - Start */
.product-list {
	display: grid;
	grid-template-columns: repeat(var(--products-in-col), minmax(0, 1fr));
	gap: var(--products-indent-h) var(--products-indent-w);
}
.product-card {
	--title-lh: 21px;
	position: relative;
	display: flex;
	flex-direction: column;
}
.swiper-slide > .product-card {
	height: 100%;
}
.product-card .product-image-wrapper  {
	position: relative;
}
.product-card .product-image-wrapper img {
	height: auto;
	aspect-ratio: 1 / 1;
	width: 100%;
	object-fit: contain;
	border-radius: var(--radius-small);
	z-index: 1;
}
.product-card .product-image-wrapper .product-image-second {
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	opacity: 0;
	z-index: 2;
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: all var(--hover-dur) var(--hover-ease);
}
@media not all and (pointer: coarse) {
	.product-card:hover .product-image-wrapper .product-image-second {
		opacity: 1;
	}
}
@media (max-width: 1279px) {
	.product-card .product-image-wrapper .product-image-second {
		display: none;
	}
}
.product-card img.cart-icon {
	border-radius: 0px;
}
.product-card > a {
	height: 100%;
	display: flex;
	flex-direction: column;
	font-size: 0;
	line-height: 0;
}
.product-card .product-info-wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}
/* product-list - End */

/* product-card - Start */
.product-card.outofstock .product-image-wrapper > a {
	opacity: 0.5;
}
.product-card.outofstock .add-to-cart-wrapper .btn.disabled {
	cursor: default;
	pointer-events: none;
}
/* product-card - End */

/* product-card - Start */
.product-card .action-items {
	position: absolute;
	top: 15px;
	inset-inline-end: 15px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 3;
}
.product-card .compare-btn,
.product-card .wishlist-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
	background: var(--primary);
	border: none;
	border-radius: var(--radius-small);
	padding: 6px 6px 6px 6px;
	cursor: pointer;
}
.product-card .wishlist-btn .icon-mask,
.product-card .compare-btn .icon-mask {
	--icon-base: 18px;
}
.product-card .wishlist-btn .icon-mask {
	--icon: url(/wp-content/themes/shop/img/icons/wishlist.svg);
}
.in-wishlist-already {
	position: relative;
}
.product-card .wishlist-btn.in-wishlist-already .icon-mask {
	--icon: url(/wp-content/themes/shop/img/icons/wishlist-full.svg);
}
.product-card .compare-btn .icon-mask {
	--icon: url(/wp-content/themes/shop/img/icons/compare.svg);
}
.in-compare-already {
	position: relative;
}
.product-card .compare-btn.in-compare-already .icon-mask {
	--icon: url(/wp-content/themes/shop/img/icons/compare-full.svg);
}
/* product-card - End */

/* product-card - Start */
.product-card .product-title {
	font-family: var(--font-family-1);
	font-size: 18px;
	line-height: var(--title-lh);
	min-height: calc(var(--title-lh) * 2);
	width: 100%;
	margin: 14px 0;
	color: var(--black);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
}
/* product-card - End */

/* options-group - Start */
.options-group {
	margin-bottom: 14px;
}
.option-block {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.option-block.is-single {
	display: none;
}
.option-head {
	width: 100%;
	font-size: 14px;
	line-height: 14px;
	font-weight: 500;
}
.option-block span.option-value,
.option-block.is-linked a.option-value {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	height: 30px;
	padding: 0px 9px;
	background: var(--white);
	border: 1px solid var(--primary);
	font-size: 14px;
	line-height: 14px;
	transition: all var(--hover-dur) var(--hover-ease);
	cursor: pointer;
}
.option-block span.option-value.selected {
	background: var(--primary);
	color: var(--white);
}

/* option-block - Start */
.options-group .option-block.is-color {
	display: none !important;
}
.color-option {
	position: relative;
	display: flex;
	width: 45px;
	height: 45px;
	background: red;
	border-radius: var(--radius-max);
	cursor: pointer;
	border: 2px solid var(--border);
	transition: all var(--hover-dur) var(--hover-ease);
}

.color-option.selected {
	border: 2px solid var(--black);
}
.color-option .color-name {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	padding: 10px;
	border-radius: var(--radius-small);
	background: var(--light-gray);
	box-shadow: 0 0 8px var(--shadow-soft);
	font-family: var(--font-family-1);
	font-size: 14px;
	line-height: 14px;
	text-align: center;
	color: var(--black);
	position: absolute;
	top: 48px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0 auto;
	z-index: 10;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: all var(--hover-dur) var(--hover-ease);
}
.color-option:hover .color-name {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}
/* option-block - End */

/* option-block - Start */
.option-block.is-linked a.option-value {
	color: inherit;
	text-decoration: none;
}
.option-block.is-linked .option-current {
	margin-inline-start: 6px;
	font-weight: 400;
	color: var(--gray);
}
.product-card .product-colors-count {
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 14px;
	color: var(--gray);
}
@media not all and (pointer: coarse) {
	.option-block.is-linked a.option-value:hover {
		background: var(--primary);
		color: var(--white);
	}
	.option-block.is-linked a.color-option:hover {
		border-color: var(--black);
	}
}
/* option-block - End */
/* options-group - End */

/* product-card - Start */
.product-card .add-to-cart-wrapper {
	display: flex;
	flex-direction: row-reverse;
	gap: 10px;
}
.product-card .product-item__price {
	margin-top: auto;
}
.product-card .product_type_simple.in-cart {
	pointer-events: none !important;
}
.btn.btn-accent.in-cart {
	background: var(--primary);
	color: var(--white);
}
.btn.btn-accent.in-cart span {
	color: var(--white);
}
.added_to_cart.wc-forward {
	display: none!important;
}
/* product-card - End */

/* variation-popup-overlay - Start */
.variation-popup-overlay {
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	inset-inline-end: 0;
	bottom: 0;
	background: rgb(255 255 255 / 60%);
	backdrop-filter: blur(5px);
	z-index: 100;
	border-radius: inherit;
}

.variation-popup-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: var(--white);
	padding: 15px;
	border-radius: var(--radius-medium);
	width: 90%;
	max-width: 300px;
	max-height: 80%;
	overflow-y: auto;
	box-shadow: 0 4px 20px var(--shadow-soft);
}

.popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.popup-header .popup-title {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
}

.close-popup {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--light-gray);
	border: none;
	border-radius: var(--radius-max);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: all var(--hover-dur) var(--hover-ease);
}
@media not all and (pointer: coarse) {
	.close-popup:hover {
		background: var(--border);
	}
}

.variation-attribute-row {
	margin-bottom: 10px;
}
.variation-attribute-row.is-single {
	display: none;
}

.variation-attribute-row label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	line-height: 13px;
	font-weight: 500;
	color: var(--gray);
}

.variation-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.variation-popup-content .variation-option {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 28px;
	padding: 0 10px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-small);
	font-size: 13px;
	line-height: 13px;
	cursor: pointer;
	transition: all var(--hover-dur) var(--hover-ease);
}
@media not all and (pointer: coarse) {
	.variation-option:hover {
		border-color: var(--primary);
	}
}
.variation-option.active {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--white);
}

.variation-info {
	margin-bottom: 12px;
}
.variation-info .variation-price {
	font-size: 16px;
	font-weight: 600;
}

.variation-row {
	margin-bottom: 15px;
}

.variation-row label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
}

.variation-select {
	width: 100%;
	padding: 8px;
	border: 1px solid var(--border);
	border-radius: var(--radius-small);
}

/* product-card - Start */
.product-card .custom-quantity-input {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 0 20px;
}
/* product-card - End */

/* popup-header - Start */
@media (max-width: 1279px) {
	.popup-header {
		margin-bottom: 5px;
	}
	.popup-header .popup-title {
		font-size: 12px;
		line-height: 14px;
		font-weight: 500;
	}
	.variation-popup-content {
		padding: 10px;
	}
	.variation-popup-content .variation-attribute-row label {
		margin-bottom: 5px;
		font-size: 10px;
		line-height: 10px;
	}
	.variation-popup-content .variation-options {
		gap: 4px;
	}
	.variation-popup-content .variation-option {
		height: 21px;
		padding: 0 6px;
		font-size: 11px;
		line-height: 11px;
	}
	.variation-popup-content .btn {
		height: 30px;
	}
	.variation-popup-content .variation-info .variation-price {
		font-size: 12px;
		line-height: 14px;
		font-weight: 500;
	}
}
/* popup-header - End */
/* variation-popup-overlay - End */

/* product-card - Start */
@media (max-width: 1279px) {
	.product-card .product-title {
		font-size: 14px;
		margin: 10px 0;
	}
	.product-card {
		--btn-height: 40px;
		--title-lh: 18px;
	}
	.product-card .btn {
		font-size: 12px;
	}
	.product-card .add-to-cart-wrapper {
		gap: 5px;
	}
	.product-card .custom-quantity-input {
		padding: 0 10px;
	}
	.product-card .custom-quantity-input .quantity-display {
		width: 15px;
		font-size: 12px;
	}
	.product-tags-or-badges {
		top: 10px;
		inset-inline-start: 10px;
		gap: 5px;
	}
	.product-card .product-badge {
		padding: 8px 7px 7px 7px;
		font-size: 11px;
		line-height: 11px;
	}
	.product-card .action-items {
		top: 10px;
		inset-inline-end: 10px;
		gap: 5px;
	}
	.product-card .compare-btn, .product-card .wishlist-btn {
		width: 24px;
		height: 24px;
		padding: 5px;
	}
	.product-card .product-item__price {
		font-size: 13px;
		line-height: 16px;
	}
	.product-card .product-colors-count {
		margin-bottom: 8px;
		font-size: 12px;
		line-height: 12px;
	}
}
/* product-card - End */

/* product-item - Start */
.product-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	background: var(--white);
	border-radius: var(--radius-small);
	position: relative;
	transition: all var(--motion-base) var(--motion-ease);
}
.product-item__image {
	width: 90px;
	height: 90px;
}
.product-item__img {
	border-radius: var(--radius-small);
}
.product-item__info {
	flex-grow: 1;
}
.product-item__name {
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 18px;
	font-weight: 500;
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.product-item__variations {
	font-size: 14px;
	line-height: 18px;
	color: var(--gray);
	margin-bottom: 8px;
}
.product-item__variations:empty {
	display: none;
}
.variation-item {
	margin-bottom: 4px;
}
.product-item__price {
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 18px;
	font-weight: 600;
	width: fit-content;
	margin-bottom: 15px;
}
.product-item__price:has(del) {
	display: flex;
	flex-direction: row-reverse;
	gap: 10px;
	margin-inline-end: auto;
}
.product-item__price del {
	font-size: 14px;
}
.product-item__discount-percent {
	color: var(--status-danger);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
.product-item .btn {
	height: var(--btn-height-small);
}
.product-item__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	height: var(--btn-height-small);
}
.product-item__remove {
	display: flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	border-radius: var(--radius-small);
	transition: all var(--motion-base) var(--motion-ease);
}
.product-item__remove img {
	width: 20px;
	height: 20px;
	display: none;
}
.product-item__total:has(del) {
	gap: 6px;
	flex-wrap: wrap;
}
.product-item__total del {
	font-size: 12px;
	font-weight: 300;
}
.product-item__total {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 100px;
	height: var(--btn-height-small);
	font-family: var(--font-family-1);
	font-size: 18px;
	line-height: 22px;
	font-weight: 600;
}

/* product-item__image-link - Start */
.product-item.outofstock .product-item__image-link {
	opacity: 0.5;
}
.product-item.outofstock .product-item__actions .btn.disabled {
	cursor: default;
	pointer-events: none;
}
.product-item__stock-label {
	color: var(--red);
	font-size: 13px;
	line-height: 13px;
	font-weight: 500;
	margin-bottom: 10px;
	margin-top: -4px;
}
/* product-item__image-link - End */

/* product-item__add-to-cart - Start */
.cart-lightbox .product-item__add-to-cart,
.cart-lightbox .product-item__total {
	display: none;
}
.wishlist-lightbox .product-item__total {
	display: none;
}
.wishlist-lightbox .product-item.is-variable .product-item__quantity {
	display: block !important;
}
.checkout-wrapper .product-item__add-to-cart {
	display: none;
}
/* product-item__add-to-cart - End */
/* product-item - End */

/* product-item - Start */
@media (max-width: 768px) {
	.product-item {
		flex-wrap: wrap;
	}
	.product-item__image {
		width: 60px;
		height: 60px;
	}
	.product-item__info {
		max-width: calc(100% - 60px - 10px - 30px);
	}
	.product-item__quantity {
		margin-inline-start: calc(60px + 10px);
	}
	.product-item:not(:has(.product-item__quantity)) .product-item__actions {
		margin-inline-start: calc(60px + 10px);
	}
	.product-item .btn {
		font-size: 14px;
		line-height: 14px;
		padding: 0 20px;
	}
	.product-item__remove {
		position: absolute;
		top: 0;
		inset-inline-end: 0;
	}
	.product-item__remove img {
		width: 20px;
		height: 20px;
		display: block;
	}
	.product-item__remove span {
		display: none;
	}
	.product-item__total {
		justify-content: flex-end;
		flex-grow: 1;
	}
}
/* product-item - End */

/* updating - Start */

.product-item.updating {
	opacity: 0.6;
}

.product-item.removing {
	opacity: 0;
	transform: translateX(calc(-20px * var(--dir, 1)));
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.product-item {
	animation: slideIn 0.3s ease-out;
}
/* updating - End */

/* product-card - Start */
.product-card .cert-art-frame {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
}
.product-card .cert-art {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 84%;
	aspect-ratio: 1.6 / 1;
	padding: 7% 8%;
	overflow: hidden;
	border-radius: var(--radius-large);
	background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 68%, var(--white)) 100%);
	color: var(--white);
	box-shadow: 0 10px 30px color-mix(in srgb, var(--primary) 25%, transparent);
}
.product-card .cert-art::before,
.product-card .cert-art::after {
	content: "";
	position: absolute;
	border-radius: var(--radius-max);
	background: color-mix(in srgb, var(--white) 14%, transparent);
	pointer-events: none;
}
.product-card .cert-art::before {
	width: 70%;
	aspect-ratio: 1 / 1;
	inset-inline-end: -18%;
	top: -42%;
}
.product-card .cert-art::after {
	width: 46%;
	aspect-ratio: 1 / 1;
	inset-inline-start: -12%;
	bottom: -38%;
}
.product-card .cert-art__top,
.product-card .cert-art__bottom {
	position: relative;
	z-index: 1;
	display: flex;
}
.product-card .cert-art__top {
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.product-card .cert-art__bottom {
	flex-direction: column;
	gap: 6px;
}
.product-card .cert-art__brand {
	overflow: hidden;
	font-family: var(--font-family-2);
	font-size: 26px;
	line-height: 24px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.product-card .cert-art__icon {
	display: block;
	flex: none;
	width: 34px;
	height: 34px;
	background: currentColor;
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}
.product-card .cert-art__title {
	font-size: 16px;
	line-height: 17px;
	opacity: 0.85;
}
.product-card .cert-art__sum {
	font-family: var(--font-family-2);
	font-size: 34px;
	line-height: 36px;
}
@media (max-width: 1279px) {
	.product-card .cert-art {
		width: 92%;
		border-radius: var(--radius-medium);
	}
	.product-card .cert-art__brand {
		font-size: 18px;
		line-height: 16px;
	}
	.product-card .cert-art__icon {
		width: 22px;
		height: 22px;
	}
	.product-card .cert-art__title {
		font-size: 13px;
		line-height: 13px;
	}
	.product-card .cert-art__sum {
		font-size: 22px;
		line-height: 22px;
	}
}
/* product-card - End */