/* rebec.pl — one stylesheet, mobile first. Dark "premium audio" look: graphite and black, brand gold #edb932 as the
   accent, Poppins + Roboto. Packshots are photographed on white, so every product picture sits on a light "paper"
   panel and is multiplied into it (no white box on the dark page). */
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.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: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.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: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.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: "Roboto"; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.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: "Roboto"; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --gold: #edb932;
    --gold-dark: #d4a224;
    --gold-soft: rgba(237, 185, 50, .14);
    --bg: #0b0b0c;
    --surface: #141416;
    --surface-2: #1c1c20;
    --line: #2a2a2f;
    --line-strong: #3a3a41;
    --heading: #f5f5f4;
    --text: #c4c4ca;
    --muted: #8e8e96;
    --paper: #ecebe8;
    --on-gold: #141416;
    --danger: #f08a8a;
    --ok: #7fd6a0;
    --font-head: "Poppins", system-ui, sans-serif;
    --font-body: "Roboto", system-ui, sans-serif;
    --wrap: 1280px;
    --gutter: 16px;
    --radius: 10px;
    --radius-lg: 20px;
    --round: 48px;
    --header-h: 64px;
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; font: 400 1rem/1.7 var(--font-body); color: var(--text); background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .6em; text-wrap: balance; font-family: var(--font-head); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: var(--heading); }
p, ul, ol, figure, table, dl { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; padding: 8px 16px; background: var(--gold); color: var(--on-gold); }
.skip-link:focus { left: 8px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 44px; padding: 12px 22px; border: 1px solid var(--gold); border-radius: 8px; background: var(--gold); color: var(--on-gold);
    font: 600 .9375rem/1.2 var(--font-head); text-decoration: none; cursor: pointer;
}
.button:hover { border-color: var(--gold-dark); background: var(--gold-dark); }
.button .icon { width: 1.1em; height: 1.1em; }
.button--large { min-height: 52px; padding: 14px 28px; font-size: 1rem; }
.button--small { min-height: 40px; padding: 8px 16px; font-size: .875rem; }
.button--ghost { border-color: var(--line-strong); background: transparent; color: var(--heading); }
.button--ghost:hover { border-color: var(--gold); background: transparent; color: var(--gold); }
.button--dark { border-color: var(--on-gold); background: var(--on-gold); color: var(--heading); }
.button--dark:hover { border-color: #000; background: #000; }
.button--block { width: 100%; }

.eyebrow { margin: 0 0 .75rem; color: var(--gold); font: 600 .75rem/1.4 var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.link-more { display: inline-flex; align-items: center; gap: .4em; color: var(--gold); font: 600 .9375rem var(--font-head); text-decoration: none; }
.link-more:hover { color: var(--heading); }
.link-more .icon { width: 1.05em; height: 1.05em; }

/* ---------- header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.header__logo { margin-right: auto; }
.header__logo img { width: 112px; height: auto; }
.header__tools { display: flex; align-items: center; gap: 4px; }
.header__icon, .header__toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--heading); cursor: pointer; }
.header__icon:hover, .header__icon[aria-expanded="true"] { color: var(--gold); }
.header__icon .icon { width: 22px; height: 22px; }
.header__toggle .icon { width: 26px; height: 26px; }
.header__toggle .icon--close, .header__toggle[aria-expanded="true"] .icon--open { display: none; }
.header__toggle[aria-expanded="true"] .icon--close { display: block; }
.header__shop { display: none; }

/* phone: the whole menu is one panel under the bar — categories with a thumbnail, each opening its series */
.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 8px var(--gutter) 28px; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav.is-open { display: block; }
.nav__list { margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; border-bottom: 1px solid var(--line); }
.nav__link { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 48px 8px 0; color: var(--heading); font: 600 1.0625rem var(--font-head); text-decoration: none; }
.nav__link:hover { color: var(--gold); }
.nav__caret { display: none; }
.nav__thumb { width: 44px; height: 44px; padding: 4px; border-radius: 8px; background: var(--paper); object-fit: contain; }
.nav__sub { position: absolute; top: 10px; right: -6px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--heading); cursor: pointer; }
.nav__sub[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__aside { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 20px 0; padding: 0; list-style: none; }
.nav__aside a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--text); font: 500 .9375rem var(--font-head); text-decoration: none; }
.nav__aside a:hover { color: var(--gold); }
.nav__aside .icon { width: 1em; height: 1em; color: var(--gold); }
.nav__shop { width: 100%; }

.mega { display: none; padding: 0 0 16px; }
.nav__sub[aria-expanded="true"] + .mega { display: block; }
.mega__inner { padding: 0; }
.mega__all { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--gold); font: 600 .875rem var(--font-head); text-decoration: none; }
.mega__all span { color: var(--muted); font-weight: 400; }
.mega__all .icon { width: 1em; height: 1em; }
.mega__all:hover { color: var(--heading); }
.mega__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mega__link { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; padding: 9px 12px; border-radius: 8px; text-decoration: none; }
.mega__link:hover { background: var(--surface-2); }
.mega__name { color: var(--heading); font: 500 .9375rem/1.3 var(--font-head); }
.mega__meta { color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.mega__link:hover .mega__name { color: var(--gold); }
.mega__link--feature { grid-template-columns: auto minmax(0, 1fr) auto; margin-bottom: 6px; border: 1px solid rgba(237, 185, 50, .45); background: var(--gold-soft); }
.mega__link--feature .icon { width: 18px; height: 18px; color: var(--gold); align-self: center; }
.mega__promo { display: none; }

.searchbar { padding: 12px 0; border-top: 1px solid var(--line); background: var(--bg); }
.searchbar[hidden] { display: none; }
.search { display: flex; gap: 8px; }
.search__input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); font: 400 1rem var(--font-body); color: var(--heading); }
.search__input::placeholder { color: var(--muted); }
.search__input:focus { border-color: var(--gold); outline: 0; }
.search__button { min-height: 48px; }

/* ---------- sections (home) */
.section { padding: 56px 0; }
.section--alt { background: var(--surface); }
.section__title { max-width: 22ch; font-size: clamp(1.75rem, 4vw, 2.75rem); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section__head .section__title { margin: 0; }

.hero { position: relative; overflow: hidden; padding-bottom: 32px; background: radial-gradient(60% 70% at 78% 40%, rgba(237, 185, 50, .16), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; gap: 8px; padding-top: 40px; }
.hero__title { margin: 0 0 20px; font-size: clamp(2rem, 7.4vw, 4.5rem); line-height: 1.05; letter-spacing: -.02em; }
.hero__lead { max-width: 34em; margin-bottom: 28px; font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { position: relative; }
.hero__img { width: min(100%, 460px); margin: 0 auto; border-radius: var(--radius-lg); mask-image: radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%); }
.proof { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.proof__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(20, 20, 22, .7); }
.proof__value { color: var(--gold); font: 600 1.75rem/1 var(--font-head); }
.proof__icon { width: 28px; height: 28px; color: var(--gold); }
.proof__label { color: var(--heading); font-size: .9375rem; line-height: 1.4; }

/* product picture panels: a fixed-ratio light box, the packshot centred inside it and multiplied into the paper */
.category__media, .line__media, .feature__media, .card__media, .tile__media { position: relative; overflow: hidden; }
.category__media img, .line__media img, .feature__media img, .card__media img, .tile__media img {
    position: absolute; top: var(--inset); left: var(--inset); width: calc(100% - 2 * var(--inset)); height: calc(100% - 2 * var(--inset));
    object-fit: contain; mix-blend-mode: multiply;
}

/* home: six category shortcuts */
.categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.category { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; overflow: hidden; }
.category__media { aspect-ratio: 4 / 3; background: var(--paper); }
.category__media img { --inset: 12%; }
.category__name { padding: 12px 14px; color: var(--heading); font: 600 .9375rem/1.3 var(--font-head); }
.category:hover { border-color: var(--gold); }
.category:hover .category__name { color: var(--gold); }

/* home: product lines (generated) */
.lines { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.line { display: grid; grid-template-columns: 112px minmax(0, 1fr); height: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); text-decoration: none; overflow: hidden; }
.line__media { min-height: 112px; background: var(--paper); }
.line__media img { --inset: 10%; }
.line__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; }
.line__kind { color: var(--muted); font: 600 .6875rem/1.4 var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.line__name { color: var(--heading); font: 600 1.25rem/1.25 var(--font-head); }
.line__text { color: var(--text); font-size: .9375rem; line-height: 1.55; }
.line__meta { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; color: var(--gold); font: 600 .875rem var(--font-head); }
.line__meta .icon { width: 1em; height: 1em; }
.line:hover { border-color: var(--gold); }

/* home: BMW + spare wheel */
.features { display: grid; gap: 16px; margin-top: 28px; }
.feature { display: grid; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; overflow: hidden; }
.feature__media { aspect-ratio: 4 / 3; background: var(--paper); }
.feature__media img { --inset: 10%; }
.feature__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.feature__kind { display: flex; align-items: center; gap: 8px; color: var(--gold); font: 600 .75rem/1.4 var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.feature__title { color: var(--heading); font: 600 clamp(1.375rem, 2.4vw, 1.625rem)/1.2 var(--font-head); text-wrap: balance; }
.feature__text { color: var(--text); }
.feature__more { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--heading); font: 600 .9375rem var(--font-head); }
.feature:hover { border-color: var(--gold); }
.feature:hover .feature__more { color: var(--gold); }

/* home: installations */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.works__item figure { position: relative; height: 100%; aspect-ratio: 4 / 3; margin: 0; border-radius: var(--radius); overflow: hidden; }
.works__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.works__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: var(--heading); font: 500 .8125rem/1.35 var(--font-head); }
.works__item--big { grid-column: 1 / -1; }
.works__item--big figure { aspect-ratio: 16 / 10; }

/* home: about the brand */
.brand { display: grid; gap: 32px; align-items: center; }
.brand__img { width: 100%; border-radius: var(--radius-lg); }
.awards { margin: 24px 0; padding: 0; list-style: none; }
.awards li { padding: 12px 0 12px 16px; border-left: 2px solid var(--gold); }
.awards li + li { margin-top: 8px; }
.awards strong { display: block; color: var(--heading); font: 600 1rem var(--font-head); }

/* ---------- product cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.card__link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; overflow: hidden; }
.card__media { aspect-ratio: 1; background: var(--paper); }
.card__media img { --inset: 9%; }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.card__cat { color: var(--gold); font: 600 .6875rem/1.4 var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.card__name { color: var(--heading); font: 600 1.0625rem/1.3 var(--font-head); }
.card__kind { color: var(--text); font-size: .8125rem; line-height: 1.4; }
.card__specs { margin-top: 6px; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.card__price { margin-top: auto; padding-top: 10px; color: var(--heading); font: 600 1rem var(--font-head); }
.card__price--out { color: var(--danger); font-size: .875rem; }
.card--withdrawn .card__media { opacity: .5; }
.card__link:hover { border-color: var(--gold); }
.card__link:hover .card__name { color: var(--gold); }
.section--alt .card__link { background: var(--bg); }

/* ---------- shop: category / listing */
.shop { padding-top: 24px; padding-bottom: 56px; }
.shop__head { max-width: 760px; margin-bottom: 24px; }
.shop__title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .3em; }
.shop__lead { font-size: 1.0625rem; }
.shop__count { margin: 0; color: var(--muted); font-size: .9375rem; }
.shop__text { max-width: 760px; margin-top: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.crumbs ol { display: flex; margin: 0 0 20px; padding: 0; overflow-x: auto; list-style: none; font-size: .8125rem; white-space: nowrap; scrollbar-width: none; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-strong); }
.crumbs a { color: var(--text); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: var(--muted); }

.catnav { margin: 0 calc(var(--gutter) * -1) 24px; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.catnav__list { display: flex; gap: 8px; margin: 0; padding: 0 0 4px; list-style: none; }
.catnav__link { display: block; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); font: 500 .875rem/1.3 var(--font-head); text-decoration: none; white-space: nowrap; }
.catnav__link:hover { border-color: var(--gold); color: var(--heading); }
.catnav__link--active, .catnav__link[aria-current] { border-color: var(--gold); background: var(--gold); color: var(--on-gold); }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.tile { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; overflow: hidden; }
.tile__media { aspect-ratio: 4 / 3; background: var(--paper); }
.tile__media img { --inset: 12%; }
.tile__name { padding: 12px 14px 0; color: var(--heading); font: 600 .9375rem/1.3 var(--font-head); }
.tile__count { padding: 2px 14px 12px; color: var(--muted); font-size: .8125rem; }
.tile:hover { border-color: var(--gold); }
.tile:hover .tile__name { color: var(--gold); }
.tiles--row .tile { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
.tiles--row .tile__media { grid-row: 1 / 3; aspect-ratio: 1; }
.tiles--row .tile__media img { --inset: 8%; }
.tiles--row .tile__name { align-self: end; padding: 0 12px; }
.tiles--row .tile__count { align-self: start; padding: 0 12px; }

/* ---------- product page */
.product { padding-top: 24px; padding-bottom: 56px; }
.product__top { display: grid; gap: 28px; }
.gallery__stage { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 6%; border-radius: var(--radius-lg); background: var(--paper); }
.gallery__main { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.gallery__thumb { display: block; aspect-ratio: 1; padding: 4px; border: 2px solid transparent; border-radius: 8px; background: var(--paper); }
.gallery__thumb[aria-current] { border-color: var(--gold); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product__title { font-size: clamp(1.625rem, 4vw, 2.5rem); line-height: 1.15; }
.product__short { font-size: 1.0625rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 20px 0; }
.facts__item { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.facts dt { color: var(--muted); font-size: .75rem; line-height: 1.3; }
.facts dd { margin: 4px 0 0; color: var(--heading); font: 600 1.0625rem/1.3 var(--font-head); }
.buy { padding: 20px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
.buy__price { display: flex; flex-direction: column; margin: 0 0 16px; color: var(--heading); font: 600 2rem/1.1 var(--font-head); }
.buy__label { margin-bottom: 6px; color: var(--muted); font: 400 .8125rem var(--font-body); }
.buy__button { width: 100%; }
.buy__note { margin: 12px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.buy__note a { color: var(--heading); white-space: nowrap; }
.product__withdrawn { margin: 0 0 4px; padding: 14px 16px; border-left: 4px solid var(--danger); border-radius: 4px; background: rgba(240, 138, 138, .1); color: var(--danger); font: 600 1.0625rem/1.4 var(--font-head); }
.product__meta { margin-top: 16px; color: var(--muted); font-size: .8125rem; }
.product__tabs { position: sticky; top: var(--header-h); z-index: 5; display: flex; gap: 4px; margin: 40px calc(var(--gutter) * -1) 0; padding: 8px var(--gutter); overflow-x: auto; background: rgba(11, 11, 12, .94); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.product__tabs a { padding: 8px 14px; border-radius: 999px; color: var(--text); font: 500 .875rem var(--font-head); text-decoration: none; white-space: nowrap; }
.product__tabs a:hover { background: var(--surface-2); color: var(--heading); }
.product__body { display: grid; gap: 8px; }
.product__desc, .product__specs { min-width: 0; padding: 32px 0 8px; scroll-margin-top: calc(var(--header-h) + 64px); }
.product__desc { max-width: 760px; }
.product__specs h2, .compare h2, .related h2 { font-size: clamp(1.375rem, 3vw, 1.75rem); }
.specs { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.specs th, .specs td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.specs th { width: 50%; padding-right: 16px; color: var(--muted); font-weight: 400; }
.specs td { color: var(--heading); font-weight: 500; }

.compare { padding-top: 40px; scroll-margin-top: calc(var(--header-h) + 64px); }
.compare__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare__table { min-width: 100%; margin: 0; border-collapse: collapse; font-size: .875rem; }
.compare__table th, .compare__table td { min-width: 128px; padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare__table tbody th { position: sticky; left: 0; min-width: 140px; background: var(--surface); color: var(--muted); font-weight: 400; }
.compare__table thead th { padding-top: 14px; vertical-align: bottom; }
.compare__table thead a { display: flex; flex-direction: column; gap: 8px; color: var(--heading); font: 600 .9375rem var(--font-head); text-decoration: none; }
.compare__table thead a:hover { color: var(--gold); }
.compare__media { display: block; width: 88px; padding: 6px; border-radius: 8px; background: var(--paper); }
.compare__media img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.compare__table td { color: var(--heading); }
.compare__table tr:last-child > * { border-bottom: 0; }
.compare__table .compare__current { background: var(--gold-soft); }
.related { padding-top: 48px; scroll-margin-top: calc(var(--header-h) + 64px); }

.prose h2 { margin-top: 1.5em; font-size: clamp(1.375rem, 2.6vw, 1.75rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; font-size: 1.1875rem; }
.prose strong { color: var(--heading); font-weight: 500; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose figure { margin: 2em 0; }
.prose img { margin: 0 auto; max-height: 640px; width: auto; border-radius: var(--radius); }
.prose a { color: var(--heading); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { padding: 8px; border-bottom: 1px solid var(--line); }

/* ---------- banners (about, contact) */
.banner { display: grid; place-items: end start; min-height: 220px; padding: 40px var(--gutter); background: #000 center / cover no-repeat; }
.banner--about { background-image: linear-gradient(rgba(11, 11, 12, .2), rgba(11, 11, 12, .9)), url("../images/o-nas/hero.webp"); }
.banner--contact { background-image: linear-gradient(rgba(11, 11, 12, .2), rgba(11, 11, 12, .9)), url("../images/kontakt/hero.webp"); }
.banner__title { width: 100%; max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; color: var(--heading); font-size: clamp(2.25rem, 6vw, 3.75rem); }

.split { padding: 48px 0; }
.split:nth-of-type(even) { background: var(--surface); }
.split__inner { display: grid; gap: 32px; align-items: center; }
.split__text h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.split__img { width: 100%; border-radius: var(--radius-lg); }
.split__logo { width: min(100%, 360px); margin: 0 auto; }
.join { padding: 56px 0; background: var(--gold); text-align: center; }
.join__title { color: var(--on-gold); font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.join__text { max-width: 760px; margin: 0 auto; color: var(--on-gold); font-size: 1.0625rem; }

/* ---------- contact */
.contact { padding: 56px 0; }
.contact__inner { display: grid; gap: 40px; }
.contact__title { font-size: clamp(1.5rem, 3vw, 2rem); }
.stores { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.store { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.store__icon { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); }
.store__city { margin: 0; color: var(--gold); font: 600 .75rem/1.6 var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.store__addr { color: var(--heading); font: 500 1.0625rem/1.4 var(--font-body); font-style: normal; }
.contact-box { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 16px; margin-bottom: 12px; padding: 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--heading); text-decoration: none; }
.contact-box:hover { border-color: var(--gold); }
.contact-box__icon { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--gold); }
.contact-box__label { color: var(--muted); font-size: .8125rem; }
.contact-box__value { overflow-wrap: anywhere; font: 600 1.125rem var(--font-head); }
.form-card { padding: 28px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 16px); }
.form-card__title { font-size: clamp(1.5rem, 3vw, 2rem); }
.form { display: grid; }
.form__label { margin: 14px 0 6px; color: var(--heading); font-size: .9375rem; }
.form__optional { color: var(--muted); font-size: .875rem; }
.form__input { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; font: 400 1rem var(--font-body); color: var(--heading); background: var(--bg); }
.form__input::placeholder { color: var(--muted); }
.form__input:focus { border-color: var(--gold); outline: 0; }
.form__textarea { min-height: 140px; resize: vertical; }
.form__consent { display: flex; gap: 10px; margin: 18px 0; font-size: .9375rem; line-height: 1.5; }
.form__consent input { margin-top: 4px; accent-color: var(--gold); }
.form__consent a { color: var(--heading); }
.form__hp { position: absolute; left: -9999px; }
.form-status { margin: 12px 0 0; }
.form-status--ok { color: var(--ok); }
.form-status--error { color: var(--danger); }

.results, .notfound, .legal { padding-top: 40px; padding-bottom: 56px; }
.results__form { max-width: 560px; margin: 16px 0; }
.aside-search { display: flex; gap: 8px; }
.aside-search input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--heading); font: 400 1rem var(--font-body); }
.aside-search input:focus { border-color: var(--gold); outline: 0; }
.legal { max-width: 860px; }

/* ---------- where to buy band + footer */
.where { background: linear-gradient(120deg, rgba(237, 185, 50, .18), rgba(237, 185, 50, .04) 60%), var(--surface); border-top: 1px solid var(--line); }
.where__inner { display: grid; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.where__title { max-width: 32ch; font-size: clamp(1.5rem, 3.4vw, 2.25rem); }
.where__text p:last-child { margin: 0; }
.where__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer { background: var(--bg); color: var(--text); border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer__logo img { width: 160px; margin-bottom: 16px; }
.footer__brand p { max-width: 32ch; font-size: .9375rem; }
.footer__brand a { display: inline-flex; align-items: center; gap: 6px; color: var(--heading); text-decoration: none; }
.footer__brand a:hover { color: var(--gold); }
.footer__brand .icon { width: 1em; height: 1em; }
.footer__title { margin-bottom: .8em; color: var(--heading); font-size: 1rem; }
.footer__list { margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.footer__list li + li { margin-top: 6px; }
.footer__list a { color: var(--text); text-decoration: none; }
.footer__list a:hover { color: var(--gold); }
.footer__stores { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .875rem; line-height: 1.45; }
.footer__store-city { display: block; color: var(--heading); font-weight: 500; }
.footer__store-addr { font-style: normal; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--muted); }

/* ---------- ≥ 600 px */
@media (min-width: 600px) {
    :root { --gutter: 24px; }
    .categories { grid-template-columns: repeat(3, 1fr); }
    .cards, .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .proof { grid-template-columns: repeat(3, 1fr); }
    .lines { grid-template-columns: repeat(2, 1fr); }
    .line { display: flex; flex-direction: column; }
    .line__media { aspect-ratio: 16 / 10; }
    .line__body { flex: 1; padding: 20px 22px 22px; }
    .works { grid-template-columns: repeat(3, 1fr); }
    .works__item--big { grid-column: span 2; grid-row: span 2; }
    .works__item--big figure { aspect-ratio: auto; }
    .footer__inner { grid-template-columns: repeat(2, 1fr); }
    .facts { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- ≥ 900 px */
@media (min-width: 900px) {
    .section { padding: 96px 0; }
    .section__head { margin-bottom: 40px; }
    .hero { padding-bottom: 56px; }
    .hero__inner { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; min-height: 560px; padding-top: 24px; }
    .hero__img { width: 100%; max-width: 520px; }
    .proof { margin-top: 8px; }
    .categories { grid-template-columns: repeat(6, 1fr); gap: 16px; }
    .lines { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .features { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
    .feature { grid-template-columns: 2fr 3fr; }
    .feature__media { aspect-ratio: auto; }
    .feature__body { padding: 32px; }
    .brand { grid-template-columns: 1fr 1fr; gap: 64px; }
    .cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .tiles--big { grid-template-columns: repeat(4, 1fr); }
    .tiles--row { grid-template-columns: repeat(4, 1fr); }

    .shop { padding-top: 32px; }
    .product { padding-top: 32px; }
    .product__top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
    .gallery { position: sticky; top: calc(var(--header-h) + 24px); }
    .gallery__stage { aspect-ratio: 1; }
    .product__summary { padding-top: 8px; }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .product__tabs { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
    .product__body--split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: start; }
    .product__body--split .product__specs { position: sticky; top: calc(var(--header-h) + 72px); }
    .related .cards { grid-template-columns: repeat(4, 1fr); }

    .banner { min-height: 320px; padding-bottom: 56px; }
    .split { padding: 80px 0; }
    .split__inner { grid-template-columns: 1.4fr 1fr; gap: 64px; }
    .split--reverse .split__inner { grid-template-columns: 1fr 1.2fr; }
    .split--reverse .split__img { order: -1; }
    .contact { padding: 80px 0; }
    .contact__inner { grid-template-columns: 1fr 1.2fr; gap: 64px; }
    .form-card { padding: 48px; }
    .where__inner { grid-template-columns: 1fr auto; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
    .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: start; padding-top: 64px; }
}

@media (min-width: 600px) {
    .header__shop { display: inline-flex; margin-left: 8px; }
    .nav__shop { display: none; }
}

/* ---------- ≥ 1200 px: categories in the bar, each opening a full-width panel (series + a bestseller) */
@media (min-width: 1200px) {
    :root { --header-h: 76px; }
    .cards--4, .shop .cards { grid-template-columns: repeat(4, 1fr); }

    .header__inner { gap: 24px; }
    .header__logo { margin-right: 8px; }
    .header__logo img { width: 128px; }
    .header__toggle { display: none; }
    .nav { display: flex; flex: 1; align-items: center; justify-content: space-between; position: static; max-height: none; overflow: visible; padding: 0; border: 0; background: none; }
    .nav__list { display: flex; align-items: center; }
    .nav__item { position: static; border: 0; }
    .nav__thumb, .nav__sub { display: none; }
    .nav__caret { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; }
    .nav__item--mega:hover .nav__caret, .nav__item--mega:focus-within .nav__caret { transform: rotate(180deg); }
    .nav__link { min-height: 0; padding: 26px 9px; font-size: .875rem; font-weight: 500; line-height: 24px; white-space: nowrap; }
    .nav__item--mega:hover > .nav__link, .nav__item--mega:focus-within > .nav__link { color: var(--gold); box-shadow: inset 0 -2px var(--gold); }
    .nav__aside { flex-wrap: nowrap; gap: 18px; margin: 0 0 0 16px; }
    .nav__aside a { white-space: nowrap; }
    .nav__aside a { font-size: .875rem; }
    .nav__phone { display: none; }

    .mega { position: absolute; left: 0; right: 0; top: 100%; padding: 32px 0 40px; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
    .nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { display: block; }
    .mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding: 0 var(--gutter); }
    .mega__all { margin-bottom: 16px; font-size: .9375rem; }
    .mega__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; }
    .mega__link { grid-template-columns: 1fr; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); }
    .mega__link:hover { border-color: var(--gold); background: var(--surface); }
    .mega__feature { grid-column: 1 / -1; }
    .mega__link--feature { grid-template-columns: auto 1fr auto; margin: 0 0 6px; border-color: rgba(237, 185, 50, .45); background: var(--gold-soft); }
    .mega__link--feature:hover { background: var(--gold-soft); }
    .mega__promo { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; align-self: start; }
    .mega__promo:hover { border-color: var(--gold); }
    .mega__promo-media { display: block; padding: 8px; border-radius: var(--radius); background: var(--paper); }
    .mega__promo-media img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
    .mega__promo-body { display: flex; flex-direction: column; gap: 2px; }
    .mega__promo-tag { color: var(--gold); font: 600 .6875rem/1.4 var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
    .mega__promo-name { color: var(--heading); font: 600 1.125rem/1.25 var(--font-head); }
    .mega__promo-kind { color: var(--text); font-size: .8125rem; line-height: 1.4; }
    .mega__promo-price { margin-top: 6px; color: var(--heading); font: 600 1rem var(--font-head); }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .button, .card__link, .tile, .category, .line, .feature { transition: border-color .2s, background-color .2s, color .2s; }
    .card__media img, .tile__media img, .category__media img, .line__media img, .feature__media img { transition: transform .35s ease; }
    .card__link:hover .card__media img, .tile:hover .tile__media img, .category:hover .category__media img,
    .line:hover .line__media img, .feature:hover .feature__media img { transform: scale(1.05); }
}

@media (min-width: 1360px) {
    .nav__link { padding: 26px 13px; font-size: .9375rem; }
}
