.myt-lime-shell {
	margin: 0 0 28px;
	padding: 22px;
	border-radius: 16px;
	border: 1px solid #e7e9ef;
	background: #fff;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
	font-size: 15px;
	line-height: 1.5;
	color: #1c1f2b;
	/* Reduce theme bleed-through (opacity / color on nested spans) */
	isolation: isolate;
}

.myt-lime-shell h3 {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #6b7280;
}

.myt-lime-size-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.myt-lime-pill {
	border: 1px solid #d7dbe7;
	background: #f8f9fc;
	border-radius: 999px;
	padding: 10px 18px;
	cursor: pointer;
	font-weight: 600;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.myt-lime-pill small {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: #6b7280;
	margin-top: 2px;
}

.myt-lime-pill.is-active {
	border-color: #111827;
	background: #111827;
	color: #fff;
}

.myt-lime-pill.is-active small {
	color: rgba(255, 255, 255, 0.75);
}

.myt-lime-qty-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.myt-lime-qty-chip {
	border: 1px solid #d7dbe7;
	border-radius: 12px;
	padding: 12px;
	text-align: center;
	cursor: pointer;
	transition: transform 0.15s ease, border-color 0.2s, box-shadow 0.2s;
	background: linear-gradient(180deg, #fff, #fafbff);
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #0f172a;
}

.myt-lime-qty-chip span.qty-num {
	display: block;
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.myt-lime-qty-chip span.qty-each {
	font-size: 13px;
	font-weight: 600;
	color: #374151;
}

.myt-lime-qty-chip:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
	border-color: #c4cadb;
}

.myt-lime-qty-chip.is-active {
	border-color: #fd4e2c;
	box-shadow: 0 14px 32px rgba(253, 78, 44, 0.25);
	background: linear-gradient(180deg, #fffefb, #fff5f0);
}

.myt-lime-qty-chip.is-active span.qty-num {
	color: #0f172a;
}

.myt-lime-qty-chip.is-active span.qty-each {
	color: #1f2937;
}

.myt-lime-shell .myt-lime-qty-chip,
.myt-lime-shell .myt-lime-qty-chip span {
	opacity: 1;
}

.myt-lime-speed {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
	margin: 14px 0 18px;
}

.myt-lime-speed label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: 1px solid #dfe3ef;
	padding: 16px;
	border-radius: 12px;
	cursor: pointer;
	background: #fdfdfd;
}

.myt-lime-speed input {
	margin-right: 8px;
}

.myt-lime-speed label.is-active {
	border-color: #111827;
	background: #f4f5f7;
}

.myt-lime-summary {
	border-top: 1px solid #edf0f7;
	padding-top: 16px;
	margin-top: 8px;
}

.myt-lime-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 8px;
	font-size: 16px;
}

.myt-lime-summary-row strong {
	font-size: 18px;
}

.myt-lime-upload-section {
	margin-top: 8px;
	padding-top: 18px;
	border-top: 1px solid #edf0f7;
}

.myt-lime-upload-section h3.myt-lime-upload-title {
	margin: 0 0 8px;
}

.myt-lime-upload-hint {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.45;
	color: #4b5563;
}

.myt-lime-upload-slot {
	min-height: 0;
}

/* CodeDropz (Drag & Drop Multiple File Upload for WooCommerce) inside MYT card */
.myt-lime-shell .wc-dnd-file-upload {
	padding: 0 !important;
	margin: 0;
	border: 1px dashed #c4cadb;
	border-radius: 12px;
	background: linear-gradient(180deg, #fafbff, #fff);
	overflow: hidden;
}

.myt-lime-shell .wc-dnd-file-upload > label {
	display: block;
	margin: 0 !important;
	padding: 10px 14px 0;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
}

.myt-lime-shell .codedropz-upload-wrapper {
	margin: 0;
	border: none;
	border-radius: 0;
	background: transparent;
}

.myt-lime-shell .codedropz-upload-handler {
	border-radius: 0;
}

.myt-lime-shell .codedropz-upload-inner .codedropz-label {
	font-size: 15px !important;
	line-height: 1.4 !important;
	font-weight: 500;
	color: #1c1f2b;
	white-space: normal;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
}

.myt-lime-shell .codedropz-upload-inner a.cd-upload-btn {
	background: #fd4e2c !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 10px 20px !important;
	font-weight: 600 !important;
	margin-left: 8px;
}

.myt-lime-shell .dnd-upload-counter {
	right: 12px;
	bottom: 10px;
	color: #6b7280;
	font-size: 12px;
}

.myt-lime-meta {
	font-size: 13px;
	color: #6b7280;
	margin-top: 4px;
}

.myt-lime-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 18px;
}

.myt-lime-actions .button {
	width: 100%;
	text-align: center;
	border-radius: 999px;
	padding: 14px 18px;
	font-weight: 600;
}

.myt-lime-bulk-note {
	font-size: 13px;
	color: #4b5563;
	margin-bottom: 12px;
}

@media (min-width: 768px) {
	.myt-lime-actions {
		flex-direction: row;
	}
	.myt-lime-actions .button {
		flex: 1;
	}
}

/* Server-rendered mount + Woo layout */
.myt-lime-root {
	min-height: 140px;
	margin-bottom: 20px;
}

.myt-lime-loading {
	margin: 0;
	padding: 24px;
	text-align: center;
	color: #6b7280;
	font-size: 15px;
}

body.myt-lime-flow-active form.cart .quantity {
	display: none !important;
}

/* -------------------------------------------------------------------------
   Theme bleed (Elementor / dark typography): force readable contrast inside
   the configurator. !important only on color where inheritance breaks UX.
   ------------------------------------------------------------------------- */
.myt-lime-shell {
	color-scheme: light;
	color: #1c1f2b !important;
}

.myt-lime-shell h3,
#myt-lime-root .myt-lime-loading {
	color: #4b5563 !important;
}

.myt-lime-shell .myt-lime-pill {
	color: #111827 !important;
}

.myt-lime-shell .myt-lime-pill small {
	color: #6b7280 !important;
}

.myt-lime-shell .myt-lime-pill.is-active {
	color: #fff !important;
}

.myt-lime-shell .myt-lime-pill.is-active small {
	color: rgba(255, 255, 255, 0.88) !important;
}

.myt-lime-shell .myt-lime-speed label {
	color: #111827 !important;
	background: #fdfdfd !important;
}

.myt-lime-shell .myt-lime-speed .myt-speed-copy {
	color: #1f2937 !important;
}

.myt-lime-shell .myt-lime-speed small.myt-lime-eta,
.myt-lime-shell .myt-lime-speed .myt-lime-eta {
	color: #6b7280 !important;
}

.myt-lime-shell .myt-lime-summary-row > span {
	color: #4b5563 !important;
}

.myt-lime-shell .myt-lime-summary-row strong {
	color: #0f172a !important;
}

.myt-lime-shell .myt-lime-meta {
	color: #6b7280 !important;
}

.myt-lime-shell .myt-lime-bulk-note,
.myt-lime-shell .myt-lime-bulk-note strong {
	color: #374151 !important;
}

.myt-lime-shell .myt-lime-upload-title {
	color: #4b5563 !important;
}

.myt-lime-shell .myt-lime-upload-hint {
	color: #4b5563 !important;
}

.myt-lime-shell .wc-dnd-file-upload > label {
	color: #374151 !important;
}

.myt-lime-shell .codedropz-upload-inner .codedropz-label,
.myt-lime-shell .codedropz-upload-inner .codedropz-label span {
	color: #1c1f2b !important;
}

.myt-lime-shell .codedropz-upload-inner .codedropz-label span.cd-separator {
	color: #6b7280 !important;
}

.myt-lime-shell .dnd-upload-counter,
.myt-lime-shell .dnd-upload-counter span {
	color: #6b7280 !important;
}

/* CTA: keep light text on filled / accent buttons */
.myt-lime-shell .myt-lime-actions .button.alt {
	color: #fff !important;
}

.myt-lime-shell .myt-lime-actions .button.alt:hover {
	color: #fff !important;
}

.myt-lime-shell input[type="radio"] {
	accent-color: #111827;
}

.myt-lime-shell .myt-lime-qty-chip {
	color: #0f172a !important;
}

.myt-lime-shell .myt-lime-qty-chip .qty-num {
	color: #0f172a !important;
}

.myt-lime-shell .myt-lime-qty-chip .qty-each {
	color: #374151 !important;
}

/* =============================================================================
   Studio configurator — “myt-lime-shell--aw” (premium layout + motion)
   ============================================================================= */

@keyframes myt-aw-shell-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.992);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes myt-aw-chip-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.myt-lime-shell.myt-lime-shell--aw {
	--myt-aw-bg: #fafbfc;
	--myt-aw-ink: #0b1220;
	--myt-aw-muted: #5c6578;
	--myt-aw-line: rgba(15, 23, 42, 0.08);
	--myt-aw-accent: #fd4e2c;
	--myt-aw-accent-soft: rgba(253, 78, 44, 0.14);
	--myt-aw-card: #ffffff;
	--myt-aw-radius: 20px;
	--myt-aw-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--myt-aw-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;

	position: relative;
	margin: 0 0 32px;
	padding: clamp(20px, 3vw, 32px);
	border-radius: var(--myt-aw-radius);
	border: 1px solid var(--myt-aw-line);
	background:
		radial-gradient(120% 80% at 0% 0%, rgba(253, 78, 44, 0.07), transparent 55%),
		radial-gradient(90% 60% at 100% 10%, rgba(59, 130, 246, 0.06), transparent 50%),
		linear-gradient(180deg, #fff 0%, var(--myt-aw-bg) 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.85) inset,
		0 24px 60px -24px rgba(15, 23, 42, 0.18),
		0 0 0 1px rgba(255, 255, 255, 0.5) inset;
	font-family: var(--myt-aw-font);
	font-size: 15px;
	line-height: 1.55;
	overflow: hidden;
	animation: myt-aw-shell-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.myt-lime-shell.myt-lime-shell--aw::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.35) 48%, transparent 56%);
	pointer-events: none;
	opacity: 0.45;
	mix-blend-mode: overlay;
}

.myt-lime-shell.myt-lime-shell--aw > * {
	position: relative;
	z-index: 1;
}

.myt-lime-shell.myt-lime-shell--aw > h3 {
	margin: 0 0 12px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--myt-aw-muted) !important;
	border: none;
	padding-bottom: 0;
}

.myt-lime-shell.myt-lime-shell--aw > h3:not(.screen-reader-text) + * {
	margin-top: 0;
}

.myt-lime-shell.myt-lime-shell--aw > h3:not(:first-of-type):not(.screen-reader-text) {
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--myt-aw-line);
}

/* Size pills */
.myt-lime-shell.myt-lime-shell--aw .myt-lime-size-row {
	gap: 12px;
	margin-bottom: 8px;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-pill {
	border: 1px solid var(--myt-aw-line);
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 999px;
	padding: 14px 22px;
	font-weight: 600;
	font-size: 0.95rem;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
	transition:
		transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.22s ease,
		border-color 0.2s ease,
		background 0.2s ease,
		color 0.2s ease;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
	border-color: rgba(253, 78, 44, 0.35);
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-pill:active {
	transform: translateY(0) scale(0.98);
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-pill small {
	margin-top: 4px;
	font-size: 0.72rem;
	letter-spacing: 0.02em;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-pill.is-active {
	border-color: transparent;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
	color: #fff !important;
	box-shadow:
		0 16px 40px rgba(15, 23, 42, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-pill.is-active small {
	color: rgba(255, 255, 255, 0.82) !important;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-pill:focus-visible {
	outline: 2px solid var(--myt-aw-accent);
	outline-offset: 3px;
}

/* Quantity grid */
.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-grid {
	grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
	gap: 12px;
	margin-bottom: 10px;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-chip {
	position: relative;
	border-radius: 14px;
	padding: 14px 12px;
	background: var(--myt-aw-card);
	border: 1px solid var(--myt-aw-line);
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
	transition:
		transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.2s ease,
		border-color 0.2s ease,
		background 0.25s ease;
	animation: myt-aw-chip-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-grid .myt-lime-qty-chip:nth-child(1) {
	animation-delay: 0.02s;
}
.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-grid .myt-lime-qty-chip:nth-child(2) {
	animation-delay: 0.05s;
}
.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-grid .myt-lime-qty-chip:nth-child(3) {
	animation-delay: 0.08s;
}
.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-grid .myt-lime-qty-chip:nth-child(4) {
	animation-delay: 0.11s;
}
.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-grid .myt-lime-qty-chip:nth-child(5) {
	animation-delay: 0.14s;
}
.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-grid .myt-lime-qty-chip:nth-child(6) {
	animation-delay: 0.17s;
}
.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-grid .myt-lime-qty-chip:nth-child(7) {
	animation-delay: 0.2s;
}
.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-grid .myt-lime-qty-chip:nth-child(8) {
	animation-delay: 0.23s;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-chip:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-chip:active {
	transform: translateY(-1px) scale(0.98);
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-chip span.qty-num {
	font-family: var(--myt-aw-mono);
	font-size: 1.05rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.03em;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-chip span.qty-each {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.92;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-chip.is-active {
	border-color: rgba(253, 78, 44, 0.65);
	background: linear-gradient(165deg, #fff 0%, #fff8f6 45%, #fff 100%);
	box-shadow:
		0 0 0 1px rgba(253, 78, 44, 0.2),
		0 20px 48px -16px rgba(253, 78, 44, 0.35);
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-chip:focus-visible {
	outline: 2px solid var(--myt-aw-accent);
	outline-offset: 2px;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-bulk-note {
	margin-top: 6px;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(248, 250, 252, 0.9);
	border: 1px dashed rgba(15, 23, 42, 0.12);
	font-size: 0.8125rem;
	line-height: 1.45;
}

/* Speed selector — “tickets” */
.myt-lime-shell.myt-lime-shell--aw .myt-lime-speed {
	gap: 14px;
	margin-top: 6px;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-speed label {
	position: relative;
	padding: 18px 18px 18px 22px;
	border-radius: 16px;
	border: 1px solid var(--myt-aw-line);
	background: rgba(255, 255, 255, 0.85);
	overflow: hidden;
	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.2s ease;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-speed label::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: transparent;
	border-radius: 16px 0 0 16px;
	transition: background 0.25s ease;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-speed label:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-speed label.is-active {
	border-color: rgba(15, 23, 42, 0.35);
	box-shadow:
		0 16px 40px rgba(15, 23, 42, 0.1),
		0 0 0 1px rgba(15, 23, 42, 0.06) inset;
	background: #fff;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-speed label.is-active::before {
	background: linear-gradient(180deg, var(--myt-aw-accent) 0%, #ff7a5c 100%);
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-speed .myt-speed-copy {
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-speed small.myt-lime-eta {
	display: block;
	margin-top: 8px;
	font-size: 0.78rem;
	font-weight: 500;
	font-family: var(--myt-aw-mono);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

/* Summary — “receipt” strip */
.myt-lime-shell.myt-lime-shell--aw .myt-lime-summary {
	margin-top: 0.5rem;
	padding: 20px 22px 8px;
	border-radius: 16px;
	background: linear-gradient(180deg, #f4f6f9 0%, #fff 55%);
	border: 1px solid var(--myt-aw-line);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-summary-row {
	margin-bottom: 12px;
	align-items: center;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-summary-row > span {
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-summary-row strong.myt-lime-unit {
	font-size: 1.25rem;
	font-weight: 700;
	font-family: var(--myt-aw-mono);
	font-variant-numeric: tabular-nums;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-summary-row strong.myt-lime-total {
	font-size: clamp(1.65rem, 4.2vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	font-family: var(--myt-aw-mono);
	font-variant-numeric: tabular-nums;
	background: linear-gradient(90deg, #0f172a, #334155);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
	.myt-lime-shell.myt-lime-shell--aw .myt-lime-summary-row strong.myt-lime-total {
		color: #0f172a !important;
		-webkit-text-fill-color: currentColor;
		background: none;
	}
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-meta {
	margin-top: 4px;
	font-size: 0.75rem;
	opacity: 0.95;
}

/* Upload zone */
.myt-lime-shell.myt-lime-shell--aw .myt-lime-upload-section {
	border-top: none;
	margin-top: 1.25rem;
	padding-top: 0;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-upload-title {
	font-size: 0.72rem !important;
	letter-spacing: 0.14em;
}

.myt-lime-shell.myt-lime-shell--aw .wc-dnd-file-upload {
	border-radius: 16px !important;
	border-style: solid !important;
	border-color: rgba(15, 23, 42, 0.1) !important;
	background: rgba(255, 255, 255, 0.65) !important;
	backdrop-filter: blur(8px);
}

/* CTAs */
.myt-lime-shell.myt-lime-shell--aw .myt-lime-actions {
	margin-top: 22px;
	gap: 12px;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-actions .button {
	transition:
		transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.2s ease;
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-actions .button:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.15);
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-actions .button:active {
	transform: translateY(0);
}

.myt-lime-shell.myt-lime-shell--aw .myt-lime-actions .button:focus-visible {
	outline: 2px solid var(--myt-aw-accent);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.myt-lime-shell.myt-lime-shell--aw,
	.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-chip {
		animation: none !important;
	}

	.myt-lime-shell.myt-lime-shell--aw .myt-lime-pill,
	.myt-lime-shell.myt-lime-shell--aw .myt-lime-qty-chip,
	.myt-lime-shell.myt-lime-shell--aw .myt-lime-speed label,
	.myt-lime-shell.myt-lime-shell--aw .myt-lime-actions .button {
		transition: none !important;
	}
}

/* -------------------------------------------------------------------------
   Sticky product gallery (desktop)
   Elementor’da sol sütun çoğu temada “içerik kadar” yüksek kalır; sticky’nin
   sınırlayıcı kutusu kısa olur ve görsel yukarıda kaybolur. Ürün satırını
   stretch + gerektiğinde overflow visible ile sol hücreyi sağ kadar uzatırız.
   ------------------------------------------------------------------------- */

body.myt-lime-flow-active {
	--myt-gallery-sticky-top: max(1rem, env(safe-area-inset-top, 0px));
}

body.myt-lime-flow-active.admin-bar {
	--myt-gallery-sticky-top: calc(var(--wp-admin--admin-bar--height, 32px) + 1rem);
}

@media screen and (max-width: 782px) {
	body.myt-lime-flow-active.admin-bar {
		--myt-gallery-sticky-top: calc(var(--wp-admin--admin-bar--height, 46px) + 1rem);
	}
}

@media (min-width: 992px) {
	/*
	 * Klasik Woo (ThemeREX / Elementra vb.): sol hücre çoğu temada flex-start
	 * ile kısa kalır — sticky ancak sol “kutu” sağ kadar uzayınca düzgün çalışır.
	 */
	body.myt-lime-flow-active.woocommerce-page.single-product div.product.type-product,
	body.myt-lime-flow-active.single-product .woocommerce div.product,
	body.myt-lime-flow-active.single-product article.post_item_single .product {
		align-items: stretch !important;
	}

	body.myt-lime-flow-active.single-product article.post_item_single,
	body.myt-lime-flow-active.single-product .post_item_single {
		overflow: visible !important;
	}

	/* Elementor klasik: section > container (flex row) */
	body.myt-lime-flow-active.single-product .elementor-section:has(.woocommerce-product-gallery) > .elementor-container {
		align-items: stretch !important;
	}

	/* Elementor flex (e-con satırı) */
	body.myt-lime-flow-active.single-product .e-con.e-parent:has(.woocommerce-product-gallery) {
		align-items: stretch !important;
	}

	body.myt-lime-flow-active.single-product .elementor-column:has(.woocommerce-product-gallery),
	body.myt-lime-flow-active.single-product .e-con.e-parent:has(.woocommerce-product-gallery) > .e-con.e-child:has(.woocommerce-product-gallery) {
		align-self: stretch !important;
	}

	body.myt-lime-flow-active.single-product .elementor-column:has(.woocommerce-product-gallery) > .elementor-widget-wrap {
		display: flex;
		flex-direction: column;
		min-height: 100%;
	}

	body.myt-lime-flow-active.single-product .elementor-section:has(.woocommerce-product-gallery),
	body.myt-lime-flow-active.single-product .elementor-column:has(.woocommerce-product-gallery) {
		overflow: visible !important;
	}

	body.myt-lime-flow-active.single-product .woocommerce-product-gallery {
		position: sticky;
		top: var(--myt-gallery-sticky-top);
		align-self: flex-start;
		z-index: 3;
		max-height: calc(100dvh - var(--myt-gallery-sticky-top) - 1.5rem);
		overflow-y: auto;
		overflow-x: hidden;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	/* Elementor: sticky widget kökünde — iç galeride çift sticky olmasın */
	body.myt-lime-flow-active.single-product .elementor-widget-woocommerce-product-images.elementor-element {
		position: sticky;
		top: var(--myt-gallery-sticky-top);
		align-self: flex-start;
		z-index: 3;
		max-height: calc(100dvh - var(--myt-gallery-sticky-top) - 1.5rem);
		overflow-y: auto;
		overflow-x: hidden;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	body.myt-lime-flow-active.single-product .elementor-widget-woocommerce-product-images .woocommerce-product-gallery {
		position: relative;
		top: auto;
		max-height: none;
		overflow: visible;
	}

	body.myt-lime-flow-active.single-product .elementor-widget-woocommerce-product-images > .elementor-widget-container {
		position: relative;
		top: auto;
		max-height: none;
		overflow: visible;
	}
}

