/* Rubikon 3D - style strony. Font: Space Grotesk (OFL), pliki lokalne, bez Google Fonts. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(/assets/fonts/space-grotesk-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(/assets/fonts/space-grotesk-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #C8102E;
  --accent-dark: #A50D26;
  --ink: #1A1617;
  --muted: #57514F;
  --line: #EDE3E5;
  --tint: #FBEFF1;
  --soft: #FAF6F6;
  --on-accent: #FFE9EC;
  --max: 1136px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: #FFFFFF; line-height: 1.5; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.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; }
section[id], main [id] { scroll-margin-top: 120px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* Pasek wersji testowej */
.testbar { background: var(--ink); color: #FFFFFF; font-size: 13px; text-align: center; padding: 6px var(--gutter); }

/* Nagłówek */
.site-header { background: #FFFFFF; border-bottom: 1px solid #EFE6E8; position: sticky; top: 0; z-index: 10; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-tile { width: 40px; height: 40px; border-radius: 9px; background: var(--accent); color: var(--accent); display: grid; place-items: center; flex: none; }
.logo-tile svg { width: 26px; height: 30px; stroke-width: 12; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 22px; font-weight: 700; letter-spacing: 0.02em; }
.logo-sub { font-size: 11px; font-weight: 500; letter-spacing: 0.24em; color: var(--muted); margin-top: 4px; }
.actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--soft); }
.badge { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #FFFFFF; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.lang { display: flex; border: 1px solid #E3D9DB; border-radius: 10px; padding: 3px; gap: 2px; }
.lang a { min-width: 36px; height: 36px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.lang a[aria-current="page"] { background: var(--ink); color: #FFFFFF; }
.lang a[hidden] { display: none; }
.lang a:not([aria-current]):hover { background: var(--soft); color: var(--ink); }
.header-search { flex: 1 1 320px; max-width: 480px; display: flex; align-items: center; position: relative; }
.header-search input { width: 100%; height: 44px; padding: 0 48px 0 16px; border: 1.5px solid #D8CDD0; border-radius: 11px; font: inherit; font-size: 15px; color: var(--ink); background: var(--soft); }
.header-search input::placeholder { color: #8A8183; }
.header-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); background: #FFFFFF; }
.header-search button { position: absolute; right: 3px; width: 40px; height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.header-search button:hover { background: var(--tint); color: var(--accent); }
.search-toggle { display: none; }
.cats { border-top: 1px solid #F3ECEE; }
.cats ul { list-style: none; margin: 0 auto; max-width: var(--max); padding-inline: calc(var(--gutter) - 10px); display: flex; gap: 2px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.cats ul::-webkit-scrollbar { display: none; }
.cats a { display: block; padding: 12px 10px; font-size: 14px; font-weight: 500; text-decoration: none; }
.cats a:hover { color: var(--accent); }
.cats .all { color: var(--accent); font-weight: 700; }
.cats .push { margin-left: auto; }

/* Baner */
.hero { position: relative; overflow: hidden; background: var(--accent); color: #FFFFFF; }
.hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.13; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding-block: 22px 84px; }
.hero-text { flex: 0 0 auto; width: 100%; min-width: 0; max-width: 800px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; }
.hero .eyebrow, .hero .lead { color: var(--on-accent); }
h1 { margin: 0; font-size: clamp(30px, 2.6vw, 38px); line-height: 1.08; font-weight: 700; letter-spacing: -0.01em; }
.lead { margin: 0; font-size: clamp(16px, 1.25vw, 17px); line-height: 1.55; max-width: 760px; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 12px; border: 2px solid transparent; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-white { background: #FFFFFF; color: var(--accent); }
.btn-white:hover { background: var(--on-accent); }
.btn-ghost { border-color: #FFFFFF; color: #FFFFFF; font-weight: 600; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-accent { background: var(--accent); color: #FFFFFF; }
.btn-accent:hover { background: var(--accent-dark); }
.tags { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; font-size: 16px; font-weight: 500; }
.hero-cube { flex: 0 0 auto; order: -1; min-width: 0; display: flex; justify-content: center; color: var(--accent); }
.hero-cube svg { width: 100%; max-width: 96px; height: auto; stroke-width: 2.5; }
.hero :focus-visible, .contact :focus-visible { outline-color: #FFFFFF; }

/* Kalkulator druku na zamówienie */
.calc-wrap { position: relative; padding-inline: var(--gutter); }
.calc { max-width: var(--max); margin: -64px auto 0; position: relative; background: #FFFFFF; border-radius: 18px; box-shadow: 0 16px 40px rgba(26, 22, 23, 0.14); padding: clamp(18px, 2.6vw, 28px); display: grid; gap: 18px 28px; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); grid-template-areas: "head head" "stage panel"; }
.calc-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.calc-head > div { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.calc-head .eyebrow { color: var(--accent); }
.calc-head h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.calc-sub { margin: 0; color: var(--muted); font-size: 15.5px; }
.calc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: krok; font-size: 14px; color: var(--muted); }
.calc-steps li { display: flex; align-items: center; gap: 8px; }
.calc-steps li::before { counter-increment: krok; content: counter(krok); width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--tint); color: var(--accent); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.calc-steps strong { color: var(--ink); font-weight: 600; }
.calc-body { display: contents; }
.calc-stage { grid-area: stage; position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.calc-drop { flex: 1; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 32px 24px; text-align: center; border: 2px dashed #D8CDD0; border-radius: 14px; background: var(--soft); color: var(--accent); cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.calc-drop:hover, .calc-drop.is-over { border-color: var(--accent); background: var(--tint); }
.calc-drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc-drop svg { margin-bottom: 6px; }
.calc-drop-main { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.calc-drop-title { font-size: 17px; font-weight: 600; color: var(--ink); }
.calc-drop-sub { font-size: 14px; color: var(--muted); }
.calc-drop-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.calc-privacy { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); text-align: center; }
.calc.has-model .calc-privacy { text-align: left; }
.calc-canvas { display: none; position: relative; flex: 1; min-height: 300px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, #F4ECED 100%); overflow: hidden; cursor: grab; touch-action: none; }
.calc-canvas:active { cursor: grabbing; }
.calc-canvas canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.calc-busy { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, 0.82); font-weight: 600; color: var(--accent); }
.calc-busy[hidden] { display: none; }
.calc-file-bar { display: none; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.calc-file-bar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calc-file-bar button { flex: none; min-height: 36px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 9px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.calc-file-bar button:hover { border-color: var(--accent); color: var(--accent); }
.calc.has-model .calc-drop { display: none; }
.calc.has-model .calc-canvas { display: block; }
.calc.has-model .calc-file-bar { display: flex; }
.calc-panel { grid-area: panel; display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; min-width: 0; }
.calc-fields { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px 10px; }
.calc-field-wide { grid-column: 1 / -1; }
.calc-use { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc-use legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.calc-use-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.calc-use-option { position: relative; display: block; cursor: pointer; }
.calc-use-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-use-option span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 10px 12px; border: 1.5px solid #D8CDD0; border-radius: 10px; font-size: 13px; line-height: 1.35; color: var(--muted); background: #FFFFFF; }
.calc-use-option strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.calc-use-option:hover span { border-color: #C9B6BB; }
.calc-use-option input:checked + span { border-color: var(--accent); background: var(--tint); box-shadow: inset 0 0 0 1px var(--accent); }
.calc-use-option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.calc-field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.calc-field select, .calc-field input { width: 100%; height: 46px; padding: 0 12px; border: 1.5px solid #D8CDD0; border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #FFFFFF; }
.calc-field select:focus, .calc-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.calc-result { margin: 0; display: flex; flex-direction: column; }
.calc-result div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #F3ECEE; font-size: 14.5px; }
.calc-result dt { color: var(--muted); }
.calc-result abbr { text-decoration: none; cursor: help; white-space: nowrap; }
.calc-result dd { margin: 0; font-weight: 600; text-align: right; }
.calc-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--tint); }
.calc-price span { font-size: 14px; font-weight: 600; color: var(--muted); }
.calc-price strong { font-size: 26px; line-height: 1.1; color: var(--accent); text-align: right; }
.calc-price strong.is-text { font-size: 17px; white-space: nowrap; }
.calc-exact { margin: -6px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.calc-exact[hidden] { display: none; }
.calc-exact-bar { display: block; height: 4px; border-radius: 2px; background: #F3ECEE; overflow: hidden; }
.calc-exact-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.25s linear; }
.calc-exact:not([data-state="busy"]) .calc-exact-bar { display: none; }
.calc-exact[data-state="done"] { color: #1E6B3A; }
.calc-mat-info { margin: -2px 0 0; padding: 10px 12px; border-radius: 10px; background: #F7F3F4; font-size: 13px; line-height: 1.45; color: var(--muted); }
.calc-mat-info strong { color: var(--ink); }
.calc-mat-info span { display: block; margin-top: 4px; }
.calc-mat-info[hidden], .calc-colors[hidden] { display: none; }
.calc-colors { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc-colors legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.calc-color-options { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-color { position: relative; cursor: pointer; }
.calc-color input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-color span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 8px; border: 1.5px solid #D8CDD0; border-radius: 999px; font-size: 14px; color: var(--ink); background: #FFFFFF; }
.calc-color i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.18); flex: none; }
.calc-color i.is-other { background: conic-gradient(#C8102E, #F2B705, #2E9E4F, #2364C8, #8E3FB5, #C8102E); }
.calc-color:hover span { border-color: #C9B6BB; }
.calc-color input:checked + span { border-color: var(--accent); background: var(--tint); box-shadow: inset 0 0 0 1px var(--accent); }
.calc-color input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc-info { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.calc-info[hidden] { display: none; }
.calc-warn, .calc-error { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.calc-warn { background: #FFF4DE; color: #6B4700; }
.calc-error { background: var(--tint); color: var(--accent-dark); font-weight: 600; }
.calc-warn[hidden], .calc-error[hidden] { display: none; }
.calc-send { justify-content: center; width: 100%; }
.calc-send:disabled { opacity: 0.45; cursor: default; }
.calc-send:disabled:hover { background: var(--accent); }
.calc-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.calc-add { width: 100%; justify-content: center; }
.calc-add:disabled { opacity: 0.45; cursor: default; }
.calc-add:disabled:hover { background: #FFFFFF; }
.calc-items[hidden] { display: none; }
.calc-items-title { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.calc-items-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.calc-items-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.calc-item-name { font-weight: 600; overflow-wrap: anywhere; }
.calc-item-meta { grid-column: 1; color: var(--muted); }
.calc-items-list button { grid-column: 2; grid-row: 1 / span 2; border: 0; background: none; color: var(--accent); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px; }

.calc-note a { color: var(--accent); font-weight: 600; }

/* Sekcje */
.section { padding-block: 72px; }
.section.soft { background: var(--soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.more { font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; padding: 10px 0; }
.more:hover { text-decoration: underline; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

.cat { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #FFFFFF; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.cat:hover { border-color: #E2C9CE; box-shadow: 0 6px 18px rgba(26, 22, 23, 0.06); }
.cat-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--tint); color: var(--accent); display: grid; place-items: center; flex: none; }
.cat-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cat-title { font-size: 18px; font-weight: 600; }
.cat-desc { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.cat-link { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 6px; }

.products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 4 / 3; background: #F6E3E6; color: var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.card-img span { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent); }
.card h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 18px; font-weight: 700; }
.btn-outline { height: 44px; padding: 0 16px; border: 1.5px solid var(--accent); border-radius: 10px; background: #FFFFFF; color: var(--accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.btn-outline:hover { background: var(--tint); }

/* Okno zapytania */
.inq { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 24px 60px rgba(26, 22, 23, 0.3); color: var(--ink); }
.inq::backdrop { background: rgba(26, 22, 23, 0.55); }
.inq-form, .inq-done { display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 4vw, 28px); }
.inq-form[hidden], .inq-done[hidden] { display: none; }
.inq-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.inq h2 { font-size: 22px; }
.inq-close { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.inq-close:hover { background: var(--soft); }
.inq-summary { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--tint); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.inq-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.inq-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.inq-field span { font-size: 13px; font-weight: 600; color: var(--muted); }
.inq-field input, .inq-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #D8CDD0; border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #FFFFFF; }
.inq-field textarea { resize: vertical; }
.inq-field input:focus, .inq-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.inq-turnstile:empty { display: none; }
.inq-submit { justify-content: center; }
.inq-submit:disabled { opacity: 0.6; cursor: progress; }
.inq-legal { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.inq-done p { margin: 0; font-size: 16px; line-height: 1.5; }
.inq-done .btn { align-self: flex-start; }

/* Dlaczego */
.why { padding-block: 56px; background: var(--soft); border-top: 1px solid #F1E8EA; }
.why h2 { font-size: 22px; margin-bottom: 24px; }
.why .grid { gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.why svg { color: var(--accent); }
.why h3 { margin: 10px 0 0; font-size: 16px; font-weight: 600; }
.why p { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }

/* Kontakt */
.contact { padding-block: 64px; background: var(--accent); color: #FFFFFF; }
.contact .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; }
.contact-text { flex: 1 1 380px; min-width: 0; }
.contact-text p { margin: 10px 0 0; font-size: 17px; color: var(--on-accent); }
.contact ul { flex: 0 1 380px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.contact a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: #FFFFFF; text-decoration: none; font-size: 16px; font-weight: 500; }
.contact a:hover { text-decoration: underline; }

/* Stopka */
.site-footer { background: var(--ink); color: #E9E2E3; padding-block: 56px 28px; }
.site-footer .logo { color: #FFFFFF; }
.site-footer .logo-sub { color: #B8AEB0; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.foot-grid .logo { display: flex; padding: 0; }
.foot-about p { margin: 14px 0 0; font-size: 14px; color: #B8AEB0; max-width: 260px; }
.foot-grid h2 { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: #B8AEB0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid a, .foot-grid li > span { display: block; padding: 6px 0; font-size: 15px; color: #E9E2E3; text-decoration: none; }
.foot-grid li > span { color: #B8AEB0; }
.foot-grid a:hover { color: #FFFFFF; text-decoration: underline; }
.foot-grid .foot-social { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; row-gap: 0; }
.foot-grid .foot-social a { display: inline-flex; align-items: center; gap: 7px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) max-content; } }
.foot-social svg { flex: none; width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid #3A3234; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: #B8AEB0; }

/* Strona błędu */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px var(--gutter); }
.error-page h1 { font-size: clamp(32px, 5vw, 48px); }
.error-page p { color: var(--muted); margin: 14px 0 24px; }

@media (max-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "panel"; }
  .tags li[aria-hidden] { display: none; }
}

@media (max-width: 760px) {
  .header-search { display: none; order: 3; flex: 1 1 100%; max-width: none; }
  .search-open .header-search { display: flex; }
  .search-toggle { display: grid; }
  .search-open .search-toggle { background: var(--tint); color: var(--accent); }
}

@media (max-width: 640px) {
  .hero-cube { display: none; }
  .lang a { min-width: 32px; }
  .tags { flex-direction: column; gap: 6px; }
  .tags li[aria-hidden] { display: none; }
  .section { padding-block: 56px; }
  .calc { margin-top: -56px; }
  .calc-panel { padding: 14px; }
}

@media (max-width: 420px) {
  .bar { gap: 10px; }
  .actions { gap: 2px; }
  .icon-btn { width: 40px; }
  .lang a { min-width: 28px; height: 34px; }
  .logo-name { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Katalog: karty produktów, listy i strona produktu */
.card { position: relative; transition: border-color 0.15s, box-shadow 0.15s; }
.card:hover { border-color: #E2C9CE; box-shadow: 0 6px 18px rgba(26, 22, 23, 0.06); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card .btn-outline { display: inline-flex; align-items: center; }
.price-soon { font-size: 14px; font-weight: 600; color: var(--muted); }
.page { padding-block: 8px 72px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-block: 18px 6px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.page-head { margin: 14px 0 28px; }
.page-head p { margin: 8px 0 0; color: var(--muted); max-width: 640px; }
.page-empty { margin: 0; padding: 28px; border: 1px dashed #D8CDD0; border-radius: 14px; background: var(--soft); color: var(--muted); }
.page-empty a { color: var(--accent); font-weight: 600; }
/* Strona produktu: wiersz 1 - zdjęcie | nagłówek i opcje (dół opcji równo z dołem zdjęcia),
   wiersz 2 - miniatury | przyciski, wiersz 3 - Opis, Pasuje do, W zestawie | Specyfikacja (równy początek). */
.pp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 44px; row-gap: 12px; align-items: start; margin-top: 12px; }
.pp-top > .pp-gallery { grid-column: 1; grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; gap: 12px; align-items: start; }
.pp-top > .pp-buy { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; gap: 12px; align-items: start; }
.pp-buy-main { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-width: 0; }
.pp-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pp-buy-act { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; min-height: 61px; }
.pp-top > .pp-lower { grid-column: 1; grid-row: 3; margin-top: 40px; display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.pp-top > .pp-specbox { grid-column: 2; grid-row: 3; margin-top: 40px; }
.pp-fitbox:empty, .pp-incbox:empty { display: none; }
.pp-media { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pp-buy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.pp-buy .eyebrow { color: var(--accent); }
.pp-buy h1 { font-size: clamp(26px, 3vw, 34px); }
.pp-price { margin: 0; font-size: 28px; font-weight: 700; }
.pp-price.is-soon { font-size: 18px; font-weight: 600; color: var(--muted); }
.pp-buy .btn:disabled { opacity: 0.45; cursor: default; }
.pp-buy .btn:disabled:hover { background: var(--accent); }
.pp-small { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.pp-intro p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.pp-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px 44px; margin-top: 44px; }
.pp-col { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pp-col h2 { font-size: 20px; margin-bottom: 12px; }
.pp-col ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.pp-col ul ul { margin-top: 6px; }
.pp-col .pp-small { margin-top: 10px; }
.pp-spec { width: 100%; border-collapse: collapse; }
.pp-spec th, .pp-spec td { padding: 9px 0; border-bottom: 1px solid #F3ECEE; font-size: 14.5px; text-align: left; vertical-align: top; }
.pp-spec th { width: 42%; padding-right: 16px; font-weight: 400; color: var(--muted); }
.pp-spec td { font-weight: 600; }
.pp-custom { margin-top: 44px; padding: 20px 22px; border-radius: 14px; background: var(--tint); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.pp-custom p { margin: 0; flex: 1 1 320px; }
.pp-legal { margin: 24px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 720px; }
@media (max-width: 760px) {
  .pp-top { display: flex; flex-direction: column; gap: 28px; }
  .pp-top > .pp-gallery, .pp-top > .pp-buy { display: flex; flex-direction: column; gap: 14px; }
  .pp-top > .pp-lower, .pp-top > .pp-specbox { margin-top: 0; }
  .pp-actions { min-height: 0; }
}

.info { max-width: 820px; }
.info section { margin-top: 36px; }
.info h2 { font-size: 20px; margin-bottom: 12px; }
.info p { margin: 0 0 12px; line-height: 1.55; max-width: 680px; }
.info ul { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.ship { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.ship th, .ship td { padding: 12px 14px 12px 0; border-bottom: 1px solid #F3ECEE; text-align: left; font-size: 15px; }
.ship thead th { font-size: 13px; font-weight: 400; color: var(--muted); }
.ship tbody th { font-weight: 600; }
.ship td { font-weight: 600; white-space: nowrap; }

/* Strony prawne: regulamin, polityka prywatności */
.info ol { margin: 0 0 12px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal li { line-height: 1.55; max-width: 680px; }
.legal li > ul { margin: 6px 0 0; gap: 4px; }
.legal h3 { font-size: 16px; margin: 22px 0 8px; }
.legal a { overflow-wrap: anywhere; }
.pp-gallery { display: grid; gap: 12px; min-width: 0; }

/* Galeria zdjęć produktu: jedno zdjęcie na raz, przewijanie (strzałki, miniatury, przesunięcie palcem) */
.pp-stage { position: relative; min-width: 0; }
.pp-track { flex-direction: row; align-items: stretch; justify-content: flex-start; gap: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.pp-track::-webkit-scrollbar { display: none; }
.pp-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; }
.pp-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pp-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); cursor: pointer; box-shadow: 0 2px 8px rgba(26, 22, 23, 0.12); transition: background 0.15s, color 0.15s; }
.pp-nav:hover { background: #fff; color: var(--accent); }
.pp-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pp-prev { left: 12px; }
.pp-next { right: 12px; }
.pp-count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(26, 22, 23, 0.72); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; pointer-events: none; }
.pp-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-thumb { width: 76px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #F6E3E6; cursor: pointer; transition: border-color 0.15s; }
.pp-thumb:hover { border-color: #D8CDD0; }
.pp-thumb.is-on { border-color: var(--accent); }
.pp-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .pp-nav { width: 38px; height: 38px; } .pp-prev { left: 8px; } .pp-next { right: 8px; } .pp-thumb { width: 64px; } }
@media (prefers-reduced-motion: reduce) { .pp-track { scroll-behavior: auto; } }
.legal-fig { margin: 0 0 8px; max-width: 820px; }
.legal-fig img { display: block; width: 100%; height: auto; border-radius: 18px; }
.pp-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.pp-perks li { position: relative; padding-left: 24px; }
.pp-perks li::before { content: ""; position: absolute; left: 3px; top: 0.35em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pp-perks a { color: var(--ink); text-decoration: none; }
.pp-perks a:hover { color: var(--accent); text-decoration: underline; }

/* Strona produktu: wybór wariantu (grupy opcji z catalog/variants/<KOD>.json) i koloru */
.pp-pricebox { display: flex; flex-direction: column; gap: 4px; }
.pp-stock { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.pp-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2E9E4F; flex: none; }
.pp-stock.is-made::before { background: var(--muted); }
.pp-opts { display: flex; flex-direction: column; gap: 16px; width: 100%; min-width: 0; }
.pp-opt { margin: 0; padding: 0; border: 0; min-width: 0; }
.pp-opt legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 6px 14px; border: 1.5px solid #D8CDD0; border-radius: 10px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; line-height: 1.25; text-align: left; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.pp-chip:hover { border-color: #C9B6BB; }
.pp-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--tint); box-shadow: inset 0 0 0 1px var(--accent); }
.pp-chip.is-na { border-style: dashed; background: var(--soft); color: var(--muted); font-weight: 500; }
.pp-chip:disabled { opacity: 0.4; cursor: default; text-decoration: line-through; }
.pp-chip:focus-visible, .pp-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pp-swatch { padding-left: 10px; }
.pp-swatch i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.18); flex: none; }
.pp-swatch i.is-other { background: conic-gradient(#C8102E, #F2B705, #2E9E4F, #2364C8, #8E3FB5, #C8102E); }
.pp-select { width: 100%; max-width: 420px; height: 46px; padding: 0 12px; border: 1.5px solid #D8CDD0; border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #FFFFFF; }
.pp-vfits, .pp-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pp-note { margin-top: 10px; }
.pp-note a { color: var(--accent); font-weight: 600; }
.pp-vfits[hidden], .pp-note[hidden] { display: none; }

/* Wyszukiwarka: podpowiedzi pod polem w nagłówku i strona /szukaj/ */
.search-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(26, 22, 23, 0.14); padding: 6px; max-height: min(70vh, 520px); overflow-y: auto; }
.search-suggest[hidden] { display: none; }
.ss-item { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.ss-item:hover, .ss-item:focus { background: var(--tint); outline: none; }
.ss-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.ss-sub { font-size: 13px; color: var(--muted); }
.ss-all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.ss-empty { margin: 0; padding: 10px 12px; font-size: 14px; color: var(--muted); }
.ss-empty a { color: var(--accent); font-weight: 600; }
.card-vars-h { margin-top: 4px !important; font-size: 13px !important; font-weight: 600; color: var(--ink) !important; }
.card-vars { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.card-vars a { position: relative; z-index: 1; display: inline-block; padding: 4px 9px; border: 1px solid #E2C9CE; border-radius: 999px; font-size: 13px; color: var(--ink); text-decoration: none; background: var(--soft); }
.card-vars a:hover, .card-vars a:focus-visible { border-color: var(--accent); color: var(--accent); }
.card-vars-more { font-size: 13px; color: var(--muted); align-self: center; }
.search-more { margin: 28px 0 0; color: var(--muted); }
.search-more a, .search-part-note a { color: var(--accent); font-weight: 600; }
.search-part { margin: 36px 0 6px; font-size: 20px; }
.search-part-note { margin: 0 0 16px; color: var(--muted); }

/* Powiększanie zdjęć produktu (pełny ekran) */
.pp-gallery > .pp-media { position: relative; }
.pp-media img { cursor: zoom-in; }
.pp-zoom { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); cursor: pointer; }
.pp-zoom:hover { background: #fff; color: var(--accent); }
.pp-zoom:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 17, 18, 0.95); color: #fff; }
.lb[hidden] { display: none; }
.lb-view { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; cursor: zoom-out; }
.lb-img { width: calc(100% - 32px); height: calc(100% - 96px); object-fit: contain; -webkit-user-drag: none; cursor: default; }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.26); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-btn[hidden] { display: none; }
.lb-close { top: 14px; right: 14px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-bar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); font-size: 13px; white-space: nowrap; pointer-events: none; }
.lb-single .lb-bar { display: none; }
@media (max-width: 640px) { .lb-btn { width: 42px; height: 42px; } .lb-prev { left: 6px; } .lb-next { right: 6px; } }

/* Kolor z listy (kalkulator i strony produktów), kropka z próbką koloru w polu. */
.color-wrap { position: relative; }
.calc-field .color-wrap select, .color-wrap .pp-select { padding-left: 42px; }
.color-dot { position: absolute; left: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.2); pointer-events: none; }
.color-dot.is-other { background: conic-gradient(#C8102E, #F2B705, #2E9E4F, #2364C8, #8E3FB5, #C8102E); }
.legal-fig.is-logo { max-width: 200px; }
/* Listy rozwijane bez wyglądu systemowego (Safari ignorował odstęp na kropkę koloru), własna strzałka. */
.calc-field select, .pp-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235E5559' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
.pp-opt .color-wrap { max-width: 420px; }
.pp-mat-info[hidden] { display: none; }

/* Koszyk i strona zamówienia (2026-11-08). */
.pp-added { margin: -4px 0 0; font-size: 14px; color: var(--ink); }
.pp-added a { color: var(--accent); font-weight: 600; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.cart-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.cart-side { position: sticky; top: 16px; }
.cart-box { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #FFFFFF; }
.cart-box h2 { font-size: 18px; margin: 0 0 14px; }
.cart-empty { padding: 32px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid #F3ECEE; }
.cart-line:last-child { border-bottom: 0; }
.cart-line.is-bad { opacity: 0.85; }
.cart-line-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-line-main a { font-weight: 600; color: var(--ink); text-decoration: none; }
.cart-line-main a:hover { color: var(--accent); }
.cart-line-main span { font-size: 13px; color: var(--muted); }
.cart-line-main .cart-made { color: var(--accent); }
.cart-line-main .cart-line-err { color: var(--accent); font-weight: 600; }
.cart-qty { display: inline-flex; align-items: center; border: 1.5px solid #D8CDD0; border-radius: 10px; overflow: hidden; }
.cart-qty button { width: 34px; height: 38px; border: 0; background: #FFFFFF; font: inherit; font-size: 18px; cursor: pointer; color: var(--ink); }
.cart-qty button:hover { background: var(--tint); }
.cart-qty input { width: 44px; height: 38px; border: 0; text-align: center; font: inherit; font-size: 15px; -moz-appearance: textfield; }
.cart-qty input::-webkit-inner-spin-button, .cart-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cart-line-price { text-align: right; font-weight: 700; white-space: nowrap; display: flex; flex-direction: column; }
.cart-line-price small { font-weight: 400; font-size: 12px; color: var(--muted); }
.cart-remove { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.cart-remove:hover { color: var(--accent); }
.cart-options { display: flex; flex-direction: column; gap: 8px; }
.cart-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid #D8CDD0; border-radius: 12px; cursor: pointer; }
.cart-opt:has(input:checked) { border-color: var(--accent); background: var(--tint); }
.cart-opt.is-off { opacity: 0.55; cursor: default; }
.cart-opt input { accent-color: var(--accent); margin: 0; }
.cart-opt-name { flex: 1; min-width: 0; font-size: 15px; }
.cart-opt-price { font-weight: 700; white-space: nowrap; }
.cart-free-text { margin: 0 0 6px; font-size: 14px; }
.cart-free-text.is-free { color: #1E7A3C; font-weight: 600; }
.cart-bar { height: 6px; border-radius: 3px; background: #F3ECEE; margin-bottom: 14px; overflow: hidden; }
.cart-bar i { display: block; height: 100%; background: var(--accent); }
.cart-point { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.cart-points { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow: auto; }
.cart-pt .cart-opt-name { font-size: 14px; }
.cart-chosen { margin: 0; font-size: 14px; }
.cart-search { display: flex; gap: 8px; }
.cart-search input { flex: 1; min-width: 0; }
.cart-form { display: flex; flex-direction: column; gap: 12px; }
.cart-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; }
.cart-point .cart-row { grid-template-columns: 160px minmax(0, 1fr); }
.cart-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-field > span:first-child { font-size: 13px; font-weight: 600; color: var(--muted); }
.cart-field input, .cart-field textarea { width: 100%; height: 46px; padding: 0 12px; border: 1.5px solid #D8CDD0; border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #FFFFFF; }
.cart-field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.cart-field input:focus, .cart-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.cart-sum p { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 15px; }
.cart-sum .cart-total { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.cart-check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 12px; font-size: 14px; line-height: 1.45; }
.cart-check input { margin-top: 3px; accent-color: var(--accent); }
.cart-check a, .cart-small a { color: var(--accent); }
.cart-ts { min-height: 66px; margin-bottom: 12px; }
.cart-submit { width: 100%; justify-content: center; }
.cart-submit:disabled { opacity: 0.6; cursor: default; }
.cart-error { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--tint); color: var(--accent-dark); font-size: 14px; font-weight: 600; }
.cart-error[hidden] { display: none; }
.cart-small { margin: 10px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.order-lead { font-size: 18px; font-weight: 600; margin: 0 0 20px; }
.order-grid { max-width: 720px; display: flex; flex-direction: column; gap: 20px; }
.order-grid > div { display: flex; flex-direction: column; gap: 20px; }
.order-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 10px; }
.order-row span { width: 140px; color: var(--muted); font-size: 14px; }
.order-row b { font-size: 16px; word-break: break-all; }
.order-copy { border: 1.5px solid var(--accent); background: #FFFFFF; color: var(--accent); border-radius: 8px; padding: 4px 10px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.order-items { list-style: none; padding: 0; margin: 0 0 14px; }
.order-items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #F3ECEE; font-size: 15px; }
@media (max-width: 860px) {
  .cart-grid { grid-template-columns: 1fr; }
  .cart-side { position: static; }
}
@media (max-width: 560px) {
  .cart-line { grid-template-columns: minmax(0, 1fr) auto; }
  .cart-line-main { grid-column: 1 / -1; }
  .cart-remove { justify-self: start; }
  .cart-row, .cart-point .cart-row { grid-template-columns: 1fr; }
  .order-row span { width: 100%; }
}

/* Konto klienta (/konto/) i ulubione */
.pp-fav { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.pp-fav:hover, .pp-fav[aria-pressed="true"] { color: var(--accent); }
.pp-fav:disabled { opacity: 0.6; cursor: default; }
#account-app .cart-box { margin-bottom: 18px; }
.acc-login { max-width: 560px; }
.acc-login .btn, .acc-login .btn-outline { margin-top: 10px; }
.acc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.acc-head p { margin: 0; }
.acc-order { border-top: 1px solid var(--line); padding: 14px 0; }
.acc-order:first-child { border-top: 0; padding-top: 0; }
.acc-order-head { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.acc-order ul { margin: 8px 0; padding-left: 18px; }
.acc-status { font-size: 14px; font-weight: 600; color: var(--muted); }
.acc-oplacone, .acc-wyslane { color: #1a7f37; }
.acc-oczekuje_na_platnosc { color: var(--accent); }
.acc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 6px 0 0; }
.acc-favs { list-style: none; margin: 0; padding: 0; }
.acc-favs li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.acc-favs li:first-child { border-top: 0; }
.acc-favs li a { flex: 1; }
.acc-promo { margin-top: 18px; }
#account-app .cart-box > .cart-small { margin: 0 0 14px; }

/* Opis materiału pod listą - tej samej szerokości co lista; cena w kolorze marki */
.pp-mat-info { max-width: 420px; }
.pp-price { color: var(--accent); }
.pp-top.pp-free > .pp-gallery { display: flex; flex-direction: column; gap: 12px; }
.pp-top.pp-free > .pp-buy { display: flex; flex-direction: column; gap: 14px; }
.pp-top.pp-free .pp-actions { min-height: 0; }

/* Ciaśniejszy blok zakupu: dół opcji równo z dołem zdjęcia także przy dłuższych nazwach */
.pp-head { gap: 8px; }
.pp-buy-main { gap: 14px; }
.pp-opts { gap: 12px; }
.pp-opt legend { margin-bottom: 6px; }
.pp-buy-act { gap: 10px; }
@media (min-width: 761px) { .pp-top > .pp-lower, .pp-top > .pp-specbox { margin-top: 28px; } }
