:root {
  /* Zielono-biała paleta: biel z nutą zieleni + jeden akcent (szałwiowa zieleń) */
  --bg: #f5f8f3;
  --surface: #ffffff;
  --tile: #e9f0e5;
  --ink: #17251d;
  --muted: #5d6c62;
  --line: #dbe5d5;
  --bg-deep: #e4ede0;
  --line-strong: #c7d6c0;
  --accent: #2f6a4c;
  --accent-soft: #8fb39a;
  --gold: var(--accent);
  --danger: #9a3b32;
  --warn: #8a5a12;
  --radius: 14px;
  --radius-lg: 28px;
  --radius-sm: 8px;
  --shadow-tint: 30, 64, 44;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
img { max-width: 100%; display: block; }
.muted { color: var(--muted); }

/* Nagłówek */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  transition: box-shadow .3s;
}
.top.scrolled { box-shadow: 0 1px 0 var(--line); }
.logo { font: 600 28px/1 var(--serif); letter-spacing: .22em; text-decoration: none; margin-right: auto; }
.search {
  width: min(240px, 40vw); padding: 9px 16px; border: 1px solid transparent; border-radius: 999px;
  background: var(--tile); font: inherit; font-size: 14px; transition: border-color .2s, background .2s, width .35s var(--ease);
}
.search:focus { outline: none; border-color: var(--ink); background: var(--surface); width: min(300px, 50vw); }
.cart-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line); background: var(--surface); border-radius: 50%;
  transition: transform .2s var(--ease), border-color .2s;
}
.cart-btn:hover { transform: scale(1.06); border-color: var(--ink); }
.cart-count {
  position: absolute; top: -4px; right: -4px; background: var(--ink); color: var(--bg);
  border-radius: 999px; min-width: 20px; height: 20px; padding: 0 5px; font-size: 11px; line-height: 20px; text-align: center; font-weight: 600;
}
.cart-count.bump { animation: bump .45s var(--ease); }

/* Sklep */
.shop { padding: 8px clamp(16px, 4vw, 48px) 80px; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin: 8px 0 28px; animation: rise .7s .1s var(--ease) both; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 0; background: transparent; border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--muted);
  transition: background .25s, color .25s;
}
.chip:hover { color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 36px 24px; }
.card { text-align: left; background: none; border: 0; padding: 0; }
.card.out .visual img { filter: grayscale(1); opacity: .5; }
.visual {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--tile);
  transition: box-shadow .5s var(--ease);
}
.visual img {
  width: 100%; height: 100%; object-fit: contain; padding: 14%;
  mix-blend-mode: multiply; transition: transform .8s var(--ease);
}
.card:hover .visual { box-shadow: 0 24px 48px -20px rgba(var(--shadow-tint), .35); }
.card:hover .visual img { transform: scale(1.07) translateY(-2%); }
.visual::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 1s var(--ease);
}
.card:hover .visual::after { transform: translateX(120%); }
.placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 20px;
  font: 600 26px/1.1 var(--serif); color: rgba(255, 255, 255, .92);
}
.placeholder small { display: block; font: 500 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .75; margin-top: 10px; }
.ph-designer { background: linear-gradient(150deg, #1f2c25, #4d6355); }
.ph-nisza { background: linear-gradient(150deg, #24423a, #7fa392); }
.ph-arabskie { background: linear-gradient(150deg, #3d5a3f, #9db48c); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--surface); color: var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 4px 8px; border-radius: 4px;
}
.badge.warn { color: var(--warn); }
.card-brand { margin: 14px 0 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card-name { margin: 2px 0 2px; font: 600 22px/1.15 var(--serif); }
.card-price { margin: 0; font-size: 14px; color: var(--muted); }
.card-price b { color: var(--ink); font-weight: 600; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 48px 0; }

.skeleton { aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(90deg, var(--tile) 0%, #f3f7f0 50%, var(--tile) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }

.foot { padding: 32px clamp(16px, 4vw, 48px); font-size: 13px; border-top: 1px solid var(--line); }
.foot p { margin: 4px 0; }

/* Okna */
.dlg {
  border: 0; border-radius: var(--radius-lg); padding: 0; width: min(780px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px); background: var(--surface); color: var(--ink); overflow: auto;
}
.dlg[open] { animation: pop .45s var(--ease) both; }
.dlg::backdrop { background: rgba(14, 30, 20, .42); backdrop-filter: blur(4px); }
.dlg[open]::backdrop { animation: fade .35s ease both; }
.dlg-wide { width: min(920px, calc(100vw - 32px)); }
.dlg-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--surface); font-size: 22px; line-height: 1; transition: transform .3s var(--ease);
}
.dlg-close:hover { transform: rotate(90deg); }
.pd { display: grid; grid-template-columns: 1fr 1.1fr; }
.pd .visual { border-radius: 0; aspect-ratio: auto; min-height: 100%; }
.pd .visual img { padding: 12%; animation: float 6s ease-in-out infinite; }
.pd-body { padding: 36px 32px 32px; }
.pd-body > * { animation: rise .6s var(--ease) both; }
.pd-body > :nth-child(2) { animation-delay: .05s; } .pd-body > :nth-child(3) { animation-delay: .1s; }
.pd-body > :nth-child(4) { animation-delay: .15s; } .pd-body > :nth-child(5) { animation-delay: .2s; }
.pd-body h2 { font: 600 36px/1.05 var(--serif); margin: 4px 0 8px; }
.pd-notes { color: var(--muted); margin: 0 0 12px; }
.pd-desc { margin: 0 0 20px; }
.sizes { display: grid; gap: 8px; margin: 18px 0 20px; }
.size {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; background: transparent; text-align: left;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.size:hover:not(:disabled) { transform: translateX(3px); }
.size.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size:disabled { opacity: .4; cursor: not-allowed; }
.size small { display: block; color: var(--muted); font-size: 12px; }
.size .warn { color: var(--warn); }
.size strong { font-size: 16px; }
.buy-row { display: flex; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { border: 0; background: none; width: 38px; height: 44px; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }

.btn {
  position: relative; overflow: hidden; display: inline-block; background: var(--ink); color: var(--bg); text-decoration: none;
  border: 0; border-radius: 999px; padding: 14px 28px; font-weight: 500; transition: transform .2s var(--ease), background .3s;
}
.btn:hover:not(:disabled) { background: var(--accent); transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-block { width: 100%; text-align: center; }
.buy-row .btn { flex: 1; }

/* Koszyk */
.overlay { position: fixed; inset: 0; background: rgba(14, 30, 20, .38); backdrop-filter: blur(3px); z-index: 40; animation: fade .3s ease both; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(420px, 100vw);
  background: var(--surface); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .12);
  animation: slide .5s var(--ease) both;
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; }
.drawer-head h2 { font: 600 30px var(--serif); margin: 0; }
.icon-btn { border: 0; background: none; font-size: 26px; line-height: 1; padding: 4px 8px; transition: transform .3s var(--ease); }
.icon-btn:hover { transform: rotate(90deg); }
.drawer-items { flex: 1; overflow-y: auto; padding: 0 24px; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: rise .5s var(--ease) both; }
.line-img { grid-row: span 2; width: 56px; height: 70px; border-radius: 10px; background: var(--tile); overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.line-name { font-weight: 600; font-size: 14px; }
.line-meta { color: var(--muted); font-size: 13px; }
.line-price { text-align: right; font-weight: 600; }
.line-ctrl { grid-column: 2 / 4; display: flex; justify-content: space-between; align-items: center; }
.line .qty button { height: 30px; width: 30px; }
.line-remove { border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; }
.line.bad .line-meta { color: var(--danger); }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.ship-bar { font-size: 13px; color: var(--muted); }
.ship-bar .bar { height: 3px; background: var(--line); border-radius: 4px; margin-top: 6px; overflow: hidden; }
.ship-bar .bar i { display: block; height: 100%; background: var(--gold); transition: width .6s var(--ease); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-row.total { font-size: 18px; font-weight: 600; }

/* Zamówienie */
.co { display: grid; grid-template-columns: 1.3fr 1fr; }
.co-form { padding: 32px; display: grid; gap: 14px; align-content: start; }
.co-form h2, .co-side h3 { font: 600 30px/1.1 var(--serif); margin: 0 0 4px; }
.co-side { background: var(--bg); padding: 32px; display: grid; gap: 10px; align-content: start; }
.co-side h3 { font-size: 24px; }
label.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.field input, .field textarea {
  font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink);
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opts { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.opts legend { font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.opt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; transition: border-color .2s; }
.opt:has(input:checked) { border-color: var(--ink); }
.opt input { accent-color: var(--ink); }
.opt span { flex: 1; }
.opt small { display: block; color: var(--muted); font-size: 12px; }
.pay-logos { display: flex; gap: 4px; }
.pay-logos i { font-style: normal; font-size: 10px; font-weight: 700; border: 1px solid var(--line); border-radius: 5px; padding: 2px 5px; color: var(--muted); }
.error { background: #f7e7e3; color: var(--danger); padding: 10px 14px; border-radius: 12px; font-size: 14px; animation: shake .4s ease; }
.done { padding: 56px 32px 40px; text-align: center; max-width: 560px; margin: 0 auto; }
.done h2 { font: 600 40px/1.1 var(--serif); margin: 0 0 12px; }
.done .eyebrow { font: italic 500 18px var(--serif); color: var(--accent); margin: 0 0 12px; }
.check-anim { width: 64px; height: 64px; margin: 0 auto 18px; }
.check-anim circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw .7s var(--ease) forwards; }
.check-anim path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .55s var(--ease) forwards; }
.spinner { width: 36px; height: 36px; margin: 0 auto 18px; border: 3px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.transfer { text-align: left; background: var(--bg); border-radius: var(--radius); padding: 20px; margin: 24px 0; display: grid; gap: 6px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translateX(-50%);
  background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-size: 14px;
  animation: toast .4s var(--ease) both;
}

/* Animacje */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes slide { from { transform: translateX(100%); } to { transform: none; } }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes bump { 40% { transform: scale(1.45); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .card { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .logo { font-size: 24px; }
  .pd, .co { grid-template-columns: 1fr; }
  .pd .visual { aspect-ratio: 1; }
  .pd-body, .co-form, .co-side { padding: 24px 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .card-name { font-size: 18px; }
  .row2 { grid-template-columns: 1fr; }
  .filters { flex-direction: column; }
}

/* Inspirowane + piramida nut */
.card-insp { margin: 0 0 2px; font-size: 12px; color: var(--gold); font-style: italic; }
.pd-insp { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 0 12px; padding: 6px 12px; background: var(--bg); border-radius: var(--radius-sm); font-size: 13px; }
.pd-insp span { font: italic 500 15px var(--serif); color: var(--accent); }
.pyramid { padding: 28px 32px 32px; border-top: 1px solid var(--line); }
.pyramid h3 { font: 600 26px/1.1 var(--serif); margin: 0 0 20px; text-align: center; }
.layer { margin-bottom: 22px; }
.layer:last-child { margin-bottom: 0; }
.layer-name { margin: 0 0 12px; text-align: center; font: italic 500 17px var(--serif); color: var(--muted); }
.notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 18px; }
.note { margin: 0; width: 76px; text-align: center; animation: rise .6s var(--ease) both; animation-delay: var(--d, 0s); }
.note img, .note-ph {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 6px; display: block;
  box-shadow: 0 6px 16px -8px rgba(var(--shadow-tint), .4); transition: transform .3s var(--ease);
}
.note-ph { display: grid; place-items: center; background: var(--tile); font: 600 24px var(--serif); color: var(--muted); }
.note:hover img, .note:hover .note-ph { transform: scale(1.12); }
.note figcaption { font-size: 12px; line-height: 1.25; color: var(--ink); }
@media (max-width: 720px) {
  .pyramid { padding: 24px 16px 28px; }
  .note { width: 68px; }
  .note img, .note-ph { width: 56px; height: 56px; }
}

/* ===== v4: zakładki, pasek marek, O nas, animacje ===== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 30; background: var(--accent); transform: scaleX(0); transform-origin: left; }

.logo { margin-right: 8px; }
.logo span { display: inline-block; animation: letter .8s var(--ease) both; animation-delay: calc(var(--i) * .07s + .1s); }
@keyframes letter { from { opacity: 0; transform: translateY(14px) rotate(6deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.tabs { position: relative; display: flex; gap: 4px; margin-right: auto; }
.tab {
  position: relative; border: 0; background: none; padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--muted); text-decoration: none; transition: color .25s;
}
.tab:hover, .tab.active { color: var(--ink); }
.tab-ink {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0; border-radius: 2px; background: var(--ink); opacity: 0;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s;
}

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 40s linear infinite; }
.marquee span { font: 600 18px var(--serif); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.marquee i { font-style: normal; color: var(--gold); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.shop { scroll-margin-top: 80px; }
.shop-title { font: 500 clamp(30px, 4vw, 44px)/1.1 var(--serif); margin: 28px 0 24px; }

.shop-title small { font: 500 14px var(--sans); color: var(--muted); vertical-align: middle; }
.grid { transition: opacity .22s ease, transform .22s ease, filter .22s; }
.grid.leaving { opacity: 0; transform: translateY(10px) scale(.99); filter: blur(3px); }

.cart-btn.wiggle { animation: wiggle .6s var(--ease); }
@keyframes wiggle { 20% { transform: rotate(-12deg) scale(1.15); } 45% { transform: rotate(9deg) scale(1.15); } 70% { transform: rotate(-4deg); } }
.fly { position: fixed; z-index: 200; object-fit: contain; pointer-events: none; mix-blend-mode: multiply; }

/* O nas – ciemniejszy odcień tej samej palety (bez nagłego skoku do czerni) */
.about { padding: 112px clamp(16px, 4vw, 48px) 136px; background: var(--bg-deep); color: var(--ink); scroll-margin-top: 70px; overflow: hidden; position: relative; }
.about::before { content: ''; position: absolute; inset: auto -10% -30% auto; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 106, 76, .14), transparent 70%); pointer-events: none; }
.about > * { max-width: 1240px; margin-inline: auto; position: relative; }
.about .eyebrow { font: italic 500 20px var(--serif); color: var(--accent); margin: 0 auto 14px; }
.about h2 { font: 500 clamp(40px, 6.4vw, 84px)/.98 var(--serif); letter-spacing: -.015em; margin: 0 auto 26px; max-width: 1240px; text-wrap: balance; }
.about h2 em { color: var(--accent); }
.about-head { padding-right: min(22vw, 320px); }
.about-lead { font-size: 18px; max-width: 58ch; color: var(--muted); margin: 0; text-wrap: pretty; }

.stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 16px; margin: 72px auto; border-block: 1px solid var(--line-strong); padding: 36px 0; }
.stats div { text-align: left; }
.stats b { display: block; font: 500 clamp(40px, 5.6vw, 72px)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.stats span { font-size: 13px; color: var(--muted); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 8vw; counter-reset: feat; }
.feature { position: relative; }
.feature:nth-child(even) { margin-top: 72px; }

.feature svg { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.feature svg * { stroke-dasharray: 160; stroke-dashoffset: 160; }
.feature.shown svg * { animation: draw 1.6s .3s var(--ease) forwards; }
.feature h3 { font: 500 30px/1.08 var(--serif); letter-spacing: -.01em; margin: 0 0 10px; text-wrap: balance; }
.feature p { margin: 0; font-size: 15px; color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.foot { background: var(--bg-deep); color: var(--muted); border-top-color: var(--line-strong); }
.foot .muted { color: var(--muted); }

@media (max-width: 760px) {
  .top { flex-wrap: wrap; row-gap: 6px; }
  .logo { margin-right: auto; }
  .search { order: 2; width: 120px; }
  .search:focus { width: 170px; }
  .cart-btn { order: 3; }
  .tabs { order: 4; width: 100%; justify-content: center; margin: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .about { padding: 72px 16px 96px; }
  .about-head { padding-right: 0; }
  .features { grid-template-columns: 1fr; gap: 40px; }
  .feature:nth-child(even) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .feature svg * { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
}

/* ===== v5: redesign (taste-skill / redesign-existing-projects) ===== */
/* Faktura: delikatne ziarno zamiast płaskiego tła */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Kontener: treść nie rozlewa się na szerokich ekranach */
.shop { max-width: 1440px; margin-inline: auto; }
.top { padding-inline: max(clamp(16px, 4vw, 48px), calc((100vw - 1440px) / 2 + 48px)); }

/* Typografia: ciaśniejsze nagłówki, równe zawijanie, cyfry tabelaryczne */
.shop-title { letter-spacing: -.015em; text-wrap: balance; }
.card-name, .pd-body h2, .drawer-head h2, .co-form h2, .done h2 { letter-spacing: -.01em; text-wrap: balance; }
p { text-wrap: pretty; }
.card-price, .size strong, .line-price, .sum-row, .cart-count, .shop-title small { font-variant-numeric: tabular-nums; }
.card-brand { letter-spacing: .12em; font-weight: 500; }
.card-insp { font: italic 500 15px/1.2 var(--serif); color: var(--accent); }

/* Dostępność: widoczny focus i link „przejdź do treści” */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.search:focus-visible { outline: none; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }

/* Karty: reflektor podążający za kursorem + fizyczny „klik” */
.visual { --mx: 50%; --my: 30%; }
.visual::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 252, 245, .55), transparent 60%);
}
.card:hover .visual::before { opacity: 1; }
.card:hover .visual { box-shadow: 0 28px 50px -24px rgba(var(--shadow-tint), .42); }
.card:active .visual { transform: scale(.985); }
.visual { transition: box-shadow .5s var(--ease), transform .2s var(--ease); }
.badge { z-index: 2; }

/* Pusty stan wyszukiwania */
.empty-state { grid-column: 1 / -1; padding: 64px 0 40px; max-width: 520px; }
.empty-state h3 { font: 500 34px/1.05 var(--serif); margin: 0 0 10px; letter-spacing: -.01em; }
.empty-state p { color: var(--muted); margin: 0 0 20px; }
.link-btn { border: 0; background: none; padding: 0; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.link-btn:hover { color: var(--accent); }

/* Stopka: pionowy rytm i bezpieczna szerokość */
.foot { padding-bottom: 44px; }
.foot > * { max-width: 1240px; margin-inline: auto; }
.foot .legal { margin-top: 10px; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  .visual::before { display: none; }
}

/* ===== v6: zielono-biały hero z animowanym flakonem ===== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(calc(100dvh - 72px), 860px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center;
  padding: 40px max(clamp(16px, 4vw, 48px), calc((100vw - 1440px) / 2 + 48px)) 72px;
  background:
    radial-gradient(60% 70% at 78% 45%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(143, 179, 154, .22), transparent 70%),
    var(--bg);
}
.hero-mist { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .9; }
.hero-copy { position: relative; z-index: 3; max-width: 640px; }
.hero-kicker { margin: 0 0 22px; font-size: 13px; letter-spacing: .08em; color: var(--accent); font-weight: 500; }
.hero-title { font: 500 clamp(48px, 7.6vw, 112px)/.92 var(--serif); letter-spacing: -.025em; margin: 0 0 36px; color: var(--ink); }
.hero-title em { color: var(--accent); }
.reveal-line { display: block; overflow: hidden; padding-bottom: .06em; }
.reveal-line > * { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
.hero-title .reveal-line:nth-child(1) > * { animation-delay: .25s; }
.hero-title .reveal-line:nth-child(2) > * { animation-delay: .4s; }
.hero-kicker > span { animation-delay: .1s; }
@keyframes lineUp { to { transform: none; } }
.hero-cta { opacity: 0; animation: rise .9s .75s var(--ease) forwards; padding: 16px 34px; }

.hero-stage { position: relative; z-index: 2; height: min(70dvh, 640px); }
.hero-stage > * { position: absolute; will-change: translate; translate: var(--px, 0px) var(--py, 0px); transition: translate .9s cubic-bezier(.16, 1, .3, 1); }
.bottle { left: 50%; top: 50%; width: min(270px, 46%); translate: calc(-50% + var(--px, 0px)) calc(-48% + var(--py, 0px)); overflow: visible; animation: bottleIn 1.4s .2s var(--ease) both, bob 6s 1.6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(var(--shadow-tint), .18)); }
@keyframes bottleIn { from { opacity: 0; scale: .88; } to { opacity: 1; scale: 1; } }
@keyframes bob { 0%, 100% { rotate: -1.5deg; } 50% { rotate: 1.5deg; } }
.bottle-shadow { fill: rgba(var(--shadow-tint), .14); }
.bottle-label { font: 600 17px var(--serif); letter-spacing: .38em; fill: var(--ink); opacity: .72; }
.bottle-sub { font: 500 6.5px var(--sans); letter-spacing: .28em; fill: var(--ink); opacity: .5; }
#actuator { cursor: pointer; }
.wave { animation: waveX 6s linear infinite; }
.wave-b { animation-duration: 9s; animation-direction: reverse; }
@keyframes waveX { to { transform: translateX(-100px); } }
.liquid { animation: slosh 7s ease-in-out infinite; transform-origin: 100px 260px; }
@keyframes slosh { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-6px); } }
.bubble { fill: #fff; opacity: 0; animation: bubble 5s ease-in infinite; }
.b2 { animation-delay: 1.6s; } .b3 { animation-delay: 3.1s; }
@keyframes bubble { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-150px); } }
.glint { animation: glint 5s ease-in-out infinite; }
@keyframes glint { 0%, 100% { opacity: .35; } 50% { opacity: .85; } }

.leaf { fill: url(#none); }
.leaf path:first-child { fill: var(--accent-soft); }
.leaf .vein { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2; stroke-linecap: round; }
.leaf { animation: sway 8s ease-in-out infinite; transform-origin: 50% 100%; }
.leaf-1 { width: 150px; left: 4%; top: 12%; rotate: -28deg; opacity: .9; }
.leaf-2 { width: 210px; right: 0; top: 2%; rotate: 32deg; opacity: .75; animation-duration: 10s; }
.leaf-2 path:first-child { fill: #6f9a7e; }
.leaf-3 { width: 120px; left: 18%; bottom: 0; rotate: -64deg; opacity: .65; animation-duration: 9s; filter: blur(1.5px); }
.leaf-4 { width: 170px; right: 10%; bottom: 4%; rotate: 52deg; opacity: .85; animation-duration: 11s; }
.leaf-4 path:first-child { fill: #b6cfb8; }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
.leaf { animation-name: sway, leafIn; animation-duration: 8s, 1.6s; animation-iteration-count: infinite, 1; animation-timing-function: ease-in-out, var(--ease); }
@keyframes leafIn { from { opacity: 0; } }

.hero-scroll { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 26px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 14px; translate: -50% 0; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--accent); translate: -50% 0; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Pasek marek pasuje do jasnej palety */
.marquee { background: var(--surface); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 28px; text-align: left; }
  .hero-stage { height: 380px; order: -1; margin-bottom: 8px; }
  .bottle { width: 150px; }
  .leaf-1 { width: 100px; } .leaf-2 { width: 130px; } .leaf-3 { width: 80px; } .leaf-4 { width: 110px; }
  .hero-scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-line > *, .hero-cta { transform: none; opacity: 1; animation: none; }
  .wave, .liquid, .bubble, .glint, .leaf, .bottle { animation: none !important; }
  .hero-mist { display: none; }
}

/* ===== v7: podstrony (404, regulamin, polityka) ===== */
.page-top { justify-content: space-between; }
.notfound { max-width: 720px; margin: 0 auto; padding: 18vh 24px 22vh; }
.notfound h1 { font: 500 clamp(44px, 7vw, 88px)/.95 var(--serif); letter-spacing: -.02em; margin: 0 0 18px; text-wrap: balance; }
.notfound p { color: var(--muted); font-size: 18px; margin: 0 0 32px; }
.eyebrow { font: italic 500 20px var(--serif); color: var(--accent); margin: 0 0 12px; }
.legal-page { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.legal-page h1 { font: 500 clamp(40px, 6vw, 64px)/1 var(--serif); letter-spacing: -.02em; margin: 0 0 24px; }
.legal-page h2 { font: 500 26px/1.15 var(--serif); margin: 40px 0 10px; }
.legal-page p { color: #33433a; line-height: 1.7; max-width: 68ch; }
.legal-page a, .foot a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.draft { background: var(--tile); padding: 14px 18px; border-radius: var(--radius-sm); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; }
.consent a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ===== v8: promocja Halloween na pasku + kod rabatowy ===== */
.marquee.is-promo { background: var(--ink); border-color: var(--ink); cursor: pointer; transition: background .3s; }
.marquee.is-promo:hover { background: #22352a; }
.marquee.is-promo span { color: #f5f8f3; font: 500 17px var(--sans); letter-spacing: .06em; text-transform: none; }
.marquee.is-promo span:nth-child(8n+1) { font: italic 600 21px var(--serif); color: #e8a24a; letter-spacing: 0; }
.marquee.is-promo i { color: #e8a24a; }
.marquee.is-promo .marquee-track { animation-duration: 28s; }
.promo { display: grid; gap: 6px; margin: 4px 0 2px; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.btn-ghost { border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--radius-sm); padding: 0 16px; font-weight: 500; transition: border-color .2s, color .2s; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.promo-msg { font-size: 12px; }
.promo-msg.ok { color: var(--accent); }
.promo-msg.bad { color: var(--danger); }
.sum-row.discount { color: var(--accent); font-weight: 500; }

/* ===== v10: elementy zachęcające do zakupu ===== */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.countdown { display: grid; gap: 4px; opacity: 0; animation: rise .9s .95s var(--ease) forwards; }
.cd-label { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.cd-time { display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.cd-time b { font: 500 26px/1 var(--serif); color: var(--ink); min-width: 1.2ch; display: inline-block; }
.cd-time b.tick { animation: tick .45s var(--ease); }
.cd-time i { font-style: normal; font-size: 11px; color: var(--muted); margin-right: 8px; }
@keyframes tick { from { transform: translateY(-6px); opacity: .3; } }

.trust { list-style: none; margin: 0 auto; padding: 22px max(clamp(16px, 4vw, 48px), calc((100vw - 1440px) / 2 + 48px)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 28px; border-bottom: 1px solid var(--line); background: var(--surface); }
.trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.4; }
.trust svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.trust b { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }

.card-price s, .size-price s { color: var(--muted); font-weight: 400; margin-right: 6px; text-decoration-thickness: 1px; }
.promo-price { color: var(--accent); }
.code-hint { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }
.sprays { font-style: normal; font-size: 12px; color: var(--accent); margin-left: 6px; font-weight: 500; }
.size-price { text-align: right; }
.omnibus { font-size: 12px; color: var(--muted); margin: -8px 0 18px; line-height: 1.5; }
.omnibus b { color: var(--accent); }

.similar { padding: 26px 32px 34px; border-top: 1px solid var(--line); background: var(--bg); }
.similar h3 { font: 500 24px/1.1 var(--serif); margin: 0 0 16px; }
.similar-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sim { display: grid; gap: 2px; text-align: left; border: 0; padding: 0; background: none; }
.sim-img { aspect-ratio: 1; border-radius: var(--radius); background: var(--tile); overflow: hidden; margin-bottom: 8px; transition: transform .4s var(--ease); }
.sim-img img { width: 100%; height: 100%; object-fit: contain; padding: 14%; mix-blend-mode: multiply; }
.sim:hover .sim-img { transform: translateY(-3px); }
.sim-brand { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sim-name { font: 500 17px/1.15 var(--serif); }
.sim-why { font-size: 11px; color: var(--accent); }

.upsell { background: var(--bg); border-radius: var(--radius); padding: 12px; display: grid; gap: 8px; }
.upsell p { margin: 0; font-size: 12px; color: var(--muted); }
.up { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; }
.up-img { width: 36px; height: 44px; border-radius: 6px; background: var(--tile); overflow: hidden; }
.up-img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; mix-blend-mode: multiply; }
.up-name { font-size: 13px; font-weight: 500; }
.up-name small { color: var(--muted); font-weight: 400; }
.up .btn-ghost { padding: 7px 10px; font-size: 12px; }
.promo-hint { color: var(--accent); font-size: 14px; font-weight: 500; }

@media (max-width: 860px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .similar { padding: 22px 16px 28px; }
  .similar-row { gap: 10px; }
}
.low30 { display: block; font-size: 10px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.ship-info { font-size: 13px; color: var(--muted); }
.form-template { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 8px 22px; background: var(--surface); }
.form-template p { margin: 12px 0; }


/* ===== v15: impeccable (craft floor) + GSAP ===== */
/* Powierzchnie przeglądarki w kolorach marki */
::selection { background: rgba(47, 106, 76, .2); color: var(--ink); }
input, textarea { caret-color: var(--accent); }
html { scrollbar-color: var(--accent-soft) var(--bg); accent-color: var(--accent); }
a { text-underline-offset: 3px; }

/* Linijka pod nagłówkiem zamiast napisu nad nim */
.hero-sub { margin: -14px 0 32px; max-width: 46ch; font-size: 17px; line-height: 1.6; color: var(--muted); opacity: 0; animation: rise .9s .6s var(--ease) forwards; }

/* Separator na pasku – narysowana kropka zamiast znaku unicode */
.marquee .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-soft); display: inline-block; }
.marquee.is-promo .dot { background: #e8a24a; }

/* Psiknięcie: chmura mgiełki wylatująca z dyszy w lewo (sterowana przez GSAP) */
.spray-cone {
  position: absolute; z-index: 3; left: 0; top: 0; width: 260px; height: 150px; margin: -75px 0 0 -260px;
  pointer-events: none; opacity: 0; transform-origin: 100% 50%; transform: scale(.1, .25);
  background:
    radial-gradient(ellipse 55% 40% at 97% 50%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 70%),
    radial-gradient(ellipse 80% 62% at 72% 50%, rgba(186, 212, 192, .7), rgba(186, 212, 192, 0) 72%),
    radial-gradient(ellipse 95% 80% at 50% 50%, rgba(143, 179, 154, .28), rgba(143, 179, 154, 0) 75%);
  filter: blur(6px);
  mix-blend-mode: multiply;
}
.leaf { translate: calc(var(--px, 0px) + var(--sx, 0px)) calc(var(--py, 0px) + var(--sy, 0px)); }

/* ===== v19: niższa sekcja powitalna (perfumy widać od razu) + psiknięcie na cały ekran ===== */
.hero { min-height: 0; padding-top: 24px; padding-bottom: 28px; }
.hero-stage { height: clamp(300px, 46dvh, 460px); }
.hero-title { font-size: clamp(44px, 5.6vw, 84px); margin-bottom: 26px; }
.hero-sub { margin-bottom: 24px; }
.hero-scroll { display: none; }
.bottle { width: min(220px, 40%); }
.shop-title { margin-top: 20px; }
@media (max-width: 860px) {
  .hero { padding-top: 12px; }
  .hero-stage { height: 250px; }
  .bottle { width: 118px; }
  .leaf-1 { width: 78px; } .leaf-2 { width: 100px; } .leaf-3 { width: 64px; } .leaf-4 { width: 86px; }
}

/* Mgiełka na cały ekran – płótno nad stroną, nie blokuje kliknięć */
.spray-overlay { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }

/* ===== v20: większa sekcja powitalna (do ok. 70% ekranu) ===== */
.hero { padding-top: 32px; padding-bottom: 48px; }
.hero-stage { height: clamp(360px, 56dvh, 580px); }
.hero-title { font-size: clamp(48px, 6.4vw, 100px); margin-bottom: 30px; }
.bottle { width: min(250px, 44%); }
@media (max-width: 860px) {
  .hero-stage { height: 300px; }
  .bottle { width: 140px; }
}

/* ===== v21: karuzela perfum na stanie w sekcji powitalnej ===== */
.carousel {
  position: absolute; inset: 4% 0 6%; z-index: 3;
  rotate: -7deg;                 /* lekkie nachylenie całej orbity */
  touch-action: pan-y; cursor: grab; user-select: none;
}
.carousel.dragging { cursor: grabbing; }
.c-item {
  position: absolute; left: 50%; top: 50%; width: clamp(80px, 7.6vw, 116px);
  border: 0; padding: 0; background: none; text-align: center;
  rotate: 7deg;                  /* same perfumy stoją prosto */
  will-change: transform, opacity; transform-origin: 50% 50%;
}
.c-img {
  display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #ffffff, var(--tile));
  box-shadow: 0 18px 30px -18px rgba(var(--shadow-tint), .45), inset 0 0 0 1px rgba(255, 255, 255, .7);
  transition: box-shadow .3s;
}
.c-img img { width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; pointer-events: none; }
.c-name {
  display: block; margin-top: 8px; font: 500 15px/1.15 var(--serif); color: var(--ink);
  opacity: var(--label, 0); transition: opacity .2s; white-space: nowrap;
}
.c-item:hover .c-img, .c-item:focus-visible .c-img { box-shadow: 0 22px 40px -16px rgba(var(--shadow-tint), .6), inset 0 0 0 2px var(--accent-soft); }
.leaf { z-index: 1; }

@media (max-width: 860px) {
  .c-item { width: 66px; }
  .c-name { font-size: 12px; }
}

/* ===== v23: karuzela – większa, bez białego tła, mocniej nachylona ===== */
/* Białe tło zdjęć „rozpuszcza się” (multiply) w tle strony – dlatego karuzela i scena
   nie mogą tworzyć własnych warstw (z-index, rotate, will-change izolują mieszanie kolorów). */
.hero-stage { z-index: auto; }
.carousel { z-index: auto; rotate: none; translate: none; will-change: auto; inset: 0 -6% 0 -10%; }
.c-item {
  width: clamp(150px, 15vw, 230px); rotate: none;
  mix-blend-mode: multiply;
}
.c-img {
  position: relative; aspect-ratio: 3 / 4; border-radius: 0; overflow: visible;
  background: none; box-shadow: none;
}
.c-img img { padding: 0; mix-blend-mode: normal; }
/* miękki cień pod flakonem */
.c-img::after {
  content: ''; position: absolute; left: 18%; right: 18%; bottom: -4%; height: 9%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--shadow-tint), .22), transparent);
  filter: blur(2px); z-index: -1;
}
.c-item:hover .c-img, .c-item:focus-visible .c-img { box-shadow: none; }
.c-item:focus-visible { outline: none; }
.c-item:focus-visible .c-name { text-decoration: underline; text-decoration-color: var(--accent); }
.c-name { margin-top: 12px; font-size: clamp(17px, 1.5vw, 22px); }
.c-brand { display: block; font: 500 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: var(--label, 0); margin-top: 2px; }
@media (max-width: 860px) {
  .carousel { inset: 0 -12%; }
  .c-item { width: 112px; }
  .c-name { font-size: 15px; }
}
.carousel { inset: 2% 0 4% -4%; }

/* ===== v25: tło sceny karuzeli – łuk z połyskiem i podest ===== */
.stage-bg { inset: 0; pointer-events: none; }
.arch {
  position: absolute; left: 50%; bottom: 13%; width: min(70%, 470px); aspect-ratio: 4 / 5; translate: -50% 0;
  border-radius: 999px 999px 28px 28px; overflow: hidden;
  background:
    radial-gradient(110% 70% at 50% 4%, #ffffff 0%, rgba(255, 255, 255, 0) 58%),
    radial-gradient(80% 50% at 50% 100%, rgba(47, 106, 76, .16), transparent 70%),
    linear-gradient(180deg, #e6efe2 0%, #d3e3cf 52%, #dfeadb 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), inset 0 -30px 60px -30px rgba(30, 64, 44, .18), 0 50px 90px -50px rgba(30, 64, 44, .45);
}
/* powoli obracający się połysk światła */
.arch::before {
  content: ''; position: absolute; inset: -60%;
  background: conic-gradient(from 0deg at 50% 40%, transparent 0deg, rgba(255, 255, 255, .5) 18deg, transparent 40deg, transparent 180deg, rgba(255, 255, 255, .35) 200deg, transparent 225deg);
  animation: archSpin 22s linear infinite;
}
/* cienka wewnętrzna rama łuku */
.arch::after {
  content: ''; position: absolute; inset: 14px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .55);
}
@keyframes archSpin { to { transform: rotate(360deg); } }
.podium {
  position: absolute; left: 50%; bottom: 8%; width: min(88%, 580px); height: 64px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(60% 70% at 50% 30%, #ffffff, #e2ecde 70%, #d2e1cd);
  box-shadow: 0 26px 40px -22px rgba(30, 64, 44, .38), inset 0 2px 0 rgba(255, 255, 255, .95), inset 0 -8px 16px -8px rgba(30, 64, 44, .18);
}
@media (max-width: 860px) {
  .arch { width: min(62%, 240px); bottom: 14%; }
  .podium { height: 36px; width: 86%; }
}
@media (prefers-reduced-motion: reduce) { .arch::before { animation: none; } }
.arch { width: min(62%, 420px); bottom: 14%; }

/* ===== v27: zdjęcia bez białego tła (działa też w Safari), większe karty, mniej pustych boków ===== */
img[data-pending] { opacity: 0; }
img.is-clean { mix-blend-mode: normal !important; animation: fade .5s ease both; }
/* karuzela nie potrzebuje już mieszania kolorów – zdjęcia są przezroczyste */
.c-item { mix-blend-mode: normal; }
.c-img img { object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 14px 18px rgba(var(--shadow-tint), .22)); }
.c-img::after { display: none; }

/* większe karty na liście, flakon wypełnia kartę */
.grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px 28px; }
.visual img { padding: 9% 12%; }
.visual img.is-clean { filter: drop-shadow(0 16px 20px rgba(var(--shadow-tint), .18)); }
.pd .visual img { padding: 10%; }

/* mniej pustego miejsca po bokach */
.shop { padding-left: clamp(12px, 2.5vw, 32px); padding-right: clamp(12px, 2.5vw, 32px); }
.top, .hero { padding-left: max(clamp(12px, 2.5vw, 32px), calc((100vw - 1440px) / 2 + 32px)); padding-right: max(clamp(12px, 2.5vw, 32px), calc((100vw - 1440px) / 2 + 32px)); }
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .visual img { padding: 8%; }
}

/* ===== v28: tło strony – plamy koloru i gałązki po bokach ===== */
body {
  background:
    radial-gradient(55vw 55vw at -8% 8%, rgba(143, 179, 154, .30), transparent 62%),
    radial-gradient(48vw 48vw at 108% 32%, rgba(168, 201, 175, .30), transparent 62%),
    radial-gradient(60vw 45vw at 30% 70%, rgba(222, 236, 220, .55), transparent 65%),
    radial-gradient(55vw 50vw at 92% 100%, rgba(236, 226, 203, .45), transparent 62%),
    #f2f6f0;
  background-attachment: fixed;
}
/* sekcja powitalna przezroczysta – widać tło strony, zostaje tylko jasna poświata za karuzelą */
.hero { background: radial-gradient(50% 65% at 76% 48%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 70%); }
.marquee { background: var(--surface); }

/* gałązki po bokach – tylko tam, gdzie jest wolne miejsce */
.page-deco { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.deco { position: absolute; top: 12vh; height: 80vh; width: clamp(120px, calc((100vw - 1180px) / 2), 300px); opacity: .55; }
.deco svg { width: 100%; height: 100%; }
.deco .stem, .deco .lf path:last-child { stroke: var(--accent-soft); stroke-width: 1.4; }
.deco .lf path:first-child { fill: rgba(143, 179, 154, .18); stroke: var(--accent-soft); stroke-width: 1.4; }
.deco-left { left: -10px; transform-origin: 50% 100%; animation: sprig 12s ease-in-out infinite; }
.deco-right { right: -10px; transform: scaleX(-1); transform-origin: 50% 100%; animation: sprigR 14s ease-in-out infinite; }
@keyframes sprig { 0%, 100% { rotate: -1.5deg; } 50% { rotate: 1.5deg; } }
@keyframes sprigR { 0%, 100% { rotate: 1.5deg; } 50% { rotate: -1.5deg; } }
/* treść nad dekoracją */
.hero, .marquee, .shop, .about, .foot { position: relative; z-index: 1; }
.top { z-index: 20; }
@media (max-width: 1100px) { .page-deco { display: none; } }
@media (prefers-reduced-motion: reduce) { .deco { animation: none; } }

/* ===== v29: wejście w zapach – zdjęcie wyłania się „przez płyn”, rosa, porównanie z oryginałem ===== */
.pd .visual { position: relative; }
.pd .visual img.is-clean { animation: liquidIn 1.1s cubic-bezier(.16, 1, .3, 1) both, float 6s 1.1s ease-in-out infinite; }
@keyframes liquidIn {
  0% { clip-path: circle(0% at 50% 62%); filter: blur(14px) saturate(.6); transform: scale(1.08); }
  60% { filter: blur(2px) saturate(1); }
  100% { clip-path: circle(80% at 50% 50%); filter: blur(0) drop-shadow(0 16px 20px rgba(var(--shadow-tint), .18)); transform: none; }
}
/* krąg „fali” rozchodzący się przy otwarciu */
.pd .visual::after {
  content: ''; position: absolute; left: 50%; top: 62%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .9); opacity: 0; pointer-events: none; transform: none; transition: none; background: none;
  animation: ripple 1.2s .15s cubic-bezier(.16, 1, .3, 1);
}
@keyframes ripple { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(9); } }
.pd .visual canvas.dew { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 6px; margin: 4px 0 6px; padding: 14px 12px 12px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .7), var(--tile)); }
.cmp { margin: 0; text-align: center; }
.cmp-img { display: block; height: 118px; }
.cmp-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(var(--shadow-tint), .2)); }
.cmp figcaption { margin-top: 8px; font: 500 15px/1.15 var(--serif); }
.cmp figcaption small { display: block; font: 500 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.cmp-orig figcaption small { color: var(--accent); }
.cmp-ours { animation: cmpL .9s .2s cubic-bezier(.16, 1, .3, 1) both; }
.cmp-orig { animation: cmpR .9s .2s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes cmpL { from { opacity: 0; transform: translateX(26px) scale(.9); } }
@keyframes cmpR { from { opacity: 0; transform: translateX(-26px) scale(.9); } }
/* trzy kropelki między flakonami – „ten sam zapach płynie” */
.cmp-vs { display: flex; gap: 5px; align-self: center; padding-bottom: 34px; }
.cmp-vs i { width: 7px; height: 9px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: radial-gradient(circle at 35% 35%, #fff 0 20%, var(--accent-soft) 60%, var(--accent)); animation: dropHop 1.6s ease-in-out infinite; }
.cmp-vs i:nth-child(2) { animation-delay: .2s; } .cmp-vs i:nth-child(3) { animation-delay: .4s; }
@keyframes dropHop { 0%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-6px); opacity: 1; } }
.cmp-note { margin: 0 0 6px; font-size: 11px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .pd .visual img.is-clean, .pd .visual::after, .cmp-ours, .cmp-orig, .cmp-vs i { animation: none; }
}

/* ===== v30: najechany flakon w karuzeli się powiększa (karuzela kręci się dalej) ===== */
.c-img { transition: transform .45s cubic-bezier(.16, 1, .3, 1); transform-origin: 50% 85%; }
.c-item:hover { z-index: 200 !important; }
.c-item:hover .c-img, .c-item:focus-visible .c-img { transform: scale(1.22) translateY(-4%); }
.c-item:hover .c-img img { filter: drop-shadow(0 22px 26px rgba(var(--shadow-tint), .32)); }
.carousel.dragging .c-item:hover .c-img { transform: none; }
@media (prefers-reduced-motion: reduce) { .c-img { transition: none; } }

/* ===== v31: logo „Spray Club” ===== */
.logo { text-transform: uppercase; letter-spacing: .16em; font-size: 24px; white-space: nowrap; }
.logo .sp { width: .3em; }
@media (max-width: 720px) { .logo { font-size: 19px; letter-spacing: .12em; } }

/* ===== v32: fiolka w wybranej pojemności obok flakonu ===== */
.pd .visual .vial {
  position: absolute; right: 7%; bottom: 8%; z-index: 3; pointer-events: none;
  height: calc(var(--vh, 1) * 58%); display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  transition: height .5s cubic-bezier(.16, 1, .3, 1);
}
.pd .visual .vial-svg { height: calc(100% - 26px); width: auto; overflow: visible; filter: drop-shadow(0 8px 10px rgba(var(--shadow-tint), .25)); }
.vial-tag { margin-top: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .85); font: 600 11px var(--sans); letter-spacing: .04em; color: var(--accent); box-shadow: 0 2px 8px rgba(var(--shadow-tint), .12); white-space: nowrap; }
.pd .visual .vial.pop .vial-svg { animation: vialIn .6s cubic-bezier(.34, 1.56, .64, 1) both; transform-origin: 50% 100%; }
.pd .visual .vial.pop .v-liq { animation: vialFill .9s .15s cubic-bezier(.16, 1, .3, 1) both; transform-box: fill-box; transform-origin: 50% 100%; }
.pd .visual .vial.pop .vial-tag { animation: vialTag .4s .2s ease-out both; }
@keyframes vialIn { from { opacity: 0; transform: translateY(14px) scale(.7) rotate(6deg); } }
@keyframes vialFill { from { transform: scaleY(0); } }
@keyframes vialTag { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 720px) { .pd .visual .vial { right: 5%; height: calc(var(--vh, 1) * 62%); } }
@media (prefers-reduced-motion: reduce) { .pd .visual .vial, .pd .visual .vial * { animation: none !important; transition: none !important; } }
.pd .visual:has(.vial) img { padding: 9% 30% 9% 6%; }
.pd .visual .vial { right: 9%; height: calc(var(--vh, 1) * 64%); }


/* ===== v36: karta zapachu wjeżdża od dołu z fade ===== */
#productDlg[open] { animation: slideUpFade .75s cubic-bezier(.16, 1, .3, 1) both; }
#productDlg[open]::backdrop { animation: fade .5s ease both; }
@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(min(38vh, 320px)); }
  45% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  #productDlg[open] { animation: fade .3s ease both; }
}

/* ===== v39: kolory – ciche atelier perfum =====
   Ciepły papier zamiast mięty, kamienne kafelki pod flakonami, atramentowa czerń z nutą zieleni
   do tekstu i przycisków, jedna głęboka zieleń butelkowa tylko na stany i akcenty. */
:root {
  --bg: oklch(0.975 0.006 85);
  --surface: oklch(0.993 0.003 85);
  --tile: oklch(0.948 0.008 80);
  --bg-deep: oklch(0.93 0.01 80);
  --ink: oklch(0.23 0.015 160);
  --muted: oklch(0.47 0.012 110);
  --line: oklch(0.905 0.008 85);
  --line-strong: oklch(0.84 0.011 85);
  --accent: oklch(0.42 0.075 160);
  --accent-soft: oklch(0.7 0.035 140);
  --gold: var(--accent);
  --danger: oklch(0.5 0.14 30);
  --warn: oklch(0.52 0.11 70);
  --promo: oklch(0.83 0.11 75);
  --shadow-tint: 46, 40, 30;
}
body {
  background:
    radial-gradient(70vw 50vw at 85% -10%, oklch(0.99 0.008 85 / .9), transparent 60%),
    radial-gradient(60vw 45vw at 0% 100%, oklch(0.95 0.012 80 / .6), transparent 65%),
    var(--bg);
  background-attachment: fixed;
}
.hero { background: radial-gradient(50% 65% at 76% 48%, oklch(1 0 0 / .7) 0%, transparent 70%); }

/* scena karuzeli: kamienny łuk w ciepłym świetle zamiast miętowego */
.arch {
  background:
    radial-gradient(110% 70% at 50% 4%, oklch(1 0 0 / .95) 0%, oklch(1 0 0 / 0) 58%),
    radial-gradient(80% 50% at 50% 100%, oklch(0.42 0.075 160 / .08), transparent 70%),
    linear-gradient(180deg, oklch(0.955 0.008 80) 0%, oklch(0.915 0.012 78) 55%, oklch(0.94 0.01 80) 100%);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .7), inset 0 -30px 60px -30px rgba(var(--shadow-tint), .16), 0 50px 90px -50px rgba(var(--shadow-tint), .4);
}
.podium {
  background: radial-gradient(60% 70% at 50% 30%, oklch(0.995 0.003 85), oklch(0.93 0.01 80) 70%, oklch(0.895 0.013 78));
  box-shadow: 0 26px 40px -22px rgba(var(--shadow-tint), .36), inset 0 2px 0 oklch(1 0 0 / .95), inset 0 -8px 16px -8px rgba(var(--shadow-tint), .16);
}
.spray-cone {
  background:
    radial-gradient(ellipse 55% 40% at 97% 50%, oklch(1 0 0), oklch(1 0 0 / 0) 70%),
    radial-gradient(ellipse 80% 62% at 72% 50%, oklch(0.93 0.01 80 / .7), oklch(0.93 0.01 80 / 0) 72%);
}

/* gałązki po bokach: cienka atramentowa linia zamiast zielonych plam */
.deco { opacity: .35; }
.deco .stem, .deco .lf path:last-child { stroke: var(--muted); stroke-width: 1.1; }
.deco .lf path:first-child { fill: none; stroke: var(--muted); stroke-width: 1.1; }

/* kafelki produktów: ciepły kamień, flakon jak w galerii */
.visual { background: var(--tile); }
.skeleton { background: linear-gradient(90deg, var(--tile) 0%, var(--surface) 50%, var(--tile) 100%); background-size: 200% 100%; }
.ph-designer { background: linear-gradient(150deg, oklch(0.3 0.015 160), oklch(0.5 0.02 120)); }
.ph-nisza { background: linear-gradient(150deg, oklch(0.32 0.03 160), oklch(0.58 0.04 150)); }
.ph-arabskie { background: linear-gradient(150deg, oklch(0.34 0.04 70), oklch(0.6 0.06 75)); }

/* akcent butelkowej zieleni tylko tam, gdzie coś znaczy */
.hero-title em { color: var(--accent); }
.size.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tab-ink { background: var(--accent); }
.btn:hover:not(:disabled) { background: var(--accent); }
.legal-page p { color: oklch(0.32 0.012 140); }

/* pasek promocji: atrament + jeden ciepły kolor sezonowy */
.marquee.is-promo { background: var(--ink); border-color: var(--ink); }
.marquee.is-promo:hover { background: oklch(0.28 0.02 160); }
.marquee.is-promo span { color: var(--surface); }
.marquee.is-promo span:nth-child(8n+1), .marquee.is-promo i { color: var(--promo); }
.marquee.is-promo .dot { background: var(--promo); }

/* powierzchnie przeglądarki w kolorach strony */
::selection { background: oklch(0.42 0.075 160 / .18); color: var(--ink); }
html { scrollbar-color: var(--line-strong) var(--bg); accent-color: var(--accent); }
input, textarea { caret-color: var(--accent); }
a { text-underline-offset: .2em; }

/* ===== v40: font Archivo (szeroki grotesk), granatowy atrament zamiast zieleni, flakoniki w tle ===== */
:root {
  --serif: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  /* czysty granatowy atrament zamiast butelkowej zieleni */
  --ink: oklch(0.21 0.012 260);
  --muted: oklch(0.48 0.01 260);
  --accent: oklch(0.38 0.09 262);
  --accent-soft: oklch(0.72 0.04 255);
  --bg: oklch(0.978 0.004 85);
  --tile: oklch(0.948 0.005 85);
}
::selection { background: oklch(0.38 0.09 262 / .16); }

/* typografia: szerokie, spokojne nagłówki; drobne napisy wersalikami z rozstrzeleniem */
.logo { font: 600 21px/1 var(--display); font-stretch: 125%; letter-spacing: .22em; }
.hero-title { font: 500 clamp(40px, 6vw, 88px)/.98 var(--display); font-stretch: 112%; letter-spacing: -.035em; }
.hero-title em { font-style: normal; font-weight: 300; color: var(--accent); }
.shop-title { font: 500 clamp(24px, 3vw, 34px)/1.1 var(--display); font-stretch: 112%; letter-spacing: -.02em; }
.about h2 { font: 500 clamp(32px, 5vw, 64px)/1 var(--display); font-stretch: 112%; letter-spacing: -.035em; }
.about h2 em { font-style: normal; font-weight: 300; color: var(--accent); }
.feature h3 { font: 500 21px/1.15 var(--display); font-stretch: 108%; letter-spacing: -.01em; }
.card-name { font: 500 17px/1.2 var(--display); font-stretch: 104%; letter-spacing: -.01em; }
.card-insp { font: 400 12.5px/1.3 var(--sans); color: var(--muted); }
.pd-body h2 { font: 500 30px/1.05 var(--display); font-stretch: 110%; letter-spacing: -.025em; }
.pyramid h3, .similar h3 { font: 500 20px/1.1 var(--display); font-stretch: 112%; letter-spacing: -.01em; }
.layer-name { font: 500 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.drawer-head h2, .co-form h2, .co-side h3 { font: 500 24px/1.1 var(--display); font-stretch: 110%; letter-spacing: -.02em; }
.done h2 { font: 500 32px/1.1 var(--display); font-stretch: 110%; letter-spacing: -.025em; }
.sim-name, .cmp figcaption { font: 500 14px/1.2 var(--display); }
.cd-time b { font: 500 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.legal-page h1, .notfound h1 { font: 500 clamp(32px, 5vw, 52px)/1.02 var(--display); font-stretch: 112%; letter-spacing: -.03em; }
.legal-page h2 { font: 500 20px/1.2 var(--display); font-stretch: 108%; }
.marquee span { font: 500 13px var(--sans); letter-spacing: .14em; }
.marquee.is-promo span { font: 500 14px var(--sans); letter-spacing: .08em; }
.marquee.is-promo span:nth-child(8n+1) { font: 600 15px var(--display); font-stretch: 118%; letter-spacing: .04em; font-style: normal; }
.intro-word { font: 500 clamp(28px, 7vw, 120px)/1 var(--display); font-stretch: 125%; letter-spacing: .16em; }

/* karuzela: nazwa i marka dopiero po najechaniu na flakon */
.c-name, .c-brand { opacity: 0 !important; transform: translateY(6px); transition: opacity .3s, transform .4s cubic-bezier(.16, 1, .3, 1); }
.c-name { font: 500 15px/1.15 var(--display); font-stretch: 108%; }
.c-item:hover .c-name, .c-item:hover .c-brand,
.c-item:focus-visible .c-name, .c-item:focus-visible .c-brand { opacity: 1 !important; transform: none; }
.c-item:focus-visible .c-name { text-decoration: none; }

/* flakoniki w tle po bokach, rysowane jedną kreską, powoli unoszą się */
.deco { opacity: 1; animation: none !important; transform: none; }
.deco-right { transform: none; }
.deco .fl {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: calc(var(--s) * 1.7);
  fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: .32;
  rotate: var(--r); animation: flFloat 9s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes flFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@media (prefers-reduced-motion: reduce) { .deco .fl { animation: none; } }
.hero-title { font-size: clamp(38px, 5.1vw, 80px); }
@media (max-width: 1320px) { .page-deco { display: none; } }
/* flakoniki tylko w wolnych pasach po bokach listy zapachów – nigdy na treści */
body { position: relative; }
.page-deco { position: absolute; top: 100vh; bottom: auto; height: 140vh; left: 0; right: 0; }
.deco { top: 0; height: 100%; width: clamp(0px, calc((100vw - 1440px) / 2 - 16px), 240px); }
@media (max-width: 1560px) { .page-deco { display: none; } }
@media (max-width: 720px) { .logo { font-size: 15px; letter-spacing: .16em; font-stretch: 118%; } }
@media (max-width: 380px) { .logo { font-size: 13px; letter-spacing: .12em; } }

/* ===== v44: fiolka – nasadka zeskakuje, atomizer psika ===== */
.pd .visual .vial { pointer-events: auto; cursor: pointer; }
.vial .v-cap, .vial .v-act { transform-box: fill-box; transform-origin: 50% 100%; }
.vial.spraying .v-cap { animation: capCycle 2.5s cubic-bezier(.3, .7, .3, 1) both; }
.vial.spraying .v-act { animation: actPress .45s .78s cubic-bezier(.3, 0, .3, 1) both; }
@keyframes capCycle {
  0% { transform: none; opacity: 1; }
  12% { transform: translateY(-14%); }
  30% { transform: translate(85%, -150%) rotate(32deg); opacity: 1; }
  38% { transform: translate(110%, -170%) rotate(40deg); opacity: 0; }
  78% { transform: translate(0, -120%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes actPress { 0%, 100% { transform: none; } 40% { transform: translateY(26%); } }
.pd .visual canvas.mist-burst { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
@media (prefers-reduced-motion: reduce) { .vial.spraying .v-cap, .vial.spraying .v-act { animation: none; } }

/* ===== v45: granat jako główny akcent + granatowa scena karuzeli ===== */
:root {
  --navy: oklch(0.34 0.1 263);
  --navy-deep: oklch(0.24 0.075 265);
  --navy-hi: oklch(0.52 0.13 260);
  --accent: var(--navy);
  --accent-soft: oklch(0.72 0.05 258);
}
::selection { background: oklch(0.34 0.1 263 / .18); }

/* główne przyciski i aktywne elementy w granacie */
.btn, .chip.active, .skip, .cart-count, .toast { background: var(--navy); color: #fff; }
.btn:hover:not(:disabled) { background: var(--navy-deep); box-shadow: 0 12px 28px -12px oklch(0.34 0.1 263 / .6); }
.tab-ink { background: var(--navy); }
.size.active { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.hero-title em, .about h2 em { color: var(--navy); }
.marquee.is-promo { background: var(--navy-deep); border-color: var(--navy-deep); }
.marquee.is-promo:hover { background: var(--navy); }

/* scena za karuzelą: granatowy łuk – światło z góry, delikatne okręgi, lśniący podest */
.arch {
  background:
    radial-gradient(70% 45% at 50% 0%, oklch(0.62 0.13 255 / .55), transparent 70%),
    radial-gradient(60% 50% at 50% 55%, oklch(0.42 0.12 262 / .55), transparent 75%),
    repeating-radial-gradient(circle at 50% 62%, transparent 0 34px, oklch(1 0 0 / .045) 34px 35px),
    linear-gradient(180deg, oklch(0.36 0.11 262) 0%, var(--navy-deep) 60%, oklch(0.2 0.06 266) 100%);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .14), inset 0 -40px 70px -30px oklch(0.12 0.04 266 / .8), 0 50px 90px -45px oklch(0.24 0.075 265 / .7);
}
.arch::before {
  background: conic-gradient(from 0deg at 50% 40%, transparent 0deg, oklch(1 0 0 / .14) 16deg, transparent 38deg, transparent 180deg, oklch(1 0 0 / .1) 198deg, transparent 222deg);
}
.arch::after { border-color: oklch(1 0 0 / .18); }
/* snop światła padający z góry na flakony */
.stage-bg::before {
  content: ''; position: absolute; left: 50%; bottom: 14%; width: min(56%, 340px); height: 84%; translate: -50% 0; pointer-events: none;
  background: linear-gradient(180deg, oklch(0.9 0.04 250 / .28), oklch(0.9 0.04 250 / .06) 65%, transparent);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); filter: blur(10px); z-index: 1;
}
.podium {
  background: radial-gradient(60% 75% at 50% 30%, oklch(0.5 0.12 260), var(--navy) 55%, var(--navy-deep));
  box-shadow: 0 26px 40px -20px oklch(0.24 0.075 265 / .7), inset 0 2px 0 oklch(1 0 0 / .35), inset 0 -10px 18px -8px oklch(0.12 0.04 266 / .7);
}
/* napisy pod flakonami na granatowym tle – jasne */
.carousel .c-name { color: #fff; text-shadow: 0 1px 8px oklch(0.15 0.05 266 / .6); }
.carousel .c-brand { color: oklch(0.85 0.03 255); }
/* flakony mocniej odcięte od ciemnego tła */
.c-img img { filter: drop-shadow(0 14px 18px oklch(0.1 0.04 266 / .55)) drop-shadow(0 0 22px oklch(0.75 0.06 250 / .18)); }

/* ===== v46: zestawy 3+ / 5+ ===== */
.bundle-box { margin: 4px 0 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--tile); font-size: 13.5px; }
.bundle-box p { margin: 8px 0 0; color: var(--ink); line-height: 1.4; }
.bundle-box b { color: var(--navy); }
.bundle-box.on { background: oklch(0.34 0.1 263 / .08); box-shadow: inset 0 0 0 1px oklch(0.34 0.1 263 / .25); }
.bundle-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.bundle-steps span { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.bundle-steps span.hit { color: #fff; background: var(--navy); box-shadow: none; }
.bundle-note { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.bundle-note b { color: var(--navy); }

/* ===== v47: pierwszy ekran – jeden cel; napis SPRAY CLUB odjeżdża do paska; karuzela pod spodem ===== */
:root { --head-h: 64px; }
.opening {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  min-height: 100svh; margin-top: calc(-1 * var(--head-h));
  display: grid; align-content: center; justify-items: center; gap: clamp(28px, 4vh, 44px);
  padding: calc(var(--head-h) + 32px) 16px 64px; text-align: center;
  background: var(--navy-deep); color: #fff;
}
.opening-word {
  margin: 0 -.22em 0 0; white-space: nowrap; transform-origin: 0 0; will-change: transform;
  font: 600 min(9.2vw, 17svh)/1 var(--display); font-stretch: 125%; letter-spacing: .22em; text-transform: uppercase;
}
.opening-word span { display: inline-block; animation: wordIn 1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * .06s + .1s); }
.opening-word .sp { width: .28em; }
@keyframes wordIn { from { opacity: 0; transform: translateY(.35em); } }
.opening-copy { display: grid; justify-items: center; gap: 18px; max-width: 40rem; animation: copyIn 1s .55s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes copyIn { from { opacity: 0; transform: translateY(24px); } }
.opening-title { margin: 0; font: 500 clamp(26px, 3.2vw, 46px)/1.08 var(--display); font-stretch: 108%; letter-spacing: -.025em; max-width: 20ch; text-wrap: balance; }
.opening-sub { margin: 0; font-size: 18px; line-height: 1.5; color: oklch(0.93 0.02 255); max-width: 36ch; }
.opening .btn { margin-top: 10px; padding: 17px 36px; font-size: 16px; background: #fff; color: var(--navy-deep); box-shadow: none; transition: transform .2s cubic-bezier(.16, 1, .3, 1), background .25s; }
.opening .btn:hover { background: oklch(0.9 0.04 255); transform: translateY(-2px); }
.opening .btn:active { transform: translateY(0) scale(.98); }

/* pasek nad granatowym ekranem: bez tła, jasne napisy; logo pojawia się, gdy napis do niego dojedzie */
.top { transition: background-color .35s, color .35s, box-shadow .35s; }
html.on-opening .top { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; color: #fff; }
html.on-opening .top .logo, html.on-opening .top .tab { color: #fff; }
html.on-opening .top .tab-ink { background: #fff; }
html.on-opening .top .search { background: oklch(1 0 0 / .14); color: #fff; }
html.on-opening .top .search::placeholder { color: oklch(1 0 0 / .75); }
html.on-opening .top .cart-btn { background: transparent; color: #fff; border-color: oklch(1 0 0 / .45); }
html.on-opening .top .cart-count { background: #fff; color: var(--navy-deep); }
html.dock-on .top .logo { opacity: 0; transition: opacity .2s; }
html.dock-on.docked .top .logo { opacity: 1; }
html.dock-on.docked .opening-word { visibility: hidden; }

/* sekcja z karuzelą: jedna kolumna, nagłówek nad sceną */
.hero { display: block; min-height: 0; padding-top: clamp(72px, 11vh, 128px); padding-bottom: 32px; background: none; overflow: visible; }
.stage-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; position: relative; z-index: 3; }
.stage-title { margin: 0; font: 500 clamp(34px, 4.6vw, 68px)/1 var(--display); font-stretch: 112%; letter-spacing: -.035em; }
.hero .countdown { margin: 0; }
.hero-stage { height: min(68svh, 640px); margin-top: 8px; }
@media (max-width: 860px) {
  .opening { gap: 24px; }
  .opening-word { font-size: 9.6vw; }
  .opening-sub { font-size: 16px; }
  .hero-stage { height: clamp(300px, 50svh, 460px); }
}
@media (prefers-reduced-motion: reduce) {
  .opening-word span, .opening-copy { animation: none; }
}
.opening-word .sp { width: .3em; }
@media (max-width: 720px) { .opening-word { letter-spacing: .16em; font-stretch: 118%; margin-right: -.16em; } }

/* ===== v48: animowane tło całej strony + przezroczyste powierzchnie; poprawki z inspektora ===== */
:root {
  /* chłodna, czysta biel zamiast kremu */
  --bg: oklch(0.975 0.004 255);
  --surface: oklch(0.995 0.002 255);
  --tile: oklch(0.945 0.006 255);
  --muted: oklch(0.45 0.015 260);
}
body { font-size: 16px; }
.page-liquid { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; display: block; pointer-events: none; }
/* z cieczą: sekcje bez własnego tła, powierzchnie półprzezroczyste */
html.has-liquid body { background: var(--bg); }
html.has-liquid .opening { background: transparent; }
html.has-liquid .about, html.has-liquid .shop, html.has-liquid .foot, html.has-liquid .hero { background: transparent; }
html.has-liquid .about::before { display: none; }
html.has-liquid .page-deco { display: none; }
html.has-liquid .visual { background: oklch(1 0 0 / .55); }
html.has-liquid .card:hover .visual { background: oklch(1 0 0 / .72); }
html.has-liquid:not(.on-opening) .top { background: oklch(0.985 0.004 255 / .7); }
html.has-liquid .marquee:not(.is-promo) { background: oklch(1 0 0 / .5); }

/* scena karuzeli: płaski granatowy łuk i podest (bez gradientów i cieni) */
.arch { background: var(--navy); box-shadow: none; }
.arch::before, .stage-bg::before { display: none; }
.arch::after { border: 0; }
.podium { background: var(--navy-deep); box-shadow: none; }
.carousel .c-name { text-shadow: none; }

/* bez cienkich linii – oddzielają przestrzeń i ton */
.marquee { border-block: 0; }
.foot { border-top: 0; padding-top: 56px; }

/* nic do czytania poniżej 13 px, bez drobnych wersalików z rozstrzeleniem */
.card-brand, .c-brand, .sim-brand, .pd-body .card-brand { font-size: 13px; letter-spacing: 0; text-transform: none; }
.card-insp, .card-price, .card-price .code-hint, .cd-label, .cd-time i, .badge, .bundle-note, .bundle-steps span,
.size small, .sprays, .vial-tag, .layer-name, .cmp figcaption small, .cmp-note, .note-name, .foot, .foot .muted,
.line-meta, .sum-row, .promo-msg, .ship-bar, .marquee span, .omnibus, .sim-why, .cd-time i { font-size: 13px; }
.layer-name, .cmp figcaption small { letter-spacing: .02em; text-transform: none; }

/* tekst ciągły w pełnym atramencie */
.feature p, .about-lead, .pd-desc, .opening-sub { color: inherit; }
.feature p, .about-lead, .pd-desc { color: var(--ink); font-size: 16px; }

/* nagłówek „O nas” mieści się w dwóch liniach na telefonie */
@media (max-width: 480px) { .about h2 { font-size: 25px; } }

/* odstęp między paskiem promocji a nagłówkiem katalogu */
.shop-title { margin-top: 56px; }
.tab { white-space: nowrap; }

/* ===== v49: czcionka w stylu Air (Inter Tight), szklany napis spadający przy otwarciu, „O nas” na pełny ekran ===== */
:root {
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --serif: 'Inter Tight', system-ui, sans-serif;
  --display: 'Inter Tight', system-ui, sans-serif;
  --script: 'Pacifico', cursive;
}
body { font-family: var(--sans); letter-spacing: -.005em; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
h1, h2, h3, .stage-title, .shop-title, .card-name, .opening-title { font-stretch: normal; }

/* szklany napis: przezroczyste rurki z połyskiem, przez które widać ciecz */
.opening-word { display: block; width: min(84vw, 1060px); margin: 0; letter-spacing: 0; text-transform: none; font: inherit; transform-origin: 0 0; }
.word-svg { display: block; width: 100%; height: auto; overflow: visible; transform-origin: 50% 100%; }
.word-text { font-family: var(--script); font-size: 210px; fill: oklch(0.88 0.04 255 / .3); filter: url(#glass); }
.opening-copy { animation-delay: 1.9s; }

/* logo w pasku: ta sama kursywa */
.logo { font: 400 25px/1.1 var(--script); letter-spacing: 0; text-transform: none; font-stretch: normal; }
@media (max-width: 720px) { .logo { font-size: 21px; letter-spacing: 0; font-stretch: normal; } }

/* karty: przezroczyste, przy najechaniu unosi się cały kwadrat */
html.has-liquid .visual { background: oklch(1 0 0 / .22); }
html.has-liquid .card:hover .visual { background: oklch(1 0 0 / .34); }
.card .visual { transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1), background-color .3s; }
.card:hover .visual, .card:focus-visible .visual { transform: translateY(-10px); box-shadow: 0 28px 46px -24px oklch(0.22 0.07 265 / .45); }
.card:hover .visual img, .card:focus-visible .visual img { transform: none; }
.card:active .visual { transform: translateY(-4px); }

/* „O nas”: osobny pełny ekran na granatowej cieczy */
html.has-liquid .about { min-height: 100svh; display: grid; align-content: center; gap: clamp(48px, 7vh, 88px); padding-block: clamp(96px, 14vh, 160px); color: #fff; }
html.has-liquid .about h2 { color: #fff; font: 500 clamp(36px, 5.4vw, 80px)/1 var(--display); letter-spacing: -.035em; }
.about h2 em { font-style: normal; color: inherit; }
.about h2 .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.about h2 .ln > span { display: block; }
html.has-liquid .about-lead, html.has-liquid .feature p { color: oklch(0.93 0.02 255); }
html.has-liquid .feature h3 { color: #fff; }
.features { gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px); }
.feature { padding-top: 22px; position: relative; }
.feature::before { content: ''; position: absolute; left: 0; top: 0; width: 40px; height: 3px; border-radius: 2px; background: oklch(0.8 0.08 255); }
html.has-liquid .foot { color: oklch(0.92 0.02 255); position: relative; z-index: 1; }
html.has-liquid .foot a { color: #fff; }
html.has-liquid .foot .muted { color: oklch(0.82 0.03 255); }
@media (max-width: 480px) { .about h2 { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .word-svg { animation: none; } }
/* zamknięcie strony: szklany napis na całą szerokość */
.foot-word { display: block; width: 100%; max-width: 1440px; height: auto; margin: 0 auto 28px; overflow: visible; }
html:not(.has-liquid) .foot-word { display: none; }
html.has-liquid .about h2 { font-size: clamp(30px, 4.4vw, 64px); }
html.has-liquid .about h2 .ln > span { white-space: nowrap; }
@media (max-width: 480px) { html.has-liquid .about h2 { font-size: 23px; } }
.shop-title { margin-top: 104px; }

/* pierwszy ekran dłuższy – miejsce na spadanie, obrót i pisanie */
html.has-liquid .opening { min-height: 128svh; align-content: start; padding-top: calc(var(--head-h) + 15svh); }
.opening-word { perspective: 1400px; }
.word-svg { transform-style: preserve-3d; }
.about-lead { max-width: 60ch; }
.card-insp, .card-price, .card-price .code-hint { font-size: 14px; }
/* stopka: czytelny rozmiar i rozsądna długość linii */
.foot p { font-size: 15px; max-width: 70ch; }
.foot p.legal { font-size: 14px; }
.grid .card-brand, .c-brand { font-size: 14px; }
html.has-liquid .foot .muted, .foot p.muted { font-size: 15px; }

/* ===== v50: orbita – same perfumy unoszą się nad cieczą, sekcja tuż nad napisem w stopce ===== */
.orbit {
  position: relative; z-index: 1; overflow-x: clip; color: #fff; scroll-margin-top: 40px;
  padding: clamp(72px, 9vh, 120px) max(clamp(16px, 4vw, 48px), calc((100vw - 1440px) / 2 + 48px)) clamp(16px, 3vh, 40px);
}
html:not(.has-liquid) .orbit { background: var(--navy-deep); }
.orbit-head { display: grid; justify-items: center; gap: 18px; text-align: center; }
.orbit-title { margin: 0; font: 500 clamp(36px, 5.4vw, 80px)/1 var(--display); letter-spacing: -.035em; color: #fff; }
.orbit .countdown { justify-items: center; }
.orbit .cd-label, .orbit .cd-time i { color: oklch(0.85 0.03 255); }
.orbit .cd-time b { color: #fff; }

.orbit-ring {
  position: relative; height: min(58svh, 600px); margin-top: clamp(8px, 2vh, 24px);
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.orbit-ring.dragging { cursor: grabbing; }
.o-item {
  position: absolute; left: 50%; top: 50%; width: clamp(150px, 15vw, 240px);
  padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  will-change: transform, opacity; -webkit-tap-highlight-color: transparent;
}
.o-float { display: block; aspect-ratio: 3 / 4; will-change: transform; transform-origin: 50% 70%; }
.o-float img {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; pointer-events: none;
  filter: drop-shadow(0 18px 22px oklch(0.1 0.05 266 / .5)) drop-shadow(0 0 26px oklch(0.82 0.07 250 / .22));
  transform-origin: 50% 85%; transition: transform .5s cubic-bezier(.16, 1, .3, 1), filter .5s;
}
/* cień pod lewitującym flakonem – maleje, gdy flakon się unosi */
.o-shadow {
  position: absolute; left: 50%; bottom: -16px; width: 56%; height: 16px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, oklch(0.1 0.05 266 / .65), transparent); filter: blur(3px);
}
/* nazwa i cena dopiero po najechaniu */
.o-label {
  position: absolute; left: 50%; top: calc(100% + 24px); translate: -50% 0; pointer-events: none;
  display: grid; justify-items: center; gap: 2px; white-space: nowrap; text-align: center;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .45s cubic-bezier(.16, 1, .3, 1);
}
.o-brand, .o-price { font-size: 14px; color: oklch(0.86 0.03 255); }
.o-name { font: 500 19px/1.15 var(--display); letter-spacing: -.01em; color: #fff; }
.o-item:hover, .o-item:focus-visible { z-index: 200 !important; filter: none !important; }
.o-item:hover .o-float img, .o-item:focus-visible .o-float img {
  transform: scale(1.2) translateY(-4%);
  filter: drop-shadow(0 26px 30px oklch(0.1 0.05 266 / .55)) drop-shadow(0 0 40px oklch(0.86 0.08 250 / .42));
}
.o-item:hover .o-label, .o-item:focus-visible .o-label { opacity: 1; transform: none; }
.orbit-ring.dragging .o-item:hover .o-float img { transform: none; }
.orbit-ring.dragging .o-item:hover .o-label { opacity: 0; }
.o-item:focus-visible { outline: none; }
.o-item:focus-visible .o-float { outline: 2px solid #fff; outline-offset: 8px; border-radius: 14px; }

.orbit-ctrl { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: clamp(28px, 4vh, 56px); }
.orbit-hint { margin: 0; font-size: 15px; color: oklch(0.86 0.03 255); }
.orbit-arrow {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: oklch(1 0 0 / .12); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .25s, transform .2s cubic-bezier(.16, 1, .3, 1);
}
.orbit-arrow:hover { background: oklch(1 0 0 / .22); transform: scale(1.06); }
.orbit-arrow:active { transform: scale(.94); }
.orbit-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 720px) {
  .orbit-ring { height: clamp(320px, 50svh, 440px); }
  .o-item { width: 112px; }
  .o-name { font-size: 16px; }
  .o-label { top: calc(100% + 18px); }
}
@media (prefers-reduced-motion: reduce) {
  .o-float img, .o-label, .orbit-arrow { transition: none; }
}

/* ===== v51: bajkowe tło – zamek o zachodzie, lot wstecz wzdłuż rzeki, noc; postacie z flakonami ===== */
html.has-scene body { background: oklch(0.3 0.07 270); } /* zanim obraz się wczyta: zmierzch, nie biel */
html.has-scene .opening-copy { text-shadow: 0 2px 22px oklch(0.18 0.06 265 / .6); }
html.has-scene .opening-sub { color: #fff; }

.shop-head { position: relative; margin-top: 48px; }
.shop-head .shop-title { margin: 0 0 22px; }
/* szklany napis na jasnym zachodzie: mocniejsze szkło, żeby nie ginął na tle zamku */
html.has-scene .word-text { fill: oklch(0.97 0.02 260 / .52); }
html.has-scene .word-svg { filter: drop-shadow(0 6px 24px oklch(0.25 0.08 270 / .45)); }

/* ===== v52: długi obraz 4K w tle (zamek u góry, rzeka w dół), wolniej niż treść ===== */
.page-painting { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.pp-track { position: absolute; top: 0; left: 0; width: 100%; will-change: transform; }
.pp-track img { display: block; width: 100%; height: auto; user-select: none; }
.page-sky { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; display: block; pointer-events: none; }

/* karty na obrazie: cała karta to szklany kafelek – marka, nazwa i cena w środku, czytelne na każdym fragmencie obrazu */
html.has-scene .card {
  padding: 10px 10px 18px; border-radius: 22px;
  background: oklch(0.985 0.006 255 / .5);
  -webkit-backdrop-filter: blur(8px) saturate(1.15); backdrop-filter: blur(8px) saturate(1.15);
  box-shadow: 0 22px 44px -30px oklch(0.18 0.06 265 / .7);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1), background-color .3s;
}
html.has-scene .card .visual { background: oklch(1 0 0 / .32); border-radius: 14px; }
html.has-scene .card > :not(.visual) { padding-inline: 6px; }
html.has-scene .card:hover, html.has-scene .card:focus-visible {
  transform: translateY(-10px); background: oklch(0.99 0.006 255 / .64);
  box-shadow: 0 34px 56px -30px oklch(0.18 0.06 265 / .75);
}
html.has-scene .card:hover .visual, html.has-scene .card:focus-visible .visual { transform: none; box-shadow: none; background: oklch(1 0 0 / .45); }
html.has-scene .card:active { transform: translateY(-4px); }
html.has-scene .card.out { background: oklch(0.985 0.006 255 / .44); }
/* tytuł katalogu bezpośrednio na obrazie */
html.has-scene .shop-title { color: #fff; text-shadow: 0 2px 18px oklch(0.15 0.05 265 / .75), 0 0 2px oklch(0.15 0.05 265 / .5); }
html.has-scene .shop-title small { color: oklch(0.95 0.02 255); }
/* tekst pierwszego ekranu nad obrazem: miękki ciemny cień za blokiem */
html.has-scene .opening-copy { position: relative; }
html.has-scene .opening-copy::before {
  content: ''; position: absolute; inset: -18% -22%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, oklch(0.18 0.06 265 / .42), transparent);
}
@media (prefers-reduced-motion: reduce) { html.has-scene .card { transition: none; } }
/* pętla taste: bez cieni w spoczynku i bez cienia tekstu na pierwszym ekranie (wystarcza ciemna poświata za blokiem) */
html.has-scene .card { box-shadow: none; }
html.has-scene .opening-copy { text-shadow: none; }

/* żywe sceny: pętle wideo na obrazie, brzegi miękko wtopione w obraz pod spodem */
.pp-clip {
  position: absolute; left: 0; width: 100%; object-fit: cover; pointer-events: none;
  opacity: 0; transition: opacity 1s;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.pp-clip.on { opacity: 1; }
/* pierwsza scena zaczyna się na samej górze strony – wtapia się tylko dolnym brzegiem */
.pp-clip.pp-first { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }

/* zamek w dwóch warstwach: niebo (chmury, słońce) gra w pętli, ziemia rusza się przy przewijaniu; granica po linii gór */
.pp-clip.pp-sky {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 51%, transparent 60%);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 51%, transparent 60%);
}
.pp-clip.pp-land {
  -webkit-mask-image: linear-gradient(to bottom, transparent 51%, #000 60%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent 51%, #000 60%, #000 80%, transparent);
}

/* intro: napis spada z gwiazd – do wylądowania bez menu, tekstu i przycisku */
.top { transition: background-color .35s, color .35s, box-shadow .35s, opacity .6s; }
html.intro .top { opacity: 0; pointer-events: none; }
html.intro .opening-copy { animation: none; opacity: 0 !important; visibility: hidden !important; } /* ważniejsze niż style z dokowania napisu */
html.intro-done .opening-copy { animation-delay: .15s; }

/* ===== v53: pasek promocji na samej górze – zawsze widoczny; kolory nocnego nieba i dyniowego złota ===== */
.promo-bar {
  position: sticky; top: 0; z-index: 21;
  display: flex; justify-content: center; align-items: center;
  min-height: 40px; padding: 6px 16px;
  background: oklch(0.21 0.07 287); color: oklch(0.94 0.03 85);
  font-size: 14px; line-height: 1.3; text-align: center;
  transition: opacity .6s;
}
.promo-bar[hidden] { display: none; }
.promo-bar p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; }
.pb-off { font-weight: 600; color: oklch(0.83 0.14 70); }
.pb-code {
  padding: 4px 11px; border-radius: 999px; cursor: pointer;
  border: 1px dashed oklch(0.83 0.14 70 / .75); background: oklch(0.83 0.14 70 / .14);
  color: oklch(0.95 0.08 85); font: 600 13px/1.2 var(--sans); letter-spacing: .06em;
  transition: background-color .2s, transform .2s cubic-bezier(.16, 1, .3, 1);
}
.pb-code:hover { background: oklch(0.83 0.14 70 / .28); }
.pb-code:active { transform: scale(.95); }
.pb-code:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pb-left { color: oklch(0.8 0.05 285); }
/* menu jedzie pod paskiem promocji */
.top { top: var(--promo-h, 0px); }
html.intro .promo-bar { opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
  .promo-bar { font-size: 13px; min-height: 36px; padding: 5px 10px; }
  .pb-text { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pb-code, .promo-bar { transition: none; } }

/* ===== v54: większe napisy na pierwszym ekranie ===== */
.opening-copy { gap: clamp(16px, 2vh, 24px); max-width: 52rem; }
.opening-title { font-size: clamp(34px, 5vw, 76px); line-height: 1.04; letter-spacing: -.03em; max-width: 18ch; }
.opening-sub { font-size: clamp(17px, 1.45vw, 22px); max-width: 40ch; }
.opening .btn { margin-top: 12px; padding: 19px 44px; font-size: clamp(16px, 1.2vw, 19px); }
@media (max-width: 860px) {
  .opening-title { font-size: clamp(32px, 9vw, 44px); }
  .opening-sub { font-size: 17px; }
}
/* większy tekst musi się zmieścić na pierwszym ekranie razem z przyciskiem: mniej miejsca nad napisem, napis trochę mniejszy */
html.has-liquid .opening { padding-top: calc(var(--head-h) + 5svh); }
.opening-word { width: min(70vw, 880px); }
@media (max-width: 860px) { .opening-word { width: min(86vw, 880px); } }
.opening-sub { text-wrap: balance; }

/* ===== v55: okno perfum w bajkowym stylu – nocna szklana karta, złoto, flakon na świecącym postumencie ===== */
html.has-scene #productDlg {
  --fd-ink: oklch(0.96 0.015 85);
  --fd-muted: oklch(0.8 0.03 275);
  --fd-gold: oklch(0.83 0.13 78);
  --fd-line: oklch(1 0 0 / .12);
  background: oklch(0.19 0.055 278 / .82);
  -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2);
  color: var(--fd-ink);
  border: 1px solid oklch(0.83 0.13 78 / .28);
  box-shadow: 0 40px 120px -40px oklch(0.06 0.04 275 / .95), inset 0 1px 0 oklch(1 0 0 / .08);
}
html.has-scene #productDlg::backdrop { background: oklch(0.1 0.05 275 / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html.has-scene #productDlg .dlg-close { background: oklch(1 0 0 / .08); color: var(--fd-ink); }
html.has-scene #productDlg .dlg-close:hover { background: oklch(1 0 0 / .16); }

/* strona z flakonem: białe tło (zdjęcia flakonów są wycinane z białego – na ciemnym widać brzegi) */
html.has-scene #productDlg .pd .visual { position: relative; overflow: hidden; background: #fff; }
html.has-scene #productDlg .vial { z-index: 4; }
html.has-scene #productDlg .vial-tag { background: oklch(0.15 0.05 278 / .85); color: var(--fd-ink); box-shadow: 0 0 0 1px oklch(0.83 0.13 78 / .35); }

/* opis i porównanie */
html.has-scene #productDlg .card-brand { color: var(--fd-muted); }
html.has-scene #productDlg .pd-body h2 { color: #fff; }
html.has-scene #productDlg .compare { background: oklch(1 0 0 / .06); box-shadow: inset 0 0 0 1px oklch(0.83 0.13 78 / .22); }
html.has-scene #productDlg .cmp figcaption { color: var(--fd-ink); }
html.has-scene #productDlg .cmp figcaption small { color: var(--fd-muted); }
html.has-scene #productDlg .cmp-orig figcaption small { color: var(--fd-gold); }
html.has-scene #productDlg .cmp-vs i { background: var(--fd-gold); }
html.has-scene #productDlg .cmp-note, html.has-scene #productDlg .pd-notes, html.has-scene #productDlg .pd-desc { color: var(--fd-muted); }

/* pojemności */
html.has-scene #productDlg .size { background: oklch(1 0 0 / .05); border-color: oklch(1 0 0 / .14); color: var(--fd-ink); }
html.has-scene #productDlg .size:hover:not(:disabled) { background: oklch(1 0 0 / .09); }
html.has-scene #productDlg .size.active { border-color: var(--fd-gold); box-shadow: inset 0 0 0 1px var(--fd-gold), 0 0 28px -6px oklch(0.83 0.13 78 / .45); background: oklch(0.83 0.13 78 / .1); }
html.has-scene #productDlg .size small { color: var(--fd-muted); }
html.has-scene #productDlg .size .sprays { color: var(--fd-gold); }
html.has-scene #productDlg .size.active .size-price { color: var(--fd-gold); }
html.has-scene #productDlg .omnibus, html.has-scene #productDlg .bundle-note { color: var(--fd-muted); }
html.has-scene #productDlg .omnibus b, html.has-scene #productDlg .bundle-note b { color: var(--fd-gold); }

/* zakup: złoty przycisk */
html.has-scene #productDlg .qty { border-color: oklch(1 0 0 / .2); color: var(--fd-ink); }
html.has-scene #productDlg .qty button { color: var(--fd-ink); }
html.has-scene #productDlg #addBtn { background: var(--fd-gold); color: oklch(0.2 0.06 278); font-weight: 600; }
html.has-scene #productDlg #addBtn:hover:not(:disabled) { background: oklch(0.88 0.12 82); box-shadow: 0 14px 34px -12px oklch(0.83 0.13 78 / .7); }
html.has-scene #productDlg #addBtn:disabled { background: oklch(1 0 0 / .12); color: var(--fd-muted); }

/* piramida i podobne zapachy */
html.has-scene #productDlg .pyramid, html.has-scene #productDlg .similar { border-top-color: var(--fd-line); background: transparent; }
html.has-scene #productDlg .pyramid h3, html.has-scene #productDlg .similar h3 { color: #fff; }
html.has-scene #productDlg .layer-name { color: var(--fd-gold); }
html.has-scene #productDlg .note img, html.has-scene #productDlg .note-ph { box-shadow: 0 0 0 2px oklch(0.83 0.13 78 / .5), 0 10px 22px -10px oklch(0.05 0.03 275 / .8); }
html.has-scene #productDlg .note figcaption { color: var(--fd-ink); }
html.has-scene #productDlg .sim-brand, html.has-scene #productDlg .sim-why { color: var(--fd-muted); }
html.has-scene #productDlg .sim-name { color: var(--fd-ink); }
html.has-scene #productDlg .sim-img { background: oklch(1 0 0 / .06); }
/* pasek przewijania okna w kolorach karty zamiast białego */
html.has-scene #productDlg { scrollbar-color: oklch(0.83 0.13 78 / .45) transparent; scrollbar-width: thin; }
html.has-scene #productDlg::-webkit-scrollbar { width: 8px; }
html.has-scene #productDlg::-webkit-scrollbar-track { background: transparent; }
html.has-scene #productDlg::-webkit-scrollbar-thumb { background: oklch(0.83 0.13 78 / .45); border-radius: 8px; }

/* ===== v56: stopka – kolumny z linkami, dolny wiersz, a na samym dole nocne jezioro z flakonami 3D ===== */
html.has-liquid .foot { padding: clamp(48px, 7vh, 80px) clamp(16px, 4vw, 48px) 0; font-size: 16px; }
.foot-word { margin-bottom: clamp(28px, 5vh, 56px); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px clamp(24px, 4vw, 64px); }
.foot-col { display: grid; align-content: start; gap: 6px; }
.foot-col h3 { margin: 0 0 6px; font: 600 16px/1.2 var(--sans); letter-spacing: 0; color: oklch(0.83 0.13 78); }
.foot .foot-col p { margin: 0; font-size: 15px; color: oklch(0.86 0.03 275); max-width: none; }
.foot-col a { color: oklch(0.96 0.015 85); text-decoration: none; font-size: 15px; padding: 3px 0; width: fit-content; transition: color .2s; }
.foot-col a:hover { color: oklch(0.83 0.13 78); }
.foot .foot-tag { font: 400 clamp(19px, 1.6vw, 23px)/1.4 var(--sans); color: #fff; max-width: 28ch; }
.foot-mail { margin-top: 10px; color: oklch(0.83 0.13 78) !important; font-weight: 500; }
.foot-bottom { margin-top: clamp(36px, 6vh, 56px); padding-top: 18px; border-top: 1px solid oklch(1 0 0 / .12); display: grid; gap: 6px; }
.foot .foot-bottom p { margin: 0; font-size: 14px; color: oklch(0.78 0.03 275); max-width: none; }
.foot-meta > span:empty { display: none; }
.foot-meta > span:not(:empty) ~ span:not(:empty)::before { content: '·'; margin: 0 .55em; }
.foot > .foot-lake { max-width: none; position: relative; height: clamp(200px, 28vh, 300px); margin: clamp(16px, 3vh, 32px) calc(-1 * clamp(16px, 4vw, 48px)) 0; }
.foot-lake canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-intro { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ===== v57: w menu flakoniki zamiast słów ===== */

/* Męskie / Damskie: niebieski i różowy flakonik, podpis wysuwa się pod spodem po najechaniu */
.tab-ico { display: grid; place-items: center; padding: 6px 10px; }
.tab-bottle { width: 24px; height: 24px; display: block; overflow: visible; transition: transform .35s cubic-bezier(.16, 1, .3, 1), filter .35s; }
.tab-bottle .tb-cap, .tab-bottle .tb-neck { fill: oklch(0.83 0.13 78); }
.tab-bottle .tb-shine { stroke: #fff; stroke-opacity: .65; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.tab-ico:hover .tab-bottle, .tab-ico:focus-visible .tab-bottle { transform: translateY(-2px) rotate(-8deg) scale(1.12); }
.tab-ico.active .tab-bottle { filter: drop-shadow(0 0 6px oklch(0.85 0.1 250 / .7)); }
.tab-ico[data-gender="damskie"].active .tab-bottle { filter: drop-shadow(0 0 6px oklch(0.8 0.14 350 / .7)); }
.tab-label {
  position: absolute; left: 50%; top: calc(100% + 6px); translate: -50% -4px; z-index: 5; pointer-events: none;
  padding: 5px 10px; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 600;
  background: oklch(0.21 0.07 287); color: #fff; box-shadow: 0 8px 20px -10px oklch(0.1 0.05 280 / .8);
  opacity: 0; transition: opacity .2s, translate .3s cubic-bezier(.16, 1, .3, 1);
}
.tab-ico[data-gender="meskie"] .tab-label { background: oklch(0.45 0.15 258); }
.tab-ico[data-gender="damskie"] .tab-label { background: oklch(0.6 0.17 355); }
.tab-ico:hover .tab-label, .tab-ico:focus-visible .tab-label, .tab-ico.peek .tab-label { opacity: 1; translate: -50% 0; }
@media (prefers-reduced-motion: reduce) { .tab-bottle, .tab-label { transition: none; } }
.tab-bottle { width: 30px; height: 30px; }
.tab-ico { padding: 4px 10px; }

/* ===== v58: nagłówek pierwszego ekranu w tym samym szkle co Spray Club – okrągłe, „napompowane” litery (Fredoka) ===== */
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.opening-title { line-height: 0; max-width: none; font-size: inherit; }
.title-svg { display: block; width: min(90vw, 820px); height: auto; overflow: visible; filter: drop-shadow(0 6px 22px oklch(0.2 0.07 270 / .5)); }
.title-text { font-family: 'Fredoka', var(--display); font-weight: 600; font-size: 100px; fill: oklch(0.97 0.02 260 / .58); filter: url(#glassSm); }

/* ===== v59: kursywa Spray Club w nagłówkach i nazwach; duże napisy w szkle (bąbelki) ===== */
/* kursywa: nagłówki, nazwy perfum, przyciski, menu (opisy, ceny, koszyk i formularze zostają prostym krojem) */
h1, h2, h3, .card-name, .btn, .tab, .tab-label, .o-name, .sim-name, .shop-title {
  font-family: var(--script); font-weight: 400; letter-spacing: 0; font-stretch: normal;
}
.card-name { font-size: 19px; line-height: 1.3; }
.btn { letter-spacing: .01em; }
.shop-title small, .pd-body .card-brand { font-family: var(--sans); }

/* nagłówek pierwszego ekranu: okrągłe, „napompowane” litery w szkle (jak Spray Club nad nim) */
.title-text { font-family: 'Fredoka', var(--display); font-weight: 600; font-size: 100px; fill: oklch(0.97 0.02 260 / .58); filter: url(#glassSm); }

/* duże nagłówki HTML: to samo przezroczyste szkło z połyskiem co Spray Club */
#shopTitle, html.has-liquid .about h2 .ln > span, .orbit-title {
  color: oklch(0.97 0.02 260 / .62); -webkit-text-fill-color: currentColor;
  filter: url(#glassSm) drop-shadow(0 4px 16px oklch(0.2 0.07 270 / .55));
}
html.has-scene .shop-title { text-shadow: none; }
/* kursywa ma długie ogonki (p, y, z) – więcej miejsca w wierszach z przycięciem */
.about h2 .ln { padding-bottom: .22em; }
html.has-liquid .about h2 { line-height: 1.15; }

/* logo w pasku: złote na ciemnym, ciemnozłote na jasnym */
.logo { color: oklch(0.45 0.09 70); }
html.on-opening .top .logo { color: oklch(0.86 0.14 85); }
/* kursywa potrzebuje więcej rozmiaru niż prosty krój – duże nagłówki naprawdę duże, małe trochę większe */
.shop-title { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.25; }
.shop-title small { font-size: 16px; vertical-align: middle; }
.feature h3 { font-size: 24px; line-height: 1.25; }
.foot-col h3 { font-size: 20px; }
/* kursywa także tam, gdzie starsze reguły ustawiały prosty krój mocniejszym selektorem */
html.has-liquid .about h2, .orbit-title, .feature h3, html.has-liquid .feature h3, .pd-body h2, .pyramid h3, .similar h3, .foot-col h3, .empty-state h3 {
  font-family: var(--script); font-weight: 400; letter-spacing: 0; font-stretch: normal;
}
html.has-liquid .about h2 { line-height: 1.2; }
.pd-body h2 { font-size: 34px; line-height: 1.2; }

/* ===== v60: pracownia perfumiarza – Spray Club z cieczy na stole, ciepłe cienie zamiast nocnego granatu ===== */
/* napis z cieczy jest na obrazie (klip albo jego ostatnia klatka) – napis z kodu znika, tekst zaczyna się tuż pod cieczą */
html.liquid-word .opening-word { display: none; }
/* komputer: pierwsza scena ma 56,25vw wysokości, ciecz kończy się na ok. 66% sceny – tekst od 67,5% (= 37,97vw strony).
   Nagłówek maleje na niskich ekranach, żeby przycisk był na pierwszym ekranie: pod nagłówkiem opis, przycisk
   i odstępy ≈ 193 px, a nagłówek ma proporcje 3,33 : 1 */
html.liquid-word .opening { padding-top: max(calc(var(--head-h) + 24px), calc(56.25vw * 0.675 - var(--promo-h, 0px))); }
html.liquid-word .title-svg { width: clamp(300px, calc((100svh - 37.97vw - 193px) * 3.33), min(86vw, 560px)); }
/* szerokie ekrany (laptopy 16:10 i 16:9): opis w jednej linii – zostaje więcej miejsca na nagłówek */
@media (min-aspect-ratio: 16/10) {
  html.liquid-word .opening-sub { max-width: none; }
  html.liquid-word .title-svg { width: clamp(300px, calc((100svh - 37.97vw - 160px) * 3.33), min(86vw, 560px)); }
}
/* telefon (pion – węższy pas obrazu): scena ma 140,6vw wysokości, ciecz kończy się na ok. 62% */
@media (max-aspect-ratio: 10/11) {
  html.liquid-word .opening { padding-top: max(calc(var(--head-h) + 24px), calc(140.625vw * 0.64 - var(--promo-h, 0px))); }
  html.liquid-word .title-svg { width: min(86vw, 560px); }
}
/* ostatnia klatka klipu jako obrazek (bez ruchu albo przy wolnym internecie) – leży dokładnie na swojej scenie */
.pp-track img.pp-still { position: absolute; left: 0; width: 100%; }
.pp-still.pp-first { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }

/* szkło napisów w ciepłym świetle świec zamiast chłodnego nieba; cienie w brązie orzecha zamiast granatu */
html.theme-atelier .title-text { fill: oklch(0.97 0.03 80 / .56); }
html.theme-atelier .title-svg { filter: drop-shadow(0 6px 22px oklch(0.14 0.04 50 / .6)); }
html.theme-atelier .word-text { fill: oklch(0.97 0.03 80 / .5); }
html.theme-atelier .foot-word { filter: drop-shadow(0 6px 24px oklch(0.14 0.04 50 / .5)); }
html.theme-atelier #shopTitle, html.theme-atelier.has-liquid .about h2 .ln > span, html.theme-atelier .orbit-title {
  color: oklch(0.97 0.03 80 / .62);
  filter: url(#glassSm) drop-shadow(0 4px 16px oklch(0.14 0.04 50 / .6));
}
/* pasek promocji: ciemny orzech, złoty kod jak dotąd */
html.theme-atelier .promo-bar { background: oklch(0.2 0.035 55); }
/* okno perfum: ciemne szkło w kolorze stołu zamiast nocnego granatu (złoto i biała karta flakonu bez zmian) */
html.theme-atelier.has-scene #productDlg {
  --fd-muted: oklch(0.8 0.035 70);
  background: oklch(0.19 0.03 55 / .84);
  box-shadow: 0 40px 120px -40px oklch(0.06 0.02 50 / .95), inset 0 1px 0 oklch(1 0 0 / .08);
}
html.theme-atelier.has-scene #productDlg::backdrop { background: oklch(0.1 0.025 50 / .5); }
html.theme-atelier.has-scene #productDlg .vial-tag { background: oklch(0.15 0.03 55 / .85); }
html.theme-atelier.has-scene #productDlg #addBtn { color: oklch(0.2 0.04 55); }
/* jezioro z pływającymi flakonami pasowało do rzeki – na stole pracowni go nie ma */
html.theme-atelier .foot-lake { display: none; }
