/**
 * Small motion details for the classic design (Red Kimchi), copied from the Sauerkraut design:
 * gallery thumbnails get a grey border on hover, and the quantity number pops when + or - is
 * clicked. Loaded only on classic products, together with classic-motion.js.
 */

body [data-hlc-hero] .images-group .thumb {
	transition: border-color 160ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
body [data-hlc-hero] .images-group .thumb:hover:not(.is-active),
body [data-hlc-hero] .images-group .thumb:focus-visible:not(.is-active) {
	border-color: #9c9c9c;
}

body [data-hlc-hero] .qty-step,
body [data-hlc-hero] .qty-step-value {
	transition: color 160ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 160ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
body [data-hlc-hero] .qty-step:hover:not(:disabled),
body [data-hlc-hero] .qty-step:focus-visible:not(:disabled) {
	color: #000;
}
body [data-hlc-hero] .qty-step-value {
	font-variant-numeric: tabular-nums;
}
body [data-hlc-hero] .qty-step-value.is-bumped {
	animation: hlc-qty-pop 160ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes hlc-qty-pop {
	0% { transform: scale(1); }
	50% { transform: scale(1.18); }
	100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	body [data-hlc-hero] .images-group .thumb,
	body [data-hlc-hero] .qty-step,
	body [data-hlc-hero] .qty-step-value {
		transition: none;
	}
	body [data-hlc-hero] .qty-step-value.is-bumped {
		animation: none;
	}
}

/* Recipe cards slider arrows (cards-nav): the Sauerkraut comparison table's round buttons */
body .grid-wrap {
	position: relative;
}
body button.hlc-cards-nav {
	position: absolute;
	transform: translateY(-50%);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	font-family: "DM Sans", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	color: #1a1a1a;
	cursor: pointer;
}
body button.hlc-cards-nav:hover,
body button.hlc-cards-nav:focus,
body button.hlc-cards-nav:active {
	background: rgba(255, 255, 255, 0.92);
	border-color: rgba(0, 0, 0, 0.15);
	color: #1a1a1a;
}
body button.hlc-cards-nav:focus-visible {
	outline: 3px solid #1b1b1b;
	outline-offset: 2px;
}
body button.hlc-cards-nav--left {
	left: 4px;
}
body button.hlc-cards-nav--right {
	right: 4px;
}

/* Sticky bar steps aside while it would cover the recipe slider's right arrow (see classic-motion.js) */
body .mystickyelements-fixed.hlc-sticky-yield {
	opacity: 0 !important;
	pointer-events: none !important;
}
