/*
 * Nocturne Core – Elementor widget styles.
 * Relies on the Nocturne theme tokens, with fallbacks for other themes.
 */
.ncw-hero,
.ncw-heading,
.ncw-products,
.ncw-collections,
.ncw-spotlight,
.ncw-specs,
.ncw-story,
.ncw-journal,
.ncw-newsletter,
.ncw-marquee,
.ncw-contact {
	--ncw-ink: var(--nc-ink, #fff);
	--ncw-body: var(--nc-body, #ccc);
	--ncw-muted: var(--nc-muted, #999);
	--ncw-hair: var(--nc-hairline, #262626);
	--ncw-hair-strong: var(--nc-hairline-strong, #3a3a3a);
	--ncw-card: var(--nc-surface-card, #141414);
	--ncw-display: var(--nc-font-display, "Saira Condensed", sans-serif);
	--ncw-text: var(--nc-font-text, "Cormorant Garamond", serif);
	--ncw-mono: var(--nc-font-mono, "JetBrains Mono", monospace);
	--ncw-ease: var(--nc-ease, cubic-bezier(.2, .7, .1, 1));
}

.ncw-caption,
.ncw-hero__caption,
.ncw-heading__caption,
.ncw-story__caption,
.ncw-spotlight__caption,
.ncw-newsletter__caption,
.ncw-spec__label,
.ncw-collection__count {
	margin: 0;
	color: var(--ncw-muted);
	font-family: var(--ncw-mono);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.ncw-empty {
	padding: 24px;
	border: 1px dashed var(--ncw-hair-strong);
	color: var(--ncw-muted);
	font-family: var(--ncw-mono);
	font-size: 12px;
	text-align: center;
}

.ncw-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

/* Hero ----------------------------------------------------------------------- */
.ncw-hero {
	--ncw-overlay: .35;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	min-height: 480px;
	overflow: hidden;
	background: #000;
	color: var(--nc-on-photo, #fff);
	isolation: isolate;
}

@supports (height: 100svh) {
	.ncw-hero {
		max-height: 100svh;
	}
}

.ncw-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.ncw-hero__media > img,
.ncw-hero__media > video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	animation: ncw-settle 2.4s var(--ncw-ease) forwards;
}

.ncw-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, var(--ncw-overlay));
}

@keyframes ncw-settle {
	to {
		transform: scale(1);
	}
}

.ncw-hero__content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	max-width: 1100px;
	padding: 96px clamp(16px, 4vw, 40px);
	text-align: center;
}

.ncw-hero--top {
	align-items: flex-start;
}

.ncw-hero--top .ncw-hero__content {
	padding-top: calc(var(--nc-header-offset, 64px) + 64px);
}

.ncw-hero--bottom {
	align-items: flex-end;
}

.ncw-hero--bottom-left {
	align-items: flex-end;
	justify-content: flex-start;
}

.ncw-hero--bottom-left .ncw-hero__content {
	align-items: flex-start;
	text-align: left;
	margin-left: max(0px, calc((100vw - 1280px) / 2 - 40px));
}

.ncw-hero .ncw-hero__caption {
	color: rgba(255, 255, 255, .78);
}

.ncw-hero__title {
	margin: 0;
	color: var(--nc-on-photo, #fff);
	font-family: var(--ncw-display);
	font-size: clamp(38px, 7vw, 96px);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: clamp(3px, .5vw, 8px);
	text-transform: uppercase;
}

.ncw-hero__text {
	max-width: 560px;
	margin: 0;
	color: rgba(255, 255, 255, .86);
	font-family: var(--ncw-text);
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.55;
}

.ncw-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 8px;
}

.ncw-hero--bottom-left .ncw-hero__actions {
	justify-content: flex-start;
}

.ncw-btn-photo {
	border-color: #fff !important;
	color: #fff !important;
}

.ncw-btn-photo:hover {
	background: #fff !important;
	color: #000 !important;
}

.ncw-btn-photo--ghost {
	border-color: rgba(255, 255, 255, .45) !important;
}

.ncw-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, .7);
	font-family: var(--ncw-mono);
	font-size: 10px;
	letter-spacing: 3px;
	text-transform: uppercase;
	transform: translateX(-50%);
}

.ncw-hero__scroll i {
	position: relative;
	display: block;
	width: 1px;
	height: 48px;
	overflow: hidden;
	background: rgba(255, 255, 255, .25);
}

.ncw-hero__scroll i::after {
	content: "";
	position: absolute;
	left: 0;
	top: -50%;
	width: 1px;
	height: 50%;
	background: #fff;
	animation: ncw-scroll 2.2s var(--ncw-ease) infinite;
}

@keyframes ncw-scroll {
	to {
		top: 110%;
	}
}

.ncw-hero__callout {
	position: absolute;
	right: clamp(16px, 4vw, 40px);
	bottom: 104px;
	width: 320px;
	padding: 16px;
	background: var(--ncw-card);
	color: var(--ncw-body);
}

.ncw-hero__callout img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	margin-bottom: 14px;
}

.ncw-hero__callout p {
	margin: 0 0 12px;
	color: var(--ncw-body);
	font-family: var(--ncw-text);
	font-size: 16px;
	line-height: 1.45;
}

.ncw-callout-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ncw-ink);
	font-family: var(--ncw-mono);
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

@media (max-width: 1024px) {
	.ncw-hero__callout {
		display: none;
	}
}

@media (max-width: 767px) {
	.ncw-hero {
		min-height: 520px;
	}

	.ncw-hero__content {
		padding-block: 88px 72px;
		gap: 18px;
	}

	.ncw-hero__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 320px;
	}

	.ncw-hero--bottom-left .ncw-hero__actions {
		align-items: flex-start;
	}

	.ncw-hero__scroll {
		display: none;
	}
}

/* Heading ---------------------------------------------------------------------- */
.ncw-heading {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ncw-heading__main {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ncw-heading--center {
	align-items: center;
	text-align: center;
}

.ncw-heading--center .ncw-heading__main {
	align-items: center;
}

.ncw-heading--split {
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.ncw-heading__title {
	margin: 0;
	color: var(--ncw-ink);
	font-family: var(--ncw-display);
	font-weight: 300;
	line-height: 1.12;
	text-transform: uppercase;
}

.ncw-heading--xl .ncw-heading__title {
	font-size: clamp(36px, 6vw, 80px);
	letter-spacing: clamp(3px, .5vw, 6px);
	line-height: 1.04;
}

.ncw-heading--lg .ncw-heading__title {
	font-size: clamp(30px, 4vw, 52px);
	letter-spacing: 3px;
}

.ncw-heading--md .ncw-heading__title {
	font-size: clamp(24px, 2.6vw, 34px);
	letter-spacing: 2px;
}

.ncw-heading__text {
	max-width: 620px;
	margin: 0;
	color: var(--ncw-body);
	font-family: var(--ncw-text);
	font-size: 19px;
	line-height: 1.6;
}

.ncw-heading__link {
	flex-shrink: 0;
}

@media (max-width: 767px) {
	.ncw-heading--split {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Products ------------------------------------------------------------------- */
.ncw-products {
	position: relative;
}

.ncw-products .woocommerce {
	margin: 0;
}

.ncw-products--row ul.products {
	display: grid !important;
	grid-auto-flow: column;
	grid-template-columns: none !important;
	grid-auto-columns: calc((100% - (var(--ncw-cols) - 1) * 24px) / var(--ncw-cols));
	gap: 24px !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px !important;
}

.ncw-products--row ul.products::-webkit-scrollbar {
	display: none;
}

.ncw-products--row ul.products li.product {
	scroll-snap-align: start;
}

.ncw-products--row {
	display: flex;
	flex-direction: column;
}

.ncw-products__nav {
	order: 2;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 32px;
}

@media (max-width: 1024px) {
	.ncw-products--row ul.products {
		grid-auto-columns: calc((100% - 24px) / 2.4);
	}
}

@media (max-width: 767px) {
	.ncw-products--row ul.products {
		grid-auto-columns: 72%;
		gap: 16px !important;
	}

	.ncw-products__nav {
		display: none;
	}
}

/* Collections ------------------------------------------------------------------ */
.ncw-collections {
	--ncw-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--ncw-cols), minmax(0, 1fr));
	gap: 24px;
}

/*
 * The image stays in normal flow and carries the aspect ratio itself, so the tile
 * has a real content height. (An empty box sized only by aspect-ratio collapses
 * inside Elementor's flex containers on phones.)
 */
.ncw-collection {
	--ncw-ratio: 4 / 5;
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--ncw-card);
	color: #fff;
}

.ncw-collection__img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: var(--ncw-ratio);
	object-fit: cover;
	transition: transform 1.6s var(--ncw-ease);
}

.ncw-collection__ph {
	display: block;
	aspect-ratio: var(--ncw-ratio);
}

.ncw-collection::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .3);
	transition: background-color .8s var(--ncw-ease);
}

.ncw-collection:hover .ncw-collection__img {
	transform: scale(1.05);
}

.ncw-collection:hover::after {
	background: rgba(0, 0, 0, .12);
}

.ncw-collection__body {
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: clamp(20px, 2.4vw, 32px);
}

.ncw-collection .ncw-collection__count {
	color: rgba(255, 255, 255, .7);
}

.ncw-collection__name {
	color: #fff;
	font-family: var(--ncw-display);
	font-size: clamp(24px, 2.4vw, 34px);
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.ncw-collection__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	color: #fff;
	font-family: var(--ncw-mono);
	font-size: 11px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	opacity: .8;
	transition: gap .4s var(--ncw-ease), opacity .4s;
}

.ncw-collection:hover .ncw-collection__cta {
	gap: 16px;
	opacity: 1;
}

@media (max-width: 1024px) {
	.ncw-collections {
		gap: 16px;
	}
}

/* Specs ---------------------------------------------------------------------- */
.ncw-specs {
	--ncw-cols: 4;
	display: grid;
	grid-template-columns: repeat(var(--ncw-cols), minmax(0, 1fr));
	gap: 0 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ncw-spec {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px 0;
	border-top: 1px solid var(--ncw-hair);
}

.ncw-specs--center .ncw-spec {
	align-items: center;
	text-align: center;
}

.ncw-spec__value {
	color: var(--ncw-ink);
	font-family: var(--ncw-display);
	font-size: clamp(28px, 3.4vw, 48px);
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.ncw-specs--compact .ncw-spec {
	padding: 18px 0;
}

.ncw-specs--compact .ncw-spec__value {
	font-size: 22px;
	letter-spacing: 1.5px;
}

/* Spotlight ---------------------------------------------------------------- */
.ncw-spotlight {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
}

.ncw-spotlight--right .ncw-spotlight__media {
	order: 2;
}

.ncw-spotlight__media {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--ncw-card);
}

.ncw-spotlight__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.6s var(--ncw-ease);
}

.ncw-spotlight__media:hover img {
	transform: scale(1.03);
}

.ncw-spotlight__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ncw-spotlight__title {
	margin: 0;
	font-family: var(--ncw-display);
	font-size: clamp(32px, 4vw, 56px);
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.ncw-spotlight__title a {
	color: var(--ncw-ink);
}

.ncw-spotlight__price {
	color: var(--ncw-ink);
	font-family: var(--ncw-mono);
	font-size: 15px;
	letter-spacing: 1.5px;
}

.ncw-spotlight__price del {
	color: var(--ncw-muted);
	margin-right: 8px;
}

.ncw-spotlight__price ins {
	text-decoration: none;
}

.ncw-spotlight__text {
	max-width: 520px;
	color: var(--ncw-body);
	font-family: var(--ncw-text);
	font-size: 19px;
	line-height: 1.6;
}

.ncw-spotlight__text p {
	margin: 0;
}

.ncw-spotlight__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 32px;
	margin-top: 8px;
}

.ncw-spotlight__actions .added_to_cart {
	display: none;
}

@media (max-width: 900px) {
	.ncw-spotlight {
		grid-template-columns: 1fr;
	}

	.ncw-spotlight--right .ncw-spotlight__media {
		order: 0;
	}
}

/* Story ------------------------------------------------------------------- */
.ncw-story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 7vw, 120px);
	align-items: center;
}

.ncw-story--right .ncw-story__media {
	order: 2;
}

.ncw-story__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--ncw-card);
}

.ncw-story__media img,
.ncw-story__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ncw-story__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	max-width: 520px;
}

.ncw-story__title {
	margin: 0;
	color: var(--ncw-ink);
	font-family: var(--ncw-display);
	font-size: clamp(30px, 3.6vw, 52px);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.ncw-story__text {
	color: var(--ncw-body);
	font-family: var(--ncw-text);
	font-size: 19px;
	line-height: 1.65;
}

.ncw-story__text p:last-child {
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.ncw-story {
		grid-template-columns: 1fr;
	}

	.ncw-story--right .ncw-story__media {
		order: 0;
	}
}

/* Journal ------------------------------------------------------------------- */
.ncw-journal {
	--ncw-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--ncw-cols), minmax(0, 1fr));
	gap: 56px 40px;
}

@media (max-width: 1024px) {
	.ncw-journal {
		--ncw-cols: 2;
	}
}

@media (max-width: 767px) {
	.ncw-journal,
	.ncw-collections {
		--ncw-cols: 1;
	}
}

/* Newsletter ----------------------------------------------------------------- */
.ncw-newsletter {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	text-align: center;
}

.ncw-newsletter__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 640px;
}

.ncw-newsletter--split {
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	text-align: left;
}

.ncw-newsletter--split .ncw-newsletter__intro {
	align-items: flex-start;
}

.ncw-newsletter__title {
	margin: 0;
	color: var(--ncw-ink);
	font-family: var(--ncw-display);
	font-size: clamp(28px, 3.6vw, 48px);
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.ncw-newsletter__text {
	margin: 0;
	color: var(--ncw-body);
	font-family: var(--ncw-text);
	font-size: 19px;
}

.ncw-newsletter__form {
	display: flex;
	align-items: flex-end;
	gap: 24px;
	width: min(560px, 100%);
}

.ncw-newsletter__form input[type="email"] {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--ncw-hair-strong);
	border-radius: 0;
	background: transparent;
	color: var(--ncw-ink);
	font-family: var(--ncw-text);
	font-size: 19px;
}

.ncw-newsletter__form input[type="email"]:focus {
	border-bottom-color: var(--ncw-ink);
	outline: none;
}

.ncw-newsletter__consent {
	margin: -12px 0 0;
	color: var(--nc-muted-soft, #666);
	font-family: var(--ncw-mono);
	font-size: 10px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.ncw-newsletter__success,
.ncw-contact__notice {
	margin: 0;
	padding: 20px 24px;
	border: 1px solid var(--ncw-hair-strong);
	border-left-color: var(--nc-success, #5fa657);
	color: var(--ncw-ink);
	font-family: var(--ncw-text);
	font-size: 18px;
}

.ncw-contact__notice.is-error {
	border-left-color: var(--nc-danger, #d0584f);
}

@media (max-width: 767px) {
	.ncw-newsletter--split {
		flex-direction: column;
		align-items: flex-start;
	}

	.ncw-newsletter__form {
		flex-direction: column;
		align-items: stretch;
	}
}

/* Marquee ---------------------------------------------------------------------- */
.ncw-marquee {
	--ncw-speed: 40s;
	overflow: hidden;
	padding: 22px 0;
	border-top: 1px solid var(--ncw-hair);
	border-bottom: 1px solid var(--ncw-hair);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ncw-marquee__track {
	display: flex;
	width: max-content;
	animation: ncw-marquee var(--ncw-speed) linear infinite;
}

.ncw-marquee--right .ncw-marquee__track {
	animation-direction: reverse;
}

.ncw-marquee:hover .ncw-marquee__track {
	animation-play-state: paused;
}

.ncw-marquee__group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.ncw-marquee__item,
.ncw-marquee__sep {
	padding: 0 28px;
	color: var(--ncw-body);
	font-family: var(--ncw-mono);
	font-size: 12px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	white-space: nowrap;
}

.ncw-marquee__sep {
	padding: 0;
	color: var(--ncw-muted);
}

.ncw-marquee--lg .ncw-marquee__item {
	padding: 0 40px;
	color: var(--ncw-ink);
	font-family: var(--ncw-display);
	font-size: clamp(32px, 5vw, 72px);
	font-weight: 300;
	letter-spacing: 4px;
}

.ncw-marquee--lg .ncw-marquee__sep {
	font-size: 24px;
}

@keyframes ncw-marquee {
	to {
		transform: translateX(-33.3333%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ncw-marquee__track {
		animation: none;
	}
}

/* Contact ---------------------------------------------------------------------- */
.ncw-contact__form p {
	margin: 0 0 28px;
}

.ncw-contact__form label {
	display: block;
	margin-bottom: 4px;
}

.ncw-contact__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 32px;
}

.ncw-contact__consent label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.6;
	text-transform: none;
	letter-spacing: .5px;
	font-size: 12px;
}

.ncw-contact__notice {
	margin-bottom: 28px;
}

@media (max-width: 767px) {
	.ncw-contact__row {
		grid-template-columns: 1fr;
	}
}
