/* NRB Premium Header — V1.7 FINAL
 * Ficheiro limpo: não contém versões anteriores nem regras duplicadas.
 */

:root {
	--nrb-header-top: #071321;
	--nrb-header-main: #0b182b;
	--nrb-header-nav: #101d31;
	--nrb-header-line: rgba(255, 255, 255, .09);
	--nrb-header-white: #ffffff;
	--nrb-header-muted: #dce7f5;
	--nrb-header-blue: #2563eb;
	--nrb-header-blue-hover: #1d57cf;
	--nrb-header-shell: 1440px;
}

body.nrb-premium-header-active .nrb-premium-header,
body.nrb-premium-header-active .nrb-premium-header *,
body.nrb-premium-header-active .nrb-premium-header *::before,
body.nrb-premium-header-active .nrb-premium-header *::after {
	box-sizing: border-box;
}

body.nrb-premium-header-active .nrb-premium-header {
	position: relative;
	z-index: 999;
	width: 100%;
	margin: 0;
	background: var(--nrb-header-main);
	color: var(--nrb-header-white);
	font-family: Inter, Arial, sans-serif;
	box-shadow: 0 8px 26px rgba(2, 8, 18, .18);
}

body.nrb-premium-header-active .nrb-premium-header a {
	color: inherit !important;
	text-decoration: none !important;
}

body.nrb-premium-header-active .nrb-premium-header ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.nrb-premium-header-active .nrb-header-shell {
	width: min(100%, var(--nrb-header-shell));
	margin-inline: auto;
	padding-inline: 28px;
}

/* TOPBAR */
body.nrb-premium-header-active .nrb-header-topbar {
	min-height: 38px;
	background: var(--nrb-header-top);
	border-bottom: 1px solid rgba(255, 255, 255, .055);
}

body.nrb-premium-header-active .nrb-header-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 38px;
	gap: 24px;
}

body.nrb-premium-header-active .nrb-header-contact-strip,
body.nrb-premium-header-active .nrb-header-topbar-end {
	display: flex;
	align-items: center;
}

body.nrb-premium-header-active .nrb-header-contact-strip {
	gap: 24px;
}

body.nrb-premium-header-active .nrb-header-topbar-end {
	gap: 22px;
	margin-left: auto;
}

body.nrb-premium-header-active .nrb-topbar-item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	color: var(--nrb-header-muted) !important;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	opacity: 1;
}

body.nrb-premium-header-active .nrb-topbar-item svg {
	flex: 0 0 auto;
	color: #69a5ff !important;
}

body.nrb-premium-header-active .nrb-topbar-support {
	color: #ffffff !important;
	font-weight: 700;
}

body.nrb-premium-header-active .nrb-topbar-nav > ul,
body.nrb-premium-header-active .nrb-language-nav > ul {
	display: flex;
	align-items: center;
	gap: 22px;
}

body.nrb-premium-header-active .nrb-topbar-nav > ul > li,
body.nrb-premium-header-active .nrb-language-nav > ul > li {
	position: relative;
}

body.nrb-premium-header-active .nrb-topbar-nav > ul > li > a,
body.nrb-premium-header-active .nrb-language-nav > ul > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	color: #f2f6fb !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	white-space: nowrap;
}

body.nrb-premium-header-active .nrb-topbar-nav > ul > li > a:hover,
body.nrb-premium-header-active .nrb-language-nav > ul > li > a:hover {
	color: #8eb9ff !important;
}

/* MAIN */
body.nrb-premium-header-active .nrb-header-main {
	min-height: 96px;
	background: var(--nrb-header-main);
	border-bottom: 1px solid var(--nrb-header-line);
}

body.nrb-premium-header-active .nrb-header-main-inner {
	display: grid;
	grid-template-columns: 205px minmax(520px, 735px) minmax(320px, auto);
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	min-height: 96px;
}

body.nrb-premium-header-active .nrb-header-brand {
	min-width: 0;
}

body.nrb-premium-header-active .nrb-header-brand-link {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 68px;
}

body.nrb-premium-header-active .nrb-header-logo-custom {
	display: block !important;
	width: 190px !important;
	max-width: 190px !important;
	height: auto !important;
	max-height: 62px !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain !important;
	filter: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	mix-blend-mode: normal !important;
}

/* SEARCH */
body.nrb-premium-header-active .nrb-header-discovery {
	width: 100%;
	max-width: 735px;
	justify-self: stretch;
}

body.nrb-premium-header-active .nrb-header-search,
body.nrb-premium-header-active .nrb-header-search .nrb-search-form {
	width: 100%;
}

body.nrb-premium-header-active .nrb-header-search .nrb-search-form {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 58px !important;
	align-items: stretch;
	height: 50px;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .20) !important;
	border-radius: 10px !important;
	background: #ffffff !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

body.nrb-premium-header-active .nrb-header-search .nrb-search-input {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	height: 50px !important;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #ffffff !important;
	color: #172033 !important;
	font-size: 13.5px !important;
	font-weight: 400 !important;
	box-shadow: none !important;
	outline: none !important;
	appearance: none !important;
}

body.nrb-premium-header-active .nrb-header-search .nrb-search-input::placeholder {
	color: #8994a6 !important;
	opacity: 1 !important;
}

body.nrb-premium-header-active .nrb-header-search .nrb-search-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	position: static !important;
	width: 58px !important;
	min-width: 58px !important;
	height: 50px !important;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: linear-gradient(135deg, #2f6df6 0%, #1557d5 100%) !important;
	color: #ffffff !important;
	opacity: 1 !important;
	visibility: visible !important;
	cursor: pointer;
	box-shadow: inset 1px 0 rgba(0, 0, 0, .05);
}

body.nrb-premium-header-active .nrb-header-search .nrb-search-submit:hover {
	background: linear-gradient(135deg, #3b7cff 0%, #1d60df 100%) !important;
}

body.nrb-premium-header-active .nrb-header-search .nrb-search-submit svg {
	display: block !important;
	width: 22px !important;
	height: 22px !important;
	color: #ffffff !important;
	stroke: currentColor !important;
}

/* ACTIONS */
body.nrb-premium-header-active .nrb-header-actions-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 320px;
	justify-self: end;
}

body.nrb-premium-header-active .nrb-header-actions {
	display: inline-flex !important;
	align-items: center;
	justify-content: flex-end;
	gap: 11px;
}

body.nrb-premium-header-active .nrb-header-actions > .site-action-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	position: relative;
	min-width: 48px;
	height: 58px;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.nrb-premium-header-active .nrb-header-actions > .site-action-button > a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 58px;
	padding: 0 5px !important;
	border: 0 !important;
	border-radius: 10px;
	background: transparent !important;
	box-shadow: none !important;
}

body.nrb-premium-header-active .nrb-header-actions > .site-action-button > a:hover {
	background: rgba(255, 255, 255, .06) !important;
}

body.nrb-premium-header-active .nrb-header-actions .site-action-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 32px !important;
	min-width: 32px !important;
	height: 32px !important;
	color: #ffffff !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.nrb-premium-header-active .nrb-header-actions .site-action-icon svg {
	display: block;
	width: 26px !important;
	height: 26px !important;
	color: #ffffff !important;
	stroke: currentColor !important;
	stroke-width: 1.7 !important;
}

body.nrb-premium-header-active .nrb-header-actions .action-account {
	min-width: 126px;
}

body.nrb-premium-header-active .nrb-header-actions .action-account > a {
	justify-content: flex-start;
	gap: 9px;
	min-width: 126px;
	padding-inline: 5px 8px !important;
}

body.nrb-premium-header-active .nrb-header-actions .action-account .site-action-detail {
	display: block !important;
	min-width: 70px;
	line-height: 1.15;
}

body.nrb-premium-header-active .nrb-header-actions .site-action-sublabel {
	display: block;
	margin: 0 0 3px;
	color: #d4deeb !important;
	font-size: 10.5px !important;
	font-weight: 500;
	white-space: nowrap;
}

body.nrb-premium-header-active .nrb-header-actions .site-action-label {
	display: block;
	margin: 0 !important;
	color: #ffffff !important;
	font-size: 12.5px !important;
	font-weight: 700;
	white-space: nowrap;
}

body.nrb-premium-header-active .nrb-header-actions .site-action-count {
	position: absolute !important;
	top: -3px !important;
	right: -4px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 18px !important;
	height: 18px !important;
	padding: 0 4px !important;
	border: 2px solid #0b1728 !important;
	border-radius: 999px !important;
	background: var(--nrb-header-blue) !important;
	color: #ffffff !important;
	font-size: 9px !important;
	font-weight: 700 !important;
	line-height: 14px !important;
}

/* NAV */
body.nrb-premium-header-active .nrb-header-nav {
	min-height: 54px;
	background: var(--nrb-header-nav);
	border-bottom: 1px solid var(--nrb-header-line);
}

body.nrb-premium-header-active .nrb-header-nav-inner {
	display: flex;
	align-items: center;
	min-height: 54px;
}

body.nrb-premium-header-active .nrb-header-categories {
	flex: 0 0 220px;
	height: 54px;
}

body.nrb-premium-header-active .nrb-header-categories .custom-gategories {
	width: 220px;
	height: 54px;
	margin: 0;
	border-right: 1px solid rgba(255, 255, 255, .065);
	background: transparent !important;
}

body.nrb-premium-header-active .nrb-header-categories .custom-gategories > a {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	height: 54px;
	padding: 0 20px;
	color: #ffffff !important;
	font-size: 12.5px;
	font-weight: 650;
	white-space: nowrap;
}

body.nrb-premium-header-active .nrb-primary-nav {
	min-width: 0;
	height: 54px;
	margin-left: 16px;
}

body.nrb-premium-header-active .nrb-primary-nav > ul {
	display: flex;
	align-items: center;
	height: 54px;
}

body.nrb-premium-header-active .nrb-primary-nav > ul > li {
	position: relative;
	height: 54px;
}

body.nrb-premium-header-active .nrb-primary-nav > ul > li > a {
	display: inline-flex;
	align-items: center;
	height: 54px;
	padding: 0 19px !important;
	color: #e4ebf5 !important;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	background: transparent !important;
}

body.nrb-premium-header-active .nrb-primary-nav > ul > li > a:hover,
body.nrb-premium-header-active .nrb-primary-nav > ul > li.current-menu-item > a {
	color: #ffffff !important;
	background: transparent !important;
}

body.nrb-premium-header-active .nrb-primary-nav > ul > li.current-menu-item > a::after {
	content: "";
	position: absolute;
	left: 19px;
	right: 19px;
	bottom: 0;
	height: 2px;
	border-radius: 999px 999px 0 0;
	background: #3b82f6;
}

body.nrb-premium-header-active .nrb-header-promo {
	margin-left: auto;
}

/* DROPDOWNS */
body.nrb-premium-header-active .nrb-premium-header .site-dropdown,
body.nrb-premium-header-active .nrb-premium-header .sub-menu {
	background: #ffffff !important;
	color: #182033 !important;
	border: 1px solid rgba(15, 23, 42, .10);
	box-shadow: 0 18px 44px rgba(3, 10, 22, .20);
}

body.nrb-premium-header-active .nrb-premium-header .site-dropdown a,
body.nrb-premium-header-active .nrb-premium-header .site-dropdown p,
body.nrb-premium-header-active .nrb-premium-header .site-dropdown h4,
body.nrb-premium-header-active .nrb-premium-header .sub-menu a {
	color: #182033 !important;
}

/* DESKTOP INTERMÉDIO */
@media (max-width: 1450px) {
	body.nrb-premium-header-active .nrb-header-main-inner {
		grid-template-columns: 185px minmax(440px, 1fr) minmax(300px, auto);
		gap: 18px;
	}

	body.nrb-premium-header-active .nrb-header-logo-custom {
		width: 176px !important;
		max-width: 176px !important;
	}

	body.nrb-premium-header-active .nrb-header-actions-wrap {
		min-width: 300px;
	}

	body.nrb-premium-header-active .nrb-primary-nav > ul > li > a {
		padding-inline: 14px !important;
	}

	body.nrb-premium-header-active .nrb-primary-nav > ul > li.current-menu-item > a::after {
		left: 14px;
		right: 14px;
	}
}

@media (max-width: 1279px) {
	body.nrb-premium-header-active .nrb-header-shell {
		padding-inline: 22px;
	}

	body.nrb-premium-header-active .nrb-header-main-inner {
		grid-template-columns: 165px minmax(380px, 1fr) minmax(275px, auto);
		gap: 14px;
	}

	body.nrb-premium-header-active .nrb-header-logo-custom {
		width: 158px !important;
		max-width: 158px !important;
	}

	body.nrb-premium-header-active .nrb-header-actions-wrap {
		min-width: 275px;
	}

	body.nrb-premium-header-active .nrb-header-actions {
		gap: 6px;
	}

	body.nrb-premium-header-active .nrb-header-actions .action-account,
	body.nrb-premium-header-active .nrb-header-actions .action-account > a {
		min-width: 108px;
	}

	body.nrb-premium-header-active .nrb-primary-nav > ul > li > a {
		padding-inline: 11px !important;
		font-size: 11px;
	}

	body.nrb-premium-header-active .nrb-primary-nav > ul > li.current-menu-item > a::after {
		left: 11px;
		right: 11px;
	}
}

/* MOBILE */
@media (max-width: 1023px) {
	body.nrb-premium-header-active .nrb-header-topbar,
	body.nrb-premium-header-active .nrb-header-nav {
		display: none !important;
	}

	body.nrb-premium-header-active .nrb-header-main {
		min-height: 68px;
	}

	body.nrb-premium-header-active .nrb-header-main-inner {
		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 12px;
		min-height: 68px;
	}

	body.nrb-premium-header-active .nrb-header-brand-link {
		justify-content: center;
		min-height: 50px;
	}

	body.nrb-premium-header-active .nrb-header-logo-custom {
		width: 148px !important;
		max-width: 148px !important;
		max-height: 46px !important;
	}

	body.nrb-premium-header-active .nrb-header-discovery,
	body.nrb-premium-header-active .nrb-header-actions {
		display: none !important;
	}

	body.nrb-premium-header-active .nrb-header-mobile-menu .site-action-button,
	body.nrb-premium-header-active .nrb-header-actions-wrap .device-mobile {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 1px solid rgba(255, 255, 255, .11);
		border-radius: 9px;
		background: rgba(255, 255, 255, .055) !important;
		color: #ffffff !important;
	}

	body.nrb-premium-header-active .nrb-header-actions-wrap {
		min-width: 44px;
	}

	body.nrb-premium-header-active .nrb-header-mobile-tools {
		display: block !important;
		padding: 8px 0;
		background: var(--nrb-header-nav);
		border-top: 1px solid var(--nrb-header-line);
	}

	body.nrb-premium-header-active .nrb-header-mobile-tools-inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}
}

@media (max-width: 767px) {
	body.nrb-premium-header-active .nrb-header-shell {
		padding-inline: 15px;
	}

	body.nrb-premium-header-active .nrb-header-logo-custom {
		width: 136px !important;
		max-width: 136px !important;
	}
}


/* V1.7 FINAL — contraste fixo dos contactos e logo sem filtros */
body.nrb-premium-header-active .nrb-premium-header .nrb-header-contact-strip a.nrb-topbar-item,
body.nrb-premium-header-active .nrb-premium-header .nrb-header-contact-strip span.nrb-topbar-item {
	color: #eaf2ff !important;
	opacity: 1 !important;
	font-weight: 650 !important;
	text-shadow: none !important;
}

body.nrb-premium-header-active .nrb-premium-header .nrb-header-contact-strip .nrb-topbar-support {
	color: #ffffff !important;
	font-weight: 750 !important;
}

body.nrb-premium-header-active .nrb-premium-header .nrb-header-contact-strip .nrb-topbar-item svg {
	color: #69a5ff !important;
	opacity: 1 !important;
}

body.nrb-premium-header-active .nrb-premium-header .nrb-header-logo-custom {
	display: block !important;
	filter: none !important;
	opacity: 1 !important;
	visibility: visible !important;
}


/* ==========================================================
   HEADER NRB PREMIUM — POLISH FINAL V1.7.1
   Apenas micro-afinações visuais. Sem alterações estruturais.
   ========================================================== */

body.nrb-premium-header-active .nrb-header-logo-custom {
	width: 180px !important;
	max-width: 180px !important;
	transform: translateY(-1px) !important;
}

body.nrb-premium-header-active .nrb-header-main-inner {
	column-gap: 30px !important;
}

body.nrb-premium-header-active .nrb-header-actions {
	gap: 12px !important;
}

body.nrb-premium-header-active .nrb-header-actions .site-action-icon svg {
	width: 25px !important;
	height: 25px !important;
	stroke-width: 1.75 !important;
}

body.nrb-premium-header-active .nrb-header-topbar .nrb-topbar-item,
body.nrb-premium-header-active .nrb-header-topbar-nav > ul > li > a,
body.nrb-premium-header-active .nrb-language-nav > ul > li > a {
	font-size: 12.5px !important;
}

body.nrb-premium-header-active .nrb-header-categories .custom-gategories > a {
	gap: 14px !important;
	font-weight: 600 !important;
}

body.nrb-premium-header-active .nrb-primary-nav > ul > li > a {
	font-size: 12.5px !important;
	letter-spacing: -0.01em;
}