/* =====================================================================
   SunDoCreation — arkusz stylów (wersja 102, październik 2026)
   Napisany od nowa: jeden spokojny system zamiast warstw poprawek.
   Kierunek: „wieczór przy świecy” w klimacie lofi — ciepły papier za dnia,
   śliwkowy zmierzch w pasku informacji, historii pracowni i stopce.
   Czcionki: Fraunces (miękki szeryf, nagłówki) + Lexend (tekst — krój
   zaprojektowany z myślą o łatwym czytaniu, wyraźne cyfry i polskie znaki).
   Kolory pory roku zmienia atrybut data-season na <html> (przełącznik w stopce).
   ===================================================================== */

/* ---------- 1. Czcionki (na własnym serwerze, bez Google Fonts) ---------- */
@font-face {
    font-family: 'SDC Fraunces';
    src: url("fonts/fraunces.woff2") format("woff2");
    font-weight: 500 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SDC Lexend';
    src: url("fonts/lexend.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- 2. Kolory i miary ---------- */
:root {
    /* JESIEŃ (domyślnie): brzoskwiniowy papier, terakota, śliwkowy zmierzch */
    --paper: #f7ede2;
    --paper-2: #f0e1d1;
    --surface: #fffaf4;
    --ink: #35242b;
    --ink-2: #5f4840;
    --line: #e5d1bf;
    --line-strong: #988070;
    --accent: #ad4526;
    --accent-ink: #94391e;
    --accent-soft: #f6dccb;
    --night: #3b2631;
    --night-ink: #f8ece0;
    --night-2: #dcc8bd;
    --night-line: rgba(248, 236, 224, .18);
    --season-bg-pattern: url("jesien.svg?v=63");
    --accent-secondary: #e8a24a;           /* promienie słoneczka w logo-ikonie */
    /* nazwy zgodne z wcześniejszą wersją (używane w kodzie generującym elementy) */
    --card-bg: var(--surface);
    --text-main: var(--ink);
    --text-muted: var(--ink-2);

    --font-display: 'SDC Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'SDC Lexend', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
    --wrap: 1240px;
    --gutter: 20px;
    --radius: 14px;
    --radius-lg: 20px;
    --header-h: 64px;
    --shadow-pop: 0 18px 44px rgba(40, 24, 30, .16);
    --error: #b3261e;
}
:root[data-season="wiosna"] {
    --paper: #eef3e8; --paper-2: #e2ebd8; --surface: #fbfdf8;
    --ink: #263224; --ink-2: #4a5a43; --line: #d3e0c6; --line-strong: #7d8f71;
    --accent: #9b4258; --accent-ink: #86384b; --accent-soft: #f3dde3;
    --night: #263a2e; --night-ink: #f1f5ea; --night-2: #cfdcc8;
    --season-bg-pattern: url("wiosna.svg?v=63"); --accent-secondary: #8fbf78;
}
:root[data-season="lato"] {
    --paper: #fbf3dc; --paper-2: #f5e7bf; --surface: #fffdf6;
    --ink: #312b1a; --ink-2: #5f5536; --line: #e9d8a6; --line-strong: #8f7f52;
    --accent: #ac3a2b; --accent-ink: #973125; --accent-soft: #f8dccf;
    --night: #24334f; --night-ink: #fbf5e3; --night-2: #d3d7e2;
    --season-bg-pattern: url("lato.svg?v=63"); --accent-secondary: #f5c242;
}
:root[data-season="zima"] {
    --paper: #eeedf5; --paper-2: #e1dfee; --surface: #fdfcff;
    --ink: #242840; --ink-2: #514f6b; --line: #d6d3e6; --line-strong: #807d9c;
    --accent: #4b508c; --accent-ink: #41457b; --accent-soft: #e2e2f3;
    --night: #262a49; --night-ink: #f3f1fb; --night-2: #cfcde3;
    --season-bg-pattern: url("zima.svg?v=64"); --accent-secondary: #e6a95c;
}

/* ---------- 3. Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.03rem;
    line-height: 1.62;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 .4em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.55rem + 2.4vw, 3.4rem); line-height: 1.06; letter-spacing: -.015em; }
h2 { font-size: clamp(1.65rem, 1.35rem + 1.15vw, 2.3rem); line-height: 1.12; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; line-height: 1.25; }
h4 { font-size: 1rem; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0 0 1em; }
s { text-decoration-thickness: 1.5px; }
::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------- 4. Pomocnicze ---------- */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }
.sd-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sd-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.sd-skip:focus { top: 12px; }
[tabindex="-1"]:focus { outline: none; }
.pc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* ---------- 5. Przyciski, linki, pola ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px;
    border-radius: 999px; border: 1.5px solid transparent;
    font: 700 1rem/1.2 var(--font-body);
    text-decoration: none; text-align: center; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn .ic { width: 20px; height: 20px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--surface); }
.btn-block { width: 100%; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: .9375rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-primary:disabled:hover { background: var(--accent); }
.sd-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0; border: 0; background: none;
    color: var(--accent-ink); font-weight: 700;
    text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
    cursor: pointer;
}
.sd-link:hover { color: var(--ink); }
.sd-link .ic { width: 18px; height: 18px; }
.sd-link.is-light { color: var(--night-ink); }
.sd-icon-btn {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer;
}
.sd-icon-btn:hover { background: var(--paper-2); }
.sd-icon-btn .ic { width: 24px; height: 24px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--accent-ink); font-weight: 700; text-decoration: underline; cursor: pointer; }
select.sort-select, .sort-label select {
    height: 44px; padding: 0 38px 0 16px;
    border: 1.5px solid var(--line); border-radius: 999px;
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2335242b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
    font: 700 .9375rem var(--font-body); color: var(--ink);
    appearance: none; -webkit-appearance: none; cursor: pointer;
}

/* ---------- 6. Pasek informacji ---------- */
.sd-announce { background: var(--night); color: var(--night-ink); font-size: .875rem; }
.sd-announce-inner { display: grid; place-items: center; min-height: 36px; text-align: center; }
.sd-announce-item { grid-area: 1 / 1; margin: 0; padding: 6px 0; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.sd-announce-item.is-on { opacity: 1; visibility: visible; }
.sd-announce strong { letter-spacing: .02em; }
@media (min-width: 1100px) {
    .sd-announce-inner { display: flex; justify-content: center; gap: 48px; }
    .sd-announce-item { opacity: 1; visibility: visible; grid-area: auto; }
}

/* ---------- 7. Nagłówek ---------- */
.sd-header {
    position: sticky; top: 0; z-index: 90;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    transition: transform .25s ease;
}
.sd-header.is-hidden { transform: translateY(-100%); }
.sd-header-row {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    grid-template-areas: "menu logo . cart" "search search search search";
    align-items: center;
    column-gap: 6px;
    padding-top: 6px; padding-bottom: 10px;
}
.sd-menu-btn { grid-area: menu; margin-left: -10px; }
.sd-logo { grid-area: logo; display: inline-flex; color: var(--ink); line-height: 0; }
.sd-logo-mark { width: 64px; height: 44px; }
.sd-search { grid-area: search; margin-top: 6px; }
.sd-cart-btn { grid-area: cart; }
@media (min-width: 1000px) {
    .sd-header-row {
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "logo search cart";
        column-gap: 32px;
        padding-top: 10px; padding-bottom: 10px;
    }
    .sd-menu-btn { display: none; }
    .sd-logo-mark { width: 80px; height: 55px; }
    .sd-search { margin-top: 0; width: 100%; max-width: 580px; justify-self: center; }
}
/* wyszukiwarka */
.sd-search {
    position: relative;
    display: flex; align-items: center;
    height: 48px; padding-left: 14px;
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: 999px;
}
.sd-search:focus-within { border-color: var(--ink); }
.sd-search .gs-icon { width: 20px; height: 20px; color: var(--ink-2); }
.sd-search input {
    flex: 1; min-width: 0; height: 100%;
    padding: 0 10px;
    border: 0; background: transparent; outline: none;
    font-size: 1rem; color: var(--ink);
}
.sd-search input::placeholder { color: var(--ink-2); opacity: .85; }
.sd-search input::-webkit-search-cancel-button { display: none; }
.gs-clear { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--ink-2); cursor: pointer; }
.gs-clear .ic { width: 18px; height: 18px; }
.gs-submit {
    height: 38px; margin: 0 4px 0 2px; padding: 0 16px;
    border: 0; border-radius: 999px;
    background: var(--ink); color: var(--surface);
    font-weight: 700; font-size: .9375rem; cursor: pointer;
}
.gs-submit:hover { background: var(--accent-ink); }
.search-suggest {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 95;
    max-height: min(70vh, 560px); overflow-y: auto;
    padding: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-pop);
}
.ss-group-title { padding: 8px 10px 4px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
.ss-item {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 8px 10px; border: 0; border-radius: 12px; background: none;
    text-align: left; text-decoration: none; color: var(--ink); cursor: pointer;
}
.ss-item:hover, .ss-item.is-active { background: var(--paper-2); }
.ss-thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex: none; }
.ss-thumb svg { width: 100%; height: 100%; display: block; }
.ss-page-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--paper-2); color: var(--accent); flex: none; }
.ss-text { flex: 1; min-width: 0; }
.ss-text strong { display: block; font-size: 1rem; }
.ss-text small { display: block; font-size: .8438rem; color: var(--ink-2); }
.ss-price { font-size: .875rem; color: var(--ink-2); white-space: nowrap; }
.ss-all { display: block; width: 100%; margin-top: 4px; padding: 12px; border: 0; border-top: 1px solid var(--line); background: none; font-weight: 700; color: var(--accent-ink); text-decoration: underline; cursor: pointer; border-radius: 0 0 12px 12px; }
.ss-all.is-active, .ss-all:hover { background: var(--paper-2); }
.ss-empty { padding: 12px; margin: 0; color: var(--ink-2); }
/* koszyk w nagłówku */
.sd-cart-btn {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    height: 46px; padding: 0 12px;
    border-radius: 999px; color: var(--ink);
    font-weight: 700; text-decoration: none;
}
.sd-cart-btn:hover { background: var(--paper-2); }
.sd-cart-btn .ic { width: 26px; height: 26px; }
.sd-cart-label { display: none; }
.cart-badge-count {
    display: inline-grid; place-items: center;
    min-width: 22px; height: 22px; padding: 0 6px;
    border-radius: 999px; background: var(--accent); color: #fff;
    font-size: .8125rem; font-weight: 700; line-height: 1;
}
.sd-cart-btn .cart-badge-count { position: absolute; top: 2px; left: 28px; }
.cart-badge-count[data-count="0"] { display: none; }
@media (min-width: 600px) {
    .sd-cart-label { display: inline; }
    .sd-cart-btn { padding: 0 16px; border: 1.5px solid var(--line); }
    .sd-cart-btn .cart-badge-count { position: static; }
}
/* menu kategorii (komputer) */
.sd-nav { display: none; border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .sd-nav { display: block; } }
.sd-nav-inner { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 32px; }
.sd-nav a {
    padding: 13px 0 11px;
    border-bottom: 2px solid transparent;
    color: var(--ink); font-weight: 700; font-size: .9688rem; text-decoration: none;
}
.sd-nav a:hover { border-bottom-color: var(--line-strong); }
.sd-nav a.active-tab { border-bottom-color: var(--accent); }

/* menu na telefonie */
.sd-drawer {
    position: fixed; inset: 0 auto 0 0; z-index: 200;
    width: min(88vw, 360px);
    display: flex; flex-direction: column;
    padding: 10px 20px 28px;
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--surface);
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
}
.sd-drawer.open { transform: none; visibility: visible; box-shadow: var(--shadow-pop); }
.sd-drawer-backdrop { position: fixed; inset: 0; z-index: 190; background: rgba(28, 18, 24, .45); }
html.menu-open { overflow: hidden; }
.sd-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: var(--ink); }
.sd-drawer-logo { width: 64px; height: 44px; }
.sd-drawer-nav { display: flex; flex-direction: column; }
.sd-drawer-nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; border-bottom: 1px solid var(--line);
    color: var(--ink); font-weight: 700; font-size: 1.125rem; text-decoration: none;
}
.sd-drawer-nav.is-small a { font-weight: 400; font-size: 1.0625rem; padding: 12px 0; }
.sd-drawer-nav a.active-tab { color: var(--accent-ink); }
.sd-drawer-label { margin: 24px 0 6px; font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.sd-drawer .season-switcher-row { margin-bottom: 8px; }
.sd-drawer .season-option { border-color: var(--line); color: var(--ink); }
.sd-drawer .season-option.active { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.readable-toggle-mobile {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: none;
    font-weight: 700; color: var(--ink); cursor: pointer; text-align: left;
}
.readable-toggle-mobile .ic { width: 24px; height: 24px; }
.readable-state { margin-left: auto; font-weight: 400; color: var(--ink-2); }
@media (min-width: 1000px) { .sd-drawer, .sd-drawer-backdrop { display: none !important; } }

/* ---------- 8. Widoki ---------- */
.sd-main { display: block; outline: none; }
.view-section { min-height: 50vh; }
.sd-page { padding-bottom: 80px; }
.sd-page h1 { margin-top: 32px; }
.sd-lead { font-size: 1.1875rem; color: var(--ink-2); margin: 0 0 28px; max-width: 60ch; }
.sd-muted { color: var(--ink-2); }
.sd-intro { color: var(--ink-2); max-width: 62ch; margin: 0 0 20px; }
.sd-subhead { font-size: 1.5rem; margin: 0 0 14px; }
.sd-section { padding-block: 56px; }
@media (min-width: 900px) { .sd-section { padding-block: 88px; } }
.sd-band { background: var(--paper-2); }
.sd-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 26px; }
.sd-section-head h2 { margin: 0; }
.sd-section-head > p { flex-basis: 100%; margin: 0; color: var(--ink-2); }

/* ---------- 9. Strona główna ---------- */
.sd-hero-art {
    height: clamp(220px, 34vw, 500px);
    background: var(--paper-2) var(--season-bg-pattern) 42% 60% / cover no-repeat;
}
@media (min-width: 900px) { .sd-hero-art { background-position: center 60%; } }
.sd-hero-body { display: grid; gap: 14px; padding-top: 30px; padding-bottom: 40px; }
.sd-hero-body h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.4rem); max-width: 13ch; margin: 0; }
.sd-hero-lead { font-size: 1.125rem; color: var(--ink-2); max-width: 46ch; margin: 0 0 20px; }
.sd-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sd-hero-ctas .btn { flex: 1 1 230px; }
@media (min-width: 900px) {
    .sd-hero-body { grid-template-columns: 1.1fr 1fr; align-items: end; column-gap: 64px; padding-top: 52px; padding-bottom: 60px; }
    .sd-hero-ctas .btn { flex: 0 1 auto; }
}
/* pasek zaufania */
.sd-trust { background: var(--surface); border-block: 1px solid var(--line); }
.sd-trust-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding-block: 22px; }
.sd-trust-list li { display: flex; align-items: flex-start; gap: 12px; }
.sd-trust-list .ic { width: 28px; height: 28px; color: var(--accent); margin-top: 1px; }
.sd-trust-list strong { display: block; font-size: .9688rem; line-height: 1.3; }
.sd-trust-list small { display: block; font-size: .875rem; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
@media (max-width: 599px) { .sd-trust-list li { flex-direction: column; gap: 6px; } .sd-trust-list .ic { margin-top: 0; } }
@media (min-width: 900px) { .sd-trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 26px; } }

/* karuzela */
.sd-carousel { position: relative; }
.sd-row {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: 44%;
    gap: 16px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.sd-row::-webkit-scrollbar { display: none; }
.sd-row > * { scroll-snap-align: start; }
@media (min-width: 700px) { .sd-row { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (min-width: 1000px) { .sd-row { grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; } }
.sd-carousel-btn {
    position: absolute; top: 32%; z-index: 3;
    display: none; place-items: center;
    width: 46px; height: 46px; padding: 0;
    border: 1px solid var(--line); border-radius: 50%;
    background: var(--surface); color: var(--ink);
    box-shadow: 0 8px 20px rgba(40, 24, 30, .14);
    cursor: pointer;
}
.sd-carousel-btn .ic { width: 22px; height: 22px; }
.sd-carousel-btn.is-prev { left: -16px; }
.sd-carousel-btn.is-next { right: -16px; }
.sd-carousel-btn:disabled { opacity: 0; pointer-events: none; }
@media (min-width: 700px) and (hover: hover) { .sd-carousel-btn { display: grid; } }
.drag-scroll { cursor: grab; }
.drag-scroll.is-dragging, .drag-scroll.is-dragging * { cursor: grabbing !important; user-select: none; }
.drag-scroll.is-dragging { scroll-snap-type: none !important; scroll-behavior: auto !important; }
.drag-scroll.is-dragging .sd-card { pointer-events: none; }

/* karta produktu */
.sd-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sd-card-media { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.sd-card-media svg, .jar-art { display: block; width: 100%; height: 100%; }
/* znacznik rysunku, zanim powstanie scena (leniwe rysowanie) */
.art-slot { display: block; width: 100%; height: 100%; background: var(--paper-2); }
/* płomień świecy lekko migocze na stronie zapachu i po najechaniu na kartę */
.scene-art .flame { transform-box: fill-box; transform-origin: 50% 100%; }
.pp-media .scene-art .flame, .sd-card:hover .scene-art .flame, .sd-bundle-art .scene-art .flame { animation: sd-flicker 2.2s ease-in-out infinite; }
@keyframes sd-flicker { 0%, 100% { transform: scale(1, 1); } 25% { transform: scale(.95, 1.06) skewX(-1.5deg); } 50% { transform: scale(1.03, .97); } 75% { transform: scale(.97, 1.04) skewX(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .scene-art .flame { animation: none !important; } }
.sd-card-body { display: flex; flex-direction: column; gap: 2px; }
.sd-card-title { margin: 0; font: 700 1.0625rem/1.3 var(--font-body); }
.sd-card-title a { color: var(--ink); text-decoration: none; }
.sd-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--radius); }
.sd-card-title a:focus-visible { outline: none; }
.sd-card-title a:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 3px; }
.sd-card:hover .sd-card-title a { text-decoration: underline; text-underline-offset: 3px; }
.sd-card-vibe { margin: 0; font-size: .875rem; color: var(--ink-2); }
.sd-card-price { margin: 4px 0 0; font-size: 1rem; }
.sd-card-price strong { font-weight: 700; }
.sd-card.is-unavailable .sd-card-media svg { filter: saturate(.35) opacity(.75); }
.sd-card.is-unavailable .sd-card-price { color: var(--ink-2); }
.pc-badges { position: absolute; top: 10px; left: 10px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.pc-badge { padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .75rem; font-weight: 700; line-height: 1.3; }
.pc-badge.is-best { background: var(--ink); color: var(--surface); }
.pc-badge.is-pick { background: var(--accent); color: #fff; }
.pc-badge.is-out { color: var(--ink-2); }
/* siatka produktów */
.sd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
@media (min-width: 700px) { .sd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@media (min-width: 1180px) { .sd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) and (max-width: 1359px) { .collection-main .sd-grid, .wheel-main .sd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* kafelki klimatów */
.sd-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .sd-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.sd-tile {
    position: relative;
    display: grid; grid-template-rows: auto 1fr auto; gap: 10px;
    min-height: 200px; padding: 16px 16px 14px;
    border: 0; border-radius: var(--radius-lg);
    background: radial-gradient(120% 90% at 50% 0%, var(--tile-glow) 0%, var(--tile-bg) 60%);
    color: var(--ink); text-align: left; cursor: pointer;
    overflow: hidden;
}
.sd-tile::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--tile-table); }
.sd-tile-art { display: block; margin: -16px -16px 2px; aspect-ratio: 400 / 230; overflow: hidden; background: var(--tile-bg); }
.sd-tile-art svg { width: 100%; height: 100%; display: block; }
.sd-tile-text strong { display: block; font: 600 1.375rem/1.15 var(--font-display); margin-bottom: 4px; }
.sd-tile-text small { display: block; font-size: .875rem; line-height: 1.4; color: var(--ink-2); }
.sd-tile-count { font-size: .875rem; font-weight: 700; }
.sd-tile:hover .sd-tile-text strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.sd-tile.is-dark { color: #f6ebdc; }
.sd-tile.is-dark .sd-tile-text small { color: #e0d0c0; }
@media (min-width: 900px) { .sd-tile { min-height: 230px; padding: 20px 20px 18px; } .sd-tile-art { margin: -20px -20px 2px; } }

/* zestawy */
.sd-bundle { display: grid; gap: 28px; align-items: center; }
.sd-bundle-art { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.sd-bundle-text h2 { margin-bottom: 14px; }
.sd-bundle-list { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.sd-bundle-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.sd-bundle-list li span { font-weight: 700; white-space: nowrap; }
.sd-bundle-list s { margin-left: 8px; font-weight: 400; color: var(--ink-2); }
.sd-bundle-text p { color: var(--ink-2); max-width: 46ch; }
@media (min-width: 900px) { .sd-bundle { grid-template-columns: 1.15fr 1fr; gap: 64px; } }

/* nie wiesz, co wybrać */
.sd-help { display: grid; gap: 36px; }
.sd-help-quiz p { color: var(--ink-2); max-width: 44ch; margin-bottom: 20px; }
.sd-help-more h3 { margin-bottom: 8px; }
.sd-help-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.sd-help-list button {
    display: flex; align-items: center; gap: 14px; width: 100%;
    padding: 14px 2px; border: 0; border-bottom: 1px solid var(--line); background: none;
    color: var(--ink); text-align: left; cursor: pointer;
}
.sd-help-list .ic { width: 26px; height: 26px; color: var(--accent); }
.sd-help-list .ic-end { width: 20px; height: 20px; margin-left: auto; color: var(--ink-2); }
.sd-help-list strong { display: block; font-size: 1.0625rem; }
.sd-help-list small { display: block; color: var(--ink-2); font-size: .9063rem; }
.sd-help-list button:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .sd-help { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }

/* historia pracowni (wieczór) */
.sd-story { background: var(--night); color: var(--night-ink); padding-block: 64px; }
.sd-story-inner { display: grid; gap: 32px; align-items: center; }
.sd-story-art { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; max-width: 520px; }
.sd-story h2 { color: var(--night-ink); }
.sd-story-text > p { color: var(--night-2); max-width: 52ch; }
.sd-quote { margin: 28px 0 24px; }
.sd-quote blockquote { margin: 0; }
.sd-quote blockquote p { margin: 0 0 8px; font: 500 1.375rem/1.4 var(--font-display); color: inherit; }
.sd-quote figcaption { font-size: .9375rem; color: var(--night-2); }
.sd-quote figcaption::before { content: "— "; }
@media (min-width: 900px) { .sd-story { padding-block: 96px; } .sd-story-inner { grid-template-columns: .9fr 1.1fr; gap: 72px; } }

/* najczęstsze pytania */
.sd-faq { display: grid; gap: 28px; }
.sd-faq-head p { color: var(--ink-2); max-width: 40ch; }
.sd-contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.sd-contact-btns .btn { min-height: 44px; padding: 0 16px; }
@media (min-width: 900px) { .sd-faq { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; } .sd-faq-head { position: sticky; top: var(--sticky-top, 140px); transition: top .25s ease; } }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
    position: relative; list-style: none; cursor: pointer;
    padding: 18px 44px 18px 0;
    font-weight: 700; font-size: 1.0625rem; line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: ""; position: absolute; right: 8px; top: 50%;
    width: 10px; height: 10px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-75%) rotate(45deg);
    transition: transform .2s ease;
}
.faq-list details[open] > summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-list details > p, .faq-list details > ul, .faq-list details > ol { color: var(--ink-2); margin: 0 0 18px; max-width: 68ch; }
.faq-list details > ol, .faq-list details > ul { padding-left: 22px; }
.faq-list details li { margin-bottom: 8px; }

/* ---------- 10. Wszystkie zapachy (katalog) ---------- */
.sd-catalog { padding-bottom: 80px; }
.sd-page-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 32px 0 16px; }
.sd-page-head h1 { margin: 0; }
.collection-count { margin: 0; color: var(--ink-2); }
.sd-catalog[data-sub]:not([data-sub="grid"]) .collection-count { display: none; }
.sd-ways { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 24px; padding: 2px var(--gutter) 6px; }
.sd-ways::-webkit-scrollbar { display: none; }
.sd-way {
    flex: none; height: 40px; padding: 0 16px;
    border: 1.5px solid var(--line); border-radius: 999px;
    background: var(--surface); color: var(--ink);
    font-weight: 700; font-size: .9375rem; cursor: pointer;
}
.sd-way:hover { border-color: var(--ink); }
.sd-way.active { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.subview-back { margin: 0 0 18px; }
.collection-anchor { scroll-margin-top: 120px; }
.collection-layout { display: block; }
@media (min-width: 1000px) { .collection-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 44px; align-items: start; } }
/* panel filtrów: na telefonie wysuwany z prawej, na komputerze stała kolumna */
.collection-filters {
    position: fixed; inset: 0 0 0 auto; z-index: 210;
    width: min(92vw, 400px);
    display: flex; flex-direction: column;
    background: var(--surface);
    transform: translateX(104%); visibility: hidden;
    transition: transform .25s ease, visibility .25s;
}
.collection-filters.is-open { transform: none; visibility: visible; box-shadow: var(--shadow-pop); }
html.filters-open { overflow: hidden; }
.cf-backdrop { position: fixed; inset: 0; z-index: 205; background: rgba(28, 18, 24, .45); }
.cf-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.cf-head h3 { margin: 0; font-size: 1.375rem; }
.cf-body { flex: 1; overflow-y: auto; padding: 4px 20px 12px; }
.cf-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cf-group h4 { font: 700 1rem var(--font-body); margin: 0 0 8px; }
.cf-foot { display: flex; align-items: center; gap: 14px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.cf-apply { flex: 1; }
.clear-filters-btn { padding: 0; border: 0; background: none; color: var(--accent-ink); font-weight: 700; text-decoration: underline; cursor: pointer; }
.availability-toggle { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.availability-toggle input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; }
.filter-check {
    display: flex; align-items: center; gap: 10px; width: 100%;
    min-height: 40px; padding: 4px 0;
    border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer;
}
.fc-box { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border: 1.5px solid var(--line-strong); border-radius: 5px; background: var(--surface); }
.filter-check.active .fc-box { background: var(--accent); border-color: var(--accent); }
.filter-check.active .fc-box::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.fc-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.fc-label { flex: 1; }
.fc-count { color: var(--ink-2); font-size: .875rem; }
.filter-check:disabled { opacity: .45; cursor: default; }
.filter-check:not(:disabled):hover .fc-label { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1000px) {
    .collection-filters {
        position: sticky; top: var(--sticky-top, 140px); transition: top .25s ease; inset: auto; z-index: 1;
        width: auto; max-height: calc(100vh - 160px);
        transform: none; visibility: visible;
        background: none; box-shadow: none !important;
    }
    .cf-head { padding: 0 0 6px; border: 0; }
    .cf-close, .cf-apply, .cf-backdrop { display: none !important; }
    .cf-body { padding: 0; }
    .cf-group:first-child { padding-top: 6px; }
    .cf-foot { padding: 14px 0 0; border: 0; }
}
.collection-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.filters-open-btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 16px;
    border: 1.5px solid var(--ink); border-radius: 999px;
    background: none; color: var(--ink); font-weight: 700; cursor: pointer;
}
.filters-open-btn .ic { width: 20px; height: 20px; }
.filters-open-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .8125rem; }
@media (min-width: 1000px) { .filters-open-btn { display: none; } }
.sort-label { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: .9375rem; color: var(--ink-2); min-width: 0; }
.sort-label select { max-width: 100%; }
@media (max-width: 520px) { .sort-label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.active-filters-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.active-filter-pill {
    display: inline-flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 12px;
    border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
    color: var(--ink); font-size: .875rem; font-weight: 700; cursor: pointer;
}
.active-filter-pill .ic { width: 14px; height: 14px; }
.active-filter-clear { padding: 0 4px; border: 0; background: none; color: var(--accent-ink); font-size: .875rem; font-weight: 700; text-decoration: underline; cursor: pointer; }
.show-more-wrap { grid-column: 1 / -1; display: grid; justify-items: center; gap: 10px; padding-top: 8px; }
.show-more-progress { margin: 0; font-size: .875rem; color: var(--ink-2); }
.show-more-bar { width: 220px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.show-more-bar span { display: block; height: 100%; background: var(--ink); }
.no-results { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--ink-2); }
.no-results p { margin: 0 0 6px; }

/* ---------- 11. Inne sposoby wyboru ---------- */
/* kolorowe przełączniki filtrów (Szybki przegląd) */
.filter-section { margin-bottom: 14px; }
.filter-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.filter-title { font-weight: 700; font-size: .9688rem; }
.filter-toggle-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-toggle-btn {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 38px; padding: 0 14px;
    border: 1.5px solid var(--line); border-radius: 999px;
    background: var(--surface); color: var(--ink);
    font-weight: 700; font-size: .9063rem; cursor: pointer;
}
.filter-toggle-btn.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.filter-toggle-btn:disabled { opacity: .45; cursor: default; }
.chip-count { font-weight: 400; opacity: .85; }
/* szybki przegląd */
.text-list-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 14px; }
.text-list-results-info { color: var(--ink-2); font-size: .9375rem; }
.text-list-container { display: grid; gap: 0; border-top: 1px solid var(--line); }
.text-list-row { position: relative; border-bottom: 1px solid var(--line); padding-left: 14px; }
.text-list-row::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 2px; background: var(--row-color); }
.text-list-row-main { display: block; width: 100%; padding: 14px 0; border: 0; background: none; text-align: left; color: var(--ink); cursor: pointer; }
.text-list-row-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.text-list-row-name { font-weight: 700; font-size: 1.0625rem; }
.text-list-row-main:hover .text-list-row-name { text-decoration: underline; text-underline-offset: 3px; }
.text-list-row-unavailable-tag { margin-left: 8px; font-weight: 400; font-size: .875rem; color: var(--ink-2); }
.text-list-row-meta { display: inline-flex; align-items: center; gap: 8px; }
.text-list-row-ref { font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.text-list-row-vibe { padding: 2px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 700; }
.text-list-row-desc { display: block; margin-top: 4px; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.text-list-row-desc strong { color: var(--ink); }
.text-list-row.is-unavailable { opacity: .7; }
.notes-accordion { margin: -4px 0 12px; }
.notes-accordion summary { cursor: pointer; font-size: .9063rem; font-weight: 700; color: var(--accent-ink); }
.text-list-notes-body { font-size: .9063rem; color: var(--ink-2); padding-top: 6px; }
/* zapachy na nastrój */
.mood-sections { display: grid; gap: 44px; }
.mood-banner { position: relative; min-height: 200px; border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; margin-bottom: 18px; background: var(--night); }
.mood-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mood-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25, 15, 20, .05) 0%, rgba(25, 15, 20, .72) 100%); }
.mood-banner-content { position: relative; padding: 22px; color: #fff; max-width: 60ch; }
.mood-banner-title { font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--font-display); margin-bottom: 6px; }
.mood-banner-desc { font-size: 1rem; opacity: .95; margin-bottom: 12px; }
.mood-banner-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mood-banner-tag { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: #2a1d22; font-size: .8125rem; font-weight: 700; }
.mood-scents-wrapper { position: relative; }
.mood-scents-row {
    display: grid; grid-auto-flow: column; grid-auto-columns: 44%;
    gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.mood-scents-row::-webkit-scrollbar { display: none; }
.mood-scents-row > * { scroll-snap-align: start; }
@media (min-width: 700px) { .mood-scents-row { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (min-width: 1100px) { .mood-scents-row { grid-auto-columns: calc((100% - 48px) / 4); } }
.mood-see-more-card {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    aspect-ratio: 1; border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
    color: var(--ink); font-weight: 700; text-decoration: none;
}
.mood-see-more-card:hover { border-color: var(--ink); }
/* koło zapachów */
.aroma-wheel-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .aroma-wheel-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 44px; align-items: start; } .wheel-sectors-list { position: sticky; top: var(--sticky-top, 140px); transition: top .25s ease; } }
.wheel-sectors-list { display: grid; border-top: 1px solid var(--line); }
.wheel-sector-btn {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 12px 10px; border: 0; border-bottom: 1px solid var(--line); background: none;
    color: var(--ink); text-align: left; cursor: pointer; border-radius: 0;
}
.wheel-sector-btn .pc-dot { width: 14px; height: 14px; }
.wheel-sector-text { flex: 1; min-width: 0; }
.wheel-sector-text strong { display: block; }
.wheel-sector-text small { display: block; font-size: .8438rem; color: var(--ink-2); line-height: 1.4; }
.wheel-sector-btn .ic { width: 18px; height: 18px; color: var(--ink-2); }
.wheel-sector-btn.active { background: var(--surface); box-shadow: inset 3px 0 0 var(--accent); }
.wheel-head { margin-bottom: 18px; }
.wheel-head .sd-intro { margin-bottom: 0; }
@media (max-width: 899px) { .wheel-sector-text small { display: none; } }
/* zestaw */
.trio-format-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; max-width: 640px; }
.trio-format-btn {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
    background: var(--surface); color: var(--ink); text-align: left; cursor: pointer;
}
.trio-format-btn strong { font-size: 1.0625rem; }
.trio-format-btn span { font-size: .875rem; color: var(--ink-2); }
.trio-format-btn.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.trio-builder-steps { display: grid; gap: 12px; max-width: 920px; }
@media (min-width: 800px) { .trio-builder-steps { grid-template-columns: repeat(3, 1fr); } }
.trio-slot-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.trio-slot-card.filled { border-color: var(--ink); }
.trio-slot-label { font-weight: 700; font-size: .9375rem; }
.trio-slot-card select {
    width: 100%; height: 46px; padding: 0 12px;
    border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink);
    font-size: 1rem;
}
.trio-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 18px; max-width: 920px; border-radius: var(--radius); background: var(--accent-soft); }
.trio-banner-title { margin: 0 0 2px; font-size: 1.25rem; }
.trio-banner p { margin: 0; color: var(--ink-2); }
/* pory roku */
.season-timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
@media (min-width: 900px) { .season-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.season-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
    background: var(--surface); color: var(--ink); text-align: left; cursor: pointer;
}
.season-card .ic { width: 26px; height: 26px; color: var(--accent); margin-bottom: 4px; }
.season-name { font: 600 1.25rem var(--font-display); }
.season-desc { font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.season-count { margin-top: 6px; font-size: .875rem; font-weight: 700; }
.season-card.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.season-results .sd-subhead { margin-bottom: 18px; }

/* ---------- 12. Quiz ---------- */
.quiz-wrapper { max-width: 760px; }
.quiz-wrapper .header-section { margin-bottom: 24px; }
.quiz-wrapper .header-section h1 { margin-bottom: 8px; }
.quiz-wrapper .header-section p { color: var(--ink-2); font-size: 1.125rem; }
.progress-container { margin-bottom: 26px; }
.progress-info { display: flex; justify-content: space-between; font-size: .9375rem; font-weight: 700; margin-bottom: 8px; }
.progress-info span:last-child { color: var(--ink-2); font-weight: 400; }
.progress-bar-bg { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress-bar-fill { height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .3s ease; }
.question-box h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-bottom: 18px; }
.options-grid { display: grid; gap: 10px; }
.option-btn {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; min-height: 60px; padding: 14px 18px;
    border: 1.5px solid var(--line); border-radius: var(--radius);
    background: var(--surface); color: var(--ink);
    font-size: 1.0625rem; text-align: left; cursor: pointer;
}
.option-btn .ic { width: 20px; height: 20px; color: var(--ink-2); }
.option-btn:hover { border-color: var(--ink); }
.option-btn.selected { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.quiz-back-btn { margin-top: 18px; }
.quiz-loading { padding: 60px 0; text-align: center; color: var(--ink-2); }
.quiz-loading-sun { width: 64px; height: 64px; display: block; margin: 0 auto 12px; animation: sd-spin 6s linear infinite; }
@keyframes sd-spin { to { transform: rotate(360deg); } }
.results-screen { display: none; }
.results-header { margin-bottom: 24px; }
.match-badge { display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: .875rem; }
.results-header p { color: var(--ink-2); }
.vibes-matches-container { display: grid; gap: 14px; margin-bottom: 28px; }
.vibe-card { padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); cursor: pointer; }
.vibe-card.active { border-color: var(--ink); cursor: default; }
.vibe-card-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.vibe-card-title { font: 600 1.5rem/1.2 var(--font-display); }
.vibe-card-title small { display: block; font: 700 .875rem var(--font-body); color: var(--ink-2); margin-bottom: 2px; }
.vibe-match-percent { font-weight: 700; color: var(--accent-ink); }
.vibe-expand-toggle { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .9375rem; font-weight: 700; color: var(--accent-ink); }
.vibe-expand-toggle .lbl-close { display: none; }
.vibe-card.active .vibe-expand-toggle .lbl-open { display: none; }
.vibe-card.active .vibe-expand-toggle .lbl-close { display: inline; }
.vibe-expand-arrow { width: 18px; height: 18px; transition: transform .2s; }
.vibe-card.active .vibe-expand-arrow { transform: rotate(180deg); }
.vibe-details { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.vibe-card.active .vibe-details { grid-template-rows: 1fr; }
.vibe-details-inner { overflow: hidden; color: var(--ink-2); }
.vibe-card.active .vibe-details-inner { padding-top: 12px; }
.quiz-picks-label { margin: 14px 0 8px; font-weight: 700; color: var(--ink); }
.quiz-picks { display: grid; gap: 8px; }
.quiz-pick { display: block; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; }
.quiz-pick:hover { border-color: var(--ink); }
.quiz-pick-name { display: block; font-weight: 700; }
.quiz-pick-notes { display: block; font-size: .9063rem; color: var(--ink-2); }
.quiz-all-btn { margin-top: 14px; }
.quiz-season-tip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-radius: var(--radius); background: var(--paper-2); }
.quiz-season-link { font-weight: 700; color: var(--accent-ink); }
.share-link-btn { margin-top: 6px; }
.explore-all-section h3 { margin-bottom: 12px; }
.all-vibes-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.vibe-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; }
.vibe-chip:hover { border-color: var(--ink); }
.quiz-restart { margin-top: 28px; }

/* ---------- 13. Strona zapachu ---------- */
.product-view { padding-bottom: 80px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 18px 0 20px; font-size: .875rem; color: var(--ink-2); }
.breadcrumbs a { color: var(--ink-2); }
.breadcrumbs .ic { width: 14px; height: 14px; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }
.pp-layout { display: grid; gap: 26px; }
.pp-media { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
@media (min-width: 900px) { .pp-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 60px; align-items: start; } .pp-media { position: sticky; top: var(--sticky-top, 140px); transition: top .25s ease; } }
.pp-art { width: 100%; height: 100%; }
.pp-vibe { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 700; font-size: .9375rem; text-decoration: none; }
.pp-vibe:hover { color: var(--ink); text-decoration: underline; }
.pp-title { font-size: clamp(2.1rem, 1.6rem + 2vw, 3.1rem); margin: 6px 0 8px; }
.pp-meta { margin: 0 0 12px; color: var(--ink-2); font-size: .9375rem; }
.pp-seasons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; }
.pp-seasons > span { font-size: .875rem; color: var(--ink-2); margin-right: 2px; }
.pp-season-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .875rem; font-weight: 700; text-decoration: none; }
.pp-season-chip .ic { width: 16px; height: 16px; color: var(--accent); }
.pp-season-chip:hover { border-color: var(--ink); }
.pp-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pp-price { font: 600 2.1rem/1 var(--font-display); }
.pp-price-note { font-size: .875rem; color: var(--ink-2); }
.pp-tier { margin: 8px 0 18px; font-size: .9375rem; font-weight: 700; color: var(--accent-ink); }
.pp-lead { font-size: 1.0938rem; margin: 0 0 22px; max-width: 54ch; }
.pp-unavailable { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); }
.pp-option-head { margin-bottom: 8px; font-size: .9688rem; }
.size-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.size-opt {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
    background: var(--surface); color: var(--ink); text-align: left; cursor: pointer;
}
.size-opt strong { font-size: 1.0625rem; }
.size-price, .size-burn { font-size: .9375rem; color: var(--ink-2); }
.size-opt.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pp-buy { display: flex; gap: 10px; margin-bottom: 22px; }
.pp-qty { display: flex; align-items: center; height: 54px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.pp-qty button { display: grid; place-items: center; width: 44px; height: 100%; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 999px; }
.pp-qty button .ic { width: 18px; height: 18px; }
.pp-qty input { width: 36px; border: 0; background: none; text-align: center; font-weight: 700; font-size: 1.0625rem; -moz-appearance: textfield; appearance: textfield; }
.pp-qty input::-webkit-outer-spin-button, .pp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp-add { flex: 1; min-height: 54px; font-size: 1.0938rem; }
.pp-trust { list-style: none; display: grid; gap: 10px; margin: 0 0 6px; padding: 16px 0; border-top: 1px solid var(--line); }
.pp-trust li { display: flex; gap: 10px; font-size: .9375rem; line-height: 1.45; }
.pp-trust .ic { width: 20px; height: 20px; color: var(--accent); margin-top: 1px; }
.pp-accordions details { border-top: 1px solid var(--line); }
.pp-accordions details:last-child { border-bottom: 1px solid var(--line); }
.pp-accordions summary { position: relative; list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font-weight: 700; font-size: 1.0625rem; }
.pp-accordions summary::-webkit-details-marker { display: none; }
.pp-accordions summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.pp-accordions details[open] > summary::after { transform: translateY(-25%) rotate(-135deg); }
.pp-acc-body { padding-bottom: 18px; color: var(--ink-2); }
.pp-acc-body ul { padding-left: 20px; margin: 0 0 12px; }
.pp-acc-body li { margin-bottom: 6px; }
.pp-acc-body p { margin: 0 0 10px; }
.notes-group { margin-bottom: 12px; }
.notes-group-label { margin-bottom: 6px; font-weight: 700; font-size: .9375rem; color: var(--ink); }
.notes-group-label span { font-weight: 400; color: var(--ink-2); }
.notes-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.note-chip { padding: 4px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink); font-size: .9375rem; }
.pp-funfact { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--paper-2); color: var(--ink); }
.pp-utility { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; }
.pp-related { margin-top: 76px; }
/* przyklejony przycisk zakupu (telefon) */
.sd-sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 26px rgba(40, 24, 30, .1);
}
.sd-sticky-buy-info { flex: 1; min-width: 0; }
.sd-sticky-buy-info strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sd-sticky-buy-info span { font-size: .875rem; color: var(--ink-2); }
@media (min-width: 1000px) { .sd-sticky-buy { display: none !important; } }

/* ---------- 14. Koszyk i zamówienie ---------- */
.cart-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin: 32px 0 22px; }
.cart-head .cart-title { margin: 0; }
.cart-head-count { margin-left: 6px; font: 400 1.0625rem var(--font-body); color: var(--ink-2); letter-spacing: 0; }
.cart-layout { display: grid; gap: 24px; grid-template-areas: "main" "aside" "form"; grid-template-columns: minmax(0, 1fr); }
.cart-main { grid-area: main; }
.cart-aside { grid-area: aside; }
.sd-checkout { grid-area: form; }
@media (min-width: 1000px) {
    .cart-layout { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "main aside" "form aside"; column-gap: 52px; align-items: start; }
    .cart-aside { position: sticky; top: var(--sticky-top, 140px); transition: top .25s ease; }
}
.cart-view.is-empty .cart-aside, .cart-view.is-empty .sd-checkout { display: none; }
.cart-items-list { border-top: 1px solid var(--line); }
.cart-view.is-empty .cart-items-list { border-top: 0; }
.cart-item-row {
    display: grid; align-items: center; gap: 8px 14px;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    grid-template-areas: "thumb info remove" "thumb qty total";
    padding: 16px 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) {
    .cart-item-row { grid-template-columns: 88px minmax(0, 1fr) auto 96px 44px; grid-template-areas: "thumb info qty total remove"; }
}
.cart-thumb { grid-area: thumb; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--paper-2); cursor: pointer; }
.cart-thumb svg { width: 100%; height: 100%; display: block; }
.cart-item-info { grid-area: info; min-width: 0; }
.cart-item-name { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 700; font-size: 1.0625rem; text-align: left; cursor: pointer; }
.cart-item-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-item-meta { font-size: .9375rem; color: var(--ink-2); }
.cart-old-price { margin-left: 4px; }
.cart-item-qty { grid-area: qty; justify-self: start; display: inline-flex; align-items: center; height: 42px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty-btn { display: grid; place-items: center; width: 40px; height: 100%; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 999px; }
.qty-btn .ic { width: 16px; height: 16px; }
.qty-value { min-width: 24px; text-align: center; font-weight: 700; }
.cart-item-total { grid-area: total; justify-self: end; font-weight: 700; white-space: nowrap; }
.remove-item-btn { grid-area: remove; justify-self: end; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink-2); cursor: pointer; }
.remove-item-btn:hover { background: var(--paper-2); color: var(--ink); }
.remove-item-btn .ic { width: 20px; height: 20px; }
.cart-tier-hint { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); font-size: .9688rem; }
.cart-tier-hint .ic { width: 20px; height: 20px; color: var(--accent-ink); margin-top: 2px; }
.cart-tier-hint a { color: var(--accent-ink); font-weight: 700; }
.cart-empty { display: grid; justify-items: center; gap: 8px; padding: 12px 0 8px; text-align: center; }
.cart-empty svg { width: 150px; height: 150px; border-radius: var(--radius-lg); }
.cart-empty-title { margin: 10px 0 0; font: 600 1.6rem var(--font-display); }
.cart-empty p { margin: 0; color: var(--ink-2); }
.cart-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.cart-upsell { margin-top: 34px; }
.cart-upsell-title { font-size: 1.4rem; margin-bottom: 12px; }
.cart-upsell-row { display: grid; gap: 10px; }
@media (min-width: 700px) { .cart-upsell-row { grid-template-columns: 1fr 1fr; } }
.cart-upsell-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cart-upsell-thumb { width: 58px; height: 58px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; }
.cart-upsell-thumb svg { width: 100%; height: 100%; display: block; }
.cart-upsell-name { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 700; text-align: left; cursor: pointer; }
.cart-upsell-info span { display: block; font-size: .8438rem; color: var(--ink-2); }
.cart-summary-box { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.cart-summary-title { font-size: 1.4rem; margin-bottom: 10px; }
.cart-summary-subline, #cartSavingsLine:not(:empty), #cartTotalLine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 5px 0; }
#cartSavingsLine { color: var(--accent-ink); font-weight: 700; }
#cartTotalLine { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font: 600 1.4rem var(--font-display); }
.cart-free-hint { flex-basis: 100%; font-size: .875rem; color: var(--accent-ink); font-weight: 700; }
.cart-summary-subline s { color: var(--ink-2); margin-right: 4px; }
.cart-code { margin-top: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.cart-code summary { list-style: none; cursor: pointer; padding: 8px 0; color: var(--accent-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cart-code summary::-webkit-details-marker { display: none; }
.discount-code-row { display: flex; gap: 8px; margin-top: 6px; }
.discount-code-row input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; text-transform: uppercase; font-size: 1rem; }
.discount-code-row .btn { min-height: 46px; padding: 0 16px; }
.discount-code-status { margin-top: 8px; font-size: .875rem; color: var(--ink-2); }
.code-chip { padding: 1px 8px; border: 1.5px dashed var(--accent); border-radius: 6px; background: none; color: var(--accent-ink); font-weight: 700; cursor: pointer; }
.cart-info { margin-top: 10px; border-bottom: 1px solid var(--line); }
.cart-info summary { position: relative; list-style: none; cursor: pointer; padding: 14px 32px 14px 0; font-weight: 700; }
.cart-info summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.cart-info[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.cart-info summary::-webkit-details-marker { display: none; }
.cart-info p { font-size: .9375rem; color: var(--ink-2); }
/* formularz */
.sd-checkout { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
@media (min-width: 700px) { .sd-checkout { padding: 28px; } }
.sd-checkout-title { font-size: 1.6rem; margin-bottom: 8px; }
.sd-checkout-lead { color: var(--ink-2); margin-bottom: 20px; }
.sd-send { display: grid; gap: 10px; margin-top: 4px; }
.sd-send .btn { min-height: 56px; font-size: 1.0625rem; }
.cart-terms { margin: 0 0 10px; font-size: .875rem; color: var(--ink-2); }
.cart-terms a { color: var(--accent-ink); font-weight: 700; }
.cart-copy { margin-top: 10px; }
.sd-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.sd-field > label, .sd-field > legend { font-weight: 700; font-size: .9688rem; padding: 0; }
.sd-field input, .sd-field textarea {
    width: 100%; height: 50px; padding: 0 14px;
    border: 1.5px solid var(--line-strong); border-radius: 10px;
    background: #fff; color: var(--ink); font-size: 1.0625rem;
}
.sd-field textarea { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.sd-field input:focus, .sd-field textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--ink); }
.sd-field small { font-size: .875rem; color: var(--ink-2); }
.sd-field small a { color: var(--accent-ink); font-weight: 700; }
.sd-field-row { display: grid; column-gap: 16px; }
@media (min-width: 700px) { .sd-field-row { grid-template-columns: 1fr 1fr; } }
.sd-optional { font-weight: 400; color: var(--ink-2); }
.sd-pay legend { margin-bottom: 6px; }
.sd-radio { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.sd-radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.sd-radio:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 699px) { .cart-upsell-item:nth-child(n+3) { display: none; } }
.cart-secondary-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cart-secondary-actions .btn { min-height: 44px; padding: 0 16px; }
.cart-next { margin: 16px 0 10px; font-size: .9375rem; color: var(--ink-2); }
.cart-gift { display: flex; gap: 10px; margin: 0 0 12px; font-size: .9375rem; color: var(--ink-2); }
.cart-gift .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.cart-alt { border-top: 1px solid var(--line); padding-top: 4px; }
.cart-alt summary { list-style: none; cursor: pointer; padding: 10px 0; color: var(--accent-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cart-alt summary::-webkit-details-marker { display: none; }
.cart-alt p { font-size: .9375rem; color: var(--ink-2); margin-bottom: 4px; }
#finalMessageText { width: 100%; height: 150px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: .875rem; resize: vertical; }

/* ---------- 15. Strony informacyjne ---------- */
.sd-prose-wrap { max-width: 800px; }
.sd-prose-wrap h2 { font-size: 1.65rem; margin: 40px 0 12px; }
.sd-prose-wrap > p, .sd-prose-wrap > ul { max-width: 68ch; }
.sd-about-art { height: clamp(180px, 30vw, 330px); margin-bottom: 8px; border-radius: var(--radius-lg); background: var(--paper-2) var(--season-bg-pattern) 40% 60% / cover no-repeat; }
.sd-quote.is-card { margin: 0 0 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.sd-quote.is-card blockquote p { color: var(--ink); }
.sd-quote.is-card figcaption { color: var(--ink-2); }
.sd-panel { margin-top: 40px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.sd-panel .sd-panel-title { margin: 0 0 8px; font-size: 1.375rem; }
.sd-panel-img { display: block; max-width: 100%; height: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; }
.sd-contact-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; padding: 0; margin: 0 0 36px; }
.sd-contact-list a { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; }
.sd-contact-list a:hover { border-color: var(--ink); }
.sd-contact-list .ic { width: 28px; height: 28px; color: var(--accent); }
.sd-contact-list strong { display: block; }
.sd-contact-list small { display: block; color: var(--ink-2); font-size: .9375rem; }
.legal-title { font-size: 1.75rem; margin: 44px 0 10px; }
.legal-meta { font-size: .9375rem; color: var(--ink-2); }
.legal-summary { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legal-doc { margin-top: 18px; }
.legal-doc details > ol { padding-left: 24px; }

/* ---------- 16. Lista zapachów (dla drukarni) ---------- */
.scent-list-view .sd-wrap { padding-top: 4px; }
.sl-title { margin-top: 32px; }
.sl-lead { color: var(--ink-2); max-width: 70ch; }
.sl-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.sl-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.sl-search:focus-within { border-color: var(--ink); }
.sl-search .ic { width: 20px; height: 20px; color: var(--ink-2); }
.sl-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 1rem; }
.sl-print { min-height: 46px; }
.sl-count { margin: 8px 0 10px; font-size: .9375rem; color: var(--ink-2); }
.sl-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.sl-row { display: grid; grid-template-columns: 78px minmax(150px, 1.1fr) 150px minmax(0, 2.6fr) 96px; gap: 12px; align-items: start; padding: 11px 14px; border-top: 1px solid var(--line); font-size: .9375rem; }
.sl-row:first-child { border-top: 0; }
.sl-row:nth-child(even):not(.sl-row-head) { background: color-mix(in srgb, var(--paper) 55%, transparent); }
.sl-row-head { background: var(--paper-2); font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
.sl-id { font-weight: 700; font-variant-numeric: tabular-nums; }
.sl-name a { font-weight: 700; color: var(--ink); text-decoration: none; }
.sl-name a:hover { text-decoration: underline; }
.sl-name small { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: .8125rem; color: var(--ink-2); }
.sl-seasons { display: flex; flex-wrap: wrap; gap: 4px; }
.sl-season { padding: 2px 8px; border-radius: 999px; background: var(--paper-2); font-size: .8125rem; white-space: nowrap; }
.sl-notes { display: flex; flex-direction: column; gap: 2px; line-height: 1.5; }
.sl-layer b { font-weight: 700; color: var(--ink-2); }
.sl-copy { padding: 6px 12px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: .8438rem; cursor: pointer; white-space: nowrap; }
.sl-copy:hover { border-color: var(--ink); }
.sl-empty { padding: 18px; margin: 0; color: var(--ink-2); }
@media (max-width: 899px) {
    .sl-row-head { display: none; }
    .sl-row { grid-template-columns: 70px minmax(0, 1fr) auto; grid-template-areas: "id name copy" "seasons seasons seasons" "notes notes notes"; gap: 6px 10px; }
    .sl-id { grid-area: id; } .sl-name { grid-area: name; } .sl-actions { grid-area: copy; } .sl-seasons { grid-area: seasons; } .sl-notes { grid-area: notes; }
}
@media print {
    body[data-view="lista"] .sd-announce, body[data-view="lista"] .sd-header, body[data-view="lista"] .sd-footer,
    body[data-view="lista"] .scroll-dock, body[data-view="lista"] .sl-toolbar, body[data-view="lista"] .sl-noprint,
    body[data-view="lista"] .cart-notice, body[data-view="lista"] .toast-notification, body[data-view="lista"] .sl-lead,
    body[data-view="lista"] .sd-skip { display: none !important; }
    body[data-view="lista"] { background: #fff !important; }
    body[data-view="lista"] .sd-wrap { padding: 0; max-width: none; }
    .sl-row { grid-template-columns: 58px 165px 125px 1fr !important; grid-template-areas: none !important; break-inside: avoid; font-size: 10.5px; padding: 5px 6px; }
    .sl-row > * { grid-area: auto !important; }
    .sl-row-head { display: grid !important; }
    .sl-table { border-radius: 0; }
    .sl-season { font-size: 9.5px; padding: 1px 6px; }
    .sl-name small { font-size: 9.5px; }
}

/* ---------- 17. Stopka ---------- */
.sd-footer { padding: 56px 0 28px; background: var(--night); color: var(--night-ink); }
.sd-footer a { color: var(--night-ink); }
.sd-footer-top { display: grid; }
.sd-footer-brand { margin-bottom: 24px; }
.sd-footer-logo { width: 96px; height: 66px; color: var(--night-ink); }
.sd-footer-brand p { max-width: 32ch; margin: 10px 0 16px; color: var(--night-2); }
.sd-social { display: flex; gap: 8px; }
.sd-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--night-line); border-radius: 50%; }
.sd-social a:hover { background: rgba(248, 236, 224, .1); }
.sd-social .ic { width: 22px; height: 22px; }
.sd-footer-col { border-top: 1px solid var(--night-line); }
.sd-footer-col summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; list-style: none; cursor: pointer; font-weight: 700; font-size: 1.0625rem; }
.sd-footer-col summary::-webkit-details-marker { display: none; }
.sd-footer-col .ic-toggle { width: 20px; height: 20px; transition: transform .2s; }
.sd-footer-col[open] .ic-toggle { transform: rotate(180deg); }
.sd-footer-col ul { list-style: none; margin: 0; padding: 0 0 12px; }
.sd-footer-col li a { display: block; padding: 10px 0; color: var(--night-2); text-decoration: none; }
.sd-footer-col li a:hover { color: var(--night-ink); text-decoration: underline; }
.sd-footer-seller { padding-top: 18px; border-top: 1px solid var(--night-line); }
.sd-footer-h { margin: 0 0 10px; font: 700 1.0625rem var(--font-body); color: var(--night-ink); }
.sd-footer-seller p { margin: 0 0 10px; color: var(--night-2); font-size: .9688rem; }
.sd-footer-small { font-size: .875rem; }
@media (min-width: 768px) {
    .sd-footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 28px; }
    .sd-footer-brand { grid-column: 1 / -1; margin-bottom: 4px; }
    .sd-footer-col, .sd-footer-seller { border-top: 0; padding-top: 0; }
    .sd-footer-col summary { min-height: 0; margin-bottom: 10px; cursor: default; }
    .sd-footer-col .ic-toggle { display: none; }
    .sd-footer-col li a { padding: 5px 0; }
}
@media (min-width: 1100px) { .sd-footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.4fr; gap: 32px; } .sd-footer-brand { grid-column: auto; } }
.sd-footer-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--night-line); }
.sd-footer-settings-label { font-weight: 700; font-size: .9375rem; margin-right: 4px; }
.season-switcher-row { display: flex; flex-wrap: wrap; gap: 6px; }
.season-option, .readable-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 14px;
    border: 1px solid var(--night-line); border-radius: 999px;
    background: none; color: var(--night-ink);
    font-weight: 700; font-size: .875rem; cursor: pointer;
}
.season-option .ic, .readable-toggle .ic { width: 18px; height: 18px; }
.season-option.active, .readable-toggle[aria-pressed="true"] { background: var(--night-ink); border-color: var(--night-ink); color: var(--night); }
.sd-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 24px; font-size: .875rem; color: var(--night-2); }
.sd-footer-bottom p { margin: 0; }

/* ---------- 18. Okienka: koszyk, powiadomienia, szybkie przewijanie ---------- */
.cart-notice {
    position: fixed; top: 12px; right: 12px; z-index: 300;
    width: min(380px, calc(100vw - 24px));
    padding: 16px;
    border-radius: var(--radius-lg); background: var(--surface);
    box-shadow: var(--shadow-pop);
    opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
}
.cart-notice.show { opacity: 1; transform: none; }
.cart-notice-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-weight: 700; }
.cart-notice-head span { display: inline-flex; align-items: center; gap: 8px; }
.cart-notice-head .ic { width: 20px; height: 20px; color: #2f7a4f; }
.cart-notice-close { display: grid; place-items: center; width: 40px; height: 40px; margin: -8px -8px -8px 0; border: 0; border-radius: 50%; background: none; color: var(--ink-2); cursor: pointer; }
.cart-notice-close .ic { width: 20px; height: 20px; color: inherit; }
.cart-notice-item { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cn-thumb { width: 58px; height: 58px; border-radius: 10px; overflow: hidden; flex: none; }
.cn-thumb svg { width: 100%; height: 100%; display: block; }
.cn-text strong { display: block; }
.cn-text small { color: var(--ink-2); }
.cart-notice-continue { display: block; width: 100%; margin-top: 6px; padding: 10px; border: 0; background: none; color: var(--ink); font-weight: 700; text-decoration: underline; cursor: pointer; }
.toast-notification {
    position: fixed; left: 50%; bottom: 24px; z-index: 400;
    display: flex; align-items: center; gap: 14px;
    max-width: calc(100vw - 32px);
    padding: 12px 18px; border-radius: 12px;
    background: var(--ink); color: var(--surface);
    font-size: .9688rem;
    opacity: 0; pointer-events: none;
    transform: translate(-50%, 16px);
    transition: opacity .2s ease, transform .2s ease;
}
.toast-notification.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.toast-action { padding: 0; border: 0; background: none; color: var(--accent-soft); font-weight: 700; text-decoration: underline; cursor: pointer; }
html.has-sticky-buy .toast-notification { bottom: 92px; }
.scroll-dock { position: fixed; right: 16px; bottom: 16px; z-index: 110; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
html.has-sticky-buy .scroll-dock { bottom: 88px; }
.scroll-dock-btn {
    position: relative;
    display: inline-flex; align-items: center; gap: 6px;
    height: 44px; padding: 0 14px;
    border: 1px solid var(--line); border-radius: 999px;
    background: var(--surface); color: var(--ink);
    box-shadow: 0 8px 20px rgba(40, 24, 30, .14);
    font-weight: 700; font-size: .875rem; cursor: pointer;
}
.scroll-dock-btn .ic { width: 18px; height: 18px; }
.dock-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; }

/* okno zapachu — dziś tylko szablon do „Zapisz kartę jako obrazek” */
.scent-modal-overlay { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(28, 18, 24, .5); overflow-y: auto; }
.scent-modal { width: 420px; max-width: 100%; margin: 40px auto; padding: 24px; border-radius: 20px; background: #fffaf4; color: #35242b; font-family: var(--font-body); }
.scent-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.scent-category { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 700; }
.scent-modal-ref { margin-top: 4px; font-size: .8125rem; color: #6b5049; }
.modal-sticker { display: block; width: 60px; height: 60px; }
.modal-sticker svg { width: 100%; height: 100%; }
.scent-modal-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f0e1d1; cursor: pointer; }
.modal-art { aspect-ratio: 1; margin-bottom: 14px; border-radius: 16px; overflow: hidden; }
.modal-art svg { width: 100%; height: 100%; display: block; }
.scent-modal h2 { margin: 0 0 6px; font-size: 1.85rem; color: #35242b; }
.scent-modal-type { margin-bottom: 10px; }
.modal-tag { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; border-radius: 999px; background: #f0e1d1; font-size: .8125rem; font-weight: 700; }
.scent-modal-desc { margin-bottom: 10px; }
.modal-section-title { margin: 12px 0 8px; font: 700 1rem var(--font-body); }
.scent-modal .note-chip { background: #f0e1d1; }
.scent-modal-funfact { margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: #f6ebdf; }
.modal-facts-line { margin: 10px 0; font-size: .8125rem; color: #6b5049; }
.modal-buy, .modal-delivery, .modal-care, .modal-utility-row { margin-top: 12px; }
.scent-modal-brand-footer { margin-top: 14px; padding-top: 10px; border-top: 1px solid #e5d1bf; text-align: center; font-size: .8125rem; color: #6b5049; }
.scent-modal.exporting-capture .modal-export-hide { display: none !important; }

/* ---------- 19. Większy tekst (przełącznik w stopce i w menu) ---------- */
html[data-readable="on"] body { font-size: 1.1875rem; line-height: 1.75; letter-spacing: .012em; word-spacing: .05em; }
html[data-readable="on"] .sd-card-title, html[data-readable="on"] .sd-card-price { font-size: 1.1875rem; }
html[data-readable="on"] .sd-card-vibe, html[data-readable="on"] .sd-trust-list small, html[data-readable="on"] .sd-help-list small,
html[data-readable="on"] .sd-tile-text small, html[data-readable="on"] .sd-field small { font-size: 1rem; }
html[data-readable="on"] a:not(.btn):not(.sd-tile) { text-decoration: underline; }
html[data-readable="on"] .sd-grid { grid-template-columns: 1fr; }
@media (min-width: 560px) { html[data-readable="on"] .sd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { html[data-readable="on"] .sd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 20. Mniej ruchu ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
.sd-narrow-only { display: none; }
@media (max-width: 599px) { .sd-wide-only { display: none; } .sd-narrow-only { display: inline; } }
