:root {
  --ink: #11110f;
  --ink-soft: #25241f;
  --paper: #f2efe7;
  --paper-2: #e7e1d5;
  --white: #fffefa;
  --stone: #a59d8c;
  --sage: #707767;
  --gold: #b89562;
  --line: rgba(17, 17, 15, 0.18);
  --line-light: rgba(255, 254, 250, 0.25);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --shell: min(92vw, 1440px);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Poziomy overflow: clip (nie hidden) nie tworzy kontenera przewijania,
   wiec sticky galeria produktu dziala dalej. */
html { scroll-behavior: smooth; overflow-x: clip; }
/* Fieldset ma w UA stylesheet min-inline-size: min-content i ignoruje
   ograniczenia szerokosci. Bez tego konfigurator rozpycha strone w bok. */
fieldset { min-inline-size: 0; }
table { max-width: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-is-open { position: fixed; top: var(--menu-scroll-lock, 0); right: 0; left: 0; width: 100%; overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; line-height: 0.98; letter-spacing: -0.04em; }
h1, h2 { font-family: var(--serif); }
::selection { color: var(--white); background: var(--sage); }

.panelco-shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: clamp(64px, 7vw, 120px); }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 10000; top: 12px; left: 12px; padding: 10px 16px; color: var(--white); background: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.eyebrow { margin-bottom: 1.5rem; font-size: 0.7rem; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.75rem; min-width: 230px; padding: 1rem 1.2rem; border: 1px solid currentColor; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease); }
.button svg { transition: transform .35s var(--ease); }
.button:hover svg { transform: translateX(5px); }
.button--light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button--light:hover { color: var(--white); background: transparent; }
.button--dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button--dark:hover { color: var(--ink); background: transparent; }
.text-link { display: inline-flex; align-items: center; gap: .75rem; padding-bottom: .4rem; border-bottom: 1px solid currentColor; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.text-link svg { transition: transform .35s var(--ease); }
.text-link:hover svg { transform: translateX(5px); }

[data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: var(--header-h); color: var(--white); transition: color .35s var(--ease), background .35s var(--ease), height .35s var(--ease), box-shadow .35s var(--ease); }
.site-header.is-scrolled, body:not(.is-panelco-home) .site-header { height: 70px; color: var(--ink); background: rgba(242, 239, 231, .92); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%; }
.site-header__brand { justify-self: start; }
.brand-wordmark { display: inline-flex; align-items: baseline; font-size: 1.05rem; font-weight: 700; line-height: 1; letter-spacing: .12em; }
.brand-wordmark i { color: var(--gold); font-style: normal; font-weight: 400; }
.custom-logo { width: auto; max-height: 42px; }
.primary-menu { display: flex; align-items: center; gap: clamp(1.4rem, 2.2vw, 2.8rem); margin: 0; padding: 0; list-style: none; }
.primary-menu a { position: relative; display: block; padding: .5rem 0; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.primary-menu a::after { content: ""; position: absolute; right: 0; bottom: .22rem; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.site-header__utilities { display: flex; align-items: center; justify-self: end; gap: .75rem; }
.utility-link, .menu-toggle { position: relative; display: grid; width: 38px; height: 38px; place-items: center; border: 0; background: transparent; cursor: pointer; }
.cart-count { position: absolute; top: 0; right: -2px; display: grid; min-width: 17px; height: 17px; padding-inline: 3px; place-items: center; border-radius: 20px; color: var(--ink); background: var(--gold); font-size: .6rem; line-height: 1; }
.menu-toggle { display: none; }
.menu-toggle__close { display: none; }
.menu-item-products > a { display: flex; align-items: center; gap: .38rem; }
.panelco-menu-chevron { display: inline-grid; width: 13px; height: 13px; place-items: center; transition: transform .3s var(--ease); }
.panelco-menu-chevron svg { width: 13px; height: 13px; stroke-width: 1.7; }
[data-products-trigger][aria-expanded="true"] .panelco-menu-chevron { transform: rotate(180deg); }
.site-header.has-products-mega-open { color: var(--ink); background: rgba(242, 239, 231, .98); box-shadow: none; }
.products-mega { position: fixed; z-index: 990; top: var(--header-h); right: 0; left: 0; max-height: calc(100svh - var(--header-h)); overflow: auto; color: var(--ink); background: rgba(242, 239, 231, .985); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 70px rgba(17, 17, 15, .15); opacity: 0; transform: translateY(-12px); transition: opacity .28s var(--ease), transform .28s var(--ease); }
.site-header.is-scrolled .products-mega, body:not(.is-panelco-home) .products-mega { top: 70px; max-height: calc(100svh - 70px); }
.products-mega.is-open { opacity: 1; transform: none; }
.products-mega__inner { padding-block: clamp(1.5rem, 2.8vw, 2.8rem); }
.products-mega__top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 1.35rem; }
.products-mega__top .eyebrow { margin: 0; color: #6a655b; }
.products-mega__top .text-link { font-size: .62rem; }
.products-mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.products-mega__card { display: grid; grid-template-columns: minmax(110px, .75fr) minmax(0, 1.25fr); min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 254, 250, .24); transition: background .35s var(--ease); }
.products-mega__card:hover { background: rgba(255, 254, 250, .7); }
.products-mega__media { position: relative; min-height: 100%; overflow: hidden; background: var(--ink-soft); }
.products-mega__media::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.12)); content: ""; }
.products-mega__media img { width: 100%; height: 100%; min-height: 290px; object-fit: cover; filter: saturate(.74); transition: transform .7s var(--ease), filter .7s var(--ease); }
.products-mega__card:hover .products-mega__media img { transform: scale(1.025); filter: saturate(.95); }
.products-mega__content { min-width: 0; padding: clamp(1rem, 1.7vw, 1.7rem); }
.products-mega__heading { display: flex; align-items: baseline; gap: .7rem; }
.products-mega__heading > span { color: var(--gold); font-size: .58rem; letter-spacing: .08em; }
.products-mega__heading h2 { margin: 0; font-family: var(--sans); font-size: clamp(1.35rem, 1.7vw, 2rem); letter-spacing: -.05em; }
.products-mega__content > p { min-height: 3.2em; margin: .85rem 0 1.25rem; color: #625d54; font-size: .72rem; line-height: 1.55; }
.products-mega__models { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.products-mega__models li { border-bottom: 1px solid var(--line); }
.products-mega__models a { display: grid; grid-template-columns: 38px minmax(0, 1fr) 16px; gap: .65rem; align-items: center; min-height: 54px; padding: .42rem 0; font-size: .67rem; letter-spacing: 0; text-transform: none; }
.products-mega__models a::after { display: none; }
.products-mega__models a > svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.products-mega__models a:hover > svg { transform: translateX(3px); }
.products-mega__model-thumb { width: 38px; height: 38px; overflow: hidden; background: var(--paper-2); }
.products-mega__model-thumb img { width: 100%; height: 100%; object-fit: cover; }
.products-mega__soon { padding: .9rem 0; color: #817b70; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.products-mega__accessories { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .85rem; color: #777167; font-size: .59rem; letter-spacing: .1em; text-transform: uppercase; }
.products-mega__accessories svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.products-mega__accessories:hover svg { transform: translateX(3px); }

.home-hero { position: relative; min-height: min(100svh, 1050px); overflow: hidden; color: var(--white); background: var(--ink); }
.home-hero__media, .home-hero__veil { position: absolute; inset: 0; }
.home-hero__media { transform: translate(var(--hero-x, 0), var(--hero-y, 0)) scale(1); transition: transform 1.2s var(--ease); }
.home-hero__media img { width: 100%; height: 100%; object-fit: contain; object-position: 100% 50%; filter: saturate(.76) contrast(1.05); }
.home-hero__stack { position: relative; display: block; width: 100%; height: 100%; }
.home-hero__layer { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.home-hero__layer--off { opacity: 1; }
.home-hero__layer--on { opacity: 0; }
.home-hero__stack.is-lit .home-hero__layer--off { opacity: 0; }
.home-hero__stack.is-lit .home-hero__layer--on { opacity: 1; }
.home-hero__img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 100% 50%; filter: saturate(.76) contrast(1.05); }
@media (prefers-reduced-motion: reduce) {
  .home-hero__layer { transition: none; }
}
.home-hero__veil { background: linear-gradient(90deg, rgba(8, 8, 7, .72) 0%, rgba(8, 8, 7, .25) 56%, rgba(8, 8, 7, .1) 100%), linear-gradient(0deg, rgba(8, 8, 7, .5), transparent 45%); }
.home-hero__content { position: relative; z-index: 2; display: flex; min-height: min(100svh, 1050px); flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.home-hero h1 { max-width: 950px; margin-bottom: clamp(2rem, 4vw, 4rem); font-size: clamp(4.1rem, 9vw, 10rem); line-height: .82; letter-spacing: -.065em; }
.home-hero h1 em { display: inline-block; margin-left: clamp(1.5rem, 9vw, 10rem); font-weight: 400; }
.home-hero__actions { display: flex; align-items: center; gap: 2rem; }
.link-on-dark { padding-bottom: .35rem; border-bottom: 1px solid rgba(255,255,255,.55); font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; }
.home-hero__caption { position: absolute; z-index: 2; right: 4vw; bottom: 30px; display: flex; gap: 2.5rem; align-items: center; font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; writing-mode: vertical-rl; }
button.home-hero__toggle { all: unset; display: inline-flex; align-items: center; gap: .7rem; padding: .5rem 1.1rem .5rem .5rem; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: var(--white); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease); }
button.home-hero__toggle:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
.home-hero__toggle-track { position: relative; flex: 0 0 auto; width: 44px; height: 24px; border: 1px solid rgba(255,255,255,.55); border-radius: 24px; transition: border-color .45s var(--ease), background .45s var(--ease); }
.home-hero__toggle-knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform .45s var(--ease), background .45s var(--ease); }
button.home-hero__toggle[aria-pressed="true"] { border-color: var(--gold); background: rgba(184, 149, 98, .16); }
button.home-hero__toggle[aria-pressed="true"] .home-hero__toggle-track { border-color: var(--gold); background: rgba(184, 149, 98, .24); }
button.home-hero__toggle[aria-pressed="true"] .home-hero__toggle-knob { transform: translateX(20px); background: var(--gold); }
@keyframes home-hero-toggle-invite { 0%, 100% { box-shadow: 0 0 0 0 rgba(184, 149, 98, .5); } 50% { box-shadow: 0 0 0 7px rgba(184, 149, 98, 0); } }
button.home-hero__toggle.is-inviting .home-hero__toggle-track { animation: home-hero-toggle-invite 1.05s ease-out 3; }
@media (prefers-reduced-motion: reduce) {
  button.home-hero__toggle.is-inviting .home-hero__toggle-track { animation: none; }
}
[data-hero-item] { opacity: 0; transform: translateY(28px); animation: hero-in .9s var(--ease) forwards; }
[data-hero-item]:nth-child(1) { animation-delay: .15s; }
[data-hero-item]:nth-child(2) { animation-delay: .28s; }
[data-hero-item]:nth-child(3) { animation-delay: .42s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

.manifesto { display: grid; grid-template-columns: 1fr 3fr; gap: 4vw; }
.manifesto__index { display: flex; gap: 1.5rem; color: #777266; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.manifesto__content { max-width: 1050px; }
.manifesto h2 { max-width: 1000px; margin-bottom: clamp(2rem, 4vw, 4rem); font-size: clamp(2.8rem, 5.3vw, 6rem); }
.manifesto__content > p:last-child { max-width: 620px; margin-left: auto; color: #555249; font-size: clamp(1rem, 1.3vw, 1.25rem); }

.collections { background: var(--ink); color: var(--white); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: clamp(3.5rem, 7vw, 7rem); }
.section-heading h2 { max-width: 820px; margin: 0; font-size: clamp(3rem, 5.8vw, 6.8rem); }
.section-heading > p { max-width: 470px; margin: 0; color: #5e5a50; }
.collection-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 7rem) clamp(1.2rem, 2.5vw, 2.5rem); align-items: start; }
.collection-card--large { grid-row: span 2; }
.collection-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #26241f; }
.collection-card:not(.collection-card--large) .collection-card__media { aspect-ratio: 4 / 3; }
.collection-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.14)); }
.collection-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); transition: transform 1.1s var(--ease), filter 1.1s var(--ease); }
.collection-card:hover img { transform: scale(1.035); filter: saturate(1); }
.collection-card__content { position: relative; display: grid; grid-template-columns: 1fr minmax(200px, .8fr) auto; gap: 2rem; align-items: start; padding-top: 1.4rem; border-top: 1px solid var(--line-light); }
.collection-card__content > div { display: flex; gap: .8rem; align-items: baseline; }
.collection-card__number { color: var(--stone); font-size: .65rem; }
.collection-card h3 { margin: 0; font-family: var(--sans); font-size: clamp(1.65rem, 2.8vw, 3.3rem); letter-spacing: -.055em; }
.collection-card p { margin: 0; color: #aaa69d; font-size: .84rem; line-height: 1.6; }
.circle-arrow { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; transition: color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease); }
.collection-card:hover .circle-arrow { color: var(--ink); background: var(--white); transform: rotate(-10deg); }

.material-story { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 850px; padding-block: 0; background: var(--paper-2); }
.material-story__visual { position: relative; min-height: 760px; overflow: hidden; }
.material-story__visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); }
.material-story__tag { position: absolute; right: 0; bottom: 0; padding: 1.1rem 1.4rem; color: var(--white); background: var(--ink); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.material-story__content { display: flex; max-width: 650px; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 9rem); }
.material-story h2 { margin-bottom: 2.2rem; font-size: clamp(3rem, 5.2vw, 6rem); }
.material-story__content > p:not(.eyebrow) { max-width: 510px; color: #59564e; }
.material-list { margin: 3rem 0 0; padding: 0; list-style: none; }
.material-list li { display: grid; grid-template-columns: 50px 1fr; padding: 1.2rem 0; border-top: 1px solid var(--line); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.material-list li:last-child { border-bottom: 1px solid var(--line); }
.material-list span { color: var(--gold); font-size: .65rem; }

.purchase-path .section-heading { align-items: end; }
.purchase-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.purchase-steps li { min-height: 300px; padding: 1.5rem clamp(1rem, 2vw, 2rem); border-right: 1px solid var(--line); }
.purchase-steps li:first-child { border-left: 1px solid var(--line); }
.purchase-steps li > span { display: block; margin-bottom: clamp(4rem, 8vw, 7rem); color: var(--gold); font-size: .68rem; }
.purchase-steps h3 { margin-bottom: 1rem; font-family: var(--sans); font-size: clamp(1.35rem, 2vw, 2.1rem); }
.purchase-steps p { margin: 0; color: #625f56; font-size: .85rem; }

.b2b-section { display: grid; grid-template-columns: 1fr 1fr; padding-block: 0; color: var(--white); background: var(--sage); }
.b2b-section__media { min-height: 800px; overflow: hidden; }
.b2b-section__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(.15) saturate(.65); }
.b2b-section__content { display: flex; max-width: 750px; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 9rem); }
.b2b-section h2 { margin-bottom: 2rem; font-size: clamp(3rem, 5.2vw, 6rem); }
.b2b-section__content > p:not(.eyebrow) { max-width: 600px; color: rgba(255,255,255,.78); }
.b2b-benefits { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2.5rem 0 3.2rem; }
.b2b-benefits span { padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.36); border-radius: 100px; font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }

.motion-strip { overflow: hidden; padding: 1.3rem 0; color: var(--white); background: var(--gold); }
.motion-strip > div { display: flex; width: max-content; gap: 2.5rem; align-items: center; animation: marquee 24s linear infinite; font-size: clamp(1.7rem, 3vw, 3.2rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.motion-strip i { font-family: var(--serif); font-weight: 400; }
.motion-strip span::before, .motion-strip i::before { content: "✦"; margin-right: 2.5rem; font-size: .4em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

.site-footer { padding-top: clamp(5rem, 9vw, 10rem); color: var(--white); background: var(--ink); }
.site-footer__lead { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; align-items: start; padding-bottom: clamp(5rem, 9vw, 9rem); border-bottom: 1px solid var(--line-light); }
.site-footer__lead > a { display: flex; max-width: 1100px; align-items: center; justify-content: space-between; gap: 2rem; font-family: var(--serif); font-size: clamp(3rem, 6vw, 7rem); line-height: .95; letter-spacing: -.05em; }
.site-footer__lead > a svg { flex: 0 0 auto; transition: transform .35s var(--ease); }
.site-footer__lead > a:hover svg { transform: translateX(10px); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 4vw; padding: clamp(4rem, 7vw, 7rem) 0; }
.site-footer__grid p, .site-footer__grid a { color: #aaa69e; font-size: .8rem; }
.site-footer__grid > div:first-child p { max-width: 350px; margin-top: 1.5rem; }
.site-footer .footer-heading { margin-bottom: 1.3rem; color: var(--white); font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: .5rem; }
.site-footer li a:hover { color: var(--white); }
.site-footer .text-link { margin-top: 1.2rem; color: var(--white); }
.site-footer__bottom { display: flex; justify-content: space-between; padding: 1.5rem 0; border-top: 1px solid var(--line-light); color: #77746d; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }

.page-main, .shop-main { min-height: 70vh; padding-top: calc(var(--header-h) + clamp(.75rem, 1.8vw, 1.75rem)); padding-bottom: clamp(4.5rem, 8vw, 8rem); }
.editorial-page__header { display: grid; grid-template-columns: 1fr 3fr; gap: 4vw; align-items: start; margin-bottom: clamp(4rem, 8vw, 8rem); padding-bottom: clamp(3rem, 5vw, 5rem); border-bottom: 1px solid var(--line); }
.editorial-page__header h1 { margin: 0; font-size: clamp(4rem, 8vw, 9rem); }
.entry-content { max-width: 920px; margin-left: auto; font-size: 1.05rem; }
.entry-content h2 { margin-top: 2.5em; font-size: clamp(2.4rem, 4vw, 4.5rem); }
.entry-content a { border-bottom: 1px solid currentColor; }
.error-page { display: flex; min-height: 90vh; flex-direction: column; justify-content: center; }
.error-page h1 { max-width: 1000px; margin-bottom: 2rem; font-size: clamp(4rem, 9vw, 10rem); }
.error-page .button { margin-top: 2rem; }

/* Editorial subpages */
.subpage-main { padding-top: calc(var(--header-h) + clamp(4rem, 8vw, 9rem)); }
.subpage-hero { display: grid; grid-template-columns: 1fr 3fr; gap: 2rem 4vw; padding-bottom: clamp(5rem, 10vw, 11rem); border-bottom: 1px solid var(--line); }
.subpage-hero h1 { grid-column: 2; max-width: 1180px; margin: 0; font-size: clamp(4.3rem, 9vw, 10rem); }
.subpage-hero__lead { grid-column: 2; max-width: 650px; margin: 1.5rem 0 0 auto; color: #5c584f; font-size: clamp(1rem, 1.4vw, 1.25rem); }
.about-intro { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 8vw, 10rem); align-items: center; }
.about-intro__media { aspect-ratio: 4 / 5; overflow: hidden; }
.about-intro__media img { width: 100%; height: 100%; object-fit: cover; }
.about-intro__copy h2 { margin-bottom: 2rem; font-size: clamp(3rem, 5vw, 6rem); }
.about-intro__copy p:not(.eyebrow) { max-width: 600px; color: #5d594f; }
.values-section, .partner-offer, .company-details { background: var(--paper-2); }
.value-grid, .offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.value-grid article, .offer-grid article { min-height: 310px; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-grid article:first-child, .offer-grid article:first-child { border-left: 1px solid var(--line); }
.value-grid article > span, .offer-grid article > span { display: block; margin-bottom: clamp(4rem, 7vw, 7rem); color: var(--gold); font-size: .68rem; }
.value-grid h3, .offer-grid h3 { margin-bottom: 1rem; font-family: var(--sans); font-size: clamp(1.5rem, 2vw, 2.2rem); }
.value-grid p, .offer-grid p { color: #625e54; font-size: .86rem; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.audience-grid article { padding: clamp(2rem, 5vw, 5rem); background: var(--paper); }
.audience-grid__number { color: var(--gold); font-size: .68rem; }
.audience-grid h3 { margin: 3rem 0 1.5rem; font-family: var(--sans); font-size: clamp(2.3rem, 4vw, 4.5rem); }
.audience-grid p { max-width: 580px; color: #5e5a51; }
.audience-grid ul { margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.audience-grid li { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.center-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: clamp(4rem, 8vw, 8rem); padding-top: clamp(3rem, 5vw, 5rem); border-top: 1px solid var(--line); }
.center-cta p { max-width: 780px; margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 5.5rem); line-height: 1; letter-spacing: -.04em; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.contact-card { min-height: 440px; padding: clamp(2rem, 4vw, 4rem); background: var(--paper); }
.contact-card > span { color: var(--gold); font-size: .68rem; }
.contact-card h3 { margin: 4rem 0 .65rem; font-family: var(--sans); font-size: clamp(2rem, 3vw, 3.3rem); }
.contact-card__role { color: var(--ink) !important; font-size: .72rem !important; letter-spacing: .1em; text-transform: uppercase; }
.contact-card > p { max-width: 480px; color: #625e55; }
.contact-card > div { display: flex; align-items: flex-start; flex-direction: column; margin-top: 2rem; }
.contact-card a { border-bottom: 1px solid var(--line); font-size: .8rem; }
.company-details .panelco-shell { display: grid; grid-template-columns: 1fr 2fr; gap: 4vw; }
.company-details h2 { font-size: clamp(3rem, 5vw, 5.5rem); }
.company-details__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.company-details__grid > div { padding: 1.5rem; border-top: 1px solid var(--line); }
.company-details__grid span { display: block; margin-bottom: 2rem; color: #726d63; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.company-details__grid p { margin: 0; }
.inspiration-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 6rem) clamp(1rem, 2.5vw, 2.5rem); align-items: start; }
.inspiration-grid__tall { grid-row: span 2; }
.inspiration-grid figure { margin: 0; }
.inspiration-grid figure > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.inspiration-grid__tall > img { aspect-ratio: 4 / 5 !important; }
.inspiration-grid figcaption { display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line); color: #666158; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.inspiration-grid figcaption span { color: var(--ink); }
.downloads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.downloads-grid article { min-height: 460px; padding: clamp(2rem, 4vw, 4rem); background: var(--paper); }
.downloads-grid article > span { color: var(--gold); font-size: .68rem; }
.downloads-grid h2 { margin: 6rem 0 1rem; font-size: clamp(2.5rem, 4vw, 4.5rem); }
.downloads-grid p { color: #5e5a51; }
.downloads-grid small { display: inline-block; margin-top: 2rem; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 100px; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }

/* WooCommerce */
.woocommerce-shell { width: var(--shell); }
.shop-hero { width: 100%; margin-bottom: clamp(1.75rem, 3vw, 3rem); padding-bottom: clamp(1.5rem, 2.2vw, 2.25rem); border-bottom: 1px solid var(--line); }
.shop-hero--media { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.85fr); gap: clamp(1.5rem, 3.5vw, 4rem); align-items: end; padding-bottom: 0; }
.shop-hero__copy { align-self: center; padding-bottom: 0; }
.shop-hero__media { min-width: 0; margin: 0; aspect-ratio: 1280 / 433; overflow: hidden; background: var(--paper-2); }
.shop-hero__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shop-hero--media:hover .shop-hero__media img { transform: scale(1.015); }
.shop-hero h1 { margin-bottom: .9rem; font-size: clamp(3.2rem, 6.5vw, 7rem); }
.shop-hero__description { max-width: 600px; color: #5f5b52; }
.shop-hero__description p { margin: 0; }
.woocommerce .woocommerce-breadcrumb { color: #777268; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 1.4rem; color: #656159; font-size: .75rem; }
.woocommerce .woocommerce-ordering select { padding: .75rem 2.5rem .75rem .8rem; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 2.6vw, 2.8rem) clamp(1rem, 2vw, 2rem); clear: both; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; }
.woocommerce ul.products li.product a img { aspect-ratio: 4 / 5; margin-bottom: 1.3rem; object-fit: cover; background: var(--paper-2); transition: transform .75s var(--ease), filter .75s var(--ease); }
.woocommerce ul.products li.product a img.panelco-product-fallback { object-position: center; }
.woocommerce ul.products li.product a:hover img { transform: scale(.985); filter: saturate(.82); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; font-family: var(--sans); font-size: clamp(1.2rem, 1.6vw, 1.7rem); font-weight: 400; letter-spacing: -.035em; }
.woocommerce ul.products li.product .price { margin-top: .5rem; color: #676258; font-size: .84rem; }
.woocommerce ul.products li.product .button { min-width: 0; margin-top: 1rem; padding: .65rem 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; color: var(--ink); background: transparent; font-size: .66rem; }
.panelco-empty-products { max-width: 760px; margin: clamp(3rem, 7vw, 7rem) 0; padding: clamp(2rem, 5vw, 4.5rem); background: var(--paper-2); }
.panelco-empty-products h2 { max-width: 640px; margin: .8rem 0 1.25rem; font-size: clamp(2.2rem, 4.5vw, 4.5rem); }
.panelco-empty-products > p:not(.eyebrow) { max-width: 560px; color: #5f5a51; }
.panelco-empty-products__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; }
.woocommerce span.onsale { min-width: 0; min-height: 0; padding: .45rem .7rem; border-radius: 0; color: var(--white); background: var(--sage); font-size: .64rem; font-weight: 400; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(400px, .88fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: start; }
.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary { float: none !important; width: 100% !important; min-width: 0; margin: 0 !important; }
.single-product.woocommerce div.product div.images.woocommerce-product-gallery { position: relative; align-self: stretch; }
.single-product div.product .summary { position: static; align-self: start; }
.single-product .product_title { max-width: 720px; margin-bottom: 1rem; font-size: clamp(2.6rem, 4.2vw, 4.8rem); }
.single-product div.product .summary > p.price, .single-product div.product .summary > span.price, .single-product div.product .summary .woocommerce-variation-price .price { display: block; margin-bottom: 1.3rem; color: var(--ink); font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; }
.single-product div.product .summary .price del { opacity: .4; font-size: .58em; }
.single-product div.product .summary .price ins { text-decoration: none; }
.single-product div.product .summary .price .woocommerce-Price-currencySymbol { font-size: .62em; }
.single-product .woocommerce-product-details__short-description { max-width: 520px; margin-bottom: 1.8rem; color: #565249; }
.panelco-product-eyebrow { margin-bottom: .75rem; color: #746f64; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; }
.single-product .woocommerce-product-gallery__wrapper { position: sticky; top: calc(var(--header-h) + 1.25rem); width: 100%; margin: 0; }
.single-product div.product div.images .woocommerce-product-gallery__image { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); transition: background-color .9s var(--ease); }
/* Kotwica ma domyslnie wysokosc auto, przez co obrazek bazowy byl nizszy niz nakladka inset:0 i panel podskakiwal przy zapaleniu. */
.single-product div.product div.images .woocommerce-product-gallery__image > a:not(.woocommerce-product-gallery__trigger) { display: block; width: 100%; height: 100%; }
.single-product div.product div.images img { width: 100%; height: 100%; margin: 0; padding: 0; object-fit: contain; background: transparent; }
.single-product div.product div.images.woocommerce-product-gallery--without-images img { padding: 0; object-fit: cover; object-position: center; }
.panelco-config-intro { display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; align-items: center; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.panelco-config-intro span, .panelco-specs__head span { color: var(--gold); font-size: .64rem; letter-spacing: .08em; }
.panelco-config-intro p { margin: 0; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.woocommerce div.product form.cart .variations { width: 100%; margin: 1.5rem 0 1rem; }
.woocommerce div.product form.cart .variations tr { display: block; margin-bottom: 1.25rem; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: .35rem 0; text-align: left; }
.woocommerce div.product form.cart .variations label { font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
.woocommerce div.product form.cart .variations select, .woocommerce .quantity .qty, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 48px; padding: .75rem; border: 1px solid var(--line); border-radius: 0; background: var(--white); }
.woocommerce div.product form.cart .variations select.panelco-native-select { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.panelco-choice-group { display: flex; flex-wrap: wrap; gap: .45rem; }
.panelco-choice { min-width: 72px; min-height: 48px; padding: .7rem 1rem; border: 1px solid var(--line); color: var(--ink); background: rgba(255, 254, 250, .55); font-size: .74rem; cursor: pointer; transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease); }
.panelco-choice:hover:not(:disabled), .panelco-choice.is-selected { color: var(--white); background: var(--ink); border-color: var(--ink); }
.panelco-choice:disabled { opacity: .28; cursor: not-allowed; text-decoration: line-through; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: .55rem; color: #6e695f; font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.single-product .single_variation_wrap { padding-top: .6rem; }
.single-product .woocommerce-variation-price { margin-bottom: 1rem; }
.single-product div.product form.cart div.quantity { float: none; margin: 0; }
.single-product div.product form.cart .single_add_to_cart_button { float: none; }
.single-product div.product form.cart .woocommerce-variation-add-to-cart { display: flex; align-items: stretch; flex-wrap: wrap; gap: .6rem; }
.single-product div.product form.cart::after { display: block; clear: both; content: ""; }
.single-product .panelco-accessory-config { margin-top: 2.2rem; }
.single-product div.product form.cart .single_add_to_cart_button { min-height: 54px; padding-inline: 2.2rem; border: 0; border-radius: 0; color: var(--white); background: var(--ink); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; transition: background .3s var(--ease), color .3s var(--ease); }
.single-product div.product form.cart .single_add_to_cart_button:hover { background: var(--sage); }
.panelco-specs { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.panelco-specs__head { display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; align-items: center; }
.panelco-specs__head h2 { margin: 0; font-family: var(--sans); font-size: .68rem; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.panelco-specs__empty { margin: 1.1rem 0 0 3.25rem; color: #6a655b; font-size: .78rem; }
.panelco-specs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.2rem 0 0; border-top: 1px solid var(--line); }
.panelco-specs__grid > div { min-height: 78px; padding: .9rem .8rem .8rem 0; border-bottom: 1px solid var(--line); }
.panelco-specs__grid > div:nth-child(even) { padding-left: .8rem; border-left: 1px solid var(--line); }
.panelco-specs__grid dt { color: #777167; font-size: .61rem; letter-spacing: .1em; text-transform: uppercase; }
.panelco-specs__grid dd { margin: .35rem 0 0; font-size: .86rem; }
.panelco-product-consult { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-top: 1.7rem; padding: 1.2rem; background: var(--paper-2); }
.panelco-product-consult p { max-width: 330px; margin: 0; font-size: .8rem; }
.panelco-product-consult .text-link { flex: 0 0 auto; font-size: .63rem; }
.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { padding: 1rem 1.3rem; border: 1px solid var(--ink); border-radius: 0; color: var(--white); background: var(--ink); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transition: color .3s, background .3s; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { color: var(--ink); background: transparent; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top: 0; color: var(--ink); background: var(--paper-2); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--sage); }
.woocommerce-tabs, .related.products, .upsells.products { grid-column: 1 / -1; margin-top: clamp(2.5rem, 4.5vw, 4.5rem); }
.woocommerce div.product .woocommerce-tabs { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(2.5rem, 6vw, 7rem); padding-top: clamp(2.5rem, 5vw, 5rem); border-top: 1px solid var(--line); overflow: visible !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: none; }
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel { display: block !important; width: 100%; max-height: none !important; margin: 0 !important; overflow: visible !important; }
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel > h2 { margin-bottom: 1.8rem; font-family: var(--sans); font-size: .72rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description { max-width: 780px; font-size: clamp(1rem, 1.15vw, 1.18rem); line-height: 1.75; }
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description p { max-width: 720px; }
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description ul { display: grid; gap: .55rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description li { position: relative; padding-left: 1.25rem; }
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description li::before { position: absolute; top: .75em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); content: ""; }
.woocommerce div.product .woocommerce-tabs table.shop_attributes { margin: 0; border-top: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs table.shop_attributes th, .woocommerce div.product .woocommerce-tabs table.shop_attributes td { padding: 1rem 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-style: normal; }
.woocommerce div.product .woocommerce-tabs table.shop_attributes th { width: 44%; color: #777167; font-size: .63rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce div.product .woocommerce-tabs table.shop_attributes td { color: var(--ink); font-size: .86rem; }
.woocommerce div.product .woocommerce-tabs table.shop_attributes p { padding: 0; }
.woocommerce table.shop_table { border-color: var(--line); border-radius: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 1rem; border-color: var(--line); }
.wc-block-components-button, .wp-element-button { border-radius: 0 !important; }

.panelco-accessory-config { margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.panelco-accessory-config__head { display: grid; grid-template-columns: 34px 1fr; gap: 1rem; margin-bottom: 1.6rem; }
.panelco-accessory-config__head > span { color: var(--gold); font-size: .63rem; letter-spacing: .12em; }
.panelco-accessory-config__head h2 { margin: 0 0 .35rem; font-family: var(--sans); font-size: .76rem; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase; }
.panelco-accessory-config__head p { margin: 0; color: #6f695f; font-size: .78rem; line-height: 1.55; }
.panelco-accessory-step { display: grid; gap: .55rem; padding: 1.25rem 0 1.5rem; margin: 0; border: 0; border-top: 1px solid var(--line); }
.panelco-accessory-step legend { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 0 0 .25rem; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.panelco-accessory-step legend em { color: #797267; font-size: .55rem; font-style: normal; font-weight: 400; letter-spacing: .1em; }
.panelco-accessory-step--required legend em { color: var(--gold); }
.panelco-accessory-step > p { margin: 0 0 .55rem; color: #6f695f; font-size: .73rem; line-height: 1.5; }
.panelco-accessory-option { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: .8rem; align-items: center; min-height: 64px; padding: .7rem .85rem; border: 1px solid var(--line); background: rgba(255,254,250,.24); cursor: pointer; transition: border-color .25s var(--ease), background .25s var(--ease); }
.panelco-accessory-option:hover { border-color: rgba(17,17,15,.42); background: rgba(255,254,250,.52); }
.panelco-accessory-option input { position: absolute; opacity: 0; pointer-events: none; }
.panelco-accessory-option__mark { display: grid; width: 18px; height: 18px; place-items: center; border: 1px solid #777167; border-radius: 50%; }
.panelco-accessory-option input:checked + .panelco-accessory-option__mark { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px var(--paper); }
.panelco-accessory-option__copy { display: grid; gap: .12rem; min-width: 0; }
.panelco-accessory-option__copy strong { overflow: hidden; font-size: .7rem; font-weight: 500; line-height: 1.35; text-overflow: ellipsis; }
.panelco-accessory-option__copy small { color: #777167; font-size: .59rem; line-height: 1.4; }
.panelco-accessory-option__price { white-space: nowrap; font-size: .68rem; }
.panelco-accessory-more { border-top: 1px solid var(--line); }
.panelco-accessory-more summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; cursor: pointer; font-size: .68rem; font-weight: 600; letter-spacing: .08em; list-style: none; text-transform: uppercase; }
.panelco-accessory-more summary::-webkit-details-marker { display: none; }
.panelco-accessory-more summary small { color: #777167; font-size: .55rem; font-weight: 400; letter-spacing: .1em; }
.panelco-accessory-more summary::after { margin-left: .3rem; content: "+"; font-size: 1rem; font-weight: 300; }
.panelco-accessory-more[open] summary::after { content: "−"; }
.panelco-accessory-more__body { display: grid; gap: .55rem; padding-bottom: 1.4rem; }
.panelco-accessory-total { margin-top: 1.25rem; padding: 1.1rem 1.2rem; color: var(--white); background: var(--ink); }
.panelco-accessory-total > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .35rem 0; color: #bdb8ae; font-size: .65rem; }
.panelco-accessory-total strong { color: var(--white); font-size: .75rem; font-weight: 500; }
.panelco-accessory-total__sum { padding-top: .8rem !important; margin-top: .45rem; border-top: 1px solid rgba(255,255,255,.2); }
.panelco-accessory-total__sum span, .panelco-accessory-total__sum strong { color: var(--white); font-size: .86rem; }

@media (max-width: 1080px) {
  :root { --header-h: 72px; --shell: min(91vw, 960px); }
  .primary-navigation { position: fixed; z-index: 1; inset: 0; display: flex; width: 100%; height: 100dvh; min-height: 100svh; visibility: hidden; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: calc(var(--header-h) + 2rem) 5vw max(3rem, env(safe-area-inset-bottom)); opacity: 0; color: var(--white); background: var(--ink); transition: opacity .4s var(--ease), visibility .4s; }
  .primary-navigation.is-open { visibility: visible; opacity: 1; }
  .primary-menu { width: 100%; flex: 0 0 auto; flex-direction: column; gap: .7rem; align-items: flex-start; }
  .primary-menu a { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -.04em; text-transform: none; }
  .menu-item-products > a { gap: .7rem; }
  .panelco-menu-chevron, .panelco-menu-chevron svg { width: .7em; height: .7em; }
  .site-header.has-products-mega-open { color: var(--white); background: transparent; }
  .products-mega, .site-header.is-scrolled .products-mega, body:not(.is-panelco-home) .products-mega { position: static; width: 100%; max-height: none; flex: 0 0 auto; margin-top: 2rem; overflow: visible; color: var(--white); background: transparent; border-color: var(--line-light); box-shadow: none; }
  .products-mega__inner { width: 100%; padding: 0 0 2rem; }
  .products-mega__top { padding-top: 1.2rem; border-top: 1px solid var(--line-light); }
  .products-mega__top .eyebrow { color: #aaa69d; }
  .products-mega__top .text-link { font-family: var(--sans); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
  .products-mega__grid { grid-template-columns: 1fr; border-color: var(--line-light); }
  .products-mega__card { grid-template-columns: minmax(110px, .42fr) minmax(0, 1.58fr); border-color: var(--line-light); background: rgba(255,255,255,.025); }
  .products-mega__card:hover { background: rgba(255,255,255,.06); }
  .products-mega__media img { min-height: 230px; }
  .products-mega__heading h2, .products-mega__heading h2 a { font-family: var(--sans); font-size: clamp(1.4rem, 4vw, 2rem); }
  .products-mega__content > p { min-height: 0; color: #aaa69d; }
  .products-mega__models, .products-mega__models li { border-color: var(--line-light); }
  .products-mega__models a { font-family: var(--sans); font-size: .68rem; color: var(--white); }
  .products-mega__soon { color: #aaa69d; }
  .menu-toggle { display: grid; }
  .menu-is-open .site-header { color: var(--white); background: transparent; box-shadow: none; }
  .menu-is-open .menu-toggle__open { display: none; }
  .menu-is-open .menu-toggle__close { display: inline; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-header__brand, .site-header__utilities { position: relative; z-index: 2; }
  .site-header__utilities { grid-column: 2; }
  .site-header .account-link { display: none; }
  .material-story__content, .b2b-section__content { padding: clamp(3rem, 7vw, 6rem); }
  .purchase-steps { grid-template-columns: repeat(2, 1fr); }
  .purchase-steps li:nth-child(3) { border-left: 1px solid var(--line); }
  .purchase-steps li { border-bottom: 1px solid var(--line); }
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .site-footer__grid > div:last-child { grid-column: 1 / -1; }
  .value-grid, .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid article:nth-child(3), .offer-grid article:nth-child(3) { border-left: 1px solid var(--line); }
  .company-details .panelco-shell { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --shell: min(90vw, 640px); }
  .section-pad { padding-block: 88px; }
  .site-header__utilities { gap: .2rem; }
  .home-hero h1 { font-size: clamp(4rem, 20vw, 7rem); }
  .home-hero h1 em { margin-left: 0; }
  .home-hero__actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .home-hero__caption { display: none; }
  .manifesto, .editorial-page__header { grid-template-columns: 1fr; }
  .manifesto__index { margin-bottom: 2rem; }
  .manifesto__content > p:last-child { margin-left: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-card--large { grid-row: auto; }
  .collection-card__media, .collection-card:not(.collection-card--large) .collection-card__media { aspect-ratio: 4 / 5; }
  .collection-card__content { grid-template-columns: 1fr auto; }
  .collection-card__content p { grid-column: 1 / -1; grid-row: 2; }
  .material-story, .b2b-section { grid-template-columns: 1fr; }
  .material-story__visual, .b2b-section__media { min-height: 64svh; }
  .material-story__content, .b2b-section__content { padding: 76px 5vw; }
  .purchase-steps { grid-template-columns: 1fr; }
  .purchase-steps li, .purchase-steps li:nth-child(3) { min-height: 250px; border-left: 1px solid var(--line); }
  .purchase-steps li > span { margin-bottom: 4rem; }
  .site-footer__lead { grid-template-columns: 1fr; }
  .site-footer__lead > a { font-size: clamp(2.8rem, 13vw, 5rem); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > div:first-child, .site-footer__grid > div:last-child { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; gap: .5rem; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-hero--media { grid-template-columns: 1fr; gap: 1.5rem; }
  .shop-hero__copy { padding-bottom: 0; }
  .shop-hero__media { aspect-ratio: 16 / 7; }
  .single-product div.product { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-gallery { position: static; }
  .single-product div.product div.images .woocommerce-product-gallery__image { aspect-ratio: 4 / 5; }
  .woocommerce div.product .woocommerce-tabs { grid-template-columns: 1fr; }
  .subpage-hero { grid-template-columns: 1fr; }
  .subpage-hero h1, .subpage-hero__lead { grid-column: 1; }
  .subpage-hero__lead { margin-left: 0; }
  .about-intro, .audience-grid { grid-template-columns: 1fr; }
  .value-grid, .offer-grid, .contact-grid, .downloads-grid { grid-template-columns: 1fr; }
  .value-grid article, .value-grid article:nth-child(3), .offer-grid article, .offer-grid article:nth-child(3) { border-left: 1px solid var(--line); }
  .center-cta { align-items: flex-start; flex-direction: column; }
  .company-details__grid { grid-template-columns: 1fr; }
  .inspiration-grid { grid-template-columns: 1fr; }
  .inspiration-grid__tall { grid-row: auto; }
}

@media (max-width: 480px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .shop-hero__media { aspect-ratio: 4 / 3; }
  .button { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__grid > div { grid-column: auto !important; }
  .panelco-choice { min-width: calc(50% - .225rem); }
  .panelco-product-consult { align-items: flex-start; flex-direction: column; }
  .single-product .product_title { font-size: clamp(2.45rem, 13vw, 3.4rem); }
  .single-product div.product form.cart div.quantity { float: none; width: 100%; margin: 0 0 .65rem; }
  .single-product div.product form.cart div.quantity .qty, .single-product div.product form.cart .single_add_to_cart_button { width: 100%; }
  .panelco-empty-products__actions { align-items: flex-start; flex-direction: column; }
  .products-mega__top { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .products-mega__card { grid-template-columns: 92px minmax(0, 1fr); }
  .products-mega__content { padding: .9rem; }
  .products-mega__content > p { display: none; }
  .products-mega__models { margin-top: .8rem; }
  .products-mega__models a { grid-template-columns: 32px minmax(0, 1fr) 14px; min-height: 48px; gap: .5rem; font-size: .63rem; }
  .products-mega__model-thumb { width: 32px; height: 32px; }
  .panelco-accessory-option { grid-template-columns: 20px minmax(0, 1fr); }
  .panelco-accessory-option__price { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], [data-hero-item] { opacity: 1; transform: none; }
}


/* Day/night product imagery */
.panelco-dn { position: relative; display: block; }
.panelco-dn img { width: 100%; }
.panelco-dn .panelco-dn__on { position: absolute; inset: 0; margin: 0 !important; opacity: 0; transition: opacity .85s cubic-bezier(.33,0,.2,1); }
.woocommerce ul.products li.product a:hover .panelco-dn .panelco-dn__on, .panelco-dn.is-lit .panelco-dn__on { opacity: 1; }
.panelco-dn--sim img { transition: filter .85s cubic-bezier(.33,0,.2,1), transform .75s var(--ease); }
.woocommerce ul.products li.product a:hover .panelco-dn--sim img, .panelco-dn--sim.is-lit img { filter: brightness(1.16) saturate(1.28) sepia(.22) contrast(1.03); }

.panelco-dn-toggle { display: flex; align-items: center; gap: .7rem; margin-top: .9rem; padding: .55rem .2rem; background: none; border: 0; cursor: pointer; color: var(--ink); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.panelco-dn-toggle__track { position: relative; flex: 0 0 auto; width: 46px; height: 24px; border: 1px solid rgba(17,17,15,.35); border-radius: 24px; transition: background .45s var(--ease), border-color .45s var(--ease); }
.panelco-dn-toggle__knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); transition: transform .45s var(--ease), background .45s var(--ease); }
.panelco-dn-toggle[aria-pressed="true"] .panelco-dn-toggle__track { border-color: var(--gold); background: rgba(184,149,98,.14); }
.panelco-dn-toggle[aria-pressed="true"] .panelco-dn-toggle__knob { transform: translateX(22px); background: var(--gold); }

.single-product div.product div.images .woocommerce-product-gallery__image { position: relative; }
.panelco-dn-overlay { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; object-fit: contain; background: transparent; opacity: 0; pointer-events: none; transition: opacity .85s cubic-bezier(.33,0,.2,1); }
.panelco-dn-overlay.is-lit { opacity: 1; }
.single-product div.product div.images.panelco-dn-simulated--lit img { filter: brightness(1.16) saturate(1.28) sepia(.22) contrast(1.03); transition: filter .85s cubic-bezier(.33,0,.2,1); }
@media (prefers-reduced-motion: reduce) { .panelco-dn .panelco-dn__on, .panelco-dn-overlay, .panelco-dn--sim img { transition: none; } }


/* Rytm pionowy — domykanie nadmiarowych odstepow w blokach tekstowych */
.shop-hero__description p:last-child { margin-bottom: 0; }
.woocommerce .woocommerce-result-count { margin-top: 0; }
.panelco-empty-products { margin-block: clamp(2rem, 4vw, 4rem); }


/* ==========================================================================
   0.2.2 — karta produktu: rytm, ekspozycja ceny, przelacznik nad cena,
   tryb nocny sprzezony z zapaleniem panelu.
   ========================================================================== */

.single-product .shop-main { padding-top: calc(var(--header-h) + clamp(1.25rem, 2.5vw, 2.5rem)); }
.single-product div.product { gap: clamp(2rem, 4vw, 4.5rem); }

.summary .panelco-dn-toggle { margin: 0 0 1.25rem; padding: .5rem 1rem .5rem .5rem; border: 1px solid var(--line); border-radius: 999px; }
.summary .panelco-dn-toggle:hover { background: rgba(17, 17, 15, .04); }
.summary .panelco-dn-toggle[aria-pressed="true"] { border-color: var(--gold); background: rgba(184, 149, 98, .12); }

body { transition: background-color .9s var(--ease), color .9s var(--ease); }
body.panelco-night {
  --paper: #100f0d;
  --paper-2: #17150f;
  --white: #1b1915;
  --ink: #f3f0e8;
  --ink-soft: #e6e2d7;
  --line: rgba(243, 240, 232, .16);
  --stone: #8d8577;
}
body.panelco-night .site-header { color: var(--ink); background: rgba(16, 15, 13, .92); }
body.panelco-night .woocommerce-product-details__short-description,
body.panelco-night .panelco-product-eyebrow,
body.panelco-night .panelco-specs__empty,
body.panelco-night .woocommerce-breadcrumb,
body.panelco-night .panelco-config-intro p,
body.panelco-night .woocommerce div.product form.cart .reset_variations { color: #b5aea0; }
body.panelco-night .panelco-choice { background: rgba(243, 240, 232, .06); }
body.panelco-night .panelco-choice:hover:not(:disabled),
body.panelco-night .panelco-choice.is-selected { color: #100f0d; background: var(--ink); border-color: var(--ink); }
body.panelco-night.single-product div.product form.cart .single_add_to_cart_button { color: #100f0d; background: var(--gold); }
body.panelco-night.single-product div.product form.cart .single_add_to_cart_button:hover { background: #cda972; }
body.panelco-night .summary .panelco-dn-toggle:hover { background: rgba(243, 240, 232, .06); }
body.panelco-night.single-product div.product div.images .woocommerce-product-gallery__image { box-shadow: 0 50px 130px rgba(0, 0, 0, .6); }
body.panelco-night.single-product div.product div.images img { background: transparent; }
@media (prefers-reduced-motion: reduce) { body { transition: none; } }

/* Cena wariantu jest teraz podmieniana w gornym bloku, wiec duplikat pod
   formularzem jest zbedny. */
.single-product .woocommerce-variation-price { display: none; }
.single-product div.product .summary > p.price .price,
.single-product div.product .summary > p.price .amount { color: inherit; font: inherit; letter-spacing: inherit; }

/* Sticky musi siedziec na wrapperze, nie na samej galerii: Chrome nie ogranicza
   sticky grid-itemu do jego grid area, gdy item jest nizszy niz wiersz
   (align-self: start), przez co zdjecie wjezdzalo na zakladki i produkty powiazane.
   Galeria rozciaga sie teraz na cala wysokosc wiersza i to ona wyznacza zakres. */
@media (max-width: 760px) { .single-product .woocommerce-product-gallery__wrapper { position: static; } }
