/*
 * Biorganica Noir — site-wide theme (owner design "Biorganica Noir", 2026-10-28).
 * Tokens and components follow the design's style guide (Ghid de stil · v1):
 * dark green background, gold accents, ivory text, Marcellus headings, Jost text,
 * square corners, 1px gold lines, shadows only under the menu and dialogs.
 * Loaded on every page (inc/noir.php); page-specific parts live in noir-shop.css / noir-lp.css.
 */

/* ---------- Fonts (self-hosted, SIL OFL — see assets/fonts/noir/OFL.txt) ---------- */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap;
	src: url(../fonts/noir/jost-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap;
	src: url(../fonts/noir/jost-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap;
	src: url(../fonts/noir/marcellus-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap;
	src: url(../fonts/noir/marcellus-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
	--bg: #08140F;
	--bg-hero: #0B1D15;
	--panel: #0E1F17;
	--panel-2: #13291F;
	--gold: #C9A24B;
	--ivory: #F3EBD7;
	--ivory-2: #E6DFCB;
	--muted: #B9B5A3;
	--line: rgba(201, 162, 75, .45);
	--line-soft: rgba(201, 162, 75, .35);
	--line-faint: rgba(201, 162, 75, .25);
	--line-field: rgba(201, 162, 75, .6);
	--gold-ink: #7A5E1C;
	--font-display: 'Marcellus', Georgia, serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
	--font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
	--wrap: 1280px;
	--gutter: 48px;
	--section: 128px;
	/* the old theme reads these — keep it in the palette */
	--rt-primary-color: #C9A24B;
	--rt-secondary-color: #C9A24B;
	--rt-body-color: #E6DFCB;
	--rt-title-color: #F3EBD7;
	--rt-border-color: rgba(201, 162, 75, .45);
}
@media (max-width: 900px) { :root { --gutter: 20px; --section: 80px; } }

/* ---------- Base ---------- */
html, body.noir { background: var(--bg) !important; }
body.noir {
	margin: 0; color: var(--ivory); font-family: var(--font-body); font-weight: 300;
	font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
body.noir #page, body.noir .site, body.noir .site-content, body.noir #content { background: transparent; }
body.noir:not(.noir-lp) a, body.noir .nr-header a, body.noir .nr-footer a, body.noir .nr-drawer a { color: inherit; text-decoration: none; transition: color .15s ease; }
body.noir:not(.noir-lp) a:hover, body.noir .nr-header a:hover, body.noir .nr-footer a:hover { color: var(--gold); }
body.noir:not(.noir-lp) :is(h1, h2, h3, h4, h5, h6, .entry-title, .page-title) {
	font-family: var(--font-display); font-weight: 400; color: var(--ivory); letter-spacing: 0; text-transform: none;
}
body.noir p, body.noir li, body.noir td, body.noir th, body.noir label, body.noir dd, body.noir dt { color: inherit; }
body.noir em, body.noir i { font-style: normal; } /* design: no italics, accent by colour */
body.noir ::selection { background: var(--gold); color: var(--bg); }
body.noir img { max-width: 100%; height: auto; }
body.noir :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
body.noir hr { border: 0; border-top: 1px solid var(--line); }

.nr-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.nr-section { padding-top: var(--section); }
.nr-gold { color: var(--gold); }
.nr-muted { color: var(--muted); }
.nr-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Eyebrows / labels */
.nr-eyebrow { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.nr-eyebrow--lg { font-size: 12px; letter-spacing: .34em; font-weight: 400; }
.nr-label { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.nr-h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 84px; line-height: 1.05; }
.nr-h2 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 54px; line-height: 1.05; }
.nr-lede { font-size: 17px; line-height: 1.7; color: var(--ivory-2); }
.nr-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.nr-sec-head--center { display: block; text-align: center; }
.nr-sec-head--center p { margin: 16px 0 0; font-size: 16px; color: var(--muted); }
@media (max-width: 900px) {
	.nr-h1 { font-size: 46px; line-height: 1.06; }
	.nr-h2 { font-size: 36px; line-height: 1.08; margin-top: 12px; }
}

/* Buttons — square, min 44px */
.nr-btn, body.noir .nr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 54px; padding: 0 34px; box-sizing: border-box; cursor: pointer;
	font-family: var(--font-body); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400;
	border: 1px solid var(--gold); background: transparent; color: var(--ivory); border-radius: 0;
	transition: background .15s ease, color .15s ease;
}
.nr-btn:hover, body.noir a.nr-btn:hover { background: rgba(201, 162, 75, .12); color: var(--ivory); }
.nr-btn--primary, body.noir .nr-btn--primary, body.noir a.nr-btn--primary { background: var(--gold); color: var(--bg); font-weight: 500; }
.nr-btn--primary:hover, body.noir a.nr-btn--primary:hover { background: #d6b25e; color: var(--bg); }
/* a.nr-btn--…: beats the generic "body.noir:not(.noir-lp) a { color: inherit }" link rule */
.nr-btn--dark, body.noir .nr-btn--dark, body.noir a.nr-btn--dark { background: var(--bg); border-color: var(--bg); color: var(--gold); font-weight: 500; }
.nr-btn--dark:hover, body.noir a.nr-btn--dark:hover { background: #12271c; color: var(--gold); }
.nr-btn--sm { height: 44px; padding: 0 18px; letter-spacing: .22em; }
.nr-btn--block { display: flex; width: 100%; }
.nr-btn.loading { opacity: .6; pointer-events: none; }
.nr-btn.added::after { content: '✓'; letter-spacing: 0; }
.nr-link {
	display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; letter-spacing: .24em;
	text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 4px; min-height: 0;
}
.nr-link:hover { color: var(--gold); }

/* Fields */
.nr-input, body.noir .nr-input {
	width: 100%; height: 54px; box-sizing: border-box; border: 1px solid var(--line-field); border-radius: 0;
	background: transparent; padding: 0 18px; font-family: var(--font-body); font-size: 16px; color: var(--ivory);
}
.nr-input::placeholder { color: rgba(243, 235, 215, .45); }
.nr-input:focus { outline: none; border-color: var(--gold); }

/* Badge, stars */
.nr-badge { display: inline-block; border: 1px solid var(--gold); padding: 5px 9px; font-size: 10px; letter-spacing: .22em; font-weight: 500; color: var(--gold); line-height: 1.2; background: var(--bg); }
.nr-badge--sale { background: var(--gold); color: var(--bg); }
.nr-stars { font-size: 13px; color: var(--muted); }
.nr-stars span[aria-label] { color: var(--gold); letter-spacing: .04em; }

/* Gold anchors (9px squares) and the lattice pattern */
.nr-anchored { position: relative; }
.nr-anchor { position: absolute; width: 9px; height: 9px; background: var(--gold); z-index: 1; }
.nr-anchor--tl { left: -5px; top: -5px; } .nr-anchor--tr { right: -5px; top: -5px; }
.nr-anchor--bl { left: -5px; bottom: -5px; } .nr-anchor--br { right: -5px; bottom: -5px; }
.nr-lattice { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nr-hero-band { position: relative; overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-hero); }
.nr-hero-band > .nr-wrap { position: relative; }
.nr-diamond { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; display: inline-block; }

/* Panels */
.nr-panel { background: var(--panel); border: 1px solid var(--line); }
.nr-panel--gold { border-color: var(--gold); }
.nr-gold-band { background: var(--gold); color: var(--bg); }
.nr-gold-band .nr-eyebrow { color: var(--bg); }

/* ---------- Top bar + header ---------- */
.nr-topbar { text-align: center; padding: 12px 24px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--line-soft); }
.nr-header { position: relative; z-index: 60; background: var(--bg); }
.nr-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; }
.nr-nav, .nr-tools { flex: 1 1 280px; display: flex; gap: 36px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.nr-tools { gap: 28px; justify-content: flex-end; }
.nr-nav a, .nr-tools a, .nr-tools button { padding: 6px 0; border-bottom: 1px solid transparent; }
.nr-nav a.is-active, .nr-nav a[aria-expanded="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.nr-tools button { background: none; border-top: 0; border-left: 0; border-right: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.nr-tools button[aria-expanded="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.nr-logo { text-align: center; display: block; flex: none; }
.nr-logo__name { display: block; font-family: var(--font-display); font-size: 40px; letter-spacing: .34em; padding-left: .34em; color: var(--gold); line-height: 1.15; }
.nr-logo__tag { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .46em; text-transform: uppercase; padding-left: .46em; color: var(--muted); }
.nr-header__mobile-btn, .nr-header__mobile-cart, .nr-header__msearch { display: none; }
.nr-searchbar { border-top: 1px solid var(--line-soft); background: var(--panel); }
.nr-searchbar form, .nr-search-form { display: flex; border: 1px solid var(--gold); background: var(--bg); }
.nr-searchbar .nr-wrap { padding-top: 24px; padding-bottom: 24px; }
.nr-search-form input[type="search"] { flex: 1 1 auto; min-width: 0; height: 60px; border: 0; background: transparent; padding: 0 22px; font-family: var(--font-display); font-size: 22px; color: var(--ivory); border-radius: 0; }
.nr-search-form input[type="search"]:focus { outline: none; }
.nr-search-form button { flex: none; height: 60px; padding: 0 32px; background: var(--gold); color: var(--bg); border: 0; font-family: var(--font-body); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; cursor: pointer; border-radius: 0; }

/* Mega menu "Produse" */
.nr-mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--panel); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); box-shadow: 0 30px 70px rgba(0, 0, 0, .6); z-index: 70; }
.nr-mega[hidden], .nr-searchbar[hidden], .nr-drawer[hidden] { display: none !important; }
.nr-mega__inner { display: flex; align-items: stretch; max-height: calc(100vh - 180px); }
.nr-mega__cats { flex: 0 0 290px; padding: 32px 24px 32px 0; border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; overflow-y: auto; }
.nr-mega__cats .nr-eyebrow { font-size: 10px; letter-spacing: .3em; padding-bottom: 14px; }
.nr-mega__cat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 12px 10px 14px; border-left: 2px solid transparent; font-family: var(--font-display); font-size: 17px; color: var(--ivory); text-align: left; }
.nr-mega__cat small { font-family: var(--font-body); font-size: 11px; color: var(--muted); }
.nr-mega__cat.is-active { border-left-color: var(--gold); background: var(--panel-2); color: var(--gold); }
.nr-mega__panels { flex: 1 1 auto; min-width: 0; padding: 32px 40px; overflow-y: auto; }
.nr-mega__panel[hidden] { display: none; }
.nr-mega__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid rgba(201, 162, 75, .5); }
.nr-mega__title { font-family: var(--font-display); font-size: 38px; line-height: 1.05; }
.nr-mega__title small { font-family: var(--font-body); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-left: 8px; }
.nr-mega__all { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid var(--gold); padding-bottom: 3px; white-space: nowrap; }
.nr-mega__groups { column-count: 3; column-gap: 40px; }
.nr-mega__group { break-inside: avoid; margin-bottom: 26px; }
.nr-mega__group > a { display: block; font-family: var(--font-display); font-size: 19px; line-height: 1.2; color: var(--gold); }
.nr-mega__group small, .nr-mega__item small { font-family: var(--font-body); font-size: 11px; color: var(--muted); }
.nr-mega__items { margin-top: 8px; display: flex; flex-direction: column; }
.nr-mega__item { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; color: var(--ivory-2); }
.nr-mega__promo { flex: 0 0 250px; padding: 32px 0 32px 8px; box-sizing: border-box; }
.nr-promo-card { height: 100%; box-sizing: border-box; background: var(--gold); color: var(--bg); padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.nr-promo-card__title { margin-top: 18px; font-family: var(--font-display); font-size: 32px; line-height: 1.1; }
.nr-promo-card p { margin: 12px 0 0; font-size: 14px; line-height: 1.55; font-weight: 400; }
.nr-promo-card .nr-price-from { font-size: 13px; font-weight: 400; }
.nr-promo-card .nr-price-from b { font-family: var(--font-display); font-size: 32px; font-weight: 400; vertical-align: -3px; }
body.noir .nr-promo-card a { margin-top: 14px; display: flex; align-items: center; justify-content: center; height: 46px; background: var(--bg); color: var(--gold); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.nr-mega-backdrop { position: fixed; inset: 0; background: rgba(3, 8, 5, .72); z-index: 55; }
.nr-mega-backdrop[hidden] { display: none; }

/* Mobile drawer */
.nr-drawer { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; }
.nr-drawer__bar { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; min-height: 68px; border-bottom: 1px solid var(--line); flex: none; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.nr-drawer__bar button { background: none; border: 0; color: var(--gold); font: inherit; letter-spacing: inherit; text-transform: inherit; min-height: 44px; cursor: pointer; padding: 0; }
.nr-drawer__logo { font-family: var(--font-display); font-size: 22px; letter-spacing: .28em; padding-left: .28em; color: var(--gold); text-transform: none; }
.nr-drawer__search { padding: 16px 20px; flex: none; }
.nr-drawer__search input { height: 48px; font-size: 15px; padding: 0 16px; }
.nr-drawer__nav { flex: 1 1 auto; overflow-y: auto; padding: 0 20px 24px; }
.nr-drawer__nav .nr-eyebrow { font-size: 10px; letter-spacing: .3em; padding: 8px 0 12px; display: block; }
.nr-drawer__cats { border-top: 1px solid var(--line-soft); }
.nr-dcat { border-bottom: 1px solid var(--line-faint); }
.nr-dcat > button { display: flex; width: 100%; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 4px; background: none; border: 0; font-family: var(--font-display); font-size: 20px; color: var(--ivory); text-align: left; cursor: pointer; }
.nr-dcat > button small { font-family: var(--font-body); font-size: 11px; color: var(--muted); margin-left: 6px; }
.nr-dcat > button::after { content: '+'; font-size: 22px; color: var(--gold); }
.nr-dcat.is-open { background: var(--panel); border-bottom-color: var(--line-soft); }
.nr-dcat.is-open > button { color: var(--gold); }
.nr-dcat.is-open > button::after { content: '−'; }
.nr-dcat__list { padding: 0 4px 14px; border-left: 1px solid var(--line-soft); margin-left: 4px; }
.nr-dcat__list[hidden] { display: none; }
.nr-dcat__list a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding-left: 16px; font-size: 15px; }
.nr-dcat__list a small { font-size: 11px; color: var(--muted); }
.nr-dcat__list a.nr-dcat__all { font-weight: 400; }
.nr-dcat__list a.nr-dcat__all span:last-child { color: var(--gold); }
.nr-drawer__links { margin-top: 20px; display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.nr-drawer__links a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line-faint); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.nr-drawer__promo { flex: none; border-top: 1px solid var(--line); background: var(--panel); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nr-drawer__promo .nr-eyebrow { font-size: 10px; letter-spacing: .24em; }
.nr-drawer__promo strong { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 17px; font-weight: 400; }
body.nr-lock { overflow: hidden; }

@media (max-width: 1100px) {
	.nr-nav { gap: 22px; } .nr-tools { gap: 18px; }
	.nr-logo__name { font-size: 32px; }
}
@media (max-width: 900px) {
	.nr-topbar { padding: 10px 16px; font-size: 10px; letter-spacing: .24em; }
	.nr-header__row { min-height: 68px; gap: 12px; }
	.nr-nav, .nr-tools { display: none; }
	.nr-header__mobile-btn, .nr-header__mobile-cart { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; background: none; border: 0; color: var(--ivory); padding: 0; cursor: pointer; font-family: var(--font-body); }
	.nr-header__mobile-btn, .nr-header__mobile-cart { flex: 1 1 0; white-space: nowrap; }
	.nr-header__mobile-cart { justify-content: flex-end; }
	.nr-logo__name { font-size: 21px; letter-spacing: .24em; padding-left: .24em; }
	.nr-logo__tag { display: none; }
	.nr-header__msearch { display: block; padding: 0 20px 16px; }
	.nr-header__msearch .nr-input { height: 48px; font-size: 15px; padding: 0 16px; }
	.nr-mega, .nr-mega-backdrop, .nr-searchbar { display: none !important; }
}

/* ---------- Page hero / breadcrumb ---------- */
.nr-page-hero .nr-wrap { padding-top: 40px; padding-bottom: 56px; }
.nr-page-hero--center .nr-wrap { text-align: center; padding-top: 80px; padding-bottom: 72px; }
.nr-page-hero h1 { margin: 28px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 64px; line-height: 1.05; }
.nr-page-hero--center h1 { margin-top: 20px; font-size: 72px; line-height: 1.02; }
.nr-page-hero p, .nr-page-hero .term-description { margin: 16px 0 0; max-width: 560px; font-size: 17px; line-height: 1.7; color: var(--ivory-2); }
.nr-page-hero--center p { margin-left: auto; margin-right: auto; }
.nr-page-hero--plain { background: var(--bg-hero); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.nr-page-hero--plain .nr-wrap { padding-top: 48px; padding-bottom: 44px; }
.nr-page-hero--plain h1 { margin: 0; font-size: 60px; }
.nr-page-hero--plain .nr-eyebrow + h1 { margin-top: 16px; }
.nr-crumbs { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nr-crumbs a:hover { color: var(--gold); }
.nr-crumbs .sep { margin: 0 .6em; }
.nr-crumbs [aria-current] { color: var(--gold); }
.nr-crumbbar { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.nr-crumbbar .nr-crumbs { padding-top: 18px; padding-bottom: 18px; }
@media (max-width: 900px) {
	.nr-page-hero h1, .nr-page-hero--plain h1 { font-size: 40px; }
	.nr-page-hero--center h1 { font-size: 46px; }
	.nr-page-hero .nr-wrap { padding-top: 28px; padding-bottom: 40px; }
}

/* ---------- Product card ---------- */
.nr-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.nr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nr-card { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.nr-card__media { aspect-ratio: 1 / 1.05; background: var(--ivory); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.nr-card__media img { width: 82% !important; height: 82% !important; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.nr-card:hover .nr-card__media img { transform: scale(1.04); }
.nr-card__media .nr-badge { position: absolute; left: 14px; top: 14px; z-index: 1; }
.nr-card__media .nr-badge + .nr-badge { left: auto; right: 14px; }
.nr-card__media--empty { background: var(--panel-2); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.nr-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.nr-card__cat { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.nr-card__title { margin: 10px 0 0; font-family: var(--font-display); font-size: 18px; line-height: 1.35; font-weight: 400; }
.nr-card__title a:hover { color: var(--gold); }
.nr-card .nr-stars { margin-top: 8px; }
.nr-card__foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nr-price { font-family: var(--font-display); font-size: 24px; color: var(--gold); line-height: 1.1; }
.nr-price del, .nr-price s { display: block; font-family: var(--font-body); font-size: 13px; color: var(--muted); text-decoration: line-through; }
.nr-price ins { text-decoration: none; background: none; }
.nr-price .woocommerce-Price-currencySymbol { font-size: .8em; }
.nr-card .nr-btn--sm { flex: none; padding: 0 16px; letter-spacing: .2em; }
.nr-card a.added_to_cart { display: none; }
@media (max-width: 1100px) { .nr-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.nr-grid, .nr-grid--4, .nr-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.nr-card__body { padding: 14px 14px 16px; }
	.nr-card__title { font-size: 15px; }
	.nr-card__foot { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 14px; }
	.nr-price { font-size: 20px; }
	.nr-card .nr-btn--sm { width: 100%; }
}

/* ---------- Pagination ---------- */
.nr-pagination { margin-top: 56px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.nr-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 4px; box-sizing: border-box; border: 1px solid var(--line-field); font-size: 14px; list-style: none; }
.nr-pagination .page-numbers.current { background: var(--gold); border-color: var(--gold); color: var(--bg); font-weight: 500; }
.nr-pagination .page-numbers.dots { border: 0; color: var(--muted); }
.nr-pagination .page-numbers.next, .nr-pagination .page-numbers.prev { padding: 0 20px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.nr-pagination ul { display: contents; }

/* ---------- Accordions ---------- */
.nr-acc { border-top: 1px solid var(--line); }
.nr-acc details { border-bottom: 1px solid var(--line); }
.nr-acc summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; font-family: var(--font-display); font-size: 26px; cursor: pointer; list-style: none; }
.nr-acc summary::-webkit-details-marker { display: none; }
.nr-acc summary::after { content: '+'; color: var(--gold); font-family: var(--font-body); font-size: 24px; }
.nr-acc details[open] summary::after { content: '−'; }
.nr-acc .nr-acc__body { padding: 0 0 32px; max-width: 760px; font-size: 16px; line-height: 1.8; color: var(--ivory-2); }
@media (max-width: 900px) { .nr-acc summary { font-size: 20px; padding: 20px 0; } }

/* ---------- Trust row, CTA band, newsletter ---------- */
.nr-trust { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nr-trust > div { flex: 1 1 240px; text-align: center; padding: 40px 12px; }
.nr-trust > div + div { border-left: 1px solid var(--line); }
.nr-trust strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--gold); }
.nr-trust span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.nr-band { margin-top: var(--section); }
.nr-band .nr-wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.nr-band__title { margin-top: 14px; font-family: var(--font-display); font-size: 42px; line-height: 1.1; }
.nr-newsletter .nr-wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; justify-content: space-between; }
.nr-newsletter h2 { margin: 18px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 50px; line-height: 1.08; color: var(--bg); }
.nr-newsletter p { margin: 18px 0 0; max-width: 460px; font-size: 16px; line-height: 1.7; font-weight: 400; }
.nr-newsletter form { margin-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.nr-newsletter input { flex: 1 1 220px; height: 54px; box-sizing: border-box; border: 1px solid var(--bg); background: transparent; padding: 0 18px; font-family: var(--font-body); font-size: 16px; color: var(--bg); border-radius: 0; }
.nr-newsletter input::placeholder { color: rgba(8, 20, 15, .55); }
.nr-newsletter small, .nr-newsletter .nr-nl-msg { display: block; margin-top: 12px; font-size: 13px; font-weight: 400; }
.nr-nl-msg:empty { display: none; }
@media (max-width: 900px) {
	.nr-trust > div { flex-basis: 50%; padding: 24px 8px; }
	.nr-trust > div + div { border-left: 0; }
	.nr-trust > div:nth-child(even) { border-left: 1px solid var(--line); }
	.nr-trust > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.nr-band__title, .nr-newsletter h2 { font-size: 32px; }
	.nr-newsletter .nr-wrap, .nr-band .nr-wrap { padding-top: 56px; padding-bottom: 56px; }
}

/* ---------- Footer ---------- */
.nr-footer { margin-top: var(--section); }
body.home .nr-footer { margin-top: 0; } /* page ends with a gold band */
.nr-footer .nr-wrap { padding-top: 80px; padding-bottom: 40px; }
.nr-footer--bordered .nr-wrap { border-top: 1px solid var(--line); }
.nr-footer__usp { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.nr-footer__usp strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--gold); }
.nr-footer__usp span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ivory-2); }
.nr-footer__main { padding-top: 56px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.nr-footer__brand { flex: 1 1 300px; }
.nr-footer__brand .nr-footer__logo { font-family: var(--font-display); font-size: 32px; letter-spacing: .3em; color: var(--gold); }
.nr-footer__brand p { margin: 18px 0 0; font-size: 14px; line-height: 1.7; color: var(--ivory-2); }
.nr-footer__links { flex: 1 1 200px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.nr-footer__contact { flex: 1 1 240px; font-size: 14px; line-height: 1.7; color: var(--ivory-2); }
.nr-footer__contact .nr-footer__phone { font-family: var(--font-display); font-size: 26px; color: var(--gold); }
.nr-footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-faint); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.nr-footer__legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.nr-footer__legal img { height: 40px; width: auto; filter: grayscale(.2); }
.nr-footer--min .nr-wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.nr-footer--min nav { display: flex; gap: 28px; flex-wrap: wrap; }
.nr-footer--min { border-top: 1px solid var(--line-soft); margin-top: 112px; }

/* ---------- Generic content pages (page.php / single.php / Elementor text) ---------- */
body.noir .nr-content { max-width: 860px; margin: 0 auto; padding: 64px var(--gutter) 0; font-size: 17px; line-height: 1.75; color: var(--ivory-2); }
body.noir .nr-content--wide { max-width: var(--wrap); }
body.noir .nr-content h2 { font-size: 38px; margin: 48px 0 16px; line-height: 1.15; }
body.noir .nr-content h3 { font-size: 28px; margin: 36px 0 12px; }
body.noir .nr-content a { color: var(--gold); border-bottom: 1px solid rgba(201, 162, 75, .5); }
body.noir .nr-content ul li::marker { color: var(--gold); }
/* Text pages (Terms, Privacy, policies): left-aligned, readable lists and small headings. */
body.noir .nr-content { text-align: left; }
body.noir .nr-content h4 { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.3; color: var(--ivory); margin: 40px 0 10px; }
body.noir .nr-content p { margin: 0 0 16px; }
body.noir .nr-content ul, body.noir .nr-content ol { margin: 8px 0 20px; padding-left: 24px; }
body.noir .nr-content li { margin: 6px 0; padding-left: 4px; }
body.noir .nr-content li > p { margin: 0; }
body.noir .nr-content hr { border: 0; border-top: 1px solid var(--line-faint); margin: 40px 0 24px; }
body.noir .nr-content strong { color: var(--ivory); font-weight: 500; }
body.noir .nr-content blockquote { border-left: 2px solid var(--gold); margin: 32px 0; padding: 8px 0 8px 24px; font-family: var(--font-display); font-size: 24px; color: var(--ivory); }
body.noir .nr-content table { width: 100%; border-collapse: collapse; }
body.noir .nr-content th, body.noir .nr-content td { border-bottom: 1px solid var(--line-faint); padding: 12px 8px; text-align: left; }

/* Elementor sections inside content pages: keep them on the dark palette */
body.noir .elementor-widget-heading .elementor-heading-title { font-family: var(--font-display) !important; font-weight: 400 !important; color: var(--ivory) !important; }
body.noir .elementor-widget-text-editor { color: var(--ivory-2) !important; font-family: var(--font-body) !important; }
body.noir .elementor-section, body.noir .e-con { background-color: transparent !important; }
body.noir .elementor-button { border-radius: 0 !important; background: var(--gold) !important; color: var(--bg) !important; font-family: var(--font-body) !important; letter-spacing: .24em; text-transform: uppercase; font-size: 12px !important; }

/* ---------- WooCommerce notices ---------- */
body.noir .woocommerce-message, body.noir .woocommerce-info, body.noir .woocommerce-error, body.noir .woocommerce-notice {
	background: var(--panel) !important; color: var(--ivory) !important; border: 1px solid var(--gold) !important; border-radius: 0 !important;
	font-family: var(--font-body); font-size: 15px; padding: 16px 20px !important; list-style: none; margin: 0 0 24px !important;
}
body.noir .woocommerce-error { border-color: #d97a6c !important; }
body.noir .woocommerce-message::before, body.noir .woocommerce-info::before, body.noir .woocommerce-error::before { color: var(--gold) !important; }
body.noir .woocommerce-message .button, body.noir .woocommerce-info .button { background: transparent !important; color: var(--gold) !important; border: 1px solid var(--gold) !important; border-radius: 0 !important; }

/* Hide leftovers of the old chrome if a plugin still prints them */
body.noir .rt-header-top, body.noir #rtsb-cart-float-menu, body.noir .bio-promo, body.noir .bio-trust { display: none !important; }

/* ---------- Cookie consent (biorganica-consent) in Noir ---------- */
body.noir .consent-banner, body.noir .consent-modal-content {
	background: var(--panel) !important; color: var(--ivory) !important; border: 1px solid var(--gold) !important;
	border-radius: 0 !important; box-shadow: 0 30px 70px rgba(0, 0, 0, .6) !important; font-family: var(--font-body) !important;
}
body.noir .consent-banner h3, body.noir .consent-banner h4, body.noir .consent-modal-header h3, body.noir .consent-modal h4 { font-family: var(--font-display) !important; font-weight: 400 !important; color: var(--ivory) !important; }
body.noir .consent-banner p, body.noir .consent-text, body.noir .consent-modal p, body.noir .consent-category { color: var(--ivory-2) !important; }
body.noir .consent-banner a, body.noir .consent-modal a { color: var(--gold) !important; }
body.noir .consent-btn { border-radius: 0 !important; font-family: var(--font-body) !important; font-size: 12px !important; letter-spacing: .2em !important; text-transform: uppercase !important; min-height: 44px; box-shadow: none !important; }
body.noir .consent-btn-primary { background: var(--gold) !important; color: var(--bg) !important; border: 1px solid var(--gold) !important; font-weight: 500 !important; }
body.noir .consent-btn-secondary { background: transparent !important; color: var(--ivory) !important; border: 1px solid var(--gold) !important; }
body.noir .consent-backdrop { background: rgba(3, 8, 5, .72) !important; }
body.noir .consent-category { border-color: var(--line-faint) !important; background: transparent !important; }
body.noir .consent-slider { background: rgba(201, 162, 75, .25) !important; border-radius: 0 !important; }
body.noir .consent-switch input:checked + .consent-slider { background: var(--gold) !important; }
body.noir .consent-slider::before { border-radius: 0 !important; }
body.noir .consent-close { color: var(--gold) !important; }

/* ---------- Blog ---------- */
.nr-chips { margin-top: 36px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.nr-chips a { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border: 1px solid var(--line-field); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.nr-chips a.is-active { background: var(--gold); border-color: var(--gold); color: var(--bg); font-weight: 500; }
.nr-feature { display: flex; flex-wrap: wrap; color: var(--ivory) !important; }
.nr-feature__media { position: relative; flex: 1 1 520px; min-height: 380px; background: var(--panel-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.nr-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nr-feature__body { flex: 1 1 480px; padding: 56px; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
.nr-feature__title { margin: 18px 0 0; font-size: 40px; line-height: 1.12; }
.nr-feature__body p { margin: 18px 0 0; font-size: 16px; line-height: 1.7; color: var(--ivory-2); }
.nr-feature__meta { margin-top: 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nr-posts { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.nr-post { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); color: var(--ivory) !important; }
.nr-post:hover { border-color: var(--gold); }
.nr-post__media { position: relative; aspect-ratio: 16 / 10; background: var(--panel-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.nr-post__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nr-post__mark { position: relative; font-family: var(--font-display); font-size: 22px; letter-spacing: .3em; color: var(--gold); }
.nr-post__body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.nr-post__title { margin: 12px 0 0; font-size: 22px; line-height: 1.3; }
.nr-post__body p { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: var(--ivory-2); }
.nr-post__foot { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nr-article__img { margin: 0 0 40px; border: 1px solid var(--line); }
.nr-article__img img { display: block; width: 100%; height: auto; }
body.post-type-archive-product_blog .nr-footer { margin-top: 0; }
@media (max-width: 900px) {
	.nr-feature__media { min-height: 220px; flex-basis: 100%; }
	.nr-feature__body { padding: 28px 22px; }
	.nr-feature__title { font-size: 28px; }
	.nr-posts { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Contact ---------- */
.nr-contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.nr-contact__card { display: flex; flex-direction: column; gap: 14px; padding: 28px; color: var(--ivory) !important; min-height: 170px; box-sizing: border-box; }
a.nr-contact__card:hover { border-color: var(--gold); }
.nr-contact__value { font-family: var(--font-display); font-size: 23px; line-height: 1.2; color: var(--gold); overflow-wrap: anywhere; }
.nr-contact__card span { font-size: 14px; color: var(--muted); margin-top: auto; }
.nr-contact__why { margin-top: var(--section); display: flex; flex-wrap: wrap; gap: 72px; align-items: flex-start; }
.nr-contact__why > div:first-child { flex: 1 1 340px; }
.nr-contact__list { flex: 1 1 560px; border-top: 1px solid var(--line); }
.nr-contact .nr-step { display: flex; gap: 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.nr-contact .nr-step b { flex: 0 0 56px; font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--gold); }
.nr-contact .nr-step strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.nr-contact .nr-step p { margin: 8px 0 0; font-size: 16px; line-height: 1.7; color: var(--ivory-2); }
@media (max-width: 900px) { .nr-contact__why { gap: 24px; } .nr-contact .nr-step { gap: 16px; } }

/* Uploaded logo (Customizer → Biorganica Noir) */
.nr-logo__img { display: block; height: var(--nr-logo-h, 64px); width: auto; max-width: 360px; object-fit: contain; }
.nr-footer__brand .nr-logo__img { margin: 0; }
@media (max-width: 900px) { .nr-logo__img { height: min(var(--nr-logo-h, 64px), 36px); max-width: 200px; margin: 0 auto; } }
.nr-pdp__rows a { color: var(--gold); }
.nr-mega__promo .nr-price-from b { font-size: 26px; white-space: nowrap; vertical-align: 0; }

/* Cookie consent bar (inc/noir-consent.php) */
.nr-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99999; display: flex; justify-content: center; pointer-events: none; }
.nr-consent[hidden] { display: none; }
.nr-consent__inner { pointer-events: auto; width: 100%; max-width: 1080px; box-sizing: border-box; display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; padding: 22px 26px; background: var(--panel); border: 1px solid var(--gold); color: var(--ivory-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); font-family: var(--font-body); }
.nr-consent__title { font-family: var(--font-display); font-size: 22px; color: var(--ivory); margin-bottom: 6px; }
.nr-consent__text p { margin: 0; font-size: 14px; line-height: 1.6; }
.nr-consent__text strong { color: var(--ivory); font-weight: 500; }
.nr-consent__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.nr-consent__prefs { grid-column: 1 / -1; display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-faint); }
.nr-consent__prefs[hidden] { display: none; }
.nr-consent__opt { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.nr-consent__opt input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.nr-consent__opt b { color: var(--ivory); font-weight: 500; }
.nr-consent__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
body.noir .nr-consent [hidden], .nr-consent [hidden] { display: none !important; }   /* .nr-btn's display would otherwise win */
body.noir .nr-consent__btn { height: 44px; padding: 0 20px; font-size: 12px; letter-spacing: .14em; white-space: nowrap; cursor: pointer; }
@media (max-width: 900px) {
	.nr-consent { left: 10px; right: 10px; bottom: 10px; }
	.nr-consent__inner { grid-template-columns: 1fr; padding: 16px; gap: 12px; max-height: 75vh; overflow-y: auto; }
	.nr-consent__title { font-size: 18px; margin-bottom: 4px; }
	.nr-consent__text p, .nr-consent__opt { font-size: 13px; line-height: 1.5; }
	.nr-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
	.nr-consent__actions .nr-btn--primary { grid-column: 1 / -1; order: -1; }
	body.noir .nr-consent__btn { width: 100%; height: 42px; padding: 0 10px; letter-spacing: .1em; }
}
