/* IRENNE global shell: header, mega-menu, mobile menu, footer.
   Matches the homepage design PNG; values refined against Figma later. */

/* Global guard: nothing may scroll the page sideways. Individual carousels
   scroll inside their own tracks; a stray wide child must never widen the
   document (a recurring failure mode with flex/grid tracks in Elementor). */
html, body {
	max-width: 100%;
	/* clip, not hidden: hidden turns body into a scroll container and
	   silently kills position:sticky for every descendant (the checkout
	   confirm-button pin was the victim). clip guards the same. */
	overflow-x: clip;
}

/* ---------- Header ---------- */
.ir-header {
	background: var(--ir-bg);
	border-bottom: 1px solid var(--ir-border);
	position: sticky;
	top: 0;
	/* Above Woo's magic z-99 (gallery zoom trigger et al.) — page-level
	   chrome must never poke through the open mega menu. */
	z-index: 110;
}
/* The wordmark is taken out of flow and centred on the header itself. A
   `1fr auto 1fr` track cannot centre it: the two flanks hold different
   content (burger 20px vs utilities 74px on mobile; nav 434px vs
   utilities 232px on desktop), so as soon as free space runs out the wider
   flank pushes the middle column off centre — 142px at 1920px before this,
   and 25px at 320px. Burger and nav share column 1; they never coexist. */
.ir-header__inner {
	position: relative;
	max-width: var(--ir-shell-max);
	margin: 0 auto;
	padding: 0 var(--ir-side-pad);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	/* Reference-site bar height on phones/tablets; compact from 1200px. */
	min-height: 80px;
	gap: 24px;
}
@media (min-width: 1200px) {
	.ir-header__inner { min-height: 58px; }
}
.ir-header__burger,
.ir-header__nav { grid-column: 1; justify-self: start; }
.ir-header__utils { grid-column: 2; justify-self: end; }
.ir-header__logo {
	/* `grid-column` must stay auto: for an absolutely positioned grid child
	   a named column makes that grid *area* the containing block, so
	   `left: 50%` would centre on the column, not the header. */
	position: absolute;
	grid-column: auto;
	left: 50%;
	transform: translateX(-50%);
}
.ir-header__nav {
	display: none;
	gap: 26px;
	align-items: center;
}
.ir-nav-item,
.ir-nav-item a {
	font-family: var(--ir-font-ui);
	font-size: 13px;
	font-weight: 600; /* design: semibold labels */
	letter-spacing: var(--ir-tracking-caps);
	text-transform: uppercase;
	color: var(--ir-text);
	text-decoration: none;
	white-space: nowrap;
	line-height: 1.25;
}
/* Design wraps ONLY the long label (UKRAINIAN COLLECTION, two lines).
   width:min-content hugs the longest word — a plain max-width leaves
   phantom trailing space and the item gaps read uneven. */
.ir-nav-item--wrap {
	white-space: normal;
	width: min-content;
}
.ir-header__nav .ir-caret { font-size: 14px; margin-left: 5px; }
.ir-nav-item--sale,
.ir-nav-item--sale a,
a.ir-nav-item--sale {
	color: var(--ir-sale);
	font-weight: 600;
}
.ir-caret {
	font-size: 10px;
	display: inline-block;
	transform: translateY(-1px);
}
.ir-header__logo {
	font-family: var(--ir-font-logo);
	/* Scales down on the narrowest phones so the centred wordmark clears
	   the utility icons (they collide by 5px at 320px at the full size). */
	font-size: clamp(22px, 6.5vw, 30px);
	font-weight: 500;
	--ir-logo-note: mobile-cap; /* desktop reverts below */
	letter-spacing: 0.28em;
	text-indent: 0.28em; /* optical centering against tracking */
	color: var(--ir-text);
	text-decoration: none;
	text-transform: uppercase;
}
.ir-header__utils {
	display: flex;
	align-items: center;
	gap: 20px;
	justify-self: end;
}
.ir-header__utils a:hover,
.ir-header__utils button:hover,
.ir-header__utils a:focus,
.ir-header__utils button:focus,
#ir-mobile-close:hover,
#ir-mobile-close:focus {
	background: none;
	color: var(--ir-text);
}
.ir-header__utils a,
.ir-header__utils button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	gap: 6px;
	font-family: var(--ir-font-ui);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: var(--ir-tracking-caps);
	text-transform: uppercase;
	color: var(--ir-text);
	text-decoration: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
}
/* Mobile header keeps only icons (reference-site pattern). These need the
   same specificity as the `.ir-header__utils a/button` rule above, or that
   rule's `display:inline-flex` wins and the labels reappear — which pushed
   the header wider than the viewport. */
.ir-header__utils .ir-util-label,
.ir-header__utils .ir-lang {
	display: none;
}

/* Language switcher (desktop): the design's «UA ⌄» becomes a real dropdown.
   Button inherits the utils typography; the menu is a small card under it.
   Opens on hover (pointer) AND on click/keyboard (data-ir-lang JS toggles
   .is-open + aria-expanded), so it works on touch-desktop and by tab. */
.ir-lang { position: relative; }
.ir-lang__btn,
.ir-lang__btn:hover,
.ir-lang__btn:focus,
.ir-lang__btn:active {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	box-shadow: none;
	outline-offset: 3px;
}
.ir-lang__menu {
	position: absolute;
	/* No gap between button and menu: an 8px margin left a dead zone the
	   pointer crossed on the way down, :hover dropped, the menu vanished
	   before the click landed. The visual offset is a transparent padding
	   bridge inside the hover area instead. */
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 64px;
	margin: 0;
	padding: 14px 0 6px;
	list-style: none;
	background: var(--ir-bg, #fff);
	border: 1px solid var(--ir-line, #e6e6e6);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	z-index: 120;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease;
}
.ir-lang:hover .ir-lang__menu,
.ir-lang.is-open .ir-lang__menu,
.ir-lang:focus-within .ir-lang__menu {
	opacity: 1;
	visibility: visible;
}
.ir-lang__menu {
	background: none;
	border: 0;
	box-shadow: none;
}
.ir-lang__menu li:first-child { border-top: 1px solid var(--ir-line, #e6e6e6); border-radius: 0; }
.ir-lang__menu li {
	background: var(--ir-bg, #fff);
	border-left: 1px solid var(--ir-line, #e6e6e6);
	border-right: 1px solid var(--ir-line, #e6e6e6);
}
.ir-lang__menu li:last-child { border-bottom: 1px solid var(--ir-line, #e6e6e6); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.ir-lang__menu li:first-child a { padding-top: 10px; }
.ir-lang__menu li:last-child a { padding-bottom: 10px; }
.ir-lang__menu a {
	display: block;
	padding: 6px 14px;
	text-decoration: none;
	color: inherit;
	white-space: nowrap;
	text-align: center;
}
.ir-lang__menu a:hover,
.ir-lang__menu a:focus { background: var(--ir-bg-soft, #f5f5f5); }
.ir-lang__menu a.is-current { opacity: 0.45; pointer-events: none; }

/* Burger (mobile only). min 44px hit area (WCAG target size) — the
   glyph stays small, the padding carries the target.
   Hello/Elementor kit paints bare <button> crimson on hover/focus —
   pin every state explicitly (same fix as the hero play button). */
.ir-header__burger,
.ir-header__burger:hover,
.ir-header__burger:focus,
.ir-header__burger:active {
	background: none;
	color: var(--ir-text);
}
.ir-header__burger:focus-visible {
	outline: 1px solid var(--ir-text);
	outline-offset: 2px;
}
.ir-header__burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: 0;
	min-width: 44px;
	min-height: 44px;
	padding: 6px 12px 6px 0;
	cursor: pointer;
	justify-self: start;
}
.ir-header__burger span {
	width: 28px;
	height: 2px;
	background: var(--ir-text);
	display: block;
}

@media (min-width: 1200px) {
	.ir-header__nav { display: flex; }
	.ir-header__burger { display: none; }
	.ir-header__utils .ir-util-label,
	.ir-header__utils .ir-lang { display: inline-flex; }


	/* A centred wordmark needs max(nav, utils) of clear space on BOTH
	   sides, so the nav must stay under (content − logo) / 2. At 1200px
	   that is ~453px, which the full-size nav (517px) overruns — hence the
	   tighter metrics here, relaxed again at xl where there is room. */
	/* 12px items need every px in the 1200-1240 window: the centred logo
	   leaves (content - logo)/2 ≈ 453px per side at 1200 and the nav text
	   alone runs ≈390px — 14px gaps keep it clear until xl relaxes it. */
	.ir-header__nav { gap: 22px; }
	.ir-header__nav .ir-nav-item,
	.ir-header__nav .ir-nav-item a {
		font-size: 13px;
		letter-spacing: 0.04em;
	}
}
/* The design's nav rhythm (~40px gaps at the 1440 canvas) — affordable
   once the viewport clears the tight 1200 window. */
@media (min-width: 1440px) {
	.ir-header__nav { gap: 40px; }
}
@media (min-width: 1600px) {
	.ir-header__nav { gap: 44px; }
	.ir-header__nav .ir-nav-item,
	.ir-header__nav .ir-nav-item a {
		font-size: 14px;
		letter-spacing: var(--ir-tracking-caps);
	}
}

/* ---------- Mega menu ---------- */
.ir-nav-item--catalog { position: relative; }
.ir-mega {
	position: absolute;
	top: calc(100% + 17px);
	/* The 17px visual gap belongs to the header, not this item — crossing
	   it fires mouseleave and collapses the menu. The bridge keeps the
	   cursor inside the item's subtree on the way down. */
}
/* Short viewports: the full category tree outgrows the screen and a
   hover panel cannot scroll the page — the panel itself scrolls. */
.ir-mega {
	max-height: calc(100vh - 150px);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.ir-mega::before {
	content: '';
	position: absolute;
	top: -18px;
	left: 0;
	right: 0;
	height: 18px;
}
.ir-mega {
	left: calc(-1 * var(--ir-side-pad));
	background: var(--ir-bg);
	border: 1px solid var(--ir-border);
	border-top: 0;
	box-shadow: 0 24px 40px rgba(0, 0, 0, 0.08);
	padding: 40px 48px 44px;
	z-index: 95;
	min-width: min(960px, calc(100vw - 2 * var(--ir-side-pad)));
	max-width: calc(100vw - 2 * var(--ir-side-pad));
}
.ir-mega__cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(170px, 1fr)) auto;
	gap: 48px;
}
.ir-mega__root {
	display: block;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: var(--ir-tracking-caps);
	text-transform: uppercase;
	color: var(--ir-text);
	text-decoration: none;
	margin-bottom: 20px;
}
.ir-mega ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ir-mega ul li a {
	display: block;
	font-family: var(--ir-font-ui);
	/* Figma spec: uppercase items, glyph height ≈15px, roomy rows. */
	font-size: 14px;
	font-weight: 500;
	color: var(--ir-text);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 9px 0;
}
.ir-mega__view-all {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
.ir-mega ul li a:hover { color: var(--ir-sale); }
.ir-mega__sub { padding-left: 14px !important; }
.ir-mega__sub li a { color: var(--ir-text-muted); font-size: 13.5px; }
.ir-mega__banners {
	display: flex;
	gap: 24px;
}
.ir-mega__banner {
	display: block;
	width: clamp(200px, 20vw, 300px);
	text-decoration: none;
	color: var(--ir-text);
}
.ir-mega__banner-img {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 6;
	background: var(--ir-bg-soft) center/cover no-repeat;
}
/* The panel lives INSIDE .ir-nav-item--catalog, so the nav's 11px
   `.ir-header__nav .ir-nav-item a` (0,2,1) beats every plain .ir-mega
   rule — re-assert the spec sizes with the nav in the chain. */
.ir-header__nav .ir-mega ul li a {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.05em;
}
.ir-header__nav .ir-mega .ir-mega__sub li a {
	font-size: 13px;
	font-weight: 400;
	color: var(--ir-text-muted);
}
.ir-header__nav .ir-mega .ir-mega__root {
	font-size: 14px;
	font-weight: 600;
}
.ir-header__nav .ir-mega .ir-mega__banner-label {
	font-size: 13px;
	font-weight: 500;
}
.ir-mega__banner-label {
	display: block;
	font-family: var(--ir-font-ui);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-top: 12px;
}

/* ---------- Mobile menu ---------- */
.ir-mobile-menu {
	position: fixed;
	inset: 0;
	background: var(--ir-bg);
	z-index: 200;
	overflow-y: auto;
	padding: 18px var(--ir-side-pad) 48px;
}
.ir-mobile-menu__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
}
.ir-mobile-menu__logo {
	font-family: var(--ir-font-logo);
	font-size: 25px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}
#ir-mobile-close {
	background: none;
	border: 0;
	color: var(--ir-text); /* Hello paints bare buttons crimson */
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
	min-width: 44px;
	min-height: 44px;
}
.ir-mobile-menu__links {
	display: flex;
	flex-direction: column;
}
.ir-mobile-menu__links a {
	padding: 22px 0;
	border-bottom: 1px solid var(--ir-border);
	font-family: var(--ir-font-ui);
	font-size: clamp(15px, 3.6vw, 18px); /* fluid like the reference menu */
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ir-text);
	text-decoration: none;
}

.ir-mobile-menu__links a.ir-nav-item--sale {
	color: var(--ir-sale); /* the generic link color above would win otherwise */
	font-weight: 600;
}
/* Language row + editorial promo, reference-site menu pattern. */
.ir-mobile-menu__lang {
	padding: 22px 0;
	font-family: var(--ir-font-ui);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--ir-text);
}
.ir-mobile-menu__lang a { color: inherit; text-decoration: none; }
.ir-mobile-menu__lang a.is-current { text-decoration: underline; text-underline-offset: 4px; }
.ir-mobile-menu__lang-sep { margin: 0 8px; opacity: 0.4; }
.ir-mobile-menu__promo {
	display: block;
	margin-top: 6px;
}
.ir-mobile-menu__promo img {
	width: 100%;
	height: auto;
	display: block;
}

/* ---------- Footer ---------- */
.ir-footer {
	background: var(--ir-bg-soft);
	margin-top: 72px;
	padding: clamp(32px, 5vw, 56px) var(--ir-side-pad) 28px;
	font-family: var(--ir-font-ui);
}
.ir-footer__grid {
	max-width: var(--ir-container-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}
@media (min-width: 600px) {
	.ir-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
	.ir-footer__grid { grid-template-columns: 0.8fr 1fr 1fr 1fr; }
}
.ir-footer__title {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: var(--ir-tracking-caps);
	text-transform: uppercase;
	margin-bottom: 16px;
	color: var(--ir-text);
}
.ir-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ir-footer ul li { margin-bottom: 10px; }
.ir-footer ul a {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ir-text);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.ir-footer ul a:hover { color: var(--ir-sale); }
.ir-footer p {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.8;
	color: var(--ir-text);
	margin: 0 0 14px;
}
.ir-footer__col--tiles {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ir-footer__tile {
	width: 96px;
	height: 56px;
	background: #e9e4de;
}
.ir-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: inline-block;
	flex-shrink: 0;
}
.ir-dot--viber { background: #7360f2; }
.ir-dot--telegram { background: #229ed9; }
.ir-dot--whatsapp { background: #25d366; }
.ir-dot--phone { background: #111; }
.ir-dot--mail { background: #444; }
.ir-footer__payments {
	max-width: var(--ir-container-max);
	margin: 36px auto 0;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.ir-pay {
	border: 1px solid var(--ir-border);
	background: #fff;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 600;
	padding: 5px 9px;
	color: #333;
}


/* ---------- 404 ---------- */
.ir-404 {
	max-width: var(--ir-shell-max);
	margin: 0 auto;
	padding: clamp(48px, 10vw, 120px) var(--ir-side-pad);
	text-align: center;
	font-family: var(--ir-font-ui);
}
.ir-404__code {
	font-family: var(--ir-font-logo);
	font-size: clamp(64px, 10vw, 120px);
	line-height: 1;
	margin: 0 0 8px;
	color: var(--ir-border);
}
.ir-404__title {
	font-size: clamp(18px, 2.4vw, 24px);
	font-weight: 600;
	letter-spacing: var(--ir-tracking-caps);
	text-transform: uppercase;
	margin: 0 0 10px;
	color: var(--ir-text);
}
.ir-404__text { font-size: 13px; color: var(--ir-text-muted); margin: 0 0 26px; }
.ir-404__actions { display: flex; align-items: center; justify-content: center; gap: 20px; }
.ir-404 a.ir-btn--dark {
	display: inline-flex;
	align-items: center;
	padding: 14px 28px;
	background: var(--ir-dark);
	color: var(--ir-on-dark);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: var(--ir-tracking-caps);
	text-transform: uppercase;
	text-decoration: none;
}
.ir-404__home {
	font-size: 12px;
	color: var(--ir-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ir-404__home:hover { color: var(--ir-sale); }

/* Phones: header icons at reference-site scale (15px svg reads too
   small next to the 26px burger). Desktop keeps the label+icon pair. */
@media (max-width: 1199.98px) {
	.ir-header__utils a svg,
	.ir-header__utils button svg {
		width: 19px;
		height: 19px;
	}
}

/* Desktop reverts of the phone-scale header (must sit AFTER the base
   rules in source order — same specificity). */
@media (min-width: 1200px) {
	.ir-header__logo { font-size: 27px; }
}

/* Fluid phone type for the remaining shell elements (same ladder). */
@media (max-width: 1199.98px) {
	.ir-mobile-menu__lang { font-size: clamp(14px, 3.4vw, 17px); }
	.ir-mobile-menu__logo { font-size: clamp(25px, 6.5vw, 30px); }
}
@media (max-width: 599.98px) {
	.ir-footer__col-title { font-size: clamp(12px, 3vw, 15px); }
	.ir-footer a,
	.ir-footer li,
	.ir-footer p { font-size: clamp(13px, 3.2vw, 16px); }
	.ir-help__title { font-size: clamp(15px, 3.8vw, 19px); }
	.ir-help a { font-size: clamp(13px, 3.2vw, 16px); }
}

/* ---------- Brand wordmark (client SVG) ----------
   Replaces the tracked-text logo; same footprint it had (~166px wide on
   desktop, aligned to the reference earlier), so header metrics and the
   centred-logo clearance math stay untouched. SVG ratio ≈ 5.54:1. */
.ir-header__logo-img {
	display: block;
	width: clamp(120px, 32vw, 166px);
	height: auto;
}
@media (min-width: 1200px) {
	.ir-header__logo-img { width: 166px; }
}
.ir-mobile-menu__logo img {
	display: block;
	width: clamp(110px, 30vw, 140px);
	height: auto;
}

/* ---------- Mega: reference two-column pattern ----------
   Column 1 = flat first level, collapsed; clicking an item with children
   expands its second level into column 2 («Дивитись усі» tail). */
.ir-mega__cols { display: flex; gap: 56px; align-items: flex-start; }
.ir-mega__list,
.ir-mega__subpanel { list-style: none; margin: 0; padding: 0; }
.ir-mega__list { min-width: 230px; }
.ir-mega__list > li { margin: 0 0 18px; }
.ir-header__nav .ir-mega button.ir-mega__item,
.ir-header__nav .ir-mega a.ir-mega__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	cursor: pointer;
	font-family: var(--ir-font-ui);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: var(--ir-tracking-caps);
	text-transform: uppercase;
	color: var(--ir-text);
	text-decoration: none;
	white-space: nowrap;
}
.ir-header__nav .ir-mega button.ir-mega__item:hover,
.ir-header__nav .ir-mega a.ir-mega__item:hover,
.ir-header__nav .ir-mega button.ir-mega__item[aria-expanded="true"] {
	color: var(--ir-sale);
	background: none;
	border: 0;
}
.ir-mega__chev { font-size: 15px; line-height: 1; }
.ir-mega__panels-col { min-width: 230px; }
.ir-mega__subpanel > li { margin: 0 0 15px; }
.ir-header__nav .ir-mega .ir-mega__subpanel a {
	font-family: var(--ir-font-ui);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: var(--ir-tracking-caps);
	text-transform: uppercase;
	color: var(--ir-text-muted);
	text-decoration: none;
	white-space: nowrap;
}
.ir-header__nav .ir-mega .ir-mega__subpanel a:hover { color: var(--ir-text); }
.ir-header__nav .ir-mega .ir-mega__see-all a {
	color: var(--ir-text);
	font-weight: 600;
}
.ir-header__nav .ir-mega .ir-mega__see-all a:hover { color: var(--ir-sale); }
.ir-mega__see-all { margin-top: 22px; }


/* ---------- Footer: brand messenger icons + payment badges ---------- */
.ir-msgr {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	margin-right: 10px;
	flex: 0 0 auto;
}
.ir-msgr svg { width: 15px; height: 15px; }
.ir-msgr--dark { background: var(--ir-dark); }
.ir-footer__support a {
	display: inline-flex;
	align-items: center;
}
.ir-footer__payments .ir-pay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 32px;
	background: #fff;
	border: 1px solid var(--ir-border);
	border-radius: 4px;
	padding: 0;
	font-size: 0; /* kill old text styling; the svg is the content */
}
.ir-footer__payments .ir-pay svg { width: 44px; height: 26px; display: block; }


/* ---------- Інформація hub (reference one-pager: side anchor nav) ---------- */
.ir-info {
	max-width: var(--ir-shell-max);
	margin: 0 auto;
	padding: clamp(20px, 3vw, 40px) var(--ir-side-pad) 40px;
	font-family: var(--ir-font-ui);
}
.ir-info__nav {
	display: flex;
	flex-direction: row;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 12px;
	margin-bottom: 20px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.ir-info__nav::-webkit-scrollbar { display: none; }
.ir-info__nav a {
	flex: 0 0 auto;
	padding: 9px 14px;
	border: 1px solid var(--ir-border);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: var(--ir-tracking-caps);
	text-transform: uppercase;
	color: var(--ir-text);
	text-decoration: none;
	white-space: nowrap;
}
.ir-info__nav a:hover { border-color: var(--ir-text); }
.ir-info__section {
	/* Anchor lands clear of the sticky header. */
	scroll-margin-top: 140px;
	margin-bottom: clamp(36px, 5vw, 64px);
	max-width: 760px;
}
.ir-info__section h2 {
	font-family: var(--ir-font-ui);
	font-size: clamp(16px, 2vw, 22px);
	font-weight: 600;
	letter-spacing: var(--ir-tracking-caps);
	text-transform: uppercase;
	color: var(--ir-text);
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--ir-border);
}
.ir-info__section h3 {
	font-family: var(--ir-font-ui);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: var(--ir-tracking-caps);
	text-transform: uppercase;
	color: var(--ir-text);
	margin: 26px 0 10px;
}
.ir-info__section p,
.ir-info__section li {
	font-size: 14px;
	line-height: 1.75;
	color: var(--ir-text);
	margin: 0 0 12px;
}
.ir-info__section ul { padding-left: 20px; margin: 0 0 12px; }
.ir-info__section li { margin-bottom: 6px; }
.ir-info__section a { color: var(--ir-text); text-underline-offset: 3px; }
.ir-info__section a:hover { color: var(--ir-sale); }

/* Desktop: reference layout — sticky side menu left, content right. */
@media (min-width: 1200px) {
	.ir-info {
		display: grid;
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 64px;
		align-items: start;
	}
	.ir-info__nav {
		position: sticky;
		top: 120px;
		flex-direction: column;
		gap: 0;
		overflow: visible;
		padding: 0;
		margin: 0;
	}
	.ir-info__nav a {
		border: 0;
		padding: 9px 0;
		font-size: 13px;
		color: var(--ir-text-muted);
	}
	.ir-info__nav a:hover { color: var(--ir-text); border: 0; }
}


/* Hub page title matches the brand headings (theme default is huge). */
.page-id-0 .entry-title, /* no-op guard */
body.page .entry-header .entry-title,
body.page h1.entry-title {
	font-family: var(--ir-font-ui);
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 600;
	letter-spacing: var(--ir-tracking-caps);
	text-transform: uppercase;
	color: var(--ir-text);
}
