/* NovaMeds — shared structure. light.css sets the design tokens and adds the sections. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background: var(--bg); color: var(--fg);
	font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
	-webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(1320px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.display { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); line-height: 1.02; }
.h2 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.06; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--kicker); }
.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head .h2 { margin-top: 12px; }
.section-head p { margin-top: 12px; color: var(--muted); max-width: 56ch; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; color: var(--fg); text-decoration: none; }
.more:hover { color: var(--link); }

/* ---------- Logo B (lowercase, four-point "nova" spark) ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: "Manrope", var(--font-body); font-weight: 700; font-size: 1.625rem; letter-spacing: -0.045em; line-height: 1; color: var(--logo); text-decoration: none; white-space: nowrap; }
.logo .spark { width: .62em; height: .62em; background: var(--spark); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); margin-right: -1px; }
.logo:hover { color: var(--logo); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 24px; border-radius: var(--r-btn);
	font: 600 .9375rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
	color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bg);
	transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s;
}
.btn:hover { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); color: var(--btn-fg); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); color: var(--fg); border-color: var(--fg); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .8125rem; }
.btn--block { width: 100%; }
.btn[disabled] { background: var(--surface-2); color: var(--subtle); border-color: var(--line); cursor: not-allowed; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .75rem; font-weight: 600; line-height: 1.2; white-space: nowrap; background: var(--pill-bg); color: var(--pill-fg); }
.pill .icon { width: 13px; height: 13px; stroke-width: 2; }
.pill--rx { background: var(--rx-bg); color: var(--rx-fg); }
.pill--info { background: var(--info-bg); color: var(--info-fg); }

.placeholder-tag { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 4px; border: 1px dashed #D9A441; background: var(--ph-bg); color: var(--ph-fg); font: 600 10px/1.4 var(--font-body); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.dot { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); }
.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-ring); flex: none; }
.dot--off::before { background: var(--subtle); box-shadow: 0 0 0 3px var(--surface-2); }
.dot--info::before { background: #C98A1B; box-shadow: 0 0 0 3px rgba(201, 138, 27, .18); }

/* ---------- Search ---------- */
.search { position: relative; display: flex; align-items: center; width: 100%; }
.search input {
	width: 100%; min-height: 54px; padding: 0 64px 0 52px; border-radius: var(--r-search);
	border: 1px solid var(--search-line); background: var(--search-bg); color: var(--fg);
	font: 400 .9375rem var(--font-body); transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.search input::placeholder { color: var(--subtle); }
.search input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 5px var(--focus-ring); }
.search > .icon { position: absolute; left: 20px; color: var(--subtle); pointer-events: none; }
.search button { position: absolute; right: 7px; height: 42px; min-width: 42px; padding: 0 12px; border-radius: calc(var(--r-search) - 6px); border: 0; display: inline-flex; align-items: center; gap: 8px; background: var(--btn-bg); color: var(--btn-fg); font: 600 .875rem var(--font-body); cursor: pointer; }
.search--xl input { min-height: 64px; font-size: 1.0625rem; padding-left: 56px; padding-right: 130px; }
.search--xl button { height: 50px; padding: 0 20px; }
/* Predictive search (assets/js/search.js) */
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; max-height: min(62vh, 440px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg); box-shadow: var(--card-shadow-hover); text-align: left; }
.suggest__group { margin: 0; padding: 10px 12px 4px; color: var(--subtle); font: 600 .6875rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.suggest__item { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--fg); text-decoration: none; }
.suggest__item:hover, .suggest__item[aria-selected="true"] { background: var(--surface-2); color: var(--fg); }
.suggest__item[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--focus); }
.suggest__title { font: 500 .9375rem/1.35 var(--font-body); overflow-wrap: anywhere; }
.suggest__sub { color: var(--muted); font-size: .8125rem; line-height: 1.35; overflow-wrap: anywhere; }
.suggest__none { margin: 0; padding: 12px; color: var(--muted); font-size: .875rem; }
.suggest__all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--link); }
.suggest__all .suggest__title { font-weight: 600; font-size: .875rem; }

/* ---------- Header ---------- */
.topbar { font-size: .8125rem; background: var(--topbar-bg); color: var(--topbar-fg); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.topbar .wrap > ul { display: flex; gap: 26px; min-width: 0; }
.topbar .wrap > ul > li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-width: 0; }
.topbar .wrap > ul > li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.topbar .icon { width: 15px; height: 15px; color: var(--topbar-icon); }
.market { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 6px 0; }
.flag { flex: none; width: 21px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }

.header { position: sticky; top: 0; z-index: 30; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 40px); min-height: 76px; }
.header__nav { display: flex; gap: 2px; justify-self: start; }
.header__nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.header__nav a:hover { color: var(--fg); background: var(--surface-2); }
.header__actions { display: flex; align-items: center; gap: 2px; }
.hbtn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--fg); text-decoration: none; background: none; border: 0; cursor: pointer; }
.hbtn:hover { background: var(--surface-2); color: var(--fg); }
.hbtn .count { position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-fg); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.menu-btn { display: none; }
.header__search { padding-bottom: 16px; }
.header__search .search { max-width: 860px; margin-inline: auto; }

/* ---------- Product card ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--r-card); background: var(--card); box-shadow: var(--card-shadow); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.pcard__media { position: relative; aspect-ratio: 1 / .92; display: grid; place-items: center; background: var(--card-media); overflow: hidden; }
.pcard__media > svg { width: 64%; height: 64%; filter: drop-shadow(0 18px 18px rgba(6, 44, 51, .16)); }
.pcard__media .pill { position: absolute; top: 12px; left: 12px; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.pcard__ing { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--card-kicker); }
.pcard__name { font-family: var(--font-card, var(--font-display)); font-weight: var(--card-name-weight, 600); font-size: 1.375rem; line-height: 1.15; margin-top: 6px; color: var(--card-fg); }
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; }
.pcard__spec { font-size: .8125rem; color: var(--card-muted); margin-top: 6px; }
.pcard__foot { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.pcard__price { font-weight: 700; font-size: 1.0625rem; color: var(--card-fg); font-variant-numeric: tabular-nums; }
.pcard__price small { font-weight: 500; font-size: .75rem; color: var(--card-muted); margin-right: 3px; }
.pcard__add { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-fg); flex: none; }

/* ---------- Article card (Knowledge Hub, compact) ---------- */
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.acard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-card); background: var(--acard-bg); box-shadow: var(--acard-shadow); height: 100%; }
.acard__type { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--kicker); }
.acard h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.3125rem; line-height: 1.2; }
.acard h3 a { color: var(--fg); text-decoration: none; }
.acard h3 a::after { content: ""; position: absolute; inset: 0; }
.acard__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; font-size: .8125rem; color: var(--subtle); }
.acard__meta span { display: inline-flex; align-items: center; gap: 6px; }
.acard__meta .icon { width: 14px; height: 14px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--link); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 64ch; }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg); color: var(--footer-fg); padding-top: clamp(56px, 6vw, 88px); font-size: .9375rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(var(--footer-cols, 4), minmax(0, 1fr)); gap: 36px; }
.footer h2 { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--footer-head); }
.footer ul { margin-top: 14px; display: grid; gap: 9px; }
.footer a { color: var(--footer-link); text-decoration: none; }
.footer a:hover { color: var(--footer-link-hover); }
.footer__contact { display: grid; gap: 10px; margin-top: 18px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.markets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--footer-line); }
.markets a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--footer-line); font-size: .8125rem; }
.markets a b { font-size: 10px; letter-spacing: .06em; }
.markets a[aria-current] { background: var(--fg-strong); color: var(--bg-strong); border-color: var(--fg-strong); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-block: 24px; margin-top: 24px; border-top: 1px solid var(--footer-line); font-size: .8125rem; color: var(--footer-head); }

/* ---------- Product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 20px 0; font-size: .8125rem; color: var(--subtle); }
.crumbs a { color: var(--subtle); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 6vw, 80px); }
.gallery { position: sticky; top: 170px; }
.gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-gallery); overflow: hidden; display: grid; place-items: center; background: var(--gallery-bg); }
.gallery__main > svg { position: relative; width: 82%; filter: drop-shadow(0 36px 36px rgba(0, 0, 0, .22)); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs button { width: 76px; height: 76px; border-radius: 14px; border: 1px solid var(--line); background: var(--gallery-thumb); display: grid; place-items: center; padding: 10px; cursor: pointer; }
.gallery__thumbs button[aria-current] { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.gallery__note { position: absolute; left: 16px; bottom: 14px; font-size: .75rem; color: var(--subtle); background: var(--note-bg); padding: 4px 10px; border-radius: 999px; }
.buy__top { display: flex; flex-wrap: wrap; gap: 8px; }
.buy h1 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem); line-height: 1; margin-top: 16px; }
.buy__ing { margin-top: 10px; font-size: 1.125rem; color: var(--muted); }
.buy__ing strong { color: var(--link); font-weight: 600; }
.buy__desc { margin-top: 18px; color: var(--muted); max-width: 54ch; }
.opt { margin-top: 26px; }
.opt__label { display: flex; justify-content: space-between; font-size: .9375rem; font-weight: 600; margin-bottom: 10px; }
.opt__label span { font-weight: 400; color: var(--subtle); }
.opt__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__choices button { min-width: 70px; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--chip-bg); color: var(--fg); font: 500 .9375rem var(--font-body); cursor: pointer; font-variant-numeric: tabular-nums; }
.opt__choices button[aria-pressed="true"] { background: var(--chip-on-bg); color: var(--chip-on-fg); border-color: var(--chip-on-bg); }
.buy__panel { margin-top: 26px; padding: 24px; border-radius: var(--r-card); background: var(--panel-bg); box-shadow: var(--panel-shadow); }
.buy__price { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.buy__price .amount { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.buy__actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 16px; }
.buy__note { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; margin-top: 16px; font-size: .8125rem; color: var(--muted); line-height: 1.55; }
.buy__note .icon { color: var(--link); width: 18px; height: 18px; margin-top: 1px; }
.buy__disclaimer { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: color-mix(in srgb, #B45309 8%, transparent); border: 1px solid color-mix(in srgb, #B45309 20%, transparent); }
.buy__disclaimer .icon { color: #B45309; width: 18px; height: 18px; margin-top: 2px; }
.buy__disclaimer p { margin: 0; font-size: .75rem; color: var(--fg); line-height: 1.5; }
.assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.assure li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--assure-bg); font-size: .8125rem; font-weight: 500; line-height: 1.3; }
.assure .icon { color: var(--link); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; border-top: 1px solid var(--line); }
.facts li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts li:nth-child(odd) { padding-right: 16px; }
.facts .k { font-size: .75rem; color: var(--subtle); }
.facts .v { font-size: .9375rem; font-weight: 500; margin-top: 2px; }
.tg-label { display: none; }

.subnav { position: sticky; top: 150px; z-index: 20; background: var(--header-bg); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 54px; padding: 0 14px; color: var(--muted); text-decoration: none; font-size: .9375rem; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a[aria-current] { color: var(--fg); border-color: var(--accent); }

.pdp-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 6vw, 80px); }
.prose > section { padding-bottom: clamp(36px, 4vw, 56px); margin-bottom: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); scroll-margin-top: 220px; }
.prose > section:last-child { border-bottom: 0; }
.prose h2 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1.1; margin-top: 10px; }
.prose p { max-width: 68ch; color: var(--muted); margin-top: 14px; }
.prose ul.bul { color: var(--muted); padding-left: 20px; margin-top: 12px; list-style: disc; }
.prose ul.bul li + li { margin-top: 6px; }
.mech { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.mech div { padding: 20px; border-radius: 16px; background: var(--surface-2); }
.mech b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.375rem; color: var(--fg); }
.mech span { font-size: .9375rem; color: var(--muted); }
.warn { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; padding: 20px 22px; margin-top: 22px; border-radius: 16px; background: var(--warn-bg); color: var(--warn-fg); font-size: .9375rem; }
.warn .icon { color: var(--warn-icon); margin-top: 2px; }
.warn strong { display: block; color: var(--fg); }
.docs { display: grid; gap: 10px; margin-top: 18px; }
.doc-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); color: var(--fg); text-decoration: none; }
a.doc-row:hover { border-color: var(--fg); color: var(--fg); }
.doc-row .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); color: var(--link); display: grid; place-items: center; }
.doc-row small { display: block; color: var(--subtle); font-size: .8125rem; }
.doc-row .end { margin-left: auto; color: var(--subtle); font-size: .8125rem; }
.refs { counter-reset: r; margin-top: 18px; font-size: .9375rem; color: var(--muted); }
.refs li { counter-increment: r; display: grid; grid-template-columns: 32px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid var(--line); }
.refs li::before { content: counter(r) "."; color: var(--subtle); }
.aside { position: sticky; top: 230px; align-self: start; display: grid; gap: 16px; }
.aside__card { border-radius: var(--r-card); padding: 24px; background: var(--surface-2); }
.aside__card h3 { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.aside__links { margin-top: 10px; }
.aside__links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; font-weight: 500; line-height: 1.3; }
.aside__links a:hover { color: var(--link); }
.aside__links small { display: block; font-weight: 400; font-size: .75rem; color: var(--subtle); margin-top: 4px; }

.mbar { display: none; }

/* ---------- Responsive (shared) ---------- */
@media (max-width: 1180px) {
	.pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer__top > :first-child { grid-column: 1 / -1; }
	.pdp-body { grid-template-columns: minmax(0, 1fr); }
	.aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.header__nav .hide-md { display: none; }
}
@media (max-width: 920px) {
	.header__row { grid-template-columns: auto 1fr auto; min-height: 62px; gap: 6px; }
	.header__nav, .market .name, .hbtn--desk { display: none; }
	.topbar .wrap > ul { gap: 18px; }
	.menu-btn { display: inline-grid; margin-left: -10px; }
	.header__row .logo { justify-self: start; }
	.header__search { padding-bottom: 12px; }
	.pdp { grid-template-columns: minmax(0, 1fr); }
	.gallery { position: static; }
	.agrid { grid-template-columns: minmax(0, 1fr); }
	.subnav { top: 130px; }
}
@media (max-width: 600px) {
	.pgrid { gap: 12px; }
	.pcard__body { padding: 14px; }
	.pcard__name { font-size: 1.125rem; }
	.pcard__add { width: 36px; height: 36px; }
	.pcard__media .pill { font-size: .6875rem; padding: 4px 8px; }
	.pcard__foot { align-items: center; }
	.pcard__price { font-size: .9375rem; }
	.pcard__price .placeholder-tag { display: none; }
	.search--xl input { padding-right: 64px; }
	.search--xl button span { display: none; }
	.mech, .aside, .facts, .assure { grid-template-columns: minmax(0, 1fr); }
	.facts li:nth-child(odd) { padding-right: 0; }
	.buy__actions { grid-template-columns: minmax(0, 1fr); }
	.tg-label { display: inline; }
	.footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
	.subnav { top: 128px; }
	.mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--mbar-bg); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
	.mbar .amount { font-weight: 700; font-size: 1.125rem; }
}
/* Below 1100px the three top-bar items take turns in one place (all stay in the DOM and stay readable). */
@media (max-width: 1100px) {
	.topbar .wrap > ul { display: grid; flex: 1; font-size: .75rem; }
	.topbar .wrap > ul > li { grid-area: 1 / 1; opacity: 0; visibility: hidden; animation: nm-topbar 12s infinite; white-space: normal; line-height: 1.25; }
	.topbar .wrap > ul > li > span, .topbar__link > span { overflow: visible; }
	.topbar .wrap > ul > li:nth-child(2) { animation-delay: 4s; }
	.topbar .wrap > ul > li:nth-child(3) { animation-delay: 8s; }
}
@keyframes nm-topbar {
	0% { opacity: 0; visibility: visible; }
	3%, 30% { opacity: 1; visibility: visible; }
	33.33%, 100% { opacity: 0; visibility: hidden; }
}
@media (max-width: 1100px) and (prefers-reduced-motion: reduce) {
	.topbar .wrap > ul { display: flex; overflow-x: auto; scrollbar-width: none; }
	.topbar .wrap > ul > li { opacity: 1; visibility: visible; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Main navigation dropdown (Catalog): native <details>; same look as the other links. */
.nav-drop { position: relative; }
.nav-drop > summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: .9375rem; font-weight: 500; white-space: nowrap; list-style: none; cursor: pointer; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary:hover, .nav-drop[open] > summary { color: var(--fg); background: var(--surface-2); }
.nav-drop > summary .icon { transition: transform .2s; }
.nav-drop[open] > summary .icon { transform: rotate(180deg); }
.nav-drop__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 280px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); box-shadow: 0 18px 40px -22px rgba(6, 44, 51, .35); }
.header__nav .nav-drop__panel a { display: flex; width: 100%; padding: 9px 12px; color: var(--fg); font-size: .9063rem; white-space: normal; }
