/**
 * Rotitoo — Single product page (reversible via rotitoo_app_shell_ui_enabled filter)
 */

body.rotitoo-app-shell.single-product {
	background: #ffffff;
	--rotitoo-sp-radius: 14px;
	--rotitoo-sp-border: 1px solid rgba(215, 185, 165, 0.38);
	--rotitoo-sp-text: #1e1814;
	--rotitoo-sp-text-body: #3d3530;
	--rotitoo-sp-muted: #7a6f68;
	--rotitoo-sp-accent: #b85c4a;
	--rotitoo-sp-swatch: 58px;
	--rotitoo-sp-swatch-lg: 68px;
	--rotitoo-sticky-top: calc(var(--rotitoo-header-h, 90px) + var(--rotitoo-admin-bar-offset, 0px) + 20px);
	--rotitoo-pdp-gap: clamp(24px, 3.5vw, 56px);
	--rotitoo-pdp-slide-h: min(85vh, 900px);
}

body.rotitoo-app-shell.single-product .site-content,
body.rotitoo-app-shell.single-product .rotitoo-main,
body.rotitoo-app-shell.single-product .rotitoo-single-product-wrap {
	background: #ffffff;
}

body.admin-bar.rotitoo-app-shell.single-product {
	--rotitoo-pdp-slide-h: min(calc(85vh - var(--rotitoo-admin-bar-offset, 32px)), 880px);
}

/* Woodmart floating share rail — keep off variation cards; leave room for PDP nav */
@media (min-width: 1025px) {
	body.rotitoo-app-shell.single-product .wd-sticky-social {
		z-index: 4;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .wd-sticky-social {
		inset-inline-end: 10px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern:has(.rotitoo-pdp-nav) .wd-sticky-social {
		top: calc(50% - 88px) !important;
		bottom: auto !important;
		transform: translateY(-50%);
	}
}
body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .wd-sticky-col,
body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .summary-inner.wd-sticky,
body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .wd-sticky-btn {
	position: static !important;
	transform: none !important;
	width: auto !important;
}

/* Prevent parent overflow from breaking sticky summary */
body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary,
body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner,
body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary [class*='col-'] {
	overflow: visible !important;
}

/* ─── Layout: OKHTEIN-style gallery + sticky summary ─────────── */
body.rotitoo-app-shell.single-product .product-image-summary {
	gap: clamp(20px, 3vw, 48px);
	align-items: start !important;
}

@media (min-width: 1025px) {
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern {
		--rotitoo-sp-swatch: 80px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .site-content .container,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .rotitoo-single-product-wrap {
		max-width: min(1380px, 94vw);
		width: 100%;
		margin-inline: auto;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .site-content > .container,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .site-content .container > .row,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .wd-content-area,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .main-page-wrapper {
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .site-content [class*='col-']:has(.product.type-product),
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .site-content [class*='col-']:has(.product-image-summary),
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .site-content [class*='col-']:has(.rotitoo-single-product-wrap),
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-wrap,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .rotitoo-single-product-wrap {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product:has(> .rotitoo-pdp-flat-host),
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product:has(> .product-image-summary.rotitoo-pdp-flat-host) {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary {
		display: block !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas: 'gallery summary';
		align-items: stretch !important;
		gap: var(--rotitoo-pdp-gap);
		margin: 0 !important;
	}

	/* Flat PDP — gallery + summary are direct children of .product.type-product */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		grid-template-areas: 'gallery summary';
		align-items: start !important;
		gap: var(--rotitoo-pdp-gap);
		width: 100% !important;
		max-width: min(1380px, 94vw);
		margin-inline: auto;
		overflow: visible !important;
	}

	/* Single gallery column — hide empty mount; never assign grid to two siblings */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > #rotitoo-pdp-gallery-mount,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > .rotitoo-pdp-gallery-mount {
		display: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > .rotitoo-pdp-flat-gallery,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > .woocommerce-product-gallery {
		grid-area: gallery;
		min-width: 0;
		width: 100% !important;
		max-width: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > .rotitoo-pdp-flat-gallery {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat:not(.rotitoo-pdp-native-gallery) .rotitoo-pdp-flat-gallery #rotitoo-pdp-gallery-mount,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat:not(.rotitoo-pdp-native-gallery) .rotitoo-pdp-flat-gallery .rotitoo-pdp-gallery-mount {
		display: none !important;
		height: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
	}

	/* Flat layout: gallery images must fill the left half (not scoped under .product-image-summary) */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .woocommerce-product-gallery,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > .woocommerce-product-gallery {
		border: none;
		box-shadow: none;
		background: transparent;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .woocommerce-product-gallery .woocommerce-product-gallery__image,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > .woocommerce-product-gallery .woocommerce-product-gallery__image {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .woocommerce-product-gallery .woocommerce-product-gallery__image a,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > .woocommerce-product-gallery .woocommerce-product-gallery__image a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .woocommerce-product-gallery .woocommerce-product-gallery__image img,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > .woocommerce-product-gallery .woocommerce-product-gallery__image img {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		max-width: 100% !important;
		max-height: var(--rotitoo-pdp-slide-h) !important;
		object-fit: contain !important;
		object-position: center center !important;
	}

	/* Flat layout: Woodmart carousel must fill the entire left half (not ~50% of it) */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .woocommerce-product-gallery,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .wd-carousel-container,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .wd-carousel-inner,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .woocommerce-product-gallery__wrapper,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .wd-carousel-wrap {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		transform: none !important;
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .wd-carousel-wrap,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .woocommerce-product-gallery__wrapper.wd-grid {
		display: flex !important;
		flex-direction: column !important;
		grid-template-columns: none !important;
		gap: 20px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .wd-carousel-item,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .rotitoo-pdp-flat-gallery .woocommerce-product-gallery__image {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 18px 20px;
		box-sizing: border-box !important;
		background: #ffffff;
		border-radius: 12px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > .entry-summary {
		grid-area: summary;
		position: static !important;
		display: flex;
		flex-direction: column;
		align-self: stretch;
		width: 100% !important;
		max-width: none !important;
		min-height: 100%;
		max-height: none;
		overflow: visible;
		overscroll-behavior: auto;
		padding-inline: clamp(12px, 2vw, 24px);
		z-index: 2;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > .entry-summary > .summary-inner {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 100%;
		width: 100%;
		max-width: none;
		padding: 0;
		border: none;
		box-shadow: none;
		background: transparent;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > .related.products,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product.type-product > .upsells.products {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	/* Flat PDP — Woodmart .product-image-summary without .product-image-summary-inner */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product-image-summary.rotitoo-pdp-flat-host {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		grid-template-areas: 'gallery summary';
		align-items: start !important;
		gap: var(--rotitoo-pdp-gap);
		width: 100% !important;
		max-width: min(1380px, 94vw);
		margin-inline: auto;
		overflow: visible !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product-image-summary.rotitoo-pdp-flat-host > #rotitoo-pdp-gallery-mount,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product-image-summary.rotitoo-pdp-flat-host > .rotitoo-pdp-gallery-mount {
		display: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product-image-summary.rotitoo-pdp-flat-host > .rotitoo-pdp-flat-gallery,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product-image-summary.rotitoo-pdp-flat-host > .woocommerce-product-gallery,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product-image-summary.rotitoo-pdp-flat-host > .product-images {
		grid-area: gallery;
		min-width: 0;
		width: 100% !important;
		max-width: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product-image-summary.rotitoo-pdp-flat-host > .entry-summary,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product-image-summary.rotitoo-pdp-flat-host > .summary {
		grid-area: summary;
		position: static !important;
		display: flex;
		flex-direction: column;
		align-self: stretch;
		width: 100% !important;
		max-width: none !important;
		min-height: 100%;
		padding-inline: clamp(12px, 2vw, 24px);
		z-index: 2;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product-image-summary.rotitoo-pdp-flat-host .rotitoo-pdp-flat-gallery .woocommerce-product-gallery,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product-image-summary.rotitoo-pdp-flat-host > .woocommerce-product-gallery .woocommerce-product-gallery,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern.rotitoo-pdp-flat .product-image-summary.rotitoo-pdp-flat-host > .product-images .woocommerce-product-gallery {
		width: 100% !important;
		max-width: none !important;
	}

	/* Bootstrap cols must fill grid tracks — not stay at 50% */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > [class*='col-'] {
		width: 100% !important;
		max-width: none !important;
		flex: none !important;
		padding-inline: 0 !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .product-images,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .woocommerce-product-gallery,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .wd-gallery-images-wrap {
		grid-area: gallery;
		min-width: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .summary,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .entry-summary {
		grid-area: summary;
		position: static !important;
		display: flex;
		flex-direction: column;
		align-self: stretch;
		width: 100% !important;
		max-width: none !important;
		min-height: 100%;
		max-height: none;
		overflow: visible;
		overscroll-behavior: auto;
		padding-inline: clamp(8px, 1.5vw, 20px) clamp(44px, 5vw, 56px);
		z-index: 2;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .summary-inner {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 100%;
		width: 100%;
		max-width: none;
		padding: 0;
		border: none;
		box-shadow: none;
		background: transparent;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .rotitoo-pdp-sticky-buy {
		position: sticky;
		top: var(--rotitoo-sticky-top, calc(var(--wd-header-h, 80px) + 20px));
		z-index: 4;
		align-self: start;
		width: 100%;
		display: flex;
		flex-direction: column;
		background: #fff;
		padding-bottom: 10px;
	}

	/* Floating buy card — flat PDP (buy stack + in-card details footer) */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card {
		position: sticky;
		top: calc(var(--rotitoo-sticky-top, calc(var(--wd-header-h, 80px) + 10px)) - 4px);
		z-index: 5;
		align-self: start;
		width: 100%;
		display: flex;
		flex-direction: column;
		gap: clamp(4px, 0.7vw, 8px);
		padding: clamp(10px, 1.3vw, 16px) clamp(12px, 1.5vw, 18px);
		background: #ffffff;
		border: 1px solid rgba(210, 185, 168, 0.52);
		border-radius: 18px;
		box-shadow:
			0 2px 8px rgba(30, 24, 20, 0.04),
			0 14px 36px rgba(30, 24, 20, 0.09),
			0 0 0 1px rgba(255, 255, 255, 0.65) inset;
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .product.type-product > .entry-summary {
		background: transparent;
		padding-inline: clamp(6px, 1vw, 14px);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .entry-summary > .summary-inner {
		min-height: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .product_title {
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size: clamp(1.05rem, 1.6vw, 1.28rem);
		font-weight: 400;
		letter-spacing: 0.03em;
		text-transform: none;
		line-height: 1.35;
		color: var(--rotitoo-sp-text, #2c2420);
		margin: 0 0 2px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .product_title .rotitoo-pdp-title-count {
		display: inline;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
		font-size: 0.72em;
		font-weight: 400;
		font-style: normal;
		letter-spacing: 0.01em;
		color: rgba(122, 111, 104, 0.9);
		white-space: nowrap;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-var-section {
		margin-top: 0;
		padding-top: 0;
		border-top: none;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-price-wrap {
		margin: clamp(4px, 0.5vw, 6px) 0 clamp(2px, 0.4vw, 6px);
		padding: clamp(10px, 1.2vw, 14px) clamp(12px, 1.4vw, 16px);
		border: 1px solid rgba(210, 185, 168, 0.45);
		border-radius: 12px;
		background: rgba(255, 252, 249, 0.72);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-price {
		font-size: clamp(1.15rem, 2vw, 1.45rem);
		font-weight: 600;
		color: var(--rotitoo-sp-accent, #8b5a3c);
		letter-spacing: 0.03em;
	}

	/* Compact variation grid inside float card */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-var-section {
		margin: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-var-section__head {
		margin-bottom: 2px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-var-section__selected {
		font-size: 0.72rem;
		margin: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-var-cards {
		gap: 4px 5px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-var-section__scroll {
		max-height: none;
		overflow: visible;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-var-card {
		gap: 2px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-var-card__frame {
		padding: 2px;
		border-radius: 8px;
		max-height: none;
		aspect-ratio: 4 / 5;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-var-card__label {
		min-height: 1.35em;
		max-height: 1.35em;
		font-size: 0.52rem;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-var-card__check {
		width: 11px;
		height: 11px;
		top: 2px;
		right: 2px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-var-card__check::after {
		top: 1px;
		left: 3px;
		width: 3px;
		height: 4px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card form.variations_form,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card form.cart {
		margin: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .single_add_to_cart_button {
		margin-top: 0;
		padding-block: 13px;
	}

	/* Float card: DOM order controls layout (ignore summary-inner flex order) */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card > * {
		order: unset !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-foot .product_meta {
		order: unset !important;
	}

	/* In-card footer: tabs then SKU/category at card bottom */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .woocommerce-product-details__short-description {
		display: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-tabs-wrap,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .woocommerce-tabs {
		margin: clamp(6px, 0.8vw, 10px) 0 0;
		padding-top: clamp(8px, 1vw, 12px);
		border-top: 1px solid rgba(215, 185, 165, 0.32);
		width: 100%;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-tabs-wrap .wd-nav-tabs > li > a,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .woocommerce-tabs .wd-nav-tabs > li > a {
		font-size: 0.62rem;
		padding: 8px 6px;
		letter-spacing: 0.08em;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .woocommerce-tabs .wd-tab-content {
		padding: 10px 0 0;
		font-size: 0.84rem;
		line-height: 1.65;
		max-height: 220px;
		overflow-y: auto;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-foot,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .product_meta {
		margin: clamp(6px, 0.8vw, 10px) 0 0;
		padding: clamp(8px, 1vw, 12px) 0 0;
		border-top: 1px solid rgba(215, 185, 165, 0.28);
		font-size: 0.74rem;
		line-height: 1.65;
		color: var(--rotitoo-sp-muted, #8a7f78);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-foot .product_meta {
		margin: 0;
		padding: 0;
		border-top: none;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-float-card.rotitoo-pdp-flat .rotitoo-pdp-float-card .rotitoo-pdp-foot .wd-social-icons {
		display: none;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-below-details .woocommerce-product-details__short-description {
		font-size: 0.92rem;
		line-height: 1.7;
		color: var(--rotitoo-sp-text-body, #3d3530);
		margin: 0 0 clamp(16px, 2vw, 24px);
		max-width: 72ch;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-below-details .product_meta {
		font-size: 0.8rem;
		color: var(--rotitoo-sp-muted, #7a6f68);
		padding: clamp(14px, 1.6vw, 20px) 0;
		margin: clamp(12px, 1.4vw, 18px) 0 0;
		border-top: 1px solid rgba(215, 185, 165, 0.32);
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-below-details .rotitoo-pdp-tabs-wrap,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-below-details .woocommerce-tabs {
		margin-top: clamp(18px, 2.2vw, 28px);
		padding-top: clamp(14px, 1.6vw, 20px);
		border-top: 1px solid rgba(215, 185, 165, 0.32);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .rotitoo-pdp-scroll-details {
		flex: 1 1 auto;
		margin-top: auto;
		width: 100%;
		padding-top: clamp(18px, 2.2vw, 32px);
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-below-details {
		width: 100% !important;
		max-width: min(1380px, 94vw) !important;
		margin-inline: auto;
		padding: clamp(28px, 3.5vw, 44px) clamp(12px, 2vw, 24px) 0;
		box-sizing: border-box;
		clear: both;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-below-details .rotitoo-pdp-tabs-wrap {
		width: 100%;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .summary::-webkit-scrollbar,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .entry-summary::-webkit-scrollbar {
		width: 4px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .summary::-webkit-scrollbar-thumb,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .entry-summary::-webkit-scrollbar-thumb {
		background: rgba(44, 36, 32, 0.2);
		border-radius: 4px;
	}

	/* Vertical gallery — native Woodmart carousel (Photoswipe/lightbox intact) */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-item,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .woocommerce-product-gallery__image {
		opacity: 1 !important;
		filter: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery__image img {
		filter: none !important;
		opacity: 1 !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-show-product-gallery-wrap,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-gallery-btn {
		display: flex !important;
	}

	/* Legacy carousel overrides (fallback) */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .product-images .woocommerce-product-gallery {
		border: none;
		box-shadow: none;
		background: transparent;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-inner,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-container {
		display: block !important;
		transform: none !important;
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .woocommerce-product-gallery__wrapper.wd-grid {
		display: flex !important;
		flex-direction: column;
		grid-template-columns: none !important;
		gap: 20px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-wrap {
		display: flex !important;
		flex-direction: column !important;
		grid-template-columns: none !important;
		grid-template-rows: none !important;
		gap: 20px;
		transform: none !important;
		height: auto !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-item,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .woocommerce-product-gallery__image {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: auto !important;
		min-height: 280px;
		max-height: none !important;
		flex: none !important;
		grid-column: auto !important;
		grid-row: auto !important;
		opacity: 1 !important;
		margin: 0 !important;
		padding: 18px 20px;
		box-sizing: border-box !important;
		position: relative !important;
		inset: auto !important;
		transform: none !important;
		overflow: hidden !important;
		background: #ffffff;
		border-radius: 12px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-item .woocommerce-product-gallery__image {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		min-width: 0 !important;
		max-height: none !important;
		margin: 0 !important;
		padding: 0 !important;
		background: transparent;
		flex: 1 1 auto;
		border-radius: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary .woocommerce-product-gallery .woocommerce-product-gallery__image a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: auto !important;
		min-width: 0 !important;
		min-height: 0 !important;
		max-width: 100% !important;
		max-height: none !important;
		line-height: normal !important;
		overflow: visible !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary .woocommerce-product-gallery .woocommerce-product-gallery__image img {
		display: block !important;
		width: 100% !important;
		height: auto !important;
		min-width: 0 !important;
		min-height: 0 !important;
		max-width: 100% !important;
		max-height: var(--rotitoo-pdp-slide-h) !important;
		object-fit: contain !important;
		object-position: center center !important;
		transform: none !important;
		transition: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .wd-gallery-thumb,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .flex-control-thumbs {
		display: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-btn-arrow,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-nav {
		display: none !important;
	}

	/* Typography — product title */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .summary-inner .product_title {
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size: clamp(1.25rem, 2vw, 1.55rem);
		font-weight: 400;
		letter-spacing: 0.03em;
		text-transform: none;
		line-height: 1.35;
		color: var(--rotitoo-sp-text);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .summary-inner > .price {
		font-size: clamp(1rem, 1.6vw, 1.2rem);
		font-weight: 500;
		letter-spacing: 0.04em;
		margin-bottom: 22px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .single_add_to_cart_button,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .wd-buy-now-btn {
		width: 100%;
		flex: none !important;
		min-height: unset !important;
		height: auto !important;
		line-height: 1.25 !important;
		border-radius: 0 !important;
		text-transform: uppercase;
		letter-spacing: 0.12em !important;
		font-size: 0.72rem !important;
		font-weight: 600 !important;
		padding: 14px 18px !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .single_add_to_cart_button {
		background: #2c2420 !important;
		border-color: #2c2420 !important;
		color: #fff !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .single_add_to_cart_button:hover {
		background: #1a1512 !important;
		border-color: #1a1512 !important;
	}

	/* OKHTEIN-style: single primary CTA on desktop */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .wd-buy-now-btn {
		display: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-variation-add-to-cart,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern form.cart:not(.variations_form) {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		margin-top: 20px;
		padding-top: 18px;
		border-top: var(--rotitoo-sp-border);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-variation-add-to-cart .quantity,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern form.cart:not(.variations_form) .quantity {
		width: fit-content;
		align-self: flex-start;
		border-radius: 0;
		border: 1px solid rgba(44, 36, 32, 0.22);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .quantity input.qty {
		padding: 8px 4px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .quantity .minus,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .quantity .plus {
		width: 34px;
		height: 38px;
		background: #fff;
	}

	/* Swatches — full-width grid, larger thumbnails */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .variations_form table.variations tr {
		padding: 0;
		margin-bottom: 18px;
		background: transparent;
		border: none;
		border-radius: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .variations_form table.variations th.label {
		margin-bottom: 12px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .variations_form .variable-items-wrapper {
		display: grid !important;
		grid-template-columns: repeat(auto-fill, minmax(var(--rotitoo-sp-swatch), 1fr));
		gap: 10px !important;
		width: 100%;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .variations_form .variable-item {
		width: 100% !important;
		min-width: 0 !important;
		height: auto !important;
		aspect-ratio: 1 / 1;
		border-radius: 8px !important;
	}
}

@media (min-width: 1280px) {
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern {
		--rotitoo-sp-swatch: 88px;
	}
}

/* ─── Summary column order ──────────────────────────────────── */
body.rotitoo-app-shell.single-product .summary-inner {
	display: flex;
	flex-direction: column;
	gap: 0;
	--rotitoo-pdp-scroll-fade: #fff;
}

body.rotitoo-app-shell.single-product .summary-inner .single-breadcrumbs-wrapper {
	order: 1;
	margin-bottom: 12px;
}

body.rotitoo-app-shell.single-product .summary-inner .product_title {
	order: 2;
	margin-bottom: 6px;
	line-height: 1.35;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: 400;
	letter-spacing: 0.03em;
	text-transform: none;
	color: var(--rotitoo-sp-text);
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .summary-inner .product_title {
	margin-bottom: 4px;
}

body.rotitoo-app-shell.single-product .summary-inner .rotitoo-pdp-var-section {
	order: 3;
	margin: 0 0 4px;
}

body.rotitoo-app-shell.single-product .summary-inner .rotitoo-pdp-price-wrap {
	order: 4;
	margin: 8px 0 10px;
}

body.rotitoo-app-shell.single-product .summary-inner .rotitoo-pdp-summary-head {
	display: none !important;
}

/* Hide WooCommerce default price when custom PDP price is shown */
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-price-wrap) > .price,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-price-wrap) > p.price,
body.rotitoo-app-shell.single-product .entry-summary:has(.rotitoo-pdp-price-wrap) > .price,
body.rotitoo-app-shell.single-product .entry-summary:has(.rotitoo-pdp-price-wrap) > p.price {
	display: none !important;
}

body.rotitoo-app-shell.single-product .summary-inner > .price {
	order: 5;
	margin-bottom: 18px;
	font-size: clamp(1.15rem, 2.5vw, 1.45rem);
	font-weight: 600;
}

body.rotitoo-app-shell.single-product .summary-inner > .price del {
	opacity: 0.45;
	font-size: 0.85em;
	font-weight: 400;
}

body.rotitoo-app-shell.single-product .summary-inner > .price ins {
	text-decoration: none;
	color: var(--rotitoo-sp-accent);
}

body.rotitoo-app-shell.single-product.product-type-variable .summary-inner > .price {
	display: none !important;
}

body.rotitoo-app-shell.single-product.product-type-variable .summary-inner:has(.rotitoo-pdp-price-wrap) .woocommerce-variation-price,
body.rotitoo-app-shell.single-product.product-type-variable .summary-inner:has(.rotitoo-pdp-price-wrap) .single_variation_wrap > .woocommerce-variation-price {
	display: none !important;
}

body.rotitoo-app-shell.single-product .summary-inner form.variations_form {
	order: 5;
	margin-bottom: 0;
	margin-top: 4px;
}

/* Hide legacy attribute UI when using PDP cards */
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form table.variations,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form .variations,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form th.label,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form td.label,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form select[name^='attribute_'],
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form .reset_variations,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form .woo-selected-variation-item-name,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form .variable-items-wrapper,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form .woocommerce-variation-price,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form .woocommerce-variation-availability {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.rotitoo-app-shell.single-product.product-type-variable .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form {
	display: block;
	margin-top: 0;
	padding-top: 0;
}

body.rotitoo-app-shell.single-product.product-type-variable .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form .single_variation_wrap {
	margin: 0;
	padding: 0;
}

body.rotitoo-app-shell.single-product.product-type-variable .summary-inner:has(.rotitoo-pdp-var-section) .woocommerce-variation-add-to-cart {
	display: block !important;
	margin-top: 4px;
	padding-top: 0;
	border-top: none;
}

body.rotitoo-app-shell.single-product.product-type-variable .summary-inner:has(.rotitoo-pdp-var-section) .woocommerce-variation-add-to-cart .quantity {
	display: none !important;
}

body.rotitoo-app-shell.single-product.product-type-variable .summary-inner:has(.rotitoo-pdp-var-section) .single_add_to_cart_button {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 15px 20px !important;
	border-radius: 0 !important;
	background: #2c2420 !important;
	border-color: #2c2420 !important;
	color: #fff !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase;
}

body.rotitoo-app-shell.single-product.product-type-variable .summary-inner:has(.rotitoo-pdp-var-section) .single_add_to_cart_button:hover:not(.disabled) {
	background: #1a1512 !important;
	border-color: #1a1512 !important;
}

body.rotitoo-app-shell.single-product.product-type-variable .summary-inner:has(.rotitoo-pdp-var-section) .single_add_to_cart_button.disabled,
body.rotitoo-app-shell.single-product.product-type-variable .summary-inner:has(.rotitoo-pdp-var-section) .single_add_to_cart_button.wc-variation-selection-needed {
	opacity: 0.45;
	cursor: not-allowed;
}

body.rotitoo-app-shell.single-product .summary-inner form.variations_form table.variations,
body.rotitoo-app-shell.single-product .summary-inner form.variations_form .reset_variations,
body.rotitoo-app-shell.single-product .summary-inner form.variations_form .woo-selected-variation-item-name {
	display: none !important;
}

body.rotitoo-app-shell.single-product .summary-inner form.variations_form .woocommerce-variation-price {
	display: none !important;
}

/* ─── PDP price (below variation cards) ─────────────────────── */
.rotitoo-pdp-price-wrap {
	display: block;
}

.rotitoo-pdp-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px 12px;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	font-weight: 600;
	color: var(--rotitoo-sp-text);
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.rotitoo-pdp-price del {
	display: inline-block;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(122, 111, 104, 0.55);
	color: var(--rotitoo-sp-muted);
	opacity: 1;
	font-size: 0.92em;
	font-weight: 400;
}

.rotitoo-pdp-price del .woocommerce-Price-amount {
	color: inherit;
}

.rotitoo-pdp-price ins {
	text-decoration: none;
	color: var(--rotitoo-sp-accent);
	font-weight: 600;
	background: none;
}

.rotitoo-pdp-price ins .woocommerce-Price-amount {
	color: inherit;
}

.rotitoo-pdp-price > .woocommerce-Price-amount,
.rotitoo-pdp-price > .price .woocommerce-Price-amount {
	font-weight: 600;
	color: var(--rotitoo-sp-accent);
}

/* ─── PDP variation cards ───────────────────────────────────── */
.rotitoo-pdp-var-section {
	margin: 0 0 12px;
	padding-top: 0;
	padding-inline-end: 2px;
	border-top: none;
	max-width: 100%;
	box-sizing: border-box;
}

.rotitoo-pdp-var-section__head {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	margin: 0 0 6px;
}

.rotitoo-pdp-var-section__meta {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	margin: 0;
	min-width: 0;
}

.rotitoo-pdp-var-section__title {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rotitoo-sp-muted);
	line-height: 1.2;
}

.rotitoo-pdp-var-section__count {
	font-size: 0.72rem;
	font-weight: 400;
	color: rgba(122, 111, 104, 0.85);
	letter-spacing: 0.02em;
}

.rotitoo-pdp-var-section__selected {
	margin: 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: clamp(0.88rem, 1.8vw, 0.96rem);
	font-weight: 400;
	font-style: italic;
	color: var(--rotitoo-sp-muted);
	line-height: 1.25;
	text-align: start;
	text-transform: capitalize;
	white-space: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.rotitoo-pdp-var-section__selected:empty {
	display: none;
}

.rotitoo-pdp-var-section__scroll {
	position: relative;
	margin: 0;
	padding: 0;
	max-width: 100%;
	max-height: none;
	overflow: visible;
}

.rotitoo-pdp-var-section__scroll::before,
.rotitoo-pdp-var-section__scroll::after {
	display: none;
}

.rotitoo-pdp-var-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
	gap: 8px 7px;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow: visible;
	box-sizing: border-box;
}

.rotitoo-pdp-var-card {
	display: flex;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	max-width: 100%;
	flex-direction: column;
	align-items: stretch;
	gap: 5px;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	cursor: pointer;
	transition: transform 0.22s ease;
	-webkit-tap-highlight-color: transparent;
}

.rotitoo-pdp-var-card__frame {
	position: relative;
	display: block;
	width: 100%;
	flex: 1 1 auto;
	min-height: 0;
	aspect-ratio: 4 / 5;
	padding: 3px;
	border: 1.5px solid rgba(215, 185, 165, 0.42);
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(30, 24, 20, 0.04);
	transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.rotitoo-pdp-var-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 9px;
	overflow: hidden;
	background: #fff;
}

.rotitoo-pdp-var-card__media img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
	transition: transform 0.28s ease;
}

.rotitoo-pdp-var-card__check {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 2;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--rotitoo-sp-accent);
	box-shadow: 0 2px 6px rgba(184, 92, 74, 0.35);
}

.rotitoo-pdp-var-card__check::after {
	content: '';
	position: absolute;
	top: 4px;
	left: 6px;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}

.rotitoo-pdp-var-card__badge {
	position: absolute;
	left: 50%;
	bottom: 6px;
	z-index: 2;
	transform: translateX(-50%);
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: #1e1814;
	border: 1px solid rgba(30, 24, 20, 0.2);
	font-size: 0.5rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
	box-shadow: 0 2px 10px rgba(30, 24, 20, 0.08);
}

.rotitoo-pdp-var-card__label {
	display: block;
	width: 100%;
	flex: 0 0 auto;
	min-height: 2.2em;
	max-height: 2.2em;
	font-size: 0.64rem;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	color: var(--rotitoo-sp-muted);
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	transition: color 0.2s ease, font-weight 0.2s ease;
}

.rotitoo-pdp-var-card:hover .rotitoo-pdp-var-card__frame {
	border-color: rgba(184, 92, 74, 0.45);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(30, 24, 20, 0.08);
}

.rotitoo-pdp-var-card:hover .rotitoo-pdp-var-card__media img {
	transform: scale(1.03);
}

.rotitoo-pdp-var-card.is-active .rotitoo-pdp-var-card__frame {
	border-color: var(--rotitoo-sp-accent);
	box-shadow:
		0 0 0 2px rgba(184, 92, 74, 0.16),
		0 8px 20px rgba(30, 24, 20, 0.1);
}

.rotitoo-pdp-var-card.is-active .rotitoo-pdp-var-card__label {
	color: var(--rotitoo-sp-text);
	font-weight: 500;
}

.rotitoo-pdp-var-card.is-out-of-stock .rotitoo-pdp-var-card__media,
.rotitoo-pdp-var-card.is-unavailable .rotitoo-pdp-var-card__media {
	opacity: 0.55;
}

.rotitoo-pdp-var-card.is-out-of-stock .rotitoo-pdp-var-card__media::after,
.rotitoo-pdp-var-card.is-unavailable .rotitoo-pdp-var-card__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-45deg,
		transparent,
		transparent 5px,
		rgba(255, 255, 255, 0.35) 5px,
		rgba(255, 255, 255, 0.35) 6px
	);
}

.rotitoo-pdp-var-card:focus-visible .rotitoo-pdp-var-card__frame {
	outline: 2px solid var(--rotitoo-sp-accent);
	outline-offset: 3px;
}

@media (min-width: 1025px) {
	.rotitoo-pdp-var-section {
		margin: 0 0 8px;
		padding-top: 0;
	}

	.rotitoo-pdp-var-section__head {
		margin-bottom: 4px;
	}

	.rotitoo-pdp-var-section__selected {
		font-size: 0.78rem;
	}

	.rotitoo-pdp-var-cards {
		grid-auto-rows: auto;
		align-items: start;
		gap: 6px;
		overflow: visible;
	}

	.rotitoo-pdp-var-section--count-1 .rotitoo-pdp-var-cards {
		grid-template-columns: minmax(0, 72px);
		justify-content: start;
	}

	.rotitoo-pdp-var-section--count-2 .rotitoo-pdp-var-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rotitoo-pdp-var-section--count-3 .rotitoo-pdp-var-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rotitoo-pdp-var-section--count-4 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-5 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-6 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-7 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-8 .rotitoo-pdp-var-cards {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.rotitoo-pdp-var-section--count-9 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-10 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-11 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-12 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-13 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-14 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-15 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-16 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-17 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-18 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-19 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-20 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-21 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-22 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-23 .rotitoo-pdp-var-cards,
	.rotitoo-pdp-var-section--count-24 .rotitoo-pdp-var-cards {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.rotitoo-pdp-var-card {
		width: 100%;
		height: auto;
		min-height: 0;
		gap: 3px;
	}

	.rotitoo-pdp-var-card__frame {
		flex: 0 0 auto;
		padding: 2px;
		border-radius: 8px;
	}

	.rotitoo-pdp-var-card__label {
		min-height: 1.55em;
		max-height: 1.55em;
		font-size: 0.54rem;
		flex: 0 0 auto;
	}

	.rotitoo-pdp-var-card__check {
		width: 12px;
		height: 12px;
		top: 3px;
		right: 3px;
	}

	.rotitoo-pdp-var-card__check::after {
		top: 2px;
		left: 4px;
		width: 3px;
		height: 5px;
	}

	.rotitoo-pdp-var-card__badge {
		font-size: 0.46rem;
		padding: 1px 5px;
		bottom: 4px;
	}

	/* Desktop buy column — compact stack; price + ATC follow variations */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards.rotitoo-pdp-modern .summary-inner {
		display: flex;
		flex-direction: column;
		min-height: 100%;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards.rotitoo-pdp-modern .summary-inner .rotitoo-pdp-var-section {
		flex: 0 0 auto;
		display: block;
		min-height: 0;
		margin-bottom: 6px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards.rotitoo-pdp-modern .summary-inner .rotitoo-pdp-var-section__scroll {
		flex: 0 0 auto;
		display: block;
		min-height: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards.rotitoo-pdp-modern .summary-inner .rotitoo-pdp-var-cards {
		flex: 0 0 auto;
		align-content: start;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards.rotitoo-pdp-modern .summary-inner .rotitoo-pdp-price-wrap {
		margin-top: 4px;
		flex-shrink: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards.rotitoo-pdp-modern .summary-inner form.variations_form {
		flex-shrink: 0;
		order: 5;
		margin-top: 4px;
	}
}

body.rotitoo-app-shell.single-product .summary-inner .rotitoo-pdp-tabs-wrap,
body.rotitoo-app-shell.single-product .summary-inner .woocommerce-tabs.rotitoo-pdp-tabs {
	order: 6;
	width: 100%;
	margin-top: 20px;
	padding-top: 18px;
	border-top: var(--rotitoo-sp-border);
}

body.rotitoo-app-shell.single-product .summary-inner .rotitoo-pdp-foot {
	order: 7;
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: 18px;
	padding-top: 18px;
	border-top: var(--rotitoo-sp-border);
}

body.rotitoo-app-shell.single-product .summary-inner .rotitoo-product-actions {
	order: 0;
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 14px;
	padding: 0;
	border-top: none;
}

body.rotitoo-app-shell.single-product .summary-inner .product_meta {
	order: 1;
	margin: 0 0 16px;
	padding: 0;
	border-top: none;
	font-size: 0.82rem;
	color: var(--rotitoo-sp-muted);
	line-height: 1.75;
	letter-spacing: 0.01em;
}

body.rotitoo-app-shell.single-product .summary-inner .wd-social-icons {
	order: 2;
	margin: 0;
	padding: 14px 0 0;
	border-top: 1px solid rgba(215, 185, 165, 0.28);
}

body.rotitoo-app-shell.single-product .summary-inner .wd-compare-btn {
	display: none !important;
}

/* ─── Gallery ───────────────────────────────────────────────── */
body.rotitoo-app-shell.single-product .woocommerce-product-gallery {
	border-radius: var(--rotitoo-sp-radius);
	border: var(--rotitoo-sp-border);
	box-shadow: 0 4px 22px rgba(200, 160, 140, 0.12);
	background: #fff;
}

body.rotitoo-app-shell.single-product .product-image-summary .woocommerce-product-gallery__image img {
	object-fit: contain !important;
	background: #fff !important;
	--dominant-color: #fff !important;
}

body.rotitoo-app-shell.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
	width: 100%;
}

body.rotitoo-app-shell.single-product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	padding: 10px 4px 4px;
	margin-top: 10px !important;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

body.rotitoo-app-shell.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
	display: none;
}

body.rotitoo-app-shell.single-product .woocommerce-product-gallery .flex-control-thumbs li {
	flex: 0 0 auto;
	width: 64px !important;
	float: none !important;
}

body.rotitoo-app-shell.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
	border-radius: 10px;
	border: 2px solid transparent;
	object-fit: contain !important;
	background: #fff !important;
	opacity: 1 !important;
}

body.rotitoo-app-shell.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	border-color: #2c2420;
}

/* ─── Fullscreen / Photoswipe lightbox — fit to viewport on open ── */
.pswp img,
.pswp__img,
.pswp__zoom-wrap img,
.wd-show-product-gallery img,
.wd-show-product-gallery .woocommerce-product-gallery__image img,
.wd-product-lightbox img,
.mfp-img {
	max-width: 100vw !important;
	max-height: 100vh !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	object-position: center center !important;
}

.pswp__img--placeholder,
.pswp__img--placeholder--blank {
	display: none !important;
}

.pswp__zoom-wrap {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* ─── Variations / swatches bar ─────────────────────────────── */
body.rotitoo-app-shell.single-product .variations_form table.variations {
	margin: 0 0 4px;
	border: none;
}

body.rotitoo-app-shell.single-product .variations_form table.variations tbody,
body.rotitoo-app-shell.single-product .variations_form table.variations tr {
	display: block;
	width: 100%;
}

body.rotitoo-app-shell.single-product .variations_form table.variations tr {
	margin-bottom: 6px;
	padding: 14px 14px 12px;
	border-radius: 12px;
	background: #ffffff;
	border: var(--rotitoo-sp-border);
}

body.rotitoo-app-shell.single-product .variations_form table.variations th.label,
body.rotitoo-app-shell.single-product .variations_form table.variations td.value {
	display: block;
	width: 100%;
	padding: 0;
	border: none;
}

body.rotitoo-app-shell.single-product .variations_form table.variations th.label {
	margin-bottom: 10px;
}

body.rotitoo-app-shell.single-product .variations_form table.variations th.label label {
	display: inline;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #4a4038;
}

body.rotitoo-app-shell.single-product .variations_form table.variations th.label label::after {
	content: ':';
	margin-inline-start: 2px;
}

body.rotitoo-app-shell.single-product .variations_form .woo-selected-variation-item-name {
	display: inline;
	margin-inline-start: 6px;
	font-size: 0.82rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: var(--rotitoo-sp-muted);
}

body.rotitoo-app-shell.single-product .variations_form .woo-selected-variation-item-name:empty {
	display: none;
}

body.rotitoo-app-shell.single-product .variations_form table.variations td.value,
body.rotitoo-app-shell.single-product .variations_form .woo-variation-items-wrapper {
	overflow: visible !important;
	max-width: 100% !important;
}

body.rotitoo-app-shell.single-product .variations_form .variable-items-wrapper {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	overflow: visible !important;
	padding: 2px 2px 8px;
	margin: 0 !important;
}

body.rotitoo-app-shell.single-product .variations_form .variable-item {
	flex: 0 0 auto !important;
	width: var(--rotitoo-sp-swatch) !important;
	height: var(--rotitoo-sp-swatch) !important;
	min-width: var(--rotitoo-sp-swatch) !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 10px !important;
	border: 2px solid rgba(215, 185, 165, 0.45) !important;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

body.rotitoo-app-shell.single-product .variations_form .variable-item .variable-item-contents {
	width: 100% !important;
	height: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 0;
	display: block !important;
}

body.rotitoo-app-shell.single-product .variations_form .variable-item .variable-item-image,
body.rotitoo-app-shell.single-product .variations_form .variable-item img {
	width: 100% !important;
	height: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center center !important;
	background: #fff !important;
	display: block !important;
	border-radius: 0 !important;
}

body.rotitoo-app-shell.single-product .variations_form .image-variable-item .variable-item-contents,
body.rotitoo-app-shell.single-product .variations_form .image-variable-item .variable-item-image {
	padding: 0 !important;
}

body.rotitoo-app-shell.single-product .variations_form .variable-item.selected,
body.rotitoo-app-shell.single-product .variations_form .variable-item.selected-variable-item {
	border-color: #2c2420 !important;
	box-shadow: 0 2px 10px rgba(44, 36, 32, 0.15);
}

body.rotitoo-app-shell.single-product .variations_form .reset_variations {
	display: inline-block;
	margin-top: 10px;
	font-size: 0.72rem;
	color: var(--rotitoo-sp-muted);
	text-decoration: none;
	letter-spacing: 0.04em;
}

body.rotitoo-app-shell.single-product .variations_form .reset_variations::before {
	content: '✕ ';
	font-size: 0.65rem;
	opacity: 0.7;
}

body.rotitoo-app-shell.single-product .variations_form .reset_variations:hover {
	color: #2c2420;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ─── Stock + variation price inside form ───────────────────── */
body.rotitoo-app-shell.single-product .single_variation_wrap {
	margin-top: 0;
}

body.rotitoo-app-shell.single-product .woocommerce-variation.single_variation {
	margin-bottom: 0;
}

body.rotitoo-app-shell.single-product .woocommerce-variation-price .price {
	margin: 0;
	font-size: 1.05rem;
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .entry-summary > p.stock.out-of-stock,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .summary-inner > p.stock.out-of-stock,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .product.type-product > p.stock.out-of-stock {
	display: none !important;
}

body.rotitoo-app-shell.single-product .woocommerce-variation-availability .stock {
	font-size: 0.8rem;
	margin: 0;
	padding: 6px 12px;
	border-radius: 999px;
	display: inline-block;
	background: rgba(76, 140, 90, 0.1);
	color: #3d7a4a;
}

body.rotitoo-app-shell.single-product .woocommerce-variation-availability .out-of-stock {
	background: rgba(184, 92, 74, 0.1);
	color: var(--rotitoo-sp-accent);
}

/* ─── Add to cart row ───────────────────────────────────────── */
body.rotitoo-app-shell.single-product .woocommerce-variation-add-to-cart,
body.rotitoo-app-shell.single-product form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .single_variation_wrap .woocommerce-variation-add-to-cart {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

body.rotitoo-app-shell.single-product .quantity {
	display: inline-flex;
	align-items: center;
	border: var(--rotitoo-sp-border);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .quantity {
	border-radius: 0;
}

body.rotitoo-app-shell.single-product .quantity input.qty {
	width: 2.8em;
	border: none;
	text-align: center;
	font-weight: 600;
	padding: 10px 4px;
}

body.rotitoo-app-shell.single-product .quantity .minus,
body.rotitoo-app-shell.single-product .quantity .plus {
	width: 36px;
	height: 40px;
	border: none;
	background: #ffffff;
	color: #4a4038;
	font-size: 1rem;
	cursor: pointer;
}

body.rotitoo-app-shell.single-product .single_add_to_cart_button,
body.rotitoo-app-shell.single-product .wd-buy-now-btn {
	border-radius: 999px !important;
	padding: 13px 28px !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em !important;
	min-height: unset !important;
	line-height: 1.25 !important;
}

body.rotitoo-app-shell.single-product .wd-buy-now-btn {
	flex: 1 1 auto;
	min-width: 120px;
	background: var(--rotitoo-sp-accent) !important;
	border-color: var(--rotitoo-sp-accent) !important;
}

body.rotitoo-app-shell.single-product .single_add_to_cart_button {
	flex: 1 1 160px;
	background: #2c2420 !important;
	border-color: #2c2420 !important;
}

body.rotitoo-app-shell.single-product .single_add_to_cart_button:hover {
	background: #1a1512 !important;
}

/* ─── Product meta (SKU, categories) ────────────────────────── */
body.rotitoo-app-shell.single-product .product_meta > span {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 8px;
	margin-bottom: 8px;
}

body.rotitoo-app-shell.single-product .product_meta .meta-label {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9a8b82;
	min-width: fit-content;
}

body.rotitoo-app-shell.single-product .product_meta .sku,
body.rotitoo-app-shell.single-product .product_meta a {
	font-size: 0.84rem;
	font-weight: 500;
	color: #3d3530;
}

body.rotitoo-app-shell.single-product .product_meta a {
	text-decoration: none;
	border-bottom: 1px solid rgba(184, 92, 74, 0.35);
	transition: color 0.2s ease, border-color 0.2s ease;
}

body.rotitoo-app-shell.single-product .product_meta a:hover {
	color: var(--rotitoo-sp-accent);
	border-color: var(--rotitoo-sp-accent);
}

body.rotitoo-app-shell.single-product .product_meta .meta-sep {
	display: none;
}

body.rotitoo-app-shell.single-product .posted_in a + a::before {
	content: "·";
	margin: 0 6px;
	color: #c4b0a4;
}

/* ─── Wishlist action ───────────────────────────────────────── */
body.rotitoo-app-shell.single-product .rotitoo-product-actions .wd-wishlist-btn a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: #4a3d38;
	text-decoration: none;
	padding: 8px 0;
	transition: color 0.2s ease;
}

body.rotitoo-app-shell.single-product .rotitoo-product-actions .wd-wishlist-btn a:hover {
	color: var(--rotitoo-sp-accent);
}

body.rotitoo-app-shell.single-product .rotitoo-product-actions .wd-wishlist-btn .wd-icon {
	width: 18px;
	height: 18px;
	opacity: 0.85;
}

/* ─── Share row ─────────────────────────────────────────────── */
body.rotitoo-app-shell.single-product .summary-inner .product-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .share-title {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #9a8b82;
	margin: 0 4px 0 0;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .wd-social-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px;
	border-radius: 50% !important;
	border: 1px solid rgba(210, 175, 155, 0.55) !important;
	background: #fff !important;
	color: #4a3d38 !important;
	box-shadow: 0 2px 10px rgba(200, 160, 140, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .wd-social-icon .wd-icon {
	width: 17px;
	height: 17px;
	opacity: 0.9;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .wd-social-icon:hover,
body.rotitoo-app-shell.single-product .summary-inner .product-share .wd-social-icon:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(200, 160, 140, 0.22);
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .social-facebook:hover {
	background: #1877f2 !important;
	border-color: #1877f2 !important;
	color: #fff !important;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .social-twitter:hover {
	background: #111 !important;
	border-color: #111 !important;
	color: #fff !important;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .social-pinterest:hover {
	background: #e60023 !important;
	border-color: #e60023 !important;
	color: #fff !important;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .social-whatsapp:hover,
body.rotitoo-app-shell.single-product .summary-inner .product-share .whatsapp-desktop:hover,
body.rotitoo-app-shell.single-product .summary-inner .product-share .whatsapp-mobile:hover {
	background: #25d366 !important;
	border-color: #25d366 !important;
	color: #fff !important;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .social-tg:hover {
	background: #229ed9 !important;
	border-color: #229ed9 !important;
	color: #fff !important;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .social-email:hover {
	background: #b85c4a !important;
	border-color: #b85c4a !important;
	color: #fff !important;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .social-linkedin:hover {
	background: #0a66c2 !important;
	border-color: #0a66c2 !important;
	color: #fff !important;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .rotitoo-copy-link {
	cursor: pointer;
	position: relative;
	padding: 0;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .rotitoo-copy-link .wd-icon {
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center / contain no-repeat;
	background: currentColor;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .rotitoo-copy-link .rotitoo-copy-tip {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.62rem;
	letter-spacing: 0.06em;
	white-space: nowrap;
	padding: 4px 8px;
	border-radius: 6px;
	background: #2c2420;
	color: #fff;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .rotitoo-copy-link:hover .rotitoo-copy-tip,
body.rotitoo-app-shell.single-product .summary-inner .product-share .rotitoo-copy-link.is-copied .rotitoo-copy-tip {
	opacity: 1;
}

body.rotitoo-app-shell.single-product .summary-inner .product-share .rotitoo-copy-link.is-copied {
	background: #2c2420 !important;
	border-color: #2c2420 !important;
	color: #fff !important;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-tab-content,
body.rotitoo-app-shell.single-product .rotitoo-pdp-tabs-wrap .wd-tab-content {
	font-size: 0.9rem;
	line-height: 1.85;
	color: #4a403a;
	letter-spacing: 0.01em;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-tab-content p,
body.rotitoo-app-shell.single-product .rotitoo-pdp-tabs-wrap .wd-tab-content p {
	margin-bottom: 0.85em;
}

/* ─── OKHTEIN-style tabs in summary ─────────────────────────── */
body.rotitoo-app-shell.single-product .summary-inner .woocommerce-tabs,
body.rotitoo-app-shell.single-product .rotitoo-pdp-tabs-wrap .woocommerce-tabs {
	margin-top: 0;
	width: 100%;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs > .wd-tabs:not(.wd-inited),
body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs {
	margin-bottom: 0;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-nav-tabs-wrapper,
body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-nav-tabs {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 0;
	margin: 0;
	padding: 0;
	border: none;
	border-bottom: 1px solid rgba(44, 36, 32, 0.12);
	list-style: none;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-nav-tabs::-webkit-scrollbar {
	display: none;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-nav-tabs > li {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-nav-tabs > li > a,
body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-nav-tabs > li > a.nav-link {
	display: block;
	padding: 12px 10px;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
	color: var(--rotitoo-sp-muted);
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	border-bottom: 2px solid transparent !important;
	margin-bottom: -1px;
	white-space: nowrap;
	transition: color 0.2s ease, border-color 0.2s ease;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-nav-tabs > li.active > a,
body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-nav-tabs > li > a.active,
body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-nav-tabs > li > a[aria-selected='true'] {
	color: #2c2420 !important;
	border-bottom-color: #2c2420 !important;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-tab-content,
body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wc-tab {
	padding: 18px 0 4px;
	font-size: 0.88rem;
	line-height: 1.75;
	color: #4a4038;
	border: none;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-tab-content p {
	margin-bottom: 0.85em;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs.rotitoo-pdp-tabs .wd-tab-content p:last-child {
	margin-bottom: 0;
}

/* Hide duplicate shipping link when tab exists */
body.rotitoo-app-shell.single-product .summary-inner .product_meta a[href*='shipping'],
body.rotitoo-app-shell.single-product .summary-inner .wd-single-product-shipping-progress-bar {
	display: none !important;
}

/* Hide Woodmart orphan tabs shell (tabs now live in summary) */
body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-tabs-wrapper,
body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary ~ .woocommerce-tabs {
	display: none !important;
}

/* Below-fold: related / upsells — full width, no overlap with sticky summary */
body.rotitoo-app-shell.single-product .rotitoo-pdp-below,
body.rotitoo-app-shell.single-product .container.related-and-upsells,
body.rotitoo-app-shell.single-product .related-and-upsells {
	clear: both !important;
	display: block;
	width: 100% !important;
	max-width: 100%;
	position: relative !important;
	z-index: 6;
	background: #fff;
	margin-top: clamp(36px, 5vw, 64px) !important;
	padding-top: clamp(24px, 3.5vw, 40px);
	border-top: var(--rotitoo-sp-border);
	isolation: isolate;
	float: none !important;
}

body.rotitoo-app-shell.single-product .rotitoo-pdp-below .related.products,
body.rotitoo-app-shell.single-product .rotitoo-pdp-below .upsells.products,
body.rotitoo-app-shell.single-product .related.products,
body.rotitoo-app-shell.single-product .related-products,
body.rotitoo-app-shell.single-product .upsells.products,
body.rotitoo-app-shell.single-product .upsells-products {
	clear: both !important;
	position: relative !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-top: 0 !important;
	margin-bottom: 0;
	float: none !important;
	z-index: 1;
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary {
	position: relative;
	z-index: 1;
	margin-bottom: 0;
}

/* ─── Tabs below product (legacy fallback) ────────────── */
body.rotitoo-app-shell.single-product .woocommerce-tabs:not(.rotitoo-pdp-tabs) {
	margin-top: clamp(28px, 5vw, 48px);
}

body.rotitoo-app-shell.single-product .woocommerce-tabs:not(.rotitoo-pdp-tabs) .wd-nav-tabs {
	border-bottom: var(--rotitoo-sp-border);
	gap: 4px;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs:not(.rotitoo-pdp-tabs) .wd-nav-tabs li a {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 12px 18px;
	border-radius: 10px 10px 0 0;
}

body.rotitoo-app-shell.single-product .woocommerce-tabs:not(.rotitoo-pdp-tabs) .wd-tab-content {
	padding-top: 24px;
	font-size: 0.92rem;
	line-height: 1.75;
	color: #4a4038;
}

/* ─── Related products ──────────────────────────────────────── */
body.rotitoo-app-shell.single-product.rotitoo-storefront {
	--rotitoo-card-radius: 14px;
	--rotitoo-border: 1px solid rgba(215, 185, 165, 0.38);
	--rotitoo-glow: rgba(220, 175, 155, 0.18);
	--rotitoo-glow-hover: rgba(230, 185, 165, 0.32);
	--rotitoo-rose-soft: rgba(235, 210, 195, 0.35);
}

body.rotitoo-app-shell.single-product .rotitoo-pdp-below .rotitoo-pdp-related,
body.rotitoo-app-shell.single-product .rotitoo-pdp-related,
body.rotitoo-app-shell.single-product .rotitoo-pdp-related-outside {
	padding-inline: clamp(12px, 3vw, 20px);
	width: 100% !important;
	max-width: min(1380px, 94vw) !important;
	margin-inline: auto;
	box-sizing: border-box;
}

body.rotitoo-app-shell.single-product .rotitoo-pdp-related .rotitoo-product-strip,
body.rotitoo-app-shell.single-product .rotitoo-pdp-related .rotitoo-product-carousel,
body.rotitoo-app-shell.single-product .rotitoo-pdp-related-outside .rotitoo-product-strip,
body.rotitoo-app-shell.single-product .rotitoo-pdp-related-outside .rotitoo-product-carousel {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
}

body.rotitoo-app-shell.single-product .rotitoo-pdp-related .rotitoo-home-section__title {
	margin-bottom: 16px;
	padding-inline: 0;
}

body.rotitoo-app-shell.single-product .rotitoo-pdp-related ul.products li.product > a:not(.rotitoo-product-card__title):not(.rotitoo-var-more) {
	display: none !important;
}

body.rotitoo-app-shell.single-product .rotitoo-pdp-related .rotitoo-product-strip .rotitoo-product-carousel {
	overflow-x: auto !important;
	overflow-y: hidden !important;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
}

body.rotitoo-app-shell.single-product .rotitoo-pdp-related .rotitoo-product-strip .rotitoo-product-grid {
	display: flex !important;
	flex-wrap: nowrap !important;
	grid-template-columns: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.rotitoo-app-shell.single-product .rotitoo-pdp-related .rotitoo-product-strip .rotitoo-product-grid > li.product {
	width: auto !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	min-width: 0;
	display: flex !important;
	flex: 0 0 calc((100% - (var(--rotitoo-cols-m, 2) - 1) * clamp(10px, 2.5vw, 14px)) / var(--rotitoo-cols-m, 2));
	max-width: calc((100% - (var(--rotitoo-cols-m, 2) - 1) * clamp(10px, 2.5vw, 14px)) / var(--rotitoo-cols-m, 2));
	scroll-snap-align: start;
}

body.rotitoo-app-shell.single-product .rotitoo-pdp-related .rotitoo-product-card,
body.rotitoo-app-shell.single-product .rotitoo-pdp-related .rotitoo-product-card__inner {
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
}

@media (min-width: 768px) {
	body.rotitoo-app-shell.single-product .rotitoo-pdp-related .rotitoo-product-strip .rotitoo-product-grid > li.product {
		flex-basis: calc((100% - (var(--rotitoo-cols-t, 3) - 1) * 14px) / var(--rotitoo-cols-t, 3));
		max-width: calc((100% - (var(--rotitoo-cols-t, 3) - 1) * 14px) / var(--rotitoo-cols-t, 3));
	}
}

@media (min-width: 1024px) {
	body.rotitoo-app-shell.single-product .rotitoo-pdp-related .rotitoo-product-strip .rotitoo-product-grid > li.product {
		flex-basis: calc((100% - (var(--rotitoo-cols-d, 4) - 1) * 16px) / var(--rotitoo-cols-d, 4));
		max-width: calc((100% - (var(--rotitoo-cols-d, 4) - 1) * 16px) / var(--rotitoo-cols-d, 4));
	}
}

body.rotitoo-app-shell.single-product .related-products > h4,
body.rotitoo-app-shell.single-product .upsells-products > h4 {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

/* ─── Mobile: app-style PDP (gallery → info → sticky ATC) ───── */
@media (max-width: 1024px) {
	body.rotitoo-app-shell.single-product {
		--rotitoo-sp-swatch: 52px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner,
	body.rotitoo-app-shell.single-product .product-image-summary .row {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		grid-template-columns: none !important;
		grid-template-areas: none !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-inline: 0 !important;
		gap: 0 !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > [class*='col-'],
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .product-images,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .wd-gallery-images-wrap,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .summary,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .entry-summary {
		position: relative !important;
		top: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
		float: none !important;
		grid-area: unset !important;
		padding-inline: 0 !important;
		margin-inline: 0 !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > [class*='col-']:first-child,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .product-images {
		order: 1;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .summary,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary-inner > .entry-summary {
		order: 2;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern:not(.rotitoo-pdp-app) .summary-inner {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
		padding-inline: clamp(14px, 4vw, 20px) !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-native-gallery .product-image-summary-inner > .product-images .woocommerce-product-gallery {
		display: none !important;
		height: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-native-gallery .rotitoo-pdp-gallery-mount {
		width: 100% !important;
		max-width: 100% !important;
		margin-inline: 0 !important;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section {
		margin: 2px 0 6px;
		padding-top: 0;
		padding-inline-end: 4px;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section__head {
		margin-bottom: 4px;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section__selected {
		font-size: 0.76rem;
		max-width: 100%;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-cards {
		grid-auto-rows: 1fr;
		align-items: stretch;
		gap: 5px;
		overflow: visible;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-1 .rotitoo-pdp-var-cards {
		grid-template-columns: minmax(0, 68px);
		justify-content: start;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-2 .rotitoo-pdp-var-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-3 .rotitoo-pdp-var-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-4 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-5 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-6 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-7 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-8 .rotitoo-pdp-var-cards {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-9 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-10 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-11 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-12 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-13 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-14 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-15 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-16 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-17 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-18 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-19 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-20 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-21 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-22 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-23 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-section--count-24 .rotitoo-pdp-var-cards {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-card {
		width: 100%;
		min-width: 0;
		gap: 4px;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-card__frame {
		padding: 2px;
		border-radius: 10px;
		aspect-ratio: 4 / 5;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-card__label {
		min-height: 1.8em;
		max-height: 1.8em;
		font-size: 0.58rem;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-card__check {
		width: 14px;
		height: 14px;
		top: 4px;
		right: 4px;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-card__check::after {
		top: 3px;
		left: 5px;
		width: 3px;
		height: 6px;
	}

	body.rotitoo-app-shell.single-product .rotitoo-pdp-var-card__badge {
		font-size: 0.46rem;
		padding: 1px 5px;
		bottom: 4px;
	}

	body.rotitoo-app-shell.single-product .woocommerce-product-gallery {
		border: none;
		box-shadow: none;
		border-radius: 0;
		overflow: hidden;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern:not(.rotitoo-pdp-app) .product-image-summary-inner > .product-images .woocommerce-product-gallery {
		border: none;
		border-radius: 0;
		box-shadow: none;
		margin-inline: calc(-1 * clamp(12px, 4vw, 20px));
		width: calc(100% + 2 * clamp(12px, 4vw, 20px));
		max-width: none;
		min-height: 0;
		overflow: hidden;
		background: #ffffff;
	}

	/* Mobile carousel — Woodmart controls swipe via transform on .wd-carousel-inner */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-container {
		position: relative;
		width: 100%;
		overflow: hidden;
		touch-action: pan-y;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-wrap {
		width: 100%;
		overflow: hidden;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .woocommerce-product-gallery__image a {
		display: block;
		line-height: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .product-image-summary .woocommerce-product-gallery__image img {
		display: block;
		width: auto !important;
		height: auto !important;
		max-width: 100% !important;
		max-height: min(42dvh, 380px);
		object-fit: contain !important;
		transform: none !important;
		transition: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-pagin {
		display: flex !important;
		justify-content: center;
		align-items: center;
		gap: 7px;
		padding: 10px 0 6px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-pagin .wd-carousel-pagin-item {
		width: 7px;
		height: 7px;
		border-radius: 50%;
		opacity: 0.35;
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-pagin .wd-carousel-pagin-item.wd-active {
		opacity: 1;
		transform: scale(1.15);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-item.wd-active,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-item.wd-active .woocommerce-product-gallery__image,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-item.wd-active img {
		opacity: 1 !important;
		visibility: visible !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-wrap .wd-carousel-item:only-child,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-wrap .wd-carousel-item:first-child:last-child {
		width: 100% !important;
		flex: 0 0 100% !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-inner:has(.wd-carousel-item:only-child),
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .wd-carousel-wrap:has(.wd-carousel-item:only-child) {
		transform: none !important;
		width: 100% !important;
	}

	body.rotitoo-app-shell.single-product .woocommerce-product-gallery.rotitoo-reveal {
		opacity: 1;
		transform: none;
	}

	/* Lightbox on mobile — fit screen, not oversized */
	body.rotitoo-app-shell.single-product .pswp__img,
	body.rotitoo-app-shell.single-product .pswp__zoom-wrap img {
		max-width: 100vw !important;
		max-height: 100vh !important;
		width: auto !important;
		height: auto !important;
		object-fit: contain !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .summary-inner .single-breadcrumbs-wrapper {
		display: none;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern:not(.rotitoo-pdp-app) .summary-inner .product_title {
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size: 1.2rem;
		font-weight: 400;
		letter-spacing: 0.03em;
		text-transform: none;
		margin-top: 14px;
		margin-bottom: 10px;
	}

	body.rotitoo-app-shell.single-product .summary-inner form.variations_form .woocommerce-variation-price {
		margin-bottom: 10px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .summary-inner .woocommerce-tabs.rotitoo-pdp-tabs,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .summary-inner .rotitoo-pdp-tabs-wrap {
		margin-top: 16px;
		padding-top: 14px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-tabs.rotitoo-pdp-tabs .wd-nav-tabs > li > a {
		font-size: 0.62rem;
		padding: 10px 8px;
		letter-spacing: 0.1em;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-tabs.rotitoo-pdp-tabs .wd-tab-content {
		padding: 14px 0 0;
		font-size: 0.88rem;
		line-height: 1.8;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .summary-inner .product_meta {
		font-size: 0.8rem;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .summary-inner .product-share .wd-social-icon {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .woocommerce-product-gallery .flex-control-thumbs,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-modern .wd-gallery-thumb {
		display: flex !important;
		padding: 10px 16px;
		margin: 0;
		gap: 8px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	body.rotitoo-app-shell.single-product .variations_form .variable-items-wrapper {
		display: grid !important;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 8px !important;
		overflow: visible !important;
	}

	body.rotitoo-app-shell.single-product .variations_form .variable-item {
		width: 100% !important;
		min-width: 0 !important;
		height: auto !important;
		aspect-ratio: 1 / 1;
		max-width: 60px;
		justify-self: center;
	}

	body.rotitoo-app-shell.single-product form.variations_form {
		position: static;
		margin: 0;
		padding: 0;
		border: none;
		box-shadow: none;
		background: transparent;
	}

	body.rotitoo-app-shell.single-product:not(.rotitoo-pdp-app) .product-image-summary {
		padding-bottom: 88px;
	}

	body.rotitoo-app-shell.single-product:not(.rotitoo-pdp-app) .woocommerce-variation-add-to-cart,
	body.rotitoo-app-shell.single-product:not(.rotitoo-pdp-app) form.cart:not(.variations_form) .group_table,
	body.rotitoo-app-shell.single-product:not(.rotitoo-pdp-app) form.cart:not(.variations_form) {
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 390;
		margin: 0;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, 0.97);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-top: var(--rotitoo-sp-border);
		box-shadow: 0 -6px 28px rgba(200, 160, 140, 0.12);
		flex-direction: row !important;
		flex-wrap: nowrap;
		align-items: center;
		gap: 10px;
	}

	body.rotitoo-app-shell.single-product .woocommerce-variation-add-to-cart .quantity {
		flex: 0 0 auto;
		border-radius: 0;
	}

	body.rotitoo-app-shell.single-product .single_add_to_cart_button {
		flex: 1;
		padding: 12px 16px !important;
		border-radius: 0 !important;
		min-height: unset !important;
		font-size: 0.72rem !important;
		letter-spacing: 0.1em !important;
	}

	body.rotitoo-app-shell.single-product .wd-buy-now-btn {
		display: none;
	}

	body.rotitoo-app-shell.single-product .summary-inner .rotitoo-product-actions {
		margin-bottom: 8px;
	}
}

@media (max-width: 768px) {
	body.rotitoo-app-shell.single-product {
		--rotitoo-sp-swatch: var(--rotitoo-sp-swatch-lg);
	}

	/* 5 per row → 2 rows for ~10 colors */
	body.rotitoo-app-shell.single-product .variations_form .variable-items-wrapper {
		display: flex !important;
		flex-wrap: wrap !important;
		overflow: visible !important;
	}

	body.rotitoo-app-shell.single-product .variations_form .variable-item {
		width: var(--rotitoo-sp-swatch) !important;
		min-width: var(--rotitoo-sp-swatch) !important;
		height: var(--rotitoo-sp-swatch) !important;
		max-width: none;
		aspect-ratio: auto;
	}
}

/* PDP cards: keep native COLOR combo hidden (overrides swatches bar block above) */
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form table.variations,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form table.variations tbody,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form table.variations tr,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form table.variations th,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form table.variations td,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form .value,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form .woo-variation-swatches,
body.rotitoo-app-shell.single-product .summary-inner:has(.rotitoo-pdp-var-section) form.variations_form .variable-items-wrapper {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Custom fix to center product gallery images and prevent cropping */
body.rotitoo-app-shell.single-product .woocommerce-product-gallery .zoomImg {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.rotitoo-app-shell.single-product .woocommerce-product-gallery__image {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: hidden !important;
	background: #ffffff !important;
}

body.rotitoo-app-shell.single-product .woocommerce-product-gallery__image a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: auto !important;
}

body.rotitoo-app-shell.single-product .woocommerce-product-gallery__image img,
body.rotitoo-app-shell.single-product .woocommerce-product-gallery .wd-carousel-item img {
	object-fit: contain !important;
	object-position: center center !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: var(--rotitoo-pdp-slide-h, min(85vh, 900px)) !important;
	display: block !important;
	margin: 0 auto !important;
	transform: none !important;
	transition: none !important;
}

/* PhotoSwipe — fully hidden after close (including after zoom) */
body.rotitoo-app-shell.single-product .pswp[aria-hidden="true"],
body.rotitoo-app-shell.single-product:not(.pswp-open) .pswp:not(.pswp--open) {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

body.rotitoo-app-shell.single-product .pswp.pswp--open {
	display: block !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

body.rotitoo-app-shell.single-product .woocommerce-product-gallery__image:hover img,
body.rotitoo-app-shell.single-product .woocommerce-product-gallery__image a:hover img,
body.rotitoo-app-shell.single-product .woocommerce-product-gallery .wd-carousel-item:hover img {
	transform: none !important;
}

/* PDP cards: hide COLOR combo + quantity — only Add to Cart button */
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form table.variations,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form table.variations tbody,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form table.variations tr,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form table.variations th,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form table.variations td,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .reset_variations,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .woo-selected-variation-item-name,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .variable-items-wrapper,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .woo-variation-swatches,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .woocommerce-variation-price,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .woocommerce-variation-availability {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form select[name^='attribute_'] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	clip: rect(0, 0, 0, 0) !important;
	overflow: hidden !important;
	white-space: nowrap !important;
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border: none !important;
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .single_variation_wrap {
	margin: 0 !important;
	padding: 0 !important;
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .woocommerce-variation-add-to-cart,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .woocommerce-variation-add-to-cart.variations_button {
	display: block !important;
	margin: 8px 0 0 !important;
	padding: 0 !important;
	border: none !important;
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .quantity,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .woocommerce-variation-add-to-cart .quantity {
	display: none !important;
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .single_add_to_cart_button {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 15px 20px !important;
	border-radius: 0 !important;
	background: var(--rotitoo-sp-text, #1e1814) !important;
	border-color: var(--rotitoo-sp-text, #1e1814) !important;
	color: #fff !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase;
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .single_add_to_cart_button:hover:not(.disabled) {
	background: #1a1512 !important;
	border-color: #1a1512 !important;
}

body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .single_add_to_cart_button.disabled,
body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .variations_form .single_add_to_cart_button.wc-variation-selection-needed {
	opacity: 0.45;
	cursor: not-allowed;
}

