/* Balerinka.pl — style wspólne */
:root {
  --bg: #FFFEFC;
  --paper: #ffffff;
  --sand: #f3ece2;
  --beige: #e8dccb;
  --latte: #d8c6ae;
  --taupe: #a8927a;
  --cocoa: #6e5845;
  --ink: #2a2420;
  --muted: #7d7166;
  --line: #e7ddd0;
  --sale: #9a4a3a;
  --bow: #d4a19d;      /* róż kokardki z logo */
  --bow-soft: #f6e8e5;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --pad: clamp(16px, 3.2vw, 48px);
  --max: 1680px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--cocoa); outline-offset: 2px; }
h1, h2, h3 { font-weight: 400; margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); margin: 0 0 12px; }
.serif { font-family: var(--serif); }
.h2 { font: 400 clamp(30px, 3.4vw, 46px)/1.05 var(--serif); letter-spacing: -.01em; }
.h2 i { font-style: italic; color: var(--cocoa); }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 28px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; border-radius: 0; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--cocoa); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn--line { border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; transition: background .25s; }
.icon-btn:hover { background: var(--sand); }
.icon-btn--line { border: 1px solid var(--line); border-radius: 0; width: 50px; height: 50px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--latte); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }
.ulink { position: relative; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; padding-bottom: 4px; }
.ulink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .4s var(--ease); }
.ulink:hover::after { transform: scaleX(.4); }

/* ---------- Placeholdery zdjęć ---------- */
.ph { position: relative; display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(160deg, #f6f1ea, #ede4d7); color: var(--taupe); overflow: hidden; }
.ph--life { background: linear-gradient(170deg, #e5d6c2 0%, #d6c1a6 100%); color: #8c7660; }
.ph--life::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 30%, rgba(255,255,255,.35), transparent 70%); }
.ph__shape { width: 62%; height: auto; max-width: 260px; stroke-width: 1.1; opacity: .7; }
.ph__label { position: absolute; left: 12px; bottom: 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }

/* ---------- Pasek ogłoszeń ---------- */
.announce { background: var(--beige); color: var(--cocoa); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; overflow: hidden; }
.announce__track { display: flex; justify-content: center; gap: 48px; padding: 9px var(--pad); white-space: nowrap; }
@media (max-width: 760px) { .announce__track span:not(:first-child) { display: none; } }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 254, 252, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.hdr.is-stuck { box-shadow: 0 8px 30px -20px rgba(60, 40, 20, .35); }
.hdr__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--hdr); }
.hdr__left, .hdr__right { display: flex; align-items: center; gap: 4px; }
.hdr__right { justify-content: flex-end; }
.logo { display: block; line-height: 0; }
.logo img { height: 30px; width: auto; }
.logo--s img { height: 32px; }
.logo--f img { height: 44px; }
.search { display: none; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); width: min(220px, 100%); padding: 6px 0; margin-right: 12px; transition: border-color .25s; }
.search:focus-within { border-color: var(--ink); }
.search input { border: 0; background: none; outline: 0; width: 100%; font-size: 13px; }
.search svg { width: 18px; height: 18px; color: var(--muted); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font: 500 10px/17px var(--sans); text-align: center; transition: transform .3s var(--ease), opacity .3s; }
.badge.is-zero { opacity: 0; transform: scale(.4); }
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav { display: none; }
@media (max-width: 420px) { .hide-s { display: none; } }
@media (min-width: 1024px) {
  :root { --hdr: 84px; }
  .hdr__burger { display: none; }
  .logo img { height: 46px; }
  .nav { display: block; border-top: 1px solid var(--line); }
  .nav > ul { display: flex; justify-content: center; gap: clamp(18px, 2.4vw, 44px); list-style: none; margin: 0 auto; }
  .nav > ul > li > a { position: relative; display: flex; align-items: center; gap: 4px; height: 48px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
  .nav > ul > li > a svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
  .nav > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .35s var(--ease); }
  .nav > ul > li > a:hover::after, .nav li.is-open > a::after { transform: scaleX(1); }
  .nav li.is-open > a svg { transform: rotate(180deg); }
  .nav .is-sale { color: var(--sale); }
}

@media (min-width: 1280px) { .search { display: flex; } .hdr__search-m { display: none; } }

/* Mega-menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 30px 50px -40px rgba(60, 40, 20, .5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__in { display: grid; grid-template-columns: repeat(4, 1fr) minmax(200px, 280px); gap: 32px; max-width: var(--max); margin: 0 auto; padding: 32px var(--pad) 40px; }
.mega__h { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin: 0 0 14px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li { margin-bottom: 8px; }
.mega a { font-size: 14px; transition: color .2s; }
.mega a:hover { color: var(--cocoa); text-decoration: underline; text-underline-offset: 4px; }
.mega__subs { margin: 6px 0 4px !important; padding-left: 12px !important; border-left: 1px solid var(--line) !important; }
.mega__subs a { font-size: 13px; color: var(--muted); }
.mega__promo { display: grid; gap: 12px; }
.mega__promo .ph { aspect-ratio: 4/5; height: auto; }
.mega__promo-t { font: italic 22px/1.1 var(--serif); }
.mega__promo-t i { display: inline-block; font-style: normal; transition: transform .3s var(--ease); }
.mega__promo:hover .mega__promo-t i { transform: translateX(6px); }

/* ---------- Drawery ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(42, 36, 32, .35); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.overlay.is-on { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 70; display: flex; flex-direction: column; width: min(440px, 92vw); background: var(--bg); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 400 26px var(--serif); }
.drawer__head h2 sup { font: 500 11px var(--sans); color: var(--muted); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 24px; }
.drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.drawer__foot--row { display: flex; gap: 10px; }
.drawer__foot--row .btn { flex: 1; padding: 0 12px; }

/* Menu mobilne */
.mnav { padding-top: 0; }
.mnav__link, .mnav__acc > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; cursor: pointer; list-style: none; }
.mnav__acc > summary::-webkit-details-marker { display: none; }
.mnav__acc summary svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mnav__acc[open] summary svg { transform: rotate(180deg); }
.mnav__acc a { display: block; padding: 10px 0 10px 16px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.mnav .is-sale { color: var(--sale); }
.mnav__foot { display: grid; gap: 14px; padding-top: 24px; font-size: 14px; }
.mnav__foot a { display: flex; align-items: center; gap: 10px; }

/* Koszyk */
.ship-bar { padding: 0 24px; }
.ship-bar p { margin: 14px 0 8px; font-size: 13px; color: var(--muted); }
.ship-bar b { color: var(--ink); font-weight: 500; }
.ship-bar i { display: block; height: 3px; background: var(--beige); margin-bottom: 6px; }
.ship-bar span { display: block; height: 100%; background: var(--cocoa); transition: width .6s var(--ease); }
.cart-empty { display: grid; justify-items: center; gap: 8px; padding: 60px 0; text-align: center; color: var(--muted); }
.cart-empty svg { width: 40px; height: 40px; stroke-width: 1; }
.cline { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: fadeUp .4s var(--ease); }
.cline__img { aspect-ratio: 4/5; overflow: hidden; }
.cline__img .ph__label { display: none; }
.cline__img img { width: 100%; height: 100%; object-fit: cover; }
.cline__body { display: grid; gap: 4px; align-content: start; }
.cline__name { font-size: 15px; }
.cline__meta { font-size: 12px; color: var(--muted); }
.cline__row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cline__row b { font-weight: 500; }
.cline__rm { justify-self: start; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-top: 2px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 34px; }
.qty button { width: 32px; height: 100%; display: grid; place-items: center; }
.qty button:hover { background: var(--sand); }
.qty svg { width: 14px; height: 14px; }
.qty span { min-width: 24px; text-align: center; font-size: 13px; }
.cart-sum { display: flex; justify-content: space-between; font-size: 16px; }
.cart-sum b { font-weight: 500; }
.cart-note { font-size: 12px; color: var(--muted); margin: 4px 0 14px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Kafelek produktu ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; } }
@media (min-width: 1280px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--sand); }
.card__media > img, .card__media > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
.card__b { opacity: 0; }
@media (hover: hover) {
  /* na razie bez podmiany na 2. zdjęcie — tylko zoom */
  .card:hover .card__a { transform: scale(1.05); }
}
.card__tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 2; }
.card__tags em { font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: var(--paper); padding: 4px 8px; }
.card__tags .is-sale { background: var(--sale); color: #fff; }
.card__sizes { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 2px 10px; justify-content: center; padding: 10px; background: rgba(255, 255, 255, .92); font-size: 12px; transform: translateY(100%); transition: transform .4s var(--ease); }
.card__sizes i { font-style: normal; }
.card__sizes .is-out { color: #bfb3a6; text-decoration: line-through; }
@media (hover: hover) { .card:hover .card__sizes { transform: none; } }
.card__fav { position: absolute; top: 6px; right: 6px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; transition: transform .25s var(--ease), color .2s; }
.card__fav:hover { transform: scale(1.1); }
.card__fav[aria-pressed="true"] svg, [data-fav][aria-pressed="true"] svg { fill: var(--cocoa); stroke: var(--cocoa); animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } }
.card__info { display: grid; gap: 2px; padding-top: 12px; }
.card__brand { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.card__name { font-size: 14px; line-height: 1.35; }
.card__price { display: flex; gap: 8px; align-items: baseline; font-size: 14px; }
.card__price b { font-weight: 500; }
.card__price s { color: var(--muted); font-size: 12px; }
.is-sale { color: var(--sale); }
.card__sw { display: flex; gap: 5px; margin-top: 6px; }
.card__sw i { width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
@media (min-width: 900px) { .card__name { font-size: 15px; } .card__fav { top: 10px; right: 10px; } }

/* ---------- Strona główna ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; padding-top: clamp(32px, 5vw, 80px); }
.hero__text { display: grid; justify-items: start; gap: 24px; min-width: 0; }
.hero h1 { font: 400 clamp(46px, 5.2vw, 88px)/1.02 var(--serif); letter-spacing: -.015em; }
.hero h1 i { color: var(--cocoa); }
/* zmieniające się hasło w hero (wszystkie w jednej komórce — bez skakania wysokości) */
.rot { display: grid; }
.rot__i { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); filter: blur(4px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease), visibility 0s .6s; }
.rot__i.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }
.rot__i.is-out { opacity: 0; visibility: visible; transform: translateY(-10px); filter: blur(4px); transition: opacity .4s ease-in, transform .4s ease-in, filter .4s ease-in; }
.rot__i.is-reset { transition: none; }
.hero p { max-width: 40ch; margin: 0; color: var(--muted); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.75; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 8px; }
.hero__media { position: relative; aspect-ratio: 4/5; margin-inline: calc(var(--pad) * -1); }
.hero__media .ph { position: absolute; inset: 0; }
.hero .eyebrow[data-bow] { width: auto; }
.hero .eyebrow[data-bow] .bow { width: 56px; height: 19px; flex: none; }
@media (min-width: 600px) { .hero .eyebrow[data-bow] .bow { width: 76px; height: 26px; } }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(40px, 5vw, 96px); padding-top: 0; }
  .hero__text { padding-block: 48px; }
  .hero__media { aspect-ratio: auto; height: clamp(560px, calc(100vh - 133px), 920px); margin: 0 calc(var(--pad) * -1) 0 0; }
}
.sec { padding-top: clamp(56px, 7vw, 112px); }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }
.hcats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.hcats::-webkit-scrollbar { display: none; }
.hcat { display: grid; gap: 12px; scroll-snap-align: start; text-align: center; }
.hcat .ph { aspect-ratio: 1; border-radius: 50%; transition: transform .5s var(--ease); }
.hcat:hover .ph { transform: scale(.96); }
.hcat b { font-weight: 400; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.duo { display: grid; gap: 12px; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; gap: 20px; } }
.tile { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; }
.tile .ph { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.tile:hover .ph { transform: scale(1.03); }
.tile__t { position: absolute; left: 24px; right: 24px; bottom: 24px; display: grid; gap: 10px; justify-items: start; color: var(--ink); }
.tile__t h3 { font: 400 clamp(30px, 3vw, 44px)/1 var(--serif); }
.story { display: grid; gap: 32px; align-items: center; }
.story .ph { aspect-ratio: 5/4; }
.story p { color: var(--muted); max-width: 52ch; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); } }

/* USP + footer */
.usp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(40px, 5vw, 64px); }
.usp div { display: flex; gap: 12px; align-items: flex-start; }
.usp svg { width: 26px; height: 26px; stroke-width: 1.1; color: var(--cocoa); }
.usp p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.usp b { display: block; color: var(--ink); font-weight: 500; font-size: 14px; }
@media (min-width: 900px) { .usp { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); } }
.ftr { background: var(--sand); padding: 56px 0 24px; margin-top: 0; }
.ftr__grid { display: grid; gap: 36px; }
.ftr__brand p { color: var(--muted); max-width: 40ch; }
.ftr__brand small { color: var(--muted); font-size: 12px; }
.ftr__h { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin: 0 0 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.ftr ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news { display: flex; margin: 18px 0 8px; max-width: 420px; }
.news input { flex: 1; min-width: 0; height: 50px; border: 1px solid var(--latte); border-right: 0; background: var(--paper); padding: 0 14px; outline: 0; }
.news input:focus { border-color: var(--ink); }
.news .btn { padding: 0 18px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ---------- Katalog ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); padding: 18px 0 0; }
.crumbs a:hover { color: var(--ink); }
.crumbs span:last-child:not(:only-child) { color: var(--ink); }
.cat-head { padding: 20px 0 8px; display: grid; gap: 10px; }
.cat-head h1 { font: 400 clamp(38px, 4.6vw, 64px)/1 var(--serif); letter-spacing: -.01em; }
.cat-head p { margin: 0; max-width: 72ch; color: var(--muted); font-size: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 16px 0 4px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop { display: grid; gap: 24px; padding-top: 20px; }
.toolbar { position: sticky; top: var(--hdr); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.tbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.toolbar__count { font-size: 13px; color: var(--muted); }
.sort { position: relative; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sort label { color: var(--muted); }
.sort select { appearance: none; border: 0; background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232a2420" stroke-width="1.5"><path d="m6 9 6 6 6-6"/></svg>') right center/14px no-repeat; padding: 8px 22px 8px 4px; cursor: pointer; font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills:empty { display: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; background: var(--sand); font-size: 12px; transition: background .2s; }
.pill:hover { background: var(--beige); }
.pill svg { width: 14px; height: 14px; }
.pill--clear { background: none; text-decoration: underline; text-underline-offset: 3px; }
.results { display: grid; gap: 18px; align-content: start; }
.empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: 64px 16px; background: var(--sand); text-align: center; }
.empty p { margin: 0; color: var(--muted); }

/* Filtry: mobile = drawer, desktop = panel boczny */
.filters .drawer__body { padding-top: 0; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup > summary { display: flex; align-items: center; gap: 8px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary span { color: var(--taupe); font-weight: 400; }
.fgroup > summary span:not(:empty)::before { content: "("; } .fgroup > summary span:not(:empty)::after { content: ")"; }
.fgroup > summary svg { margin-left: auto; width: 16px; height: 16px; transition: transform .3s var(--ease); }
.fgroup[open] > summary svg { transform: rotate(180deg); }
.fgroup__body { padding: 0 0 18px; display: grid; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input, .fsizes input, .fcolors input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { width: 18px; height: 18px; border: 1px solid var(--latte); background: var(--paper); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check span::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.check input:checked + span { background: var(--ink); border-color: var(--ink); }
.check input:checked + span::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible + span, .fsizes input:focus-visible + span, .fcolors input:focus-visible + span { outline: 2px solid var(--cocoa); outline-offset: 2px; }
.fsizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 6px; }
.fsizes span { display: grid; place-items: center; height: 42px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.fsizes span:hover { border-color: var(--ink); }
.fsizes input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.fcolors { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 12px 4px; }
.fcolors label { display: grid; justify-items: center; gap: 6px; cursor: pointer; font-size: 11px; color: var(--muted); text-align: center; }
.fcolors em { font-style: normal; }
.fcolors span { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--bg), 0 0 0 4px transparent; transition: box-shadow .2s; }
.fcolors input:checked + span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--bg), 0 0 0 4px var(--ink); }
.fcolors input:checked ~ em { color: var(--ink); }
.fprice { display: flex; align-items: center; gap: 8px; }
.fprice label { position: relative; flex: 1; }
.fprice label span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--muted); }
.fprice input { width: 100%; height: 42px; border: 1px solid var(--line); background: var(--paper); padding: 0 8px 0 32px; outline: 0; -moz-appearance: textfield; }
.fprice input:focus { border-color: var(--ink); }
.fprice i { width: 10px; height: 1px; background: var(--latte); }
.fprice b { font-weight: 400; font-size: 13px; color: var(--muted); }
.filters__foot { display: flex; }
@media (min-width: 1024px) {
  .shop { grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 3vw, 56px); }
  .filters { position: sticky; top: calc(var(--hdr) + 60px); bottom: auto; left: auto; align-self: start; max-height: calc(100vh - var(--hdr) - 80px); overflow-y: auto; transform: none; visibility: visible; width: auto; background: none; z-index: 1; scrollbar-width: thin; }
  .filters .drawer__head, .filters .drawer__foot { display: none; }
  .filters .drawer__body { padding: 0 4px 0 0; overflow: visible; }
  .filters .fgroup:first-child > summary { padding-top: 0; }
  .tbtn--filters { display: none; }
  .toolbar { top: calc(var(--hdr) + 49px); }
}
@media (min-width: 1600px) { .shop .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.seo { max-width: 80ch; color: var(--muted); font-size: 14px; padding-top: 64px; }
.seo h2 { font: 400 28px var(--serif); color: var(--ink); margin-bottom: 10px; }

/* ---------- Produkt ---------- */
.pdp { display: grid; gap: 28px; padding-top: 16px; }
.gallery { position: relative; min-width: 0; margin-inline: calc(var(--pad) * -1); }
.gallery__main { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__main figure { margin: 0; aspect-ratio: 4/5; scroll-snap-align: start; background: var(--sand); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.gallery__dots button { width: 22px; height: 2px; background: rgba(42, 36, 32, .25); transition: background .3s, width .3s var(--ease); }
.gallery__dots button::before { content: ""; display: block; height: 20px; margin-top: -9px; }
.gallery__dots .is-on { background: var(--ink); width: 36px; }
.gallery .card__tags { top: 14px; left: calc(var(--pad) + 0px); }
.buy h1 { font: 400 clamp(32px, 3.2vw, 46px)/1.05 var(--serif); margin: 4px 0 10px; }
.buy__brand { margin: 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.rating { display: inline-flex; align-items: center; gap: 2px; color: var(--cocoa); font-size: 12px; }
.rating svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.rating span { margin-left: 8px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.buy__price { display: flex; gap: 12px; align-items: baseline; font-size: 22px; margin: 18px 0 4px; }
.buy__price b { font-weight: 400; }
.buy__price s { font-size: 15px; color: var(--muted); }
.omni { margin: 0; font-size: 12px; color: var(--muted); }
.opt { margin-top: 26px; }
.opt__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.opt__h { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.opt__h b { color: var(--ink); font-weight: 500; }
.opt__row .opt__h { margin: 0; }
.opt__row + .sizes { margin-top: 12px; }
.opt__hint { font-size: 12px; color: var(--muted); margin: 10px 0 0; min-height: 1.6em; }
.opt__hint b { color: var(--ink); font-weight: 500; }
.swatches { display: flex; gap: 10px; }
.swatches button { width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--bg), 0 0 0 4px transparent; transition: box-shadow .25s; }
.swatches button:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--bg), 0 0 0 4px var(--latte); }
.swatches .is-on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--bg), 0 0 0 4px var(--ink) !important; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 6px; }
.sizes button { height: 48px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; transition: border-color .2s, background .2s, color .2s; }
.sizes button:hover:not(:disabled) { border-color: var(--ink); }
.sizes button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sizes button:disabled { color: #c4b8aa; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)) var(--paper); }
.sizes.is-err { animation: shake .4s; }
.sizes.is-err button:not(:disabled) { border-color: var(--sale); }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.buy__cta { display: flex; gap: 8px; margin-top: 22px; }
.buy__cta .btn { flex: 1; height: 54px; }
.buy__cta .icon-btn { width: 54px; height: 54px; }
.perks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.perks li { display: flex; align-items: center; gap: 10px; }
.perks svg { color: var(--cocoa); }
.acc { margin-top: 28px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.acc details[open] summary svg { transform: rotate(180deg); }
.acc__b { padding: 0 0 22px; font-size: 14px; color: var(--muted); }
.acc__b p { margin: 0; }
.spec { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec th, .spec td { text-align: left; padding: 9px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { font-weight: 400; color: var(--muted); width: 55%; padding-right: 12px; }
.spec td { color: var(--ink); }
.gpsr { display: grid; gap: 16px; }
.gpsr__h { color: var(--ink); font-weight: 500; margin-bottom: 4px !important; }
.gpsr__note { display: flex; gap: 8px; font-size: 12px; }
.gpsr__note svg { width: 16px; height: 16px; margin-top: 2px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); gap: clamp(32px, 4vw, 80px); padding-top: 24px; }
  .gallery { margin: 0; }
  .gallery__main { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; gap: 8px; overflow: visible; }
  .gallery__main figure:first-child { grid-column: 1 / -1; }
  .gallery__dots { display: none; }
  .gallery .card__tags { left: 14px; }
}
@media (min-width: 1600px) { .gallery__main figure:first-child { grid-column: auto; } }

/* Opinie */
.reviews { display: grid; gap: 24px; }
.reviews__sum { display: grid; gap: 6px; align-content: start; }
.reviews__sum strong { font: 400 64px/1 var(--serif); }
.reviews__list { display: grid; gap: 12px; }
.review { background: var(--paper); padding: 22px 24px; border: 1px solid var(--line); }
.review p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.review b { font-weight: 500; font-size: 14px; }
.review small { color: var(--taupe); font-size: 12px; margin-left: 8px; }
@media (min-width: 900px) { .reviews { grid-template-columns: 280px 1fr; gap: 64px; } .reviews__list { grid-template-columns: 1fr 1fr; } }

/* Tabela rozmiarów (drawer) */
.stable { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 20px; }
.stable th { text-align: left; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); font-weight: 500; padding: 10px 0; border-bottom: 1px solid var(--ink); }
.stable td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.stable tr.is-na td { color: #b9ad9f; }
.howto { display: grid; grid-template-columns: 72px 1fr; gap: 16px; background: var(--sand); padding: 18px; font-size: 13px; color: var(--muted); }
.howto svg { width: 72px; height: 72px; stroke-width: 1; color: var(--cocoa); }
.howto p { margin: 0; }
.howto b { color: var(--ink); font-weight: 500; display: block; margin-bottom: 4px; }
.dnote { font-size: 12px; color: var(--muted); }

/* ---------- Wejście + ruch ---------- */
.reveal { animation: fadeUp .9s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Akcenty „balerina” (kokardka z logo) ---------- */
.bow { width: 64px; height: 22px; stroke: var(--bow); stroke-width: 1.2; }
.eyebrow[data-bow] { display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; }
.eyebrow[data-bow] .bow { width: 44px; height: 16px; }
.card__fav[aria-pressed="true"] svg, [data-fav][aria-pressed="true"] svg { fill: var(--bow) !important; stroke: var(--bow) !important; }
.ship-bar span { background: var(--bow); }
.badge { background: var(--bow); color: var(--ink); }
.card__tags em:not(.is-sale) { background: var(--bow-soft); }
.story .eyebrow[data-bow] .bow { width: 76px; height: 26px; }

/* Desktop: logo po lewej, na linii tekstu (wrap) */
@media (min-width: 1024px) {
  .hdr__left { display: none; }
  .hdr__bar { grid-template-columns: auto 1fr; }
  .hdr__bar > .logo { justify-self: start; }
}

/* ocena w karcie */
.card__rate { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; color: var(--ink); }
.card__rate svg { width: 11px; height: 11px; fill: var(--brand); stroke: none; }
.card__rate small { font-size: 11px; color: var(--muted); }


/* ---------- Płynne przejścia między stronami (View Transitions, Chrome/Edge/Safari) ---------- */
@view-transition { navigation: auto; }
.hdr { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .4s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
::view-transition-group(site-header) { animation-duration: 0s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Mobile: poprawki adaptywności ---------- */
.fprice label { min-width: 0; }
.fprice b { flex: none; }
@media (max-width: 759px) {
  .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 20px; }
  .ftr__grid > :first-child { grid-column: 1 / -1; }
  .ftr ul { gap: 4px; }
  .ftr ul a { display: inline-block; padding: 5px 0; }
}

/* ---------- Nagłówek na telefonie: ☰ 🔍 | logo | ♡ 👜 — logo dokładnie na środku ---------- */
.hdr__bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.hdr__left, .hdr__right { gap: 0; }
.hdr__search-m, .hdr__acc { display: none; }
@media (max-width: 1023px) {
  .hdr .icon-btn { width: 40px; height: 40px; }
  .hdr__left { margin-left: -10px; }
  .hdr__right { margin-right: -10px; }
  .logo img { height: 28px; }
  /* pole wyszukiwania wysuwane pod paskiem */
  .hdr .search { position: absolute; left: 0; right: 0; top: 100%; display: none; align-items: center; gap: 10px; width: auto; margin: 0; height: 56px; padding: 0 var(--pad); background: var(--bg); border-bottom: 1px solid var(--line); }
  .hdr.is-search .search { display: flex; }
  .hdr .search input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: none; font-size: 16px; }
}
@media (min-width: 1024px) {
  .hdr__search-l { display: none; }
  .hdr__acc { display: inline-grid; }
  .hdr__search-m { display: inline-grid; }
}
@media (min-width: 1280px) { .hdr__search-m { display: none; } }

/* Hero na telefonie: mniejszy nadtytuł, bez zmieniającego się hasła (zostaje na desktopie) */
@media (max-width: 899px) {
  .hero p.eyebrow { font-size: 11px; letter-spacing: .2em; }
  .hero h1.rot { display: none; }
}
