/* ===== v61: sklep jak duże sklepy z odlewkami – pasek z logo na środku, strony perfum, filtry, konto, ulubione,
   opinie, marki, kontakt i okienko −10%. Pracownia przy świecach: ciemny orzech, kremowy tekst, złoto. ===== */
:root {
  --cream: oklch(0.95 0.025 80);
  --cream-2: oklch(0.82 0.035 72);
  --gold-1: oklch(0.86 0.12 84);
  --gold-2: oklch(0.74 0.13 70);
  --walnut: oklch(0.17 0.028 55);
  --walnut-glass: oklch(0.17 0.028 55 / .82);
  --line-d: oklch(1 0 0 / .12);
  --line-d2: oklch(1 0 0 / .2);
  --heart: #e0566f;
}

/* bez paska przewijania (strona nadal się przewija) */
html { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ---------- Napisy: zamiast szklanych bąbelków – biel i złoto ---------- */
.title-text { fill: #fff !important; filter: none !important; }
.title-svg { filter: drop-shadow(0 4px 18px oklch(0.12 0.03 50 / .7)) !important; }
.word-text { filter: none !important; }
.foot-word .word-text, .foot-text { fill: url(#footGold) !important; }
.foot-word { filter: drop-shadow(0 6px 22px oklch(0.12 0.03 50 / .6)) !important; }
#shopTitle, html.has-liquid .about h2 .ln > span, .orbit-title, .page-title, .prod-info h1, .prod-details h2, .prod-reviews h2, .prod-similar h2,
.acc-head h1, .acc-guest h1, .acc-guest h2, .panel h2, .brand-group h2, .news h2 {
  color: var(--gold-1) !important; -webkit-text-fill-color: currentColor; filter: none !important;
  text-shadow: 0 2px 18px oklch(0.12 0.03 50 / .6);
}
.logo, html.on-opening .top .logo { color: var(--gold-1) !important; }

/* ---------- Pasek u góry: menu z lewej, logo na środku, ikonki z prawej ---------- */
.top {
  display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  min-height: 64px; padding-block: 8px; position: sticky; flex-wrap: nowrap;
}
html.theme-atelier:not(.on-opening) .top, body.sub .top {
  background: var(--walnut-glass) !important; color: var(--cream) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line-d) !important;
}
.top-left { display: flex; align-items: center; gap: 4px; min-width: 0; }
.top .logo { grid-column: 2; justify-self: center; margin: 0 !important; font-size: 27px; line-height: 1.2; white-space: nowrap; text-decoration: none; }
.top-right { justify-self: end; display: flex; align-items: center; gap: 2px; }
.top .tabs { display: flex; gap: 0; margin: 0; }
.top .tab { position: relative; padding: 8px 11px; border-radius: 10px; text-decoration: none; color: inherit; font-size: 16px; opacity: .88; transition: opacity .2s, background-color .2s; }
.top .tab:hover { opacity: 1; background: oklch(1 0 0 / .07); }
.top .tab.active { opacity: 1; }
.top .tab.active::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--gold-1); }
.top .tab-more { display: none; }
@media (min-width: 1440px) { .top .tab-more { display: inline-block; } }
.hd-icon {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 0 !important; border-radius: 999px; background: transparent !important; color: inherit !important; text-decoration: none;
  transition: background-color .2s, transform .2s cubic-bezier(.16, 1, .3, 1);
}
.hd-icon:hover { background: oklch(1 0 0 / .09) !important; }
.hd-icon:active { transform: scale(.94); }
.hd-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#accBtn.on svg circle { fill: currentColor; }
.hd-count, .top .cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; font: 700 11px/1 var(--sans); background: var(--gold-1) !important; color: oklch(0.2 0.04 55) !important;
}
.menu-btn { display: none; }

/* szybkie wyszukiwanie pod paskiem */
.search-box {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 25;
  padding: 12px max(16px, calc((100vw - 960px) / 2)) 16px;
  background: var(--walnut-glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 24px 40px -24px oklch(0 0 0 / .7); color: var(--cream); animation: sbIn .25s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes sbIn { from { opacity: 0; transform: translateY(-8px); } }
.search-form { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-d2); border-radius: 14px; padding: 4px 4px 4px 14px; background: oklch(1 0 0 / .06); }
.search-form > svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; flex: none; opacity: .7; }
.search-box .search {
  flex: 1; width: auto !important; min-width: 0; border: 0 !important; background: transparent !important; color: var(--cream) !important;
  font: 400 17px/1.4 var(--sans); padding: 10px 4px; outline: none; box-shadow: none !important;
}
.search-box .search::placeholder { color: var(--cream-2); opacity: .8; }
.search-results { display: grid; margin-top: 8px; }
.sr { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; color: inherit; }
.sr:hover, .sr:focus-visible { background: oklch(1 0 0 / .08); outline: none; }
.sr-img { width: 52px; height: 52px; border-radius: 10px; background: #fff; overflow: hidden; }
.sr-img img { width: 100%; height: 100%; object-fit: contain; }
.sr-txt { display: grid; font: 400 18px/1.2 var(--script); }
.sr-txt small { font: 500 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); }
.sr-price { font-size: 14px; color: var(--gold-1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sr-all { margin-top: 6px; padding: 10px 8px; color: var(--gold-1); font-weight: 600; text-underline-offset: 4px; }
.sr-none { margin: 12px 8px; color: var(--cream-2); }

@media (max-width: 1099px) {
  .top { grid-template-columns: auto 1fr auto; min-height: 56px; padding-block: 4px; }
  .top .logo { font-size: 23px; }
  .menu-btn { display: inline-grid; }
  /* menu wysuwane z lewej */
  .top .tabs {
    position: fixed; z-index: 70; left: 0; top: 0; bottom: 0; width: min(320px, 86vw);
    flex-direction: column; gap: 2px; padding: calc(var(--promo-h, 0px) + 72px) 16px 24px;
    background: oklch(0.15 0.025 55 / .97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 30px 0 60px -30px oklch(0 0 0 / .8); transform: translateX(-105%); visibility: hidden;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s .4s;
  }
  html.menu-open .top .tabs { transform: none; visibility: visible; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
  .top .tab, .top .tab-more { display: block; font-size: 22px; padding: 12px 14px; color: var(--cream) !important; }
  .top .tab.active::after { left: 14px; right: auto; width: 28px; bottom: 6px; }
  .menu-btn { position: relative; z-index: 71; }
  html.menu-open::after { content: ''; position: fixed; inset: 0; z-index: 65; background: oklch(0 0 0 / .45); animation: fade .3s both; }
}
@media (max-width: 420px) {
  .hd-icon { width: 38px; height: 38px; }
  .top .logo { font-size: 21px; }
  .top-right { gap: 0; }
}

/* ---------- Podstrony: ciemny stół pod spodem ---------- */
body.sub { background: #130d08; color: var(--cream); }
body.sub::before { content: ''; position: fixed; inset: 0; z-index: -1; background: url(/media/wood.webp) center / cover no-repeat; opacity: .75; }
body.sub::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 80% at 50% 0%, transparent 40%, oklch(0.1 0.02 50 / .65)); }
.page { max-width: 1280px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 48px) 72px; min-height: 60vh; }
.page-title { font: 400 clamp(38px, 5vw, 60px)/1.15 var(--script); margin: 8px 0 22px; }
.page-title small { font: 500 15px var(--sans); color: var(--cream-2); vertical-align: middle; -webkit-text-fill-color: var(--cream-2); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 4px 0 16px; font-size: 13px; color: var(--cream-2); }
.crumbs a { color: var(--cream); text-decoration: none; opacity: .85; }
.crumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.crumbs > * + *::before { content: '›'; margin: 0 9px; opacity: .55; }
.panel {
  background: var(--walnut-glass); border: 1px solid var(--line-d); border-radius: 24px; padding: clamp(18px, 2.4vw, 30px);
  -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 30px 60px -40px oklch(0 0 0 / .8); color: var(--cream);
}
.panel h2 { font: 400 28px/1.25 var(--script); margin: 0 0 14px; }
.muted-l { color: var(--cream-2); font-size: 14px; }
.muted-l a, .panel a { color: var(--gold-1); text-underline-offset: 3px; }
/* formularze na ciemnym tle */
.panel .field, .news .field, .filters .field { color: var(--cream); }
.panel .field input, .panel .field textarea, .news .field input {
  background: oklch(1 0 0 / .07); border: 1px solid var(--line-d2); color: var(--cream); font-size: 16px;
}
.panel .field input:focus, .panel .field textarea:focus, .news .field input:focus { border-color: var(--gold-1); outline: none; }
.panel .consent, .news .consent, .foot .consent { color: var(--cream-2); }
.panel .consent a, .news .consent a, .foot .consent a { color: var(--gold-1); }
.panel .opt { border-color: var(--line-d2); }
.panel .opt:has(input:checked) { border-color: var(--gold-1); }
.panel .btn-ghost, .prod-reviews .btn-ghost { background: transparent; color: var(--cream); border-color: var(--line-d2); min-height: 44px; }
.panel .btn-ghost:hover { border-color: var(--gold-1); color: var(--gold-1); }
.form-msg { margin: 0; font-size: 14px; }
.form-msg.ok { color: oklch(0.85 0.12 150); }
.form-msg.bad { color: oklch(0.78 0.14 25); }
.btn-danger { border: 1px solid oklch(0.65 0.16 25 / .7); background: oklch(0.45 0.14 25 / .25); color: oklch(0.88 0.08 25); border-radius: 999px; padding: 12px 20px; font-weight: 600; }
.btn-danger:hover { background: oklch(0.5 0.16 25 / .45); }

/* ---------- Karty perfum: link do strony + serduszko ---------- */
.card { position: relative; }
.card-link { display: block; color: inherit; text-decoration: none; border-radius: inherit; }
.card-link:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 4px; }
body.sub .card {
  padding: 10px 10px 18px; border-radius: 22px; background: oklch(0.985 0.006 80 / .9); color: oklch(0.2 0.03 55);
  box-shadow: 0 22px 44px -30px oklch(0 0 0 / .8); opacity: 1;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1);
}
body.sub .card:hover { transform: translateY(-4px); }
body.sub .card .visual { border-radius: 14px; background: #fff; }
.card-price s, .size-price s { color: oklch(0.55 0.02 60); font-weight: 400; margin-left: 4px; }
.card-rating { margin: 2px 0 2px; }
.badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 60px); }
.badges .badge { position: static; }
.badge.sale { background: oklch(0.5 0.17 25); color: #fff; }
.badge.new { background: oklch(0.78 0.12 84); color: oklch(0.2 0.04 55); }
.fav {
  position: absolute; top: 18px; right: 18px; z-index: 3; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 999px;
  display: grid; place-items: center; background: oklch(1 0 0 / .9); color: oklch(0.3 0.03 55);
  box-shadow: 0 6px 16px -8px oklch(0 0 0 / .5); transition: transform .25s cubic-bezier(.16, 1, .3, 1), background-color .2s;
}
.fav:hover { transform: scale(1.08); }
.fav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.fav.on { color: var(--heart); }
.fav.on svg { fill: var(--heart); }
.fav.pop { animation: favPop .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes favPop { 40% { transform: scale(1.3); } }
.fav.fav-lg { position: static; width: 52px; height: 52px; flex: none; border: 1px solid var(--line-d2); background: transparent; color: var(--cream); box-shadow: none; }
.fav.fav-lg.on { color: var(--heart); border-color: var(--heart); }
.fav.fav-lg svg { width: 24px; height: 24px; }

/* gwiazdki (tylko prawdziwe opinie) */
.stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 1px; color: oklch(0.6 0.02 70 / .45); vertical-align: -1px; }
.stars .st-fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #e3ad3b; }
.stars.sm { font-size: 13px; }
.st-n { margin-left: 6px; font-size: 13px; color: inherit; opacity: .75; font-variant-numeric: tabular-nums; }

/* ---------- Katalog: filtry z boku, pasek z sortowaniem nad listą ---------- */
.shop-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 28px; align-items: start; }
.shop-main { min-width: 0; }
.shop-bar { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin: 0 0 20px; }
.chips { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
  border: 1px solid oklch(0.86 0.12 84 / .5); background: oklch(0.17 0.028 55 / .7); color: var(--cream);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.chip span { font-size: 16px; line-height: 1; opacity: .7; }
.chip:hover { border-color: var(--gold-1); }
.chips .link-btn { color: var(--cream); font-size: 13px; text-decoration-color: var(--gold-1); }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--cream); margin-left: auto; }
.sort select, .filters-btn {
  font: 500 14px var(--sans); color: var(--cream); background: var(--walnut-glass); border: 1px solid var(--line-d2);
  border-radius: 12px; padding: 10px 12px; min-height: 44px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sort select option { color: #1a120b; }
.filters-btn { display: none; align-items: center; gap: 8px; }
.filters-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.fb-n { min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--gold-1); color: oklch(0.2 0.04 55); }
.filters {
  position: sticky; top: calc(var(--promo-h, 0px) + var(--head-h, 64px) + 16px);
  max-height: calc(100vh - var(--promo-h, 0px) - var(--head-h, 64px) - 32px); display: flex; flex-direction: column;
  background: var(--walnut-glass); border: 1px solid var(--line-d); border-radius: 22px; color: var(--cream);
  -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 30px 60px -40px oklch(0 0 0 / .8);
}
.fl-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 6px; }
.fl-head h3 { margin: 0; font: 400 24px/1.2 var(--script); color: var(--gold-1); }
.fl-close { display: none !important; }
.fl-scroll { overflow-y: auto; padding: 0 18px 8px; scrollbar-width: thin; scrollbar-color: oklch(0.86 0.12 84 / .4) transparent; }
.fl-group { border: 0; border-top: 1px solid var(--line-d); margin: 0; padding: 14px 0; display: grid; gap: 2px; }
.fl-group:first-child { border-top: 0; }
.fl-group legend { float: left; width: 100%; padding: 0; margin: 0 0 8px; font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); }
.fl-opt { display: flex; align-items: center; gap: 10px; padding: 6px 2px; font-size: 14px; cursor: pointer; border-radius: 8px; }
.fl-opt:hover { color: #fff; }
.fl-opt input { accent-color: var(--gold-2); width: 17px; height: 17px; flex: none; }
.fl-opt span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fl-opt small { color: var(--cream-2); font-variant-numeric: tabular-nums; }
.fl-opt.zero { opacity: .45; }
.fl-more { justify-self: start; margin-top: 4px; color: var(--gold-1); font-size: 13px; text-decoration-color: var(--gold-1); }
.fl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-d2); font-size: 13px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.chip-opt span small { color: var(--cream-2); }
.chip-opt input:checked + span { border-color: var(--gold-1); background: oklch(0.86 0.12 84 / .16); color: #fff; }
.chip-opt input:focus-visible + span { outline: 2px solid var(--gold-1); outline-offset: 2px; }
.filters input[type=range] { width: 100%; accent-color: var(--gold-2); }
.fl-price { margin: 4px 0 0; font-size: 14px; color: var(--cream-2); }
.fl-price b { color: var(--cream); font-variant-numeric: tabular-nums; }
.fl-foot { display: flex; gap: 10px; padding: 12px 18px 16px; border-top: 1px solid var(--line-d); }
.fl-foot .btn { display: none; }
.fl-foot .btn-ghost { background: transparent; color: var(--cream); border-color: var(--line-d2); min-height: 40px; }
.fl-foot .btn-ghost:disabled { opacity: .4; }
@media (max-width: 960px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters-btn { display: inline-flex; }
  .filters {
    position: fixed; z-index: 80; inset: 0 auto 0 0; width: min(380px, 92vw); max-height: none; top: 0;
    border-radius: 0 24px 24px 0; transform: translateX(-105%); visibility: hidden;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s .4s; background: oklch(0.15 0.025 55 / .97);
  }
  html.filters-open .filters { transform: none; visibility: visible; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
  html.filters-open::after { content: ''; position: fixed; inset: 0; z-index: 75; background: oklch(0 0 0 / .5); animation: fade .3s both; }
  .fl-close { display: inline-grid !important; }
  .fl-head { padding-top: calc(16px + env(safe-area-inset-top)); }
  .fl-foot .btn { display: block; flex: 1; }
  .sort { margin-left: 0; }
  .chips { order: 3; flex-basis: 100%; }
}

/* ---------- Strona perfum ---------- */
.prod { display: grid; gap: 22px; }
.prod > h1, .prod > p, .prod > ul { color: var(--cream); } /* treść z serwera, zanim wczyta się skrypt */
.prod-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.prod-media.pd { display: block; position: sticky; top: calc(var(--promo-h, 0px) + var(--head-h, 64px) + 16px); }
.prod-media .visual {
  position: relative; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px -48px oklch(0 0 0 / .9);
}
.prod-media .visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.prod-media .visual .vial { pointer-events: auto; }
.prod-info .card-brand { margin: 0 0 4px; color: var(--cream-2); }
.prod-info .card-brand a { color: inherit; text-decoration: none; }
.prod-info .card-brand a:hover { color: var(--gold-1); }
.prod-info h1 { font: 400 clamp(34px, 4vw, 52px)/1.2 var(--script); margin: 0 0 6px; text-wrap: balance; }
.prod-rating { display: inline-flex; align-items: center; text-decoration: none; color: var(--cream); margin-bottom: 8px; }
.prod-notes { margin: 6px 0 4px; color: var(--cream-2); font-size: 15px; }
.prod-info .compare { background: oklch(1 0 0 / .06); box-shadow: inset 0 0 0 1px oklch(0.86 0.12 84 / .22); }
.prod-info .cmp figcaption { color: var(--cream); }
.prod-info .cmp figcaption small, .prod-info .cmp-note { color: var(--cream-2); }
.prod-info .pd-insp { background: oklch(1 0 0 / .07); color: var(--cream); }
.prod-info .pd-insp span { color: var(--gold-1); }
.prod-info .size { background: oklch(1 0 0 / .05); border-color: var(--line-d2); color: var(--cream); }
.prod-info .size:hover:not(:disabled) { background: oklch(1 0 0 / .09); }
.prod-info .size.active { border-color: var(--gold-1); box-shadow: inset 0 0 0 1px var(--gold-1), 0 0 28px -6px oklch(0.83 0.13 78 / .45); background: oklch(0.83 0.13 78 / .1); }
.prod-info .size small { color: var(--cream-2); }
.prod-info .size .warn { color: oklch(0.82 0.14 70); }
.prod-info .sprays { color: var(--gold-1); }
.prod-info .size.active .size-price { color: var(--gold-1); }
.prod-info .omnibus, .prod-info .bundle-note { color: var(--cream-2); font-size: 13px; margin: 6px 0; }
.prod-info .omnibus b, .prod-info .bundle-note b { color: var(--gold-1); }
.prod-info .buy-row { align-items: center; margin-top: 14px; }
.prod-info .qty { border-color: var(--line-d2); color: var(--cream); height: 52px; }
.prod-info .qty button { color: var(--cream); height: 50px; }
.prod-info #addBtn { min-height: 52px; background: var(--gold-1); color: oklch(0.2 0.04 55); font-weight: 600; }
.prod-info #addBtn:hover:not(:disabled) { background: oklch(0.9 0.11 86); box-shadow: 0 14px 34px -12px oklch(0.83 0.13 78 / .7); }
.prod-info #addBtn:disabled { background: oklch(1 0 0 / .12); color: var(--cream-2); }
.trust { list-style: none; margin: 18px 0 6px; padding: 14px 0 0; border-top: 1px solid var(--line-d); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; }
.trust svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold-1); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.trust span { display: grid; font-size: 14px; line-height: 1.3; }
.trust small { color: var(--cream-2); font-size: 12px; }
.share { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--cream-2); font-size: 14px; text-decoration: none; }
.share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.share:hover { color: var(--gold-1); }
.tabs-row { display: flex; gap: 4px; border-bottom: 1px solid var(--line-d); margin: -6px 0 18px; overflow-x: auto; scrollbar-width: none; }
.tabs-row [role=tab] { border: 0; background: none; color: var(--cream-2); padding: 10px 14px; font: 400 20px/1.3 var(--script); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs-row [role=tab][aria-selected=true] { color: var(--gold-1); border-bottom-color: var(--gold-1); }
.prod-details .pd-desc { margin: 0; font-size: 16px; line-height: 1.7; max-width: 75ch; color: var(--cream); }
.prod-details .pyramid { border: 0; padding: 0; }
.prod-details .pyramid h3 { display: none; }
.prod-details .layer-name { color: var(--gold-1); }
.prod-details .note figcaption { color: var(--cream); }
.prod-details .note img, .prod-details .note-ph { box-shadow: 0 0 0 2px oklch(0.83 0.13 78 / .5), 0 10px 22px -10px oklch(0 0 0 / .8); }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; font-size: 15px; }
.specs dt { color: var(--cream-2); }
.specs dd { margin: 0; }
.prod-similar h2 { font: 400 32px/1.2 var(--script); margin: 6px 0 16px; }
.prod-similar .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 860px) {
  .prod-top { grid-template-columns: 1fr; }
  .prod-media.pd { position: relative; top: 0; }
  .trust { grid-template-columns: 1fr; }
}

/* opinie */
.rv-summary { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-bottom: 18px; }
.rv-big { display: grid; justify-items: center; gap: 2px; }
.rv-big b { font: 600 46px/1 var(--sans); color: var(--gold-1); }
.rv-big > span { font-size: 13px; color: var(--cream-2); }
.rv-dist div { display: grid; grid-template-columns: 36px 1fr 28px; gap: 10px; align-items: center; font-size: 13px; color: var(--cream-2); }
.rv-dist i { height: 6px; border-radius: 6px; background: oklch(1 0 0 / .1); overflow: hidden; }
.rv-dist i b { display: block; height: 100%; background: #e3ad3b; }
.rv-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.rv { padding: 14px 16px; border-radius: 16px; background: oklch(1 0 0 / .05); }
.rv-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; }
.rv-top .st-n { display: none; }
.rv-top time { margin-left: auto; color: var(--cream-2); font-size: 12px; }
.rv-ver { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: oklch(0.85 0.12 150); }
.rv p { margin: 8px 0 0; line-height: 1.6; }
.rv-empty { color: var(--cream-2); margin: 0 0 14px; }
.rv-form { display: grid; gap: 12px; max-width: 560px; margin-top: 14px; }
.rv-stars { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rv-stars legend { float: left; width: 100%; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.rv-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rv-stars label { font-size: 32px; line-height: 1; cursor: pointer; color: oklch(0.6 0.02 70 / .45); transition: color .15s, transform .15s; }
.rv-stars label:hover, .rv-stars label:hover ~ label, .rv-stars input:checked ~ label { color: #e3ad3b; }
.rv-stars input:focus-visible + label { outline: 2px solid var(--gold-1); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 560px) { .rv-summary { grid-template-columns: 1fr; } }

/* ---------- Konto ---------- */
.acc-guest { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.acc-guest h1, .acc-guest h2 { font: 400 32px/1.25 var(--script); margin: 0 0 16px; }
.acc-guest form, .acc-data form, .acc-side form { display: grid; gap: 12px; }
.perks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.perks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--cream-2); }
.perks li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-1); box-shadow: 0 0 10px var(--gold-2); }
.perks b { color: var(--cream); }
.pw { position: relative; display: block; }
.pw input { width: 100%; padding-right: 46px !important; }
.pw-eye { position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border: 0; background: none; color: var(--cream-2); display: grid; place-items: center; }
.pw-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.acc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; }
.acc-head h1 { font: 400 clamp(36px, 4.5vw, 54px)/1.2 var(--script); margin: 0; }
.acc-head .btn-ghost { margin-left: auto; background: transparent; color: var(--cream); border-color: var(--line-d2); min-height: 42px; }
.acc-code { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; border-color: oklch(0.86 0.12 84 / .4); }
.acc-code h2 { margin: 0 0 4px; }
.acc-code p { margin: 0; color: var(--cream-2); max-width: 52ch; }
.code-big {
  display: grid; justify-items: center; gap: 2px; padding: 14px 22px; border-radius: 16px; cursor: pointer;
  border: 2px dashed oklch(0.86 0.12 84 / .8); background: oklch(0.86 0.12 84 / .1); color: var(--gold-1);
  font: 700 26px/1.1 var(--sans); letter-spacing: .08em; font-variant-numeric: tabular-nums;
}
.code-big small { font: 500 11px var(--sans); letter-spacing: .04em; color: var(--cream-2); }
.code-big:hover { background: oklch(0.86 0.12 84 / .18); }
.acc-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.9fr; gap: 22px; align-items: start; }
.orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.order details { border-radius: 14px; background: oklch(1 0 0 / .05); }
.order summary { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 12px 14px; cursor: pointer; list-style: none; font-size: 14px; }
.order summary::-webkit-details-marker { display: none; }
.order summary span:nth-child(2) { color: var(--cream-2); }
.o-total { font-variant-numeric: tabular-nums; }
.st { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: oklch(1 0 0 / .1); white-space: nowrap; }
.st-oplacone, .st-spakowane { background: oklch(0.7 0.12 150 / .25); color: oklch(0.88 0.1 150); }
.st-wyslane { background: oklch(0.86 0.12 84 / .2); color: var(--gold-1); }
.st-anulowane { background: oklch(0.6 0.14 25 / .2); color: oklch(0.85 0.08 25); }
.o-items { list-style: none; margin: 0; padding: 0 14px 12px; display: grid; gap: 4px; font-size: 14px; }
.o-items li { display: flex; justify-content: space-between; gap: 12px; color: var(--cream-2); }
.order .muted-l { padding: 0 14px 12px; margin: 0; }
.acc-side h2 + * { margin-top: 0; }
.acc-side h2:not(:first-child) { margin-top: 26px; }
.acc-delete { margin-top: 24px; border-top: 1px solid var(--line-d); padding-top: 14px; }
.acc-delete summary { cursor: pointer; color: oklch(0.8 0.08 25); font-size: 14px; }
.acc-delete form { margin-top: 12px; }
@media (max-width: 1100px) { .acc-grid { grid-template-columns: 1fr 1fr; } .acc-orders { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .acc-guest, .acc-grid { grid-template-columns: 1fr; }
  .order summary { grid-template-columns: 1fr auto; }
  .order summary span:nth-child(2) { grid-column: 1; }
}

/* ---------- Marki ---------- */
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.letters a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--walnut-glass); border: 1px solid var(--line-d); color: var(--gold-1); text-decoration: none; font-weight: 600; }
.letters a:hover { border-color: var(--gold-1); }
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.brand-group { background: var(--walnut-glass); border: 1px solid var(--line-d); border-radius: 22px; padding: 16px 18px; scroll-margin-top: calc(var(--promo-h, 0px) + var(--head-h, 64px) + 16px); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.brand-group h2 { font: 400 34px/1 var(--script); margin: 0 0 8px; }
.brand-group ul { list-style: none; margin: 0; padding: 0; display: grid; }
.brand-group a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 4px; border-top: 1px solid var(--line-d); color: var(--cream); text-decoration: none; }
.brand-group li:first-child a { border-top: 0; }
.brand-group a:hover span { color: var(--gold-1); }
.brand-group small { color: var(--cream-2); white-space: nowrap; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: start; }
.faq details { border-top: 1px solid var(--line-d); }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; position: relative; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-size: 22px; color: var(--gold-1); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 16px; color: var(--cream-2); line-height: 1.65; }
.contact-form { display: grid; gap: 12px; margin-top: 8px; }
.company { margin: 18px 0 0; font-size: 13px; color: var(--cream-2); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Stopka: zapis na −10%, płatności ---------- */
.foot-news {
  display: grid; grid-template-columns: 1fr minmax(300px, 1.1fr); gap: 10px 32px; align-items: center;
  max-width: 1100px; margin: 0 auto clamp(28px, 5vh, 48px); padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid oklch(0.86 0.12 84 / .35); border-radius: 24px; background: oklch(0.17 0.028 55 / .6);
}
.foot-news h3 { margin: 0 0 4px; font: 400 26px/1.25 var(--script); color: var(--gold-1); }
.foot-news p { margin: 0; color: var(--cream-2); font-size: 14px; }
.fn-row { display: flex; gap: 8px; }
.fn-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-d2); background: oklch(1 0 0 / .07); color: var(--cream); }
.fn-row input:focus { outline: none; border-color: var(--gold-1); }
.foot-news .btn { background: var(--gold-1); color: oklch(0.2 0.04 55); white-space: nowrap; }
.foot-news .consent { grid-column: 2; font-size: 12px; }
.fn-msg { grid-column: 1 / -1; margin: 0; font-size: 14px; }
.fn-msg.ok { color: oklch(0.85 0.12 150); }
.fn-msg.bad { color: oklch(0.78 0.14 25); }
.pay-list { color: var(--gold-1); }
@media (max-width: 760px) { .foot-news { grid-template-columns: 1fr; } .foot-news .consent { grid-column: 1; } }

/* ---------- Okienko −10% ---------- */
.news-dlg {
  width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid oklch(0.86 0.12 84 / .35); border-radius: 26px; overflow: hidden;
  background: oklch(0.16 0.028 55 / .96) url(/media/wood.webp) center / cover; background-blend-mode: multiply; color: var(--cream);
  box-shadow: 0 50px 120px -40px oklch(0 0 0 / .9);
}
.news-dlg::backdrop { background: oklch(0.08 0.02 50 / .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.news-dlg .dlg-close { color: var(--cream); background: oklch(1 0 0 / .08); }
.news { display: grid; gap: 12px; padding: 34px clamp(20px, 5vw, 34px) 28px; text-align: center; }
.news form { display: grid; gap: 12px; text-align: left; margin-top: 4px; }
.news-kicker { margin: 0; font: 600 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); }
.news h2 { margin: 0; font: 400 46px/1.15 var(--script); }
.news-lead { margin: 0; color: var(--cream-2); }
.news .btn { background: var(--gold-1); color: oklch(0.2 0.04 55); font-weight: 600; min-height: 50px; }
.news .code-big { justify-self: center; }
.news-alt { margin: 0; text-align: center; font-size: 13px; color: var(--cream-2); }
.news-alt a { color: var(--gold-1); }

/* zamówienie: krótka informacja o koncie nad formularzem */
.co-me { margin: -4px 0 4px; font-size: 13px; color: var(--muted); }
.co-me a { color: var(--accent); font-weight: 600; }
.word-svg .word-text { fill: url(#wordGold) !important; }
/* stara reguła .filters (pasek zakładek z v1) zawijała panel w kolumny */
.filters { flex-wrap: nowrap !important; justify-content: flex-start !important; gap: 0 !important; margin: 0 !important; animation: none !important; }
.shop-main .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 20px; }

/* ikonki zaufania na stronie perfum (stara reguła .trust to pasek na białym tle) */
.prod-info .trust { background: transparent; border-bottom: 0; padding-inline: 0; margin-inline: 0; grid-template-columns: 1fr 1fr; }
.prod-info .trust li { color: var(--cream-2); }
.prod-info .trust b { color: var(--cream); display: block; }
.prod-info .trust small { color: var(--cream-2); }
/* podstrony: stopka i pasek promocji w kolorach stołu (na stronie głównej robi to motyw obrazu) */
body.sub .foot { background: oklch(0.13 0.02 55 / .92); color: var(--cream-2); border-top: 1px solid var(--line-d); position: relative; z-index: 1; }
body.sub .foot a { color: var(--cream); }
body.sub .foot .foot-col p, body.sub .foot .foot-bottom p { color: var(--cream-2); }
body.sub .foot .foot-tag { color: var(--cream); }
body.sub .foot-col h3 { color: var(--gold-1); }
body.sub .promo-bar { background: oklch(0.2 0.035 55); }
.sort { text-shadow: 0 1px 8px oklch(0 0 0 / .8); }

/* pasek: rozmyte tło na warstwie pod spodem – samo rozmycie na .top zamykałoby wysuwane menu w pasku */
html.theme-atelier:not(.on-opening) .top, body.sub .top { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.theme-atelier:not(.on-opening) .top::before, body.sub .top::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--walnut-glass); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
html.menu-open .top { z-index: 90; }
@media (max-width: 1099px) {
  .top .tabs { justify-content: flex-start; align-items: stretch; overflow-y: auto; }
}
/* filtry na telefonie: sekcja katalogu wychodzi nad pasek, a przyciemnienie robi cień samego panelu */
@media (max-width: 960px) {
  html.filters-open .shop { z-index: 95; }
  html.filters-open::after { display: none; }
  html.filters-open .filters { box-shadow: 0 0 0 100vmax oklch(0.05 0.01 50 / .55); }
}
.fl-foot .btn { background: var(--gold-1); color: oklch(0.2 0.04 55); font-weight: 600; }
.filters input[type=checkbox] { accent-color: var(--gold-2); }
.search-box .search::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.toast { background: oklch(0.2 0.035 55) !important; color: var(--cream) !important; border: 1px solid oklch(0.86 0.12 84 / .35); }
/* telefon: logo dokładnie na środku paska; serduszko przechodzi do menu, żeby ikonki nie wchodziły na logo */
.top .tab-mobile { display: none; }
@media (max-width: 1099px) {
  .top .logo { position: absolute; grid-column: auto; left: 50%; top: 50%; translate: -50% -50%; } /* środek całego paska, nie kolumny */
  .top .tab-mobile { display: block; font-size: 18px; opacity: .75; }
}
@media (max-width: 520px) { #favBtn { display: none; } }

/* ===== v62: filtry zwinięte – każdą grupę rozwija się kliknięciem; obok nazwy widać, co wybrano ===== */
details.fl-group { display: block; border-top: 1px solid var(--line-d); padding: 0; }
details.fl-group:first-child { border-top: 0; }
details.fl-group > summary {
  list-style: none; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 2px; cursor: pointer;
  font: 600 13px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--cream); border-radius: 8px;
}
details.fl-group > summary::-webkit-details-marker { display: none; }
details.fl-group > summary::after {
  content: ''; flex: none; margin-left: auto; width: 8px; height: 8px; border-right: 1.6px solid var(--cream-2); border-bottom: 1.6px solid var(--cream-2);
  rotate: 45deg; translate: 0 -3px; transition: rotate .25s cubic-bezier(.16, 1, .3, 1), translate .25s;
}
details.fl-group[open] > summary::after { rotate: 225deg; translate: 0 2px; }
details.fl-group > summary:hover { color: #fff; }
details.fl-group > summary:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 2px; }
.fl-picked { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: italic 400 13px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--gold-1); }
.fl-body { display: grid; gap: 2px; padding: 0 0 14px; animation: flOpen .3s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes flOpen { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .fl-body { animation: none; } }
.fl-head { padding-bottom: 2px; }

/* strona perfum: opis, pod nim od razu piramida zapachowa, potem szczegóły */
.prod-details { display: grid; gap: 26px; }
.prod-details .pd-block h2 { font: 400 28px/1.25 var(--script); margin: 0 0 12px; }
.prod-details .pd-block + .pd-block { border-top: 1px solid var(--line-d); padding-top: 22px; }
.prod-details .pyramid h3 { display: none; }
