/* NegarParde Header — RTL mega menu header. Desktop ≥1180px, drawer below. */

.nph,
.nph-drawer,
.nph-dock {
	--nph-primary: #eea41f;
	--nph-primary-2: #3a3a41;
	--nph-gold-2: #f7cd72;
	--nph-ink: #1f1f22;
	--nph-ink-2: #45454b;
	--nph-muted: #66666c;
	--nph-line: #ece6dc;
	/* Gold is 2:1 on white — it is light only. Text on light uses bronze, surfaces with white text use charcoal. */
	--nph-primary-ink: #8a5a0b;
	--nph-deep: color-mix(in srgb, var(--nph-primary-2) 62%, #000);
	--nph-soft: color-mix(in srgb, var(--nph-primary) 9%, #fff);
	/* Surfaces that used to be charcoal are light grey glass: lighter than the ink, heavier than the page. */
	--nph-grey: linear-gradient(150deg, rgba(219, 218, 226, .95), rgba(238, 237, 243, .86));
	--nph-grey-line: rgba(31, 31, 34, .1);
	--nph-on-grey: var(--nph-ink);
	/* The one loud surface: gold, and it only ever carries near-black text. */
	--nph-gold-grad: linear-gradient(135deg, var(--nph-gold-2), var(--nph-primary));
	--nph-on-gold: #2f2005;
	--nph-ring: color-mix(in srgb, var(--nph-primary) 35%, transparent);
	--nph-grad: linear-gradient(135deg, var(--nph-deep), var(--nph-primary-2));
	--nph-h: 76px;
	--nph-ease: cubic-bezier(.22, .8, .24, 1);
	font-family: "YekanBakh", "IRANYekanX", iranyekanx, Vazirmatn, Tahoma, system-ui, sans-serif;
	direction: rtl;
	text-align: right;
	color: var(--nph-ink);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.nph *, .nph *::before, .nph *::after,
.nph-drawer *, .nph-drawer *::before, .nph-drawer *::after,
.nph-dock *, .nph-dock *::before, .nph-dock *::after { box-sizing: border-box; }
.nph ul, .nph-drawer ul { list-style: none; margin: 0; padding: 0; }
.nph a, .nph-drawer a, .nph-dock a { text-decoration: none; color: inherit; }
.nph svg, .nph-drawer svg, .nph-dock svg { display: block; flex-shrink: 0; }

/*
 * Neutralise theme / Elementor kit button styles. Base state only: this (0,2,2) selector already beats
 * Hello's [type=button]:hover (0,2,0) and kit button:hover (0,2,1) in every state. Adding :hover here
 * made it outrank the components' own base rules on hover (radius/padding reset → button jumped).
 */
body :is(.nph, .nph-drawer) button.nph-b {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

:is(.nph, .nph-drawer) a:focus-visible,
body :is(.nph, .nph-drawer) button.nph-b:focus-visible {
	outline: 2px solid var(--nph-primary);
	outline-offset: 2px;
}

/* ---------- Bar ---------- */

.nph { --nph-rail-h: 54px; position: relative; z-index: 990; height: calc(var(--nph-h) + var(--nph-rail-h) + 30px); }

.nph-bar { position: absolute; top: 0; right: 0; left: 0; padding: 12px 16px; }

.nph.is-stuck .nph-bar {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	padding-top: 8px;
}

/* ---------- Category rail (second tier) ---------- */

.nph-rail {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 1320px;
	height: var(--nph-rail-h);
	margin: 8px auto 0;
	padding: 0 14px;
	border-radius: 18px;
	animation: nph-in .9s var(--nph-ease) .1s backwards;
	transition: height .35s var(--nph-ease), margin .35s var(--nph-ease);
}
.nph-rail::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: inherit;
	background: var(--nph-grey);
	-webkit-backdrop-filter: blur(18px) saturate(170%);
	backdrop-filter: blur(18px) saturate(170%);
	border: 1px solid rgba(255, 255, 255, .8);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px var(--nph-grey-line), 0 14px 34px -22px rgba(38, 30, 20, .5);
	transition: box-shadow .35s ease;
}
/* Sticky: the rail thins out so the two tiers stay compact while scrolling. */
.nph.is-stuck .nph-rail { height: 46px; margin-top: 6px; }

.nph-rail-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	margin-right: auto;
	padding: 8px 14px 8px 8px;
	border-radius: 13px;
	background: rgba(255, 255, 255, .72);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px var(--nph-grey-line);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--nph-ink);
	white-space: nowrap;
	transition: box-shadow .25s ease, transform .3s var(--nph-ease), color .2s ease;
}
.nph-rail-cta:hover {
	transform: translateY(-2px);
	color: var(--nph-primary-ink);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 0 0 1px color-mix(in srgb, var(--nph-primary) 45%, transparent), 0 12px 24px -14px color-mix(in srgb, var(--nph-primary) 60%, transparent);
}
.nph-rail-cta-ico {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: var(--nph-gold-grad);
	color: var(--nph-on-gold);
}
.nph-rail-cta-ico svg { width: 17px; height: 17px; }

/* ---------- Search field inside the bar ---------- */

.nph-quick { flex: 1 1 auto; min-width: 0; max-width: 520px; margin: 0 8px; }
.nph-quick .nph-search-form { height: 48px; background: rgba(255, 255, 255, .72); }
/* With the field in the bar, the magnifier button is only needed below the desktop breakpoint. */
@media (min-width: 1180px) { body .nph button.nph-search-btn { display: none; } }
body .nph .nph-quick button.nph-search-go { height: 38px; padding: 0 16px; }

/*
 * Glass lives on ::before, not on the shell itself: an element with backdrop-filter becomes a
 * "backdrop root", which would stop the dropdown cards inside it from blurring the page.
 * For the same reason, never put filter/opacity<1/transform animations with fill "both" on ancestors of .nph-card.
 */
.nph-shell {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 1320px;
	height: var(--nph-h);
	margin: 0 auto;
	padding: 0 22px 0 12px;
	justify-content: space-between;
	border-radius: 22px;
	transition: height .35s var(--nph-ease);
	animation: nph-in .8s var(--nph-ease) backwards;
}

.nph-shell::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5));
	-webkit-backdrop-filter: blur(22px) saturate(180%);
	backdrop-filter: blur(22px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, .75);
	box-shadow:
		0 0 0 1px rgba(15, 23, 42, .05),
		inset 0 1px 0 rgba(255, 255, 255, .95),
		0 12px 40px -18px rgba(38, 30, 20, .28);
	transition: box-shadow .35s ease, background .35s ease;
}

/*
 * Light that travels around the whole border. The ring is a conic gradient masked down to a 1.5px frame
 * (padding-box cut out of border-box); --nph-orbit turns it. Browsers without @property show a still, faint ring.
 */
@property --nph-orbit {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}
.nph-shell::after {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1.5px;
	border-radius: inherit;
	background: conic-gradient(
		from var(--nph-orbit),
		transparent 0deg,
		transparent 250deg,
		color-mix(in srgb, var(--nph-primary) 35%, transparent) 290deg,
		var(--nph-primary) 330deg,
		var(--nph-gold-2) 350deg,
		transparent 360deg
	);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	filter: drop-shadow(0 0 3px color-mix(in srgb, var(--nph-primary) 55%, transparent));
	pointer-events: none;
	animation: nph-orbit 7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
	.nph-shell::after { animation: none; }
}
@keyframes nph-orbit {
	to { --nph-orbit: 360deg; }
}

.nph.is-stuck .nph-shell { height: calc(var(--nph-h) - 10px); }
.nph.is-stuck .nph-shell::before {
	background: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .42));
	box-shadow:
		0 0 0 1px rgba(15, 23, 42, .06),
		inset 0 1px 0 rgba(255, 255, 255, .95),
		0 22px 50px -20px rgba(38, 30, 20, .38);
}

@keyframes nph-in {
	from { opacity: 0; transform: translateY(-18px) scale(.98); }
}
@keyframes nph-up {
	from { opacity: 0; transform: translateY(10px); }
}
@keyframes nph-grad {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}
@keyframes nph-logo-shine {
	0%, 62% { background-position: 150% 0, 0 0; }
	100% { background-position: -50% 0, 0 0; }
}
@keyframes nph-halo {
	from { opacity: .55; transform: scale(.9); }
	to { opacity: 1; transform: scale(1.08); }
}
@keyframes nph-float {
	from { transform: translate(0, 0) scale(1); }
	to { transform: translate(-30px, 24px) scale(1.2); }
}

.nph-logo { --nph-logo-h: 48px; position: relative; isolation: isolate; display: inline-flex; align-items: center; flex-shrink: 0; line-height: 0; }
/*
 * Size is forced: Elementor ships `.elementor img { height: auto; max-width: 100% }` with the same specificity,
 * loaded later — without !important the logo renders at its file size (v1.7.2 bug: 300x148 logo overflowed the bar).
 */
body :is(.nph, .nph-drawer) .nph-logo img {
	position: relative;
	display: block;
	width: auto !important;
	height: var(--nph-logo-h) !important;
	max-width: 200px !important;
	max-height: none !important;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: contain;
}

/* Soft brand halo breathing behind the logo. */
.nph-logo-halo {
	position: absolute;
	z-index: -1;
	inset: -14px -22px;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--nph-primary) 26%, transparent), transparent);
	pointer-events: none;
	animation: nph-halo 3.2s ease-in-out infinite alternate;
}

/* Light streak across the logo. Text logos: an extra background layer clipped to the glyphs. */
.nph-logo-text {
	position: relative;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.3px;
	background:
		linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, .9) 50%, transparent 58%) no-repeat,
		linear-gradient(135deg, var(--nph-primary-ink), var(--nph-ink));
	background-size: 250% 100%, 100% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: nph-logo-shine 4.5s ease-in-out infinite;
}

/* Image logos: the streak is masked by the logo file itself, so only its pixels light up. */
.nph-logo--img::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, .85) 50%, transparent 58%) no-repeat,
		linear-gradient(transparent, transparent);
	background-size: 250% 100%, 100% 100%;
	-webkit-mask: var(--nph-logo-mask) center / contain no-repeat;
	mask: var(--nph-logo-mask) center / contain no-repeat;
	pointer-events: none;
	animation: nph-logo-shine 4.5s ease-in-out infinite;
}

.nph-sep { flex-shrink: 0; width: 1px; height: 28px; background: var(--nph-line); }

.nph-empty {
	font-size: 13px;
	color: #b45309;
	padding: 6px 10px;
	border: 1px dashed #f59e0b;
	border-radius: 10px;
}

/* ---------- Desktop nav ---------- */

.nph-nav { display: flex; align-self: stretch; flex: 0 1 auto; min-width: 0; }
.nph-nav > .nph-menu { display: flex; align-items: stretch; gap: 2px; }
.nph-nav > .nph-empty { align-self: center; }

.nph-nav .nph-item--d0 {
	position: relative;
	display: flex;
	align-items: center;
	animation: nph-up .6s var(--nph-ease) backwards;
}
.nph-nav .nph-item--d0:nth-child(1) { animation-delay: .15s; }
.nph-nav .nph-item--d0:nth-child(2) { animation-delay: .2s; }
.nph-nav .nph-item--d0:nth-child(3) { animation-delay: .25s; }
.nph-nav .nph-item--d0:nth-child(4) { animation-delay: .3s; }
.nph-nav .nph-item--d0:nth-child(5) { animation-delay: .35s; }
.nph-nav .nph-item--d0:nth-child(6) { animation-delay: .4s; }
.nph-nav .nph-item--d0:nth-child(7) { animation-delay: .45s; }
.nph-nav .nph-item--d0:nth-child(n+8) { animation-delay: .5s; }
.nph-nav .nph-item--d0.nph-has-mega { position: static; }

.nph-nav .nph-item--d0 > .nph-row { position: relative; z-index: 1; display: flex; align-items: center; }

.nph .nph-nav .nph-item--d0 > .nph-row > .nph-link {
	display: flex;
	align-items: center;
	padding: 9px 13px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--nph-ink-2);
	white-space: nowrap;
	transition: color .2s ease;
}
.nph .nph-nav .nph-has-sub > .nph-row > .nph-link { padding-left: 2px; }
.nph-nav .nph-item--d0 > .nph-row .nph-ico,
.nph-nav .nph-item--d0 > .nph-row .nph-desc { display: none; }

.nph .nph-nav .nph-item--d0:hover > .nph-row > .nph-link,
.nph .nph-nav .nph-item--d0.is-open > .nph-row > .nph-link,
.nph .nph-nav .nph-item--d0.nph-current > .nph-row > .nph-link { color: var(--nph-primary-ink); }

.nph-nav .nph-item--d0.nph-current > .nph-row::after {
	content: "";
	position: absolute;
	right: 50%;
	bottom: -5px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--nph-primary);
	transform: translateX(50%);
}

body .nph .nph-nav button.nph-toggle,
body .nph .nph-nav button.nph-toggle:focus {
	display: grid;
	place-items: center;
	width: 30px;
	height: 38px;
	padding-left: 8px;
	border-radius: 12px;
	color: var(--nph-muted);
}
body .nph .nph-nav button.nph-toggle:hover,
body .nph .nph-nav .is-open > .nph-row > button.nph-toggle { color: var(--nph-primary-ink); }
.nph-toggle svg { width: 16px; height: 16px; transition: transform .3s var(--nph-ease); }
.nph-nav .is-open > .nph-row > .nph-toggle svg,
.nph-mnav .is-open > .nph-row > .nph-toggle svg { transform: rotate(180deg); }

/* Sliding hover pill (inserted by JS into .nph-shell). */
.nph-indicator {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	border-radius: 12px;
	background: color-mix(in srgb, var(--nph-primary) 10%, rgba(255, 255, 255, .7));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 18px -10px color-mix(in srgb, var(--nph-primary) 60%, transparent);
	opacity: 0;
	pointer-events: none;
	transition: transform .38s var(--nph-ease), width .38s var(--nph-ease), height .38s var(--nph-ease), opacity .2s ease;
}
.nph-indicator.is-on { opacity: 1; }
.nph-indicator.is-snap { transition: opacity .2s ease; }

.nph .nph-badge,
.nph-drawer .nph-badge {
	display: inline-block;
	margin-right: 6px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--nph-gold-grad);
	color: var(--nph-on-gold);
	font-size: 10.5px;
	font-weight: 700;
	line-height: 18px;
	vertical-align: 2px;
	white-space: nowrap;
}

/* ---------- Desktop panels ---------- */

.nph-nav .nph-panel {
	position: absolute;
	top: 100%;
	z-index: 20;
	padding-top: 10px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s ease, visibility 0s linear .3s;
}
.nph-nav .is-open > .nph-panel,
.nph:not(.nph-js) .nph-nav .nph-item--d0:hover > .nph-panel,
.nph:not(.nph-js) .nph-nav .nph-item--d0:focus-within > .nph-panel {
	opacity: 1;
	visibility: visible;
	transition: opacity .25s ease, visibility 0s;
}

.nph-nav .nph-panel--drop { right: 0; width: 330px; }
.nph-nav .nph-panel--mega { right: 0; left: 0; }
.nph-rail .nph-panel { padding-top: 12px; }

.nph-card {
	padding: 10px;
	background: #fff;
	border: 1px solid var(--nph-line);
	border-radius: 20px;
	box-shadow: 0 30px 60px -24px rgba(15, 23, 42, .28), 0 4px 12px -4px rgba(15, 23, 42, .06);
}

/* Frosted card that springs open. */
.nph-nav .nph-card {
	--mx: -999px;
	--my: -999px;
	position: relative;
	overflow: hidden;
	/* First layer: soft spotlight that follows the cursor (JS sets --mx/--my). */
	background:
		radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--nph-primary) 10%, transparent), transparent 65%),
		linear-gradient(160deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .66));
	-webkit-backdrop-filter: blur(26px) saturate(180%);
	backdrop-filter: blur(26px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, .8);
	box-shadow:
		0 0 0 1px rgba(15, 23, 42, .06),
		inset 0 1px 0 #fff,
		0 34px 70px -26px rgba(38, 30, 20, .4);
	transform: translateY(12px) scale(.97);
	transform-origin: 50% 0;
	transition: transform .45s var(--nph-ease);
}
.nph-nav .nph-panel--drop > .nph-card { transform-origin: 85% 0; }
.nph-nav .is-open > .nph-panel > .nph-card,
.nph:not(.nph-js) .nph-nav .nph-item--d0:hover > .nph-panel > .nph-card,
.nph:not(.nph-js) .nph-nav .nph-item--d0:focus-within > .nph-panel > .nph-card { transform: none; }

/* Soft brand glow inside the card. */
.nph-nav .nph-card::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -120px;
	right: -80px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--nph-primary) 16%, transparent), transparent 70%);
	pointer-events: none;
}
.nph-nav .nph-card { isolation: isolate; }

/* Border that lights up next to the cursor. */
.nph-nav .nph-card::after {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: inherit;
	background: radial-gradient(240px circle at var(--mx) var(--my), color-mix(in srgb, var(--nph-primary) 75%, transparent), transparent 70%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

/* Same spotlight on the bar itself (element inserted by JS). */
.nph-spot {
	position: absolute;
	z-index: 0;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(280px circle at var(--mx, -999px) var(--my, -999px), color-mix(in srgb, var(--nph-primary) 13%, transparent), transparent 70%);
	pointer-events: none;
}
.nph-nav .nph-panel--mega > .nph-card { padding: 22px; }

/* Items cascade in once the panel opens (indices set by JS). Close is instant. */
.nph-js .nph-nav .nph-sub--d1 > .nph-item,
.nph-js .nph-nav .nph-panel--mega .nph-sub--d2 > .nph-item {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease;
}
.nph-js .nph-nav .is-open .nph-sub--d1 > .nph-item,
.nph-js .nph-nav .is-open .nph-panel--mega .nph-sub--d2 > .nph-item {
	opacity: 1;
	transform: none;
	transition: opacity .4s ease, transform .5s var(--nph-ease);
	transition-delay: calc(var(--i, 0) * 55ms + var(--j, 0) * 40ms + 70ms);
}

.nph .nph-sub .nph-link,
.nph-drawer .nph-sub .nph-link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px;
	border-radius: 14px;
	color: var(--nph-ink);
	transition: background-color .2s ease;
}
.nph .nph-sub .nph-link:hover,
.nph .nph-sub .nph-link:focus-visible,
.nph-drawer .nph-sub .nph-link:hover { background: var(--nph-soft); }

.nph-sub .nph-ico {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--nph-soft);
	color: var(--nph-primary-ink);
	transition: background .25s ease, color .25s ease, transform .3s var(--nph-ease);
}
.nph-sub .nph-ico svg { width: 20px; height: 20px; }
.nph-sub .nph-link:hover .nph-ico {
	background: var(--nph-gold-grad);
	color: var(--nph-on-gold);
	transform: translateY(-1px) rotate(-6deg);
}

/*
 * Light sweep across icon tiles (same streak as the login button): once as the panel/drawer opens,
 * again on hover. Hover uses a second keyframe name so the animation restarts.
 */
:is(.nph, .nph-drawer) .nph-ico,
:is(.nph, .nph-drawer) .nph-promo-ico,
.nph-call-ico { position: relative; overflow: hidden; }
:is(.nph, .nph-drawer) .nph-ico::after,
:is(.nph, .nph-drawer) .nph-promo-ico::after,
.nph-call-ico::after {
	content: "";
	position: absolute;
	top: -20%;
	bottom: -20%;
	left: -90%;
	width: 55%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
	transform: skewX(-20deg);
	pointer-events: none;
}
.nph-js .nph-nav .is-open .nph-ico::after,
.nph-js .nph-nav .is-open .nph-promo-ico::after {
	animation: nph-sweep .9s ease-in-out backwards;
	animation-delay: calc(var(--i, 0) * 55ms + var(--j, 0) * 40ms + 380ms);
}
.nph-drawer.is-open .nph-mnav .nph-item--d0 > .nph-row .nph-ico::after,
.nph-drawer.is-open .nph-call-ico::after {
	animation: nph-sweep .9s ease-in-out backwards;
	animation-delay: calc(var(--i, 0) * 60ms + 420ms);
}
:is(.nph, .nph-drawer) .nph-link:hover .nph-ico::after,
:is(.nph, .nph-drawer) .nph-promo-card:hover .nph-promo-ico::after,
.nph-call:hover .nph-call-ico::after {
	animation: nph-sweep-hover .75s ease-in-out;
}
@keyframes nph-sweep { from { left: -90%; } to { left: 140%; } }
@keyframes nph-sweep-hover { from { left: -90%; } to { left: 140%; } }

.nph-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.nph-sub .nph-title { font-size: 14.5px; font-weight: 700; line-height: 1.6; color: var(--nph-ink); transition: color .2s ease; }
.nph-sub .nph-desc { font-size: 12.5px; line-height: 1.7; color: var(--nph-muted); }

/* Small secondary title, e.g. an English name under a Persian title. */
.nph-subtitle {
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: .2px;
	text-align: right;
	color: var(--nph-primary-ink);
}
.nph-sub .nph-link:hover .nph-subtitle { color: var(--nph-primary-2); }
.nph-nav .nph-item--d0 > .nph-row .nph-subtitle { display: none; }
.nph-drawer .nph-mnav .nph-item--d0 > .nph-row .nph-subtitle { font-size: 11px; }
.nph-sub .nph-link:hover .nph-title { color: var(--nph-primary-ink); }

.nph-sub--d2 .nph-sub--d3,
.nph-panel--drop .nph-sub--d2 { padding-right: 52px; }
.nph-panel--drop .nph-sub--d2 .nph-link { padding: 6px 10px; }
.nph-panel--drop .nph-sub--d2 .nph-title { font-size: 13.5px; font-weight: 600; }

/* Mega grid */
.nph-nav .nph-panel--mega .nph-sub--d1 {
	display: grid;
	grid-template-columns: repeat(var(--nph-cols, 3), minmax(0, 1fr));
	gap: 8px 22px;
}
.nph-nav .nph-panel--promo .nph-promo { grid-column: 1 / -1; margin-top: 6px; }

/* Mega column heading */
.nph .nph-panel--mega .nph-item--d1 > .nph-row > .nph-link,
.nph-drawer .nph-panel--mega .nph-item--d1 > .nph-row > .nph-link {
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	padding: 7px 10px;
	border-radius: 12px;
	background: var(--nph-grey);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.nph-panel--mega .nph-item--d1 > .nph-row .nph-title { font-size: 13px; font-weight: 800; color: var(--nph-ink); }
.nph-panel--mega .nph-item--d1 > .nph-row .nph-desc { display: none; }
.nph-panel--mega .nph-item--d1 > .nph-row .nph-ico { width: 28px; height: 28px; border-radius: 9px; }
.nph-panel--mega .nph-item--d1 > .nph-row .nph-ico svg { width: 16px; height: 16px; }
.nph-panel--mega .nph-item--d1 > .nph-row .nph-link:hover .nph-ico { background: var(--nph-soft); color: var(--nph-primary-ink); transform: none; }

/* Promo card */
.nph .nph-promo-card,
.nph-drawer .nph-promo-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	min-height: 230px;
	padding: 22px;
	overflow: hidden;
	border-radius: 16px;
	background: var(--nph-grey);
	-webkit-backdrop-filter: blur(16px) saturate(170%);
	backdrop-filter: blur(16px) saturate(170%);
	color: var(--nph-on-grey);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px var(--nph-grey-line), 0 18px 40px -20px rgba(38, 30, 20, .45);
	transition: transform .4s var(--nph-ease), box-shadow .3s ease;
}
.nph .nph-promo-card:hover { transform: translateY(-3px); }

/* Mega promo is a wide strip: icon, text and the button on one line. */
.nph-panel--mega .nph-promo-card {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	min-height: 0;
	padding: 16px 18px;
}
.nph-panel--mega .nph-promo-card .nph-promo-title { margin-top: 0; font-size: 15.5px; }
.nph-panel--mega .nph-promo-card .nph-promo-desc { flex: 1 1 auto; }
.nph-panel--mega .nph-promo-card .nph-promo-cta { margin: 0; }
.nph-panel--mega .nph-promo-card > .nph-promo-title { flex-shrink: 0; }
.nph-promo-card::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -90px;
	left: -70px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--nph-primary) 34%, transparent), transparent 70%);
	animation: nph-float 7s ease-in-out infinite alternate;
}
/* Only animate the promo while its panel is visible. */
.nph-nav .nph-promo-card,
.nph-nav .nph-promo-card::before { animation-play-state: paused; }
.nph-nav .is-open .nph-promo-card,
.nph-nav .is-open .nph-promo-card::before { animation-play-state: running; }
.nph-promo-card::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image: radial-gradient(rgba(31, 31, 34, .13) 1px, transparent 1px);
	background-size: 14px 14px;
	-webkit-mask-image: linear-gradient(to top, #000, transparent 65%);
	mask-image: linear-gradient(to top, #000, transparent 65%);
}
.nph-promo-ico {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--nph-gold-grad);
	color: var(--nph-on-gold);
	box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--nph-primary) 80%, transparent);
}
.nph-promo-ico svg { width: 22px; height: 22px; }
.nph-promo-title { margin-top: 8px; font-size: 17px; font-weight: 800; line-height: 1.6; }
.nph-promo-desc { font-size: 13px; line-height: 1.8; color: var(--nph-ink-2); }
.nph-promo-cta {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	margin-top: auto;
	padding: 8px 14px;
	border-radius: 11px;
	background: var(--nph-gold-grad);
	color: var(--nph-on-gold);
	font-size: 13px;
	font-weight: 800;
	box-shadow: 0 10px 20px -12px color-mix(in srgb, var(--nph-primary) 85%, transparent);
}
.nph-promo-cta svg { width: 16px; height: 16px; transition: transform .3s var(--nph-ease); }
.nph-promo-card:hover .nph-promo-cta svg { transform: translateX(-4px); }

/* ---------- Actions ---------- */

.nph-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: auto; }

.nph .nph-phone {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: 4px;
	padding-left: 16px;
	border-left: 1px solid var(--nph-line);
	color: var(--nph-ink);
}
.nph-phone-ico {
	position: relative;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--nph-soft);
	color: var(--nph-primary-ink);
	transition: background .25s ease, color .25s ease;
}
.nph-phone-ico::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	animation: nph-pulse 2.8s ease-out infinite;
}
.nph-phone-ico svg { width: 19px; height: 19px; }
.nph .nph-phone:hover .nph-phone-ico { background: var(--nph-gold-grad); color: var(--nph-on-gold); }
.nph-phone-text { display: flex; flex-direction: column; line-height: 1.4; }
.nph-phone-label { font-size: 12px; font-weight: 600; color: var(--nph-muted); }
.nph-phone-num { direction: ltr; text-align: right; font-size: 15px; font-weight: 800; letter-spacing: .3px; color: var(--nph-ink); }

@keyframes nph-pulse {
	0% { box-shadow: 0 0 0 0 var(--nph-ring); }
	70%, 100% { box-shadow: 0 0 0 12px transparent; }
}

.nph .nph-icon-btn,
body .nph button.nph-burger,
body .nph button.nph-burger:focus,
body .nph-drawer button.nph-close,
body .nph-drawer button.nph-close:focus {
	position: relative;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, .85);
	border-radius: 14px;
	background: rgba(255, 255, 255, .55);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, .06), inset 0 1px 0 #fff, 0 6px 16px -10px rgba(38, 30, 20, .3);
	color: var(--nph-ink-2);
	transition: box-shadow .25s ease, color .2s ease, background .2s ease, transform .3s var(--nph-ease);
}
.nph .nph-icon-btn:hover,
body .nph button.nph-burger:hover,
body .nph-drawer button.nph-close:hover {
	border-color: rgba(255, 255, 255, .85);
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--nph-primary) 35%, transparent), inset 0 1px 0 #fff, 0 10px 22px -10px color-mix(in srgb, var(--nph-primary) 55%, transparent);
	color: var(--nph-primary-ink);
	transform: translateY(-2px);
}
.nph-icon-btn svg, .nph-burger svg, .nph-close svg { width: 21px; height: 21px; }
body .nph button.nph-burger { display: none; }

.nph-cart-count {
	position: absolute;
	top: -6px;
	left: -6px;
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--nph-gold-grad);
	color: var(--nph-on-gold);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 0 0 2px #fff;
}
.nph-cart-count[data-count="0"] { display: none; }

.nph .nph-login {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 7px 0 18px;
	overflow: hidden;
	border-radius: 15px;
	background: var(--nph-grey);
	-webkit-backdrop-filter: blur(14px) saturate(160%);
	backdrop-filter: blur(14px) saturate(160%);
	color: var(--nph-on-grey);
	font-size: 14.5px;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px var(--nph-grey-line), 0 10px 24px -16px rgba(38, 30, 20, .5);
	transition: transform .25s var(--nph-ease), box-shadow .25s ease;
}
.nph .nph-login:hover {
	color: var(--nph-on-grey);
	transform: translateY(-2px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px color-mix(in srgb, var(--nph-primary) 45%, transparent), 0 14px 26px -14px color-mix(in srgb, var(--nph-primary) 55%, transparent);
}
.nph-login-ico {
	position: relative;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: var(--nph-gold-grad);
	color: var(--nph-on-gold);
	box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--nph-primary) 80%, transparent);
}
.nph-login-ico svg { width: 19px; height: 19px; }
.nph .nph-login--icon { width: 48px; padding: 0; justify-content: center; }
.nph-login--icon .nph-login-ico { background: none; box-shadow: none; color: var(--nph-ink-2); }
.nph-login--user .nph-login-ico::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 2px var(--nph-primary);
}

/* ---------- Logged-in user menu ---------- */

.nph .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.nph-user { position: relative; }

body .nph button.nph-user-btn,
body .nph button.nph-user-btn:focus {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 6px 0 12px;
	border: 1px solid rgba(255, 255, 255, .85);
	border-radius: 15px;
	background: rgba(255, 255, 255, .55);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, .06), inset 0 1px 0 #fff;
	color: var(--nph-ink);
	transition: background .2s ease, box-shadow .25s ease;
}
body .nph button.nph-user-btn:hover,
body .nph .nph-user.is-open button.nph-user-btn {
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--nph-primary) 35%, transparent), inset 0 1px 0 #fff, 0 10px 22px -12px rgba(38, 30, 20, .35);
	color: var(--nph-ink);
}

.nph-user-avatar,
.nph-account-initial {
	position: relative;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: var(--nph-gold-grad);
	color: var(--nph-on-gold);
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
}
.nph-account-initial { width: auto; height: auto; background: none; font-size: 19px; }
.nph-user-avatar--lg { width: 46px; height: 46px; border-radius: 14px; font-size: 19px; }
.nph-user-dot {
	position: absolute;
	top: -3px;
	left: -3px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #ef4444;
	box-shadow: 0 0 0 2px #fff;
}

.nph-user-text { display: flex; flex-direction: column; line-height: 1.3; text-align: right; }
.nph-user-hello { font-size: 11px; font-weight: 600; color: var(--nph-muted); }
.nph-user-name { max-width: 110px; overflow: hidden; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.nph-user-caret { color: var(--nph-muted); }
.nph-user-caret svg { width: 16px; height: 16px; transition: transform .3s var(--nph-ease); }
.nph-user.is-open .nph-user-caret svg { transform: rotate(180deg); }

.nph-user-menu {
	position: absolute;
	z-index: 30;
	top: 100%;
	left: 0;
	padding-top: 10px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s ease, visibility 0s linear .3s;
}
.nph-user.is-open .nph-user-menu { opacity: 1; visibility: visible; transition: opacity .22s ease, visibility 0s; }

.nph-user-menu .nph-user-card {
	width: 272px;
	padding: 8px;
	border: 1px solid rgba(255, 255, 255, .85);
	border-radius: 20px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .72));
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	backdrop-filter: blur(24px) saturate(180%);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, .06), inset 0 1px 0 #fff, 0 30px 60px -24px rgba(38, 30, 20, .4);
	transform: translateY(10px) scale(.97);
	transform-origin: 15% 0;
	transition: transform .4s var(--nph-ease);
}
.nph-user.is-open .nph-user-card { transform: none; }

.nph-user-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 6px;
	padding: 8px 8px 14px;
	border-bottom: 1px solid var(--nph-line);
}
.nph-user-full { font-size: 15px; font-weight: 800; color: var(--nph-ink); }
.nph-user-sub { font-size: 12px; color: var(--nph-muted); }

:is(.nph, .nph-drawer) .nph-user-list { display: grid; gap: 2px; }
:is(.nph, .nph-drawer) .nph-user-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 14px;
	color: var(--nph-ink);
	font-size: 14.5px;
	font-weight: 600;
	transition: background .2s ease, color .2s ease;
}
:is(.nph, .nph-drawer) .nph-user-link:hover { background: var(--nph-soft); color: var(--nph-primary-ink); }
:is(.nph, .nph-drawer) .nph-user-list .nph-ico {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--nph-soft);
	color: var(--nph-primary-ink);
	transition: background .25s ease, color .25s ease, transform .3s var(--nph-ease);
}
:is(.nph, .nph-drawer) .nph-user-list .nph-ico svg { width: 19px; height: 19px; }
:is(.nph, .nph-drawer) .nph-user-link:hover .nph-ico { background: var(--nph-gold-grad); color: var(--nph-on-gold); transform: rotate(-6deg); }
:is(.nph, .nph-drawer) .nph-user-link:hover .nph-ico::after { animation: nph-sweep-hover .75s ease-in-out; }

.nph-user-badge {
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	margin-right: auto;
	padding: 0 6px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

:is(.nph, .nph-drawer) .nph-user-link--out { color: #b91c1c; }
:is(.nph, .nph-drawer) .nph-user-link--out .nph-ico { background: #fef2f2; color: #dc2626; }
:is(.nph, .nph-drawer) .nph-user-link--out:hover { background: #fef2f2; color: #991b1b; }
:is(.nph, .nph-drawer) .nph-user-link--out:hover .nph-ico { background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff; }

/* Items cascade in when the menu opens. */
.nph-user-menu .nph-user-list li { opacity: 0; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease; }
.nph-user.is-open .nph-user-list li { opacity: 1; transform: none; transition: opacity .35s ease, transform .45s var(--nph-ease); }
.nph-user.is-open .nph-user-list li:nth-child(1) { transition-delay: .06s; }
.nph-user.is-open .nph-user-list li:nth-child(2) { transition-delay: .11s; }
.nph-user.is-open .nph-user-list li:nth-child(3) { transition-delay: .16s; }

/* Drawer copy of the links. */
.nph-user-card--drawer { margin: 0 0 8px; padding: 6px; border: 1px solid var(--nph-line); border-radius: 16px; background: rgba(255, 255, 255, .55); }

/* ---------- Product search ---------- */

body .nph button.nph-search-btn,
body .nph button.nph-search-btn:focus {
	position: relative;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .85);
	border-radius: 14px;
	background: rgba(255, 255, 255, .55);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, .06), inset 0 1px 0 #fff, 0 6px 16px -10px rgba(38, 30, 20, .3);
	color: var(--nph-ink-2);
	transition: box-shadow .25s ease, color .2s ease, background .2s ease, transform .3s var(--nph-ease);
}
body .nph button.nph-search-btn:hover,
body .nph.is-search button.nph-search-btn {
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--nph-primary) 35%, transparent), inset 0 1px 0 #fff, 0 10px 22px -10px color-mix(in srgb, var(--nph-primary) 55%, transparent);
	color: var(--nph-primary-ink);
	transform: translateY(-2px);
}
.nph-search-btn svg { width: 21px; height: 21px; }

.nph-search {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 30;
	display: flex;
	justify-content: center;
	padding-top: 10px;
	pointer-events: none;
}
.nph-search[hidden] { display: none; }
.nph-search-card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: min(760px, 100%);
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: 22px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .72));
	-webkit-backdrop-filter: blur(26px) saturate(180%);
	backdrop-filter: blur(26px) saturate(180%);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, .06), inset 0 1px 0 #fff, 0 34px 70px -26px rgba(38, 30, 20, .4);
	opacity: 0;
	transform: translateY(-8px) scale(.98);
	transform-origin: 50% 0;
	transition: opacity .2s ease, transform .4s var(--nph-ease);
	pointer-events: auto;
}
.nph.is-search .nph-search-card { opacity: 1; transform: none; }
/* Soft gold light in the corner of the card, like the mega menu. */
.nph-search-card::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -140px;
	left: -90px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--nph-primary) 18%, transparent), transparent 70%);
	pointer-events: none;
}

.nph-search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 56px;
	padding: 0 16px 0 6px;
	border: 1px solid var(--nph-line);
	border-radius: 16px;
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.nph-search-form:focus-within {
	border-color: color-mix(in srgb, var(--nph-primary) 60%, var(--nph-line));
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--nph-primary) 16%, transparent);
}
.nph-search-ico { display: grid; color: var(--nph-muted); }
.nph-search-ico svg { width: 20px; height: 20px; }
body .nph .nph-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0 4px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	outline: 0;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.4;
	font-family: inherit;
	color: var(--nph-ink);
	-webkit-appearance: none;
	appearance: none;
}
body .nph .nph-search-form input[type="search"]::placeholder { color: #8b8b91; font-weight: 400; }
body .nph .nph-search-form input[type="search"]::-webkit-search-cancel-button { display: none; }
body .nph button.nph-search-go,
body .nph button.nph-search-go:focus {
	flex-shrink: 0;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	background: var(--nph-gold-grad);
	color: var(--nph-on-gold);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	font-family: inherit;
	cursor: pointer;
	box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--nph-primary) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .5);
	transition: transform .3s var(--nph-ease), box-shadow .25s ease;
}
body .nph button.nph-search-go:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--nph-primary) 85%, transparent), 0 0 0 3px color-mix(in srgb, var(--nph-primary) 28%, transparent);
}

.nph-search-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 4px 2px; }
.nph-search-hints-label { margin-left: 4px; font-size: 12.5px; font-weight: 600; color: var(--nph-muted); }
.nph .nph-search-hint {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid var(--nph-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .7);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--nph-ink-2);
	text-decoration: none;
	transition: border-color .2s ease, color .2s ease, background .2s ease, transform .3s var(--nph-ease);
}
.nph .nph-search-hint svg { width: 16px; height: 16px; color: var(--nph-primary-ink); }
.nph .nph-search-hint:hover {
	border-color: color-mix(in srgb, var(--nph-primary) 55%, transparent);
	background: var(--nph-soft);
	color: var(--nph-primary-ink);
	transform: translateY(-1px);
}

@media (max-width: 639.98px) {
	body .nph button.nph-search-btn { width: 42px; height: 42px; border-radius: 12px; }
	.nph-search { padding-top: 8px; }
	.nph-search-card { padding: 10px; border-radius: 18px; }
	.nph-search-form { height: 52px; padding-right: 12px; }
	body .nph button.nph-search-go { padding: 0 14px; }
	.nph-search-hints { gap: 6px; }
	.nph .nph-search-hint { height: 34px; font-size: 13px; }
}

/* ---------- Responsive bar ---------- */

@media (max-width: 1179.98px) {
	.nph { --nph-h: 66px; height: calc(var(--nph-h) + 24px); }
	.nph-nav, .nph-sep, .nph .nph-phone, .nph-rail, .nph-quick { display: none; }
	body .nph button.nph-burger { display: grid; }
	.nph-shell { gap: 10px; padding: 0 16px 0 10px; }
	.nph-actions { gap: 8px; }
}

@media (max-width: 639.98px) {
	.nph { --nph-h: 60px; }
	.nph-bar { padding: 8px 10px; }
	.nph-shell { padding: 0 14px 0 8px; border-radius: 16px; }
	.nph-logo { --nph-logo-h: 38px; }
	.nph-logo-text { font-size: 21px; }
	.nph .nph-icon-btn,
	body .nph button.nph-burger { width: 42px; height: 42px; border-radius: 12px; }
	.nph .nph-login { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 12px; }
	.nph-login-text { display: none; }
	.nph-login-ico { background: none; }
	body .nph button.nph-user-btn { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 12px; }
	.nph-user-text, .nph-user-caret { display: none; }
	.nph-user-btn .nph-user-avatar { width: 32px; height: 32px; border-radius: 10px; font-size: 14px; }
}

/* ---------- Drawer ---------- */

.nph-drawer { position: fixed; inset: 0; z-index: 100000; visibility: hidden; transition: visibility 0s linear .45s; }
.nph-drawer.is-open { visibility: visible; transition: none; }

.nph-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .28);
	opacity: 0;
	transition: opacity .35s ease;
}
.nph-drawer.is-open .nph-overlay { opacity: 1; }

.nph-sheet {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(390px, 88vw);
	background: linear-gradient(170deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .74));
	-webkit-backdrop-filter: blur(26px) saturate(180%);
	backdrop-filter: blur(26px) saturate(180%);
	border-left: 1px solid rgba(255, 255, 255, .8);
	border-radius: 24px 0 0 24px;
	box-shadow: -20px 0 60px -20px rgba(38, 30, 20, .4), inset 1px 0 0 #fff;
	transform: translateX(105%);
	transition: transform .45s var(--nph-ease);
}
.nph-drawer.is-open .nph-sheet { transform: none; }

.nph-sheet-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--nph-line);
}
body .nph-drawer button.nph-close,
body .nph-drawer button.nph-close:focus { width: 42px; height: 42px; border-radius: 12px; }
.nph-sheet-head .nph-logo { --nph-logo-h: 38px; }
.nph-sheet-head .nph-logo-text { font-size: 21px; }

.nph-sheet-body { flex: 1; padding: 14px 14px 20px; overflow-y: auto; overscroll-behavior: contain; }

.nph-sheet-search { margin-bottom: 10px; }
.nph-sheet-search .nph-search-form { height: 50px; padding-left: 5px; }
body .nph-drawer .nph-sheet-search button.nph-search-go {
	height: 40px;
	padding: 0 14px;
	border: 0;
	border-radius: 11px;
	background: var(--nph-gold-grad);
	color: var(--nph-on-gold);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 700;
}
.nph-sheet-search .nph-search-ico { color: var(--nph-muted); }
body .nph-drawer .nph-sheet-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0 4px;
	border: 0;
	background: none;
	box-shadow: none;
	outline: 0;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--nph-ink);
}

.nph-drawer .nph-account {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
	padding: 14px;
	overflow: hidden;
	border-radius: 16px;
	background: var(--nph-grey);
	-webkit-backdrop-filter: blur(16px) saturate(170%);
	backdrop-filter: blur(16px) saturate(170%);
	color: var(--nph-on-grey);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px var(--nph-grey-line), 0 18px 40px -20px rgba(38, 30, 20, .45);
}
.nph-account-ico { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; background: var(--nph-gold-grad); color: var(--nph-on-gold); }
.nph-account-ico svg { width: 22px; height: 22px; }
.nph-account-title { font-size: 15px; font-weight: 800; }
.nph-account-sub { font-size: 12.5px; opacity: .88; }
.nph-account-go { margin-right: auto; }
.nph-account-go svg { width: 20px; height: 20px; }

.nph-mnav .nph-item--d0 {
	border-bottom: 1px solid var(--nph-line);
	opacity: 0;
	transform: translateX(18px);
	transition: opacity .35s ease, transform .45s var(--nph-ease);
	transition-delay: calc(var(--i, 0) * 35ms + 80ms);
}
.nph-mnav .nph-item--d0:last-child { border-bottom: 0; }
.nph-drawer.is-open .nph-mnav .nph-item--d0 { opacity: 1; transform: none; }

.nph-mnav .nph-item--d0 > .nph-row { display: flex; align-items: center; gap: 4px; }
.nph-drawer .nph-mnav .nph-item--d0 > .nph-row > .nph-link {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 54px;
	padding: 8px 6px;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--nph-ink);
}
.nph-drawer .nph-mnav .nph-current > .nph-row > .nph-link { color: var(--nph-primary-ink); }
.nph-mnav .nph-item--d0 > .nph-row .nph-desc { display: none; }
.nph-mnav .nph-item--d0 > .nph-row .nph-ico {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: var(--nph-soft);
	color: var(--nph-primary-ink);
}
.nph-mnav .nph-item--d0 > .nph-row .nph-ico svg { width: 19px; height: 19px; }

body .nph-drawer button.nph-toggle,
body .nph-drawer button.nph-toggle:focus {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	color: var(--nph-muted);
	transition: background .2s ease, color .2s ease;
}
body .nph-drawer button.nph-toggle:hover { color: var(--nph-primary-ink); }
body .nph-drawer .is-open > .nph-row > button.nph-toggle { background: var(--nph-soft); color: var(--nph-primary-ink); }
.nph-drawer .nph-toggle svg { width: 18px; height: 18px; }

.nph-mnav .nph-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--nph-ease); }
.nph-mnav .is-open > .nph-panel { grid-template-rows: 1fr; }
.nph-mnav .nph-panel > .nph-card {
	min-height: 0;
	padding: 0;
	overflow: hidden;
	visibility: hidden;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transition: visibility 0s linear .38s;
}
.nph-mnav .is-open > .nph-panel > .nph-card { visibility: visible; transition: none; }
.nph-mnav .nph-sub--d1 { padding: 0 0 12px; }
.nph-drawer .nph-mnav .nph-sub .nph-link { gap: 10px; padding: 8px; border-radius: 12px; }
.nph-mnav .nph-sub .nph-ico { width: 36px; height: 36px; border-radius: 11px; }
.nph-mnav .nph-sub .nph-ico svg { width: 18px; height: 18px; }
.nph-mnav .nph-sub .nph-title { font-size: 14px; }
.nph-mnav .nph-sub .nph-desc {
	display: -webkit-box;
	overflow: hidden;
	font-size: 12px;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
.nph-drawer .nph-mnav .nph-panel--mega .nph-item--d1 > .nph-row > .nph-link { margin: 6px 0 2px; padding: 6px 8px; border-bottom: 0; }
/* Column headings (level 2) keep their icon, smaller than the links under them — same as the desktop mega menu. */
.nph-drawer .nph-mnav .nph-panel--mega .nph-item--d1 > .nph-row > .nph-link { gap: 8px; }
.nph-mnav .nph-panel--mega .nph-item--d1 > .nph-row .nph-ico { width: 30px; height: 30px; border-radius: 10px; background: var(--nph-soft); color: var(--nph-primary-ink); }
.nph-mnav .nph-panel--mega .nph-item--d1 > .nph-row .nph-ico svg { width: 17px; height: 17px; }
.nph-drawer .nph-mnav .nph-panel--mega .nph-item--d1 > .nph-row .nph-title { font-size: 14px; font-weight: 800; color: var(--nph-ink); }
/* Level 3 sits indented under its column heading, joined to it by a thin guide line. */
.nph-mnav .nph-panel--mega .nph-sub--d2 {
	margin-right: 23px;
	padding-right: 10px;
	border-right: 2px solid color-mix(in srgb, var(--nph-primary) 16%, transparent);
}
.nph-mnav .nph-panel--drop .nph-sub--d2 { padding-right: 46px; }
.nph-mnav .nph-promo { margin-top: 8px; }
.nph-drawer .nph-mnav .nph-promo-card { min-height: 0; padding: 16px; }
.nph-mnav .nph-promo-ico { width: 38px; height: 38px; border-radius: 12px; }
.nph-mnav .nph-promo-title { margin-top: 4px; font-size: 15px; }
.nph-mnav .nph-promo-cta { margin-top: 8px; }

.nph-sheet-foot {
	padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--nph-line);
	border-bottom-left-radius: 24px;
	background: rgba(255, 255, 255, .45);
}
.nph-drawer .nph-call {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--nph-line);
	border-radius: 14px;
	background: #fff;
	color: var(--nph-ink);
}
.nph-call-ico { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--nph-gold-grad); color: var(--nph-on-gold); }
.nph-call-ico svg { width: 19px; height: 19px; }
.nph-call-label { font-size: 12px; font-weight: 600; color: var(--nph-muted); }
.nph-call-go {
	margin-right: auto;
	padding: 6px 14px;
	border-radius: 10px;
	background: var(--nph-soft);
	color: var(--nph-primary-ink);
	font-size: 13px;
	font-weight: 800;
}

html.nph-lock, html.nph-lock body { overflow: hidden; }

@media (min-width: 1180px) {
	.nph-drawer { display: none; }
}

/* ---------- Mobile bottom menu (below 1180px) ---------- */

/*
 * Bottom menu — variant 2 of the user's reference video (menu-mobile.mp4): a plain white glass pill of icons with
 * no labels, where the ACTIVE icon sits in a filled disc that pokes above the top edge and glows underneath.
 * Tapping another item moves the disc (--nph-dock-i, so it travels right-to-left in RTL) and leaves a soft
 * drop falling out of the bar. Gold + near-black here instead of the video's magenta.
 */
.nph-dock { display: none; }

@media (max-width: 1179.98px) {
	body.nph-has-dock { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }

	.nph-dock {
		position: fixed;
		right: 12px;
		left: 12px;
		bottom: calc(10px + env(safe-area-inset-bottom));
		z-index: 9990;
		display: block;
		animation: nph-dock-in .6s var(--nph-ease) backwards;
	}
}

@keyframes nph-dock-in {
	from { opacity: 0; transform: translateY(24px); }
}

.nph-dock-bar {
	position: relative;
	isolation: isolate;
	/* The raised disc pokes out of the bar. */
	overflow: visible;
	display: grid;
	grid-template-columns: repeat(var(--nph-dock-n, 5), minmax(0, 1fr));
	max-width: 460px;
	height: 62px;
	margin: 0 auto;
	padding: 0 8px;
	border-radius: 24px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .7));
	-webkit-backdrop-filter: blur(22px) saturate(180%);
	backdrop-filter: blur(22px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, .9);
	box-shadow: inset 0 1px 0 #fff, 0 18px 40px -16px rgba(38, 30, 20, .35), 0 2px 8px rgba(38, 30, 20, .06);
}

.nph-dock-lamp {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: -1;
	inset-inline-start: calc(6px + (100% - 12px) / var(--nph-dock-n, 5) * var(--nph-dock-i, 0));
	width: calc((100% - 12px) / var(--nph-dock-n, 5));
	pointer-events: none;
	transition: inset-inline-start .55s var(--nph-ease), opacity .3s ease;
}
/* The drop that falls out of the bar when the disc moves. */
.nph-dock-lamp::before {
	content: "";
	position: absolute;
	top: 26px;
	left: 50%;
	width: 26px;
	height: 26px;
	margin-left: -13px;
	border-radius: 50%;
	background: var(--nph-gold-grad);
	opacity: 0;
	pointer-events: none;
}
.nph-dock.is-moving .nph-dock-lamp::before { animation: nph-dock-drop .8s var(--nph-ease); }
@keyframes nph-dock-drop {
	0% { opacity: .55; transform: translateY(-14px) scale(.5); }
	100% { opacity: 0; transform: translateY(26px) scale(1); }
}
/* Soft light spilling under the raised disc. */
.nph-dock-beam {
	position: absolute;
	top: -14px;
	left: 50%;
	width: 74px;
	height: 52px;
	margin-left: -37px;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--nph-primary) 42%, transparent), transparent);
	animation: nph-dock-glow 3.2s ease-in-out infinite alternate;
}
@keyframes nph-dock-glow {
	from { opacity: .75; }
	to { opacity: 1; }
}
.nph-dock.is-idle .nph-dock-lamp { opacity: 0; }
.nph-dock.is-moving .nph-dock-beam { animation: nph-dock-flick .55s ease; }
@keyframes nph-dock-flick {
	0% { opacity: .2; }
	60% { opacity: .5; }
	100% { opacity: 1; }
}

.nph-dock-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	color: var(--nph-muted);
	-webkit-tap-highlight-color: transparent;
	transition: color .3s ease;
}
.nph-dock-ico {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	transition: transform .5s var(--nph-ease), background .3s ease, box-shadow .3s ease, color .3s ease;
}
.nph-dock-ico svg { width: 23px; height: 23px; }
.nph-dock-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
body .nph-dock a.nph-dock-item:hover,
body .nph-dock a.nph-dock-item:focus { color: var(--nph-ink); }
body .nph-dock a.nph-dock-item.is-active { color: var(--nph-primary-ink); }
.nph-dock-item.is-active .nph-dock-ico {
	background: var(--nph-gold-grad);
	color: var(--nph-on-gold);
	transform: translateY(-19px);
	box-shadow: 0 14px 26px -8px color-mix(in srgb, var(--nph-primary) 85%, transparent), 0 0 0 6px rgba(255, 255, 255, .94);
}
.nph-dock-item:active .nph-dock-ico { transform: scale(.9); }
.nph-dock-item.is-active:active .nph-dock-ico { transform: translateY(-19px) scale(.94); }
.nph-dock-item:focus-visible { outline: 2px solid var(--nph-primary); outline-offset: -6px; border-radius: 16px; }

.nph-dock .nph-cart-count { top: -7px; left: -9px; min-width: 18px; height: 18px; font-size: 10px; }
.nph-dock-dot {
	position: absolute;
	top: -2px;
	left: -2px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e5484d;
	box-shadow: 0 0 0 2px #fff;
}

@media (max-width: 359.98px) {
	.nph-dock { right: 8px; left: 8px; }
}

/* Browsers without backdrop-filter get solid surfaces so text stays readable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.nph-shell::before { background: rgba(255, 255, 255, .97); }
	.nph-nav .nph-card, .nph-sheet { background: #fff; }
	.nph-dock-bar { background: rgba(255, 255, 255, .97); }
}

@media (prefers-reduced-motion: reduce) {
	.nph *, .nph *::before, .nph *::after,
	.nph-drawer *, .nph-drawer *::before, .nph-drawer *::after,
	.nph-dock *, .nph-dock *::before, .nph-dock *::after {
		animation: none !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}
}

/* ---------- Uploaded icons ---------- */

/*
 * An icon the shop owner uploaded is painted through a mask, so a PNG or SVG file takes the colour of the
 * text around it (gold on a disc, bronze on hover, white on a dark tile) exactly like the built-in icons.
 */
.nph-ico-img {
	display: block;
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: var(--nph-ico) center / contain no-repeat;
	mask: var(--nph-ico) center / contain no-repeat;
}
.nph-sub .nph-ico .nph-ico-img { width: 20px; height: 20px; }
.nph-panel--mega .nph-item--d1 > .nph-row .nph-ico .nph-ico-img { width: 16px; height: 16px; }
.nph .nph-search-hint .nph-ico-img { width: 16px; height: 16px; }
.nph-rail-cta-ico .nph-ico-img { width: 17px; height: 17px; }
.nph-promo-ico .nph-ico-img { width: 22px; height: 22px; }
.nph-phone-ico .nph-ico-img { width: 19px; height: 19px; }
.nph-dock-ico .nph-ico-img { width: 23px; height: 23px; }
.nph-account-ico .nph-ico-img { width: 22px; height: 22px; }
