/* MC Wear — Product Details
 *
 * Single-product widget. 2-column desktop (gallery collage + sticky info),
 * single-column mobile. Specificity bumped (.mcw-pd.mcw-pd ...) to beat
 * Elementor Site Settings without !important. Chip gradient pattern + fake
 * bold via text-shadow mirrors the .mcw-pc__page-btn pattern in
 * product-collection.css.
 */

.mcw-pd.mcw-pd {
	box-sizing: border-box;
	background: #ffffff;
	color: #3b3e40;
	/* Break out of any Elementor container max-width / offset so the widget
	 * spans the full viewport. Viewport-based positioning (rather than the
	 * header's `margin: 0 calc(50% - 50vw)` trick) is robust to nested
	 * Elementor containers whose `50%` doesn't equal `50vw`. */
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
}

.mcw-pd.mcw-pd *,
.mcw-pd.mcw-pd *::before,
.mcw-pd.mcw-pd *::after {
	box-sizing: border-box;
}

.mcw-pd.mcw-pd .mcw-pd__inner {
	width: 100%;
	max-width: var(--mcw-pd-max, 1440px);
	margin: 0 auto;
	padding: 0 80px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--mcw-pd-col-gap, 80px);
	row-gap: 40px;
	align-items: start;
}

/* ---------- Gallery (left column) ----------
 * One markup tree, two layouts. At desktop the Swiper stays un-initialized,
 * so .mcw-pd__stage-track is plain flow and these CSS-columns rules pack the
 * cells into a masonry collage — hero spans both columns, secondary slots
 * fill 2 columns by natural height (no row-alignment gaps, no crop). At
 * ≤1024px product-details.js boots Swiper and the responsive block below
 * takes over (see media queries at the foot of this file).
 *
 * The `.mcw-pd.mcw-pd` chain out-specifies swiper-bundle.css's base
 * `.swiper-wrapper { display:flex }` / `.swiper { overflow:hidden }` so the
 * collage wins until Swiper is actually initialized. */
.mcw-pd.mcw-pd .mcw-pd__gallery {
	min-width: 0;
}

.mcw-pd.mcw-pd .mcw-pd__stage {
	overflow: visible;
}

.mcw-pd.mcw-pd .mcw-pd__stage-track {
	display: block;
	column-count: 2;
	column-gap: var(--mcw-pd-gal-gap, 12px);
	column-fill: balance;
}

.mcw-pd.mcw-pd .mcw-pd__cell {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	margin: 0 0 var(--mcw-pd-gal-gap, 12px);
	width: auto;
	height: auto;
	background: #f6f6f6;
	overflow: hidden;
}

.mcw-pd.mcw-pd .mcw-pd__cell--hero {
	column-span: all;
}

.mcw-pd.mcw-pd .mcw-pd__hero-link,
.mcw-pd.mcw-pd .mcw-pd__slot-link {
	display: block;
	width: 100%;
	cursor: zoom-in;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s ease;
}

.mcw-pd.mcw-pd .mcw-pd__hero-link:hover,
.mcw-pd.mcw-pd .mcw-pd__slot-link:hover {
	opacity: 0.92;
}

.mcw-pd.mcw-pd .mcw-pd__hero-img,
.mcw-pd.mcw-pd .mcw-pd__slot-img {
	display: block;
	width: 100%;
	height: auto;
}

/* Thumbnail strip — desktop hides it (collage shows every image already).
 * Revealed + driven by Swiper at ≤1024px. */
.mcw-pd.mcw-pd .mcw-pd__thumbs {
	display: none;
}

/* ---------- Info (right column) ----------
 * The column is a stack of blocks, each one separated from the last by a
 * 24px gap, a hairline rule, and another 24px gap. That single rhythm rule
 * replaces the old per-element flow spacing, so the column reads evenly no
 * matter which optional blocks (code, color, description, size) render. */
.mcw-pd.mcw-pd .mcw-pd__info {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
	background: #ffffff;
}

.mcw-pd.mcw-pd .mcw-pd__block {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.mcw-pd.mcw-pd .mcw-pd__block + .mcw-pd__block {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #e9eaeb;
}

.mcw-pd.mcw-pd.mcw-pd--sticky .mcw-pd__info {
	position: sticky;
	top: var(--mcw-pd-sticky-top, 128px);
	align-self: start;
}

/* ---------- Shared label / value register ----------
 * Every block in the column speaks with the same two voices: an uppercase
 * near-black micro-label and a title-case gray value. */
.mcw-pd.mcw-pd .mcw-pd__label {
	margin: 0;
	font-family: "Mona Sans Expanded", "Mona Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--mcw-pd-meta-label, #050101);
}

.mcw-pd.mcw-pd .mcw-pd__value {
	margin: 0;
	font-family: "Mona Sans Expanded", "Mona Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 1px;
	/* "Body sm / Regular (Title Case)" in the Figma type system. */
	text-transform: capitalize;
	color: var(--mcw-pd-meta-value, #3b3e40);
}

.mcw-pd.mcw-pd .mcw-pd__title {
	margin: 0;
	font-family: "Ivy Mode", "Cormorant Garamond", Georgia, serif;
	font-weight: 300;
	font-size: 48px;
	line-height: 60px;
	letter-spacing: 1px;
	color: #050101;
}

/* WC variation price_html wraps the price in nested elements
 * (<span class="price">, <span class="woocommerce-Price-amount amount">,
 * <bdi>, <span class="woocommerce-Price-currencySymbol">). Themes often
 * style these directly, breaking the inherit chain. Force every descendant
 * to inherit the widget typography so the price stays consistent before
 * and after the JS variation swap. */
.mcw-pd.mcw-pd .mcw-pd__price * {
	color: inherit;
	font: inherit;
	text-decoration: none;
}

.mcw-pd.mcw-pd .mcw-pd__price {
	font-family: "Ivy Mode", "Cormorant Garamond", Georgia, serif;
	font-weight: 700;
	font-size: 30px;
	line-height: 38px;
	color: #050101;
}

.mcw-pd.mcw-pd .mcw-pd__price del,
.mcw-pd.mcw-pd .mcw-pd__price del * {
	text-decoration: line-through;
	opacity: 0.5;
}

.mcw-pd.mcw-pd .mcw-pd__price del {
	margin-right: 8px;
}

/* ---------- Product code ---------- */
.mcw-pd.mcw-pd .mcw-pd__meta {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}

.mcw-pd.mcw-pd .mcw-pd__meta dd {
	margin: 0;
}

/* ---------- Colorway line ----------
 * Sits between the "Color" label and the swatch row. The squares carry no
 * text, so this line is the only place the picked colorway is named — JS
 * rewrites it on select. Title case, not the label's uppercase. */
.mcw-pd.mcw-pd .mcw-pd__colorway {
	margin: 0;
	min-width: 0;
	font-family: "Mona Sans Expanded", "Mona Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 1px;
	text-transform: capitalize;
	color: #3b3e40;
	overflow-wrap: break-word;
}

/* ---------- Description ---------- */
.mcw-pd.mcw-pd .mcw-pd__desc p {
	margin: 0 0 8px;
}

.mcw-pd.mcw-pd .mcw-pd__desc p:last-child {
	margin-bottom: 0;
}

/* ---------- Stock counter ---------- */
.mcw-pd.mcw-pd .mcw-pd__stock {
	margin: 0;
	font-family: "Mona Sans Expanded", "Mona Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #050101;
}

.mcw-pd.mcw-pd .mcw-pd__stock[data-stock="out"] {
	color: #c2185b;
}

/* ---------- Chip rows ---------- */
.mcw-pd.mcw-pd .mcw-pd__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
}

/* Chip base. `::before` carries the pastel gradient so the fill can fade in
 * via opacity rather than a background swap. */
.mcw-pd.mcw-pd .mcw-pd__chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 8px 12px;
	margin: 0;
	background: #fafafa;
	color: #3b3e40;
	border: 1px solid transparent;
	border-radius: 0;
	overflow: hidden;
	cursor: pointer;
	font-family: "Mona Sans Expanded", "Mona Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 1px;
	text-transform: capitalize;
	transition: border-color 0.35s ease, color 0.35s ease;
}

.mcw-pd.mcw-pd .mcw-pd__chips--size .mcw-pd__chip {
	min-width: 74px;
}

/* Color chips are unlabelled 40px swatch squares: a white card with a 1px
 * pastel gradient border, 6px of padding, and the colorway itself filling the
 * 28px well inside. Two backgrounds + two clips draw the gradient border
 * without a pseudo-element, so the well stays a real child element. */
.mcw-pd.mcw-pd .mcw-pd__chips--color {
	gap: 16px;
}

.mcw-pd.mcw-pd .mcw-pd__chips--color .mcw-pd__chip {
	width: 40px;
	min-width: 0;
	height: 40px;
	padding: 6px;
	/* Resting = the bare colorway, no card. The 40px box and its 6px mat stay
	 * transparent so every square keeps the same footprint and the row doesn't
	 * reflow when the selection moves. */
	background-color: transparent;
	background-image: none;
	background-origin: border-box;
	border-color: transparent;
	transition: background-color 0.35s ease, border-color 0.35s ease;
}

/* The well. An inset hairline (not a border) keeps the fill a true 28px, so
 * Optic White still reads as a square against the white card. */
.mcw-pd.mcw-pd .mcw-pd__chips--color .mcw-pd__chip-fill {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--mcw-pd-chip-swatch, #ffffff);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
	transition: box-shadow 0.35s ease;
}

/* Selected = the card appears around the well: white mat inside a 1px pastel
 * gradient border. Two background layers with two clips draw the gradient
 * border without a pseudo-element, so the well stays a real child. Only the
 * picked square carries it — that contrast is the whole signal. */
.mcw-pd.mcw-pd .mcw-pd__chips--color .mcw-pd__chip--current {
	background-image:
		linear-gradient(#ffffff, #ffffff),
		linear-gradient(226.03deg, #ffcccc 38.64%, #fef3c6 77.7%, #cdf4f3 81.47%);
	background-clip: padding-box, border-box;
}

/* Hover previews the card in neutral gray, so the gradient stays unique to
 * the actual selection. */
.mcw-pd.mcw-pd .mcw-pd__chips--color .mcw-pd__chip:not(.mcw-pd__chip--current):hover,
.mcw-pd.mcw-pd .mcw-pd__chips--color .mcw-pd__chip:not(.mcw-pd__chip--current):focus-visible {
	background-color: #ffffff;
	border-color: #e9eaeb;
}

/* Term name for screen readers — the visible name lives on the colorway line. */
.mcw-pd.mcw-pd .mcw-pd__chip-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.mcw-pd.mcw-pd .mcw-pd__chip > * {
	position: relative;
	z-index: 1;
}

.mcw-pd.mcw-pd .mcw-pd__chip::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(226.03deg, #ffcccc 38.64%, #fef3c6 77.7%, #cdf4f3 81.47%);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
	z-index: 0;
}

/* State selectors carry the `.mcw-pd__chips` ancestor (and double the current
 * class) so they out-specify the `--color` variant block above — otherwise the
 * larger color chip's own base rule would win over its own selected state. */
.mcw-pd.mcw-pd .mcw-pd__chips .mcw-pd__chip:not(.mcw-pd__chip--swatch):not(.mcw-pd__chip--current):hover,
.mcw-pd.mcw-pd .mcw-pd__chips .mcw-pd__chip:not(.mcw-pd__chip--swatch):not(.mcw-pd__chip--current):focus-visible,
.mcw-pd.mcw-pd .mcw-pd__chips .mcw-pd__chip:not(.mcw-pd__chip--swatch).mcw-pd__chip--current {
	color: #050101;
	border-color: #ffcccc;
}

.mcw-pd.mcw-pd .mcw-pd__chips .mcw-pd__chip:not(.mcw-pd__chip--swatch):not(.mcw-pd__chip--current):hover::before,
.mcw-pd.mcw-pd .mcw-pd__chips .mcw-pd__chip:not(.mcw-pd__chip--swatch):not(.mcw-pd__chip--current):focus-visible::before,
.mcw-pd.mcw-pd .mcw-pd__chips .mcw-pd__chip:not(.mcw-pd__chip--swatch).mcw-pd__chip--current::before {
	opacity: 1;
}

.mcw-pd.mcw-pd .mcw-pd__chip:focus-visible {
	outline: 2px solid #000000;
	outline-offset: 2px;
}

/* ---------- Size head (label + size chart link) ---------- */
.mcw-pd.mcw-pd .mcw-pd__size-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	font-family: "Mona Sans Expanded", "Mona Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 1px;
	color: #3b3e40;
}

.mcw-pd.mcw-pd .mcw-pd__size-label em {
	font-style: normal;
	color: #050101;
}

.mcw-pd.mcw-pd .mcw-pd__sizechart {
	padding-bottom: 2px;
	border-bottom: 1px solid #050101;
	color: #050101;
	text-decoration: none;
	font-size: 14px;
	line-height: 20px;
}

.mcw-pd.mcw-pd .mcw-pd__sizechart:hover {
	color: #000000;
}

/* ---------- Buy row (qty + CTA) ---------- */
.mcw-pd.mcw-pd .mcw-pd__block--buy {
	gap: 20px;
}

.mcw-pd.mcw-pd .mcw-pd__buy {
	display: flex;
	align-items: stretch;
	gap: 24px;
	margin: 0;
	padding: 0;
}

/* Qty stepper — a gray tray holding two white tiles either side of the
 * count, matched in height to the CTA so the buy row reads as one bar. */
.mcw-pd.mcw-pd .mcw-pd__qty {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 12px;
	height: 58px;
	padding: 8px;
	border: 0;
	border-radius: 0;
	background: #fafafa;
	box-shadow: inset 0 0 0 1px #e9eaeb;
}

.mcw-pd.mcw-pd .mcw-pd__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	background: #ffffff;
	border: 0;
	border-radius: 0;
	color: #050101;
	cursor: pointer;
	transition: color 0.2s ease;
}

.mcw-pd.mcw-pd .mcw-pd__qty-icon {
	display: block;
	width: 18px;
	height: 18px;
	color: currentColor;
	flex-shrink: 0;
}

.mcw-pd.mcw-pd .mcw-pd__qty-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.mcw-pd.mcw-pd .mcw-pd__qty-btn:hover {
	color: #000000;
}

.mcw-pd.mcw-pd .mcw-pd__qty-btn:focus-visible {
	outline: 2px solid #000000;
	outline-offset: 1px;
}

.mcw-pd.mcw-pd .mcw-pd__qty-btn[disabled] {
	color: #a4a7ae;
	cursor: not-allowed;
	opacity: 1;
}

.mcw-pd.mcw-pd .mcw-pd__qty-input {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 24px;
	height: 40px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	color: #050101;
	font-family: "Mona Sans Expanded", "Mona Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 1px;
	text-align: center;
	line-height: 40px;
	-moz-appearance: textfield;
}

.mcw-pd.mcw-pd .mcw-pd__qty-input::-webkit-outer-spin-button,
.mcw-pd.mcw-pd .mcw-pd__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.mcw-pd.mcw-pd .mcw-pd__cta {
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 24px;
	min-height: 58px;
	background: #000000;
	color: #ffffff;
	border: 1px solid #000000;
	border-radius: 0;
	cursor: pointer;
	font-family: "Mona Sans Expanded", "Mona Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 1px;
	text-transform: capitalize;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.mcw-pd.mcw-pd .mcw-pd__cta:not([disabled]):not([aria-busy="true"]):hover,
.mcw-pd.mcw-pd .mcw-pd__cta:not([disabled]):not([aria-busy="true"]):focus-visible {
	background: #ffffff;
	color: #000000;
	outline: none;
}

.mcw-pd.mcw-pd .mcw-pd__cta:focus-visible {
	outline: 2px solid #000000;
	outline-offset: 3px;
}

.mcw-pd.mcw-pd .mcw-pd__cta[disabled],
.mcw-pd.mcw-pd .mcw-pd__cta[aria-busy="true"] {
	opacity: 0.55;
	cursor: not-allowed;
}

.mcw-pd.mcw-pd .mcw-pd__cta-price {
	font-weight: 600;
	font-size: 20px;
	line-height: 30px;
	text-transform: uppercase;
}

/* Same nested WC price markup as .mcw-pd__price — force every descendant
 * inside the CTA button to inherit the button's typography so the
 * variation price swap doesn't pick up theme price colors. */
.mcw-pd.mcw-pd .mcw-pd__cta-price * {
	color: inherit;
	font: inherit;
	text-decoration: none;
}

/* WC injects an `<a class="added_to_cart wc-forward">View cart</a>` next to
 * the add-to-cart button after a successful add. The toast already covers
 * that feedback, so hide it to keep the buy row clean. */
.mcw-pd.mcw-pd .added_to_cart,
.mcw-pd.mcw-pd a.added_to_cart,
.mcw-pd.mcw-pd a.wc-forward {
	display: none;
}

/* ---------- Product details card ----------
 * The one filled surface in the column: a gray panel that collects the
 * short-description bullets and the ACF spec rows behind a disclosure, each
 * row marked with its own line icon. */
.mcw-pd.mcw-pd .mcw-pd__card {
	padding: 24px;
	background: #fafafa;
}

.mcw-pd.mcw-pd .mcw-pd__card-heading {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.mcw-pd.mcw-pd .mcw-pd__card-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	text-align: left;
	cursor: pointer;
	color: #050101;
}

.mcw-pd.mcw-pd .mcw-pd__card-toggle:focus-visible {
	outline: 2px solid #000000;
	outline-offset: 4px;
}

.mcw-pd.mcw-pd .mcw-pd__card-chevron {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	color: #050101;
	/* Exported chevron points right; closed reads as "expand" (down). */
	transform: rotate(90deg);
	transition: transform 0.3s ease;
}

.mcw-pd.mcw-pd .mcw-pd__card.is-open .mcw-pd__card-chevron {
	transform: rotate(-90deg);
}

.mcw-pd.mcw-pd .mcw-pd__card-chevron svg {
	display: block;
	width: 8px;
	height: 13px;
}

.mcw-pd.mcw-pd .mcw-pd__card-body {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #e9eaeb;
}

.mcw-pd.mcw-pd .mcw-pd__card-body[hidden] {
	display: none;
}

.mcw-pd.mcw-pd .mcw-pd__row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
}

.mcw-pd.mcw-pd .mcw-pd__row-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	color: #717680;
}

.mcw-pd.mcw-pd .mcw-pd__row-icon svg {
	display: block;
	width: 24px;
	height: 24px;
}

.mcw-pd.mcw-pd .mcw-pd__row-text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1 1 0;
	min-width: 0;
}

/* Bulleted short description inside the card. */
.mcw-pd.mcw-pd .mcw-pd__row-text ul {
	list-style: disc;
	margin: 0;
	padding: 0 0 0 21px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mcw-pd.mcw-pd .mcw-pd__row-text ul li {
	margin: 0;
	padding: 0;
}

/* ---------- Editor placeholder (preview without product context) ---------- */
.mcw-pd.mcw-pd.mcw-pd--placeholder {
	padding: 40px;
	background: #f6f6f6;
	border: 1px dashed #d5d7da;
	text-align: center;
	font-family: "Mona Sans Expanded", "Mona Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 13px;
	color: #3b3e40;
}

/* ---------- Responsive: Mid desktop (1025–1499) — matches header.css ---------- */
@media screen and (min-width: 1025px) and (max-width: 1499px) {
	.mcw-pd.mcw-pd .mcw-pd__inner {
		padding: 0 32px;
		column-gap: 40px;
	}

	.mcw-pd.mcw-pd .mcw-pd__title {
		font-size: 40px;
	}

	.mcw-pd.mcw-pd .mcw-pd__price {
		font-size: 28px;
	}
}

/* ---------- Responsive: Tablet / Mobile (≤1024) — single column + Swiper gallery ----------
 * Below 1025px the layout matches the Figma tablet frame: stacked single
 * column with the gallery rebuilt as a Swiper (main slider + thumbnail strip).
 * product-details.js boots Swiper at exactly this breakpoint and destroys it
 * above, so these rules and the desktop collage never apply at once. */
@media screen and (max-width: 1024px) {
	.mcw-pd.mcw-pd .mcw-pd__inner {
		grid-template-columns: 1fr;
		padding: 40px 32px;
		row-gap: 49px;
	}

	/* Sticky info column doesn't make sense once stacked — it would just
	 * pin under the gallery while the user scrolls past. */
	.mcw-pd.mcw-pd.mcw-pd--sticky .mcw-pd__info {
		position: static;
	}

	/* ----- Gallery → Swiper ----- */
	.mcw-pd.mcw-pd .mcw-pd__gallery {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.mcw-pd.mcw-pd .mcw-pd__stage {
		width: 100%;
		overflow: hidden;
	}

	/* Hand the track back to Swiper's flex track — kill the desktop columns. */
	.mcw-pd.mcw-pd .mcw-pd__stage-track {
		display: flex;
		column-count: initial;
		column-gap: 0;
	}

	/* Show full image — no fixed aspect-ratio crop. Swiper runs autoHeight so
	 * the slider box tracks each slide's natural height. */
	.mcw-pd.mcw-pd .mcw-pd__cell {
		margin: 0;
		width: 100%;
		height: auto;
	}

	.mcw-pd.mcw-pd .mcw-pd__hero-link,
	.mcw-pd.mcw-pd .mcw-pd__slot-link {
		height: auto;
		cursor: zoom-in;
	}

	.mcw-pd.mcw-pd .mcw-pd__hero-img,
	.mcw-pd.mcw-pd .mcw-pd__slot-img {
		height: auto;
		object-fit: contain;
	}

	/* ----- Thumbnail strip ----- */
	.mcw-pd.mcw-pd .mcw-pd__thumbs {
		display: block;
		width: 100%;
		overflow: hidden;
	}

	/* Width is set by Swiper (slidesPerView: 4); aspect-ratio fixes height. */
	.mcw-pd.mcw-pd .mcw-pd__thumb {
		aspect-ratio: 161 / 120;
		min-height: 86px;
		background: #f2f2f2;
		overflow: hidden;
		cursor: pointer;
		opacity: 0.55;
		transition: opacity 0.25s ease;
	}

	.mcw-pd.mcw-pd .mcw-pd__thumb-img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.mcw-pd.mcw-pd .mcw-pd__thumbs .swiper-slide-thumb-active {
		opacity: 1;
	}

	/* ----- Typography: Figma tablet scale ----- */
	.mcw-pd.mcw-pd .mcw-pd__title {
		font-size: 40px;
		line-height: 52px;
	}

	.mcw-pd.mcw-pd .mcw-pd__price {
		font-size: 30px;
	}
}

/* ---------- Responsive: Small mobile (≤640) ---------- */
@media screen and (max-width: 640px) {
	.mcw-pd.mcw-pd .mcw-pd__inner {
		padding: 24px 16px;
		row-gap: 32px;
	}

	.mcw-pd.mcw-pd .mcw-pd__title {
		font-size: 32px;
		line-height: 42px;
	}

	.mcw-pd.mcw-pd .mcw-pd__price {
		font-size: 24px;
		line-height: 32px;
	}

	/* Buy row stacks: qty stepper on its own line, full-width CTA below. */
	.mcw-pd.mcw-pd .mcw-pd__buy {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.mcw-pd.mcw-pd .mcw-pd__qty {
		align-self: flex-start;
	}

	.mcw-pd.mcw-pd .mcw-pd__cta {
		width: 100%;
		padding: 16px;
		font-size: 13px;
	}

	.mcw-pd.mcw-pd .mcw-pd__cta-price {
		font-size: 16px;
		line-height: 24px;
	}

	/* Size chips: let six of them wrap into a tidy grid rather than a ragged
	 * two-per-row flex line. */
	.mcw-pd.mcw-pd .mcw-pd__chips--size .mcw-pd__chip {
		min-width: 64px;
		flex: 1 1 64px;
	}

	.mcw-pd.mcw-pd .mcw-pd__card {
		padding: 20px 16px;
	}
}

/* ---------- Lightbox (self-contained — appended to <body>) ----------
 * Lives outside .mcw-pd so it's unaffected by the widget's 100vw break-out.
 * High z-index sits above the fixed header. */
.mcw-pd-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(5, 1, 1, 0.92);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.mcw-pd-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s ease;
}

body.mcw-pd-lightbox-open {
	overflow: hidden;
}

.mcw-pd-lightbox__img {
	max-width: 90vw;
	max-height: 88vh;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
}

/* Specificity bumped (.mcw-pd-lightbox prefix + doubled class) and fully
 * reset so Elementor/theme `button` rules (background #000, color #000,
 * border-radius 0, padding) can't turn these into solid black squares. */
.mcw-pd-lightbox .mcw-pd-lightbox__close.mcw-pd-lightbox__close,
.mcw-pd-lightbox .mcw-pd-lightbox__nav.mcw-pd-lightbox__nav {
	position: absolute;
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	background: rgba(255, 255, 255, 0.12);
	background-image: none;
	color: #ffffff;
	border: 0;
	box-shadow: none;
	border-radius: 50%;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.mcw-pd-lightbox .mcw-pd-lightbox__close.mcw-pd-lightbox__close:hover,
.mcw-pd-lightbox .mcw-pd-lightbox__nav.mcw-pd-lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.26);
	color: #ffffff;
}

.mcw-pd-lightbox .mcw-pd-lightbox__close.mcw-pd-lightbox__close:focus-visible,
.mcw-pd-lightbox .mcw-pd-lightbox__nav.mcw-pd-lightbox__nav:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.mcw-pd-lightbox .mcw-pd-lightbox__close.mcw-pd-lightbox__close {
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
}

.mcw-pd-lightbox .mcw-pd-lightbox__close svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	fill: none;
}

.mcw-pd-lightbox .mcw-pd-lightbox__nav.mcw-pd-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
}

.mcw-pd-lightbox .mcw-pd-lightbox__nav svg {
	width: 26px;
	height: 26px;
	stroke: currentColor;
	fill: none;
}

.mcw-pd-lightbox .mcw-pd-lightbox__nav--prev {
	left: 20px;
}

.mcw-pd-lightbox .mcw-pd-lightbox__nav--next {
	right: 20px;
}

.mcw-pd-lightbox__counter {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	color: #ffffff;
	font-family: "Mona Sans Expanded", "Mona Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 13px;
	letter-spacing: 1.5px;
	opacity: 0.8;
}

@media screen and (max-width: 640px) {
	.mcw-pd-lightbox .mcw-pd-lightbox__nav.mcw-pd-lightbox__nav {
		width: 42px;
		height: 42px;
	}

	.mcw-pd-lightbox .mcw-pd-lightbox__nav--prev {
		left: 10px;
	}

	.mcw-pd-lightbox .mcw-pd-lightbox__nav--next {
		right: 10px;
	}

	.mcw-pd-lightbox .mcw-pd-lightbox__img {
		max-width: 94vw;
	}
}
