/* ==========================================================================
   Aurea Medica – prototyp sklepu (wspólne style wszystkich podstron)
   Kolorystyka strony: złoty gradient, ciemny brąz, marmur, Cinzel + Open Sans
   ========================================================================== */
:root {
    --gold-1: #BCA04D;
    --gold-2: #9D7E39;
    --gold: #B28F3D;
    --gold-grad: linear-gradient(0deg, #9D7E39 0%, #BCA04D 100%);
    --gold-50: #FAF6EC;
    --gold-100: #F2E9D2;
    --dark: #262423;
    --dark-2: #33302D;
    --text: #53514B;
    --muted: #8C877C;
    --line: #ECE7DC;
    --bg: #F9F8F5;
    --white: #FFFFFF;
    --ok: #3E8E5E;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 18px 40px -22px rgba(38, 36, 35, .35);
    --shadow-sm: 0 2px 10px rgba(38, 36, 35, .06);
    --head: "Cinzel", Georgia, serif;
    --body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --marble: url(../../img/marmur3.webp);
    /* tła z fakturą marmuru – ten sam kamień, różny odcień nakładki */
    --bg-marble: linear-gradient(rgba(249,248,245,.9), rgba(249,248,245,.9)), var(--marble) center top / 1600px auto repeat;
    --white-marble: linear-gradient(rgba(255,255,255,.86), rgba(255,255,255,.86)), var(--marble) center / 1600px auto repeat;
    --warm-marble: linear-gradient(rgba(250,246,236,.9), rgba(250,246,236,.9)), var(--marble) center / 1600px auto repeat;
    --dark-marble: linear-gradient(rgba(38,36,35,.95), rgba(38,36,35,.95)), var(--marble) center / 1600px auto repeat;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --header-h: 140px; /* nadpisywane przez JS rzeczywistą wysokością nagłówka */
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; scroll-padding-top: calc(var(--header-h) + 20px); }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); background: var(--bg-marble); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--dark); font-weight: 600; margin: 0; line-height: 1.15; letter-spacing: .01em; }
p { margin: 0; }
.wrap { width: calc(100% - 48px); margin-inline: auto; }
/* szerokość układu: 1680 px od 1920 px, 1400 px od 1448 px, poniżej 100% (z marginesami) */
@media (min-width: 1448px) { .wrap { width: 1400px; } }
@media (min-width: 1920px) { .wrap { width: 1680px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: var(--white-marble); }
.section--warm { background: var(--warm-marble); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 42px); margin-top: 12px; }
.section-head p { max-width: 560px; margin-top: 12px; }
.section-head--stack { flex-direction: column; align-items: flex-start; gap: 18px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--dark); white-space: nowrap; border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: gap .3s var(--ease), color .2s; }
.link-more:hover { gap: 14px; color: var(--gold-2); }
svg.i { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.muted { color: var(--muted); }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 16px; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-grad); }
.prose h2, .prose h3 { margin: 30px 0 12px; font-size: 24px; }
.prose h3 { font-size: 20px; margin: 24px 0 10px; }
.prose h4 { font-family: var(--body); font-size: 17px; font-weight: 700; color: var(--dark); margin: 20px 0 8px; }
.prose h1 { font-size: 28px; margin: 32px 0 14px; }
/* formatowanie z edytora (Quill) */
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { padding-left: 2em; } .prose .ql-indent-2 { padding-left: 4em; } .prose .ql-indent-3 { padding-left: 6em; }
.prose li.ql-indent-1 { margin-left: 2em; } .prose li.ql-indent-2 { margin-left: 4em; }
.prose blockquote { margin: 24px 0; padding: 18px 24px; border-left: 3px solid var(--gold-1); background: var(--gold-50); border-radius: 0 14px 14px 0; font-style: italic; color: var(--dark); }
.prose s { color: var(--muted); }
/* numeracja ciągła w obrębie paragrafu: lista punktowana między punktami (podlista z edytora) nie zaczyna liczenia od nowa */
.prose { counter-reset: li; }
.prose h1, .prose h2, .prose h3, .prose h4 { counter-reset: li; }
.prose ol { padding-left: 0; list-style: none; margin: 0 0 16px; }
.prose ol > li { counter-increment: li; }
.prose ol + ul { margin-top: -8px; }
.prose ol > li::before { content: counter(li) "."; left: 0; top: 0; width: auto; height: auto; border-radius: 0; background: none; color: var(--gold-2); font-weight: 700; }
.prose a:not(.btn) { color: var(--gold-2); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--dark); }
.prose strong { color: var(--dark); }
.prose > :first-child { margin-top: 0; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 100px; border: 1px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .2s, border-color .2s; white-space: nowrap; }
.btn--gold { background: var(--gold-grad); color: var(--white); box-shadow: 0 14px 28px -14px rgba(157, 126, 57, .9); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(157, 126, 57, 1); }
.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: var(--gold-2); }
.btn--ghost { border-color: rgba(38, 36, 35, .18); color: var(--dark); background: rgba(255,255,255,.6); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--light { background: var(--white); color: var(--dark); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* --- pasek informacyjny ---------------------------------------------------- */
.topbar { background: linear-gradient(90deg, rgba(119,101,57,.97), rgba(129,110,63,.95) 50%, rgba(119,101,57,.97)), var(--marble) center / 1600px auto repeat; color: rgba(255,255,255,.92); font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__msg { display: flex; align-items: center; gap: 10px; }
.topbar__msg strong { color: var(--white); font-weight: 700; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar__links a { transition: color .2s; }
.topbar__links a:hover { color: var(--dark); }
.topbar svg.i { width: 15px; height: 15px; }
.topbar__icons { display: none; }
.topbar__icons a { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 600; }
.topbar__icons svg.i { width: 18px; height: 18px; }
.topbar__count { min-width: 17px; height: 17px; padding: 0 4px; border-radius: 17px; background: var(--white); color: #776539; font-size: 10px; font-weight: 700; display: grid; place-items: center; }

/* --- nagłówek -------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(38,36,35,.4); }
.header__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; min-height: 84px; }
.header__logo img { height: 50px; width: auto; }
.search { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.search input { width: 100%; height: 50px; padding: 0 58px 0 22px; border-radius: 100px; border: 1px solid var(--line); background: var(--bg); outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.search input:focus { border-color: var(--gold-1); background: var(--white); box-shadow: 0 0 0 4px var(--gold-50); }
.search > button { position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gold-grad); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.search__results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px; display: none; max-height: 440px; overflow: auto; z-index: 5; }
.search__results.is-open { display: block; }
.search__group { padding: 8px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.search__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 8px; border-radius: 10px; }
.search__item:hover { background: var(--gold-50); }
.search__item img { width: 56px; height: 42px; object-fit: contain; background: var(--white); border-radius: 8px; mix-blend-mode: multiply; }
.search__item strong { display: block; font-size: 14px; color: var(--dark); line-height: 1.3; }
.search__item span { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; }
.search__item em { font-style: normal; font-weight: 700; color: var(--dark); font-size: 14px; }
.search__empty { padding: 14px; color: var(--muted); font-size: 14px; }
.actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--dark); border: 0; background: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: var(--gold-50); color: var(--gold-2); }
.actions .icon-btn { border: 1px solid rgba(157,126,57,.16); background: var(--white); }
.actions .icon-btn:hover { border-color: rgba(157,126,57,.4); background: var(--gold-50); }
.text-md { font-size: 15px; }
.text-lg { font-size: 17px; }
/* podpis ikony (dymek pod przyciskiem) – tylko urządzenia z kursorem */
@media (hover: hover) {
    [data-tip]::before { content: attr(data-tip); position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -4px); padding: 6px 12px; border-radius: 8px; background: var(--dark); color: var(--white); font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; z-index: 5; }
    [data-tip]:hover::before, [data-tip]:focus-visible::before { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.icon-btn .count { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 20px; background: var(--gold-grad); color: var(--white); font-size: 11px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.icon-btn .count.is-on { transform: scale(1); }
.icon-btn .count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn { display: none; }

.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav > .wrap > ul > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 16px 14px; font-size: 14px; font-weight: 600; color: var(--dark); letter-spacing: .02em; position: relative; }
.nav > .wrap > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav > .wrap > ul > li:hover > a::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--gold-2); }
.nav .nav__right { margin-left: auto; }
.nav .nav__right a { color: var(--gold-2); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(38,36,35,.35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease); }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega .wrap { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; padding: 28px 0 32px; }
.mega__cat { display: block; border-radius: var(--radius-sm); padding: 14px; transition: background .2s; }
.mega__cat:hover { background: var(--gold-50); }
.mega__cat img { width: 100%; aspect-ratio: 3/2; object-fit: contain; border-radius: 10px; margin-bottom: 12px; mix-blend-mode: multiply; }
.mega__cat strong { display: block; font-family: var(--head); color: var(--dark); font-size: 16px; }
.mega__cat span { font-size: 13px; color: var(--muted); }
.mega__cat--photo img { object-fit: cover; mix-blend-mode: normal; }
.mega__promo { border-radius: var(--radius-sm); padding: 24px; color: var(--white); background: linear-gradient(160deg, rgba(38,36,35,.85), rgba(157,126,57,.8)), var(--promo-img, url(../../img/paralax.webp)) center/cover; display: flex; flex-direction: column; justify-content: end; gap: 10px; }
.mega__promo h4 { color: var(--white); font-size: 20px; }
.mega__promo p { font-size: 14px; color: rgba(255,255,255,.8); }

/* --- nagłówek podstrony ---------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 60px; background: linear-gradient(90deg, rgba(249,248,245,.97) 0%, rgba(249,248,245,.9) 50%, rgba(249,248,245,.55) 100%), url(../../img/marmur3.webp) center/cover; border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(34px, 4.2vw, 56px); margin: 14px 0 16px; }
.page-hero p { font-size: 18px; max-width: 640px; }
.page-hero__img { aspect-ratio: 16/11; border-radius: 28px 28px 28px 110px; overflow: hidden; box-shadow: var(--shadow); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: var(--muted); }
.crumbs > * + * { margin-left: 8px; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span[aria-current] { color: var(--dark); font-weight: 600; }

/* --- zalety ---------------------------------------------------------------- */
.usp { background: var(--white-marble); border-block: 1px solid var(--line); }
.usp .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp__item { display: flex; gap: 16px; align-items: center; padding: 26px 24px; }
.usp__item + .usp__item { border-left: 1px solid var(--line); }
.usp__icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-2); flex-shrink: 0; }
.usp__icon svg.i { width: 24px; height: 24px; }
.usp__item strong { display: block; color: var(--dark); font-size: 15px; line-height: 1.3; }
.usp__item span { font-size: 13px; color: var(--muted); }

/* --- karty produktów ------------------------------------------------------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.products--3 { grid-template-columns: repeat(3, 1fr); }
.product { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.products.is-anim .product { animation: fadeUp .5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.product__media { position: relative; aspect-ratio: 1/1; background: var(--white); overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .6s var(--ease); mix-blend-mode: multiply; }
.product:hover .product__media img { transform: scale(1.06); }
.product__label { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 100px; background: var(--gold-50); color: var(--gold-2); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product__label--new { background: var(--gold-grad); color: var(--white); }
.product__fav { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; cursor: pointer; color: var(--dark); box-shadow: var(--shadow-sm); transition: color .2s, transform .2s; z-index: 2; }
.product__fav:hover { color: var(--gold-2); transform: scale(1.08); }
.product__fav.is-on { color: var(--gold-2); }
.product__fav.is-on svg.i { fill: var(--gold-1); stroke: var(--gold-2); }
.product__quick { position: absolute; left: 14px; right: 14px; bottom: 14px; transform: translateY(calc(100% + 24px)); transition: transform .4s var(--ease); }
.product:hover .product__quick { transform: none; }
.product__quick .btn { width: 100%; min-height: 44px; font-size: 14px; }
.product__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; border-top: 1px solid var(--line); }
.product__body h3 { font-family: var(--body); font-size: 16px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.product__body h3 a:hover { color: var(--gold-2); }
.product__body p { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--head); font-size: 22px; font-weight: 700; color: var(--dark); line-height: 1; }
.price small { font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--muted); }
.price--ask { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--gold-2); line-height: 1.3; }
.add { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--dark); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .3s, transform .3s var(--ease); flex-shrink: 0; }
.add:hover { background: var(--gold-2); transform: rotate(90deg); }
.add.is-added { background: var(--gold-grad); transform: none; }

/* złoty baner „zobacz wszystkie” w wolnych miejscach ostatniego rzędu siatki (JS: data-fill) */
.grid-cta { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; min-width: 0; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, #BCA04D 0%, #9D7E39 60%, #6E5725 100%); color: rgba(255,255,255,.88); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.grid-cta::before { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(rgba(255,255,255,.28), transparent 70%); }
.grid-cta:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.grid-cta .eyebrow { color: var(--white); }
.grid-cta strong { font-family: var(--head); font-size: 26px; font-weight: 600; line-height: 1.15; color: var(--white); overflow-wrap: anywhere; }
.grid-cta.is-wide strong { font-size: clamp(28px, 2.6vw, 38px); }
.grid-cta__text { font-size: 14px; max-width: 420px; }
.grid-cta .btn { margin-top: 8px; }
.grid-cta .btn svg.i { transition: transform .3s var(--ease); }
.grid-cta:hover .btn svg.i { transform: translateX(4px); }
.grid-cta--tile { padding: 22px 18px; }
.grid-cta--tile strong { font-size: 20px; }
.products.is-anim .grid-cta { animation: fadeUp .5s var(--ease) both; }
@media (max-width: 600px) {
    .grid-cta { padding: 20px 16px; }
    .grid-cta strong, .grid-cta--tile strong { font-size: 18px; }
    .grid-cta__text { font-size: 13px; }
}

.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab { padding: 10px 20px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 600; color: var(--dark); cursor: pointer; transition: all .25s; }
.tab:hover { border-color: var(--gold-1); }
.tab.is-active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.tab small { color: var(--gold-1); margin-left: 4px; }

/* --- katalog --------------------------------------------------------------- */
#shopGrid { transition: opacity .25s; }
.shop.is-loading #shopGrid { opacity: .35; pointer-events: none; }
.toolbar__clear { font-size: 13px; color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.search-posts { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.search-posts h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 24px; }
.search-posts .posts-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .search-posts .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .search-posts .posts-grid { grid-template-columns: 1fr; } }
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.filters h3 { font-size: 16px; margin-bottom: 14px; }
.filters ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 2px; }
.filters li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--dark); transition: background .2s; }
.filters li a:hover { background: var(--gold-50); }
.filters li a.is-active { background: var(--dark); color: var(--white); }
.filters li a small { color: var(--gold); font-weight: 700; }
.filters li a.is-active small { color: var(--gold-1); }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 2px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold-2); }
.filters__help { margin-top: 20px; padding: 18px; border-radius: var(--radius-sm); background: var(--gold-50); font-size: 14px; }
.filters__help strong { display: block; color: var(--dark); margin-bottom: 4px; }
.shop-bar { display: none; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.shop-bar .select { flex: 1 1 220px; max-width: 340px; }
.shop-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-filter { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border-radius: 100px; border: 1px solid rgba(157,126,57,.3); background: var(--white); font-size: 14px; font-weight: 600; color: var(--dark); cursor: pointer; user-select: none; transition: background .2s, color .2s, border-color .2s; }
.pill-filter input { position: absolute; opacity: 0; pointer-events: none; }
.pill-filter svg.i { width: 16px; height: 16px; color: var(--gold); }
.pill-filter:hover { border-color: var(--gold); }
.pill-filter:has(input:checked) { background: var(--gold-grad); border-color: transparent; color: var(--white); box-shadow: 0 10px 20px -12px rgba(157,126,57,.9); }
.pill-filter:has(input:checked) svg.i { color: var(--white); }
.pill-filter:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.pill-filter span { white-space: nowrap; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.toolbar__count { color: var(--muted); }
.toolbar__count strong { color: var(--dark); }
.select { height: 46px; padding: 0 40px 0 18px; border-radius: 100px; border: 1px solid var(--line); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23262423' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; appearance: none; cursor: pointer; font-weight: 600; font-size: 14px; }
.chips { display: none; gap: 8px; overflow-x: auto; margin-bottom: 18px; scrollbar-width: none; }
.empty { text-align: center; padding: 60px 20px; background: var(--white); border-radius: var(--radius); }

/* --- karta produktu -------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 1200px) { .pdp { grid-template-columns: 2fr 3fr; gap: 40px; } } /* galeria 40% : opis 60% */
.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery__main { aspect-ratio: 1/1; background: var(--white); border-radius: 24px; box-shadow: var(--shadow-sm); display: grid; place-items: center; overflow: hidden; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 40px; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.gallery__main { position: relative; }
.gallery__main.is-zoom { cursor: zoom-out; touch-action: none; }
.gallery__main.is-zoom img { transform: scale(2.2); transition: transform .35s var(--ease); }
.gallery__expand { position: absolute; z-index: 2; top: 16px; right: 16px; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--dark); box-shadow: var(--shadow-sm); cursor: pointer; backdrop-filter: blur(4px); transition: background .2s, color .2s, transform .2s; }
.gallery__expand:hover { background: var(--gold-grad); color: var(--white); border-color: transparent; transform: scale(1.06); }
.gallery__expand svg.i { width: 20px; height: 20px; }
.gallery__hint { position: absolute; z-index: 2; left: 50%; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(38, 36, 35, .72); color: var(--white); font-size: 12px; font-weight: 600; transform: translateX(-50%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.gallery__hint svg.i { width: 14px; height: 14px; }
.gallery__main:hover .gallery__hint { opacity: 1; }
.gallery__main.is-zoom .gallery__hint, .gallery__main.is-zoom .gallery__expand { opacity: 0; pointer-events: none; }
@media (hover: none) { .gallery__hint { display: none; } }

/* galeria na pełnym ekranie */
.lb { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: radial-gradient(900px 600px at 50% 40%, rgba(178, 143, 61, .18), transparent 70%), rgba(28, 26, 25, .96); color: var(--white); }
.lb[open] { display: grid; grid-template-columns: 80px 1fr 80px; grid-template-rows: auto 1fr auto; animation: lb-in .3s var(--ease); }
.lb::backdrop { background: transparent; }
.lb-open { overflow: hidden; }
@keyframes lb-in { from { opacity: 0; } }
.lb__top { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 16px 20px 0 28px; }
.lb__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--head); font-size: 18px; color: rgba(255, 255, 255, .9); }
.lb__count { font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--gold-1); }
.lb__close, .lb__nav { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.lb__close:hover, .lb__nav:hover { background: var(--gold-grad); border-color: transparent; transform: scale(1.06); }
.lb__close svg.i, .lb__nav svg.i { width: 22px; height: 22px; }
.lb__nav { align-self: center; justify-self: center; }
.lb__nav--prev { grid-column: 1; grid-row: 2; }
.lb__nav--next { grid-column: 3; grid-row: 2; }
.lb__stage { grid-column: 2; grid-row: 2; display: grid; place-items: center; min-height: 0; margin: 0; padding: 20px 0; }
.lb__img { max-width: 100%; max-height: calc(100dvh - 220px); padding: 28px; border-radius: 22px; background: var(--white); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); object-fit: contain; opacity: 0; transform: scale(.97); transition: opacity .3s, transform .4s var(--ease); }
.lb__img.is-in { opacity: 1; transform: none; }
.lb__thumbs { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; padding: 0 20px 22px; overflow-x: auto; }
.lb__thumbs button { flex: none; width: 70px; height: 70px; padding: 5px; border: 2px solid transparent; border-radius: 12px; background: var(--white); opacity: .55; cursor: pointer; transition: opacity .2s, border-color .2s; }
.lb__thumbs button:hover { opacity: .85; }
.lb__thumbs button.is-on { opacity: 1; border-color: var(--gold-1); }
.lb__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.lb--single .lb__nav, .lb--single .lb__thumbs { visibility: hidden; }
@media (max-width: 760px) {
    .lb[open] { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto auto; }
    .lb__stage { grid-column: 1 / -1; padding: 10px 12px; }
    .lb__nav { grid-row: 3; }
    .lb__nav--prev { grid-column: 1; } .lb__nav--next { grid-column: 2; }
    .lb__img { max-height: calc(100dvh - 260px); padding: 14px; }
    .lb__thumbs { grid-row: 4; padding-top: 12px; }
    .lb__title { font-size: 15px; }
    .gallery__expand { top: 10px; right: 10px; width: 42px; height: 42px; }
}
.gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery__thumbs button { width: 84px; height: 84px; border-radius: 14px; border: 2px solid transparent; background: var(--white); padding: 6px; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery__thumbs button.is-on { border-color: var(--gold-1); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp__info h1 { font-size: clamp(28px, 3vw, 40px); margin: 12px 0 16px; }
.pdp__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 100px; background: var(--gold-50); color: var(--gold-2); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pill--gold { background: var(--gold-grad); color: var(--white); }
.pdp__desc { margin-bottom: 26px; }
.buybox { padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); display: grid; gap: 18px; }
.buybox__price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.buybox__price .price { font-size: 34px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ok); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(62,142,94,.15); }
.buybox__row { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 20px; color: var(--dark); }
.qty input { width: 40px; text-align: center; border: 0; outline: none; font-weight: 700; background: none; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg.i { color: var(--gold); width: 18px; height: 18px; }
.acc { margin-top: 28px; }
.acc details:first-child { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; font-family: var(--head); font-size: 18px; font-weight: 600; color: var(--dark); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--body); font-size: 24px; font-weight: 300; color: var(--gold-2); transition: transform .3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .prose { padding: 0 4px 22px; }

/* --- treści podstron ------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split__img { position: relative; }
.split__img img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.split__img--round img { border-radius: 140px 28px 28px 28px; }
.split h2 { font-size: clamp(28px, 3vw, 40px); margin: 14px 0 20px; }
.stamp { position: absolute; right: -20px; bottom: -24px; width: 150px; height: 150px; border-radius: 50%; background: var(--gold-grad); color: var(--white); display: grid; place-items: center; text-align: center; font-family: var(--head); font-size: 15px; line-height: 1.2; box-shadow: var(--shadow); padding: 18px; }
.stamp strong { display: block; font-size: 28px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--dark); font-size: 15px; }
.checks svg.i { color: var(--gold); margin-top: 2px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 19px; }
.card__body .link-more { margin-top: auto; align-self: flex-start; }
.num { font-family: var(--head); font-size: 34px; color: var(--gold); line-height: 1; }
.icon-card { padding: 28px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: grid; gap: 12px; align-content: start; }
.icon-card .usp__icon { width: 56px; height: 56px; }
.icon-card h3 { font-size: 18px; font-family: var(--body); font-weight: 700; }
.band { position: relative; color: rgba(255,255,255,.8); background: linear-gradient(105deg, rgba(38,36,35,.94) 0%, rgba(38,36,35,.82) 45%, rgba(94,74,31,.6) 100%), url(../../img/paralax.webp) center/cover; }
.band h2 { color: var(--white); }
.band .section-head p { color: rgba(255,255,255,.75); }
.chipset { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 12px 20px; border-radius: 100px; border: 1px solid rgba(188,160,77,.5); background: rgba(255,255,255,.06); color: var(--white); font-weight: 600; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.flow__step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .3s, transform .4s var(--ease), border-color .3s; color: rgba(255,255,255,.75); }
.flow__step:hover { background: rgba(188,160,77,.18); border-color: rgba(188,160,77,.6); transform: translateY(-6px); }
.flow__step::before { counter-increment: step; content: "0" counter(step); font-family: var(--head); font-size: 38px; color: var(--gold-1); display: block; line-height: 1; margin-bottom: 18px; }
.flow__step small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.flow__step strong { display: block; font-family: var(--head); font-size: 20px; font-weight: 600; color: var(--white); margin: 4px 0 12px; }
.flow__step span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gold-1); font-weight: 600; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.person__img { aspect-ratio: 4/5; background: linear-gradient(160deg, var(--gold-100), var(--gold-50)); display: grid; place-items: center; overflow: hidden; }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person__img span { font-family: var(--head); font-size: 56px; color: var(--gold-2); }
.person__body { padding: 22px; display: grid; gap: 8px; }
.person__body small { color: var(--gold); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.person__body h3 { font-size: 20px; }
.person__body p { font-size: 14px; }
.person__contact { display: grid; gap: 4px; font-size: 14px; font-weight: 600; color: var(--dark); margin-top: 6px; }
.person__contact a { display: inline-flex; gap: 8px; align-items: center; }
.person__contact a:hover { color: var(--gold-2); }
.person__contact svg.i { width: 16px; height: 16px; color: var(--gold); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.stepcard { position: relative; padding: 30px 26px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stepcard::before { counter-increment: s; content: counter(s); width: 46px; height: 46px; border-radius: 50%; background: var(--gold-grad); color: var(--white); display: grid; place-items: center; font-family: var(--head); font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.stepcard h3 { font-size: 20px; margin-bottom: 8px; }
.copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--gold-50); font-family: ui-monospace, monospace; font-size: 15px; color: var(--dark); }
.copy button { border: 0; background: var(--dark); color: var(--white); border-radius: 100px; padding: 8px 14px; font-family: var(--body); font-size: 13px; font-weight: 700; cursor: pointer; }

/* formularz */
.form-card { background: var(--white); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { height: 130px; padding: 14px 18px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-1); background: var(--white); box-shadow: 0 0 0 4px var(--gold-50); }
/* walidacja formularzy (JS) */
.field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid { border-color: #C0473B; background: #FDF6F5; }
.field input.is-invalid:focus, .field textarea.is-invalid:focus, .field select.is-invalid:focus { box-shadow: 0 0 0 4px rgba(192,71,59,.14); }
.field input.is-valid, .field textarea.is-valid { border-color: rgba(46,107,71,.45); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E6B47' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field textarea.is-valid { background-position: right 16px top 16px; }
.field__error { display: flex; align-items: flex-start; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; color: #B23A2F; line-height: 1.35; animation: errIn .25s var(--ease); }
.field__error svg.i { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; stroke-width: 2.4; }
.consent + .field__error, .b2b-toggle + .field__error, .pay-methods + .field__error { margin-top: -4px; }
.consent:has(input.is-invalid) { color: #B23A2F; }
.consent input.is-invalid { outline: 2px solid rgba(192,71,59,.5); outline-offset: 2px; }
.pay-methods label.is-invalid .pay-method { border-color: #C0473B; }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } }
.form.is-shake, form.is-shake { animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.consent { display: flex; gap: 10px; font-size: 13px; color: var(--muted); }
.consent input { width: 18px; height: 18px; accent-color: var(--gold-2); flex-shrink: 0; margin-top: 2px; }
.consent a { color: var(--gold-2); text-decoration: underline; }
.contact-cards { display: grid; gap: 16px; }
.ccard { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ccard h3 { font-family: var(--body); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.ccard a:hover { color: var(--gold-2); }
/* e-mail i telefon w jednej linii – za długie ucinane wielokropkiem (pełny adres w title) */
.ccard > div, .footer__contact li, .footer__contact a { min-width: 0; }
.ccard a, .footer__contact a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-menu__contact a, .person__contact a { max-width: 100%; min-width: 0; }
.side-menu__contact a span, .person__contact a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-menu__contact svg.i, .person__contact svg.i { flex-shrink: 0; }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.4) sepia(.15); }

/* blog */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard__img { aspect-ratio: 16/10; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard time, .meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.pcard h3 { font-family: var(--body); font-size: 18px; font-weight: 700; line-height: 1.35; }
.pcard p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .link-more { margin-top: auto; align-self: flex-start; font-size: 14px; }
.featured-post { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--dark); color: rgba(255,255,255,.8); border-radius: 24px; overflow: hidden; margin-bottom: 40px; }
.featured-post img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.featured-post__body { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured-post h2 { color: var(--white); font-size: clamp(24px, 2.6vw, 34px); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article__cover { border-radius: 24px; overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow); }
.article__cover img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.article .prose { font-size: 17px; }
.article .prose > p:first-child { font-size: 19px; color: var(--dark); }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside__box { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.aside__box h3 { font-size: 16px; margin-bottom: 14px; }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.toc a:hover { color: var(--gold-2); }
.share { display: flex; gap: 8px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--gold-1); color: var(--gold-2); }

/* --- stopka ---------------------------------------------------------------- */
.cta-strip { border-radius: 28px; padding: 56px 64px; background: linear-gradient(120deg, #2B2826 0%, #3A332A 55%, #5E4A1F 100%); color: rgba(255,255,255,.8); display: grid; grid-template-columns: 1.2fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-strip::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(188,160,77,.35); box-shadow: 0 0 0 40px rgba(188,160,77,.06), 0 0 0 80px rgba(188,160,77,.04); }
.cta-strip h2 { color: var(--white); font-size: clamp(26px, 2.8vw, 36px); margin: 12px 0 10px; }
.cta-strip > * { position: relative; z-index: 1; }
.footer { margin-top: 96px; background: var(--dark-marble); color: rgba(255,255,255,.65); font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 104px 0 80px; }
.footer img { height: 50px; width: auto; margin-bottom: 22px; } /* jak logo w nagłówku (też w @media niżej) */
.footer h4 { color: var(--white); font-size: 20px; margin-bottom: 22px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold-1); }
.footer__contact li { display: flex; gap: 10px; }
.footer__contact svg.i { color: var(--gold-1); width: 18px; height: 18px; margin-top: 2px; }
.hours li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255,255,255,.1); padding-bottom: 8px; }
.hours li > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.hours svg.i { width: 16px; height: 16px; color: var(--gold-1); }
.footer__links a { display: inline-flex; align-items: center; gap: 9px; transition: color .2s, transform .3s var(--ease); }
.footer__links svg.i { width: 14px; height: 14px; color: var(--gold-1); opacity: .75; transition: opacity .2s, transform .3s var(--ease); }
.footer__links a:hover svg.i { opacity: 1; transform: translateX(3px); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; transition: all .25s; }
.social a:hover { background: var(--gold-grad); border-color: transparent; color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 28px 0; font-size: 13px; }

/* --- koszyk (panel boczny) ------------------------------------------------- */
.drawer-shade { position: fixed; inset: 0; background: rgba(38,36,35,.45); backdrop-filter: blur(2px); z-index: 90; opacity: 0; visibility: hidden; transition: all .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--white); z-index: 91; transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
body.cart-open .drawer { transform: none; }
body.cart-open .drawer-shade, body.menu-open .drawer-shade { opacity: 1; visibility: visible; }

/* --- menu mobilne (panel od lewej) ------------------------------------------ */
.side-menu { position: fixed; top: 0; left: 0; bottom: 0; width: min(380px, 88%); background: var(--white); z-index: 91; transform: translateX(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; display: flex; flex-direction: column; }
body.menu-open .side-menu { transform: none; visibility: visible; box-shadow: 30px 0 60px -30px rgba(38,36,35,.4); }
.side-menu .drawer__head { padding: 14px 16px 14px 24px; }
.side-menu__logo img { height: 38px; width: auto; }
.side-menu__body { flex: 1; overflow: auto; padding: 8px 12px; }
.side-menu__body ul { list-style: none; margin: 0; padding: 0; }
.side-menu__body li > a, .side-menu__body summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 12px; border-radius: 12px; font-family: var(--head); font-size: 17px; font-weight: 600; color: var(--dark); cursor: pointer; list-style: none; }
.side-menu__body summary::-webkit-details-marker { display: none; }
.side-menu__body .is-active { color: var(--gold-2); }
.side-menu__body summary svg.i { transition: transform .3s var(--ease); }
.side-menu__body details[open] summary svg.i { transform: rotate(180deg); }
.side-menu__body li + li { border-top: 1px solid var(--line); }
.side-menu__sub { display: grid; gap: 2px; padding: 0 0 12px 8px; }
.side-menu__sub a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 6px 10px; border-radius: 10px; font-size: 14px; color: var(--text); }
.side-menu__sub a:first-child { grid-template-columns: 1fr; padding: 8px 10px; }
.side-menu__sub strong { color: var(--gold-2); font-weight: 700; }
.side-menu__sub img { width: 44px; height: 34px; object-fit: contain; border-radius: 6px; mix-blend-mode: multiply; }
.side-menu__sub img.is-photo { object-fit: cover; mix-blend-mode: normal; }
.side-menu__sub small { color: var(--muted); font-size: 12px; }
.side-menu__foot { padding: 16px 24px 24px; border-top: 1px solid var(--line); background: var(--bg); display: grid; gap: 14px; }
.side-menu__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.side-menu__quick a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 100px; border: 1px solid rgba(157,126,57,.35); background: var(--white); font-size: 14px; font-weight: 600; color: var(--dark); }
.side-menu__contact { display: grid; gap: 6px; font-size: 14px; }
.side-menu__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.side-menu__contact svg.i { width: 16px; height: 16px; color: var(--gold); }
@media (min-width: 1201px) { .side-menu { display: none; } }
/* telefon poziomo / tablet: przewija się cały panel (na telefonie pionowo tylko lista, kontakt przypięty na dole) */
@media (min-width: 601px), (max-height: 520px) {
    .side-menu { overflow-y: auto; overscroll-behavior: contain; }
    .side-menu__body { flex: none; overflow: visible; }
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 20px; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--bg); }
.free-ship { font-size: 13px; }
.free-ship b { color: var(--dark); }
.bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--gold-grad); border-radius: 6px; transition: width .5s var(--ease); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 72px; object-fit: contain; background: var(--white); border-radius: 12px; border: 1px solid var(--line); mix-blend-mode: multiply; }
.line strong { font-size: 14px; color: var(--dark); line-height: 1.35; display: block; }
.line .qty { height: 36px; margin-top: 8px; width: max-content; }
.line .qty button { width: 32px; font-size: 16px; }
.line .qty input { width: 28px; font-size: 14px; }
.line__price { text-align: right; font-weight: 700; color: var(--dark); font-size: 15px; }
.line__rm { border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; margin-top: 6px; }
.sum { display: flex; justify-content: space-between; font-size: 15px; }
.sum--total { font-size: 18px; font-weight: 700; color: var(--dark); }
.drawer__empty { text-align: center; padding: 60px 10px; color: var(--muted); }

/* --- powiadomienie --------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; visibility: hidden; transform: translate(-50%, calc(100% + 60px)); display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; background: var(--dark); color: var(--white); border-radius: 16px; box-shadow: var(--shadow); transition: transform .45s var(--ease), visibility .45s; max-width: calc(100% - 32px); }
.toast.is-on { visibility: visible; transform: translate(-50%, 0); }
.toast img { width: 54px; height: 42px; object-fit: contain; background: var(--white); border-radius: 8px; }
.toast small { display: block; color: var(--gold-1); font-size: 12px; }
.toast strong { font-size: 14px; }
.toast .btn { margin-left: 8px; }

/* górna belka zawsze w jednej linii: dopisek o wysyłce tylko gdy jest miejsce */
.topbar__msg strong { white-space: nowrap; }
@media (max-width: 1280px) { .topbar__msg span { display: none; } }
@media (max-width: 480px) { .topbar__icons span { display: none; } }

/* --- responsywność --------------------------------------------------------- */
/* nagłówek w wersji mobilnej (menu boczne) już od 1200 px */
@media (max-width: 1200px) {
    .topbar__links { display: none; }
    .header__row { grid-template-columns: auto 1fr auto; gap: 20px; min-height: 0; padding: 14px 0; }
    .header__logo { grid-column: 1; grid-row: 1; }
    .header__logo img { height: 42px; }
    .actions { grid-column: 3; grid-row: 1; justify-self: end; margin-right: -8px; }
    .search { grid-column: 2; grid-row: 1; max-width: none; }
    .menu-btn { display: grid; }
    .nav { display: none; }
    .actions .hide-md { display: none; }
    .topbar__icons { display: flex; gap: 18px; margin-left: auto; }
    .actions .menu-btn svg.i { width: 27px; height: 27px; stroke-width: 1.8; }
}
@media (max-width: 1180px) {
    .products { grid-template-columns: repeat(3, 1fr); }
    .flow, .cards--5 { grid-template-columns: repeat(3, 1fr); }
    .team { grid-template-columns: repeat(2, 1fr); }
    .mega .wrap { grid-template-columns: repeat(3, 1fr); }
    .mega__promo { display: none; }
    .shop { grid-template-columns: 230px 1fr; gap: 28px; }
    .products--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .footer img { height: 42px; }
    .page-hero__grid, .article, .featured-post { grid-template-columns: 1fr; }
    /* sekcje tekst + zdjęcie/formularz: 40% : 60% jak na karcie produktu, jedna kolumna od 600 px */
    .split { grid-template-columns: 2fr 3fr; }
    .split--rev { grid-template-columns: 3fr 2fr; }
    .pdp { grid-template-columns: 2fr 3fr; gap: 28px; }
    /* węższa kolumna opisu: ilość nad przyciskiem, zakładki jedna pod drugą */
    .buybox { padding: 20px; }
    .buybox > * { min-width: 0; }
    .buybox__row { grid-template-columns: 1fr; }
    .buybox__row .qty { justify-content: space-between; }
    .buybox .btn { white-space: normal; text-align: center; }
    .split { gap: 32px; }
    /* okrągły stempel na zdjęciu – mniejszy i w obrysie strony */
    .stamp { right: 12px; bottom: -18px; width: 116px; height: 116px; padding: 12px; }
    .page-hero__img { display: none; }
    .aside { position: static; }
    .usp .wrap { grid-template-columns: 1fr 1fr; }
    .usp__item:nth-child(3) { border-left: 0; }
    .usp__item { border-top: 1px solid var(--line); }
    .products, .products--3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .shop { grid-template-columns: 1fr; }
    .filters { display: none; }
    .shop-bar { display: flex; }
    .cards, .cards--4, .steps, .posts-grid { grid-template-columns: 1fr 1fr; }
    .flow, .cards--5 { grid-template-columns: 1fr 1fr; }
    .footer__top { grid-template-columns: 1fr 1fr; padding: 72px 0 56px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .cta-strip { grid-template-columns: 1fr; padding: 40px 32px; }
}
@media (max-width: 600px) {
    .wrap { width: calc(100% - 32px); }
    .topbar__msg span { display: none; }
    .topbar__icons { gap: 14px; }
    .usp__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 8px; }
    .usp__item:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; }
    .products, .products--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cards, .cards--4, .cards--5, .steps, .posts-grid, .team { grid-template-columns: 1fr; }
    .split, .split--rev { grid-template-columns: 1fr; }
    .split--rev > :first-child { order: 0; }
    .stamp { width: 100px; height: 100px; bottom: -14px; }
    .checks, .form__row { grid-template-columns: 1fr; }
    .form-card { padding: 26px 20px; }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
    .footer__top > :first-child, .footer__top > :last-child { grid-column: 1 / -1; }
    .footer__bottom .wrap { flex-direction: column; }
    /* telefon: wyszukiwarka wraca pod logo */
    .header__row { grid-template-columns: 1fr auto; gap: 12px; }
    .actions { grid-column: 2; }
    .search { grid-column: 1 / -1; grid-row: 2; }
    .actions { gap: 4px; margin-right: 0; }
    .actions .icon-btn { width: 40px; height: 40px; }
    .actions svg.i { width: 19px; height: 19px; }
    .icon-btn .count { top: -4px; right: -4px; min-width: 18px; height: 18px; font-size: 10px; }
    .icon-btn.is-logged::after { right: 4px; bottom: 4px; }
    .header__logo img, .footer img { height: 36px; }
    .actions .menu-btn svg.i { width: 26px; height: 26px; }
    .tabs { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 16px); padding-bottom: 6px; scrollbar-width: none; }
    .tab { flex-shrink: 0; }
    .featured-post__body { padding: 28px 22px; }
    .gallery__main img { padding: 20px; }
    .pdp { grid-template-columns: 1fr; }
    .gallery { position: static; }
    .cta-strip { padding: 32px 22px; border-radius: 22px; }
}
/* siatki produktów: 3 kolumny do 600 px, 2 do 360 px, niżej jedna – od 780 px kompaktowe karty */
@media (max-width: 780px) {
    .product__body { padding: 14px; }
    .product__body h3 { font-size: 14px; }
    .product__body p, .product__quick { display: none; }
    .add { width: 38px; height: 38px; }
}
@media (max-width: 360px) {
    .products, .products--3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .pcard-float--1 { display: none; } }
/* System NICER: karty filarów w dwóch kolumnach aż do 410 px */
@media (max-width: 410px) { .flow { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* kolumny siatek mogą się zwężać (długie słowa, formularze) – bez poziomego przewijania na telefonie */
.pdp > *, .split > *, .article > *, .shop > *, .checkout > *, .page-hero__grid > *, .featured-post > * { min-width: 0; }
.prose { overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .buybox__row .btn { min-width: 0; padding: 0 16px; }
    .pdp__info h1 { overflow-wrap: anywhere; }
}
.steps > *, .cards > *, .team > *, .posts-grid > *, .products > * { min-width: 0; }
.copy span { overflow-wrap: anywhere; }

/* na szerokich ekranach więcej kolumn */
@media (min-width: 1920px) {
    .products { grid-template-columns: repeat(5, 1fr); }
    .products--3 { grid-template-columns: repeat(4, 1fr); }
    .posts-grid { grid-template-columns: repeat(4, 1fr); }
}
/* cena przykładowa (prototyp) */
.price sup, .demo-star { font-family: var(--body); font-size: 12px; color: var(--gold); font-weight: 700; margin-left: 2px; }
.demo-note { font-size: 12px; color: rgba(255,255,255,.45); }

/* --- wyszukiwarka z podpowiedziami ----------------------------------------- */
.search__results { left: 50%; right: auto; transform: translateX(-50%); width: min(860px, calc(100vw - 32px)); padding: 0; max-height: min(620px, calc(100vh - 160px)); border: 1px solid var(--line); }
.sr { display: grid; grid-template-columns: 1fr 260px; }
.sr__main { padding: 10px; min-width: 0; }
.sr__side { padding: 10px 14px; background: var(--bg); border-left: 1px solid var(--line); }
.sr:has(.sr__side:empty) { grid-template-columns: 1fr; }
.sr > .sr__main:only-child { grid-column: 1 / -1; }
.search__group { display: flex; justify-content: space-between; }
.search__group span { color: var(--gold); }
.search__item { grid-template-columns: 64px 1fr auto auto; cursor: pointer; }
.search__item img { width: 64px; height: 52px; }
.search__item a { min-width: 0; }
.search__item strong { font-weight: 600; }
.search__item em { white-space: nowrap; font-family: var(--head); font-size: 16px; }
.search__item .add { width: 36px; height: 36px; }
.search__item.is-sel, .search__item:hover { background: var(--gold-50); }
.search mark { background: none; color: var(--gold-2); font-weight: 800; }
.sr__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 8px 12px; }
.sr__chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); font-size: 13px; font-weight: 600; color: var(--dark); cursor: pointer; transition: border-color .2s, color .2s; }
.sr__chip:hover { border-color: var(--gold-1); color: var(--gold-2); }
.sr__chip svg.i { width: 14px; height: 14px; color: var(--muted); }
.sr__all { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 6px; padding: 12px; border-radius: 10px; background: var(--dark); color: var(--white); font-weight: 700; font-size: 14px; }
.sr__all:hover { background: var(--gold-2); }
.sr__cat { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 7px 6px; border-radius: 10px; font-weight: 600; color: var(--dark); font-size: 14px; }
.sr__cat:hover { background: var(--white); }
.sr__cat img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--white); mix-blend-mode: multiply; }
.sr__cat small { color: var(--gold); font-weight: 700; }
.sr__post { display: block; padding: 8px 6px; border-radius: 10px; font-size: 13px; line-height: 1.4; color: var(--dark); }
.sr__post:hover { background: var(--white); }
.search__empty .sr__chip { margin: 4px 2px; }
@media (max-width: 760px) {
    .sr { grid-template-columns: 1fr; }
    .sr__side { border-left: 0; border-top: 1px solid var(--line); }
    .search__item { grid-template-columns: 52px 1fr auto; }
    .search__item .add { display: none; }
}

/* --- koszyk: świeżo dodany produkt ------------------------------------------- */
.line--added { animation: added 1.6s var(--ease); }
@keyframes added { 0%, 40% { background: var(--gold-50); box-shadow: -24px 0 0 var(--gold-50), 24px 0 0 var(--gold-50); } }
body.cart-open .drawer { box-shadow: -30px 0 60px -30px rgba(38,36,35,.4); }

/* ==========================================================================
   Style sekcji i widoków (przeniesione z prototypu)
   ========================================================================== */

/* --- index.html --- */
/* ==========================================================================
   Strona główna: wizytówka firmy + sklep
   ========================================================================== */

/* --- 1. hero: przekaz firmy + kolaż z produktami do kupienia ---------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(249,248,245,.97) 0%, rgba(249,248,245,.9) 48%, rgba(249,248,245,.35) 100%), url(../../img/marmur3.webp) center/cover; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; min-height: 620px; padding: 56px 0 72px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 62px); margin: 18px 0 20px; }
.hero h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 18px; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 36px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__facts strong { display: block; font-family: var(--head); font-size: 30px; color: var(--dark); line-height: 1; }
.hero__facts span { font-size: 13px; color: var(--muted); }
.collage { position: relative; height: 560px; }
.collage__main { position: absolute; inset: 0 0 60px 60px; border-radius: 28px 28px 28px 140px; overflow: hidden; box-shadow: var(--shadow); }
.collage__main img { width: 100%; height: 100%; object-fit: cover; }
.collage__main[data-fade] img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; backface-visibility: hidden; }
.collage__main[data-fade] img.is-on { opacity: 1; }
.btn--video { padding-left: 8px; background: transparent; color: var(--dark); border-color: transparent; }
.btn--video:hover { color: var(--gold-2); }
.btn--video__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--white); box-shadow: 0 0 0 6px var(--gold-50); transition: transform .3s var(--ease); }
.btn--video__icon svg.i { width: 16px; height: 16px; fill: currentColor; stroke: none; margin-left: 2px; }
.btn--video:hover .btn--video__icon { transform: scale(1.08); }
.video-modal { width: min(1100px, calc(100% - 32px)); max-width: none; padding: 0; border: 0; border-radius: 20px; background: #000; overflow: visible; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); }
.video-modal::backdrop { background: rgba(38,36,35,.8); backdrop-filter: blur(4px); }
.video-modal video, .video-modal iframe { display: block; width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 20px; background: #000; }
.video-modal__close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--dark); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
@media (max-width: 600px) { .video-modal__close { top: -54px; right: 0; } }
.collage__caption { position: absolute; left: 110px; bottom: 90px; z-index: 2; color: var(--white); }
.collage__caption small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-1); font-weight: 700; }
.collage__caption strong { display: block; font-family: var(--head); font-size: 24px; font-weight: 600; }
.pcard-float { position: absolute; z-index: 3; width: 290px; display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-radius: 18px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.pcard-float img { width: 72px; height: 60px; object-fit: contain; mix-blend-mode: multiply; }
.pcard-float small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.pcard-float strong { display: block; font-size: 13px; line-height: 1.3; color: var(--dark); }
.pcard-float b { font-size: 13px; color: var(--gold-2); }
.pcard-float .add { width: 38px; height: 38px; }
.pcard-float--1 { left: 0; top: 40px; }
.pcard-float--2 { right: -10px; bottom: 150px; animation-delay: -3s; }
.pcard-float--3 { left: 30px; bottom: 0; animation-delay: -1.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* --- 3. dwie ścieżki --------------------------------------------------------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 1100px) { .paths { grid-template-columns: 1fr; } }
.path { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 180px; gap: 20px; align-items: center; padding: 36px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow-sm); isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s; }
.path:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path--dark { background: linear-gradient(135deg, #BCA04D 0%, #9D7E39 60%, #6E5725 100%); color: rgba(255,255,255,.9); }
.path--dark .eyebrow, .path.path--dark li svg.i { color: var(--white); }
.path--dark h3 { color: var(--white); }
.path h3 { font-size: 26px; margin: 10px 0 10px; }
.path ul { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 6px; font-size: 14px; }
.path li { display: flex; gap: 8px; align-items: center; }
.path li svg.i { width: 16px; height: 16px; color: var(--gold); }
.path img { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); }
.path--light img { object-fit: cover; }

/* --- 4. kategorie ------------------------------------------------------------ */
.catbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.catbar a { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.catbar a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.catbar img { width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: 12px; background: var(--white); padding: 10px; }
.catbar strong { font-family: var(--head); font-size: 18px; color: var(--dark); }
.catbar span { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.catbar span svg.i { color: var(--gold-2); width: 18px; height: 18px; transition: transform .3s var(--ease); }
.catbar a:hover span svg.i { transform: translateX(4px); }

/* --- 6. baner nowości (karuzela) ------------------------------------------------ */
.slides { position: relative; border-radius: 28px; overflow: hidden; background: var(--dark); box-shadow: var(--shadow); height: 480px; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 48px 64px 72px; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.slide.is-on { opacity: 1; visibility: visible; }
.slide--light { background: radial-gradient(600px 400px at 80% 50%, rgba(255,255,255,.95), transparent 70%), linear-gradient(120deg, #F4ECD8 0%, #FBF8F1 55%, #EFE3C6 100%); }
.slide--dark { background: radial-gradient(520px 380px at 78% 50%, rgba(255,255,255,.2), transparent 70%), linear-gradient(135deg, #BCA04D 0%, #9D7E39 60%, #6E5725 100%); color: rgba(255,255,255,.9); }
.slide--dark .slide__tag { background: var(--white); color: var(--gold-2); }
.slide--dark h2 { color: var(--white); }
.slide__tag { display: inline-flex; padding: 6px 14px; border-radius: 100px; background: var(--gold-grad); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.slide h2 { font-size: clamp(28px, 3.2vw, 46px); margin: 16px 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide p { font-size: 17px; max-width: 480px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide__cta { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.slide__img { height: 100%; display: grid; place-items: center; }
.slide__img img { width: min(100%, 360px); aspect-ratio: 1; object-fit: contain; background: var(--white); border-radius: 24px; padding: 22px; box-shadow: 0 30px 60px -24px rgba(38,36,35,.45), 0 8px 20px -10px rgba(38,36,35,.2); transform: translateY(20px) scale(.96); transition: transform 1.2s var(--ease); }
.slide.is-on .slide__img img { transform: none; }
.dots { position: absolute; left: 64px; bottom: 30px; display: flex; gap: 10px; z-index: 3; }
.dots button { width: 44px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.22); cursor: pointer; overflow: hidden; padding: 0; position: relative; }
.slides.is-light .dots button { background: rgba(38,36,35,.15); }
.dots button i { position: absolute; inset: 0; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
.dots button.is-on i { animation: prog 6s linear forwards; }
.slides:not(.is-light) .dots button { background: rgba(255,255,255,.35); }
.slides:not(.is-light) .dots button i { background: var(--white); }
.dots button.done i { transform: none; }
@keyframes prog { to { transform: scaleX(1); } }
.arrows { position: absolute; right: 30px; bottom: 20px; display: flex; gap: 8px; z-index: 3; }
.arrows button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); cursor: pointer; display: grid; place-items: center; }

/* --- 7. zespół (skrót) -------------------------------------------------------- */
.team-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tm { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 16px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tm__img { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, var(--gold-100), var(--gold-50)); display: grid; place-items: center; font-family: var(--head); color: var(--gold-2); font-size: 22px; }
.tm__img img { width: 100%; height: 100%; object-fit: cover; }
.tm small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); line-height: 1.3; display: block; }
.tm strong { display: block; font-family: var(--head); font-size: 17px; color: var(--dark); margin-top: 2px; }
.tm { align-content: start; }
.tm__text { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--text); }

/* --- 8. szkolenia + blog --------------------------------------------------------- */
.knowledge { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.event { position: relative; border-radius: 24px; overflow: hidden; background: var(--white); color: var(--text); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.event:hover { transform: translateY(-4px); }
.event .meta { color: var(--gold); }
.event img { width: 100%; height: 300px; object-fit: cover; object-position: center 20%; }
.event__body { padding: 30px 32px 34px; display: grid; gap: 12px; }
.event h3 { color: var(--dark); font-size: 26px; }
.event__body .btn, .event__body .pill { justify-self: start; }
.event__label { position: absolute; top: 18px; left: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 100px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); color: var(--dark); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 6px 18px -6px rgba(38,36,35,.35); }
.event__label svg.i { width: 15px; height: 15px; color: var(--gold); }
.event__date { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 100px; background: var(--gold-grad); color: var(--white); font-size: 13px; font-weight: 700; justify-self: start; }
.list-posts { display: grid; gap: 14px; align-content: start; }
.lp { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; padding: 12px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.lp:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.lp img { width: 100%; aspect-ratio: 16/10; height: auto; object-fit: cover; border-radius: 12px; }
.lp > div { display: flex; flex-direction: column; gap: 6px; padding: 6px 8px 6px 0; }
.lp__text { font-size: 14px; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--gold-2); margin-top: auto; }
.lp__more svg.i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.lp:hover .lp__more svg.i { transform: translateX(4px); }
.lp h3 { font-family: var(--body); font-size: 15px; font-weight: 700; line-height: 1.35; margin-top: 4px; }

/* --- 9. jak zamówić ---------------------------------------------------------------- */
.order { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.order__steps { display: grid; gap: 14px; counter-reset: o; }
.ostep { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ostep::before { counter-increment: o; content: counter(o); width: 48px; height: 48px; border-radius: 50%; background: var(--gold-grad); color: var(--white); display: grid; place-items: center; font-family: var(--head); font-size: 20px; font-weight: 700; }
.ostep h3 { font-family: var(--body); font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.ostep p { font-size: 14px; }
.shipbox { padding: 36px; border-radius: 24px; background: linear-gradient(135deg, #BCA04D 0%, #9D7E39 60%, #6E5725 100%); color: rgba(255,255,255,.88); position: relative; overflow: hidden; }
.shipbox .big { font-family: var(--head); font-size: 64px; font-weight: 700; color: var(--white); line-height: 1; }
.shipbox h3 { color: var(--white); font-size: 24px; margin: 10px 0 18px; }
.shipbox ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.shipbox li { display: flex; gap: 10px; align-items: center; }
.shipbox { isolation: isolate; }
.shipbox::before { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -150px; top: -170px; border-radius: 50%; background: radial-gradient(rgba(255,255,255,.26), transparent 70%); }
/* odznaka z ciężarówką: szklane koło z delikatnymi pierścieniami */
.shipbox__badge { position: absolute; top: 30px; right: 30px; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); box-shadow: 0 0 0 10px rgba(255,255,255,.07), 0 0 0 22px rgba(255,255,255,.04), 0 18px 30px -16px rgba(38,36,35,.5); backdrop-filter: blur(4px); }
.shipbox__badge svg { width: 36px; height: 36px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* --- 10. kontakt -------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }

@media (max-width: 1180px) {
    .catbar { grid-template-columns: repeat(3, 1fr); }
    .team-mini { grid-template-columns: 1fr 1fr; }
    .pcard-float--2 { right: 0; }
}
@media (max-width: 960px) {
    .hero__grid, .knowledge, .order, .contact { grid-template-columns: 1fr; }
    .hero__grid { min-height: 0; padding: 36px 0 56px; gap: 36px; }
    /* slider zdjęć nad tekstem, 16:9 (od 600 px 4:3); fakt o dostawie jest niżej w pasku zalet */
    .hero__grid > .collage { order: -1; }
    .collage { height: auto; aspect-ratio: 16/9; }
    .collage__main { inset: 0; border-radius: 24px 24px 24px 90px; }
    .hero__fact--ship { display: none; }
    .hero__facts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; }
    /* slajdy w jednej komórce siatki – baner ma wysokość najwyższego, zdjęcie w stałej ramce pod tekstem */
    .slides { height: auto; display: grid; }
    .slide { position: relative; inset: auto; grid-area: 1 / 1; grid-template-columns: 1fr; gap: 28px; padding: 36px 32px 80px; align-content: start; }
    .slide__img { position: relative; height: 240px; border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: 0 30px 60px -24px rgba(38,36,35,.45); }
    .slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; padding: 0; border-radius: 0; box-shadow: none; object-fit: cover; object-position: center; }
}
@media (max-width: 600px) {
    .hero__facts { grid-auto-columns: 1fr; gap: 12px; }
    .hero__facts strong { font-size: 24px; }
    .hero__cta .btn { width: 100%; }
    .collage { aspect-ratio: 4/3; }
    .collage__caption { left: 24px; bottom: 60px; }
    .pcard-float { width: 250px; grid-template-columns: 56px 1fr auto; }
    .pcard-float img { width: 56px; height: 48px; }
    .pcard-float--1 { left: 10px; top: 12px; }
    .pcard-float--2 { display: none; }
    .pcard-float--3 { left: auto; right: 10px; bottom: 0; }
    .path { grid-template-columns: 1fr; padding: 28px 24px; }
    .path img { display: none; }
    .catbar { grid-template-columns: 1fr 1fr; }
    .slide { padding: 30px 24px 80px; gap: 24px; }
    .slide__img { height: 190px; }
    /* telefon: tylko „Zobacz produkt” */
    .slide__cta [data-add], .slide__price { display: none; }
    .dots { left: 24px; }
    .arrows { display: none; }
    .team-mini { grid-template-columns: 1fr; }
    .event img { height: auto; aspect-ratio: 16/9; }
    .event__body { padding: 22px 20px 26px; }
    .knowledge .event h3, .knowledge .lp h3 { font-family: var(--head); font-size: 20px; font-weight: 600; color: var(--dark); }
    .event p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .list-posts { gap: 28px; }
    .lp { grid-template-columns: 1fr; gap: 0; padding: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); align-items: stretch; }
    .lp:hover { transform: translateY(-4px); }
    .lp img { aspect-ratio: 16/9; border-radius: 0; }
    .lp > div { gap: 12px; padding: 22px 20px 26px; }
    .lp__text { -webkit-line-clamp: 3; }
    .lp__more { align-self: flex-start; min-height: 42px; padding: 0 18px; border-radius: 100px; background: var(--gold-grad); color: var(--white); }
    .shipbox { padding: 28px 22px; }
    .shipbox__badge { top: 22px; right: 22px; width: 60px; height: 60px; box-shadow: 0 0 0 8px rgba(255,255,255,.07), 0 0 0 16px rgba(255,255,255,.04); }
    .shipbox__badge svg { width: 28px; height: 28px; }
}

/* --- produkt.html --- */
.pdp-wrap { padding: 48px 0 80px; }
.pdp-wrap .crumbs { margin-bottom: 26px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; visibility: hidden; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .4s var(--ease), visibility 0s .4s; }
.sticky-buy.is-on { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.sticky-buy .wrap { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.sticky-buy img { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.sticky-buy strong { flex: 1; color: var(--dark); font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 600px) { .sticky-buy .price { display: none; } }

/* --- artykul.html --- */
.post-body { padding: 56px 0 96px; }
.post-head { margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-head h1 { font-size: clamp(28px, 3vw, 44px); margin: 0 0 16px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; color: var(--muted); font-size: 14px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg.i { width: 16px; height: 16px; color: var(--gold); }
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--gold-grad); z-index: 60; width: 0; }
.mini-product { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mini-product:last-child { border: 0; }
.mini-product img { width: 64px; height: 64px; object-fit: contain; mix-blend-mode: multiply; background: var(--bg); border-radius: 10px; }
.mini-product strong { display: block; font-size: 14px; line-height: 1.3; color: var(--dark); }
.mini-product span { font-size: 13px; color: var(--gold-2); font-weight: 700; }

/* --- system-nicer.html --- */
.lines { display: grid; gap: 22px; }
.lineblock { display: grid; grid-template-columns: 380px 1fr; gap: 0; background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); }
.lineblock__img { position: relative; }
.lineblock__img img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.lineblock__img .num { position: absolute; left: 22px; top: 18px; color: var(--white); font-size: 46px; text-shadow: 0 4px 20px rgba(0,0,0,.35); }
.lineblock__body { padding: 34px 38px; display: grid; gap: 14px; align-content: center; }
.lineblock__body h3 { font-size: 26px; }
.lineblock__prods { display: flex; gap: 10px; margin-top: 4px; }
.lineblock__prods a { width: 76px; height: 76px; border-radius: 14px; background: var(--bg); padding: 6px; border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
.lineblock__prods a:hover { border-color: var(--gold-1); transform: translateY(-3px); }
.lineblock__prods img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lineblock__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
@media (max-width: 960px) { .lineblock { grid-template-columns: 1fr; } .lineblock__img img { min-height: 220px; max-height: 280px; } }

/* --- o-nas.html --- */
.why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.why .card img { aspect-ratio: 1/1; }
.why .card__body h3 { font-family: var(--body); font-size: 16px; font-weight: 700; line-height: 1.4; }
@media (max-width: 1180px) { .why { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .why { grid-template-columns: 1fr 1fr; } }

/* --- zamowienia.html --- */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.summary h3 { font-size: 20px; margin-bottom: 6px; }
.summary .line { grid-template-columns: 56px 1fr auto; padding: 10px 0; }
.summary .line img { width: 56px; height: 56px; }
.done { display: none; }
.done.is-on { display: block; }
.transfer { display: grid; gap: 10px; margin: 18px 0; padding: 22px; border-radius: 18px; background: var(--gold-50); }
.transfer div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.transfer b { color: var(--dark); }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }

/* pola formularzy zagnieżdżone w etykietach */
.field label > input, .field label > textarea, .field label > select { margin-top: 6px; font-weight: 400; font-size: 15px; color: var(--text); }
.pdp-wrap .crumbs { margin-bottom: 26px; }
.mini-price { font-size: 13px; color: var(--gold-2); font-weight: 700; }

/* --- zamówienie ------------------------------------------------------------ */
.checkout-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 0; }
.checkout-steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); }
.checkout-steps span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); font-family: var(--head); font-weight: 700; }
.checkout-steps li.is-on { color: var(--dark); }
.checkout-steps li.is-on span { background: var(--gold-grad); color: var(--white); border-color: transparent; }
.form h3 { font-size: 18px; }
.form-errors { padding: 14px 18px; border-radius: 12px; background: #FBEDEC; color: #9B2C24; font-size: 14px; display: grid; gap: 4px; }
.pay-method { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--gold-1); background: var(--gold-50); }
.pay-method svg.i { color: var(--gold-2); width: 26px; height: 26px; }
.pay-method strong { display: block; color: var(--dark); }
.pay-method span { font-size: 13px; color: var(--muted); }
.form-card h2 { font-size: clamp(24px, 2.6vw, 32px); }

[hidden] { display: none !important; }
.slide__price .price { font-size: 28px; }
.slide--dark .slide__price .price { color: var(--white); }

/* --- konto klienta --------------------------------------------------------- */
.auth { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.auth__side { padding: 36px; border-radius: 24px; background: var(--white-marble); border: 1px solid var(--line); display: grid; gap: 12px; justify-items: start; }
.auth__side h2 { font-size: 24px; }
.account-grid { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.acc-nav { display: grid; gap: 4px; padding: 14px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 24px); }
.acc-nav a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; font-weight: 600; color: var(--dark); }
.acc-nav a:hover { background: var(--gold-50); }
.acc-nav a.is-active { background: var(--dark); color: var(--white); }
.acc-nav svg.i { width: 18px; height: 18px; color: var(--gold); }
.acc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.orders-table { display: grid; }
.orders-table__head, .orders-table__row { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1fr 1.2fr; gap: 12px; align-items: center; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.orders-table__head { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.orders-table__row { color: var(--dark); transition: background .2s; border-radius: 10px; }
.orders-table__row:hover { background: var(--gold-50); }
.orders-table__row .pill { justify-self: start; }
.form-ok { padding: 14px 18px; border-radius: 12px; background: #EAF5EE; color: #2E6B47; font-size: 14px; }
.b2b-toggle { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--gold-1); background: var(--gold-50); cursor: pointer; }
.b2b-toggle input { width: 20px; height: 20px; accent-color: var(--gold-2); margin-top: 2px; flex-shrink: 0; }
.b2b-toggle strong { display: block; color: var(--dark); }
.b2b-toggle small { color: var(--muted); font-size: 13px; }
@media (max-width: 960px) {
    .auth, .account-grid { grid-template-columns: 1fr; }
    .acc-nav { position: static; grid-template-columns: 1fr 1fr; }
    .orders-table__head { display: none; }
    .orders-table__row { grid-template-columns: 1fr 1fr; }
}

/* cała karta klikalna (link w data-href) */
[data-href] { cursor: pointer; }
.icon-btn.is-logged { background: var(--gold-50); color: var(--gold-2); }
.icon-btn.is-logged::after { content: ""; position: absolute; right: 8px; bottom: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--white); }

/* kod rabatowy */
.code-form { display: flex; gap: 8px; }
.code-form input { flex: 1; min-width: 0; height: 42px; padding: 0 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); text-transform: uppercase; outline: none; }
.code-form input:focus { border-color: var(--gold-1); }
.code-msg { font-size: 13px; }
.code-msg.is-error { color: #9B2C24; }
.sum--disc { color: var(--ok); }
.sum--disc b { color: var(--dark); }
.pay-methods { display: grid; gap: 10px; }
.pay-methods label { cursor: pointer; }
.pay-methods input { accent-color: var(--gold-2); width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.pay-method { cursor: pointer; }
.pay-methods label:has(input:checked) .pay-method { border-color: var(--gold-2); box-shadow: 0 0 0 3px var(--gold-50); background: var(--white); }
.pay-methods .pay-method { border-color: var(--line); background: var(--white); align-items: flex-start; }

/* ==========================================================================
   Nagłówek podstron – ciemny, zdjęcie jako tło; naprzemienne tła sekcji
   ========================================================================== */
/* odcień nagłówka: #6B592F (brąz-złoto) na marmurze */
.page-hero { background: radial-gradient(700px 360px at 85% 0%, rgba(188,160,77,.28), transparent 70%), linear-gradient(rgba(107,89,47,.94), rgba(107,89,47,.94)), var(--marble) center / 1600px auto repeat; color: rgba(255,255,255,.82); border-bottom: 0; padding: 64px 0 68px; }
.page-hero--img { background: linear-gradient(100deg, rgba(88,73,38,.96) 0%, rgba(107,89,47,.88) 45%, rgba(107,89,47,.55) 100%), var(--hero-img) center / cover no-repeat; padding: 96px 0 100px; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.8); max-width: 720px; }
.page-hero .crumbs { color: rgba(255,255,255,.6); }
.page-hero .crumbs a:hover { color: var(--white); }
.page-hero .crumbs span[aria-current] { color: var(--gold-100); }
.page-hero .checkout-steps li { color: rgba(255,255,255,.55); }
.page-hero .checkout-steps li.is-on { color: var(--white); }
.page-hero .checkout-steps span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.page-hero .checkout-steps li.is-on span { background: var(--gold-grad); border-color: transparent; }
/* przyciemnione tło sekcji (na zmianę z białym) */
:root { --tint-marble: linear-gradient(rgba(248,245,238,.93), rgba(248,245,238,.93)), var(--marble) center / 1600px auto repeat; }
.section--tint { background: var(--tint-marble); }
.section--tint .card, .section--tint .person, .section--tint .icon-card { box-shadow: 0 4px 16px rgba(38,36,35,.06); }
/* bez odstępu między ostatnią sekcją a stopką */
.footer { margin-top: 0; }
main > :last-child:not(.section):not(section):not(.sticky-buy) { margin-bottom: 96px; }
@media (max-width: 600px) { .page-hero--img { padding: 64px 0 68px; } }

/* wyróżniony wpis na blogu – jasna karta */
.featured-post { background: var(--white); color: var(--text); box-shadow: var(--shadow); }
.featured-post h2 { color: var(--dark); }
.featured-post .meta { color: var(--gold); }
.featured-post p { color: var(--text); }
.featured-post .btn--light { background: var(--gold-grad); color: var(--white); }
/* hero kategorii nad artykułem/produktem – tytuł kategorii (H1 zostaje dla artykułu) */
.page-hero .page-hero__title { font-family: var(--head); color: var(--white); font-weight: 600; line-height: 1.15; font-size: clamp(34px, 4.2vw, 56px); margin: 14px 0 16px; max-width: none; }
.page-hero--cat { padding: 56px 0 60px; }
.page-hero--cat.page-hero--img { padding: 72px 0 76px; }

/* telefony (do 890 px): odstępy góra/dół sekcji o połowę mniejsze (hero i stopka bez zmian) */
@media (max-width: 890px) {
    .section { padding: 48px 0; }
    .section--tight { padding: 32px 0; }
    .pdp-wrap { padding: 48px 0; }
    .search input { font-size: 14px; }
    .post-body { padding: 28px 0 48px; }
}

/* sklep na telefonie: pasek kategorii/filtrów i sortowanie jako jedna siatka z równymi odstępami */
@media (max-width: 960px) {
    .shop-bar { flex-wrap: nowrap; gap: 10px; margin-bottom: 10px; }
    .shop-bar .select { flex: 1; max-width: none; min-width: 0; }
    .toolbar { flex-wrap: nowrap; gap: 10px; margin-bottom: 16px; }
    .toolbar__count { font-size: 13px; }
    .toolbar .select { flex-shrink: 0; }
}
@media (max-width: 540px) {
    .shop-pills { gap: 10px; flex-wrap: nowrap; }
    .pill-filter { width: 46px; height: 46px; min-height: 0; padding: 0; justify-content: center; }
    .pill-filter span { display: none; }
    .pill-filter svg.i { width: 19px; height: 19px; }
}

/* karta produktu na telefonie: lżejszy panel zakupu */
@media (max-width: 890px) {
    .buybox { gap: 14px; }
    .buybox .buybox__price .price { font-size: 26px; }
    .buybox .qty { height: 44px; }
    .buybox .qty button { width: 40px; font-size: 18px; }
    .buybox .btn { min-height: 44px; padding: 0 20px; }
}

/* >>> mobile-fonts (generowane: bin/mobile-fonts.py) */
@media (max-width: 890px) { body { font-size: 14px; } }
@media (max-width: 890px) { .section-head h2 { font-size: clamp(25px, 2.82vw, 37px); } }
@media (max-width: 890px) { .prose h2, .prose h3 { font-size: 21px; } }
@media (max-width: 890px) { .prose h1 { font-size: 25px; } }
@media (max-width: 890px) { .btn { font-size: 14px; } }
@media (max-width: 890px) { .text-md { font-size: 14px; } }
@media (max-width: 890px) { .text-lg { font-size: 15px; } }
@media (max-width: 890px) { .mega__cat strong { font-size: 14px; } }
@media (max-width: 890px) { .mega__promo h4 { font-size: 18px; } }
@media (max-width: 890px) { .page-hero h1 { font-size: clamp(30px, 3.70vw, 49px); } }
@media (max-width: 890px) { .page-hero p { font-size: 16px; } }
@media (max-width: 890px) { .usp__item strong { font-size: 14px; } }
@media (max-width: 890px) { .product__body h3 { font-size: 14px; } }
@media (max-width: 890px) { .price { font-size: 19px; } }
@media (max-width: 890px) { .search-posts h2 { font-size: clamp(21px, 2.11vw, 28px); } }
@media (max-width: 890px) { .filters h3 { font-size: 14px; } }
@media (max-width: 890px) { .filters li a { font-size: 14px; } }
@media (max-width: 890px) { .pdp__info h1 { font-size: clamp(25px, 2.64vw, 35px); } }
@media (max-width: 890px) { .buybox__price .price { font-size: 30px; } }
@media (max-width: 890px) { .qty button { font-size: 18px; } }
@media (max-width: 890px) { .acc summary { font-size: 16px; } }
@media (max-width: 890px) { .acc summary::after { font-size: 21px; } }
@media (max-width: 890px) { .split h2 { font-size: clamp(25px, 2.64vw, 35px); } }
@media (max-width: 890px) { .stamp { font-size: 14px; } }
@media (max-width: 890px) { .stamp strong { font-size: 25px; } }
@media (max-width: 890px) { .checks li { font-size: 14px; } }
@media (max-width: 890px) { .card__body h3 { font-size: 17px; } }
@media (max-width: 890px) { .num { font-size: 30px; } }
@media (max-width: 890px) { .icon-card h3 { font-size: 16px; } }
@media (max-width: 890px) { .flow__step::before { font-size: 33px; } }
@media (max-width: 890px) { .flow__step strong { font-size: 18px; } }
@media (max-width: 890px) { .person__img span { font-size: 49px; } }
@media (max-width: 890px) { .person__body h3 { font-size: 18px; } }
@media (max-width: 890px) { .stepcard::before { font-size: 18px; } }
@media (max-width: 890px) { .stepcard h3 { font-size: 18px; } }
@media (max-width: 890px) { .copy { font-size: 14px; } }
@media (max-width: 890px) { .ccard h3 { font-size: 14px; } }
@media (max-width: 890px) { .pcard h3 { font-size: 16px; } }
@media (max-width: 890px) { .featured-post h2 { font-size: clamp(21px, 2.29vw, 30px); } }
@media (max-width: 890px) { .article .prose { font-size: 15px; } }
@media (max-width: 890px) { .article .prose > p:first-child { font-size: 17px; } }
@media (max-width: 890px) { .aside__box h3 { font-size: 14px; } }
@media (max-width: 890px) { .cta-strip h2 { font-size: clamp(23px, 2.46vw, 32px); } }
@media (max-width: 890px) { .footer h4 { font-size: 18px; } }
@media (max-width: 890px) { .side-menu__body li > a, .side-menu__body summary { font-size: 15px; } }
@media (max-width: 890px) { .drawer__head h3 { font-size: 18px; } }
@media (max-width: 890px) { .line .qty button { font-size: 14px; } }
@media (max-width: 890px) { .line__price { font-size: 14px; } }
@media (max-width: 890px) { .sum { font-size: 14px; } }
@media (max-width: 890px) { .sum--total { font-size: 16px; } }
@media (max-width: 890px) and (max-width: 600px) { .price { font-size: 16px; } }
@media (max-width: 890px) { .search__item em { font-size: 14px; } }
@media (max-width: 890px) { .hero h1 { font-size: clamp(32px, 4.05vw, 55px); } }
@media (max-width: 890px) { .hero__lead { font-size: 16px; } }
@media (max-width: 890px) { .hero__facts strong { font-size: 26px; } }
@media (max-width: 890px) { .collage__caption strong { font-size: 21px; } }
@media (max-width: 890px) { .path h3 { font-size: 23px; } }
@media (max-width: 890px) { .catbar strong { font-size: 16px; } }
@media (max-width: 890px) { .slide h2 { font-size: clamp(25px, 2.82vw, 40px); } }
@media (max-width: 890px) { .slide p { font-size: 15px; } }
@media (max-width: 890px) { .tm__img { font-size: 19px; } }
@media (max-width: 890px) { .tm strong { font-size: 15px; } }
@media (max-width: 890px) { .event h3 { font-size: 23px; } }
@media (max-width: 890px) { .lp h3 { font-size: 14px; } }
@media (max-width: 890px) { .ostep::before { font-size: 18px; } }
@media (max-width: 890px) { .ostep h3 { font-size: 14px; } }
@media (max-width: 890px) { .shipbox .big { font-size: 56px; } }
@media (max-width: 890px) { .shipbox h3 { font-size: 21px; } }
@media (max-width: 890px) and (max-width: 600px) { .hero__facts strong { font-size: 21px; } }
@media (max-width: 890px) { .sticky-buy strong { font-size: 14px; } }
@media (max-width: 890px) { .post-head h1 { font-size: clamp(25px, 2.64vw, 39px); } }
@media (max-width: 890px) { .lineblock__img .num { font-size: 40px; } }
@media (max-width: 890px) { .lineblock__body h3 { font-size: 23px; } }
@media (max-width: 890px) { .why .card__body h3 { font-size: 14px; } }
@media (max-width: 890px) { .summary h3 { font-size: 18px; } }
@media (max-width: 890px) { .field label > input, .field label > textarea, .field label > select { font-size: 14px; } }
@media (max-width: 890px) { .form h3 { font-size: 16px; } }
@media (max-width: 890px) { .form-card h2 { font-size: clamp(21px, 2.29vw, 28px); } }
@media (max-width: 890px) { .slide__price .price { font-size: 25px; } }
@media (max-width: 890px) { .auth__side h2 { font-size: 21px; } }
@media (max-width: 890px) { .page-hero .page-hero__title { font-size: clamp(30px, 3.70vw, 49px); } }
@media (max-width: 890px) { input, select, textarea { font-size: 16px; } }
/* <<< mobile-fonts */

/* hero strony głównej na telefonie (do 890 px): tytuł, opis i przyciski w skali reszty strony */
@media (max-width: 890px) {
    .hero h1 { font-size: clamp(27px, 4.4vw, 36px); margin: 14px 0 14px; }
    .hero__lead { font-size: 15px; }
    .hero__cta { gap: 10px; margin-top: 22px; }
    .hero__cta .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
    .hero__cta .btn--video { padding-left: 6px; }
    .btn--video__icon { width: 32px; height: 32px; box-shadow: 0 0 0 5px var(--gold-50); }
    .hero__facts { margin-top: 26px; padding-top: 20px; }
    .hero__facts strong { font-size: 22px; }
    .stamp { font-size: 12px; }
    .stamp strong { font-size: 20px; }
}
@media (max-width: 600px) { .stamp strong { font-size: 18px; } .stamp { font-size: 11px; } .hero__facts strong { font-size: 20px; } }

/* treść wpisu na telefonie: podtytuły mniejsze od nagłówków sekcji */
@media (max-width: 890px) { .prose h3 { font-size: 18px; } .prose h4 { font-size: 15px; } }

/* sekcja z tekstem na pasku (parallax): przycisk pod treścią */
.band__cta { margin-top: 32px; }

/* pola wyboru: własna złota strzałka zamiast systemowej */
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select, .field select:focus, .field select.is-invalid, .select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239D7E39' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 18px center; background-size: 16px; padding-right: 48px;
}
.select { background-position: right 16px center; padding-right: 44px; }
.field select::-ms-expand { display: none; }

/* zamówienie: formy dostawy i wybór paczkomatu */
.ship-methods .pay-method > div { flex: 1; min-width: 0; }
.ship-methods .pay-method span { display: block; font-size: 13px; color: var(--muted); }
.ship-price { font-family: var(--head); font-size: 18px; color: var(--dark); white-space: nowrap; }
.locker { display: grid; gap: 10px; }
.locker__field { position: relative; }
.locker__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; max-height: 340px; overflow: auto; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.locker__opt { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none; text-align: left; font-size: 14px; color: var(--text); cursor: pointer; }
.locker__opt svg.i { width: 20px; height: 20px; color: var(--gold); margin-top: 1px; }
.locker__opt b { display: block; color: var(--dark); }
.locker__opt small, .locker__chosen small { display: block; font-size: 12px; color: var(--muted); }
.locker__opt:hover, .locker__opt.is-sel { background: var(--gold-50); }
.locker__empty { padding: 12px; font-size: 14px; color: var(--muted); }
.locker__chosen { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: #EAF5EE; color: #2E6B47; font-size: 14px; }
.locker__chosen svg.i { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.locker__chosen b { color: #1F4D33; }
.locker__map-btn { justify-self: start; }
.locker-map { width: min(1100px, calc(100% - 24px)); height: min(760px, calc(100% - 24px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); }
.locker-map[open] { display: flex; flex-direction: column; }
.locker-map::backdrop { background: rgba(38,36,35,.7); backdrop-filter: blur(3px); }
.locker-map__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.locker-map inpost-geowidget { display: block; flex: 1; min-height: 0; }
.locker-map iframe { display: block; flex: 1; width: 100%; min-height: 0; border: 0; }
.locker__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--dark); }
.locker__hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.locker .field > .locker__chosen { margin-bottom: 10px; }


/* zamówienie: wybór kraju z wyszukiwarką i flagami (flagi: assets/site/flags, flag-icons – MIT) */
.cpick { position: relative; margin-top: 6px; font-weight: 400; }
.cpick__btn { display: flex; align-items: center; gap: 12px; width: 100%; height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 15px; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.cpick__btn span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpick__btn:focus-visible, .cpick.is-open .cpick__btn { outline: none; border-color: var(--gold-1); background: var(--white); box-shadow: 0 0 0 4px var(--gold-50); }
.cpick__chev { width: 16px; height: 16px; color: var(--gold-2); transition: transform .25s; }
.cpick.is-open .cpick__chev { transform: rotate(180deg); }
.cpick__flag { flex: none; width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(38, 36, 35, .08); }
.cpick__menu { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.cpick__search { position: relative; margin-bottom: 8px; }
.cpick__search svg.i { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--muted); pointer-events: none; }
.field .cpick__search input { height: 44px; margin: 0; padding-left: 40px; border-radius: 12px; font-size: 15px; }
.cpick__list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; overscroll-behavior: contain; }
.cpick__list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--dark); cursor: pointer; }
.cpick__list li.is-active { background: var(--gold-50); }
.cpick__list li[aria-selected="true"] { font-weight: 700; }
.cpick__list li[aria-selected="true"]::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-grad); }
.cpick__empty { padding: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 890px) { .cpick__btn, .cpick__list li { font-size: 14px; } }

/* --- Zgoda na cookies: baner, ustawienia, mapy po zgodzie ------------------------------ */
.cookie-banner { position: fixed; z-index: 90; left: 24px; right: 24px; bottom: 24px; max-width: 980px; margin-inline: auto; display: flex; align-items: center; gap: 20px 32px; padding: 22px 26px; border-radius: 20px; background: var(--white); box-shadow: 0 24px 60px -18px rgba(38, 36, 35, .45); border: 1px solid var(--line); animation: cookie-in .5s cubic-bezier(.22, 1, .36, 1); }
.cookie-banner[hidden] { display: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(20px); } }
.cookie-banner__text strong { display: block; font-family: var(--head); font-size: 18px; color: var(--dark); margin-bottom: 6px; }
.cookie-banner__text p { font-size: 14px; line-height: 1.6; margin: 0; }
.cookie-banner__text a, .cookie-settings a { color: var(--gold-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { flex: none; display: flex; align-items: center; gap: 10px; }
.cookie-link { border: 0; background: none; padding: 8px 6px; font: inherit; font-size: 14px; font-weight: 600; color: var(--dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-link:hover { color: var(--gold-2); }
.cookie-settings { width: min(560px, calc(100vw - 32px)); padding: 30px; border: 0; border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(38, 36, 35, .5); color: var(--text); }
.cookie-settings::backdrop { background: rgba(38, 36, 35, .55); backdrop-filter: blur(3px); }
.cookie-settings h2 { font-size: 24px; margin-bottom: 8px; }
.cookie-settings > p { font-size: 14px; margin-bottom: 18px; }
.cookie-cat { display: flex; align-items: flex-start; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.cookie-cat > div { flex: 1; }
.cookie-cat strong { display: block; color: var(--dark); margin-bottom: 4px; }
.cookie-cat p { font-size: 13.5px; line-height: 1.55; margin: 0; }
.cookie-switch { position: relative; flex: none; width: 46px; height: 26px; margin-top: 2px; cursor: pointer; }
.cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .2s; pointer-events: none; }
.cookie-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.cookie-switch input:checked + span { background: var(--gold-grad); }
.cookie-switch input:checked + span::after { transform: translateX(20px); }
.cookie-switch input:disabled + span { opacity: .6; }
.cookie-switch input:focus-visible + span { box-shadow: 0 0 0 4px var(--gold-50); }
.cookie-settings__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
/* okno „Strona dla profesjonalistów” (pro-gate.js) – do decyzji baner cookies jest ukryty */
.pro-gate { width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 36px 40px 28px; border: 0; border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(38, 36, 35, .5); color: var(--text); text-align: center; }
.pro-gate::backdrop { background: rgba(38, 36, 35, .7); backdrop-filter: blur(6px); }
.pro-gate__logo { display: block; height: 44px; width: auto; margin: 0 auto 22px; }
.pro-gate h2 { font-size: 26px; margin-bottom: 14px; outline: 0; }
.pro-gate > p { font-size: 15px; line-height: 1.65; margin: 0 0 10px; }
.pro-gate__confirm { margin: 18px 0 0; padding: 18px 22px; border-radius: 16px; background: var(--gold-50); text-align: left; }
.pro-gate__confirm strong { display: block; color: var(--dark); margin-bottom: 8px; }
.pro-gate__confirm ul { margin: 0; padding-left: 20px; }
.pro-gate__confirm li { font-size: 14.5px; line-height: 1.6; margin: 4px 0; }
.pro-gate__actions { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.pro-gate__actions .btn { flex: 1; padding: 10px 18px; white-space: normal; line-height: 1.3; }
.pro-gate > .pro-gate__links { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.pro-gate__links a { color: var(--gold-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pro-gate-open .cookie-banner { display: none; }
@media (max-width: 560px) {
    .pro-gate { padding: 24px 18px 18px; }
    .pro-gate__logo { height: 36px; margin-bottom: 16px; }
    .pro-gate h2 { font-size: 21px; }
    .pro-gate > p { font-size: 14px; line-height: 1.55; }
    .pro-gate__confirm { margin-top: 14px; padding: 14px 16px; }
    .pro-gate__confirm li { font-size: 13.5px; line-height: 1.5; }
    .pro-gate__actions { flex-direction: column-reverse; margin-top: 18px; gap: 10px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.footer__cookies { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.footer__cookies:hover { color: var(--gold-1); }
.consent-embed { position: relative; height: 100%; min-height: inherit; }
.consent-embed iframe:not([src]) { visibility: hidden; }
.consent-embed.is-allowed .consent-embed__placeholder { display: none; }
.consent-embed__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; background: var(--bg-marble, var(--bg)); }
.consent-embed__placeholder svg.i { width: 34px; height: 34px; color: var(--gold-2); }
.consent-embed__placeholder p { max-width: 340px; font-size: 14px; margin: 0; }
.consent-embed__placeholder strong { display: block; font-family: var(--head); font-size: 18px; color: var(--dark); margin-bottom: 4px; }
@media (max-width: 760px) {
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; padding: 20px; }
    .cookie-banner__actions { flex-wrap: wrap; justify-content: stretch; }
    .cookie-banner__actions .btn { flex: 1 1 40%; }
    .cookie-banner__actions .cookie-link { order: 3; width: 100%; }
    .cookie-settings { padding: 22px; }
}
.consent-info { margin: -4px 0 4px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.consent-info a, .consent a { color: var(--gold-2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* stany magazynowe: dostępność na karcie produktu i liście */
.stock--low { color: #B86A00; }
.stock--low::before { background: #E88B0C; box-shadow: 0 0 0 4px rgba(232,139,12,.15); }
.stock--out { color: #9B2C24; }
.stock--out::before { background: #C0473B; box-shadow: 0 0 0 4px rgba(192,71,59,.15); }
.stock--backorder { color: var(--gold-2); }
.stock--backorder::before { background: var(--gold-1); box-shadow: 0 0 0 4px var(--gold-50); }
.btn--disabled, .btn:disabled { opacity: .55; cursor: not-allowed; background: var(--line); color: var(--muted); }
.product--out .product__media img { filter: grayscale(.6); opacity: .8; }
.product__stock { font-size: 12px; font-weight: 700; color: #9B2C24; text-transform: uppercase; letter-spacing: .04em; }
.product__stock--low { color: #B86A00; }
.stock-notes { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: #FDF3E6; color: #8A5300; font-size: 13.5px; display: grid; gap: 4px; }

/* strona błędu (sekcja error_page) – wyśrodkowany, spokojny komunikat */
.err { padding: clamp(64px, 10vw, 128px) 0; }
.err__box { max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.err__code { font-family: var(--head); font-size: clamp(88px, 16vw, 160px); line-height: 1; font-weight: 600; letter-spacing: .04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 20px; }
.err h1 { font-size: clamp(26px, 3.2vw, 38px); }
.err__lead { margin-top: 16px; max-width: 520px; color: var(--text); }
.err__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.err__links { width: 100%; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.err__links .eyebrow::before { display: none; }
.err__links ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.err__links a { font-weight: 600; color: var(--dark); transition: color .2s; }
.err__links a:hover { color: var(--gold-2); }
@media (max-width: 560px) { .err__actions .btn { width: 100%; } }

/* czat na stronie (partials/chat.htm, site/chat.js) */
.chat [data-when-closed], .chat[data-open="0"] [data-when-open] { display: none; }
.chat[data-open="0"] [data-when-closed] { display: revert; }
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 60px; height: 60px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--gold-grad); color: var(--white); box-shadow: 0 14px 30px -12px rgba(157, 126, 57, .9); transition: transform .3s var(--ease), bottom .4s var(--ease); }
.chat-fab:hover { transform: translateY(-2px) scale(1.04); }
.chat-fab .i { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease); }
.chat-fab__close { opacity: 0; transform: rotate(-90deg); }
.chat.is-open .chat-fab__icon { opacity: 0; transform: rotate(90deg); }
.chat.is-open .chat-fab__close { opacity: 1; transform: none; }
.chat-fab__badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #B23A2F; color: var(--white); font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; box-shadow: 0 0 0 3px var(--white); }
body:has(.sticky-buy.is-on) .chat-fab { bottom: 100px; }
body:has(.sticky-buy.is-on) .chat-panel { bottom: 176px; }

.chat-panel { position: fixed; right: 24px; bottom: 100px; z-index: 81; width: 380px; max-height: min(620px, calc(100vh - 140px)); display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 70px -24px rgba(38, 36, 35, .5); overflow: hidden; animation: chat-in .35s var(--ease); }
.chat-panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.chat-panel__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--dark-marble); color: var(--white); }
.chat-panel__head img { width: 40px; height: 40px; border-radius: 50%; background: var(--white); padding: 6px; object-fit: contain; }
.chat-panel__head > div { flex: 1; min-width: 0; }
.chat-panel__head strong { display: block; font-family: var(--head); font-size: 15px; letter-spacing: .03em; }
.chat-status { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,.75); }
.chat-status i { width: 8px; height: 8px; border-radius: 50%; background: #5BC98A; box-shadow: 0 0 0 3px rgba(91,201,138,.25); flex-shrink: 0; }
.chat[data-open="0"] .chat-status i { background: #C9B37A; box-shadow: 0 0 0 3px rgba(201,179,122,.25); }
.chat-panel__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.chat-panel__close:hover { background: rgba(255,255,255,.2); }
.chat-panel__close .i { width: 18px; height: 18px; }

.chat-panel__body { flex: 1; min-height: 120px; overflow-y: auto; padding: 18px; background: var(--bg); overscroll-behavior: contain; }
.chat-msg { max-width: 85%; margin-bottom: 10px; }
.chat-msg p { padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.chat-msg small { display: block; margin: 0 6px 3px; font-size: 11.5px; color: var(--muted); }
.chat-msg--admin p { background: var(--white); color: var(--dark); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg--intro p + p { margin-top: 0; }
.chat-msg--visitor { margin-left: auto; text-align: right; }
.chat-msg--visitor p { display: inline-block; text-align: left; background: var(--gold-grad); color: var(--white); border-bottom-right-radius: 4px; }
.chat-msg--visitor a { color: inherit; text-decoration: underline; }
.chat-msg--admin a { color: var(--gold-2); text-decoration: underline; }
.chat-sys { margin: 12px 0; text-align: center; font-size: 12.5px; color: var(--muted); }

.chat-start, .chat-compose, .chat-ended { padding: 14px 16px 16px; border-top: 1px solid var(--line); background: var(--white); }
.chat-start { display: grid; gap: 8px; }
.chat-start__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chat-start input, .chat-start textarea, .chat-compose textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 14.5px; resize: none; transition: border-color .2s, background .2s; }
.chat-start input:focus, .chat-start textarea:focus, .chat-compose textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.chat-start .btn { min-height: 46px; }
.chat-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.chat-legal { font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.chat-legal a { color: var(--gold-2); text-decoration: underline; }
.chat-error { font-size: 13px; color: #B23A2F; }
.chat-compose__row { display: flex; align-items: flex-end; gap: 8px; }
.chat-compose textarea { min-height: 44px; max-height: 140px; }
.chat-compose .chat-error { margin-bottom: 8px; }
.chat-send { width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--gold-grad); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.chat-send .i { width: 20px; height: 20px; }
.chat-ended { text-align: center; display: grid; gap: 10px; justify-items: center; font-size: 14px; }
.chat-ended[hidden], .chat-start[hidden], .chat-compose[hidden] { display: none; }

@media (max-width: 560px) {
    .chat-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
    body:has(.sticky-buy.is-on) .chat-fab { bottom: 92px; }
    .chat-panel, body:has(.sticky-buy.is-on) .chat-panel { left: 8px; right: 8px; bottom: 84px; width: auto; max-height: calc(100dvh - 100px); border-radius: 20px; }
    .chat-start__row { grid-template-columns: 1fr; }
    .chat-start input, .chat-start textarea, .chat-compose textarea { font-size: 16px; } /* bez powiększania na iOS */
}
@media print { .chat { display: none; } }

/* odpowiedź na czacie z linku w e-mailu (front/chat-reply.htm) – widok pod telefon */
.creply-page { background: var(--bg); }
.creply { display: flex; flex-direction: column; height: 100dvh; max-width: 760px; margin: 0 auto; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.creply__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top)); background: var(--dark-marble); color: var(--white); }
.creply__head img { width: 40px; height: 40px; border-radius: 50%; background: var(--white); padding: 6px; object-fit: contain; }
.creply__head > div { min-width: 0; }
.creply__head strong { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.creply__head span, .creply__head a { font-size: 12.5px; color: rgba(255,255,255,.75); }
.creply__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); flex-shrink: 0; }
.creply__dot.is-on { background: #5BC98A; box-shadow: 0 0 0 3px rgba(91,201,138,.25); }
.creply__info { padding: 8px 16px; font-size: 12.5px; color: var(--muted); background: var(--gold-50); border-bottom: 1px solid var(--line); }
.creply__info a { color: var(--gold-2); text-decoration: underline; }
.creply__thread { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg); overscroll-behavior: contain; }
.creply__msg { max-width: 85%; margin-bottom: 10px; }
.creply__msg small { display: block; margin: 0 6px 3px; font-size: 11.5px; color: var(--muted); }
.creply__msg p { padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--white); border: 1px solid var(--line); color: var(--dark); border-bottom-left-radius: 4px; }
.creply__msg--admin { margin-left: auto; text-align: right; }
.creply__msg--admin p { display: inline-block; text-align: left; background: var(--gold-grad); color: var(--white); border: 0; border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
.creply__form { padding: 10px 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.creply__form textarea { width: 100%; min-height: 44px; max-height: 160px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 16px; resize: none; }
.creply__form textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.creply__form .chat-error { margin-bottom: 8px; }
.creply__mail { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--text); }
.creply__mail input { width: 18px; height: 18px; accent-color: var(--gold-2); }

/* polecane produkty na stronie produktu: 5 w rzędzie, potem 4, 3, a na telefonie 2 kolumny × 2 rzędy */
.products.products--related { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) { .products.products--related { grid-template-columns: repeat(4, 1fr); } .products--related > :nth-child(n+5) { display: none; } }
@media (min-width: 601px) and (max-width: 960px) { .products.products--related { grid-template-columns: repeat(3, 1fr); } .products--related > :nth-child(n+4) { display: none; } }
@media (max-width: 600px) { .products.products--related { grid-template-columns: 1fr 1fr; } }
