/**
 * Casa Noce section patterns.
 *
 * Measurements track the design export's 1440 desktop frame and 390 mobile
 * frame. Anything between the two interpolates.
 */

:root {
	--cn-sand: #E3CFA8;
}

/* ============================================================ hero ==== */

.cn-hero {
	position: relative;
	/* The header overlays the video (see header.css), so only the announcement
	   bar (38px) sits above the hero. Fill exactly the rest of the landing
	   screen; the next section then begins right at the fold. */
	height: calc(100vh - 38px);
	min-height: 480px;
	overflow: hidden;
	background: var(--wp--preset--color--oat-shade);
}

/* Slide the video up beneath the transparent, pinned header so the bar floats
   over the footage. The offset matches the header bar's height per breakpoint. */
body:has(.cn-hero) #cn-main {
	margin-top: -76px;
}

.cn-hero__media {
	position: absolute;
	inset: 0;
}

/* Background video fills its section; the poster shows first, then the clip
   fades in once ui.js attaches the source that fits the viewport. */
.cn-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--wp--preset--color--oat-shade);
}

.cn-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(41, 36, 32, 0) 40%, rgba(41, 36, 32, 0.45) 100%);
	pointer-events: none;
}

.cn-hero__body {
	position: absolute;
	left: var(--cn-gutter);
	right: var(--cn-gutter);
	bottom: 64px;
	max-width: 760px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: var(--wp--preset--color--cream);
	pointer-events: none;
}

.cn-hero__body > * {
	pointer-events: auto;
}

.cn-hero__title {
	margin: 0 0 16px;
	color: inherit;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(36px, 4.17vw, 60px);
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.08;
	text-wrap: pretty;
}

.cn-hero__sub {
	margin: 0 0 28px;
	font-size: clamp(15px, 1.25vw, 18px);
	line-height: 1.5;
	opacity: 0.92;
}

@media (max-width: 1023px) {
	.cn-hero {
		height: 560px;
	}

	body:has(.cn-hero) #cn-main {
		margin-top: -60px;
	}

	.cn-hero__body {
		bottom: 32px;
		max-width: none;
	}

	.cn-hero__scrim {
		background: linear-gradient(180deg, rgba(41, 36, 32, 0) 35%, rgba(41, 36, 32, 0.5) 100%);
	}

	.cn-hero__sub {
		margin-bottom: 20px;
	}

	.cn-hero .wp-block-button,
	.cn-hero .wp-block-button__link {
		display: block;
		width: 100%;
		text-align: center;
	}
}

/* ============================================= the casanoce promise ==== */

/* One centred line, then the three materials the catalogue is built from.
   Type only, no icons: in this tier icons read cheaper than plain type. Ivory
   lifts it a shade off the oat body so it still reads as its own beat without
   going dark. */
.cn-promise {
	padding: clamp(84px, 10vw, 152px) var(--cn-gutter);
	background: var(--wp--preset--color--ivory);
	text-align: center;
}

.cn-promise__inner {
	max-width: 1040px;
	margin: 0 auto;
}

.cn-promise__statement {
	max-width: 18ch;
	margin: 0 auto;
	color: var(--wp--preset--color--warm-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(30px, 4vw, 58px);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.14;
	text-wrap: balance;
}

.cn-promise__statement em {
	font-style: italic;
}

/* The three materials: separated by hairlines rather than boxed into cards. */
.cn-promise__materials {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	margin: clamp(48px, 5.5vw, 80px) 0 0;
	padding: 0;
	border-top: var(--cn-rule);
	list-style: none;
}

/* Matching top and bottom padding so the dividing rules extend past the notes
   rather than stopping dead on the last baseline. */
.cn-promise__material {
	padding: clamp(28px, 3vw, 40px) clamp(16px, 2.5vw, 36px);
}

.cn-promise__material + .cn-promise__material {
	border-left: var(--cn-rule);
}

.cn-promise__material-name {
	margin: 0 0 10px;
	color: var(--wp--preset--color--warm-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(19px, 1.8vw, 25px);
	font-weight: 400;
	line-height: 1.2;
}

.cn-promise__material-note {
	max-width: 24ch;
	margin: 0 auto;
	color: var(--wp--preset--color--ink-soft);
	font-size: clamp(14px, 1.05vw, 15.5px);
	line-height: 1.6;
	text-wrap: pretty;
}

@media (max-width: 767px) {
	/* Three columns would leave two words per line at this width. */
	.cn-promise__materials {
		grid-template-columns: 1fr;
	}

	.cn-promise__material {
		padding: 26px 0;
	}

	.cn-promise__material + .cn-promise__material {
		border-top: var(--cn-rule);
		border-left: 0;
	}
}

/* ------------------------------------------------- staggered reveal ---- */

/* Visible is the default, so this renders with no JavaScript, on a hidden tab
   or in a headless render. initReveal() adds .is-armed only once it can drive
   the effect, and only then do the items start offset. */
[data-cn-reveal].is-armed [data-cn-reveal-item] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: calc(var(--cn-reveal-i, 0) * 90ms);
}

[data-cn-reveal].is-armed.is-in [data-cn-reveal-item] {
	opacity: 1;
	transform: none;
}

/* ======================================================= best sellers === */

.cn-bestsellers {
	padding-block: clamp(64px, 7vw, 104px) clamp(56px, 6vw, 88px);
}

.cn-bestsellers__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding-inline: var(--cn-gutter);
	margin-bottom: clamp(28px, 3vw, 44px);
}

.cn-bestsellers__title {
	margin: 0;
	color: var(--wp--preset--color--warm-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 400;
	letter-spacing: -0.015em;
	line-height: 1.12;
}

.cn-bestsellers__lead {
	max-width: 46ch;
	margin: 12px 0 0;
	color: var(--wp--preset--color--ink-muted);
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 1.6;
}

.cn-bestsellers__viewall {
	flex: 0 0 auto;
	padding-bottom: 3px;
	border-bottom: 1px solid var(--cn-hairline);
	color: var(--wp--preset--color--warm-ink);
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--cn-ease), border-color var(--cn-ease);
}

.cn-bestsellers__viewall:hover,
.cn-bestsellers__viewall:focus-visible {
	color: var(--wp--preset--color--honey-brass);
	border-color: var(--wp--preset--color--honey-brass);
}

@media (max-width: 767px) {
	.cn-bestsellers__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}

/* ====================================================== product rail === */

.cn-rail {
	position: relative;
}

.cn-rail__track {
	display: flex;
	gap: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.cn-rail__track::-webkit-scrollbar {
	display: none;
}

.cn-rail__item {
	flex: 0 0 480px;
	scroll-snap-align: start;
}

.cn-rail__figure {
	position: relative;
	height: 480px;
	background: var(--wp--preset--color--oat-shade);
	overflow: hidden;
}

/* The rank sits beside the name rather than on the image: the figure's three
   corners already carry the stock tag, the save heart and Quick view. */
.cn-rail__body {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px 30px;
}

.cn-rail__rank {
	flex: 0 0 auto;
	padding-top: 1px;
	/* brass-deep, not honey-brass: honey-brass lands at 2.98:1 on oat, just
	   under the 3:1 large-text floor. */
	color: var(--wp--preset--color--brass-deep);
	font-family: var(--wp--preset--font-family--display);
	font-size: 24px;
	font-variant-numeric: tabular-nums;
	line-height: 1.15;
}

.cn-rail__meta {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

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

.cn-rail__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
}

.cn-rail__price {
	font-size: 16px;
	white-space: nowrap;
}

.cn-rail__mat {
	color: var(--wp--preset--color--ink-muted);
	font-size: 13.5px;
}

/* Rail navigation buttons. */
.cn-rail__nav {
	position: absolute;
	top: 217px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--wp--preset--color--warm-ink);
	border-radius: 50%;
	background: rgba(237, 228, 211, 0.92);
	color: var(--wp--preset--color--warm-ink);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background var(--cn-ease), color var(--cn-ease);
}

.cn-rail__nav:hover {
	background: var(--wp--preset--color--warm-ink);
	color: var(--wp--preset--color--oat);
}

.cn-rail__nav[disabled] {
	opacity: 0.35;
	cursor: default;
}

.cn-rail__nav--prev {
	left: 20px;
}

.cn-rail__nav--next {
	right: 20px;
}

/* Card overlays: stock tag, wishlist, quick view. */
.cn-tag {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	padding: 6px 10px;
	background: var(--wp--preset--color--muted-olive);
	color: var(--wp--preset--color--cream);
	font-size: 11px;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
	pointer-events: none;
}

.cn-tag--low {
	background: var(--wp--preset--color--honey-brass);
}

.cn-tag--out {
	background: var(--wp--preset--color--ink-muted);
}

.cn-wish {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: none;
	border-radius: 50%;
	background: rgba(237, 228, 211, 0.9);
	cursor: pointer;
	transition: background var(--cn-ease);
}

.cn-wish:hover {
	background: var(--wp--preset--color--oat);
}

.cn-wish svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--wp--preset--color--warm-ink);
	stroke-width: 1.6;
}

.cn-wish[aria-pressed="true"] svg {
	fill: var(--wp--preset--color--honey-brass);
	stroke: var(--wp--preset--color--honey-brass);
}

/* On pointer devices the save heart stays out of the way until you hover or
   tab into the card; a saved piece keeps its heart lit. Touch devices (no
   hover) leave it visible so it is always reachable. */
@media (hover: hover) {
	.cn-rail__figure .cn-wish {
		opacity: 0;
		transform: translateY(-2px);
		transition: opacity var(--cn-ease), transform var(--cn-ease), background var(--cn-ease);
	}

	.cn-rail__item:hover .cn-wish,
	.cn-rail__item:focus-within .cn-wish,
	.cn-rail__figure .cn-wish:focus-visible,
	.cn-rail__figure .cn-wish[aria-pressed="true"] {
		opacity: 1;
		transform: none;
	}
}

.cn-quickview {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	height: 44px;
	border: none;
	background: rgba(41, 36, 32, 0.85);
	color: var(--wp--preset--color--oat);
	font-family: var(--wp--preset--font-family--body);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--cn-ease);
}

.cn-quickview:hover {
	background: var(--wp--preset--color--warm-ink);
}

/* Colour swatch dots. */
.cn-swatches {
	display: flex;
	gap: 8px;
	margin-top: 6px;
}

.cn-swatch {
	width: 16px;
	height: 16px;
	border: 1px solid var(--cn-hairline);
	border-radius: 50%;
}

@media (max-width: 1023px) {
	.cn-rail__item {
		flex-basis: 312px;
	}

	.cn-rail__figure {
		height: 340px;
	}

	.cn-rail__body {
		gap: 11px;
		padding: 14px 16px 26px;
	}

	.cn-rail__meta {
		gap: 5px;
	}

	.cn-rail__rank {
		font-size: 19px;
	}

	.cn-rail__name {
		font-size: 17px;
	}

	.cn-rail__price {
		font-size: 14.5px;
	}

	.cn-rail__mat {
		font-size: 12.5px;
	}

	.cn-rail__nav {
		top: 148px;
		width: 44px;
		height: 44px;
		font-size: 16px;
	}

	.cn-rail__nav--prev {
		left: 12px;
	}

	.cn-rail__nav--next {
		right: 12px;
	}

	.cn-quickview {
		display: none;
	}

	.cn-tag {
		top: 12px;
		left: 12px;
		padding: 5px 8px;
		font-size: 10px;
	}

	.cn-wish {
		top: 10px;
		right: 10px;
	}

	.cn-swatch {
		width: 14px;
		height: 14px;
	}

	.cn-swatches {
		gap: 7px;
		margin-top: 4px;
	}
}

/* ==================================================== featured band ==== */

.cn-band {
	position: relative;
	height: 600px;
	overflow: hidden;
	background: var(--wp--preset--color--oat-shade);
}

.cn-band__media {
	position: absolute;
	inset: 0;
}

.cn-band__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(41, 36, 32, 0.5) 0%, rgba(41, 36, 32, 0) 60%);
	pointer-events: none;
}

.cn-band__body {
	position: absolute;
	left: var(--cn-gutter);
	top: 50%;
	transform: translateY(-50%);
	max-width: 520px;
	color: var(--wp--preset--color--cream);
}

.cn-band__eyebrow {
	margin-bottom: 16px;
	color: var(--cn-sand);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.cn-band__title {
	margin: 0 0 24px;
	color: inherit;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(32px, 3.61vw, 52px);
	font-weight: 400;
	line-height: 1.1;
}

.cn-band__link {
	display: inline-block;
	padding-bottom: 6px;
	border-bottom: 1.5px solid var(--wp--preset--color--honey-brass);
	color: var(--wp--preset--color--cream);
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.cn-band__link:hover {
	color: var(--cn-sand);
}

@media (max-width: 1023px) {
	.cn-band {
		height: 460px;
	}

	.cn-band__scrim {
		background: linear-gradient(180deg, rgba(41, 36, 32, 0) 30%, rgba(41, 36, 32, 0.55) 100%);
	}

	.cn-band__body {
		top: auto;
		bottom: 32px;
		right: var(--cn-gutter);
		transform: none;
		max-width: none;
	}

	.cn-band__eyebrow {
		margin-bottom: 10px;
		font-size: 11px;
	}

	.cn-band__title {
		margin-bottom: 16px;
		line-height: 1.12;
	}

	.cn-band__link {
		font-size: 13px;
		padding-bottom: 5px;
	}
}

/* ==================================================== shop by room ===== */

.cn-rooms {
	padding-top: 96px;
}

/* A full-bleed 2-3-2 mosaic on a six-column track: the rows read 3+3, then
   2+2+2, then 3+3. The section already spans the full viewport (the home main
   uses a flow layout), so tiles butt edge to edge with no side gutter. */
.cn-rooms__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: clamp(300px, 30vw, 440px);
	gap: 0;
}

.cn-room:nth-child(1),
.cn-room:nth-child(2),
.cn-room:nth-child(6),
.cn-room:nth-child(7) {
	grid-column: span 3;
}

.cn-room:nth-child(3),
.cn-room:nth-child(4),
.cn-room:nth-child(5) {
	grid-column: span 2;
}

.cn-room {
	position: relative;
	display: block;
	height: 100%;
	overflow: hidden;
	background: var(--wp--preset--color--oat-shade);
}

.cn-room__media {
	position: absolute;
	inset: 0;
	transition: transform var(--cn-ease-slow);
}

/* The room stills are 2.33:1 landscapes and these tiles are close to square,
   so `cover` trims the sides hard: a span-2 tile keeps only the middle ~48%.
   These pull the crop across to whichever side the piece actually stands on. */
.cn-room--lighting .cn-media {
	object-position: 68% 50%;
}

.cn-room--outdoor .cn-media {
	object-position: 80% 50%;
}

/* Legibility scrim: a light wash at the top and a stronger foot so the serif
   label always holds over the photograph, deepening a touch on interaction. */
.cn-room::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(41, 36, 32, 0.12) 0%, rgba(41, 36, 32, 0) 38%, rgba(41, 36, 32, 0.44) 100%);
	transition: background var(--cn-ease);
	pointer-events: none;
}

.cn-room:hover .cn-room__media,
.cn-room:focus-visible .cn-room__media {
	transform: scale(1.05);
}

.cn-room:hover::after,
.cn-room:focus-visible::after {
	background: linear-gradient(180deg, rgba(41, 36, 32, 0.2) 0%, rgba(41, 36, 32, 0.06) 38%, rgba(41, 36, 32, 0.52) 100%);
}

.cn-room__label {
	position: absolute;
	left: 50%;
	bottom: 30px;
	transform: translateX(-50%);
	z-index: 1;
	color: var(--wp--preset--color--cream);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(22px, 1.8vw, 30px);
	font-weight: 400;
	letter-spacing: 0.01em;
	text-align: center;
	text-shadow: 0 1px 18px rgba(41, 36, 32, 0.55);
	pointer-events: none;
}

/* The 2-3-2 shape holds at every width; only the row height and label scale
   down so the three-up middle row stays legible on tablet and phone. */
@media (max-width: 1023px) {
	.cn-rooms {
		padding-top: 56px;
	}

	.cn-rooms__grid {
		grid-auto-rows: clamp(190px, 26vw, 300px);
	}

	.cn-room__label {
		bottom: 16px;
		font-size: clamp(13px, 3.2vw, 20px);
	}
}

@media (max-width: 560px) {
	.cn-rooms__grid {
		grid-auto-rows: clamp(120px, 30vw, 190px);
	}

	.cn-room__label {
		bottom: 10px;
		font-size: clamp(11px, 3.4vw, 15px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cn-room:hover .cn-room__media,
	.cn-room:focus-visible .cn-room__media {
		transform: none;
	}
}

/* ================================================ shop by room block === */

.cn-shop {
	padding: clamp(72px, 8vw, 116px) var(--cn-gutter);
	background: var(--wp--preset--color--oat);
}

/* Centred intro: the single view-all lives under the grid, so the head is a
   plain stack rather than a heading/link row. */
.cn-shop__head {
	margin-bottom: 28px;
	text-align: center;
}

.cn-shop__eyebrow {
	display: block;
	margin-bottom: 12px;
	color: var(--wp--preset--color--muted-olive);
}

.cn-shop__title {
	margin: 0;
	color: var(--wp--preset--color--warm-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 400;
	line-height: 1.12;
}

.cn-shop__lead {
	max-width: 52ch;
	margin: 12px auto 0;
	color: var(--wp--preset--color--ink-muted);
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 1.6;
}

/* Tab row: a rule under the row, the active tab underlined in brass. */
.cn-shop__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 8px;
	margin-bottom: 20px;
	border-bottom: var(--cn-rule);
}

.cn-shop__tab {
	position: relative;
	padding: 0 4px 14px;
	border: 0;
	background: none;
	color: var(--wp--preset--color--ink-muted);
	font-family: inherit;
	font-size: 14px;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: color var(--cn-ease);
}

.cn-shop__tab::after {
	content: "";
	position: absolute;
	left: 4px;
	right: 4px;
	bottom: -1px;
	height: 2px;
	background: var(--wp--preset--color--honey-brass);
	transform: scaleX(0);
	transition: transform var(--cn-ease);
}

.cn-shop__tab:hover {
	color: var(--wp--preset--color--warm-ink);
}

.cn-shop__tab.is-active {
	color: var(--wp--preset--color--warm-ink);
	font-weight: 500;
}

.cn-shop__tab.is-active::after {
	transform: scaleX(1);
}

/* Secondary filter row: understated selects, not a wall of pills. */
.cn-shop__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 20px;
	margin-bottom: 32px;
}

.cn-shop__select {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.cn-shop__select-label {
	color: var(--wp--preset--color--ink-muted);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cn-shop__select select {
	appearance: none;
	-webkit-appearance: none;
	padding: 8px 30px 8px 10px;
	border: 1px solid var(--cn-hairline);
	border-radius: 0;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23292420' stroke-width='1.4'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 10px;
	color: var(--wp--preset--color--warm-ink);
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
	transition: border-color var(--cn-ease);
}

.cn-shop__select select:hover {
	border-color: var(--wp--preset--color--warm-ink);
}

/* Preview area. Fades briefly while a fetch is in flight. */
.cn-shop__preview {
	min-height: 240px;
	transition: opacity var(--cn-ease);
}

.cn-shop__preview[aria-busy="true"] {
	opacity: 0.4;
}

.cn-shop__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(18px, 2vw, 30px);
}

.cn-shop__card {
	position: relative;
	display: flex;
	flex-direction: column;
}

.cn-shop__card-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	margin-bottom: 14px;
	overflow: hidden;
	background: var(--wp--preset--color--oat-shade);
}

.cn-shop__card-image {
	display: block;
	width: 100%;
	height: 100%;
}

.cn-shop__card-media .cn-media,
.cn-shop__card-media .cn-slot {
	transition: transform var(--cn-ease-slow);
}

.cn-shop__card:hover .cn-media,
.cn-shop__card:focus-within .cn-media {
	transform: scale(1.04);
}

.cn-shop__card-tag {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 5px 10px;
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--warm-ink);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	pointer-events: none;
}

.cn-shop__card-body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: inherit;
	text-decoration: none;
}

.cn-shop__card-name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.25;
}

.cn-shop__card-price {
	color: var(--wp--preset--color--ink-muted);
	font-size: 15px;
}

/* The save heart sits on the image, always visible so it reads as part of the
   card; it lifts to a lighter background on hover and lights in brass once saved. */
.cn-shop__card-media .cn-wish {
	background: rgba(237, 228, 211, 0.92);
}

.cn-shop__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 240px;
	padding: 32px;
	text-align: center;
}

.cn-shop__empty-lead {
	margin: 0;
	color: var(--wp--preset--color--warm-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: 24px;
}

.cn-shop__empty p {
	margin: 0;
}

.cn-shop__empty-link {
	color: var(--wp--preset--color--honey-brass);
	text-underline-offset: 3px;
}

.cn-shop__foot {
	margin-top: 40px;
	text-align: center;
}

.cn-shop__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 32px;
	background: var(--wp--preset--color--warm-ink);
	color: var(--wp--preset--color--oat);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background var(--cn-ease), color var(--cn-ease);
}

.cn-shop__cta:hover,
.cn-shop__cta:focus-visible {
	background: var(--wp--preset--color--honey-brass);
	color: var(--wp--preset--color--warm-ink);
}

@media (max-width: 1023px) {
	.cn-shop__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	/* The row scrolls here, and centring a scroll container can hide its first
	   tab, so the room list starts flush left once it stops fitting. */
	.cn-shop__tabs {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 4px 14px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.cn-shop__tabs::-webkit-scrollbar {
		display: none;
	}

	.cn-shop__tab {
		white-space: nowrap;
	}

	.cn-shop__filters {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.cn-shop__select {
		justify-content: space-between;
	}

	.cn-shop__select select {
		min-width: 150px;
	}
}

@media (max-width: 560px) {
	.cn-shop__card-name {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cn-shop__preview {
		transition: none;
	}

	.cn-shop__tab::after {
		transition: none;
	}

	.cn-shop__card:hover .cn-media,
	.cn-shop__card:focus-within .cn-media {
		transform: none;
	}
}

/* ======================================================= new in band === */

.cn-newin {
	position: relative;
	height: 680px;
	overflow: hidden;
	background: var(--wp--preset--color--oat);
}

.cn-newin__marquee {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin-top: -102px;
	overflow: hidden;
}

.cn-newin__track {
	display: flex;
	white-space: nowrap;
	animation: cn-marquee-left 26s linear infinite;
	will-change: transform;
}

.cn-newin__phrase {
	flex: 0 0 auto;
	color: var(--wp--preset--color--warm-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(74px, 11.8vw, 170px);
	font-weight: 400;
	line-height: 1.2;
}

.cn-newin__phrase em {
	font-weight: 300;
}

.cn-newin__cutout {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 520px;
	height: 520px;
	margin: -268px 0 0 -260px;
	animation: cn-floaty 5s ease-in-out infinite alternate;
}

.cn-newin__badge {
	position: absolute;
	left: 110px;
	top: 88px;
	width: 112px;
	height: 112px;
	animation: cn-spin 14s linear infinite;
}

.cn-newin__badge text {
	fill: var(--wp--preset--color--warm-ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: 11.5px;
	letter-spacing: 0.32em;
}

.cn-newin__caption {
	position: absolute;
	left: var(--cn-gutter);
	bottom: 52px;
}

.cn-newin__product {
	margin-bottom: 10px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 30px;
	font-style: italic;
}

@media (max-width: 1023px) {
	.cn-newin {
		height: 430px;
	}

	.cn-newin__marquee {
		margin-top: -44px;
	}

	.cn-newin__track {
		animation-duration: 20s;
	}

	.cn-newin__cutout {
		width: 264px;
		height: 264px;
		margin: -140px 0 0 -132px;
	}

	.cn-newin__badge {
		left: 20px;
		top: 26px;
		width: 74px;
		height: 74px;
	}

	.cn-newin__caption {
		bottom: 28px;
	}

	.cn-newin__product {
		margin-bottom: 8px;
		font-size: 22px;
	}

	.cn-newin__caption .cn-underline-link {
		font-size: 12px;
		padding-bottom: 4px;
	}
}

/* ======================================================== your casa ==== */

.cn-ugc {
	background: var(--wp--preset--color--oat-deep);
	padding: 96px var(--cn-gutter);
}

.cn-ugc__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 16px;
}

.cn-ugc__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(28px, 2.92vw, 42px);
	font-weight: 400;
	letter-spacing: -0.01em;
}

.cn-ugc__nav {
	display: flex;
	gap: 12px;
}

.cn-ugc__nav button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--wp--preset--color--warm-ink);
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--warm-ink);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background var(--cn-ease), color var(--cn-ease);
}

.cn-ugc__nav button:hover {
	background: var(--wp--preset--color--warm-ink);
	color: var(--wp--preset--color--oat);
}

.cn-ugc__intro {
	margin: 0 0 36px;
	color: var(--wp--preset--color--ink-muted);
	font-size: 15px;
}

.cn-ugc__handle {
	color: var(--wp--preset--color--honey-brass);
}

.cn-ugc__track {
	display: flex;
	gap: 24px;
	padding-bottom: 8px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.cn-ugc__track::-webkit-scrollbar {
	display: none;
}

.cn-ugc__item {
	flex: 0 0 328px;
	scroll-snap-align: start;
}

.cn-ugc__figure {
	height: 400px;
	background: var(--wp--preset--color--oat-shade);
	overflow: hidden;
}

.cn-ugc__cap {
	margin-top: 12px;
	color: var(--wp--preset--color--ink-muted);
	font-size: 13px;
}

@media (max-width: 1023px) {
	.cn-ugc {
		padding: 56px 0;
	}

	.cn-ugc__head,
	.cn-ugc__intro {
		padding-inline: var(--cn-gutter);
	}

	.cn-ugc__head {
		margin-bottom: 10px;
	}

	.cn-ugc__nav {
		gap: 8px;
	}

	.cn-ugc__nav button {
		width: 44px;
		height: 44px;
		font-size: 16px;
	}

	.cn-ugc__intro {
		margin-bottom: 24px;
		font-size: 13.5px;
	}

	.cn-ugc__track {
		gap: 14px;
		padding-inline: var(--cn-gutter);
	}

	.cn-ugc__item {
		flex-basis: 242px;
	}

	.cn-ugc__figure {
		height: 290px;
	}

	.cn-ugc__cap {
		margin-top: 10px;
		font-size: 12px;
	}
}

/* ======================================================= trust strip === */

.cn-trust {
	padding: 110px var(--cn-gutter) 100px;
	border-bottom: var(--cn-rule);
	text-align: center;
}

.cn-trust__title {
	margin: 0 0 84px;
	color: var(--wp--preset--color--muted-olive);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(34px, 4.03vw, 58px);
	font-style: italic;
	font-weight: 400;
}

.cn-trust__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 48px;
}

.cn-trust__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.cn-trust__item svg {
	width: 46px;
	height: 46px;
	fill: none;
	stroke: var(--wp--preset--color--warm-ink);
	stroke-width: 1.1;
}

.cn-trust__label {
	font-size: 20px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cn-trust__desc {
	max-width: 260px;
	color: var(--wp--preset--color--ink-muted);
	font-size: 14.5px;
	line-height: 1.6;
}

@media (max-width: 1023px) {
	.cn-trust {
		padding: 64px var(--cn-gutter) 56px;
	}

	.cn-trust__title {
		margin-bottom: 44px;
	}

	.cn-trust__grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px 16px;
	}

	.cn-trust__item {
		gap: 12px;
	}

	.cn-trust__item svg {
		width: 36px;
		height: 36px;
	}

	.cn-trust__label {
		font-size: 13px;
	}

	.cn-trust__desc {
		font-size: 12.5px;
		line-height: 1.55;
	}
}

/* ------------------------------------------------- slim trust variant -- */

.cn-trust-slim {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 80px;
	padding: 40px var(--cn-gutter);
	border-top: var(--cn-rule);
	color: var(--wp--preset--color--ink-soft);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

@media (max-width: 1023px) {
	.cn-trust-slim {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		padding: 24px var(--cn-gutter);
		font-size: 11px;
		text-align: center;
	}
}

/* ======================================================== newsletter === */

.cn-news {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 104px var(--cn-gutter);
	text-align: center;
}

.cn-news__title {
	margin: 0 0 12px;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(26px, 2.64vw, 38px);
	font-weight: 400;
}

.cn-news__intro {
	max-width: 420px;
	margin: 0 0 32px;
	color: var(--wp--preset--color--ink-muted);
	font-size: 15px;
}

.cn-news__form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 480px;
	max-width: 100%;
}

.cn-news__row {
	display: flex;
	width: 100%;
}

.cn-news__turnstile {
	display: flex;
	justify-content: center;
}

.cn-news__input {
	flex: 1;
	height: 52px;
	min-width: 0;
	padding: 0 18px;
	border: 1px solid var(--wp--preset--color--warm-ink);
	border-right: none;
	background: transparent;
	color: var(--wp--preset--color--warm-ink);
	font-family: var(--wp--preset--font-family--body);
	font-size: 14px;
}

.cn-news__input::placeholder {
	color: var(--wp--preset--color--ink-muted);
}

.cn-news__submit {
	height: 52px;
	padding: 0 28px;
	border: none;
	background: var(--wp--preset--color--honey-brass);
	color: var(--wp--preset--color--ivory);
	font-family: var(--wp--preset--font-family--body);
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--cn-ease);
}

.cn-news__submit:hover {
	background: var(--wp--preset--color--brass-deep);
}

@media (max-width: 1023px) {
	.cn-news {
		padding: 64px var(--cn-gutter);
	}

	.cn-news__intro {
		margin-bottom: 24px;
		font-size: 13.5px;
	}

	.cn-news__form {
		width: 100%;
	}

	.cn-news__row {
		flex-direction: column;
		gap: 10px;
	}

	.cn-news__input {
		height: 50px;
		padding: 0 16px;
		border-right: 1px solid var(--wp--preset--color--warm-ink);
	}

	.cn-news__submit {
		height: 50px;
	}
}

/* ================================================= shop this film ==== */

/* The CTA that opens a film's product drawer. It lives inside each video's
   copy block as a secondary action, so it reflows with the rest of the content
   and never collides with the primary button across breakpoints. */
.cn-film-cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 20px;
	padding: 11px 20px;
	border: 1px solid rgba(237, 228, 211, 0.55);
	border-radius: 999px;
	background: rgba(41, 36, 32, 0.3);
	color: var(--wp--preset--color--cream);
	font-size: 12.5px;
	letter-spacing: 0.14em;
	line-height: 1;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: pointer;
	transition: background var(--cn-ease), color var(--cn-ease), border-color var(--cn-ease);
}

.cn-film-cta:hover,
.cn-film-cta:focus-visible,
.cn-film-cta[aria-expanded="true"] {
	background: var(--wp--preset--color--cream);
	border-color: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--warm-ink);
}

.cn-film-cta__icon {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Points down at the row it opens, and flips once that row is showing. */
.cn-film-cta__chev {
	width: 11px;
	height: 8px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform var(--cn-ease);
}

.cn-film-cta[aria-expanded="true"] .cn-film-cta__chev {
	transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
	.cn-film-cta__chev {
		transition: none;
	}
}

/* On the hero the CTA follows a full-width button on mobile, so match it. */
@media (max-width: 1023px) {
	.cn-hero .cn-film-cta {
		width: 100%;
		justify-content: center;
	}
}

/* ---- the expanding row ---- */

/* An in-flow disclosure, not an overlay: opening it pushes the page down
   instead of covering it. The 0fr/1fr row is what animates the height; the
   inner element clips its own content while the row is collapsed. */
.cn-filmshop {
	display: grid;
	grid-template-rows: 0fr;
	background: var(--wp--preset--color--oat-shade);
	transition: grid-template-rows var(--cn-ease-slow);
}

.cn-filmshop[hidden] {
	display: none;
}

.cn-filmshop.is-open {
	grid-template-rows: 1fr;
}

.cn-filmshop__inner {
	min-height: 0;
	overflow: hidden;
}

.cn-filmshop__inner:focus {
	outline: none;
}

.cn-filmshop__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: clamp(28px, 3.2vw, 44px) var(--cn-gutter) 20px;
}

.cn-filmshop__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 400;
}

.cn-filmshop__close {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	padding: 0 0 3px;
	border: 0;
	border-bottom: 1px solid var(--cn-hairline);
	background: transparent;
	color: var(--wp--preset--color--warm-ink);
	font-family: inherit;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color var(--cn-ease), border-color var(--cn-ease);
}

.cn-filmshop__close:hover,
.cn-filmshop__close:focus-visible {
	color: var(--wp--preset--color--honey-brass);
	border-color: var(--wp--preset--color--honey-brass);
}

.cn-filmshop__close svg {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

/* ---- the product row (reuses the .cn-rail scroll mechanics) ---- */

.cn-filmshop__rail {
	position: relative;
}

.cn-filmshop__track {
	gap: 16px;
	padding: 4px var(--cn-gutter) clamp(32px, 3.5vw, 48px);
	scroll-padding-left: var(--cn-gutter);
}

/* Trailing fade: a standing hint that the row runs past the visible edge. */
.cn-filmshop__rail::after {
	content: "";
	position: absolute;
	inset: 0 0 8px auto;
	z-index: 1;
	width: 56px;
	background: linear-gradient(90deg, rgba(227, 216, 194, 0), var(--wp--preset--color--oat-shade));
	pointer-events: none;
}

.cn-filmcard {
	flex: 0 0 216px;
	scroll-snap-align: start;
}

.cn-filmcard__figure {
	position: relative;
	display: block;
	height: 270px;
	overflow: hidden;
	background: var(--wp--preset--color--oat);
}

.cn-filmcard__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 2px 0;
}

.cn-filmcard__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 16px;
	line-height: 1.25;
}

.cn-filmcard__name a {
	color: inherit;
}

.cn-filmcard__price {
	color: var(--wp--preset--color--ink-muted);
	font-size: 14px;
}

/* Recentre the reused rail arrows onto the card figures inside the drawer. */
.cn-filmshop .cn-rail__nav {
	top: 139px;
	z-index: 2;
}

.cn-filmshop .cn-rail__nav--prev {
	left: calc(var(--cn-gutter) - 8px);
}

.cn-filmshop .cn-rail__nav--next {
	right: calc(var(--cn-gutter) - 8px);
}

@media (max-width: 767px) {
	.cn-filmcard {
		flex-basis: 62vw;
	}

	.cn-filmcard__figure {
		height: 78vw;
	}

	/* Touch scrolling plus the trailing fade carry the affordance on mobile. */
	.cn-filmshop .cn-rail__nav {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cn-filmshop {
		transition: none;
	}
}
