/* Nikolia catalogue: toolbar, filter drawer, card extras, load more, editorial band */
:root {
	--ck-navy: #13223F;
	--ck-ink: #232A36;
	--ck-muted: #6A7080;
	--ck-cream: #F6F3EE;
	--ck-line: #E4E2DD;
	--ck-paper: #FFFFFF;
	--ck-font: "Manrope", system-ui, sans-serif;
	--ck-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ========================================================================== Cards */

/* Hover photo sits on its own background, so a transparent PNG never shows the first image through */
.atl-grid .atl-media__img--alt { background: var(--atl-wash, #f2f0ec); }

/* Cut-out dresses are shown whole on the card background (white JPG backgrounds blend in); photos with a model still fill the frame */
.atl-grid .atl-media { isolation: isolate; }

.atl-grid .atl-media__img.is-cutout,
.atl-grid .atl-card:hover .atl-media__img.is-cutout { object-fit: contain; padding: 7% 5%; box-sizing: border-box; }

.atl-grid .atl-media__img--main.is-cutout { mix-blend-mode: multiply; }

.atl-badge { top: 12px; left: 12px; padding: 7px 9px 6px; font-size: 11px; letter-spacing: .1em; }

.nk-card-sizes {
	margin: 2px 0 0;
	font: 500 12px/1.4 var(--ck-font);
	color: var(--ck-muted);
	font-variant-numeric: tabular-nums;
	letter-spacing: .01em;
}

.atl-card:has(.atl-badge--out) .atl-media__img--main { opacity: .6; }

/* Quick add: one tap on a size adds it */
.atl-qs { padding: 12px; }

.atl-grid .atl-qs__hint {
	margin: 0 0 10px;
	font: 600 10.5px/1 var(--ck-font);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ck-ink);
}

.atl-grid .atl-card .atl-size { height: 36px; min-width: 52px; padding: 0 10px; font-size: 12px; }

.atl-grid .atl-card .atl-size:hover,
.atl-grid .atl-card .atl-size:focus-visible { background: var(--ck-navy); border-color: var(--ck-navy); color: #fff; }

.atl-grid .atl-card .atl-size.is-loading { color: transparent; background: var(--ck-navy); border-color: var(--ck-navy); }

.atl-grid .atl-card .atl-size.is-loading::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	top: 50%;
	height: 1px;
	background: #fff;
	transform-origin: left;
	animation: atl-load .9s ease-in-out infinite;
}

.atl-grid .atl-card .atl-qs__add { height: 40px; background: var(--ck-navy); }

.atl-qs__done { justify-content: center; background: var(--ck-navy); font-weight: 600; }

@container (max-width: 300px) {
	.atl-grid .atl-qs__hint { margin-bottom: 6px; }
	.atl-grid .atl-card .atl-size { height: 32px; min-width: 0; }
}

/* Wishlist heart */
.nk-heart { position: absolute; top: 4px; right: 4px; z-index: 4; }

.nk-heart .tinv-wishlist { margin: 0 !important; }

.nk-heart .tinv-wishlist-clear,
.nk-heart .tinvwl-tooltip,
.nk-heart input { display: none !important; }

.nk-heart .tinvwl_add_to_wishlist_button,
.nk-heart .tinvwl_add_to_wishlist_button:hover {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	color: var(--ck-navy) !important;
	text-decoration: none !important;
	background: none !important;
	cursor: pointer;
}

.nk-heart .tinvwl_add_to_wishlist_button::before {
	content: "" !important;
	display: block;
	width: 20px;
	height: 20px;
	margin: 0 !important;
	background: currentColor;
	-webkit-mask: var(--ph-heart) center / contain no-repeat;
	        mask: var(--ph-heart) center / contain no-repeat;
	transition: transform .25s var(--ck-ease);
}

.nk-heart .tinvwl_add_to_wishlist_button:hover::before { transform: scale(1.12); }

.nk-heart .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before {
	-webkit-mask-image: var(--ph-heart-fill);
	        mask-image: var(--ph-heart-fill);
	animation: nk-pop .35s var(--ck-ease);
}

.nk-heart .tinvwl_add_to_wishlist_button:focus-visible { outline: 2px solid var(--ck-navy); outline-offset: -4px; }

.nk-heart .tinvwl_add_to_wishlist-text,
.nk-heart .tinvwl_remove_from_wishlist-text { display: none !important; }

@keyframes nk-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* Header wishlist counter (same look as the cart counter) */
.nk-wl-link { position: relative; }

.nk-wl-n {
	position: absolute;
	top: -7px;
	right: -9px;
	display: none;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 8px;
	background: var(--ck-navy);
	color: #fff;
	font: 600 10px/16px var(--ck-font);
	text-align: center;
	pointer-events: none;
}

.nk-wl-n.is-on { display: block; }

/* ========================================================================== Toolbar */
.elementor-widget.nk-tb-wrap { position: sticky; top: var(--nk-tb-top, 0px); z-index: 20; }

.nk-tb {
	background: var(--ck-paper);
	border-top: 1px solid var(--ck-line);
	border-bottom: 1px solid var(--ck-line);
	transition: box-shadow .2s var(--ck-ease);
}

.nk-tb.is-stuck { box-shadow: 0 10px 16px -14px rgba(19, 34, 63, .3); }

.nk-tb__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: 64px; }

.nk-cats { display: flex; gap: 8px; min-width: 0; }

.nk-tb__end { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.nk-tb .nk-count { margin-right: 8px; font: 500 13px/1 var(--ck-font); color: var(--ck-muted); white-space: nowrap; }

.nk-tb .nk-tb__filter,
.nk-tb .nk-tb__filter:hover,
.nk-tb .nk-tb__filter:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--ck-line);
	border-radius: 0;
	background: var(--ck-paper);
	color: var(--ck-ink);
	font: 500 13px/1 var(--ck-font);
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: border-color .2s var(--ck-ease);
}

.nk-tb .nk-tb__filter:hover { border-color: var(--ck-navy); }

.nk-tb__filter:focus-visible { outline: 2px solid var(--ck-navy); outline-offset: 2px; }

.nk-tb__filter-m { display: none; }

.nk-tb__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--ck-navy);
	color: #fff;
	font-size: 10.5px;
	font-weight: 600;
}

.nk-tb__active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 0 14px; }

.nk-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 30px;
	padding: 0 10px 0 12px;
	background: var(--ck-cream);
	font: 500 12.5px/1 var(--ck-font);
	color: var(--ck-ink) !important;
	text-decoration: none !important;
	transition: background-color .2s var(--ck-ease);
}

.nk-pill span { font-size: 15px; line-height: 1; color: var(--ck-muted); }

.nk-pill:hover { background: var(--ck-line); }

.nk-tb__clear { margin-left: 4px; font: 500 12.5px/1 var(--ck-font); color: var(--ck-ink) !important; text-decoration: underline !important; text-underline-offset: 4px; }

@media (max-width: 767px) {
	.nk-tb__bar { flex-wrap: wrap; gap: 0; min-height: 0; }

	.nk-cats {
		flex-wrap: nowrap;
		width: calc(100% + 20px);
		margin-right: -20px;
		padding: 12px 20px 12px 0;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
		        mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
	}

	.nk-cats::-webkit-scrollbar { display: none; }

	.nk-cats .nk-chip { flex: 0 0 auto; }

	.nk-tb__end { width: 100%; margin: 0; padding: 10px 0; border-top: 1px solid var(--ck-line); justify-content: space-between; }

	.nk-tb .nk-sort { display: none; }

	.nk-tb__filter-m { display: inline; }
}

/* ========================================================================== Filter drawer */
html.nk-fd-open { overflow: hidden; }

.nk-fd { position: fixed; inset: 0; z-index: 99999; }

.nk-fd[hidden] { display: none; }

.nk-fd__scrim { position: absolute; inset: 0; background: rgba(19, 34, 63, .32); opacity: 0; transition: opacity .28s var(--ck-ease); }

.nk-fd__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(440px, 100%);
	margin: 0;
	background: var(--ck-paper);
	color: var(--ck-ink);
	font-family: var(--ck-font);
	transform: translateX(100%);
	transition: transform .32s var(--ck-ease);
}

.nk-fd.is-open .nk-fd__scrim { opacity: 1; }

.nk-fd.is-open .nk-fd__panel { transform: none; }

.nk-fd__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--ck-line); }

.nk-fd .nk-fd__head h2 { margin: 0; font: 600 12px/1 var(--ck-font); letter-spacing: .14em; text-transform: uppercase; color: var(--ck-navy); }

.nk-fd .nk-fd__x,
.nk-fd .nk-fd__x:hover,
.nk-fd .nk-fd__x:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: -10px -12px -10px 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--ck-navy);
	cursor: pointer;
}

.nk-fd__body { flex: 1 1 auto; overflow-y: auto; padding: 4px 24px 24px; overscroll-behavior: contain; }

.nk-fd__g { margin: 0; padding: 20px 0 24px; border: 0; border-bottom: 1px solid var(--ck-line); min-width: 0; }

.nk-fd__g:last-child { border-bottom: 0; }

.nk-fd__g legend {
	float: left;
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
	font: 600 11px/1 var(--ck-font);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ck-ink);
}

.nk-fd__note { margin-left: 6px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--ck-muted); }

.nk-fd__opts { clear: both; }

.nk-fd__opts--list { display: grid; gap: 2px; }

.nk-fd__opts--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.nk-opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 40px; margin: 0; font: 500 14px/1.3 var(--ck-font); color: var(--ck-ink); cursor: pointer; }

.nk-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }

.nk-opt small { margin-left: auto; font-size: 12px; color: var(--ck-muted); font-variant-numeric: tabular-nums; }

.nk-fd__opts--list .nk-opt::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border: 1px solid #B9BCC4;
	border-radius: 50%;
	box-shadow: inset 0 0 0 4px var(--ck-paper);
	transition: background-color .15s, border-color .15s;
}

.nk-fd__opts--list .nk-opt:has(input:checked)::before { background: var(--ck-navy); border-color: var(--ck-navy); }

.nk-fd__opts--list .nk-opt:has(input:focus-visible)::before { outline: 2px solid var(--ck-navy); outline-offset: 2px; }

.nk-opt--box { min-height: 44px; padding: 0 12px; border: 1px solid var(--ck-line); transition: border-color .15s, box-shadow .15s; }

.nk-opt--box:hover { border-color: var(--ck-navy); }

.nk-opt--box:has(input:checked) { border-color: var(--ck-navy); box-shadow: inset 0 0 0 1px var(--ck-navy); }

.nk-opt--box:has(input:focus-visible) { outline: 2px solid var(--ck-navy); outline-offset: 2px; }

.nk-opt.is-off { opacity: .4; cursor: not-allowed; }

.nk-opt.is-off:hover { border-color: var(--ck-line); }

.nk-sw { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: var(--sw, var(--ck-cream)); box-shadow: inset 0 0 0 1px rgba(19, 34, 63, .18); }

.nk-sw--multicolour { background: conic-gradient(#EBC3CB, #F2D9A8, #B9D8C8, #B9CDE2, #CDBBE0, #EBC3CB); }

.nk-fd__foot { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ck-line); }

.nk-fd .nk-fd__reset,
.nk-fd .nk-fd__reset:hover,
.nk-fd .nk-fd__reset:focus {
	min-height: 52px;
	padding: 0 20px;
	border: 1px solid var(--ck-line);
	border-radius: 0;
	background: var(--ck-paper);
	color: var(--ck-ink);
	font: 600 12px/1 var(--ck-font);
	letter-spacing: .14em;
	text-transform: uppercase;
	cursor: pointer;
}

.nk-fd .nk-fd__reset:hover { border-color: var(--ck-navy); }

.nk-fd .nk-fd__apply,
.nk-fd .nk-fd__apply:hover,
.nk-fd .nk-fd__apply:focus {
	min-height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	background: var(--ck-navy);
	color: #fff;
	font: 600 12px/1 var(--ck-font);
	letter-spacing: .14em;
	text-transform: uppercase;
	cursor: pointer;
}

.nk-fd .nk-fd__apply:hover { background: #0B1830; }

.nk-fd .nk-fd__apply:disabled { background: var(--ck-line); color: var(--ck-muted); cursor: not-allowed; }

.nk-fd__reset:focus-visible,
.nk-fd__apply:focus-visible,
.nk-fd__x:focus-visible { outline: 2px solid var(--ck-navy) !important; outline-offset: 2px; }

/* ========================================================================== Editorial band (inside the grid, full width) */
.atl-grid .nk-edit {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 20px;
	margin: 8px 0;
	background: var(--ck-cream);
}

.atl-grid .nk-edit .nk-edit__img {
	grid-column: span 2;
	width: 100%;
	height: 100%;
	min-height: 420px;
	max-height: 620px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center 18%;
	display: block;
}

.nk-edit__txt { display: flex; flex-direction: column; justify-content: center; padding: 48px 40px 48px 20px; }

.atl-grid .nk-edit__eyebrow { margin: 0 0 16px; font: 600 11px/1 var(--ck-font); letter-spacing: .16em; text-transform: uppercase; color: var(--ck-muted); }

.atl-grid .nk-edit__h { margin: 0 0 16px; font: 400 clamp(26px, 2.4vw, 36px)/1.15 var(--ck-font); letter-spacing: -.01em; color: var(--ck-navy); text-transform: none; }

.atl-grid .nk-edit__p { margin: 0 0 28px; max-width: 34ch; font: 400 15px/1.65 var(--ck-font); color: var(--ck-ink); }

.nk-edit__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }

.atl-grid .nk-edit__links a {
	font: 600 12px/1 var(--ck-font);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ck-navy);
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1px;
	white-space: nowrap;
}

.atl-grid .nk-edit__links a:hover { text-decoration-thickness: 2px; }

@media (max-width: 1024px) {
	.atl-grid .nk-edit { grid-template-columns: minmax(0, 1fr); }
	.atl-grid .nk-edit .nk-edit__img { grid-column: auto; min-height: 0; aspect-ratio: 4 / 3; }
	.nk-edit__txt { padding: 32px 24px 36px; }
}

/* ========================================================================== Load more */
.nk-more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 72px; font-family: var(--ck-font); }

.nk-more__txt { margin: 0; font-size: 13px; color: var(--ck-muted); font-variant-numeric: tabular-nums; }

.nk-more__bar { position: relative; display: block; width: 200px; height: 2px; background: var(--ck-line); overflow: hidden; }

.nk-more__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ck-navy); transition: width .4s var(--ck-ease); }

.nk-more__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 52px;
	margin-top: 10px;
	padding: 0 28px;
	border: 1px solid var(--ck-navy);
	color: var(--ck-navy) !important;
	font: 600 12px/1 var(--ck-font);
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background-color .2s var(--ck-ease), color .2s var(--ck-ease);
}

.nk-more__btn:hover { background: var(--ck-navy); color: #fff !important; }

.nk-more__btn:focus-visible { outline: 2px solid var(--ck-navy); outline-offset: 3px; }

.nk-more__btn.is-loading { pointer-events: none; opacity: .6; }

@media (prefers-reduced-motion: reduce) {
	.nk-fd__panel, .nk-fd__scrim, .nk-heart .tinvwl_add_to_wishlist_button::before { transition: none; animation: none; }
}
.nk-fd__panel:focus { outline: none; }

/* Sorting lives in the dropdown on desktop; in the drawer only on phones */
@media (min-width: 768px) {
	.nk-fd__g--sort, .nk-fd__m { display: none; }
	.nk-fd__g:nth-last-child(2) { border-bottom: 0; }
}
