/* MOJE.SHOES — style sklepu */
:root {
  --ink: #111111;
  --ink-2: #2b2b2b;
  --muted: #707072;
  --line: #e5e5e5;
  --line-2: #cacacb;
  --surface: #f6f6f6;
  --white: #ffffff;
  --pink-50: #fff5f7;
  --pink-100: #fde7ec;
  --pink-200: #f9cfd9;
  --pink-300: #f4b3c3;
  --pink-400: #ec8fa6;
  --pink-500: #e2738f;
  --pink-600: #d14f74;
  --pink-700: #b23a5d;
  --success: #128a4a;
  --danger: #d43f3a;
  --radius: 14px;
  --gutter: 48px;
  --header-h: 68px;
  --catalog-head-h: 76px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Montserrat', 'Inter', system-ui, sans-serif;
  --shadow: 0 10px 40px rgba(17, 17, 17, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pink-600); outline-offset: 2px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-600); }
.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: .95; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: 26px; font-weight: 600; }
.link-underline { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.link-underline:hover { color: var(--pink-600); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #3a3a3a; }
.btn--pink { background: var(--pink-500); color: var(--white); }
.btn--pink:hover { background: var(--pink-600); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--pink-100); }
.btn--outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; flex-shrink: 0;
}
.icon-btn:hover { background: var(--surface); }

/* ---------- promo bar ---------- */
.promo-bar { font-size: 14px; }
.promo-bar__inner {
  max-width: 1440px; margin: 0 auto; padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 20px;
}
.promo-bar__text { font-weight: 500; }
.promo-bar__btn {
  background: transparent; border: 1.5px solid currentColor; border-radius: 4px;
  padding: 5px 16px; font-size: 14px; font-weight: 600; flex-shrink: 0;
}
.promo-bar__btn:hover { background: rgba(255, 255, 255, .12); }

/* ---------- utility bar ---------- */
.utility-bar { background: var(--surface); font-size: 12px; font-weight: 500; }
.utility-bar__inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.utility-bar__note { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.utility-bar__note svg { width: 18px; height: 18px; }
.utility-bar__links { display: flex; align-items: center; gap: 12px; }
.utility-bar__links a:hover { color: var(--muted); }

/* ---------- header ---------- */
/* Opakowanie nagłówka nie może tworzyć własnego pudełka — inaczej „sticky” działa tylko w jego obrębie
   i nagłówek odjeżdża przy przewijaniu. display: contents przenosi .header bezpośrednio do <body>. */
#site-header { display: contents; }
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; height: var(--header-h); gap: 16px; }
.header__logo { flex-shrink: 0; }
.header__logo img { height: 52px; width: auto; }
.header__nav { flex: 1; display: flex; justify-content: center; gap: 4px; }
.header__nav a { padding: 8px 14px; font-weight: 500; border-bottom: 2px solid transparent; }
.header__nav a:hover, .header__nav a.is-active { border-bottom-color: var(--ink); }
.header__nav a[href*="sale"] { color: var(--pink-600); }
.header__actions { display: flex; align-items: center; gap: 6px; }
.search-pill { display: flex; align-items: center; background: var(--surface); border-radius: 999px; width: 190px; height: 42px; transition: background .2s; }
.search-pill:hover, .search-pill:focus-within { background: #ececec; }
.search-pill__icon { border: 0; background: transparent; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.search-pill input { border: 0; background: transparent; outline: none; width: 100%; padding-right: 16px; font-size: 15px; }
.search-pill input::-webkit-search-cancel-button { display: none; }
.search-toggle, .menu-toggle { display: none; }
.account-dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink-500); box-shadow: 0 0 0 2px var(--white); }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--pink-500); color: var(--white); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}

.lang-switch { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 3px; }
.lang-switch button { border: 0; background: transparent; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang-switch button.is-active { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.lang-switch--small { background: transparent; padding: 0; }
.lang-switch--small button { padding: 2px 6px; font-size: 12px; }
.lang-switch--small button.is-active { background: var(--ink); color: var(--white); box-shadow: none; }
.lang-switch--header { display: none; }

/* drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .4); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--white);
  transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; padding: 12px 28px 32px;
  display: flex; flex-direction: column; gap: 28px;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: flex-end; margin-right: -12px; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: center; font-size: 24px; font-weight: 500; padding: 8px 0; }
.drawer__nav a[href*="sale"] { color: var(--pink-600); }
.drawer__promo { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius); background: var(--pink-50); font-size: 14px; }
.drawer__promo img { width: 56px; height: 56px; border-radius: 50%; }
.drawer__lang { display: flex; align-items: center; justify-content: space-between; font-weight: 500; }
.drawer__links { display: flex; flex-direction: column; gap: 18px; font-weight: 500; }
.drawer__links a { display: flex; align-items: center; gap: 14px; }

/* search overlay (mobile) */
.search-overlay {
  position: fixed; inset: 0 0 auto 0; z-index: 110; background: var(--white); padding: 14px 0; box-shadow: var(--shadow);
  transform: translateY(-110%); transition: transform .25s;
}
.search-overlay.is-open { transform: none; }
.search-overlay__form { display: flex; align-items: center; gap: 10px; }
.search-overlay__form input { flex: 1; border: 0; background: var(--surface); border-radius: 999px; padding: 12px 18px; outline: none; font-size: 16px; }

/* ---------- hero ---------- */
.hero { padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
/* ---------- „studio” pod packshotami ----------
   Zdjęcie leży na neutralnej powierzchni w kolorze własnego tła (--stage / --stage-bg ustawia common.js),
   a róż marki idzie w panele, ramki i plakietki — nigdy pod piksele buta. */
/* wąskie wygaszenie brzegów — usuwa resztki szwu, nie dotyka buta */
.is-fade {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect;
  -webkit-mask-origin: content-box; mask-origin: content-box;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
@keyframes stage-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- hero ----------
   Cały baner to jedna różowa „scena”. Zdjęcia nie wypełniają połowy banera — leżą na białych kartach
   (studio w kolorze tła zdjęcia), ułożonych w wachlarz jak w lookbooku. */
.hero__media {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; border-radius: 4px; overflow: hidden;
  background: linear-gradient(135deg, var(--pink-50) 0%, var(--pink-100) 45%, var(--pink-200) 100%);
}
.hero__media::before {
  content: 'MOJE'; position: absolute; right: -3%; bottom: -14%; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(140px, 20vw, 320px); line-height: 1; color: rgba(255, 255, 255, .5); letter-spacing: -0.04em; pointer-events: none;
}
.hero__text { position: relative; z-index: 1; padding: 56px 24px 56px 64px; display: flex; flex-direction: column; justify-content: center; }
.hero__visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 56px 64px 56px 24px; }
.hero__stack { position: relative; width: min(380px, 70%); }
.hero-card {
  display: block; background: var(--white); border-radius: 18px; padding: 10px; color: var(--ink);
  box-shadow: 0 24px 60px rgba(178, 58, 93, .18), 0 2px 6px rgba(0, 0, 0, .05);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.hero-card__stage { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--stage-bg, var(--stage, var(--pink-50))); }
.hero-card__stage img { width: 100%; height: 100%; object-fit: contain; }
.hero-card__stage.is-scene img { object-fit: cover; }
.hero-card__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 8px 4px; font-weight: 600; }
.hero-card__info .card__price { margin: 0; }
.hero-card--main { position: relative; z-index: 3; animation: stage-in .7s cubic-bezier(.2, .7, .2, 1) both; }
/* tylne karty wystają spod głównej na tyle, żeby było widać czubek albo piętę innego buta */
.hero-card--back { position: absolute; left: 0; right: 0; top: 6%; z-index: 1; transform-origin: 50% 100%; }
.hero-card--b1 { transform: translateX(-38%) rotate(-10deg) scale(.8); }
.hero-card--b2 { transform: translateX(38%) rotate(9deg) scale(.8); z-index: 2; }
.hero__stack:hover .hero-card--b1 { transform: translateX(-44%) rotate(-12deg) scale(.8); }
.hero__stack:hover .hero-card--b2 { transform: translateX(44%) rotate(11deg) scale(.8); }
.hero__stack:hover .hero-card--main { transform: translateY(-6px); box-shadow: 0 32px 70px rgba(178, 58, 93, .24), 0 2px 6px rgba(0, 0, 0, .05); }
.hero-sticker {
  position: absolute; top: -20px; right: -20px; z-index: 4; width: 78px; height: 78px; border-radius: 50%;
  background: var(--pink-600); color: var(--white); display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .04em; line-height: 1.1; transform: rotate(10deg);
  box-shadow: 0 8px 20px rgba(178, 58, 93, .35);
}
.hero__title { font-size: clamp(40px, 5.4vw, 84px); margin: 10px 0 18px; }
.hero__subtitle { font-size: 18px; max-width: 460px; color: var(--ink-2); margin-bottom: 28px; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* passe-partout: kolorowa ramka (róż / szarość) + w środku „studio” ze zdjęciem */
.tile { display: flex; flex-direction: column; padding: 12px; border-radius: 4px; background: #e8e8ea; }
.tile--women { background: var(--pink-200); }
.tile__stage { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 2px; background: var(--stage-bg, var(--stage, #fafafa)); }
.tile--women .tile__stage:not(.is-studio):not(.is-scene) { background: var(--pink-50); }
.tile__stage img { width: 94%; height: 100%; object-fit: contain; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.tile__stage.is-scene img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover .tile__stage img { transform: translateY(-8px); }
.tile__label { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 10px 10px; }
.tile__label h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.2vw, 44px); }
.tile__arrow { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); flex-shrink: 0; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.tile--men .tile__arrow { background: var(--pink-600); }
.tile__arrow::after { content: ''; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; border-top: 2px solid var(--white); border-right: 2px solid var(--white); transform: translateX(-2px) rotate(45deg); }
.tile:hover .tile__arrow { transform: translateX(4px); }

.cat-chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip { flex-shrink: 0; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; background: var(--white); transition: .2s; }
.cat-chip:hover { border-color: var(--ink); background: var(--pink-50); }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 12px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.card { display: block; }
.card__media { position: relative; aspect-ratio: 1; background: var(--stage-bg, var(--stage, var(--surface))); overflow: hidden; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity .35s, transform .35s; }
.card__img--alt { opacity: 0; }
.card:hover .card__img--alt { opacity: 1; }
.card:hover .card__img:not(.card__img--alt) { transform: scale(1.03); }
.card:hover .card__media:has(.card__img--alt) .card__img:not(.card__img--alt) { opacity: 0; }
.card__badge { position: absolute; top: 12px; left: 12px; background: var(--pink-500); color: var(--white); font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.card__body { padding: 12px 2px 0; }
.card__flag { color: var(--pink-600); font-weight: 600; font-size: 15px; }
.card__name { font-size: 16px; font-weight: 600; }
.card__meta { color: var(--muted); font-size: 15px; }
.card__price { margin-top: 8px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.price { font-weight: 600; }
.price--sale { color: var(--pink-600); }
.price-old { color: var(--muted); font-size: .92em; }
.omnibus { color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 4px; }
.pdp__price + .omnibus { font-size: 14px; margin: 0 0 6px; }
.hero-card .omnibus { padding: 0 8px 6px; margin-top: -2px; }
.card--skeleton .card__media, .sk-line { background: linear-gradient(90deg, #f1f1f1, #f8f8f8, #f1f1f1); background-size: 200% 100%; animation: sk 1.2s infinite; }
.sk-line { height: 14px; margin-top: 12px; border-radius: 4px; width: 70%; }
.sk-line--short { width: 40%; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- sale banner ---------- */
.sale-banner {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; overflow: hidden; border-radius: 4px;
  background: var(--ink); color: var(--white); min-height: 420px;
}
.sale-banner__text { padding: 48px 56px; }
.sale-banner__text h2 { font-size: clamp(38px, 5vw, 68px); margin: 10px 0 14px; }
.sale-banner__text p { color: #cfcfcf; margin-bottom: 28px; max-width: 420px; }
.sale-banner__text .eyebrow { color: var(--pink-300); }
/* zdjęcie nie leży bezpośrednio na czerni: białe „polaroidowe” zdjęcie z ceną, lekko przechylone */
.sale-banner__visual {
  position: relative; height: 100%; display: flex; align-items: center; justify-content: center; padding: 48px 32px;
  background: radial-gradient(circle at 50% 55%, rgba(226, 115, 143, .38), transparent 62%);
}
.sale-card {
  position: relative; width: min(380px, 86%); background: var(--white); color: var(--ink); padding: 12px 12px 0; border-radius: 3px;
  transform: rotate(-4deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.sale-banner:hover .sale-card { transform: rotate(-1deg) translateY(-4px); }
.sale-card__stage { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--stage-bg, var(--stage, var(--surface))); }
.sale-card__stage img { width: 100%; height: 100%; object-fit: contain; }
.sale-card__stage.is-scene img { width: 100%; height: 100%; object-fit: cover; }
.sale-card__info { display: flex; flex-direction: column; gap: 2px; padding: 12px 6px 14px; }
.sale-card__name { font-weight: 600; font-size: 15px; }
.sale-card__price { display: flex; gap: 10px; align-items: baseline; }
.sale-card__price .price--sale { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.sale-sticker {
  position: absolute; top: -26px; right: -26px; width: 88px; height: 88px; border-radius: 50%; background: var(--pink-600); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 24px;
  transform: rotate(8deg); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); transition: transform .4s;
}
.sale-banner:hover .sale-sticker { transform: rotate(8deg) scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  .hero-card { animation: none; transition: none; }
  .sale-card, .sale-sticker, .tile__stage img, .tile__arrow { transition: none; }
}

/* ---------- newsletter ---------- */
.newsletter { background: var(--pink-50); border-radius: 4px; padding: 56px 24px; text-align: center; }
.newsletter h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.newsletter p { color: var(--ink-2); margin-bottom: 24px; }
.newsletter form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter input { flex: 1; min-width: 0; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 0 20px; height: 48px; background: var(--white); outline: none; }
.newsletter input:focus { border-color: var(--ink); }
.newsletter__msg { margin-top: 12px; font-weight: 500; min-height: 24px; }

/* ---------- benefits + footer ---------- */
.benefits { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.benefit { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 500; text-align: left; }
.benefit svg { color: var(--pink-600); flex-shrink: 0; }
.footer { background: var(--white); padding-top: 48px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand img { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 4px 18px rgba(0, 0, 0, .08); margin-bottom: 14px; }
.footer__brand p { color: var(--muted); max-width: 300px; }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; background: var(--pink-100); display: inline-flex; align-items: center; justify-content: center; color: var(--pink-700); transition: .2s; }
.footer__social a:hover { background: var(--pink-500); color: var(--white); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.footer__col a { color: var(--muted); }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ---------- catalog ---------- */
/* pasek z tytułem i sortowaniem przykleja się tuż pod nagłówkiem; filtry — tuż pod nim */
.catalog-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--catalog-head-h); padding: 0;
  position: sticky; top: var(--header-h); background: var(--white); z-index: 20;
}
.catalog-head h1 { font-size: 24px; font-weight: 600; }
.catalog-head__count { color: var(--muted); font-weight: 400; }
.catalog-head__tools { display: flex; gap: 8px; align-items: center; }
.tool-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 8px 10px; border-radius: 999px; font-weight: 500; }
.tool-btn:hover { background: var(--surface); }
.sort-select { border: 0; background: transparent; font-weight: 500; padding: 8px 4px; cursor: pointer; outline: none; }
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; padding-bottom: 40px; transition: grid-template-columns .3s; }
.catalog.filters-hidden { grid-template-columns: 0 1fr; gap: 0; }
.catalog.filters-hidden .filters { visibility: hidden; opacity: 0; }
.filters {
  position: sticky; top: calc(var(--header-h) + var(--catalog-head-h)); max-height: calc(100vh - var(--header-h) - var(--catalog-head-h) - 16px);
  overflow-y: auto; padding-right: 12px; transition: opacity .2s; scrollbar-width: thin; scrollbar-color: transparent transparent;
}
.filters:hover { scrollbar-color: var(--line-2) transparent; }
.filters__head { display: none; }
.filter-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h3 { font-size: 16px; font-weight: 500; margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; cursor: pointer; }
.size-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.size-chip { position: relative; }
.size-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-chip span { display: block; text-align: center; padding: 9px 0; border: 1.5px solid var(--line); border-radius: 8px; font-size: 14px; }
.size-chip input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.size-chip input:focus-visible + span { outline: 2px solid var(--pink-600); }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 10px; outline: none; }
.price-range input:focus { border-color: var(--ink); }
.filters__actions { display: none; }
.empty { text-align: center; padding: 80px 16px; }
.empty h2 { font-size: 24px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 24px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters button { display: inline-flex; align-items: center; gap: 4px; border: 0; background: var(--pink-100); border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 14px; font-weight: 500; }
.active-filters button svg { width: 16px; height: 16px; }

/* ---------- product page ---------- */
.breadcrumbs { display: flex; gap: 8px; color: var(--muted); font-size: 14px; padding: 20px 0; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; padding-bottom: 40px; }
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__thumbs { display: flex; flex-direction: column; gap: 8px; }
.gallery__thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--surface); border: 2px solid transparent; padding: 0; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--ink); }
.gallery__main { position: relative; background: var(--surface); border-radius: 8px; overflow: hidden; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; aspect-ratio: 1 / 1; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; }
.gallery__slide { position: relative; background: var(--stage-bg, var(--stage, transparent)); }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.gallery__dots { display: none; position: absolute; bottom: 12px; left: 0; right: 0; justify-content: center; gap: 6px; }
.gallery__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(17, 17, 17, .25); }
.gallery__dots span.is-active { background: var(--ink); }
.gallery__arrows { position: absolute; bottom: 16px; right: 16px; display: flex; gap: 8px; }
.gallery__arrows button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.gallery__arrows button:first-child svg { transform: rotate(180deg); }
.pdp__info h1 { font-size: 28px; font-weight: 600; margin: 4px 0 2px; }
.pdp__flag { color: var(--pink-600); font-weight: 600; }
.pdp__meta { color: var(--ink-2); font-size: 16px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 4px; font-size: 18px; flex-wrap: wrap; }
.pdp__save { color: var(--success); font-weight: 600; font-size: 15px; }
.pdp__color { color: var(--muted); margin-bottom: 26px; }
.size-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 600; }
.size-head button { border: 0; background: transparent; color: var(--muted); font-weight: 500; padding: 0; }
.size-head button:hover { color: var(--ink); }
.size-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 8px; border-radius: 8px; transition: box-shadow .2s; }
.size-grid.is-error { box-shadow: 0 0 0 2px var(--danger); }
.size-btn { height: 48px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--white); font-size: 15px; transition: border-color .15s; }
.size-btn:hover { border-color: var(--ink); }
.size-btn.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size-btn.is-soldout {
  color: #a3a3a5; background: #f4f4f5; border-color: #ececed;
  background-image: linear-gradient(to top right, transparent calc(50% - 0.5px), #d6d6d8 50%, transparent calc(50% + 0.5px));
}
.size-btn.is-soldout:hover { border-color: #b5b5b7; }
.size-btn.is-soldout.is-active { border-color: var(--ink); color: var(--ink-2); }
.size-error { color: var(--danger); font-size: 14px; min-height: 22px; }
.size-note { color: var(--muted); }
.size-note--low { color: var(--pink-700); font-weight: 600; }
.btn--notify { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--notify:hover { background: var(--pink-50); }
.card__flag--muted { color: var(--muted); }
.notify-modal { text-align: center; }
.notify-modal h2 { font-size: 22px; margin: 10px 0 10px; }
.notify-modal p { color: var(--ink-2); margin-bottom: 18px; }
.notify-modal form { display: grid; gap: 10px; }
.notify-modal input { border: 1.5px solid var(--line-2); border-radius: 999px; height: 48px; padding: 0 20px; outline: none; font-size: 16px; }
.notify-modal input:focus { border-color: var(--ink); }
.notify-msg { color: var(--danger); font-size: 14px; min-height: 20px; }
.pdp__buttons { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 32px; }
.pdp__buttons .btn { min-height: 58px; font-size: 16px; }
.pdp__desc { line-height: 1.75; margin-bottom: 24px; white-space: pre-line; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 18px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.accordion details[open] summary::after { transform: rotate(-135deg); }
.accordion details > div { padding-bottom: 22px; color: var(--ink-2); line-height: 1.7; }

.size-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 16px; }
.size-table th, .size-table td { padding: 9px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.size-table th { background: var(--pink-50); font-weight: 600; }

/* ---------- cart / checkout ---------- */
.page-title { font-size: 28px; font-weight: 600; padding: 32px 0 20px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; padding-bottom: 48px; }
.cart-layout > * { min-width: 0; }
.free-ship { background: var(--pink-50); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 8px; font-size: 15px; font-weight: 500; }
.bundle-hint { border: 1.5px dashed var(--pink-400); color: var(--pink-700); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.pdp__bundle { margin-top: 4px; color: var(--pink-700); background: var(--pink-50); border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; text-align: center; }
.free-ship__bar { height: 6px; border-radius: 3px; background: var(--pink-100); margin-top: 10px; overflow: hidden; }
.free-ship__bar span { display: block; height: 100%; background: var(--pink-500); border-radius: 3px; transition: width .4s; }
.cart-item { display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cart-item__img { aspect-ratio: 1; background: var(--surface); border-radius: 6px; overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.cart-item__name { font-weight: 600; }
.cart-item__meta { color: var(--muted); font-size: 15px; margin-top: 2px; }
.cart-item__controls { display: flex; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.cart-item__price { text-align: right; font-weight: 500; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; border-radius: 50%; font-size: 18px; }
.qty button:hover { background: var(--surface); }
.qty span { min-width: 24px; text-align: center; font-weight: 500; }
.link-btn { border: 0; background: transparent; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.link-btn:hover { color: var(--ink); }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary h2 { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.summary__row--discount { color: var(--pink-600); font-weight: 500; }
.summary__row--total { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 14px 0 20px; padding: 16px 0; font-weight: 600; font-size: 18px; }
.promo-form details summary { cursor: pointer; font-weight: 500; padding: 8px 0; list-style: none; display: flex; justify-content: space-between; }
.promo-form details summary::-webkit-details-marker { display: none; }
.promo-form__row { display: flex; gap: 8px; margin: 8px 0 4px; }
.promo-form__row input { flex: 1; min-width: 0; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0 14px; height: 44px; outline: none; text-transform: uppercase; }
.promo-form__row input:focus { border-color: var(--ink); }
.promo-msg { font-size: 14px; min-height: 20px; }
.promo-msg.is-ok { color: var(--success); }
.promo-msg.is-err { color: var(--danger); }
.summary__items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.summary__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; font-size: 14px; align-items: center; }
.summary__item img { width: 64px; height: 64px; object-fit: contain; background: var(--surface); border-radius: 6px; padding: 4px; }
.summary__item small { color: var(--muted); display: block; }

.form-section { margin-bottom: 32px; }
.form-section h2 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--line-2); border-radius: 8px; padding: 12px 14px; outline: none; background: var(--white); width: 100%; font-size: 16px;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field.is-invalid input { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 13px; min-height: 0; }
.options { display: flex; flex-direction: column; gap: 10px; }
.option { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 10px; padding: 16px; cursor: pointer; transition: border-color .15s; }
.option:has(input:checked) { border-color: var(--ink); background: var(--pink-50); }
.option input { width: 20px; height: 20px; accent-color: var(--pink-600); margin: 0; }
.option.is-disabled { cursor: not-allowed; opacity: .55; background: var(--surface); }
.option__label small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.point-picker { gap: 10px; align-items: flex-start; }
.point-btn { gap: 10px; }
.point-btn svg, .point-card > svg { flex-shrink: 0; }
.point-card { width: 100%; display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--ink); background: var(--pink-50); border-radius: 12px; padding: 14px 16px; }
.point-card > svg { color: var(--pink-600); width: 26px; height: 26px; }
.point-card > div { flex: 1; display: grid; gap: 2px; min-width: 0; }
.point-card span { color: var(--ink-2); font-size: 15px; }
.point-card small { color: var(--muted); font-size: 13px; }
.point-picker.is-invalid .point-btn { box-shadow: 0 0 0 2px var(--danger); }
#map-toggle { display: inline-flex; align-items: center; gap: 6px; }
/* okno mapy InPost: przyciemnione tło i zaokrąglone okno w stylu sklepu */
div:has(> #widget-modal) { background: rgba(17, 17, 17, .45); padding: 8px; }
#widget-modal { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
#widget-modal .widget-modal__topbar { background: var(--pink-50); }
.option__label { flex: 1; font-weight: 500; }
.option__price { font-weight: 500; color: var(--ink-2); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 8px 0 16px; cursor: pointer; }
.agree input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex-shrink: 0; }
.agree a { text-decoration: underline; }
.success { text-align: center; max-width: 560px; margin: 0 auto; padding: 72px 0; }
.success__icon { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--pink-100); color: var(--pink-600); display: flex; align-items: center; justify-content: center; }
.success__icon svg { width: 42px; height: 42px; }
.success h1 { font-size: 32px; margin-bottom: 12px; }
.success p { color: var(--ink-2); margin-bottom: 24px; }
.bank-box { text-align: left; background: var(--surface); border-radius: var(--radius); padding: 20px; margin-bottom: 28px; display: grid; gap: 6px; font-size: 15px; }
.bank-box strong { display: block; margin-bottom: 4px; }

/* ---------- konto klienta ---------- */
.btn--danger { background: var(--white); border-color: #f2c4c2; color: var(--danger); }
.btn--danger:hover { background: #fdecec; }
.field__hint { color: var(--muted); font-size: 13px; }
.form-error { color: var(--danger); font-size: 14px; min-height: 20px; }
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.auth__card { border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: grid; gap: 14px; }
.auth__card form { display: grid; gap: 14px; }
.auth__card form.form-grid { grid-template-columns: 1fr 1fr; }
.auth__card h2 { font-size: 22px; font-weight: 600; }
.auth__card--pink { background: var(--pink-50); border-color: var(--pink-100); scroll-margin-top: calc(var(--header-h) + 20px); }
.auth__text { color: var(--ink-2); margin-top: -6px; }
.auth__guest { text-align: center; color: var(--muted); padding: 24px 0 48px; }
.auth--single { grid-template-columns: minmax(0, 480px); justify-content: center; padding-bottom: 48px; }
.auth__link { justify-self: start; background: none; border: 0; padding: 0; color: var(--ink-2); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.auth__link:hover { color: var(--pink-700); }
.auth__contact { display: grid; gap: 10px; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 32px 0 24px; flex-wrap: wrap; }
.acc-head h1 { font-size: clamp(28px, 4vw, 40px); margin: 6px 0 4px; }
.acc-head p { color: var(--muted); }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; padding-bottom: 48px; }
.acc-side { display: grid; gap: 16px; }
.acc-card { border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.acc-card h2 { font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.acc-card__text { color: var(--muted); font-size: 14px; margin: -8px 0 14px; }
.acc-card .form-grid { gap: 12px; }
.acc-danger summary { cursor: pointer; color: var(--danger); font-weight: 600; list-style: none; }
.acc-danger summary::-webkit-details-marker { display: none; }
.acc-danger[open] summary { margin-bottom: 14px; }
.acc-empty { text-align: center; padding: 32px 0; color: var(--muted); display: grid; gap: 16px; justify-items: center; }
.acc-orders { display: grid; gap: 10px; }
.acc-order { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.acc-order summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 16px 18px; }
.acc-order summary::-webkit-details-marker { display: none; }
.acc-order summary small { display: block; color: var(--muted); font-size: 13px; }
.acc-order[open] summary { background: var(--pink-50); }
.acc-order__total { white-space: nowrap; }
.acc-order__body { padding: 14px 18px 18px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.acc-order__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.acc-order__item img { width: 56px; height: 56px; object-fit: contain; background: var(--surface); border-radius: 8px; padding: 3px; }
.acc-order__item small { display: block; color: var(--muted); }
.acc-order__sums { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 4px; font-size: 14px; }
.acc-order__sums div { display: flex; justify-content: space-between; gap: 12px; }
.acc-order__sums .is-discount { color: var(--pink-700); }
.acc-order__sums .is-total { font-weight: 700; font-size: 16px; padding-top: 4px; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--surface); color: var(--ink-2); }
.status--new { background: #e8effd; color: #1d4ed8; }
.status--processing { background: #fdf3e1; color: #8a5a12; }
.status--shipped { background: #efe8fd; color: #6d28d9; }
.status--completed { background: #e5f6ec; color: #0f7a40; }
.status--cancelled { background: #f0f0f2; color: var(--muted); }
.co-account { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--pink-50); border-radius: 12px; padding: 14px 16px; margin-bottom: 24px; font-size: 15px; }
.co-account svg { color: var(--pink-600); flex-shrink: 0; }
.co-account a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- info page ---------- */
.info-page { max-width: 760px; padding-bottom: 40px; }
.info-page h1 { font-size: clamp(32px, 5vw, 52px); margin: 32px 0 20px; }
.info-page p { font-size: 18px; line-height: 1.75; color: var(--ink-2); margin-bottom: 20px; }
.info-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 12px; }
.contact-card { display: flex; gap: 12px; align-items: center; background: var(--pink-50); border-radius: var(--radius); padding: 18px; font-weight: 500; word-break: break-word; }
.contact-card svg { color: var(--pink-600); flex-shrink: 0; }

/* ---------- modal + toast ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .45); opacity: 0; transition: opacity .25s; }
.modal__dialog {
  position: relative; background: var(--white); border-radius: 18px; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 36px 32px 32px; transform: translateY(16px) scale(.98); opacity: 0; transition: transform .25s, opacity .25s;
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 12px; right: 12px; }
.promo-modal { text-align: center; }
.promo-modal h2 { font-size: 24px; margin: 10px 0 12px; }
.promo-modal p { color: var(--ink-2); margin-bottom: 20px; }
.promo-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 2px dashed var(--pink-400); background: var(--pink-50); border-radius: 12px; padding: 10px 10px 10px 20px; margin-bottom: 14px; }
.promo-code code { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: .08em; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 140%); transition: transform .3s;
  background: var(--ink); color: var(--white); padding: 14px 20px; border-radius: 12px; display: flex; gap: 18px; align-items: center;
  box-shadow: var(--shadow); max-width: calc(100vw - 32px); font-weight: 500;
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast a { color: var(--pink-300); text-decoration: underline; white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .search-pill { width: 150px; }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 24px) / 3); }
}

@media (max-width: 1024px) {
  :root { --gutter: 24px; --header-h: 60px; }
  .utility-bar { display: none; }
  .header__nav, .search-pill { display: none; }
  .search-toggle, .menu-toggle { display: inline-flex; }
  .header__inner { justify-content: space-between; }
  .header__logo img { height: 46px; }
  .lang-switch--header { display: inline-flex; margin-right: 2px; }
  .catalog, .catalog.filters-hidden { grid-template-columns: 1fr; gap: 0; }
  .catalog.filters-hidden .filters { visibility: visible; opacity: 1; }
  .filters {
    position: fixed; inset: 0; z-index: 120; background: var(--white); max-height: none; padding: 0 20px 100px;
    transform: translateY(100%); transition: transform .3s; visibility: hidden;
  }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--white); padding: 14px 0; z-index: 1; margin-bottom: 8px; }
  .filters__head h2 { font-size: 20px; font-weight: 600; }
  .filters__actions { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; background: var(--white); padding: 14px 20px; border-top: 1px solid var(--line); }
  .filters__actions .btn { flex: 1; }
  .size-chips { grid-template-columns: repeat(5, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery__thumbs { display: none; }
  .gallery__dots { display: flex; }
  .gallery__arrows { display: none; }
  .gallery__main { margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
  .cart-layout { grid-template-columns: 1fr; gap: 24px; }
  .auth, .acc-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .hero__media { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 44px 28px 8px; text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__visual { padding: 40px 28px 56px; }
  .hero__stack { width: min(340px, 62%); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .benefit { justify-content: flex-start; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .section { padding: 36px 0; }
  .section-head h2 { font-size: 21px; }
  .promo-bar__inner { padding: 8px 12px; gap: 10px; justify-content: space-between; }
  .promo-bar__text { font-size: 13px; line-height: 1.35; }
  .promo-bar__btn { padding: 4px 10px; font-size: 13px; }
  .header__logo img { height: 40px; }
  .icon-btn { width: 40px; height: 40px; }
  .lang-switch--header button { padding: 4px 8px; font-size: 12px; }
  .account-link { display: none; } /* na telefonie „Moje konto” jest w menu */
  .hero { padding: 0; }
  .hero__media { border-radius: 0; }
  .hero__title { font-size: 46px; }
  .hero__subtitle { font-size: 16px; }
  .hero__ctas .btn { flex: 1; min-width: 0; padding: 0 16px; }
  .hero__visual { padding: 36px 20px 48px; }
  .hero__stack { width: 60%; }
  .hero-card { border-radius: 14px; padding: 8px; }
  .hero-card__info { font-size: 14px; padding: 10px 6px 2px; }
  .hero-sticker { width: 60px; height: 60px; font-size: 11px; top: -14px; right: -14px; }
  .tiles { grid-template-columns: 1fr; gap: 8px; }
  .tile { padding: 8px; }
  .tile__label { padding: 16px 6px 8px; }
  .tile__label h3 { font-size: 30px; }
  .tile__arrow { width: 44px; height: 44px; }
  .grid, .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 24px 8px; }
  .rail { grid-auto-columns: 62%; gap: 8px; }
  .card__name { font-size: 15px; }
  .card__meta, .card__flag { font-size: 14px; }
  .card__badge { top: 8px; left: 8px; font-size: 12px; }
  .sale-banner { grid-template-columns: 1fr; }
  .sale-banner__text { padding: 36px 24px 8px; text-align: center; }
  .sale-banner__text p { margin-left: auto; margin-right: auto; }
  .sale-banner__visual { padding: 28px 24px 44px; }
  .sale-card { width: calc(100% - 24px); transform: rotate(-2deg); }
  .sale-sticker { width: 64px; height: 64px; font-size: 18px; top: -18px; right: -12px; }
  .newsletter { border-radius: 0; margin: 0 calc(var(--gutter) * -1); }
  .newsletter form { flex-direction: column; }
  .catalog-head { height: auto; padding: 14px 0 10px; flex-wrap: wrap; gap: 6px; align-items: center; }
  .catalog-head h1 { font-size: 20px; width: 100%; }
  .catalog-head__tools { width: 100%; justify-content: space-between; margin-left: -10px; }
  .sort-select { max-width: 190px; font-size: 14px; }
  .pdp__info h1 { font-size: 24px; }
  .size-grid { grid-template-columns: repeat(4, 1fr); }
  .cart-item { grid-template-columns: 96px 1fr; gap: 14px; }
  .cart-item__price { grid-column: 2; text-align: left; }
  .form-grid, .auth__card form.form-grid { grid-template-columns: 1fr; }
  .auth__card, .acc-card { padding: 20px 16px; border-radius: 14px; }
  .acc-order summary { grid-template-columns: 1fr auto; padding: 14px; }
  .acc-order summary .status { grid-row: 2; justify-self: start; }
  .acc-order__total { grid-row: 1; grid-column: 2; }
  .benefits__grid { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .benefit { font-size: 13px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer__bottom { flex-direction: column; }
  .modal { align-items: flex-end; padding: 0; }
  .modal__dialog { border-radius: 18px 18px 0 0; width: 100%; padding: 32px 20px 24px; }
  .page-title { font-size: 24px; padding: 20px 0 12px; }
  .toast { bottom: 16px; width: calc(100vw - 32px); justify-content: space-between; }
}
