/* nunshen-search — search sheet. Brand: CORE SANS, crème + black, 1 px hairlines, radius 1 px, no letter-spacing.
   Desktop: a panel that drops over the top of the page; phones: full screen. */

.elementor-location-header .e-search-results-container { display: none !important; } /* Elementor's own live results (unused) */
/* The header's search icon opens the sheet: never show the old little search dropdown (it also opened on hover). */
.elementor-location-header .e-n-menu-item:has(.elementor-widget-search) .e-n-menu-content { display: none !important; }
html.nsr-open { overflow: hidden; }

.nsr {
	position: fixed;
	inset: 0;
	z-index: 100000;
	font-family: var(--nui-font, "CORE SANS", sans-serif);
	color: var(--nui-black, #000);
}
.nsr[hidden] { display: none; }
.nsr__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .35);
	opacity: 0;
	transition: opacity .18s ease;
}
.nsr__panel {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	max-height: min(88vh, 820px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--nui-creme, #F4F0EC);
	box-shadow: var(--nui-shadow, 0 4px 20px rgba(0, 0, 0, .12));
	transform: translateY(-12px);
	opacity: 0;
	transition: transform .18s ease, opacity .18s ease;
}
.nsr.is-open .nsr__backdrop { opacity: 1; }
.nsr.is-open .nsr__panel { transform: none; opacity: 1; }

/* search bar */
.nsr__bar {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 28px 0 0;
	background: var(--nui-creme, #F4F0EC);
}
.nsr__bar::after { /* hairline under the field; turns into a running line while loading */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background: var(--nui-black, #000);
}
.nsr.is-loading .nsr__bar::after { animation: nsr-load 1s linear infinite; background: linear-gradient(90deg, #000 0 30%, #E3DED8 30% 100%); background-size: 200% 100%; }
@keyframes nsr-load { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.nsr__icon {
	flex: none;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
}
.nsr .nsr__input {
	flex: 1;
	min-width: 0;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	outline: none;
	font-family: inherit;
	font-size: 24px;
	font-weight: var(--nui-w-light, 200);
	color: inherit;
	-webkit-appearance: none;
	appearance: none;
}
.nsr__input::placeholder { color: #8A8580; opacity: 1; }
.nsr__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.nsr .nsr__close {
	flex: none;
	margin: 0;
	padding: 8px 0 8px 12px;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: var(--nui-w-regular, 400);
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.nsr .nsr__close:hover { background: none; color: inherit; text-decoration-thickness: 2px; }

/* body: side column (popular / categories) + results */
.nsr__body {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 48px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 28px 0 36px;
}
.nsr__label {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: var(--nui-w-bold, 600);
	text-transform: uppercase;
	line-height: 1.3;
}
.nsr__label span { font-weight: var(--nui-w-light, 200); text-transform: none; margin-left: 6px; }
.nsr__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.nsr .nsr__chip {
	margin: 0;
	padding: 7px 13px;
	border: 1px solid var(--nui-black, #000);
	border-radius: var(--nui-radius, 1px);
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	font-weight: var(--nui-w-regular, 400);
	line-height: 1.2;
	color: inherit;
	cursor: pointer;
}
.nsr .nsr__chip:hover, .nsr .nsr__chip:focus-visible { background: var(--nui-black, #000); color: #fff; }
.nsr__links, .nsr__terms, .nsr__products { list-style: none; margin: 0; padding: 0; }
.nsr .nsr__link {
	display: block;
	padding: 6px 0;
	font-size: 15px;
	font-weight: var(--nui-w-regular, 400);
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.nsr .nsr__term {
	display: flex;
	flex-direction: column;
	padding: 9px 0;
	border-bottom: 1px solid var(--nui-line, #E3DED8);
	color: inherit;
	text-decoration: none;
}
.nsr__term span { font-size: 15px; font-weight: var(--nui-w-regular, 400); }
.nsr__term small { font-size: 12px; font-weight: var(--nui-w-light, 200); color: #6F6A65; }
.nsr .nsr__term:hover span, .nsr .nsr__term.is-active span { text-decoration: underline; text-underline-offset: 3px; }

/* products */
.nsr__products {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 16px;
}
.nsr .nsr__product {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 8px 12px 8px 8px;
	border: 1px solid transparent;
	border-radius: var(--nui-radius, 1px);
	background: #fff;
	color: inherit;
	text-decoration: none;
}
.nsr .nsr__product:hover, .nsr .nsr__product.is-active { border-color: var(--nui-black, #000); }
.nsr__thumb { width: 64px; height: 64px; background: var(--nui-creme, #F4F0EC); }
.nsr__thumb img { display: block; width: 64px; height: 64px; object-fit: cover; }
.nsr__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nsr__name { font-size: 14px; font-weight: var(--nui-w-regular, 400); line-height: 1.3; }
.nsr__num { font-weight: var(--nui-w-bold, 600); margin-right: 6px; }
.nsr__type { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: var(--nui-w-light, 200); color: #4A4643; }
.nsr__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #C9C3BC; }
.nsr__dot--vert { background: var(--nui-the-vert, #A6B340); }
.nsr__dot--noir { background: var(--nui-the-noir, #7D4E5B); }
.nsr__dot--oolong { background: var(--nui-oolong, #5F8289); }
.nsr__dot--blanc { background: var(--nui-the-blanc, #C2C7CA); }
.nsr__dot--pu-erh { background: var(--nui-pu-erh, #696056); }
.nsr__dot--infusion { background: var(--nui-infusion, #D2BA92); }
.nsr__dot--rooibos { background: var(--nui-rooibos, #F39662); }
.nsr__dot--jaune { background: var(--nui-the-jaune, #F4CF81); }
.nsr__price { font-size: 14px; font-weight: var(--nui-w-bold, 600); white-space: nowrap; }
.nsr__price em { font-style: normal; font-size: 12px; font-weight: var(--nui-w-light, 200); color: #6F6A65; }
.nsr__product.is-soldout .nsr__thumb img { opacity: .55; }
.nsr mark { background: none; color: inherit; font-weight: var(--nui-w-bold, 600); }
.nsr .nsr__all {
	display: block;
	width: 100%;
	margin: 18px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--nui-black, #000);
	border-radius: var(--nui-radius, 1px);
	background: var(--nui-black, #000);
	font-family: inherit;
	font-size: 14px;
	font-weight: var(--nui-w-bold, 600);
	color: #fff;
	text-transform: uppercase;
	cursor: pointer;
}
.nsr .nsr__all:hover, .nsr .nsr__all.is-active { background: #fff; color: var(--nui-black, #000); }
.nsr__none { margin: 0 0 6px; font-size: 20px; font-weight: var(--nui-w-light, 200); }
.nsr__hint { margin: 0; font-size: 15px; font-weight: var(--nui-w-light, 200); }
.nsr__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nsr .nsr__item:focus-visible { outline: 2px solid var(--nui-black, #000); outline-offset: 2px; }

.nsr--noside .nsr__body { grid-template-columns: 1fr; }
.nsr--noside .nsr__side { display: none; }

@media (max-width: 1200px) {
	.nsr__bar, .nsr__body { margin: 0 32px; max-width: none; }
}
@media (max-width: 1024px) {
	.nsr__body { grid-template-columns: 1fr; gap: 24px; }
}

/* phones: full screen, field on top */
@media (max-width: 767px) {
	.nsr__panel { bottom: 0; max-height: none; height: 100%; transform: translateY(16px); }
	.nsr__bar { margin: 0; padding: 10px 16px 0; gap: 10px; }
	.nsr__bar::after { left: 16px; right: 16px; }
	.nsr .nsr__input { height: 48px; font-size: 17px; }
	.nsr__icon { width: 20px; height: 20px; }
	.nsr__body { margin: 0; padding: 18px 16px 32px; gap: 22px; }
	.nsr__products { grid-template-columns: 1fr; }
	.nsr .nsr__product { grid-template-columns: 56px 1fr auto; gap: 12px; }
	.nsr__thumb, .nsr__thumb img { width: 56px; height: 56px; }
	.nsr__chips { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.nsr__panel, .nsr__backdrop { transition: none; }
	.nsr.is-loading .nsr__bar::after { animation: none; }
}
