.fitz-carousel-wrap {
	position: relative;
	width: 100%;
}

.fitz-product-carousel {
	width: 100%;
	overflow: hidden;
}

.fitz-product-card {
	display: block;
	height: auto;
}

.fitz-product-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.fitz-product-image-wrap {
	position: relative;
}

.fitz-product-image {
	width: 100%;
	overflow: hidden;
	background: #F4F4F4;
}

.fitz-product-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.fitz-sale-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #FF007A;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 8px;
	border-radius: 2px;
	z-index: 2;
}

.fitz-add-to-cart {
	position: absolute !important;
	bottom: 10px;
	right: 10px;
	width: 32px !important;
	height: 32px !important;
	border-radius: 50%;
	background: #FFFFFF;
	color: #121212;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-decoration: none;
	box-shadow: none;
	z-index: 2;
	transition: transform 0.15s ease, opacity 0.15s ease;
	border: none !important;
	padding: 0 !important;
	font: inherit;
	appearance: none !important;
	cursor: pointer;
	max-width: 32px !important;
	min-width: 0 !important;
}

.fitz-add-to-cart:hover {
	transform: scale(1.08);
}

/* Variable products: icon stays visibly inactive until a size is chosen,
   but stays clickable so tapping it early can nudge the size row instead
   of silently doing nothing. */
.fitz-add-variable-trigger {
	opacity: 0.4;
}

.fitz-add-variable-trigger.is-ready {
	opacity: 1;
}

.fitz-add-to-cart.is-loading {
	opacity: 0.5;
	cursor: wait;
}

.fitz-add-to-cart.is-added {
	background: #34C759 !important;
}

.fitz-add-to-cart.is-error {
	background: #FF3B30 !important;
}

@keyframes fitzNudge {
	10%, 90% { transform: translateX(-1px); }
	20%, 80% { transform: translateX(2px); }
	30%, 50%, 70% { transform: translateX(-4px); }
	40%, 60% { transform: translateX(4px); }
}

.fitz-add-to-cart.needs-size,
.fitz-size-row.needs-size {
	animation: fitzNudge 0.4s ease;
}

.fitz-size-row.needs-size .fitz-size-btn {
	border-color: #FF3B30 !important;
}

.fitz-add-icon {
	font-size: 18px;
	line-height: 1;
	font-weight: 400;
}

.fitz-add-icon-img {
	width: 55%;
	height: 55%;
	object-fit: contain;
	display: block;
}

.fitz-add-to-cart.loading .fitz-add-icon {
	opacity: 0.4;
}

/* WooCommerce/FunnelKit insert a "View cart" link next to whatever button
   reference gets passed with the added_to_cart event — hidden everywhere in
   the carousel since the header cart icon already covers this. */
.fitz-carousel-wrap .added_to_cart {
	display: none !important;
}

.fitz-size-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding-top: 8px;
}

.fitz-size-btn {
	min-width: 32px;
	padding: 6px 10px;
	font-size: 11px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	background: #FFFFFF !important;
	border: 1px solid #E0E0E0 !important;
	color: #121212 !important;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	box-shadow: none !important;
	line-height: 1.2;
}

.fitz-size-btn:hover:not(.is-disabled):not(.is-loading) {
	background: #121212 !important;
	color: #FFFFFF !important;
}

.fitz-size-btn.is-selected {
	background: #121212 !important;
	color: #FFFFFF !important;
	border-color: #121212 !important;
}

.fitz-size-btn.is-disabled {
	color: #3A3A3A !important;
	opacity: 0.35;
	text-decoration: line-through !important;
	cursor: not-allowed;
	background: #F4F4F4 !important;
}

.fitz-size-btn.is-loading {
	opacity: 0.6;
	cursor: wait;
}

.fitz-size-btn.is-added {
	background: #34C759 !important;
	border-color: #34C759 !important;
	color: #FFFFFF !important;
}

.fitz-size-btn.is-error {
	background: #FF3B30 !important;
	border-color: #FF3B30 !important;
	color: #FFFFFF !important;
}

.fitz-product-info {
	padding-top: 10px;
}

.fitz-product-title {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin: 0 0 4px;
	color: #121212;
}

.fitz-product-price {
	font-size: 14px;
	margin: 0;
	color: #121212;
}

.fitz-product-price del {
	color: #3A3A3A;
	margin-right: 6px;
	font-weight: 400;
	text-decoration: line-through;
}

.fitz-product-price ins {
	text-decoration: none;
	font-weight: 600;
}

.fitz-product-carousel .swiper-wrapper {
	gap: 0; /* spacing handled by Swiper's spaceBetween via JS, kept 0 here to avoid double gaps */
}

.fitz-nav-prev,
.fitz-nav-next,
.fitz-nav-pagination {
	display: none !important;
}

.fitz-nav-prev.is-active,
.fitz-nav-next.is-active {
	display: flex !important;
}

.fitz-nav-pagination.is-active {
	display: block !important;
}

.fitz-nav-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
	background: #3A3A3A;
	opacity: 0.4;
}

.fitz-nav-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
	background: #121212;
	opacity: 1;
}

.fitz-nav-pagination.swiper-pagination-progressbar {
	background: #E0E0E0;
}

.fitz-nav-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
	background: #121212;
}