/*
 * NP Leather — header, navigation and footer.
 *
 * Breakpoints
 *   < 480   small phones
 *   < 768   phones: compact header, sticky bottom action bar, footer accordions
 *   < 1200  phones + tablets: side drawer menu
 *   ≥ 1200  desktop: full menu with mega panels
 */

/* ---------- Shared bits ---------- */
.np-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--np-line);
	border-radius: 50%;
	background: var(--np-white);
	color: var(--np-ink);
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.np-icon-btn .np-icon { width: 20px; height: 20px; }
.np-icon-btn:hover,
.np-icon-btn[aria-expanded="true"] { background: var(--np-paper); border-color: var(--np-ink); color: var(--np-ink); }
.np-icon-btn--wa { color: var(--np-wa); }
.np-icon-btn--wa:hover { color: var(--np-wa-dark); border-color: var(--np-wa); }

.np-btn--light {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.75);
	color: var(--np-white);
}
.np-btn--light:hover,
.np-btn--light:focus-visible { background: var(--np-white); border-color: var(--np-white); color: var(--np-ink); }
.np-btn .np-icon { width: 18px; height: 18px; }

/* ---------- Top bar ---------- */
.np-topbar {
	background: var(--np-ink);
	color: #D2D2D2;
	font-size: 0.8125rem;
	line-height: 1.3;
}
.np-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 40px;
}
.np-topbar__trust,
.np-topbar__contact {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.np-topbar__trust li,
.np-topbar__contact a { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.np-topbar__trust .np-icon { width: 15px; height: 15px; color: var(--np-thread); }
.np-topbar__contact a { color: var(--np-white); text-decoration: none; }
.np-topbar__contact a:hover { color: var(--np-thread); }
.np-topbar__contact .np-icon { width: 15px; height: 15px; }

/* ---------- Header bar ---------- */
.np-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--np-white);
	border-bottom: 1px solid var(--np-line);
	transition: box-shadow 0.2s;
}
.admin-bar .np-header { top: 32px; }
.np-header.is-scrolled { box-shadow: 0 6px 20px rgba(26, 27, 29, 0.08); }

.np-header__inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: var(--np-header-h);
	transition: min-height 0.2s;
}
.np-header.is-scrolled .np-header__inner { min-height: 66px; }

.np-header__brand { flex: none; display: flex; align-items: center; }
.np-header__brand .np-logo-wrap { margin: 0; }
.np-logo { display: block; line-height: 0; }
.np-logo img,
.np-header__brand .custom-logo { height: 52px; width: auto; max-width: none; transition: height 0.2s; }
.np-header.is-scrolled .np-header__brand .np-logo img,
.np-header.is-scrolled .np-header__brand .custom-logo { height: 44px; }

.np-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: auto;
	flex: none;
}
.np-header__cta { margin-left: 0.25rem; white-space: nowrap; }

/* ---------- Search panel ---------- */
.np-search-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--np-white);
	border-top: 1px solid var(--np-fog);
	border-bottom: 1px solid var(--np-line);
	box-shadow: 0 24px 40px rgba(26, 27, 29, 0.14);
	animation: np-search-in 0.18s ease-out;
}
@keyframes np-search-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.np-search-panel[hidden] { display: none; }
.np-search-panel__inner {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}
.np-search-panel__inner .np-hsearch { flex: 1; min-width: 0; max-width: 860px; margin: 0 auto; }
.np-search-panel__close { flex: none; margin-top: 4px; }

/* ---------- Search form (header panel and drawer) ---------- */
.np-hsearch { position: relative; }
.np-hsearch__field {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--np-white);
	border: 2px solid var(--np-line);
	border-radius: 999px;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.np-hsearch__field:focus-within {
	border-color: var(--np-ink);
	box-shadow: 0 0 0 4px rgba(226, 176, 74, 0.35);
}
.np-hsearch__icon {
	flex: none;
	display: inline-flex;
	padding-left: 1.1rem;
	color: var(--np-muted);
	pointer-events: none;
}
.np-hsearch__icon .np-icon { width: 20px; height: 20px; }
.np-hsearch input[type="search"] {
	flex: 1;
	min-width: 0;
	min-height: 52px;
	padding: 0 0.75rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 1.05rem;
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.np-hsearch input[type="search"]:focus { outline: none; border: 0; }
.np-hsearch input[type="search"]::-webkit-search-cancel-button,
.np-hsearch input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
.np-hsearch input[type="search"]::placeholder { color: #8A8F92; }

.np-hsearch__clear {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-right: 0.25rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--np-fog);
	color: var(--np-ink);
	cursor: pointer;
}
.np-hsearch__clear[hidden] { display: none; }
.np-hsearch__clear .np-icon { width: 16px; height: 16px; }
.np-hsearch__clear:hover { background: var(--np-line); }

.np-hsearch__spinner {
	display: none;
	flex: none;
	width: 18px;
	height: 18px;
	margin-right: 0.6rem;
	border: 2px solid var(--np-fog);
	border-top-color: var(--np-saddle);
	border-radius: 50%;
	animation: np-spin 0.7s linear infinite;
}
.np-hsearch.is-loading .np-hsearch__spinner { display: block; }
@keyframes np-spin { to { transform: rotate(360deg); } }

.np-hsearch__btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	margin: 4px;
	padding: 0 1.25rem;
	border: 0;
	border-radius: 999px;
	background: var(--np-saddle);
	color: var(--np-white);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.15s;
}
.np-hsearch__btn:hover { background: var(--np-saddle-dark); }
.np-hsearch__btn .np-icon { width: 18px; height: 18px; order: 2; }

/* Suggestions */
.np-hsearch__results {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(56px + 0.5rem);
	z-index: 10;
	max-height: min(70vh, 560px);
	overflow-y: auto;
	padding: 0.5rem;
	background: var(--np-white);
	border: 1px solid var(--np-line);
	border-radius: 14px;
	box-shadow: 0 24px 48px rgba(26, 27, 29, 0.18);
}
.np-hsearch__results[hidden] { display: none; }
.np-sr__group { margin: 0.5rem 0.75rem 0.35rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--np-muted); }
.np-sr__item {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.5rem 0.75rem;
	border-radius: 10px;
	color: var(--np-ink);
	text-decoration: none;
}
.np-sr__item:hover,
.np-sr__item.is-active { background: var(--np-paper); }
.np-sr__item.is-active { box-shadow: inset 3px 0 0 var(--np-saddle); }
.np-sr__thumb {
	flex: none;
	width: 48px;
	height: 60px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--np-fog);
}
.np-sr__thumb img { width: 100%; height: 100%; object-fit: cover; }
.np-sr__text { min-width: 0; }
.np-sr__title { display: block; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-hsearch__results mark { background: rgba(226, 176, 74, 0.45); color: inherit; padding: 0; border-radius: 2px; }
.np-sr__meta { display: block; margin-top: 0.15rem; font-size: 0.82rem; color: var(--np-muted); }
.np-chip.np-sr__cat { display: inline-block; margin: 0 0 0.4rem 0.5rem; line-height: 1.5; }
.np-chip.np-sr__cat.is-active { border-color: var(--np-saddle); background: var(--np-paper); }
.np-sr__all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 0.35rem;
	padding: 0.8rem 0.75rem;
	border-top: 1px solid var(--np-fog);
	color: var(--np-saddle-dark);
	font-weight: 700;
	text-decoration: none;
}
.np-sr__all .np-icon { width: 18px; height: 18px; }
.np-sr__all:hover,
.np-sr__all.is-active { background: var(--np-paper); border-radius: 10px; }
.np-sr__empty { padding: 1rem 0.75rem; }
.np-sr__empty p { margin: 0 0 0.75rem; color: var(--np-muted); }

/* Popular chips */
.np-hsearch__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 0.85rem; }
.np-hsearch__popular-label { font-size: var(--np-step--1); color: var(--np-muted); margin-right: 0.15rem; }
.np-chip {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0.3rem 0.9rem;
	border: 1px solid var(--np-line);
	border-radius: 999px;
	background: var(--np-white);
	color: var(--np-ink);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s, color 0.15s;
}
.np-chip:hover { border-color: var(--np-saddle); color: var(--np-saddle-dark); }

/* ---------- Primary menu: desktop ---------- */
.np-menu { list-style: none; margin: 0; padding: 0; }

@media (min-width: 1200px) {
	.np-header__inner { align-items: stretch; }
	.np-header__brand, .np-header__actions { align-self: center; }
	.np-nav { display: flex; flex: 1; justify-content: center; }
	.np-nav__head, .np-nav__search, .np-nav__foot, .np-nav-toggle, .np-nav-backdrop { display: none !important; }

	.np-menu { display: flex; align-items: stretch; gap: 0.15rem; }
	.np-menu > li { position: static; display: flex; align-items: center; }
	.np-menu > li:not(.np-has-mega) { position: relative; }
	.np-menu > li > a {
		position: relative;
		display: flex;
		align-items: center;
		height: 100%;
		padding: 0 0.7rem;
		color: var(--np-ink);
		font-size: 0.95rem;
		font-weight: 600;
		text-decoration: none;
		white-space: nowrap;
	}
	.np-menu > li > a::after {
		content: "";
		position: absolute;
		left: 0.7rem;
		right: 0.7rem;
		bottom: -1px;
		height: 3px;
		background: var(--np-saddle);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.2s;
	}
	.np-menu > li:hover > a::after,
	.np-menu > li.is-open > a::after,
	.np-menu > li.current-menu-item > a::after,
	.np-menu > li.current-menu-ancestor > a::after,
	.np-menu > li > a[aria-current="page"]::after { transform: scaleX(1); }
	.np-menu > li > a:hover { color: var(--np-saddle-dark); }

	.np-submenu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 24px;
		height: 32px;
		margin-left: -0.55rem;
		margin-right: 0.15rem;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--np-muted);
		cursor: pointer;
	}
	.np-submenu-toggle .np-icon { width: 15px; height: 15px; transition: transform 0.2s; }
	.np-menu > li:hover > .np-submenu-toggle .np-icon,
	.np-submenu-toggle[aria-expanded="true"] .np-icon { transform: rotate(180deg); }

	/* Panels open on hover / focus / click, and close after a short delay so the
	   pointer can travel from the menu item into the panel. */
	.np-menu .sub-menu,
	.np-mega {
		visibility: hidden;
		opacity: 0;
		transform: translateY(6px);
		transition: opacity 0.18s ease 0.12s, transform 0.18s ease 0.12s, visibility 0s linear 0.3s;
	}
	.np-menu > li:hover > .sub-menu,
	.np-menu > li:focus-within > .sub-menu,
	.np-menu > li.is-open > .sub-menu,
	.np-menu > li:hover > .np-mega,
	.np-menu > li:focus-within > .np-mega,
	.np-menu > li.is-open > .np-mega {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition-delay: 0s;
	}
	.np-menu > li.is-closed > .sub-menu,
	.np-menu > li.is-closed > .np-mega { visibility: hidden; opacity: 0; }

	.np-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 5;
		min-width: 230px;
		margin: 0;
		padding: 0.5rem;
		list-style: none;
		background: var(--np-white);
		border: 1px solid var(--np-line);
		border-radius: 0 0 var(--np-radius) var(--np-radius);
		box-shadow: 0 16px 30px rgba(26, 27, 29, 0.12);
	}
	.np-menu .sub-menu a {
		display: block;
		padding: 0.55rem 0.75rem;
		border-radius: var(--np-radius);
		color: var(--np-ink);
		text-decoration: none;
	}
	.np-menu .sub-menu a:hover { background: var(--np-paper); color: var(--np-saddle-dark); }

	.np-mega {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		z-index: 5;
		background: var(--np-white);
		border-top: 1px solid var(--np-line);
		box-shadow: 0 24px 40px rgba(26, 27, 29, 0.14);
	}
	.np-mega__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 1.25rem 2.5rem;
		padding-top: 1.75rem;
		padding-bottom: 1.5rem;
	}
	.np-mega__grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
	.np-mega__foot { grid-column: 1 / -1; }
	.np-nav { min-width: 0; }
}

/* Small desktops: tighten the menu so everything stays on one line */
@media (min-width: 1200px) and (max-width: 1399.98px) {
	.np-header__inner { gap: 0.75rem; }
	.np-menu > li > a { padding: 0 0.5rem; font-size: 0.9rem; }
	.np-menu > li > a::after { left: 0.5rem; right: 0.5rem; }
	.np-header__actions .np-icon-btn--wa { display: none; }
	.np-topbar__trust li:nth-child(4) { display: none; }
}

/* Mega panel contents (all sizes) */
.np-mega__grid { display: grid; gap: 1.25rem 1rem; margin: 0; padding: 0; list-style: none; }
.np-mega__card { display: block; color: var(--np-ink); text-decoration: none; }
.np-mega__img {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--np-fog);
	border-radius: var(--np-radius);
}
.np-mega__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.np-mega__card:hover .np-mega__img img { transform: scale(1.05); }
.np-mega__img--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--np-font-display);
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--np-saddle);
}
.np-mega__label { display: block; margin-top: 0.5rem; font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.np-mega__card:hover .np-mega__label { color: var(--np-saddle-dark); }
.np-mega__sub { list-style: none; margin: 0.35rem 0 0; padding: 0; font-size: var(--np-step--1); }
.np-mega__sub a { color: var(--np-muted); text-decoration: none; }
.np-mega__sub a:hover { color: var(--np-ink); text-decoration: underline; }

.np-mega__promo {
	position: relative;
	align-self: start;
	padding: 1.5rem;
	background: var(--np-ink);
	color: #D6D6D6;
	border-radius: var(--np-radius);
}
.np-mega__promo::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1.5px dashed rgba(226, 176, 74, 0.8);
	border-radius: 2px;
	pointer-events: none;
}
.np-mega__promo-kicker { margin: 0 0 0.35rem; color: var(--np-thread); font-size: var(--np-step--1); font-weight: 600; }
.np-mega__promo-title { margin: 0 0 0.5rem; font-family: var(--np-font-display); font-size: 1.65rem; font-weight: 800; line-height: 1.05; color: var(--np-white); }
.np-mega__promo-text { margin: 0 0 1.1rem; font-size: var(--np-step--1); }
.np-mega__promo .np-btn { position: relative; }
.np-mega__promo-link { position: relative; display: block; margin-top: 0.85rem; color: var(--np-white); font-size: var(--np-step--1); font-weight: 600; }
.np-mega__promo-link:hover { color: var(--np-thread); }

.np-mega__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1rem;
	border-top: 1px dashed var(--np-line);
}

/* ---------- Drawer: phones and tablets ---------- */
@media (max-width: 1199.98px) {
	:root { --np-header-h: 68px; }
	.np-header.is-scrolled .np-header__inner { min-height: 60px; }
	.np-logo img,
	.np-header__brand .custom-logo { height: 44px; }
	.np-header.is-scrolled .np-header__brand .np-logo img,
	.np-header.is-scrolled .np-header__brand .custom-logo { height: 38px; }

	.np-nav {
		position: fixed;
		top: 0;
		bottom: 0;
		right: 0;
		left: auto;
		z-index: 120;
		display: flex;
		flex-direction: column;
		width: min(90vw, 400px);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: env(safe-area-inset-top, 0px) 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
		background: var(--np-white);
		box-shadow: -16px 0 40px rgba(26, 27, 29, 0.2);
		transform: translateX(102%);
		visibility: hidden;
		transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.3s;
	}
	.np-nav.is-open { transform: none; visibility: visible; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s; }

	.np-nav-backdrop {
		position: fixed;
		inset: 0;
		z-index: 110;
		background: rgba(26, 27, 29, 0.55);
		opacity: 0;
		transition: opacity 0.3s;
	}
	.np-nav-backdrop.is-visible { opacity: 1; }
	.np-nav-backdrop[hidden] { display: none; }

	.np-nav__head {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding: 0.8rem 1.25rem;
		background: var(--np-white);
		border-bottom: 2px solid transparent;
		border-image: repeating-linear-gradient(90deg, var(--np-thread) 0 10px, transparent 10px 17px) 2;
	}
	.np-nav__brand .np-logo-wrap { margin: 0; }
	.np-nav__brand .np-logo img,
	.np-nav__brand .custom-logo { height: 40px; width: auto; }

	.np-nav__search { padding: 1rem 1.25rem 0.25rem; }
	.np-nav__search .np-hsearch input[type="search"] { min-height: 46px; font-size: 1rem; }
	.np-nav__search .np-hsearch__btn { min-height: 38px; padding: 0 0.85rem; }
	.np-nav__search .np-hsearch__btn-text { display: none; }
	.np-nav__search .np-hsearch__results { position: static; margin-top: 0.5rem; box-shadow: none; max-height: none; }

	.np-menu { padding: 0.5rem 1.25rem 0; }
	.np-menu > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--np-fog); }
	.np-menu > li > a {
		flex: 1;
		padding: 0.9rem 0;
		color: var(--np-ink);
		font-size: 1.05rem;
		font-weight: 600;
		text-decoration: none;
	}
	.np-menu > li > a[aria-current="page"],
	.np-menu > li.current-menu-item > a { color: var(--np-saddle); }
	.np-submenu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin-right: -0.6rem;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: transparent;
		color: var(--np-ink);
		cursor: pointer;
	}
	.np-submenu-toggle .np-icon { width: 18px; height: 18px; transition: transform 0.2s; }
	.np-submenu-toggle[aria-expanded="true"] { background: var(--np-paper); }
	.np-submenu-toggle[aria-expanded="true"] .np-icon { transform: rotate(180deg); }

	.np-menu .sub-menu,
	.np-mega { display: none; flex-basis: 100%; }
	.np-menu > li.is-open > .sub-menu,
	.np-menu > li.is-open > .np-mega { display: block; animation: np-drop 0.2s ease-out; }
	@keyframes np-drop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

	.np-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 0.75rem; }
	.np-menu .sub-menu a { display: block; padding: 0.55rem 0.75rem; color: var(--np-ink); text-decoration: none; }
	.np-mega .np-container { padding: 0; }
	.np-mega__inner { display: block; padding: 0.25rem 0 1rem; }
	.np-mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem 0.6rem; }
	.np-mega__label { font-size: 0.82rem; }
	.np-mega__img--empty { font-size: 1.6rem; }
	.np-mega__promo { display: none; }
	.np-mega__foot { flex-wrap: wrap; margin-top: 1rem; }

	.np-nav__foot { margin-top: auto; padding: 1.5rem 1.25rem 0; }
	.np-nav__actions { flex-direction: column; align-items: stretch; }
	.np-nav__contact { list-style: none; margin: 1.25rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--np-fog); display: grid; gap: 0.65rem; font-size: 0.92rem; }
	.np-nav__contact li { display: flex; align-items: center; gap: 0.6rem; color: var(--np-muted); }
	.np-nav__contact a { color: var(--np-ink); text-decoration: none; }
	.np-nav__contact .np-icon { width: 18px; height: 18px; color: var(--np-saddle); }

	body.np-nav-open { overflow: hidden; }
	.np-topbar__trust li:nth-child(n+3) { display: none; }
}

/* Tablet tweaks */
@media (max-width: 991.98px) {
	.np-topbar__phone { display: none; }
}

/* ---------- Phones ---------- */
@media (max-width: 767.98px) {
	.np-topbar { display: none; }
	.np-header__cta,
	.np-header__actions .np-icon-btn--wa { display: none; }
	.np-header__inner { gap: 0.75rem; }
	.np-header__actions { gap: 0.4rem; }
	.np-icon-btn { width: 42px; height: 42px; }
	.np-search-panel__inner { padding-top: 1rem; padding-bottom: 1rem; gap: 0.5rem; }
	.np-search-panel__close { display: none; }
	.np-hsearch input[type="search"] { font-size: 1rem; min-height: 48px; }
	.np-hsearch__btn { padding: 0 0.8rem; min-height: 40px; }
	.np-hsearch__btn-text { display: none; }
	.np-hsearch__results { max-height: calc(100vh - 180px); }
	.np-hsearch__popular { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; }
	.np-hsearch__popular::-webkit-scrollbar { display: none; }
	.np-chip { flex: none; }
}

@media (max-width: 380px) {
	.np-logo img,
	.np-header__brand .custom-logo { height: 36px; }
	.np-header.is-scrolled .np-header__brand .np-logo img { height: 34px; }
	.np-icon-btn { width: 40px; height: 40px; }
	.np-mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) { .admin-bar .np-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .np-header { top: 0; } }

/* ---------- Footer ---------- */
.np-footer {
	background: var(--np-ink);
	color: #C9C9C9;
	font-size: 0.95rem;
}
.np-footer a { color: var(--np-white); text-decoration: none; }
.np-footer a:hover { color: var(--np-thread); }

/* CTA band */
.np-footer__cta { position: relative; background: var(--np-saddle); color: var(--np-white); }
.np-footer__cta::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: 2px;
	background-image: repeating-linear-gradient(90deg, var(--np-thread) 0 10px, transparent 10px 17px);
	opacity: 0.85;
}
.np-footer__cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
	padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
	padding-bottom: clamp(2.25rem, 1.75rem + 2vw, 3.25rem);
}
.np-footer__cta-title {
	margin: 0 0 0.35rem;
	font-family: var(--np-font-display);
	font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem);
	font-weight: 800;
	line-height: 1.05;
	color: var(--np-white);
}
.np-footer__cta-text { margin: 0; max-width: 56ch; color: #F6E4D6; }
.np-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; flex: none; }
.np-footer__cta .np-btn:not(.np-btn--light) { background: var(--np-white); border-color: var(--np-white); color: var(--np-ink); }
.np-footer__cta .np-btn:not(.np-btn--light):hover { background: var(--np-ink); border-color: var(--np-ink); color: var(--np-white); }

/* Columns */
.np-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.25fr 1fr 1.35fr;
	gap: 2.5rem;
	padding-top: clamp(2.75rem, 2rem + 3vw, 4rem);
	padding-bottom: 2.75rem;
}
.np-footer__logo { display: inline-block; margin-bottom: 1.1rem; line-height: 0; }
.np-footer__logo img { height: 58px; width: auto; }
.np-footer__about-text { max-width: 38ch; }
.np-footer__badges { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.9rem; }
.np-footer__badges li { display: flex; align-items: center; gap: 0.5rem; }
.np-footer__badges .np-icon { width: 16px; height: 16px; color: var(--np-thread); }

.np-social { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.np-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.np-social a:hover { background: var(--np-white); border-color: var(--np-white); color: var(--np-ink); }
.np-social .np-icon { width: 18px; height: 18px; }

.np-footer__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 1rem;
	color: var(--np-white);
	font-weight: 700;
	font-size: 1rem;
	list-style: none;
}
.np-footer__title::-webkit-details-marker { display: none; }
.np-footer__title .np-icon { display: none; width: 18px; height: 18px; transition: transform 0.2s; }

.np-footer__menu,
.np-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.np-footer__menu a { color: #C9C9C9; }
.np-footer__menu a:hover { color: var(--np-white); text-decoration: underline; text-decoration-color: var(--np-thread); }
.np-footer__all { font-weight: 600; color: var(--np-white) !important; }
.np-footer__list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.np-footer__list .np-icon { width: 18px; height: 18px; margin-top: 0.15rem; color: var(--np-thread); flex: none; }

/* Markets strip */
.np-footer__markets { border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.875rem; }
.np-footer__markets p { margin: 0; padding: 1rem 0; }
.np-footer__markets strong { color: var(--np-white); margin-right: 0.35rem; }
.np-footer__terms {
	display: inline-block;
	margin-left: 0.5rem;
	padding: 0.1rem 0.55rem;
	border: 1px dashed rgba(226, 176, 74, 0.7);
	border-radius: var(--np-radius);
	color: var(--np-thread);
	font-size: 0.8rem;
	white-space: nowrap;
}

/* Bottom bar */
.np-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: var(--np-step--1); }
.np-footer__bottom-inner {
	display: flex;
	align-items: center;
	gap: 0.75rem 1.5rem;
	flex-wrap: wrap;
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
}
.np-footer__bottom p { margin: 0; }
.np-footer__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.np-footer__legal a { color: #C9C9C9; }
.np-to-top {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-left: auto;
	padding: 0.45rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	font-weight: 600;
}
.np-to-top .np-icon { width: 16px; height: 16px; }
.np-to-top:hover { border-color: var(--np-thread); }

/* Floating WhatsApp (tablet and desktop) */
.np-float-wa {
	position: fixed;
	right: 1.25rem;
	bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--np-wa);
	color: var(--np-white);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
	transition: transform 0.2s, background-color 0.2s;
}
.np-float-wa:hover,
.np-float-wa:focus-visible { background: var(--np-wa-dark); color: var(--np-white); transform: scale(1.06); }
.np-float-wa .np-icon { width: 30px; height: 30px; }
.np-float-wa.is-hidden { opacity: 0; transform: scale(0.6); pointer-events: none; }
.np-nav-open .np-float-wa { display: none; }

/* Sticky action bar (phones) */
.np-mobile-bar { display: none; }

/* Footer: large tablets */
@media (max-width: 1199.98px) {
	.np-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 2rem; }
	.np-footer__about { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 2.5rem; align-items: start; }
	.np-footer__about .np-footer__logo { grid-row: span 3; }
	.np-footer__about-text { max-width: 60ch; margin-top: 0.25rem; }
	.np-footer__badges { grid-template-columns: repeat(2, minmax(0, max-content)); gap: 0.45rem 1.75rem; margin-top: 0.5rem; }
	.np-social { margin-top: 1rem; }
}

/* Footer: tablets */
@media (max-width: 991.98px) {
	.np-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.np-footer__cta-inner { flex-direction: column; align-items: flex-start; }
}

/* Footer: phones */
@media (max-width: 767.98px) {
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }

	.np-footer__grid { grid-template-columns: 1fr; gap: 0; padding-top: 2.25rem; padding-bottom: 1.25rem; }
	.np-footer__about { display: block; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
	.np-footer__badges { grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; font-size: 0.85rem; }

	.np-footer__group { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
	.np-footer__group > .np-footer__title {
		margin: 0;
		min-height: 54px;
		cursor: pointer;
	}
	.np-footer__group > .np-footer__title .np-icon { display: block; }
	.np-footer__group[open] > .np-footer__title .np-icon { transform: rotate(180deg); }
	.np-footer__group > ul { padding-bottom: 1.1rem; }
	.np-footer__menu a { display: inline-block; padding: 0.15rem 0; }

	.np-footer__contact { padding-top: 1.5rem; }
	.np-footer__cta-actions { width: 100%; }
	.np-footer__cta-actions .np-btn { flex: 1 1 100%; }

	.np-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
	.np-footer__terms { display: table; margin: 0.6rem 0 0; }
	.np-to-top { margin-left: 0; }

	.np-float-wa { display: none; }

	.np-mobile-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 95;
		display: flex;
		gap: 0.5rem;
		padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
		background: var(--np-white);
		border-top: 1px solid var(--np-line);
		box-shadow: 0 -8px 24px rgba(26, 27, 29, 0.1);
		transition: transform 0.25s;
	}
	.np-mobile-bar.is-hidden { transform: translateY(110%); }
	.np-mobile-bar a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.45rem;
		min-height: 48px;
		border-radius: var(--np-radius);
		font-weight: 700;
		text-decoration: none;
	}
	.np-mobile-bar__wa { flex: 0 0 42%; background: var(--np-wa); color: var(--np-white); }
	.np-mobile-bar__quote { flex: 1; background: var(--np-saddle); color: var(--np-white); }
	.np-mobile-bar__wa .np-icon { width: 20px; height: 20px; }
	.np-nav-open .np-mobile-bar,
	.np-search-open .np-mobile-bar { display: none; }
}

@media (min-width: 768px) {
	.np-footer__group > .np-footer__title { pointer-events: none; }
}
