/** Advanced WooCommerce Product Slider */

.spas-widget { --spas-icon-travel: 3.2em; }
.spas-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e6e9ee;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
	transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}
.spas-card:hover { box-shadow: 0 10px 28px rgba(15, 23, 42, .10); }
.spas-media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 0;
	overflow: hidden;
	background: #fff;
	line-height: 0;
}
.spas-image-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none !important; }
.spas-media img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	object-fit: contain;
	transition: transform .35s ease;
}
.spas-image-hover-lift .spas-card:hover .spas-media img { transform: translateY(-5px); }
.spas-content { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; min-width: 0; padding: 12px 14px 0; }
.spas-category, .spas-category:visited { display: block; color: #6b7280; font-size: 12px; line-height: 1.25; text-decoration: none !important; }
.spas-title { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #1d2026; font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.spas-title a, .spas-title a:visited { color: inherit; text-decoration: none !important; transition: color .18s ease; }
.spas-rating-row { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; min-height: 18px; }
.spas-rating { display: inline-flex; align-items: center; line-height: 1; }
.spas-rating .star-rating { float: none; margin: 0; color: #ffb000; }
.spas-rating .star-rating::before { color: #d7dce2; opacity: 1; }
.spas-rating .star-rating span::before { color: #ffb000; }
.spas-review-count { color: #8a9099; font-size: 12px; line-height: 1; }
.spas-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 0; color: #4a9414; font-size: 17px; font-weight: 700; line-height: 1.25; }
.spas-price ins { order: -1; color: inherit; font-weight: inherit; text-decoration: none; background: transparent; }
.spas-price del { color: #7b818a; font-size: .78em; font-weight: 500; opacity: 1; }
.spas-hide-regular-price .spas-price del { display: none; }
.spas-description { color: #606873; font-size: 13px; line-height: 1.5; }
.spas-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: #6b7280; font-size: 12px; line-height: 1.3; }
.spas-stock.in-stock { color: #4a9414; }
.spas-stock.out-of-stock { color: #c0392b; }
.spas-button-wrap { display: flex; align-items: center; margin-top: auto; padding-top: 2px; }
.spas-button-width-full .spas-cart-button { width: 100%; }
.spas-button-width-auto .spas-cart-button { width: auto; }
.spas-cart-button,
.spas-cart-button:visited {
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	background: #fff;
	color: #4a9414;
	padding: 10px 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	border: 1px solid #4a9414;
	border-radius: 7px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	text-decoration: none !important;
	box-shadow: none;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
	-webkit-tap-highlight-color: transparent;
}
.spas-cart-button:hover, .spas-cart-button:focus, .spas-cart-button:active, .spas-cart-button:focus-visible { text-decoration: none !important; }
.spas-cart-button:active { transform: scale(.96); }
.spas-cart-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex: 0 0 20px; }
.spas-cart-icon-inner { display: flex; align-items: center; justify-content: center; transition: transform .32s ease-in-out; }
.spas-cart-icon svg, .spas-cart-icon i { display: block; width: 20px; height: 20px; font-size: 20px; transform-origin: center; transition: transform .32s ease-in-out; }
.spas-cart-text { display: block; min-width: 0; white-space: nowrap; transition: transform .32s ease-in-out, opacity .32s ease-in-out; }
.spas-icon-after .spas-cart-button { flex-direction: row-reverse; }
.spas-button-animation-lift .spas-cart-button:hover { transform: translateY(-2px); }
.spas-cart-button.added { color: #fff; background: #4a9414; }
.spas-button-wrap a.added_to_cart { margin-inline-start: 8px; font-size: 12px; }

@media (hover: hover) {
	.spas-button-animation-cart_fly .spas-cart-button:hover .spas-cart-icon-inner { animation: spas-cart-fly .6s ease-in-out infinite alternate; }
	.spas-button-animation-cart_fly .spas-cart-button:hover .spas-cart-icon svg,
	.spas-button-animation-cart_fly .spas-cart-button:hover .spas-cart-icon i { transform: translateX(var(--spas-icon-travel)) scale(1.1); }
	.spas-button-animation-cart_fly .spas-cart-button:hover .spas-cart-text { transform: translateX(7em); opacity: 0; }
	.spas-icon-after.spas-button-animation-cart_fly .spas-cart-button:hover .spas-cart-icon svg,
	.spas-icon-after.spas-button-animation-cart_fly .spas-cart-button:hover .spas-cart-icon i { transform: translateX(calc(-1 * var(--spas-icon-travel))) scale(1.1); }
	.spas-icon-after.spas-button-animation-cart_fly .spas-cart-button:hover .spas-cart-text { transform: translateX(-7em); opacity: 0; }
}
@keyframes spas-cart-fly { from { transform: translateY(.1em); } to { transform: translateY(-.1em); } }
.spas-badge { position: absolute; top: 10px; left: 10px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; padding: 5px 8px; background: #4a9414; color: #fff; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1; }
.spas-badge-right .spas-badge { right: 10px; left: auto; }
.spas-badge-left .spas-badge { left: 10px; right: auto; }

@media (max-width: 767px) {
	.spas-content { padding-inline: 12px; }
	.spas-cart-button { min-height: 41px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.spas-card, .spas-media img, .spas-cart-button, .spas-cart-icon-inner, .spas-cart-icon svg, .spas-cart-text { transition-duration: .01ms !important; animation: none !important; }
}

/* Keep icon and text on one line even when Astra or another theme styles .button globally. */
.spas-widget .spas-cart-button,
.spas-widget .spas-cart-button:visited,
.spas-widget .spas-cart-button:hover,
.spas-widget .spas-cart-button:focus,
.spas-widget .spas-cart-button:active {
	display: inline-flex !important;
	flex-flow: row nowrap !important;
	align-items: center !important;
	justify-content: center !important;
	white-space: nowrap !important;
	text-align: center !important;
}
.spas-widget.spas-icon-after .spas-cart-button,
.spas-widget.spas-icon-after .spas-cart-button:visited,
.spas-widget.spas-icon-after .spas-cart-button:hover,
.spas-widget.spas-icon-after .spas-cart-button:focus,
.spas-widget.spas-icon-after .spas-cart-button:active {
	flex-direction: row-reverse !important;
}
.spas-widget .spas-cart-icon,
.spas-widget .spas-cart-icon-inner,
.spas-widget .spas-cart-text {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto;
	max-width: none;
	margin: 0 !important;
	padding: 0 !important;
	vertical-align: middle;
}
.spas-widget .spas-cart-icon {
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
}
.spas-widget .spas-cart-text {
	flex: 0 1 auto !important;
	line-height: 1 !important;
}

/* Ensure Elementor/font icons follow the dedicated icon color controls. */
.spas-widget .spas-cart-icon,
.spas-widget .spas-cart-icon-inner,
.spas-widget .spas-cart-icon i,
.spas-widget .spas-cart-icon svg {
	color: inherit !important;
}
.spas-widget .spas-cart-icon svg {
	fill: currentColor !important;
	stroke: currentColor;
}
.spas-widget .spas-cart-icon svg [fill="none"] {
	fill: none !important;
	stroke: currentColor !important;
}
.spas-widget .spas-cart-icon svg [stroke="none"] {
	stroke: none !important;
}
