/* ==========================================================================
   6ixmerchandise — product detail page
   Measurements come from docs/frontend/FRONTEND_ARCHITECTURE.md §4 and the
   live computed styles in docs/frontend/computed-product.json. Nothing here
   is invented.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared primitives the PDP leans on (buttons and chips). FE-1 owns the
   canonical versions in base.css; these are scoped defaults so the PDP is
   never unstyled if it renders first.
   -------------------------------------------------------------------------- */

/* `.s6m-btn` and `.s6m-chip` are FE-1's shared primitives in base.css. Only
   the PDP-specific sizes and tones are declared here. */

.s6m-pdp .s6m-btn--lg {
	padding: 17px 24px;
	font-size: 14px;
}

.s6m-pdp .s6m-btn--sm {
	min-height: 0;
	padding: 9px 14px;
	font-size: 11px;
}

.s6m-chip {
	gap: 5px;
	background: #fff;
	color: var(--6m-ink);
	white-space: nowrap;
}

.s6m-chip--signal {
	border-color: rgba(192, 43, 48, 0.2);
	background: var(--6m-signal-soft);
	color: var(--6m-signal);
}

.s6m-chip--pulse::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--6m-signal);
	animation: s6m-pulse 1.6s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

/*
 * The wrapper keeps wc_product_class()'s classes, because plugins look for
 * `.product` + the post id there — but it carries no layout. Kadence stamps
 * `entry content-bg entry-content-wrap` onto the same element and its
 * `.content-style-unboxed .entry-content-wrap.product:not(.loop-entry)` zeroes
 * the padding at (0,4,0); an inner container is cheaper than out-bidding it.
 */
.s6m-pdp.product {
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
}

.s6m-pdp__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 16px 18px 24px;
}

@media (min-width: 768px) {
	.s6m-pdp__inner {
		padding: 24px 48px 40px;
	}
}

/*
 * `[hidden]` is (0,1,0) and loses to any class rule that sets display — every
 * chip, price-was and save badge here. Without this the empty placeholders
 * render as bare outlined boxes over the gallery.
 */
.s6m-pdp [hidden],
.sticky-atc [hidden],
.s6m-bag [hidden] {
	display: none !important;
}

.s6m-pdp__grid {
	display: grid;
	gap: 16px;
}

/* min-width:0 stops min-content blowout collapsing the gallery to a few px. */
.s6m-pdp__grid > * {
	min-width: 0;
}

@media (min-width: 768px) {
	.s6m-pdp__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 48px;
		align-items: flex-start;
	}
}

/* --------------------------------------------------------------------------
   Gallery — a cross-fade stack. The PDP never crops: object-fit is contain.
   -------------------------------------------------------------------------- */

.s6m-pdp__main {
	position: relative;
	aspect-ratio: 4 / 5;
	max-width: 100%;
	background: #fff;
	overflow: hidden;
	touch-action: pan-y;
}

.s6m-pdp__main-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.3s;
}

.s6m-pdp__main-slide.is-active {
	opacity: 1;
}

.s6m-pdp__main-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.s6m-pdp__chip-tl {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
}

.s6m-pdp__chip-tr {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	border-color: rgba(192, 43, 48, 0.2);
	background: rgba(255, 255, 255, 0.95);
	color: var(--6m-signal);
}

.s6m-pdp__dots {
	position: absolute;
	right: 0;
	bottom: 12px;
	left: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.s6m-pdp__dot {
	width: 6px;
	height: 3px;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition: width 0.25s, background 0.25s;
}

.s6m-pdp__dot.is-active {
	width: 18px;
	background: var(--6m-ink);
}

.s6m-pdp__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--6m-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.88);
	color: var(--6m-ink);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background 0.2s, transform 0.2s;
}

.s6m-pdp__nav:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.06);
}

.s6m-pdp__nav--prev {
	left: 10px;
}

.s6m-pdp__nav--next {
	right: 14px;
}

@media (min-width: 768px) {
	.s6m-pdp__nav {
		width: 40px;
		height: 40px;
		font-size: 22px;
	}

	.s6m-pdp__nav--prev {
		left: 14px;
	}

	.s6m-pdp__nav--next {
		right: 14px;
	}
}

.s6m-pdp__thumbs {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 72px;
	justify-content: start;
	gap: 6px;
	margin-top: 6px;
	background: transparent;
}

@media (min-width: 768px) {
	.s6m-pdp__thumbs {
		grid-auto-columns: 96px;
		gap: 8px;
		margin-top: 8px;
	}
}

.s6m-pdp__thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 1px solid var(--6m-line);
	background: #fff;
	overflow: hidden;
	cursor: pointer;
}

.s6m-pdp__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.s6m-pdp__thumb.is-active::after {
	content: '';
	position: absolute;
	inset: 0;
	border: 2px solid var(--6m-ink);
}

/* --------------------------------------------------------------------------
   Buy box
   -------------------------------------------------------------------------- */

.s6m-pdp__buy {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.s6m-pdp__eyebrow {
	color: var(--6m-signal);
	font-family: var(--6m-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
}

.s6m-pdp__title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.s6m-pdp__title {
	margin: 0;
	color: var(--6m-ink);
	font-family: var(--6m-sans);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.s6m-pdp__title {
		font-size: 34px;
	}
}

.s6m-pdp__wish {
	display: inline-flex;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--6m-line);
	border-radius: 50%;
	background: #fff;
	color: var(--6m-ink);
	cursor: pointer;
}

.s6m-pdp__wish svg {
	width: 20px;
	height: 20px;
}

/* Price ------------------------------------------------------------------ */

.s6m-pdp__price-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
}

.s6m-pdp__price-now {
	color: var(--6m-ink);
	font-size: 26px;
	font-weight: 700;
}

@media (min-width: 768px) {
	.s6m-pdp__price-now {
		font-size: 32px;
	}
}

.s6m-pdp__price-row .price-was {
	color: var(--6m-muted);
	font-family: var(--6m-mono);
	font-size: 16px;
	text-decoration: line-through;
}

.s6m-pdp__bnpl:empty {
	display: none;
}

/* Scarcity --------------------------------------------------------------- */

.s6m-pdp__scarcity {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin: 0;
	padding: 9px 12px;
	background: var(--6m-signal-soft);
	color: var(--6m-ink);
	font-size: 13px;
}

.s6m-pdp__scarcity-pulse {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--6m-signal);
	animation: s6m-pulse 1.6s ease-in-out infinite;
}

@keyframes s6m-pulse {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.25;
	}
}

/* Option rows ------------------------------------------------------------ */

.s6m-pdp__opt {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.s6m-pdp__opt-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.s6m-pdp__opt-label,
.s6m-pdp__opt-current {
	color: var(--6m-ink);
	font-family: var(--6m-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.s6m-pdp__opt-sep {
	color: var(--6m-muted-2);
}

.s6m-pdp__opt-current {
	color: var(--6m-muted);
}

.s6m-pdp__size-guide {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-family: var(--6m-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-decoration: underline;
	text-transform: uppercase;
	cursor: pointer;
}

/* Colour swatches — 36px SQUARE with an offset outline when selected. */

.s6m-pdp__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.s6m-pdp__swatch {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(10, 10, 10, 0.35);
	border-radius: var(--6m-swatch-radius, 0);
	cursor: pointer;
	transition: box-shadow 0.15s;
}

.s6m-pdp__swatch.is-active {
	border: 1px solid rgba(10, 10, 10, 0.35);
	outline: 2px solid var(--6m-ink);
	outline-offset: 3px;
}

/* Size pills — never a dropdown. */

.s6m-pdp__sizes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
	gap: 6px;
}

@media (min-width: 768px) {
	.s6m-pdp__sizes {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

.s6m-pdp__sizes--needs {
	border-radius: 4px;
	outline: 2px solid var(--6m-signal);
	outline-offset: 6px;
	animation: s6m-needsize 0.45s ease-in-out 0s 2;
}

@keyframes s6m-needsize {
	0%,
	100% {
		outline-color: var(--6m-signal);
	}

	50% {
		outline-color: transparent;
	}
}

.s6m-pdp__size {
	position: relative;
	padding: 12px 4px;
	border: 1px solid var(--6m-line);
	/*
	 * Square, not rounded (§1.8: "Live PDP (build this): pill, radius 0").
	 * Kadence's global inline CSS sets `button { border-radius: 14px }` at
	 * (0,0,1); this class wins at (0,1,0) wherever the two both apply, so the
	 * declaration has to live here rather than rely on base.css's button reset,
	 * which never names this selector.
	 */
	border-radius: 0;
	background: #fff;
	color: var(--6m-ink);
	font-family: var(--6m-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border 0.15s;
}

.s6m-pdp__size.is-active {
	border: 2px solid var(--6m-ink);
	background: var(--6m-ink);
	padding: 11px 0;
	color: #fff;
}

.s6m-pdp__size.is-unavailable {
	opacity: 0.35;
	text-decoration: line-through;
	cursor: not-allowed;
}

.s6m-pdp__size-dot {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--6m-signal);
}

/* Option groups (Style) -------------------------------------------------- */

.options-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.options-group.is-needs {
	border-radius: 4px;
	outline: 2px solid var(--6m-signal);
	outline-offset: 6px;
}

.options-group__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.options-group__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.options-group__option {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	gap: 8px;
	padding: 0.5rem 0.8rem;
	border: 1px solid var(--6m-line);
	border-radius: var(--style-border-radius-inputs, 4px);
	background: #fff;
	color: var(--6m-ink);
	font-size: 13px;
	cursor: pointer;
}

.options-group__option.is-selected {
	border-color: var(--6m-ink);
	box-shadow: inset 0 0 0 1px var(--6m-ink);
}

.options-group__swatch {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	border-radius: 50%;
	background: var(--swatch, var(--6m-line));
	background-size: cover;
}

/* Add to cart ------------------------------------------------------------ */

.s6m-pdp__atc-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
	margin-top: 4px;
}

.s6m-pdp__qty {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	border: 1px solid var(--6m-line);
	background: #fff;
}

.s6m-pdp__qty button {
	width: 36px;
	height: 100%;
	border: 0;
	background: none;
	color: var(--6m-ink);
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
}

.s6m-pdp__qty input {
	/*
	 * Kadence styles bare form controls with `--global-palette5: #787878`,
	 * which is 4.41:1 on white — the last color-contrast failure on the PDP
	 * (REVIEW_3 item 6). Typed input should be ink anyway; a quantity the
	 * shopper is editing has no business being the quietest text on the page.
	 */
	color: var(--6m-ink);
	width: 40px;
	height: 100%;
	border: 0;
	background: none;
	font-family: var(--6m-mono);
	font-size: 14px;
	text-align: center;
	appearance: textfield;
	-moz-appearance: textfield;
}

.s6m-pdp__qty input::-webkit-outer-spin-button,
.s6m-pdp__qty input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.s6m-pdp__atc {
	flex: 1;
}

.s6m-pdp__atc[disabled] {
	border-color: #a8a8a8;
	background: #a8a8a8;
	opacity: 1;
	cursor: not-allowed;
	transform: none !important;
}

.s6m-pdp__atc-arrow {
	font-weight: 400;
}

.s6m-pdp__atc-note {
	margin: 8px 0 0;
	color: var(--6m-signal);
	font-size: 12px;
	line-height: 1.4;
}

.s6m-pdp__wallets:empty {
	display: none;
}

/* Delivery estimate strip ------------------------------------------------ */

.s6m-pdp__track {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--6m-line);
}

.s6m-pdp__track-step {
	display: flex;
	flex: 0 0 auto;
	max-width: 96px;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}

.s6m-pdp__track-ico {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--6m-line);
	border-radius: 50%;
	color: var(--6m-ink);
}

.s6m-pdp__track-ico svg {
	width: 20px;
	height: 20px;
}

.s6m-pdp__track-step.is-done .s6m-pdp__track-ico {
	border-color: var(--6m-ink);
	background: var(--6m-ink);
	color: #fff;
}

.s6m-pdp__track-label {
	color: var(--6m-ink);
	font-family: var(--6m-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.s6m-pdp__track-date {
	color: #6a6a6a;
	font-size: 12px;
}

.s6m-pdp__track-line {
	min-width: 10px;
	height: 1px;
	flex: 1 1 auto;
	margin-top: 20px;
	background: var(--6m-line);
}

/* Ticker ----------------------------------------------------------------- */

.s6m-pdp__ticker {
	position: relative;
	display: flex;
	height: 36px;
	align-items: center;
	margin-top: 6px;
	background: var(--6m-ink);
	color: #fff;
	overflow: hidden;
}

.s6m-pdp__ticker-track {
	display: flex;
	align-items: center;
	gap: 18px;
	white-space: nowrap;
	animation: s6m-pdp-ticker 28s linear infinite;
	will-change: transform;
}

.s6m-pdp__ticker:hover .s6m-pdp__ticker-track {
	animation-play-state: paused;
}

.s6m-pdp__ticker-item {
	flex-shrink: 0;
	font-family: var(--6m-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.s6m-pdp__ticker-dot {
	flex-shrink: 0;
	color: var(--6m-signal);
	font-size: 8px;
}

@keyframes s6m-pdp-ticker {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

/* --------------------------------------------------------------------------
   Trust 4-up
   -------------------------------------------------------------------------- */

.s6m-trust {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.s6m-trust {
		grid-template-columns: repeat(4, 1fr);
	}
}

.s6m-trust__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid var(--6m-line);
	background: #fff;
}

.s6m-trust__ico {
	flex: 0 0 28px;
	color: var(--6m-signal);
}

.s6m-trust__ico svg {
	width: 28px;
	height: 28px;
}

.s6m-trust__text {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.s6m-trust__title {
	font-family: var(--6m-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.s6m-trust__sub {
	color: var(--6m-muted);
	font-size: 12px;
}

/* --------------------------------------------------------------------------
   Tabs
   -------------------------------------------------------------------------- */

.s6m-tabs {
	margin-top: 32px;
}

.s6m-tabs__list {
	display: flex;
	gap: 28px;
	border-bottom: 1px solid var(--6m-line);
	overflow-x: auto;
}

@media (min-width: 768px) {
	.s6m-tabs__list {
		gap: 36px;
	}
}

.s6m-tabs__tab {
	padding: 0 0 10px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	color: var(--6m-muted);
	font-family: var(--6m-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	white-space: nowrap;
	cursor: pointer;
}

.s6m-tabs__tab.is-active {
	border-bottom-color: var(--6m-ink);
	color: var(--6m-ink);
}

/* Hard-hidden so third-party CSS cannot reserve phantom height. */
.s6m-tabs__panel[hidden] {
	display: none !important;
}

.s6m-tabs__panel {
	padding: 18px 0 0;
	font-size: 14px;
	line-height: 1.65;
}

.s6m-tabs__panel ul {
	margin: 10px 0 0;
	padding-left: 18px;
}

/* --------------------------------------------------------------------------
   Description + reviews
   -------------------------------------------------------------------------- */

.s6m-pdp__description {
	margin-top: 36px;
	font-size: 14px;
	line-height: 1.65;
}

.s6m-pdp__section-title,
.pdp-reviews__title {
	margin: 0 0 14px;
	font-family: var(--6m-display);
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.s6m-pdp__section-title,
	.pdp-reviews__title {
		font-size: 28px;
	}
}

.pdp-reviews {
	margin: 40px -18px 0;
	padding: 28px 18px;
	background: var(--6m-bg-2);
}

@media (min-width: 768px) {
	.pdp-reviews {
		margin: 48px -48px 0;
		padding: 36px 48px;
	}
}

.pdp-reviews__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.pdp-reviews__write {
	color: var(--6m-ink);
	font-family: var(--6m-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.pdp-reviews__empty {
	color: var(--6m-muted);
	font-size: 14px;
}

#reviews:not(:empty) ~ .pdp-reviews__empty {
	display: none;
}

/* --------------------------------------------------------------------------
   Related carousel
   -------------------------------------------------------------------------- */

.s6m-related {
	position: relative;
	margin-top: 48px;
}

.s6m-related__title {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 700;
}

.s6m-related__viewport {
	/*
	 * The rail scrolls edge to edge, so it needs its own inline padding —
	 * without it the last card sits flush against the viewport's right edge and
	 * reads as clipped (REVIEW_2 §5 Product row 14). Negative margins pull the
	 * padding back out to the section's gutter so the first card still lines up
	 * with the heading above it.
	 */
	margin-inline: -18px;
	padding-inline: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	scroll-padding-inline-start: 18px;
}

@media (min-width: 768px) {
	.s6m-related__viewport {
		margin-inline: 0;
		padding-inline: 0;
		scroll-padding-inline-start: 0;
	}
}

.s6m-related__viewport::-webkit-scrollbar {
	display: none;
}

.s6m-related__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(46%, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.s6m-related__track {
		grid-auto-columns: minmax(23%, 1fr);
	}
}

.s6m-related__track > li {
	scroll-snap-align: start;
	list-style: none;
}

.s6m-related__nav {
	position: absolute;
	top: 50%;
	display: none;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--6m-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--6m-ink);
	font-size: 22px;
	cursor: pointer;
}

.s6m-related.has-nav .s6m-related__nav {
	display: flex;
}

.s6m-related__nav--prev {
	left: -8px;
}

.s6m-related__nav--next {
	right: -8px;
}

/* --------------------------------------------------------------------------
   Product meta
   -------------------------------------------------------------------------- */

.s6m-pdp__meta {
	margin-top: 28px;
	color: var(--6m-muted);
	font-size: 12px;
}

.s6m-pdp__meta a {
	color: inherit;
}

/* --------------------------------------------------------------------------
   Size-guide modal
   -------------------------------------------------------------------------- */

.s6m-sg {
	position: fixed;
	z-index: 9999;
	inset: 0;
}

.s6m-sg[hidden] {
	display: none !important;
}

.s6m-sg__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(2px);
}

.s6m-sg__dialog {
	position: relative;
	max-width: 560px;
	max-height: 88vh;
	margin: 6vh auto 0;
	padding: 34px 30px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: #0d0d0d;
	color: #fff;
	overflow-y: auto;
}

/* Qualified: the shared button reset paints a filled signal background. */
.s6m-sg .s6m-sg__close {
	position: absolute;
	top: 10px;
	right: 14px;
	min-height: 0;
	padding: 4px 8px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.s6m-sg .s6m-sg__close:hover {
	background: transparent;
	color: var(--6m-signal);
}

.s6m-sg__eyebrow {
	margin: 0 0 6px;
	color: var(--6m-signal);
	font-family: var(--6m-mono);
	font-size: 10px;
	letter-spacing: 0.16em;
}

.s6m-sg__title {
	margin: 0 0 18px;
	font-family: var(--6m-display);
	font-size: 24px;
	font-weight: 400;
	text-transform: uppercase;
}

.s6m-sg__scroll {
	overflow-x: auto;
}

.s6m-sg__table {
	min-width: 420px;
	width: 100%;
	border-collapse: collapse;
	font-family: var(--6m-mono);
	font-size: 12px;
}

.s6m-sg__table th,
.s6m-sg__table td {
	padding: 9px 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
}

.s6m-sg__table th[scope='row'] {
	text-align: left;
	white-space: nowrap;
}

.s6m-sg__notes {
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	line-height: 1.6;
}

.s6m-sg__how {
	margin-top: 14px;
	color: #fff;
	font-family: var(--6m-mono);
	font-size: 10px;
	letter-spacing: 0.16em;
}

/* --------------------------------------------------------------------------
   Sticky add-to-cart — phones only.
   -------------------------------------------------------------------------- */

.sticky-atc {
	display: none;
}

@media (max-width: 767px) {
	.sticky-atc {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 12px 14px 18px;
		border-top: 1px solid var(--6m-line);
		background: #fff;
		box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
		transform: translateY(100%);
		transition: transform 0.3s;
	}

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

.sticky-atc__price {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	line-height: 1.2;
}

.sticky-atc__price .eyebrow {
	color: var(--6m-muted);
	font-family: var(--6m-mono);
	font-size: 9px;
	letter-spacing: 0.14em;
}

.sticky-atc__price .price-was {
	color: var(--6m-muted);
	font-size: 12px;
	text-decoration: line-through;
}

.sticky-atc .s6m-btn {
	display: inline-flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	padding: 15px 18px;
	border: 1px solid var(--6m-ink);
	background: var(--6m-ink);
	color: #fff;
	font-family: var(--6m-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.s6m-pdp__ticker-track,
	.s6m-pdp__scarcity-pulse {
		animation: none;
	}

	.s6m-pdp__main-slide,
	.s6m-pdp__nav,
	.sticky-atc {
		transition: none;
	}

	.s6m-pdp__nav:hover {
		transform: translateY(-50%);
	}
}

@media screen and (forced-colors: active) {
	.s6m-pdp__swatch,
	.s6m-pdp__size {
		forced-color-adjust: none;
	}
}

/* PRESS PLAY (§7.5, REVIEW_2 M-6) ---------------------------------------
   Ported from the live section's own CSS. The skeleton reserves the exact
   152px the Spotify iframe takes, so swapping the embed in costs no layout
   shift (§7.2 CLS budget). */

.s6m-pressplay {
	padding: 22px 0 4px;
}

.s6m-pressplay__inner {
	background: #0b0b0b;
	border: 1px solid #1e1e1e;
	padding: 16px 14px 14px;
}

.s6m-pressplay__label {
	display: block;
	margin-bottom: 12px;
	color: rgb(255 255 255 / 0.55);
}

.s6m-pressplay__slot {
	min-height: 152px;
}

.s6m-pressplay__skeleton {
	height: 152px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--6m-line);
	border-radius: 12px;
	background: var(--6m-bg-2, #f5f5f4);
	font-family: var(--6m-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--6m-muted);
}

.s6m-pressplay__frame {
	display: block;
	border: 0;
	border-radius: 10px;
}

.s6m-pressplay__tribute {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #1e1e1e;
}

.s6m-pressplay__tribute-label {
	display: block;
	margin-bottom: 8px;
	color: var(--6m-signal);
}

.s6m-pressplay__tribute-text {
	margin: 0;
	max-width: 620px;
	color: rgb(255 255 255 / 0.82);
	font-size: 14px;
	line-height: 1.55;
}

/* Sticky add-to-bag before a size is chosen: same bar, honest label, muted
   fill; the tap still scrolls to the size matrix (pdp.js). */
.sticky-atc.needs-size [data-trigger-atc] {
	background: #444;
	color: #fff;
}
