/* Shoptimizer Conversion Upgrade: scoped frontend styles. */
body.scu-drawer-open {
	overflow: hidden;
}

.scu-overlay {
	position: fixed;
	inset: 0;
	z-index: 99997;
	visibility: hidden;
	opacity: 0;
	background: rgba(0, 0, 0, 0.35);
	transition: opacity .2s ease, visibility .2s ease;
}

body.scu-drawer-open .scu-overlay {
	visibility: visible;
	opacity: 1;
}

.scu-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 99998;
	width: min(430px, 92vw);
	height: 100vh;
	background: #fff;
	box-shadow: -18px 0 50px rgba(0, 0, 0, .16);
	transform: translateX(105%);
	transition: transform .25s ease;
	display: flex;
	flex-direction: column;
}

.admin-bar .scu-cart-drawer {
	top: 32px;
	height: calc(100vh - 32px);
}

body.scu-drawer-open .scu-cart-drawer {
	transform: translateX(0);
}

.scu-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	font-size: 18px;
}

.scu-close {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, .06);
	color: #111;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.scu-drawer-body {
	overflow-y: auto;
	padding: 0 22px 22px;
	flex: 1;
}

.scu-drawer-body .woocommerce-mini-cart__buttons {
	position: sticky;
	bottom: 0;
	background: #fff;
	padding-top: 12px;
	padding-bottom: 12px;
}

.scu-free-shipping {
	margin: 14px 0 16px;
	padding: 12px 14px;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 10px;
	background: rgba(0, 0, 0, .025);
}

.scu-free-shipping-text {
	margin-bottom: 9px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.scu-free-shipping-track {
	height: 7px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(0, 0, 0, .1);
}

.scu-free-shipping-track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: currentColor;
	transition: width .25s ease;
}

.scu-mini-cart-qty {
	display: flex !important;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	flex-wrap: wrap;
}

.scu-qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	min-width: 26px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, .14);
	border-radius: 50%;
	background: #fff;
	color: #111;
	line-height: 1;
	cursor: pointer;
}

.scu-mini-qty {
	width: 48px !important;
	height: 30px;
	padding: 2px 4px !important;
	text-align: center;
	font-size: 14px;
}

.scu-mini-cart-qty.scu-updating {
	opacity: .55;
	pointer-events: none;
}

.scu-mini-price {
	font-size: 13px;
	opacity: .75;
}

.scu-pdp-benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	margin-top: 14px;
	margin-bottom: 10px;
}

.scu-pdp-benefits span {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 9px 10px;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 9px;
	background: rgba(0, 0, 0, .025);
	font-size: 13px;
	line-height: 1.35;
}

.scu-pdp-benefits b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .08);
	font-size: 12px;
}

.scu-pdp-panels {
	margin: 14px 0 18px;
	border-top: 1px solid rgba(0, 0, 0, .08);
}

.scu-pdp-panels details {
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	padding: 0;
}

.scu-pdp-panels summary {
	cursor: pointer;
	font-weight: 700;
	padding: 13px 0;
	list-style: none;
	position: relative;
}

.scu-pdp-panels summary::-webkit-details-marker {
	display: none;
}

.scu-pdp-panels summary:after {
	content: '+';
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 400;
}

.scu-pdp-panels details[open] summary:after {
	content: '−';
}

.scu-panel-content {
	padding: 0 24px 13px 0;
	font-size: 14px;
	line-height: 1.55;
}

.scu-panel-content p:last-child {
	margin-bottom: 0;
}

.woocommerce ul.products li.product,
ul.products li.product {
	position: relative;
}

.woocommerce ul.products li.product .button.scu-quick-add,
ul.products li.product .button.scu-quick-add {
	transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}

@media (hover: hover) and (min-width: 768px) {
	.woocommerce ul.products li.product .button.scu-quick-add,
	ul.products li.product .button.scu-quick-add {
		transform: translateY(9px);
		opacity: .88;
	}

	.woocommerce ul.products li.product:hover .button.scu-quick-add,
	ul.products li.product:hover .button.scu-quick-add,
	.woocommerce ul.products li.product:focus-within .button.scu-quick-add,
	ul.products li.product:focus-within .button.scu-quick-add {
		transform: translateY(0);
		opacity: 1;
	}
}

.scu-sticky-atc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	padding: 10px 16px;
	background: #fff;
	box-shadow: 0 -10px 30px rgba(0, 0, 0, .12);
	transform: translateY(110%);
	transition: transform .22s ease;
}

.scu-sticky-atc.scu-visible {
	transform: translateY(0);
}

.scu-sticky-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1170px;
	margin: 0 auto;
}

.scu-sticky-product {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.scu-sticky-thumb {
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 8px;
}

.scu-sticky-product strong,
.scu-sticky-product span {
	display: block;
	line-height: 1.25;
}

.scu-sticky-product strong {
	max-width: min(48vw, 520px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.scu-sticky-button {
	white-space: nowrap;
}

@media (max-width: 782px) {
	.admin-bar .scu-cart-drawer {
		top: 46px;
		height: calc(100vh - 46px);
	}
}

@media (max-width: 640px) {
	.scu-pdp-benefits {
		grid-template-columns: 1fr;
	}

	.scu-sticky-atc {
		padding: 9px 12px;
	}

	.scu-sticky-thumb {
		width: 44px;
		height: 44px;
	}

	.scu-sticky-product strong {
		max-width: 42vw;
		font-size: 13px;
	}

	.scu-sticky-product span {
		font-size: 12px;
	}
}

/* Shopify-inspired enhancement layer. Active only when the Michael Kors preset body class is present. */
body.scu-shopify-inspired ul.products li.product .scu-loop-rating {
	display: flex;
	align-items: center;
	min-height: 18px;
	margin: 7px 0 4px;
}

body.scu-shopify-inspired ul.products li.product .scu-loop-rating .star-rating {
	float: none;
	margin: 0;
	font-size: 13px;
	letter-spacing: 1px;
}

body.scu-shopify-inspired ul.products li.product .scu-loop-thumbs {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 8px 0 10px;
	min-height: 38px;
	overflow: hidden;
}

body.scu-shopify-inspired ul.products li.product .scu-loop-thumb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	min-width: 34px;
	border: 1px solid rgba(0, 0, 0, .16);
	background: #fff;
}

body.scu-shopify-inspired ul.products li.product .scu-loop-thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.scu-shopify-inspired .scu-sale-countdown {
	clear: both;
	width: 100%;
	margin: 18px 0 16px;
	padding-top: 4px;
	color: #111;
}

body.scu-shopify-inspired .scu-sale-countdown-label {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 600;
}

body.scu-shopify-inspired .scu-sale-countdown-time {
	display: grid;
	grid-template-columns: repeat(4, auto);
	align-items: end;
	justify-content: start;
	gap: 4px 12px;
	max-width: 360px;
}

body.scu-shopify-inspired .scu-sale-countdown-time span {
	display: block;
	font-size: clamp(32px, 8vw, 48px);
	font-weight: 400;
	letter-spacing: .04em;
	line-height: .9;
}

body.scu-shopify-inspired .scu-sale-countdown-time span:not(:last-of-type)::after {
	content: ':';
	margin-left: 10px;
	color: currentColor;
}

body.scu-shopify-inspired .scu-sale-countdown-time em {
	grid-row: 2;
	font-size: 13px;
	font-style: normal;
	line-height: 1.2;
	opacity: .72;
}

body.scu-shopify-inspired .scu-mini-cart-addon-item {
	margin: 18px 0 !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none !important;
}

body.scu-shopify-inspired .scu-addon-card {
	margin: 18px 0;
	padding: 18px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 12px;
	background: #fff;
	color: #111;
}

body.scu-shopify-inspired .scu-addon-card h3 {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}

body.scu-shopify-inspired .scu-addon-product-row {
	display: grid;
	grid-template-columns: 74px 1fr;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

body.scu-shopify-inspired .scu-addon-image-link,
body.scu-shopify-inspired .scu-addon-image-link:hover {
	display: block;
	text-decoration: none;
}

body.scu-shopify-inspired .scu-addon-image {
	display: block;
	width: 74px;
	height: 74px;
	object-fit: cover;
	background: #f2f2f2;
}

body.scu-shopify-inspired .scu-addon-title {
	display: block;
	color: #111;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
}

body.scu-shopify-inspired .scu-addon-price,
body.scu-shopify-inspired .scu-addon-price .amount {
	margin-top: 4px;
	color: #111;
	font-weight: 500;
}

body.scu-shopify-inspired .scu-addon-button,
body.scu-shopify-inspired .scu-addon-button:hover {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 48px !important;
	padding: 12px 18px !important;
	border-radius: 0 !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-align: center !important;
}

body.scu-shopify-inspired .scu-reserve-timer {
	margin: 0 0 28px;
	padding: 22px 18px;
	border: 1px solid rgba(0, 0, 0, .18);
	border-radius: 0;
	background: #f7f7f7;
	color: #111;
	text-align: center;
}

body.scu-shopify-inspired .scu-reserve-timer span,
body.scu-shopify-inspired .scu-reserve-timer strong {
	display: block;
}

body.scu-shopify-inspired .scu-reserve-timer span {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
}

body.scu-shopify-inspired .scu-reserve-timer strong {
	margin-top: 5px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
}

body.scu-shopify-inspired .feature,
body.scu-shopify-inspired .image-feature,
body.scu-shopify-inspired .elementor-widget-image.image-feature,
body.scu-shopify-inspired .shoptimizer-category-banner,
body.scu-shopify-inspired .shoptimizer-banner {
	background-size: cover !important;
	background-position: center !important;
}

body.scu-shopify-inspired .feature img,
body.scu-shopify-inspired .image-feature img,
body.scu-shopify-inspired .elementor-widget-image.image-feature img {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

@media (max-width: 767px) {
	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-gallery-peek-ready,
	body.scu-shopify-inspired.single-product div.product .woocommerce-product-gallery {
		position: relative;
		overflow: hidden !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery .flex-viewport {
		overflow: hidden !important;
	}

	body.scu-shopify-inspired.single-product .scu-gallery-next-peek {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 4;
		display: none;
		width: 13%;
		height: var(--scu-gallery-peek-height, 360px);
		padding: 0;
		border: 0;
		background: #f4f4f4;
		box-shadow: -8px 0 16px rgba(255, 255, 255, .65);
		cursor: pointer;
		overflow: hidden;
	}

	body.scu-shopify-inspired.single-product .scu-gallery-next-peek.scu-active {
		display: block;
	}

	body.scu-shopify-inspired.single-product .scu-gallery-next-peek img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: left center;
	}

	body.scu-shopify-inspired .scu-addon-card {
		padding: 16px;
	}
}

/* v6: hard mobile PDP gallery + sticky/quantity corrections for the monochrome preset. */
body.scu-shopify-inspired.single-product:not(.scu-main-atc-hidden) .scu-sticky-atc,
body.scu-shopify-inspired.single-product:not(.scu-main-atc-hidden) .shoptimizer-sticky-add-to-cart,
body.scu-shopify-inspired.single-product:not(.scu-main-atc-hidden) .commercekit-sticky-add-to-cart,
body.scu-shopify-inspired.single-product:not(.scu-main-atc-hidden) .commercekit-pdp-sticky-atc,
body.shoptimizer-michael-kors-style.single-product:not(.scu-main-atc-hidden) .scu-sticky-atc,
body.shoptimizer-michael-kors-style.single-product:not(.scu-main-atc-hidden) .shoptimizer-sticky-add-to-cart,
body.shoptimizer-michael-kors-style.single-product:not(.scu-main-atc-hidden) .commercekit-sticky-add-to-cart,
body.shoptimizer-michael-kors-style.single-product:not(.scu-main-atc-hidden) .commercekit-pdp-sticky-atc {
	opacity: 0 !important;
	pointer-events: none !important;
	transform: translateY(120%) !important;
}

body.scu-shopify-inspired.single-product:not(.scu-main-atc-hidden) .shoptimizer-sticky-add-to-cart,
body.scu-shopify-inspired.single-product:not(.scu-main-atc-hidden) .commercekit-sticky-add-to-cart,
body.scu-shopify-inspired.single-product:not(.scu-main-atc-hidden) .commercekit-pdp-sticky-atc,
body.shoptimizer-michael-kors-style.single-product:not(.scu-main-atc-hidden) .shoptimizer-sticky-add-to-cart,
body.shoptimizer-michael-kors-style.single-product:not(.scu-main-atc-hidden) .commercekit-sticky-add-to-cart,
body.shoptimizer-michael-kors-style.single-product:not(.scu-main-atc-hidden) .commercekit-pdp-sticky-atc {
	bottom: -160px !important;
	top: auto !important;
}

body.scu-shopify-inspired.single-product.scu-main-atc-hidden .shoptimizer-sticky-add-to-cart.visible,
body.shoptimizer-michael-kors-style.single-product.scu-main-atc-hidden .shoptimizer-sticky-add-to-cart.visible {
	bottom: 0 !important;
	top: auto !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	transform: translateY(0) !important;
}

body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity,
body.scu-shopify-inspired.single-product div.product form.cart div.quantity {
	background: #fff !important;
	border: 1px solid #000 !important;
	border-radius: 0 !important;
	overflow: hidden !important;
}

body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity input.qty,
body.scu-shopify-inspired.single-product div.product form.cart div.quantity input.qty {
	background: #fff !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #000 !important;
	font-weight: 600 !important;
	text-align: center !important;
}

body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity .quantity-nav,
body.scu-shopify-inspired.single-product div.product form.cart div.quantity .quantity-nav {
	background: #fff !important;
	border-left: 1px solid #000 !important;
}

body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity .quantity-button,
body.scu-shopify-inspired.single-product div.product form.cart div.quantity .quantity-button,
body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity .plus,
body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity .minus,
body.scu-shopify-inspired.single-product div.product form.cart div.quantity .plus,
body.scu-shopify-inspired.single-product div.product form.cart div.quantity .minus {
	background: #fff !important;
	border-color: #000 !important;
	color: #000 !important;
}

@media (max-width: 767px) {
	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel {
		position: relative !important;
		overflow: hidden !important;
		width: 100% !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .flex-viewport,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .flex-viewport {
		height: auto !important;
		overflow: visible !important;
		margin-bottom: 12px !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__wrapper,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__wrapper {
		position: relative !important;
		width: 100% !important;
		height: var(--scu-gallery-peek-height, auto) !important;
		min-height: var(--scu-gallery-peek-height, 260px) !important;
		margin: 0 0 12px !important;
		padding: 0 !important;
		transform: none !important;
		overflow: hidden !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__image,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__image {
		display: none !important;
		float: none !important;
		width: 88% !important;
		max-width: 88% !important;
		margin: 0 !important;
		padding: 0 !important;
		opacity: 0 !important;
		visibility: hidden !important;
		transform: none !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__image.scu-gallery-current,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__image.scu-gallery-current {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__image.scu-gallery-current a,
	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__image.scu-gallery-current img,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__image.scu-gallery-current a,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__image.scu-gallery-current img {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		max-width: 100% !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__trigger,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__trigger {
		right: calc(12% + 12px) !important;
		z-index: 9 !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-next-peek,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-next-peek {
		display: none;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 5;
		width: 10.5%;
		height: var(--scu-gallery-peek-height, 360px);
		min-height: 100%;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: #f4f4f4 !important;
		box-shadow: -10px 0 18px rgba(255,255,255,.72);
		cursor: pointer;
		overflow: hidden;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-next-peek.scu-active,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-next-peek.scu-active {
		display: block !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-next-peek img,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-next-peek img {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		object-position: left center !important;
		max-width: none !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-dots,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 12px;
		margin: 10px 0 18px;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-dot,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-dot {
		width: 10px !important;
		height: 10px !important;
		min-width: 10px !important;
		min-height: 10px !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 50% !important;
		background: #d0d0d0 !important;
		line-height: 1 !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-dot.scu-active,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-dot.scu-active {
		background: #000 !important;
	}
}


/* v8: restore safe mobile gallery rendering, keep the peek inside the main image height only, and keep dots/thumbs clickable. */
@media (max-width: 767px) {
	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel {
		overflow: hidden !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .flex-viewport,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .flex-viewport {
		overflow: visible !important;
		margin-bottom: 0 !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__wrapper,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__wrapper {
		position: relative !important;
		overflow: hidden !important;
		margin-bottom: 12px !important;
		z-index: 2 !important;
		isolation: isolate !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__image.scu-gallery-current,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__image.scu-gallery-current {
		position: relative !important;
		z-index: 2 !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-next-peek,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-next-peek {
		top: 0 !important;
		right: 0 !important;
		bottom: auto !important;
		height: var(--scu-gallery-peek-height, 340px) !important;
		max-height: var(--scu-gallery-peek-height, 340px) !important;
		min-height: 0 !important;
		z-index: 3 !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-dots,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .scu-gallery-dots,
	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .flex-control-nav,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .flex-control-nav,
	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .flex-control-thumbs,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .flex-control-thumbs {
		position: relative !important;
		z-index: 12 !important;
		pointer-events: auto !important;
		clear: both !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .flex-control-thumbs,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .flex-control-thumbs {
		display: flex !important;
		gap: 8px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		padding: 5px 0 8px !important;
		margin-top: 6px !important;
	}

	body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .flex-control-thumbs li,
	body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .flex-control-thumbs li {
		float: none !important;
		width: 56px !important;
		min-width: 56px !important;
		margin: 0 !important;
	}
}


/* v9: restore native Shoptimizer/WooCommerce product gallery. Do not force a custom mobile carousel; the Shoptimizer demo uses the native Woo gallery/slider. */
body.scu-shopify-inspired.single-product .scu-gallery-next-peek,
body.scu-shopify-inspired.single-product .scu-gallery-dots,
body.shoptimizer-michael-kors-style.single-product .scu-gallery-next-peek,
body.shoptimizer-michael-kors-style.single-product .scu-gallery-dots {
	display: none !important;
}

body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel,
body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel {
	overflow: visible !important;
}

body.scu-shopify-inspired.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__image,
body.shoptimizer-michael-kors-style.single-product .woocommerce-product-gallery.scu-mobile-gallery-carousel .woocommerce-product-gallery__image {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* v9: make Shoptimizer quantity controls visible inside the Michael Kors / Shopify inspired PDP buy row. */
body.scu-shopify-inspired.single-product div.product form.cart div.quantity,
body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity,
body.scu-shopify-inspired.single-product .summary div.quantity,
body.shoptimizer-michael-kors-style.single-product .summary div.quantity {
	display: inline-flex !important;
	align-items: stretch !important;
	width: 96px !important;
	min-width: 96px !important;
	height: 58px !important;
	overflow: visible !important;
	background: #fff !important;
	border: 1px solid #000 !important;
	border-radius: 0 !important;
}

body.scu-shopify-inspired.single-product div.product form.cart div.quantity input.qty,
body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity input.qty,
body.scu-shopify-inspired.single-product .summary div.quantity input.qty,
body.shoptimizer-michael-kors-style.single-product .summary div.quantity input.qty {
	flex: 0 0 58px !important;
	width: 58px !important;
	height: 56px !important;
	min-height: 56px !important;
	border: 0 !important;
	background: #fff !important;
	color: #000 !important;
	text-align: center !important;
}

body.scu-shopify-inspired.single-product div.product form.cart div.quantity .quantity-nav,
body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity .quantity-nav,
body.scu-shopify-inspired.single-product .summary div.quantity .quantity-nav,
body.shoptimizer-michael-kors-style.single-product .summary div.quantity .quantity-nav {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	flex: 0 0 38px !important;
	width: 38px !important;
	height: 56px !important;
	border: 0 !important;
	border-left: 1px solid #000 !important;
	background: #fff !important;
	border-radius: 0 !important;
}

body.scu-shopify-inspired.single-product div.product form.cart div.quantity .quantity-button,
body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity .quantity-button,
body.scu-shopify-inspired.single-product .summary div.quantity .quantity-button,
body.shoptimizer-michael-kors-style.single-product .summary div.quantity .quantity-button {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	display: block !important;
	height: 50% !important;
	background: #fff !important;
	color: #000 !important;
	border: 0 !important;
	border-radius: 0 !important;
}

body.scu-shopify-inspired.single-product div.product form.cart div.quantity .quantity-button.quantity-up,
body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity .quantity-button.quantity-up,
body.scu-shopify-inspired.single-product .summary div.quantity .quantity-button.quantity-up,
body.shoptimizer-michael-kors-style.single-product .summary div.quantity .quantity-button.quantity-up {
	top: 0 !important;
	border-bottom: 1px solid #000 !important;
}

body.scu-shopify-inspired.single-product div.product form.cart div.quantity .quantity-button.quantity-down,
body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity .quantity-button.quantity-down,
body.scu-shopify-inspired.single-product .summary div.quantity .quantity-button.quantity-down,
body.shoptimizer-michael-kors-style.single-product .summary div.quantity .quantity-button.quantity-down {
	bottom: 0 !important;
}

body.scu-shopify-inspired.single-product div.product form.cart div.quantity .quantity-button:before,
body.shoptimizer-michael-kors-style.single-product div.product form.cart div.quantity .quantity-button:before,
body.scu-shopify-inspired.single-product .summary div.quantity .quantity-button:before,
body.shoptimizer-michael-kors-style.single-product .summary div.quantity .quantity-button:before {
	background: #000 !important;
}
