/* ============================================
   Product Card — картка товару, product-item,
   кількість, варіації, опції, анімації
   ============================================ */

/* 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 {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 16px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-large);
}
.product-card .product-image-wrapper  {
	position: relative;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: var(--radius-medium);
}
.product-card .product-image-wrapper img {
	height: auto;
	aspect-ratio: 437 / 306;
	width: 100%;
	object-fit: cover;
	border-radius: 0;
	z-index: 1;
}
.product-card .product-image-wrapper .product-image-second {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 2;
	height: 100%;
	width: 100%;
	object-fit: cover;
	transition: all 0.7s 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;
}
.swiper-wrapper:has(.product-card) .swiper-slide {
	height: auto;
}
.swiper-slide .product-card {
	height: 100%;
}
.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;
	gap: 16px;
	width: 100%;
	height: 100%;
	padding: 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius-medium);
}
/* Product List - End */

/* Product Badge - Start */
.product-tags-or-badges {
	position: absolute;
	top: 15px;
	left: 15px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 2;
}
.product-tags-or-badges .product-badge {
	display: block;
	background: var(--tag-bg, var(--primary));
	color: var(--tag-text, var(--primary-match));
	border-radius: var(--radius-pill);
	padding: 7px 16px;
	font-family: var(--font-family-1);
	font-size: 14px;
	line-height: 16.8px;
	font-weight: 500;
	text-align: center;
}
.product-tags-or-badges .product-badge.out-of-stock {
	background: var(--red);
	color: var(--white);
}
.product-card .product-tags-or-badges {
	top: 31px;
	left: 31px;
}
@media (max-width: 1680px) {
	.product-card .product-tags-or-badges {
		top: 27px;
		left: 27px;
	}
}
@media (max-width: 1279px) {
	.product-card .product-tags-or-badges {
		top: 22px;
		left: 22px;
	}
}
/* Product Badge - End */

/* Product Card Outofstock - Start */
.product-card.outofstock .product-image-wrapper > a {
	opacity: 0.5;
}
/* Product Card Outofstock - End */

/* Product Stock Status - Start */
.product-card .stock-status {
	display: none;
}
.stock-status {
	color: var(--black);
}
.stock-status.in-stock {
	color: var(--green);
}
.stock-status.out-of-stock {
	color: var(--red);
}
.stock-status.on-order,
.stock-status.on-backorder {
	color: var(--gold);
}
.stock-status.no-status {
	color: var(--blue);
}
.product-card .product-card-buy .stock-status {
	display: flex;
	align-items: center;
	padding: 16px 24px;
	background: var(--light-gray);
	color: var(--gray-text);
	border-radius: var(--radius-pill);
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 19px;
	font-weight: 500;
}
@media (max-width: 1680px) {
	.product-card .product-card-buy .stock-status {
		padding: 16px 20px;
		font-size: 14px;
		line-height: 17px;
	}
}
@media (max-width: 1279px) {
	.product-card .product-card-buy .stock-status {
		padding: 12px 16px;
	}
}
/* Product Stock Status - End */

/* Wishlist + Compare - Start  */
.product-card .action-items {
	position: absolute;
	top: 15px;
	right: 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: 40px;
	height: 40px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-max);
	padding: 0;
	color: var(--black);
	cursor: pointer;
	transition: all 0.3s ease;
}
.product-card .wishlist-btn.in-wishlist-already,
.product-card .compare-btn.in-compare-already {
	background: var(--primary);
	border-color: var(--primary-ring);
}
@media not all and (pointer: coarse) {
	.product-card .compare-btn:hover,
	.product-card .wishlist-btn:hover {
		background: var(--primary);
		border-color: var(--primary-ring);
	}
}
.product-card .wishlist-btn .icon-mask,
.product-card .compare-btn .icon-mask {
	--icon-base: 20px;
}
.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);
}
/* Wishlist + Compare - End  */

/* Star Rating - Start  */
.product-card .star-rating-wrapper {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 20px;
}
.product-card .star-rating-wrapper .star-rating {
	font-size: 18px;
	line-height: 18px;
	color: var(--gray);
}
.product-card .star-rating-wrapper .rating-value {
	font-family: var(--font-family-1);
	font-size: 13px;
	line-height: 13px;
	color: var(--gray);
	font-weight: 500;
	transform: translateY(1px);
}
/* Star Rating - End  */

/* Product SKU - Start  */
.product-card .product-card-sku {
	font-family: var(--font-family-2);
	font-size: 16px;
	line-height: 22px;
	color: var(--gray);
	margin-top: 17px;
}

@media (max-width: 1279px) {
	.product-card .product-card-sku {
		font-size: 14px;
		line-height: 22px;
		margin-top: 14px;
	}
}
/* Product SKU - End  */

/* Product Title */
.product-card .product-title a {
	transition: all 0.3s ease;
}
@media not all and (pointer: coarse) {
	.product-card .product-title a:hover {
		color: var(--primary-ring);
	}
}
.product-card .product-title {
	font-family: var(--font-family-2);
	font-size: 18px;
	line-height: 21.6px;
	font-weight: 600;
	max-width: 240px;
	margin: 0;
	color: var(--black);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
}

/* Options - Start  */
.options-group {
	margin-bottom: 0;
}
.option-block {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.option-head {
	width: 100%;
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 19.2px;
	font-weight: 500;
}
.option-block span.option-value {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	height: 33px;
	padding: 6px 16px;
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--black) 40%, transparent);
	border-radius: var(--radius-pill);
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 19.2px;
	font-weight: 500;
	color: var(--black);
	transition: all 0.3s ease;
	cursor: pointer;
}
@media not all and (pointer: coarse) {
	.option-block span.option-value:hover {
		border-color: var(--black);
	}
}
.option-block span.option-value.selected {
	background: var(--dark-gray);
	border-color: var(--dark-gray);
	color: var(--white);
}

.product-box .option-block {
	gap: 7px;
}
.product-box .option-block span.option-value {
	height: 54px;
	padding: 16px 32px;
	border-color: color-mix(in srgb, var(--overlay) 30%, transparent);
	font-size: 18px;
	line-height: 21.6px;
	font-weight: 400;
}
.product-box .option-block span.option-value.selected {
	background: var(--white);
	border-color: color-mix(in srgb, var(--overlay) 40%, transparent);
	color: var(--black);
}

@media (max-width: 1680px) {
	.option-block {
		gap: 4px;
	}
	.option-head {
		font-size: 14px;
		line-height: 16.8px;
	}
	.option-block span.option-value {
		height: 28px;
		padding: 4px 8px;
		font-size: 12px;
		line-height: 18px;
		font-weight: 400;
	}
	.product-box .option-block span.option-value {
		height: 51px;
		padding: 16px 20px;
		font-size: 16px;
		line-height: 19.2px;
	}
}
@media (max-width: 1279px) {
	.product-box .option-block span.option-value {
		height: 43px;
		padding: 12px 20px;
	}
}

/* Color - 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 0.3s 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 rgb(0 0 0 / 15%);
	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 0.3s ease;
}
.color-option:hover .color-name {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}
/* Color - End */
/* Options - End  */

/* Card Info - Start */
.product-card .product-card-series {
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 19.2px;
	font-weight: 500;
	color: color-mix(in srgb, var(--black) 30%, transparent);
}
.product-card .product-card-series:empty {
	display: none;
}
.product-card .product-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}
.product-card .product-card-paw {
	--icon-base: 27px;
	flex-shrink: 0;
	width: 24px;
	height: 27px;
	color: var(--black);
}
.product-card .options-group,
.product-card .product-card-production,
.product-card .product-card-buy {
	padding-top: 16px;
	border-top: 1px solid var(--border);
}
.product-card .option-block {
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.product-card .option-head {
	width: auto;
	flex-shrink: 0;
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 19.2px;
	font-weight: 500;
	color: var(--black);
}
.product-card .option-values {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
	max-width: 240px;
}
.product-card .product-card-production {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 19.2px;
	font-weight: 500;
	color: var(--black);
}
.product-card .product-card-buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
}
.product-card .product-card-buy .add-to-cart-wrapper {
	margin-top: 0;
}
.product-card .product-card-buy .btn {
	--btn-height: var(--btn-height-small);
	flex-shrink: 0;
	font-family: var(--font-family-1);
	font-size: 18px;
	line-height: 22px;
	font-weight: 700;
}
.product-card .product-card-buy .btn span {
	height: 22px;
	white-space: nowrap;
}
.product-card .product-card-buy .btn.in-cart {
	--btn-pad: 16px;
}
.product-card .product-card-buy .custom-quantity-input {
	width: 100px;
}
@media (max-width: 1680px) {
	.product-card {
		gap: 12px;
		padding: 12px;
		border-radius: 28px;
	}
	.product-card .product-image-wrapper {
		border-radius: 18px;
	}
	.product-card .product-image-wrapper img {
		aspect-ratio: 314 / 248;
	}
	.product-card .product-info-wrapper {
		gap: 12px;
		padding: 16px;
		border-radius: 18px;
	}
	.product-card .product-title,
	.product-card .product-card-series,
	.product-card .option-head,
	.product-card .product-card-production {
		font-size: 14px;
		line-height: 16.8px;
	}
	.product-card .product-card-head {
		gap: 12px;
	}
	.product-card .options-group,
	.product-card .product-card-production,
	.product-card .product-card-buy {
		padding-top: 12px;
	}
	.product-card .option-block,
	.product-card .product-card-production,
	.product-card .product-card-buy {
		gap: 12px;
	}
	.product-card .option-values {
		gap: 4px;
		max-width: 156px;
	}
	.product-card .product-card-buy .btn {
		--btn-height: 35px;
		--btn-ring: 4px;
		--btn-padding: 20px;
		font-size: 16px;
		line-height: 19px;
	}
	.product-card .product-card-buy .btn span {
		height: 19px;
	}
	.product-card .product-card-buy .add-to-cart-wrapper {
		gap: 5px;
	}
	.product-card .product-card-buy .btn.in-cart {
		--btn-pad: 8px;
	}
	.product-card .product-card-buy .custom-quantity-input {
		gap: 4px;
		width: 72px;
		height: 43px;
		padding: 0 8px;
	}
}
@media (max-width: 1279px) {
	.product-card {
		--btn-height-small: 34px;
		--btn-ring: 4px;
	}
	.product-card .product-item__price:has(del) {
		flex-direction: column-reverse;
		align-items: flex-start;
		gap: 2px;
	}
	.product-card .product-card-buy .btn {
		--btn-height: 34px;
		--btn-ring: 4px;
	}
}
/* Card Info - End */

/* Add To Cart - Start  */
.product-card .add-to-cart-wrapper {
	display: flex;
	flex-direction: row-reverse;
	gap: 10px;
	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;
}
/* Add To Cart - End  */

/* Variation Popup - Start */
.variation-popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 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 rgb(0 0 0 / 12%);
}

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

.popup-header h4 {
	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 0.3s ease;
}
@media not all and (pointer: coarse) {
	.close-popup:hover {
		background: var(--border);
	}
}

.variation-attribute-row {
	margin-bottom: 10px;
}

.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 0.3s 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-info .variation-stock {
	font-size: 13px;
	margin-top: 4px;
}

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

/* Variation Popup - Mob */
@media (max-width: 1279px) {
	.popup-header {
		margin-bottom: 5px;
	}
	.popup-header h4 {
		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;
	}
}
/* Variation Popup - End */

/* Hidden product info */
.product-card .product-info-wrapper .product-sku,
.product-card .product-info-wrapper .product-meta,
.product-card .product-info-wrapper .product-short-description,
.product-card .product-info-wrapper .product-categories {
	display: none;
}

/* Product Card Responsive - Start */
@media (max-width: 1279px) {
	.product-card .add-to-cart-wrapper {
		gap: 5px;
	}
	.product-tags-or-badges {
		top: 10px;
		left: 10px;
		gap: 5px;
	}
	.product-card .product-badge {
		padding: 5px 12px;
		font-size: 12px;
		line-height: 18px;
	}
	.product-card .action-items {
		top: 10px;
		right: 10px;
		gap: 5px;
	}
	.product-card .compare-btn, .product-card .wishlist-btn {
		width: 34px;
		height: 34px;
		padding: 0;
	}
	.product-card .wishlist-btn .icon-mask,
	.product-card .compare-btn .icon-mask {
		--icon-base: 18px;
	}
}
/* Product Card Responsive - End */

/* ================================ */
/* Universal Product Item Component */
/* ================================ */

.product-item {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 10px 0;
	background: var(--white);
	border-radius: var(--radius-small);
	position: relative;
	transition: all 0.3s ease;
}
.product-item__image {
	display: flex;
	flex-shrink: 0;
	width: 176px;
	height: 168px;
	background: var(--card-gray);
	border-radius: var(--radius-mid);
	overflow: hidden;
}
.product-item__image-link {
	display: block;
	width: 100%;
	height: 100%;
}
.product-item__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: var(--radius-mid);
}
.product-item__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	flex-grow: 1;
}
.product-item__series {
	display: flex;
	align-items: center;
	height: 41px;
	padding: 9px 16px;
	border: 1px solid color-mix(in srgb, var(--overlay) 20%, transparent);
	border-radius: var(--radius-pill);
	font-family: var(--font-family-1);
	font-size: 14px;
	line-height: 21px;
	color: var(--black);
}
.product-item__series:empty {
	display: none;
}
.product-item__name {
	font-family: var(--font-family-2);
	font-size: 18px;
	line-height: 21.6px;
	font-weight: 600;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.product-item__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 19.2px;
	font-weight: 500;
	color: var(--black);
}
.product-item__meta:empty {
	display: none;
}
.product-item__variations {
	display: flex;
	align-items: center;
	gap: 8px;
	font: inherit;
	color: inherit;
}
.product-item__variations:empty {
	display: none;
}
.product-item__variations:not(:empty) + .product-item__production::before {
	content: "•";
	margin-right: 8px;
}
.product-item__production:empty {
	display: none;
}
.product-item__change-variation {
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 19.2px;
	font-weight: 500;
	color: var(--black);
	text-decoration: underline;
	transition: all 0.3s ease;
}
@media not all and (pointer: coarse) {
	.product-item__change-variation:hover {
		color: var(--primary-ring);
	}
}
.product-item__price {
	font-family: var(--font-family-2);
	font-size: 28px;
	line-height: 33.6px;
	font-weight: 600;
	text-align: right;
	color: var(--black);
	width: fit-content;
	margin-bottom: 15px;
}
.product-card .product-item__price {
	font-size: 18px;
	line-height: 21.6px;
	text-align: left;
	margin-bottom: 0;
}
.product-card .product-item__price:has(del) {
	flex-direction: column-reverse;
	align-items: flex-end;
	gap: 2px;
	margin-right: 0;
}
.product-card .product-item__price del {
	font-size: 12px;
	line-height: 14.4px;
}
@media (max-width: 1680px) {
	.product-item__price {
		font-size: 20px;
		line-height: 24px;
	}
	.product-card .product-item__price,
	.product-card .product-item__price:has(del) {
		font-size: 14px;
		line-height: 16.8px;
	}
	.product-card .product-item__price del {
		font-size: 11px;
		line-height: 13.2px;
	}
}
@media (max-width: 1279px) {
	.product-item__price {
		font-size: 14px;
		line-height: 16.8px;
	}
}
.product-item__price:has(del) {
	display: flex;
	flex-direction: row-reverse;
	gap: 10px;
	margin-right: 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__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 16px;
	margin-left: auto;
}
.product-item__controls {
	display: flex;
	align-items: center;
	gap: 6px;
}
.product-item__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.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 0.3s 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 Outofstock */
.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;
}

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

/* ================================ */
/* Quantity Input                    */
/* ================================ */

.custom-quantity-input {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 120px;
	height: 53px;
	padding: 0 16px;
	background: transparent;
	border: 1px solid var(--input-border);
	border-radius: var(--radius-pill);
	overflow: hidden;
}
.custom-quantity-input .quantity-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 15px;
	height: 100%;
	margin: 0;
	padding: 0 0 2px 0;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 18px;
	line-height: 18px;
	color: var(--black);
	transition: all 0.3s ease;
}
.custom-quantity-input .quantity-display {
	flex: 1;
	width: auto;
	min-width: 0;
	height: 100%;
	border: none;
	background: transparent;
	text-align: center;
	font-family: var(--font-family-1);
	font-size: 16px;
	line-height: 19.2px;
	font-weight: 500;
	color: var(--black);
	padding: 0;
}
.custom-quantity-input.loading {
	opacity: 0.5;
	pointer-events: none;
}

.product-box .buy-group .custom-quantity-input,
.custom-quantity-input.scroll-price-qty {
	gap: 10px;
	width: 172px;
	height: 67px;
	padding: 0 24px;
	border-color: color-mix(in srgb, var(--black) 40%, transparent);
}
.product-box .buy-group .custom-quantity-input .quantity-btn,
.custom-quantity-input.scroll-price-qty .quantity-btn {
	width: 24px;
	font-size: 24px;
	line-height: 24px;
}
.product-box .buy-group .custom-quantity-input .quantity-display,
.custom-quantity-input.scroll-price-qty .quantity-display {
	font-size: 18px;
	line-height: 21.6px;
	font-weight: 400;
}

@media (max-width: 1680px) {
	.custom-quantity-input {
		height: 51px;
	}
	.custom-quantity-input .quantity-display {
		font-size: 14px;
		line-height: 16.8px;
	}
	.product-box .buy-group .custom-quantity-input,
	.custom-quantity-input.scroll-price-qty {
		width: 157px;
		height: 56px;
		padding: 0 20px;
	}
	.product-box .buy-group .custom-quantity-input .quantity-display,
	.custom-quantity-input.scroll-price-qty .quantity-display {
		font-size: 16px;
		line-height: 19.2px;
	}
}
@media (max-width: 1279px) {
	.custom-quantity-input {
		gap: 8px;
		width: 85px;
		height: 43px;
		padding: 0 12px;
	}
	.product-box .buy-group .custom-quantity-input,
	.custom-quantity-input.scroll-price-qty {
		width: 94px;
		height: 44px;
		padding: 0 16px;
	}
	.product-box .buy-group .custom-quantity-input .quantity-btn,
	.custom-quantity-input.scroll-price-qty .quantity-btn {
		width: 16px;
		font-size: 20px;
		line-height: 20px;
	}
}

/* Product Item Responsive */
@media (max-width: 1680px) {
	.product-item {
		gap: 20px;
	}
	.product-item__image {
		width: 152px;
		height: 146px;
		border-radius: 15px;
	}
	.product-item__img {
		border-radius: 15px;
	}
	.product-item__series {
		height: 38px;
		padding: 8px 14px;
		font-size: 12px;
		line-height: 18px;
	}
	.product-item__name {
		font-size: 16px;
		line-height: 19.2px;
	}
	.product-item__meta,
	.product-item__change-variation {
		font-size: 14px;
		line-height: 16.8px;
	}
}
@media (max-width: 1279px) {
	.product-item__image {
		width: 66px;
		height: 63px;
		border-radius: 7px;
	}
	.product-item__img {
		border-radius: 7px;
	}
	.product-item__info {
		gap: 8px;
	}
	.product-item__series {
		display: none;
	}
	.product-item__name {
		font-size: 14px;
		line-height: 16.8px;
	}
	.product-item__meta {
		gap: 6px;
		font-size: 12px;
		line-height: 18px;
		font-weight: 400;
	}
	.product-item__change-variation {
		font-size: 12px;
		line-height: 18px;
	}
	.product-item .btn {
		font-size: 14px;
		line-height: 14px;
		padding: 0 20px;
	}
	.product-item__total {
		justify-content: flex-end;
		flex-grow: 1;
	}
	.product-item:not(:has(.product-item__side)) {
		flex-wrap: wrap;
	}
	.product-item:not(:has(.product-item__side)) .product-item__info {
		max-width: calc(100% - 66px - 20px - 36px);
	}
	.product-item:not(:has(.product-item__side)) .product-item__quantity {
		margin-left: calc(66px + 20px);
	}
	.product-item:not(:has(.product-item__side)) .product-item__remove {
		position: absolute;
		top: 0;
		right: 0;
	}
}

/* ================================ */
/* Animations                       */
/* ================================ */

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

.product-item.removing {
	opacity: 0;
	transform: translateX(-20px);
}

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

.product-item {
	animation: slideIn 0.3s ease-out;
}
