/* =========================================================================
   Koffe Skates – Portable WooCommerce product card
   ========================================================================= */

:root {
	--koffe-card-bg: #ffffff;
	--koffe-accent: #4ade2a;
}

ul.products li.product.koffe-product-card,
.koffe-product-card {
	list-style: none;
	margin: 0;
	padding: 0;
}

.koffe-product-card .koffe-product-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--koffe-card-bg);
	border-radius: 4px;
	border: 2px solid #111;
	overflow: hidden;
	box-shadow: 5px 5px 0 var(--koffe-accent);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.koffe-product-card:hover .koffe-product-card__inner {
	transform: translate(-2px, -2px);
	box-shadow: 7px 7px 0 var(--koffe-accent);
}

.koffe-product-card .koffe-product-card__media {
	position: relative;
	background: #ffffff;
	overflow: hidden;
}

.koffe-product-card .koffe-product-card__image-link {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #ffffff;
	overflow: hidden;
}

.koffe-product-card .koffe-product-card__image {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: contain;
	padding: 0.75rem;
	transition: opacity 0.25s ease;
	background: #ffffff;
}

.koffe-product-card .koffe-product-card__image--hover {
	opacity: 0;
}

.koffe-product-card:hover .koffe-product-card__image--hover {
	opacity: 1;
}

.koffe-product-card:has(.koffe-product-card__image--hover):hover .koffe-product-card__image--primary {
	opacity: 0;
}

.koffe-product-card.is-swatch-hover .koffe-product-card__image--hover {
	opacity: 0 !important;
}

.koffe-product-card.is-swatch-hover .koffe-product-card__image--primary {
	opacity: 1 !important;
}

.koffe-product-card .onsale,
.koffe-product-card .koffe-sale-badge {
	position: absolute;
	top: 0.85rem;
	left: 0.55rem;
	right: auto;
	min-width: 0;
	margin: 0;
	padding: 0.42rem 0.75rem;
	background: var(--koffe-accent);
	color: #050505;
	border-radius: 0;
	font-family: 'Thunder', 'Inter', sans-serif;
	font-size: 1.22rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transform: rotate(-4deg);
	box-shadow: 5px 5px 0 #050505;
	z-index: 2;
}

.koffe-product-card .koffe-sale-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.koffe-product-card .koffe-sale-badge__fire {
	font-family: 'Inter', sans-serif;
	font-size: 1.05rem;
	line-height: 1;
}

.koffe-product-card .koffe-sale-badge__text {
	display: inline-block;
	line-height: 0.82;
	transform: translateY(0.08em);
}

.koffe-product-card .ast-shop-product-out-of-stock {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	padding: 0.3rem 0.6rem;
	background: rgba(0, 0, 0, 0.78);
	color: #fff;
	border-radius: 999px;
	font-size: 0.7rem;
	line-height: 1;
}

.koffe-product-card .koffe-product-card__summary {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: 0.85rem 1rem 1.1rem;
	background: #ffffff;
}

.koffe-product-card .koffe-product-card__title-link {
	color: inherit;
	text-decoration: none;
}

ul.products li.product.koffe-product-card .koffe-product-card__title,
.koffe-product-card .koffe-product-card__title {
	margin: 0;
	font-family: 'Thunder', 'Inter', sans-serif;
	font-size: 26px;
	font-weight: 600;
	line-height: 24px;
	color: #000000;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

ul.products li.product.koffe-product-card .koffe-product-card__price .price,
.koffe-product-card .koffe-product-card__price .price {
	margin: 0;
	font-family: 'Thunder', 'Inter', sans-serif;
	font-size: 35px;
	font-weight: 600;
	color: #35be0b;
	line-height: 1.1;
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	flex-wrap: wrap;
}

ul.products li.product.koffe-product-card .koffe-product-card__price .price ins,
.koffe-product-card .koffe-product-card__price .price ins {
	background: transparent;
	color: #35be0b;
	text-decoration: none;
	font-weight: 600;
}

ul.products li.product.koffe-product-card .koffe-product-card__price .price del,
.koffe-product-card .koffe-product-card__price .price del {
	color: #999;
	font-size: 0.85rem;
	font-weight: 600;
	opacity: 1;
}

ul.products li.product.koffe-product-card .koffe-product-card__price .price del bdi,
.koffe-product-card .koffe-product-card__price .price del bdi {
	color: inherit;
}

.koffe-product-card .koffe-product-card__price-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.koffe-product-card .koffe-product-card__scotia {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.koffe-product-card .koffe-product-card__scotia-badge {
	width: auto;
	height: 37px;
	display: block;
	flex-shrink: 0;
}

ul.products li.product.koffe-product-card .koffe-product-card__scotia-price,
.koffe-product-card .koffe-product-card__scotia-price {
	font-family: 'Thunder', 'Inter', sans-serif;
	font-size: 28px;
	font-weight: 600;
	color: #ed0722;
	line-height: 1;
	margin-bottom: -8px;
	margin-left: 5px;
}

ul.products li.product.koffe-product-card .koffe-product-card__scotia-price bdi,
.koffe-product-card .koffe-product-card__scotia-price bdi {
	color: inherit;
}

.koffe-product-card .koffe-product-card__swatches {
	margin: 0;
}

.koffe-product-card .cfvsw_variations_form,
.koffe-product-card .cfvsw-shop-variations,
.koffe-product-card .cfvsw-shop-variations table,
.koffe-product-card .cfvsw-shop-variations tbody,
.koffe-product-card .cfvsw-shop-variations tr,
.koffe-product-card .cfvsw-shop-variations td {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.koffe-product-card .cfvsw-swatches-container {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.koffe-product-card .cfvsw-swatches-option {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: inset 0 0 0 2px #fff;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.koffe-product-card .cfvsw-swatches-option:hover,
.koffe-product-card .cfvsw-swatches-option.cfvsw-selected-swatch {
	transform: scale(1.1);
	box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #111;
}

.koffe-product-card .cfvsw-attribute-name,
.koffe-product-card .reset_variations,
.koffe-product-card .cfvsw-selected-label,
.koffe-product-card .button.add_to_cart_button,
.koffe-product-card .button.product_type_simple,
.koffe-product-card .button.product_type_variable,
.koffe-product-card .added_to_cart {
	display: none !important;
}

@media (max-width: 544px) {
	.koffe-product-card .koffe-product-card__inner {
		border-width: 1px;
		box-shadow: 3px 3px 0 var(--koffe-accent);
	}

	.koffe-product-card:hover .koffe-product-card__inner {
		transform: none;
		box-shadow: 3px 3px 0 var(--koffe-accent);
	}

	.koffe-product-card .koffe-product-card__image {
		padding: 0.45rem;
	}

	.koffe-product-card .onsale,
	.koffe-product-card .koffe-sale-badge,
	.koffe-product-card .ast-shop-product-out-of-stock {
		top: 0.45rem;
		padding: 0.25rem 0.45rem;
		font-size: 0.62rem;
	}

	.koffe-product-card .onsale,
	.koffe-product-card .koffe-sale-badge {
		left: 0.45rem;
	}

	.koffe-product-card .koffe-sale-badge {
		gap: 0.22rem;
		font-size: 0.88rem;
		box-shadow: 3px 3px 0 #050505;
	}

	.koffe-product-card .koffe-sale-badge__fire {
		font-size: 0.78rem;
	}

	.koffe-product-card .ast-shop-product-out-of-stock {
		right: 0.45rem;
	}

	.koffe-product-card .koffe-product-card__summary {
		gap: 0.35rem;
		padding: 0.55rem 0.55rem 0.65rem;
	}

	ul.products li.product.koffe-product-card .koffe-product-card__title,
	.koffe-product-card .koffe-product-card__title {
		font-size: 18px;
		line-height: 17px;
		letter-spacing: 0;
	}

	ul.products li.product.koffe-product-card .koffe-product-card__price .price,
	.koffe-product-card .koffe-product-card__price .price {
		font-size: 24px;
		line-height: 1;
		gap: 0.25rem;
	}

	ul.products li.product.koffe-product-card .koffe-product-card__price .price del,
	.koffe-product-card .koffe-product-card__price .price del {
		font-size: 0.7rem;
	}

	.koffe-product-card .koffe-product-card__price-row {
		gap: 0.45rem;
	}

	.koffe-product-card .koffe-product-card__scotia {
		gap: 0.25rem;
	}

	.koffe-product-card .koffe-product-card__scotia-badge {
		height: 25px;
	}

	ul.products li.product.koffe-product-card .koffe-product-card__scotia-price,
	.koffe-product-card .koffe-product-card__scotia-price {
		font-size: 20px;
		margin-bottom: -5px;
		margin-left: 2px;
	}

	.koffe-product-card .cfvsw-swatches-container {
		gap: 3px;
	}

	.koffe-product-card .cfvsw-swatches-option {
		width: 14px !important;
		height: 14px !important;
		min-width: 14px !important;
		min-height: 14px !important;
		padding: 0 !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	.koffe-product-card .cfvsw-swatches-option:hover,
	.koffe-product-card .cfvsw-swatches-option.cfvsw-selected-swatch {
		transform: none;
		box-shadow: 0 0 0 1px #111 !important;
	}
}
