/**
 * Rotitoo — Mobile PDP (Flutter-inspired app experience)
 * Scoped to max-width 1024px + body.rotitoo-pdp-app
 */

@media (max-width: 1024px) {
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app {
		--rotitoo-app-bg: #ffffff;
		--rotitoo-sheet-bg: #ffffff;
		--rotitoo-sheet-radius: 20px;
		--rotitoo-hero-bg: #ffffff;
		--rotitoo-hero-h: min(38dvh, 360px);
		--rotitoo-ink: #1e1814;
		--rotitoo-ink-muted: #8a7f78;
		--rotitoo-price: #b85c4a;
		--rotitoo-bar-h: calc(72px + env(safe-area-inset-bottom, 0px));
		--rotitoo-sheet-pad-x: 18px;
		--rotitoo-sheet-pad-top: 12px;
		background: var(--rotitoo-app-bg);
	}

	/* Flat WooCommerce template (rotitoo-storefront) */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-single-product-wrap,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product.type-product {
		width: 100% !important;
		max-width: 100% !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product.type-product {
		display: flex;
		flex-direction: column;
		gap: 0;
		float: none !important;
		margin: 0;
		padding: 0;
	}

	/* Gallery half-screen — applies with or without JS hero wrapper */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-pdp-gallery__track,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .rotitoo-pdp-gallery__track {
		width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: var(--rotitoo-hero-h) !important;
		aspect-ratio: 4 / 5 !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-pdp-gallery__slide img {
		max-height: var(--rotitoo-hero-h) !important;
		height: auto !important;
		width: auto !important;
		max-width: 100% !important;
		object-fit: contain !important;
		transform: none !important;
		transition: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-pdp-gallery__thumbs {
		display: none !important;
	}

	/* Title — override theme bold/large defaults */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .summary .product_title,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .summary .entry-title,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .product_title {
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
		font-size: 1.125rem !important;
		font-weight: 300 !important;
		letter-spacing: 0.01em;
		line-height: 1.45;
		color: var(--rotitoo-ink);
		margin-top: 0 !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .site-content {
		background: var(--rotitoo-app-bg);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .single-product-page > .container,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .single-product-page > .container-fluid {
		padding-inline: 0 !important;
		max-width: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary {
		padding-bottom: 0;
		background: var(--rotitoo-app-bg);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary-inner,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary-inner.row,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary .row {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
		max-width: 100% !important;
		margin-inline: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		--bs-gutter-x: 0;
		--bs-gutter-y: 0;
		gap: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary-inner > [class*='col-'],
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary-inner > .product-images,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary-inner > .wd-gallery-images-wrap,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary-inner > .summary,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary-inner > .entry-summary {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
		padding-inline: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-inline: 0 !important;
		float: none !important;
		min-width: 0 !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .summary,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .entry-summary {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary-inner {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	/* ─── Hero gallery (edge-to-edge, fixed ratio) ─────────────── */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero {
		position: relative;
		border: none !important;
		box-shadow: none !important;
		border-radius: 0 !important;
		background: var(--rotitoo-hero-bg) !important;
		margin: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		overflow: hidden;
		box-sizing: border-box;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .wd-carousel-container {
		position: relative;
		width: 100%;
		height: auto;
		min-height: 0;
		max-height: var(--rotitoo-hero-h);
		aspect-ratio: 4 / 5;
		overflow: hidden;
		touch-action: pan-y pinch-zoom;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .wd-carousel-inner,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .wd-carousel-wrap {
		height: 100%;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .wd-carousel-item,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .woocommerce-product-gallery__image {
		height: 100%;
		display: flex !important;
		align-items: center;
		justify-content: center;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .woocommerce-product-gallery__image a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .woocommerce-product-gallery__image img {
		width: auto !important;
		height: auto !important;
		max-width: 100% !important;
		max-height: var(--rotitoo-hero-h) !important;
		object-fit: contain !important;
		object-position: center center;
		transform: none !important;
		transition: none !important;
	}

	/* Shimmer while first image loads */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero.is-loading .wd-carousel-container::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 1;
		background: linear-gradient(
			105deg,
			var(--rotitoo-hero-bg) 0%,
			#faf7f4 45%,
			var(--rotitoo-hero-bg) 90%
		);
		background-size: 220% 100%;
		animation: rotitoo-pdp-shimmer 1.4s ease-in-out infinite;
		pointer-events: none;
	}

	@keyframes rotitoo-pdp-shimmer {
		0% { background-position: 120% 0; }
		100% { background-position: -120% 0; }
	}

	/* Gallery counter pill */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-gallery-counter {
		position: absolute;
		top: 14px;
		inset-inline-end: 14px;
		z-index: 12;
		padding: 6px 12px;
		border-radius: 999px;
		font-size: 0.72rem;
		font-weight: 600;
		letter-spacing: 0.06em;
		color: var(--rotitoo-ink);
		background: rgba(255, 255, 255, 0.92);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		box-shadow: 0 2px 12px rgba(30, 24, 20, 0.1);
		pointer-events: none;
		line-height: 1;
	}

	/* Wishlist float on hero */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero-actions {
		position: absolute;
		top: 14px;
		inset-inline-start: 14px;
		z-index: 12;
		display: flex;
		gap: 8px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero-actions .wd-wishlist-btn a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.92);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		box-shadow: 0 2px 12px rgba(30, 24, 20, 0.1);
		color: var(--rotitoo-ink);
		text-decoration: none;
		padding: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero-actions .wd-wishlist-btn .wd-action-text {
		display: none;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero-actions .wd-wishlist-btn .wd-icon {
		width: 20px;
		height: 20px;
		margin: 0;
	}

	/* Pagination dots — pill track */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .wd-carousel-pagin {
		position: absolute;
		bottom: 12px;
		left: 50%;
		transform: translateX(-50%);
		z-index: 10;
		display: flex !important;
		gap: 6px;
		padding: 6px 10px;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.75);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .wd-carousel-pagin .wd-carousel-pagin-item {
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: var(--rotitoo-ink);
		opacity: 0.25;
		transition: opacity 0.25s ease, transform 0.25s ease, width 0.25s ease;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .wd-carousel-pagin .wd-carousel-pagin-item.wd-active {
		opacity: 1;
		width: 18px;
		border-radius: 999px;
		transform: none;
	}

	/* Zoom / expand button */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .wd-show-product-gallery-wrap,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .wd-gallery-btn {
		position: absolute !important;
		bottom: 14px;
		inset-inline-end: 14px;
		z-index: 11;
		margin: 0 !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .wd-show-product-gallery-wrap a,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .wd-gallery-btn a {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		border-radius: 50% !important;
		background: rgba(255, 255, 255, 0.92) !important;
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		box-shadow: 0 2px 12px rgba(30, 24, 20, 0.1);
		border: none !important;
	}

	/* Thumbs hidden — dots/counter only (saves height, cleaner hero) */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .flex-control-thumbs,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .rotitoo-pdp-gallery__thumbs {
		display: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary-inner > .summary,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary-inner > .entry-summary {
		padding-inline: 0 !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary-inner > .summary .summary-inner,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary-inner > .entry-summary .summary-inner {
		padding-inline: 0 !important;
	}

	/* ─── Native Rotitoo gallery inside hero ───────────────────── */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .rotitoo-pdp-gallery-mount {
		width: 100% !important;
		margin: 0 !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .rotitoo-pdp-gallery {
		background: var(--rotitoo-hero-bg) !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .rotitoo-pdp-gallery__track {
		width: 100%;
		height: auto;
		min-height: 0;
		max-height: var(--rotitoo-hero-h);
		aspect-ratio: 4 / 5;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .rotitoo-pdp-gallery__slide img {
		max-height: var(--rotitoo-hero-h) !important;
		height: auto !important;
		width: auto !important;
		max-width: 100% !important;
		object-fit: contain !important;
		transform: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .rotitoo-pdp-gallery-mount,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-hero .rotitoo-pdp-gallery {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
	}

	/* ─── Content sheet ────────────────────────────────────────── */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet {
		position: relative;
		z-index: 3;
		width: 100% !important;
		max-width: 100% !important;
		margin-top: -6px;
		margin-inline: 0 !important;
		padding: var(--rotitoo-sheet-pad-top) var(--rotitoo-sheet-pad-x) 12px;
		background: var(--rotitoo-sheet-bg);
		border-radius: var(--rotitoo-sheet-radius) var(--rotitoo-sheet-radius) 0 0;
		box-shadow: 0 -4px 24px rgba(30, 24, 20, 0.06);
		box-sizing: border-box;
		text-align: start;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner {
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .single-breadcrumbs-wrapper {
		display: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .product_title {
		order: 1;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
		font-size: 1.125rem;
		font-weight: 300 !important;
		letter-spacing: 0.01em;
		text-transform: none;
		line-height: 1.45;
		color: var(--rotitoo-ink);
		margin: 0 0 4px !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-has-var-cards .rotitoo-mobile-sheet .summary-inner .product_title .rotitoo-pdp-title-count {
		font-size: 0.72em;
		font-weight: 400;
		color: rgba(122, 111, 104, 0.9);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section {
		order: 3;
		margin: 0 0 6px;
		padding-top: 0;
		border-top: none;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section__head {
		margin-bottom: 4px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section__selected {
		display: block !important;
		font-size: 0.76rem;
		max-width: 100%;
		text-align: start;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-cards {
		display: grid;
		grid-auto-rows: 1fr;
		align-items: stretch;
		gap: 5px;
		overflow: visible;
		padding: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .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-app .rotitoo-mobile-sheet .summary-inner .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-app .rotitoo-mobile-sheet .summary-inner .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-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-4 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-5 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-6 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-7 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .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-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-9 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-10 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-11 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-12 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-13 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-14 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-15 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-16 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-17 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-18 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-19 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-20 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-21 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-22 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-section--count-23 .rotitoo-pdp-var-cards,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .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-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-card {
		width: 100%;
		min-width: 0;
		gap: 3px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-card__frame {
		padding: 2px;
		border-radius: 8px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-card__label {
		min-height: 1.55em;
		max-height: 1.55em;
		font-size: 0.54rem;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-card__check {
		width: 12px;
		height: 12px;
		top: 3px;
		right: 3px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-card__check::after {
		top: 2px;
		left: 4px;
		width: 3px;
		height: 5px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-card__badge {
		font-size: 0.46rem;
		padding: 1px 5px;
		bottom: 4px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-price-wrap {
		order: 4;
		margin: 0 0 10px;
		padding: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .rotitoo-pdp-price {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 6px 10px;
		font-size: 1.375rem;
		font-weight: 500;
		font-variant-numeric: tabular-nums;
		letter-spacing: -0.01em;
		line-height: 1.2;
		color: var(--rotitoo-ink);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .rotitoo-pdp-price del {
		color: var(--rotitoo-ink-muted);
		font-size: 0.82em;
		font-weight: 400;
		opacity: 0.85;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .rotitoo-pdp-price ins,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .rotitoo-pdp-price > .woocommerce-Price-amount {
		color: var(--rotitoo-price);
		font-weight: 500;
		text-decoration: none;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner form.variations_form,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner form.cart {
		order: 5;
		margin: 0 0 12px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-tabs-wrap,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .woocommerce-tabs.rotitoo-pdp-tabs {
		order: 6;
		margin-top: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .woocommerce-product-details__short-description {
		order: 7;
		margin: 4px 0 0;
		padding-top: 16px;
		border-top: 1px solid rgba(30, 24, 20, 0.06);
		font-size: 0.875rem;
		font-weight: 400;
		line-height: 1.7;
		color: #5c524c;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-foot {
		order: 8;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner > .product_meta:not(.rotitoo-pdp-foot .product_meta) {
		order: 8;
		margin-top: 20px;
		padding-top: 18px;
		border-top: 1px solid rgba(30, 24, 20, 0.06);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner > .price {
		display: none !important;
	}

	/* Hide duplicate wishlist row (moved to hero) */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .rotitoo-product-actions {
		display: none !important;
	}

	/* ─── Variations — clean horizontal chips ──────────────────── */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .variations_form table.variations tr {
		background: transparent;
		border: none;
		padding: 0 0 18px;
		margin-bottom: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .variations_form table.variations th.label {
		margin-bottom: 12px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .variations_form table.variations th.label label {
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		color: var(--rotitoo-ink-muted);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .variations_form .variable-items-wrapper {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 10px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		padding: 4px 2px 8px !important;
		margin: 0 -4px !important;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .variations_form .variable-items-wrapper::-webkit-scrollbar {
		display: none;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .variations_form .variable-item {
		flex: 0 0 52px !important;
		width: 52px !important;
		min-width: 52px !important;
		height: 52px !important;
		border-radius: 14px !important;
		scroll-snap-align: start;
		border: 2px solid rgba(30, 24, 20, 0.12) !important;
		box-shadow: none;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .variations_form .variable-item.selected,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .variations_form .variable-item.selected-variable-item {
		border-color: var(--rotitoo-ink) !important;
		box-shadow: 0 0 0 2px rgba(30, 24, 20, 0.08);
		transform: scale(1.04);
	}

	/* Stock badge */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .woocommerce-variation-availability .stock {
		font-size: 0.75rem;
		padding: 5px 14px;
		border-radius: 999px;
	}

	/* ─── Accordion tabs (Material list) ───────────────────────── */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-pdp-tabs-wrap,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .summary-inner .woocommerce-tabs.rotitoo-pdp-tabs {
		margin-top: 0;
		padding-top: 0;
		border-top: none;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-accordion-item {
		border-bottom: 1px solid rgba(30, 24, 20, 0.06);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-accordion-item:first-child {
		border-top: 1px solid rgba(30, 24, 20, 0.06);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-accordion-trigger {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 14px 0;
		border: none;
		background: transparent;
		font-size: 0.9rem;
		font-weight: 500;
		letter-spacing: 0;
		text-transform: none;
		color: var(--rotitoo-ink);
		cursor: pointer;
		text-align: start;
		min-height: 48px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-accordion-trigger::after {
		content: '';
		width: 8px;
		height: 8px;
		border-inline-end: 2px solid var(--rotitoo-ink-muted);
		border-bottom: 2px solid var(--rotitoo-ink-muted);
		transform: rotate(45deg);
		transition: transform 0.25s ease;
		flex-shrink: 0;
		margin-inline-start: 12px;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-accordion-item.is-open .rotitoo-accordion-trigger::after {
		transform: rotate(-135deg);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-accordion-panel {
		display: none;
		padding: 0 0 16px;
		font-size: 0.9rem;
		line-height: 1.8;
		color: #4a4038;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-accordion-item.is-open .rotitoo-accordion-panel {
		display: block;
		animation: rotitoo-accordion-in 0.28s ease;
	}

	@keyframes rotitoo-accordion-in {
		from { opacity: 0; transform: translateY(-6px); }
		to { opacity: 1; transform: translateY(0); }
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-accordion-panel {
		display: none;
		padding: 0 0 14px;
		font-size: 0.875rem;
		font-weight: 400;
		line-height: 1.75;
		color: #5c524c;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-pdp-accordion .wd-nav-tabs-wrapper,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-pdp-accordion > .woocommerce-tabs > .wd-nav-tabs-wrapper {
		display: none !important;
	}

	/* Footer — SKU & category chips */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .rotitoo-pdp-foot {
		margin-top: 20px;
		padding-top: 18px;
		padding-bottom: 8px;
		border-top: 1px solid rgba(30, 24, 20, 0.06);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .product_meta {
		display: flex;
		flex-direction: column;
		gap: 10px;
		font-size: 0.8125rem;
		color: var(--rotitoo-ink-muted);
		margin: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .product_meta > span {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
		margin: 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .product_meta .meta-label {
		font-size: 0.6875rem;
		font-weight: 500;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--rotitoo-ink-muted);
		min-width: auto;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .product_meta .sku,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .product_meta a {
		display: inline-flex;
		align-items: center;
		padding: 6px 12px;
		border-radius: 8px;
		background: var(--rotitoo-app-bg);
		font-size: 0.8125rem;
		font-weight: 400;
		color: var(--rotitoo-ink);
		text-decoration: none;
		border: none;
		line-height: 1.3;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .product_meta a:active {
		background: rgba(30, 24, 20, 0.06);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .product-share,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .rotitoo-pdp-foot .wd-social-icons {
		display: none !important;
	}

	/* ─── Inline add to cart (in sheet flow, after price) ──────── */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .woocommerce-variation-add-to-cart,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet form.cart:not(.variations_form) {
		position: static !important;
		inset: auto !important;
		z-index: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		background: transparent !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		border: none !important;
		box-shadow: none !important;
		display: block !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-bar-price {
		display: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app.rotitoo-pdp-has-var-cards .rotitoo-mobile-sheet .woocommerce-variation-add-to-cart .quantity,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app.rotitoo-pdp-has-var-cards .rotitoo-mobile-sheet form.cart .quantity {
		display: none !important;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .single_add_to_cart_button {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 100% !important;
		min-height: 46px;
		margin: 0 !important;
		padding: 12px 18px !important;
		border-radius: 12px !important;
		font-size: 0.9375rem !important;
		font-weight: 500 !important;
		letter-spacing: 0.01em !important;
		text-transform: none;
		background: var(--rotitoo-ink) !important;
		border: none !important;
		color: #fff !important;
		box-shadow: 0 2px 8px rgba(30, 24, 20, 0.14);
		transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .single_add_to_cart_button:active {
		transform: scale(0.985);
		box-shadow: 0 1px 4px rgba(30, 24, 20, 0.1);
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .product-image-summary {
		padding-bottom: 0 !important;
	}

	/* Hide COLOR combo on mobile when using variation cards */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app.rotitoo-pdp-has-var-cards .rotitoo-mobile-sheet .variations_form table.variations {
		display: none !important;
	}

	/* Related products section */
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-pdp-below {
		margin-top: 24px !important;
		padding: 24px 16px;
		background: var(--rotitoo-sheet-bg);
		border-top: none;
		border-radius: var(--rotitoo-sheet-radius) var(--rotitoo-sheet-radius) 0 0;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .related-products > h4,
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .upsells-products > h4 {
		font-size: 0.9rem;
		letter-spacing: 0.1em;
	}
}

@media (max-width: 768px) {
	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .product_title {
		font-size: 1.0625rem;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .summary-inner .rotitoo-pdp-var-card {
		width: 100%;
		min-width: 0;
		height: 100%;
	}

	body.rotitoo-app-shell.single-product.rotitoo-pdp-app .rotitoo-mobile-sheet .rotitoo-pdp-price {
		font-size: 1.25rem;
	}
}
