/* SJ Jubiler. Arkusz stylów sklepu. */

@font-face { font-family: 'Karla'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/karla-latin-ext.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: 'Karla'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/karla-latin.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 {
  --ink: #171717;
  --ink-2: #4a4a4a;
  --muted: #86827d;
  --line: #e8e5e0;
  --line-2: #d3cfc8;
  --bg: #ffffff;
  --ivory: #f7f5f2;
  --cream: #f3efe9;
  --tile: #f5f3f0;
  --champagne: #a8894f;
  --footer: #161616;
  --sale: #b1261c;
  --ok: #2d6a4b;
  --warn: #8a5d0c;
  /* Kolor przewodni nadpisuje panel (Ustawienia, Wygląd). Domyślnie czerń. */
  --accent: #1a1a1a;
  --accent-2: #3b3b3b;
  --accent-deep: #1a1a1a;
  --accent-tint: #efefef;
  --accent-soft: #c6c6c6;
  --on-accent: #ffffff;
  --gold: var(--accent);
  --gold-2: var(--accent);
  --sans: 'Karla', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: var(--sans);
  --wrap: 1360px;
  --gut: clamp(16px, 3vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15.5px/1.6 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 400; line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(26px, 2.6vw, 34px); }
h2 { font-size: clamp(21px, 2vw, 26px); }
h3 { font-size: 16px; font-weight: 600; }
.serif { font-family: var(--sans); font-weight: 400; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent-soft); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 820px; }
.section { padding: clamp(40px, 5vw, 72px) 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.link { font-weight: 500; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link:hover { color: var(--accent); }
.link:hover .ic { transform: translateX(3px); }
.ulink { font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--line-2); }
.ulink:hover { color: var(--accent); text-decoration-color: currentColor; }

/* ---------- Przyciski i formularze ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 30px; border: 1px solid var(--accent); border-radius: 0;
  background: var(--accent); color: var(--on-accent); text-decoration: none; text-align: center;
  font: 500 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn--ghost { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--accent-tint); border-color: var(--accent-tint); color: var(--ink); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 38px; padding: 8px 18px; font-size: 12px; }
.btn .ic { width: 18px; height: 18px; }
.btn-text { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; color: inherit; font-size: 14px; }
.btn-text:hover { text-decoration-color: currentColor; }

.field { margin-bottom: 16px; }
.field label, .label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field .err, .form-error { color: var(--sale); font-size: 13.5px; margin-top: 6px; }
.input, select.input, textarea.input {
  display: block; width: 100%; min-height: 46px; padding: 11px 14px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 0; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-tint); }
.field.has-error .input { border-color: var(--sale); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f1f1f' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.row { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .row--2 { grid-template-columns: 1fr 1fr; } .row--3 { grid-template-columns: 1fr 1fr 1fr; } .row--pc { grid-template-columns: 140px 1fr; } }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.check input { flex: none; appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ''; width: 10px; height: 6px; border-left: 1.8px solid #fff; border-bottom: 1.8px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.check input[type="radio"] { border-radius: 50%; }
.check input[type="radio"]:checked::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.check a { text-decoration: underline; }
.field label.check, .opt-extra label.check { display: flex; font-size: 14.5px; font-weight: 400; margin-bottom: 0; letter-spacing: 0; }
.opt-extra .opts { gap: 12px; }

.alert { padding: 14px 16px; border: 1px solid var(--line-2); background: var(--ivory); font-size: 15px; margin-bottom: 16px; display: flex; gap: 12px; align-items: flex-start; }
.alert .ic { flex: none; margin-top: 1px; }
.alert--success { border-color: #b9d3c3; background: #f1f7f3; color: #1e4d35; }
.alert--error { border-color: #e2bcbc; background: #fbf2f2; color: #6e2020; }
.alert--info { border-color: var(--line-2); }
.flash-stack { margin: 18px 0 0; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; font: 500 10.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--cream); color: var(--ink-2); }
.badge--sale { background: var(--accent); color: #fff; }
.badge--soft { background: #fff; color: var(--ink-2); }
.badge .ic { width: 14px; height: 14px; }

/* ---------- Nagłówek ---------- */
.topbar { background: var(--accent); color: #fff; font-size: 12.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 36px; }
.topbar p { font-weight: 500; letter-spacing: .06em; text-align: center; padding: 6px 0; }
.topbar a { color: inherit; text-decoration: none; }
.topbar__side { display: none; }
@media (min-width: 1024px) {
  .topbar .wrap { display: grid; grid-template-columns: 1fr auto 1fr; }
  .topbar__side { display: flex; gap: 22px; align-items: center; }
  .topbar__side:last-child { justify-content: flex-end; }
  .topbar__side a { display: inline-flex; align-items: center; gap: 7px; opacity: .88; }
  .topbar__side a:hover { opacity: 1; }
  .topbar__side .ic { width: 15px; height: 15px; }
}

.header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.header__logo { display: block; justify-self: center; }
.header__logo img { height: 36px; width: auto; }
@media (min-width: 480px) { .header__logo img { height: 40px; } }
.header__left { display: flex; align-items: center; gap: 2px; }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 44px; border: 0; background: none; color: var(--ink); text-decoration: none; }
.icon-btn:hover { color: var(--accent); }
.icon-btn .count { position: absolute; top: 6px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 600 11px/18px var(--sans); text-align: center; }
.icon-btn .count[hidden] { display: none; }
.hide-mobile { display: none !important; }
.nav { display: none; }
.header__nav { display: none; }
@media (min-width: 1100px) { .header__nav { display: block; height: 100%; } }

@media (min-width: 1100px) {
  .header__bar { grid-template-columns: auto 1fr auto; gap: 28px; }
  .header__logo { justify-self: start; }
  .header__logo img { height: 44px; }
  .header__left { display: none; }
  .hide-mobile { display: inline-grid !important; }
  .nav { display: flex; justify-content: flex-start; gap: 0; height: 100%; margin: 0; padding: 0; }
  .nav > li { list-style: none; display: flex; align-items: stretch; }
  .nav__link { display: flex; align-items: center; gap: 4px; padding: 0 10px; font: 400 13px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; border: 0; background: none; position: relative; white-space: nowrap; color: var(--ink); }
  .nav__link::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 22px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav__link:hover, .nav__item.is-open .nav__link, .nav__link.is-current { color: var(--accent); }
  .nav__link:hover::after, .nav__item.is-open .nav__link::after, .nav__link.is-current::after { transform: scaleX(1); }
  .nav__link--sale { color: var(--accent); }
  .nav__link .ic { width: 13px; height: 13px; transition: transform .2s; }
  .nav__item.is-open .nav__link .ic { transform: rotate(180deg); }
  .mega, .dd { background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; }
  .mega { position: absolute; left: 0; right: 0; top: 100%; border-bottom: 1px solid var(--line); }
  .nav__item--dd { position: relative; }
  .dd { position: absolute; left: 0; top: 100%; min-width: 250px; padding: 18px 22px 20px; }
  .dd--wide { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; min-width: 440px; }
  .nav__item.is-open .mega, .nav__item.is-open .dd { opacity: 1; visibility: visible; transform: none; }
  .mega__inner { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, .9fr) 240px; gap: 44px; padding: 32px var(--gut) 36px; max-width: var(--wrap); margin: 0 auto; }
  .mega__cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 28px; align-content: start; }
  .mega__cats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega__parent { display: block; font: 500 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; margin-bottom: 10px; color: var(--ink); }
  .mega__parent:hover { color: var(--accent); }
  .mega h4, .dd h4 { font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
  .mega__side h4 + ul { margin-bottom: 22px; }
  .mega ul, .dd ul { list-style: none; margin: 0; padding: 0; }
  .mega li a, .dd li a { display: block; padding: 4px 0; text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
  .mega li a:hover, .dd li a:hover { color: var(--accent); }
  .dd--salons li a { display: grid; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .dd--salons li:last-child a { border-bottom: 0; font-size: 14px; color: var(--accent); }
  .dd--salons li a span { font-size: 13px; color: var(--muted); }
  .dd--salons li a strong { font-weight: 600; color: var(--ink); }
  .mega__feature { display: flex; flex-direction: column; gap: 4px; text-decoration: none; text-align: center; }
  .mega__feature-img { display: block; aspect-ratio: 1; background: var(--tile); margin-bottom: 8px; }
  .mega__feature-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
  .mega__feature-name { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
  .mega__feature .price { justify-content: center; }
  .mega__feature:hover .mega__feature-name { color: var(--accent); }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .nav__link { padding: 0 7px; font-size: 12.5px; letter-spacing: .05em; }
  .nav__link::after { left: 7px; right: 7px; }
  .header__bar { gap: 16px !important; }
  .mega__cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Szuflady: menu, koszyk, filtry */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; transition: transform .3s var(--ease); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); min-height: 64px; }
.drawer__title, .drawer__head .serif { font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 24px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 16px 20px 18px; background: #fff; }
.mnav { list-style: none; margin: 0; padding: 0; }
.mnav > li { border-bottom: 1px solid var(--line); }
.mnav a, .mnav summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; text-decoration: none; font: 500 13.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] > summary .ic { transform: rotate(180deg); }
.mnav summary .ic { transition: transform .2s; width: 16px; }
.mnav ul { list-style: none; margin: 0 0 12px; padding: 0 0 0 2px; }
.mnav ul a { font: 400 15.5px/1.2 var(--sans); letter-spacing: 0; text-transform: none; padding: 10px 0; }
.mnav details.mnav__sub > summary { font: 400 15.5px/1.2 var(--sans); letter-spacing: 0; text-transform: none; padding: 10px 0; }
.mnav details.mnav__sub > ul { padding-left: 14px; border-left: 1px solid var(--accent-soft); margin: 0 0 8px 2px; }
.mnav details.mnav__sub > ul a { font-size: 15px; color: var(--ink-2); padding: 8px 0; }
.static-bar { background: var(--ink); color: #eee; font-size: 12.5px; text-align: center; padding: 6px var(--gut); }
.drawer__contact { margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.drawer__contact a { display: flex; gap: 10px; align-items: center; padding: 6px 0; text-decoration: none; }
.drawer__contact .ic { width: 18px; }

/* Wyszukiwarka */
.search-panel { position: fixed; inset: 0 0 auto; z-index: 90; background: #fff; border-bottom: 1px solid var(--line); transform: translateY(-100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
.search-panel.is-open { transform: none; visibility: visible; box-shadow: 0 30px 50px -40px rgba(0, 0, 0, .5); }
.search-panel form { display: flex; align-items: center; gap: 12px; max-width: 860px; margin: 0 auto; padding: 22px var(--gut); }
.search-panel input { flex: 1; border: 0; border-bottom: 1px solid var(--ink); padding: 12px 0; font: 400 clamp(19px, 2.4vw, 24px)/1.2 var(--sans); outline: none; background: transparent; min-width: 0; }
.search-panel .hint { max-width: 860px; margin: -8px auto 0; padding: 0 var(--gut) 22px; font-size: 14px; color: var(--muted); }
.search-panel .hint a { margin-right: 14px; }

/* ---------- Strona główna: slajdy ---------- */
.hero { position: relative; background: var(--cream); }
.hero__track { position: relative; height: clamp(380px, 38vw, 580px); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.slide__link { position: absolute; inset: 0; z-index: 1; }
.slide__body { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; pointer-events: none; }
.slide__text { max-width: 470px; pointer-events: auto; }
.slide--center .slide__body { justify-content: center; text-align: center; }
.slide__title { font-size: clamp(30px, 3.3vw, 48px); font-weight: 400; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 14px; color: var(--ink); }
.slide__lead { font-size: 17px; line-height: 1.55; color: var(--ink-2); margin: 0 0 26px; }
.slide--light .slide__title, .slide--light .slide__lead { color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
.hero__arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(31, 31, 31, .22); background: rgba(255, 255, 255, .7); color: var(--ink); }
.hero__arrow:hover { background: #fff; border-color: var(--ink); }
.hero__arrow .ic { width: 20px; height: 20px; }
.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.hero__dots button { width: 34px; height: 20px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.hero__dots button::before { content: ''; width: 100%; height: 2px; background: rgba(31, 31, 31, .22); transition: background-color .2s; }
.hero__dots button[aria-current="true"]::before { background: var(--ink); }
@media (max-width: 699px) {
  .hero__track { height: min(125vw, 600px); }
  .slide__body { align-items: flex-start; justify-content: center; text-align: center; padding-top: 30px; }
  .slide__text { max-width: 100%; }
  .slide__title { font-size: 28px; margin-bottom: 8px; }
  .slide__lead { font-size: 15px; margin-bottom: 18px; }
  .slide .btn { min-height: 42px; padding: 10px 22px; }
  .hero__arrow { display: none; }
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Półki z produktami i zakładkami */
.shelf { padding: clamp(40px, 5vw, 68px) 0; }
.shelf__head { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.shelf__title { font-size: clamp(23px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.01em; margin: 0; }
.shelf__more { text-align: center; margin-top: 30px; }
.seg { display: flex; gap: 26px; }
.seg__btn { padding: 6px 0 5px; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); font-size: 15px; white-space: nowrap; transition: color .15s, border-color .15s; }
.seg__btn:hover { color: var(--ink); }
.seg__btn[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 699px) {
  .seg { width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); width: calc(100% + 2 * var(--gut)); }
  .seg::-webkit-scrollbar { display: none; }
}

.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; min-width: 0; }
.rail__track--cats { grid-auto-columns: calc((100% - (var(--n, 4) - 1) * 20px) / var(--n, 4)); }
@media (max-width: 1099px) {
  .rail__track { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; }
  .rail__track--cats { grid-auto-columns: calc((100% - (min(var(--n, 3), 3) - 1) * 16px) / min(var(--n, 3), 3)); }
}
@media (max-width: 699px) {
  .rail__track, .rail__track--cats { grid-auto-columns: 46%; gap: 12px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scroll-padding: 0 var(--gut); }
}
.rail__btn { position: absolute; top: 34%; z-index: 2; transform: translateY(-50%); display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.rail__btn:hover { border-color: var(--ink); }
.rail__btn .ic { width: 18px; height: 18px; }
.rail__btn--prev { left: -14px; }
.rail__btn--next { right: -14px; }
.rail__btn[hidden] { display: none; }
@media (max-width: 699px) { .rail__btn { display: none; } }

/* Kategorie */
.cats { background: var(--ivory); }
.cat { display: block; color: var(--ink); text-decoration: none; }
.cat__img { display: block; aspect-ratio: 1; background: var(--tile); overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.cat__img.is-photo img { object-fit: cover; mix-blend-mode: normal; }
.cat:hover .cat__img img { transform: scale(1.04); }
.cat__name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 12px; font-size: 16px; }
.cat__count { font-size: 13px; color: var(--muted); }
.cats .shelf__head { flex-direction: column; justify-content: center; gap: 8px; margin-bottom: 30px; }
.cats .rail__track--cats { display: flex; gap: clamp(22px, 4vw, 56px); }
.cats .rail__track--cats > :first-child { margin-left: auto; }
.cats .rail__track--cats > :last-child { margin-right: auto; }
.cats .cat { flex: none; width: clamp(118px, 13vw, 180px); text-align: center; }
.cats .cat__img { border-radius: 50%; background: #fff; }
.cats .cat__img img { padding: 11%; }
.cats .cat__img.is-photo img { padding: 0; }
.cats .cat__name { flex-direction: column; align-items: center; gap: 2px; margin-top: 14px; font-size: 15.5px; }
@media (max-width: 699px) {
  .cats .rail__track--cats { gap: 14px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .cats .cat { width: calc((100vw - 2 * var(--gut) - 28px) / 3); }
  .cats .cat__name { font-size: 14px; }
}
.cat:hover .cat__name { text-decoration: underline; text-underline-offset: 4px; }

/* Kafle ze zdjęciami */
.mosaic-wrap { padding: 0 0 clamp(40px, 5vw, 68px); }
.mosaic { display: grid; gap: 14px; }
@media (min-width: 900px) { .mosaic { grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; height: clamp(520px, 48vw, 720px); } .mosaic__item--big { grid-row: span 2; } }
.mosaic__item { position: relative; display: block; overflow: hidden; background: var(--tile); min-height: 240px; color: var(--ink); text-decoration: none; }
@media (max-width: 899px) { .mosaic__item--big { min-height: 380px; } }
.mosaic__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.mosaic__item:hover img { transform: scale(1.03); }
.mosaic__label { position: absolute; left: 20px; bottom: 16px; right: 20px; font-size: 19px; }
.mosaic__item--light .mosaic__label { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }

/* Przewijany pasek z usługami */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 15px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker__list li { display: flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink); }
.ticker__list li::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--champagne); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Salony na stronie głównej */
.shelf--salons { border-top: 0; }
.salon-strip { display: grid; gap: 28px; }
@media (min-width: 700px) { .salon-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.salon-strip__item { padding-top: 18px; border-top: 1px solid var(--ink); }
.salon-strip__item h3 { font-size: 19px; font-weight: 400; margin: 0 0 10px; }
.salon-strip__item p { margin: 0 0 8px; font-size: 15px; color: var(--ink-2); }
.salon-strip__item p.muted { color: var(--muted); font-size: 14px; }
.salon-strip__item a[href^="tel:"] { text-decoration: none; }
.salon-strip__item .ulink { display: inline-block; margin-top: 6px; }

.about { padding: clamp(36px, 4vw, 56px) 0; text-align: center; border-top: 1px solid var(--line); }
.about h2 { font-size: clamp(19px, 1.8vw, 23px); margin-bottom: 14px; }
.about p { color: var(--muted); font-size: 14.5px; max-width: 760px; margin: 0 auto 10px; }

/* Newsletter */
.nl-band { background: var(--cream); }
.nl-band__inner { max-width: 760px; text-align: center; padding-top: clamp(44px, 5vw, 64px); padding-bottom: clamp(44px, 5vw, 64px); }
.nl-band h2 { font-size: clamp(22px, 2.3vw, 30px); margin-bottom: 10px; }
.nl-band p { color: var(--ink-2); margin: 0 auto 24px; max-width: 580px; }
.pct { font-weight: 600; }
.nl-form { display: grid; gap: 14px; max-width: 540px; margin: 0 auto; text-align: left; }
.nl-form__row { display: flex; gap: 0; }
.nl-form__row .input { flex: 1; min-width: 0; }
.nl-form__row .btn { flex: none; }
.nl-form .check { color: var(--ink-2); font-size: 13px; }
.nl-form__msg { font-size: 14.5px; margin: 0; }
.nl-form__msg:empty { display: none; }
.nl-form__msg.is-ok { color: var(--ok); }
.nl-form__msg.is-err { color: var(--sale); }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Korzyści nad stopką */
.perks { background: #fff; border-top: 1px solid var(--line); padding: 38px 0 34px; }
.perks__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
@media (min-width: 900px) { .perks__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.perk { text-align: center; }
.perk .ic { width: 30px; height: 30px; margin: 0 auto 12px; stroke-width: 1.2; color: var(--ink); }
.perk h3 { font: 500 13px/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 4px; }
.perk p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Stopka ---------- */
.footer { background: var(--footer); color: #d9d6d1; font-size: 14px; }
.footer__grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 36px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; } }
.footer h3 { font: 500 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer a { text-decoration: none; color: #d9d6d1; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__brand img { width: 170px; margin-bottom: 18px; }
.footer__company { font-size: 13.5px; color: #9d9892; line-height: 1.7; margin: 0 0 12px; }
.footer__salon { line-height: 1.5; color: #9d9892; margin-bottom: 12px !important; }
.footer__salon strong { font-weight: 500; color: #fff; }
.footer__social { display: flex; gap: 8px; margin-top: 6px; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #3a3a3a; }
.footer__social a:hover { background: #fff; color: var(--footer); border-color: #fff; text-decoration: none; }
.footer__bottom { border-top: 1px solid #2c2c2c; padding-top: 18px; padding-bottom: 24px; font-size: 12.5px; color: #8a857f; }
.footer__bottom, .footer__bottom > .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer__bottom a { color: #8a857f; }

/* ---------- Karta produktu i siatka ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 44px 22px; } }
@media (min-width: 1000px) { .grid--cols-3 { --cols: 3; } .grid--cols-4 { --cols: 4; } }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; text-align: center; }
.card__img { position: relative; aspect-ratio: 1; background: var(--tile); overflow: hidden; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.card__img img.alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__img img.main.has-alt { opacity: 0; }
  .card:hover .card__img img.alt { opacity: 1; }
  .card:hover .card__img img { transform: scale(1.03); }
}
.card__badges { position: absolute; top: 0; left: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 2; }
.card__spin { position: absolute; right: 8px; top: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px 4px 6px; background: rgba(255, 255, 255, .92); font: 500 11px/1 var(--sans); letter-spacing: .06em; }
.card__spin .ic { width: 16px; height: 16px; }
.card__body { padding: 12px 6px 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.card__name { font-size: 14px; line-height: 1.45; margin: 0; font-weight: 400; color: var(--ink-2); }
.card:hover .card__name { color: var(--ink); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 500; font-size: 15px; color: var(--ink); }
.card .price { justify-content: center; font-size: 14.5px; font-weight: 600; }
.price .old { font-weight: 400; color: var(--muted); text-decoration: line-through; font-size: 13.5px; }
.price .now.is-sale { color: var(--sale); }
.price-note { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.card__soldout { font-size: 13px; color: var(--muted); }

/* ---------- Listing ---------- */
.crumbs { font-size: 12.5px; color: var(--muted); padding: 16px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.list-bar { border-bottom: 1px solid var(--line); background: #fff; }
.list-bar__inner { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "title title" "sort filters"; align-items: stretch; }
.list-bar__grid { grid-area: grid; display: none; align-items: center; gap: 4px; }
.list-bar__grid button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid transparent; background: none; color: var(--line-2); }
.list-bar__grid button svg { fill: currentColor; }
.list-bar__grid button[aria-pressed="true"] { color: var(--ink); }
.list-bar__title { grid-area: title; display: flex; align-items: center; justify-content: center; margin: 0 calc(var(--gut) * -1); padding: 16px var(--gut); font: 500 14px/1.35 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-align: center; border-bottom: 1px solid var(--line); }
.list-bar__sort { grid-area: sort; display: flex; align-items: center; gap: 8px; min-height: 50px; }
.list-bar__sort label { font: 500 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; display: none; }
.list-bar__sort select { appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f1f1f' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 2px center; padding: 10px 22px 10px 0; font-size: 14px; cursor: pointer; color: var(--ink); max-width: 100%; }
.list-bar__filters { grid-area: filters; display: flex; align-items: center; justify-content: flex-end; gap: 8px; border: 0; border-left: 1px solid var(--line); background: none; padding: 0 0 0 16px; font: 500 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.list-bar__filters:hover, .list-bar__sort select:hover { color: var(--accent); }
@media (min-width: 900px) {
  .list-bar__inner { grid-template-columns: 140px 1fr auto auto; grid-template-areas: "grid title sort filters"; min-height: 58px; }
  .list-bar__grid { display: flex; }
  .list-bar__title { margin: 0; padding: 14px 16px; border-bottom: 0; }
  .list-bar__sort { border-left: 1px solid var(--line); padding: 0 12px 0 22px; }
  .list-bar__sort label { display: block; }
  .list-bar__sort select { max-width: 200px; }
  .list-bar__filters { padding: 0 4px 0 24px; justify-content: center; min-width: 130px; }
}
.list-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.list-meta__count { margin: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.tabs-row { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 0 20px; }
@media (max-width: 699px) { .tabs-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); } .tabs-row::-webkit-scrollbar { display: none; } .tabs-row .chip { flex: none; } }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 16px; border: 1px solid var(--line-2); font-size: 13.5px; text-decoration: none; background: #fff; white-space: nowrap; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.chip .ic { width: 14px; height: 14px; }
.chip--clear { border-color: transparent; text-decoration: underline; background: none; }
.listing { padding-bottom: 72px; }
.toolbar__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.toolbar__chips:empty { display: none; }
.list-intro { max-width: 760px; margin: 56px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; }
.card[hidden], .empty[hidden] { display: none; }
.fgroup { border-bottom: 1px solid var(--line); padding: 18px 0; }
.fgroup:first-child { padding-top: 0; }
.fgroup h3 { font: 500 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.fgroup ul { list-style: none; margin: 0; padding: 0; }
.fgroup li a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; text-decoration: none; font-size: 15px; color: var(--ink-2); }
.fgroup li a:hover { color: var(--accent); }
.fgroup li a.is-active { color: var(--ink); font-weight: 600; }
.fgroup li a.is-active::before { content: ''; width: 6px; height: 6px; background: var(--champagne); display: inline-block; margin: 8px -2px 0 0; flex: none; order: -1; }
.fgroup li a > span:first-of-type { margin-right: auto; }
.fgroup li a .n { color: var(--muted); font-size: 13px; }
.fgroup .price-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.fgroup .price-form .input { min-height: 40px; padding: 8px 10px; font-size: 14px; }
.fgroup .price-form .btn { grid-column: span 2; min-height: 40px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: var(--accent); color: #fff; border-color: var(--accent); }
.empty { padding: 56px 24px; text-align: center; background: var(--ivory); }
.empty h2 { font-size: 24px; }
.empty p { color: var(--ink-2); max-width: 520px; margin: 0 auto 20px; }
.empty__phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 15px; }
.empty__phones a { text-decoration: none; font-weight: 600; }
.offline-buy .size span { cursor: default; }
.offline-buy .size span.is-out { color: #bbb; text-decoration: line-through; }

/* ---------- Strona produktu ---------- */
.pdp { display: grid; gap: 28px; padding: 18px 0 64px; }
@media (min-width: 1000px) { .pdp { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; padding-top: 24px; } }
.gallery { display: grid; gap: 12px; align-content: start; align-self: start; min-width: 0; }
@media (min-width: 1000px) { .gallery { grid-template-columns: 76px 1fr; gap: 20px; position: sticky; top: calc(var(--header-h) + 16px); } }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; order: 2; }
.thumbs::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .thumbs { order: 0; flex-direction: column; overflow: visible; } }
.thumb { flex: none; width: 68px; aspect-ratio: 1; padding: 0; border: 1px solid transparent; background: var(--tile); display: grid; place-items: center; position: relative; }
@media (min-width: 1000px) { .thumb { width: 76px; } }
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumb[aria-selected="true"] { border-color: var(--accent); }
.thumb--spin { color: var(--ink); display: flex; flex-direction: column; gap: 2px; font: 500 11px/1 var(--sans); letter-spacing: .06em; }
.thumb--spin .ic { width: 28px; height: 28px; stroke-width: 1.3; }
.stage { position: relative; aspect-ratio: 1; background: var(--tile); overflow: hidden; }
.stage__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .3s; }
.stage__slide.is-active { opacity: 1; visibility: visible; }
.stage__slide > button.zoom-hit { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.stage__slide img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.stage__tools { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: flex; gap: 8px; }
.stage__tool { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); background: #fff; font: 500 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.stage__tool:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.stage__tool .ic { width: 18px; height: 18px; }
.stage__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.stage__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.stage__dots span.is-active { background: var(--ink); }
@media (min-width: 1000px) { .stage__dots { display: none; } }

/* Widok 360 */
.spin { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: #fff; }
.spin.is-dragging { cursor: grabbing; }
.spin img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.spin__hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(31, 31, 31, .82); color: #fff; font-size: 13.5px; white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.spin__hint .ic { width: 20px; height: 20px; }
.spin.is-touched .spin__hint { opacity: 0; }
.spin__progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.spin__progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.spin.is-ready .spin__progress { opacity: 0; transition: opacity .4s .3s; }
.spin__bar { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; z-index: 2; }
.spin__bar button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); background: #fff; }
.spin__bar button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.spin__bar .ic { width: 18px; height: 18px; }
.spin-full { position: fixed; inset: 0; z-index: 200; background: #fff; }
.spin-full .spin { position: absolute; inset: 56px 0 0; }
.spin-full__close { position: absolute; right: 8px; top: 6px; z-index: 3; }

.pinfo { align-self: start; }
@media (min-width: 1000px) { .pinfo { position: sticky; top: calc(var(--header-h) + 16px); } }
.pinfo h1 { font-size: clamp(22px, 2vw, 27px); line-height: 1.3; margin-bottom: 10px; }
.pinfo__sku { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; margin-bottom: 14px; }
.pinfo .price { font-size: 21px; font-weight: 400; margin-bottom: 4px; }
.pinfo .price .old { font-size: 16px; }
.pinfo__lead { color: var(--ink-2); margin: 16px 0 0; font-size: 15px; }
.pinfo form, .offline-buy { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 22px; }
.opt { margin: 0 0 22px; border: 0; padding: 0; }
.opt__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.opt__head legend, .opt__head .label { font-size: 14px; font-weight: 400; color: var(--muted); margin: 0; padding: 0; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size span { display: grid; place-items: center; min-width: 44px; height: 42px; padding: 0 10px; border: 1px solid var(--line-2); font-size: 14px; background: #fff; transition: border-color .15s, color .15s; }
.size input:hover + span { border-color: var(--ink); }
.size input:checked + span { border-color: var(--accent); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.size input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.size input:disabled + span { color: #bbb; background: repeating-linear-gradient(135deg, #fff 0 6px, #f4f4f4 6px 7px); cursor: not-allowed; text-decoration: line-through; }
.size-msg { font-size: 13.5px; color: var(--sale); margin-top: 8px; min-height: 0; }
.engr { background: var(--ivory); padding: 16px; margin-bottom: 22px; }
.engr .check { font-weight: 500; }
.engr__field { margin-top: 12px; }
.engr__field[hidden] { display: none; }
.engr__count { font-size: 12.5px; color: var(--muted); text-align: right; margin-top: 4px; }
.buy { display: flex; gap: 10px; }
.qty { display: flex; border: 1px solid var(--line-2); height: 48px; flex: none; }
.qty button { width: 40px; border: 0; background: none; display: grid; place-items: center; }
.qty button .ic { width: 16px; height: 16px; }
.qty input { width: 38px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; outline: none; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.buy .btn { flex: 1; min-height: 48px; }
@media (max-width: 480px) {
  .buy .btn { padding: 12px 10px; letter-spacing: .08em; }
  .buy .qty button { width: 34px; }
  .buy .qty input { width: 32px; }
}
.avail { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 14px; }
.avail .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-top: 7px; flex: none; }
.avail.is-out .dot { background: var(--sale); }
.avail.is-low .dot { background: var(--warn); }
.pinfo__perks { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.pinfo__perks li { display: flex; gap: 10px; align-items: center; }
.pinfo__perks .ic { width: 18px; height: 18px; color: var(--muted); flex: none; }
.acc { border-top: 1px solid var(--line); margin-top: 26px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 17px 0; cursor: pointer; list-style: none; font: 500 13px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { width: 16px; transition: transform .2s; }
.acc details[open] summary .ic { transform: rotate(45deg); }
.acc__body { padding: 0 0 20px; font-size: 15px; color: var(--ink-2); }
.acc__body p:last-child { margin: 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.spec-table th { font-weight: 400; color: var(--muted); width: 45%; }
.related { border-top: 1px solid var(--line); }

/* Okna modalne i powiększenie */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.modal__box { position: relative; background: #fff; width: min(640px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px clamp(20px, 4vw, 36px) 32px; }
.modal__close { position: absolute; right: 6px; top: 6px; }
.modal__box h2 { font-size: 22px; padding-right: 36px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 16px 0 20px; }
.size-table th, .size-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.size-table th { font-weight: 500; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.size-table tr.is-hl td { background: var(--accent-tint); font-weight: 600; }
.lightbox { position: fixed; inset: 0; z-index: 180; background: #fff; display: none; }
.lightbox.is-open { display: block; }
.lightbox__img { position: absolute; inset: 56px 0 0; overflow: hidden; cursor: zoom-in; touch-action: none; }
.lightbox__img img { width: 100%; height: 100%; object-fit: contain; transform-origin: 0 0; transition: transform .15s ease-out; }
.lightbox__img.is-zoomed { cursor: zoom-out; }
.lightbox__img.is-zoomed img { transition: none; }
.lightbox__close { position: absolute; right: 8px; top: 6px; z-index: 2; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: #fff !important; }
.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }

/* ---------- Koszyk ---------- */
.page-head { padding: 26px 0 22px; }
.page-head h1 { margin: 0; }
.cart { display: grid; gap: 32px; padding-bottom: 72px; }
@media (min-width: 1000px) { .cart { grid-template-columns: 1fr 380px; gap: 56px; align-items: start; } }
.lines { border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .line { grid-template-columns: 120px 1fr auto; gap: 22px; } }
.line__img { display: block; aspect-ratio: 1; background: var(--tile); }
.line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line__name { font-size: 15.5px; text-decoration: none; display: block; margin-bottom: 4px; }
.line__name:hover { text-decoration: underline; }
.line__meta { font-size: 14px; color: var(--muted); margin: 0 0 2px; }
.line__meta strong { color: var(--ink); font-weight: 600; }
.line__engr { font-size: 14px; margin: 6px 0 0; padding: 6px 10px; background: var(--ivory); display: inline-block; }
.line__ctrl { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.line__ctrl .qty { height: 40px; }
.line__ctrl .qty button { width: 36px; }
.line__total { font-weight: 600; grid-column: 2; }
@media (min-width: 640px) { .line__total { grid-column: auto; text-align: right; } }
.summary { background: var(--ivory); padding: 26px 24px; }
@media (min-width: 1000px) { .summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.summary h2 { font-size: 20px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 15px; }
.sum-row.is-discount { color: var(--ok); }
.sum-row.is-total { border-top: 1px solid var(--line-2); margin-top: 10px; padding-top: 16px; font-size: 18px; font-weight: 600; }
.sum-row small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.code-form { display: flex; margin: 14px 0 6px; }
.code-form .input { min-height: 46px; flex: 1; min-width: 0; text-transform: uppercase; }
.code-form .btn { min-height: 46px; padding: 10px 16px; }
.code-applied { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; background: #fff; padding: 10px 12px; margin: 12px 0 4px; }
.free-ship { font-size: 13.5px; color: var(--ink-2); background: #fff; padding: 10px 12px; margin: 12px 0; }
.free-ship .bar { height: 3px; background: var(--line); margin-top: 8px; }
.free-ship .bar span { display: block; height: 100%; background: var(--accent); }
.summary .btn { margin-top: 18px; }
.summary__note { font-size: 13px; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; }
.summary__note .ic { width: 16px; height: 16px; flex: none; margin-top: 2px; }

.mini-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.mini-line img { aspect-ratio: 1; object-fit: contain; background: var(--tile); mix-blend-mode: multiply; }
.mini-line__img { background: var(--tile); }
.mini-line a { text-decoration: none; font-size: 14.5px; line-height: 1.35; display: block; }
.mini-line .muted { font-size: 13px; }
.mini-line .price { font-size: 14.5px; }
.mini-line form button { border: 0; background: none; padding: 4px; color: var(--muted); }
.mini-line form button:hover { color: var(--sale); }
.mini-empty { text-align: center; padding: 48px 12px; }
.mini-empty .ic { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--muted); stroke-width: 1.2; }
.drawer__foot .sum-row { padding: 4px 0; }
.drawer__foot .btn { margin-top: 10px; }

/* ---------- Zamówienie ---------- */
.co-header { border-bottom: 1px solid var(--line); background: #fff; }
.co-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.co-header img { height: 40px; width: auto; }
.co-header .secure { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.co-header .secure .ic { width: 18px; }
@media (max-width: 639px) { .hide-sm { display: none !important; } }
.checkout { display: grid; gap: 32px; padding: 28px 0 80px; }
@media (min-width: 1000px) { .checkout { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; } }
.co-step { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.co-step > legend, .co-step__title { display: flex; align-items: center; gap: 14px; width: 100%; font: 400 21px/1.25 var(--sans); margin: 0 0 18px; padding: 0; }
.co-step__num { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; font: 600 13px/1 var(--sans); }
.co-login { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--ivory); font-size: 14.5px; margin-bottom: 22px; }
.co-login a { font-weight: 600; }
.opts { display: grid; gap: 10px; }
.opt-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--line-2); cursor: pointer; background: #fff; }
.opt-card:hover { border-color: var(--ink); }
.opt-card input { margin-top: 2px; }
.opt-card.is-checked { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-tint); }
.opt-card[hidden] { display: none; }
.opt-card__title { font-weight: 600; font-size: 15px; }
.opt-card__hint { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.opt-card__price { font-weight: 600; font-size: 15px; white-space: nowrap; }
.opt-card .check { pointer-events: none; }
.opt-extra { margin: 14px 0 4px; padding: 16px; background: var(--ivory); }
.opt-extra[hidden] { display: none; }
@media (max-width: 999px) { .checkout .co-summary { order: -1; } }
.co-summary .line { grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; }
.co-summary .line__name { font-size: 14.5px; }
.co-summary .line__meta { font-size: 13px; }
.co-summary .line__total { grid-column: auto; font-size: 14.5px; text-align: right; }
.co-summary .lines { border-top: 0; margin-bottom: 8px; }
.co-summary .qty-badge { font-size: 12.5px; color: var(--muted); }
.terms-box { background: var(--ivory); padding: 18px; display: grid; gap: 14px; margin-bottom: 20px; }
.co-submit .btn { min-height: 56px; font-size: 14px; }
.co-submit p { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-errors { border: 1px solid #e2bcbc; background: #fbf2f2; color: #6e2020; padding: 14px 16px; margin-bottom: 24px; font-size: 15px; }
.form-errors ul { margin: 6px 0 0; padding-left: 18px; }

.order-hero { text-align: center; padding-top: clamp(36px, 6vw, 64px); padding-bottom: 28px; }
.order-hero .ic-wrap { width: 64px; height: 64px; margin: 0 auto 18px; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; display: grid; place-items: center; }
.order-hero .ic-wrap .ic { width: 28px; height: 28px; }
.order-hero h1 { font-size: clamp(26px, 3vw, 36px); }
.order-hero p { color: var(--ink-2); max-width: 580px; margin: 0 auto; }
.order-grid { display: grid; gap: 24px; padding-bottom: 72px; }
@media (min-width: 1000px) { .order-grid { grid-template-columns: 1fr 380px; gap: 48px; align-items: start; } }
.box { border: 1px solid var(--line); padding: 24px; margin-bottom: 20px; }
.box h2 { font-size: 20px; margin-bottom: 14px; }
.box--ivory { background: var(--ivory); border-color: var(--ivory); }
.box--accent { border-color: var(--accent); }
.pay-data { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; font-size: 15px; margin: 0; }
.pay-data dt { color: var(--muted); }
.pay-data dd { margin: 0; font-weight: 600; word-break: break-word; }
.addr { font-size: 15px; line-height: 1.6; }
.status-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.status-steps li { display: flex; gap: 12px; padding: 8px 0; font-size: 14.5px; color: var(--muted); }
.status-steps li::before { content: ''; width: 10px; height: 10px; border: 1px solid var(--line-2); border-radius: 50%; margin-top: 6px; flex: none; }
.status-steps li.is-done { color: var(--ink); }
.status-steps li.is-done::before { background: var(--accent); border-color: var(--accent); }

/* ---------- Konto ---------- */
.auth { display: grid; gap: 28px; padding: 12px 0 80px; }
@media (min-width: 900px) { .auth { grid-template-columns: 1fr 1fr; gap: 0; } .auth > section + section { border-left: 1px solid var(--line); } .auth > section { padding: 0 48px; } .auth > section:first-child { padding-left: 0; } }
.auth h2 { font-size: 22px; }
.auth__benefits { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.auth__benefits li { display: flex; gap: 10px; align-items: center; }
.auth__benefits .ic { width: 18px; color: var(--accent); }
.account { display: grid; gap: 28px; padding: 8px 0 80px; }
@media (min-width: 900px) { .account { grid-template-columns: 220px 1fr; gap: 56px; } }
.acc-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
@media (min-width: 900px) { .acc-nav { flex-direction: column; gap: 0; border-top: 1px solid var(--line); } }
.acc-nav a, .acc-nav button { display: flex; align-items: center; gap: 10px; padding: 12px 0; text-decoration: none; font-size: 15px; border: 0; background: none; width: 100%; text-align: left; }
@media (max-width: 899px) { .acc-nav a, .acc-nav button { padding: 8px 14px; border: 1px solid var(--line-2); width: auto; } }
@media (min-width: 900px) { .acc-nav li { border-bottom: 1px solid var(--line); } }
.acc-nav a[aria-current="page"] { font-weight: 600; color: var(--accent); }
.acc-nav .ic { width: 18px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-2); }
.table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap { overflow-x: auto; }
.st { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 8px; background: var(--ivory); white-space: nowrap; }
.st--nowe { background: var(--cream); color: var(--ink); }
.st--oplacone, .st--zrealizowane { background: #e5f0e9; color: #1e4d35; }
.st--wyslane, .st--do_odbioru { background: #e6ecf3; color: #243b57; }
.st--anulowane { background: #f5e5e5; color: #6e2020; }
.danger { border: 1px solid #e2bcbc; padding: 22px; margin-top: 40px; }
.danger h2 { font-size: 20px; }

/* ---------- Salony, kontakt, treści ---------- */
.salons-layout { display: grid; gap: 24px; padding-bottom: 72px; }
@media (min-width: 1000px) { .salons-layout { grid-template-columns: 420px 1fr; gap: 32px; align-items: start; } }
.salons-list { display: grid; gap: 14px; }
.salons-list .salon-card.is-active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.salon-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .salon-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.salon-card { background: #fff; border: 1px solid var(--line); padding: 24px 22px; display: flex; flex-direction: column; gap: 4px; }
.salon-card h3 { font-size: 21px; font-weight: 400; margin-bottom: 6px; }
.salon-card p { margin: 0; font-size: 15px; }
.salon-card .rowi { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; font-size: 15px; }
.salon-card .rowi .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--muted); flex: none; }
.salon-card .rowi a { text-decoration: none; }
.salon-card .rowi a:hover { text-decoration: underline; }
.salon-card__foot { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.salon-card .badge { align-self: flex-start; margin-bottom: 10px; background: var(--cream); color: var(--ink-2); }
.map { width: 100%; height: 420px; background: var(--tile); border: 1px solid var(--line); z-index: 1; }
@media (min-width: 1000px) { .map { height: calc(100vh - 170px); min-height: 560px; position: sticky; top: calc(var(--header-h) + 16px); } }
.map-pin { width: 34px; height: 44px; }
.map-pin svg { width: 34px; height: 44px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.leaflet-popup-content { font: 400 14px/1.5 var(--sans) !important; margin: 14px 16px !important; }
.leaflet-popup-content strong { font-size: 16px; font-weight: 600; }
.leaflet-container { font-family: var(--sans) !important; }
.leaflet-container .leaflet-popup-content a { color: var(--ink); text-decoration: underline; }
.leaflet-container a.leaflet-popup-close-button { width: 28px; height: 28px; }
.contact-grid { display: grid; gap: 40px; padding-bottom: 80px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.prose { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-size: clamp(20px, 2vw, 24px); color: var(--ink); margin: 1.8em 0 .6em; }
.prose h3 { color: var(--ink); margin: 1.5em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--ink); text-decoration: underline; word-break: break-word; }
.prose strong { color: var(--ink); }
.content-page { padding-top: 12px; padding-bottom: 88px; }
.content-page .page-head { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.info-table { width: 100%; border-collapse: collapse; margin: 0 0 32px; font-size: 15.5px; }
.info-table th, .info-table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }

.status-page { text-align: center; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px); }
.status-page p { color: var(--ink-2); max-width: 560px; margin-left: auto; margin-right: auto; }
.code-box { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; margin: 20px 0 26px; padding: 26px 36px; border: 1px dashed var(--accent); background: var(--accent-tint); }
.code-box__code { font: 600 clamp(24px, 4vw, 34px)/1 var(--sans); letter-spacing: .12em; }
.code-box .btn-text { font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; }
.code-box .btn-text .ic { width: 16px; height: 16px; }

/* ---------- Newsletter w rogu i informacja o cookies ---------- */
.nl-pop { position: fixed; left: 16px; bottom: 16px; z-index: 80; width: min(380px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .4); padding: 24px 22px 20px; transform: translateY(calc(100% + 32px)); transition: transform .45s var(--ease); }
.nl-pop.is-open { transform: none; }
.nl-pop h2 { font-size: 22px; margin-bottom: 8px; padding-right: 30px; }
.nl-pop p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 14px; }
.nl-pop .close { position: absolute; right: 4px; top: 4px; }
.nl-pop .nl-form .check { font-size: 12.5px; }
.cookie { position: fixed; right: 16px; bottom: 16px; z-index: 85; max-width: 420px; background: var(--ink); color: #eee; padding: 16px 18px; font-size: 13.5px; display: flex; gap: 16px; align-items: center; }
.cookie a { color: #fff; }
.cookie .btn { min-height: 38px; padding: 8px 16px; flex: none; }
.cookie[hidden], .nl-pop[hidden] { display: none; }

.toast { position: fixed; left: 50%; top: 18px; z-index: 300; transform: translate(-50%, calc(-100% - 40px)); visibility: hidden; background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14.5px; transition: transform .35s var(--ease), visibility .35s; max-width: calc(100vw - 32px); }
.toast.is-open { transform: translate(-50%, 0); visibility: visible; }
.toast.is-error { background: var(--sale); }

/* ---------- Strona przed startem sklepu ---------- */
.soon-hero { background: var(--cream); overflow: hidden; }
.soon-hero__grid { display: grid; align-items: center; gap: 36px; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
@media (min-width: 900px) { .soon-hero__grid { grid-template-columns: 1.5fr 1fr; gap: 56px; min-height: min(620px, calc(100vh - 150px)); } }
.soon-hero h1 { font-size: clamp(32px, 3.7vw, 52px); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 20px; max-width: 26ch; }
.soon-hero__lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); max-width: 540px; margin-bottom: 30px; }
.soon-status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; letter-spacing: .02em; }
.soon-status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--champagne); }
.soon-status__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--champagne); opacity: 0; animation: soon-pulse 2.4s var(--ease) infinite; }
@keyframes soon-pulse { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
.soon-hero__mark { display: grid; place-items: center; color: var(--ink); }
.soon-hero__mark svg { width: min(300px, 62vw); height: auto; overflow: visible; }
@media (max-width: 899px) { .soon-hero__mark { order: -1; } .soon-hero__mark svg { width: 150px; } }
.soon-hero__mark svg path[fill="none"] { stroke-dasharray: 600; stroke-dashoffset: 600; animation: mark-draw 2.2s var(--ease) .2s forwards; }
.soon-hero__mark svg path:not([fill="none"]) { opacity: 0; animation: mark-fill 1.2s var(--ease) 1.4s forwards; }
@keyframes mark-draw { to { stroke-dashoffset: 0; } }
@keyframes mark-fill { to { opacity: 1; } }

.svc-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.svc { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--ink); color: var(--ink); text-decoration: none; }
.svc h3 { font-size: 20px; font-weight: 400; margin: 0; }
.svc p { color: var(--ink-2); margin: 0 0 6px; }
.svc .ulink { margin-top: auto; align-self: flex-start; }
a.svc:hover .ulink { color: var(--ink); text-decoration-color: currentColor; }

.faq .shelf__title { margin-bottom: 18px; }
.faq__list summary { font: 400 17px/1.4 var(--sans); letter-spacing: 0; text-transform: none; gap: 16px; }
.faq__list .acc__body p { max-width: 640px; }
.empty__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }

/* ---------- Strona salonu ---------- */
.salon-page { display: grid; gap: 32px; padding: 18px 0 56px; }
@media (min-width: 1000px) { .salon-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.salon-page__brand { font-size: 13.5px; color: var(--muted); margin: 0 0 6px; }
.salon-page h1 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.015em; margin-bottom: 6px; }
.salon-page__addr { font-size: 18px; color: var(--ink-2); margin-bottom: 18px; }
.salon-facts { display: grid; gap: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.salon-facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.salon-facts dt { color: var(--muted); font-size: 14px; }
.salon-facts dd { margin: 0; }
.salon-facts a { text-decoration: none; }
.salon-page__text { margin-top: 28px; }
.salon-services { margin-top: 28px; padding: 22px 24px; background: var(--ivory); }
.salon-services h2 { font-size: 18px; margin-bottom: 10px; }
.salon-services ul { margin: 0; padding-left: 18px; }
.salon-services li { margin: 5px 0; }
.map--salon { height: 420px; }
@media (min-width: 1000px) { .salon-page__map { position: sticky; top: calc(var(--header-h) + 16px); } .map--salon { height: min(640px, calc(100vh - 140px)); min-height: 440px; } }
.salon-others { padding: 16px 0 72px; border-top: 1px solid var(--line); }
.salon-others .shelf__title { margin: 36px 0 24px; }
.salon-card h3 a, .salon-strip__item h3 a { text-decoration: none; }
.salon-card h3 a:hover, .salon-strip__item h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Mapa w odcieniach szarości, żeby pinezki były dobrze widoczne. */
.map .leaflet-tile-pane, .pts__map .leaflet-tile-pane { filter: grayscale(1) contrast(.95) brightness(1.04); }

/* ---------- Wybór punktu odbioru ---------- */
.carrier { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 9px; vertical-align: 1px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.carrier--inpost { background: #ffcb05; }
.carrier--dhl { background: #ffcc00; box-shadow: inset 0 0 0 2px #d40511; }
.carrier--dpd { background: #dc0032; }
.carrier--zabka { background: #0a8a3a; }
.point-pick { display: grid; gap: 10px; background: #fff; border: 1px dashed var(--line-2); }
.point-pick .btn { justify-self: start; }
.point-pick__chosen { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.point-pick__chosen .ic { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.point-pick__text { flex: 1; }
.point-pick .err { margin: 0; }

.pts { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 16px; }
.pts[hidden] { display: none; }
.pts__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .22s; }
.pts__box { position: relative; display: flex; flex-direction: column; width: min(1180px, 100%); height: min(820px, calc(100vh - 32px)); background: #fff; opacity: 0; transform: translateY(12px) scale(.99); transition: opacity .22s var(--ease), transform .22s var(--ease); }
.pts.is-open .pts__scrim { opacity: 1; }
.pts.is-open .pts__box { opacity: 1; transform: none; }
.pts__head { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--line); }
.pts__title { font-size: 19px; margin: 0; }
.pts__tabs { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.pts__tab { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; }
.pts__tab:hover { border-color: var(--ink); }
.pts__tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.pts__close { margin-left: auto; }
.pts__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 380px 1fr; }
.pts__side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); position: relative; }
.pts__search { display: flex; gap: 0; padding: 16px 16px 8px; }
.pts__search .input { min-height: 44px; }
.pts__search .btn { min-height: 44px; padding: 0 14px; }
.pts__search .btn .ic { width: 18px; height: 18px; }
.pts__suggest { position: absolute; left: 16px; right: 16px; top: 62px; z-index: 5; list-style: none; margin: 0; padding: 4px 0; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .35); }
.pts__suggest[hidden] { display: none; }
.pts__suggest button { display: block; width: 100%; padding: 9px 12px; border: 0; background: none; text-align: left; font-size: 14px; }
.pts__suggest button:hover, .pts__suggest button:focus-visible { background: var(--ivory); }
.pts__tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 4px 16px 8px; }
.pts__tools .btn-text { font-size: 13.5px; text-decoration: none; }
.pts__tools .btn-text .ic { width: 16px; height: 16px; }
.pts__kinds { display: flex; gap: 4px; }
.pts__kinds[hidden] { display: none; }
.pts__kinds button { padding: 4px 10px; border: 1px solid var(--line-2); background: #fff; font-size: 12.5px; }
.pts__kinds button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.pts__status { margin: 0; padding: 4px 16px 10px; font-size: 13px; color: var(--muted); min-height: 1.4em; }
.pts.is-loading .pts__status::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 8px; border: 1.5px solid var(--line-2); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -1px; }
@keyframes spin { to { transform: rotate(360deg); } }
.pts__list { list-style: none; margin: 0; padding: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); }
.pt { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); transition: background-color .15s; }
.pt.is-active { background: var(--ivory); }
.pt.is-selected { box-shadow: inset 3px 0 0 var(--ink); }
.pt__main { display: grid; gap: 3px; padding: 0; border: 0; background: none; text-align: left; min-width: 0; }
.pt__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pt__kind { display: inline-block; padding: 2px 7px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--cream); color: var(--ink-2); }
.pt__kind--locker { background: #eef1f4; }
.pt__kind--zabka { background: #e7f3ea; color: #1d5a31; }
.pt__dist { font-size: 12.5px; color: var(--muted); }
.pt__name { font-weight: 600; font-size: 14.5px; }
.pt__addr { font-size: 14px; color: var(--ink-2); }
.pt__hours, .pt__desc { font-size: 12.5px; color: var(--muted); }
.pt__choose { min-height: 34px; padding: 6px 14px; }
.pt.is-selected .pt__choose { background: #fff; color: var(--ink); border-color: var(--ink); }
.pts__map { position: relative; min-height: 0; background: var(--tile); }
.pt-pin { background: none; border: 0; }
.pt-pin__body { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #1a1a1a; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); transition: transform .15s var(--ease); }
.pt-pin__dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.pt-pin--k-locker .pt-pin__dot { border-radius: 2px; }
.pt-pin--inpost .pt-pin__body { background: #ffcb05; }
.pt-pin--inpost .pt-pin__dot { background: #1a1a1a; }
.pt-pin--dhl .pt-pin__body { background: #ffcc00; box-shadow: 0 0 0 2px #d40511, 0 3px 8px rgba(0, 0, 0, .3); }
.pt-pin--dhl .pt-pin__dot { background: #d40511; }
.pt-pin--dpd .pt-pin__body { background: #dc0032; }
.pt-pin--zabka .pt-pin__body { background: #0a8a3a; }
.pt-pin.is-active { z-index: 1000 !important; }
.pt-pin.is-active .pt-pin__body { transform: rotate(-45deg) scale(1.25); }
.pt-popup .leaflet-popup-content-wrapper { border-radius: 0; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .45); }
.pt-popup .leaflet-popup-content { margin: 16px 18px !important; width: 240px !important; }
.pt-card { display: grid; gap: 4px; font-size: 14px; }
.pt-card strong { font-size: 15px; font-family: var(--sans); font-weight: 600; }
.pt-card__hours { font-size: 12.5px; color: var(--muted); }
.pt-card .btn { margin-top: 10px; min-height: 38px; color: #fff; }
@media (max-width: 799px) {
  .pts { padding: 0; display: block; }
  .pts__box { width: 100%; height: 100%; height: 100dvh; }
  .pts__head { padding: 8px 8px 8px 16px; }
  .pts__title { font-size: 17px; }
  .pts__tabs { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 4px; }
  .pts__tabs::-webkit-scrollbar { display: none; }
  .pts__tab { flex: none; }
  .pts__body { grid-template-columns: 1fr; grid-template-rows: 42% 58%; }
  .pts__map { order: -1; }
  .pts__side { border-right: 0; border-top: 1px solid var(--line); }
  .pts__search { padding: 10px 12px 6px; }
  .pts__suggest { top: 54px; left: 12px; right: 12px; }
  .pts__tools, .pts__status { padding-left: 12px; padding-right: 12px; }
  .pt { padding: 12px; }
}

/* ---------- Animacje przy przewijaniu ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
.header { transition: box-shadow .3s var(--ease); }
.header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .45); }
.btn { transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.btn:active { transform: translateY(1px); }

body.no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .soon-hero__mark svg path { stroke-dashoffset: 0 !important; opacity: 1 !important; animation: none !important; }
}

@media print {
  .topbar, .header, .footer, .nl-pop, .cookie, .drawer, .search-panel, .perks, .nl-band { display: none !important; }
}
