/* Pan Filterek — wersja PHP */
:root {
    --bg: #0A0B0E;
    --card: #12141A;
    --card2: #1A1D26;
    --crimson: #E63312;
    --crimson-d: #C22409;
    --amber: #F5B301;
    --amber-l: #FFC82E;
    --text: #F8FAFC;
    --muted: #94A3B8;
    --line: rgba(255, 255, 255, 0.08);
    --font-display: "Barlow Condensed", sans-serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
    --font-mono: "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--amber); color: #0A0B0E; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0A0B0E; }
::-webkit-scrollbar-thumb { background: #252A38; border: 2px solid #0A0B0E; }
::-webkit-scrollbar-thumb:hover { background: var(--amber); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

section[id] { scroll-margin-top: 72px; }

/* ---------- typografia ---------- */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--amber);
    display: flex;
    align-items: center;
    gap: 12px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--amber); }

.h2 {
    font-family: var(--font-display);
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.01em;
    margin-top: 16px;
}
.h2 em { font-style: italic; color: var(--amber); }
.h2 em.red { color: var(--crimson); }

.lead { font-size: 16px; color: var(--muted); line-height: 1.7; }
@media (min-width: 768px) { .lead { font-size: 17px; } }

.section { padding: 96px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 140px 0; } }
.section--alt { background: var(--card); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }

.section-head { display: grid; gap: 32px; margin-bottom: 56px; align-items: end; }
@media (min-width: 768px) {
    .section-head { grid-template-columns: 7fr 5fr; margin-bottom: 80px; }
    .section-head .lead { text-align: right; }
}

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.rv.rv-in { opacity: 1; transform: none; }

/* ---------- szum i siatka ---------- */
.noise { position: relative; }
.noise::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.blueprint {
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
}

/* ---------- nawigacja ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    padding: 20px 0;
    transition: padding 0.4s, background 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(10,11,14,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255,255,255,0.1);
    padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo img { height: 46px; width: auto; filter: drop-shadow(0 2px 12px rgba(245,179,1,0.25)); transition: transform 0.3s; }
.nav-logo:hover img { transform: scale(1.05); }
.nav-links { display: none; gap: 32px; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
    color: #cbd5e1; transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber); }
.nav-right { display: none; align-items: center; gap: 16px; }
@media (min-width: 768px) { .nav-right { display: flex; } }
.nav-mobile-actions { display: flex; align-items: center; gap: 12px; }
@media (min-width: 768px) { .nav-mobile-actions { display: none; } }

.cart-btn {
    position: relative; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.15); color: #e2e8f0; transition: border-color 0.2s, color 0.2s;
}
.cart-btn:hover { border-color: var(--amber); color: var(--amber); }
.cart-count {
    position: absolute; top: -8px; right: -8px;
    background: var(--amber); color: #000;
    font-family: var(--font-mono); font-size: 10px; font-weight: 700;
    min-width: 20px; height: 20px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
}

.mobile-menu {
    display: none; overflow: hidden;
    background: rgba(10,11,14,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
    display: block; padding: 10px 24px;
    font-family: var(--font-display); font-size: 24px; font-weight: 800; text-transform: uppercase;
    color: #e2e8f0;
}
.mobile-menu a:hover { color: var(--amber); }

/* ---------- przyciski ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
    border-bottom: 4px solid #000;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:active { transform: translateY(2px); }
.btn-red {
    background: var(--crimson); color: #fff; font-size: 19px; padding: 14px 26px;
    box-shadow: 0 6px 28px rgba(230,51,18,0.4);
}
.btn-red:hover { background: var(--crimson-d); transform: translateY(-2px); }
.btn-amber {
    background: var(--amber); color: #000; font-size: 19px; padding: 14px 26px;
    box-shadow: 0 6px 24px rgba(245,179,1,0.3);
}
.btn-amber:hover { background: var(--amber-l); transform: translateY(-2px); }
.btn-ghost {
    background: transparent; border: 1px solid rgba(255,255,255,0.25); border-bottom-width: 1px;
    color: #e2e8f0; font-size: 19px; font-weight: 700; padding: 14px 26px;
    transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-sm { font-size: 15px; padding: 9px 14px; border-bottom-width: 2px; }

/* ---------- hero ---------- */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden; background: var(--bg);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 110%; object-fit: cover; opacity: 0.14; filter: grayscale(1) contrast(1.25); }
.hero-bg::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to bottom, rgba(10,11,14,0.6), rgba(10,11,14,0.8), var(--bg));
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
}
.hero-glow-l, .hero-glow-r { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-glow-l { left: -130px; top: 33%; width: 380px; height: 380px; background: rgba(230,51,18,0.15); filter: blur(140px); }
.hero-glow-r { right: 0; bottom: 0; width: 450px; height: 450px; background: rgba(245,179,1,0.1); filter: blur(160px); }

.hero-inner {
    position: relative; z-index: 2;
    display: grid; gap: 56px; align-items: center;
    padding-top: 140px; padding-bottom: 90px;
}
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 7fr 5fr; } }

.hero h1 {
    font-family: var(--font-display);
    font-weight: 900; text-transform: uppercase;
    font-size: clamp(52px, 8vw, 110px);
    line-height: 0.88; letter-spacing: -0.01em;
}
.h-line { display: block; overflow: hidden; padding-bottom: 4px; }
.h-line span { display: block; transform: translateY(115%) rotate(2deg); transform-origin: left;
    animation: lineUp 1s cubic-bezier(0.16,1,0.3,1) forwards; }
.h-line:nth-child(1) span { animation-delay: 0.25s; }
.h-line:nth-child(2) span { animation-delay: 0.38s; }
.h-line:nth-child(3) span { animation-delay: 0.51s; }
@keyframes lineUp { to { transform: translateY(0) rotate(0); } }
.h-line .amber { color: var(--amber); font-style: italic; }
.text-outline { -webkit-text-stroke: 1.5px rgba(255,255,255,0.16); color: transparent; }

.hero-tag { margin-top: 28px; max-width: 560px; font-size: 16px; color: #cbd5e1; line-height: 1.7;
    opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.75s forwards; }
@media (min-width: 768px) { .hero-tag { font-size: 18px; } }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px;
    opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.9s forwards; }
.hero-badges { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px;
    opacity: 0; animation: fadeUp 0.8s ease 1.1s forwards; }
.hero-badges span {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
    color: #cbd5e1; border: 1px solid rgba(255,255,255,0.1);
    background: rgba(18,20,26,0.7); backdrop-filter: blur(6px); padding: 8px 12px;
}
.hero-badges svg { color: var(--amber); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-eyebrow {
    font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.3em;
    color: var(--amber); margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
    opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}
@media (min-width: 768px) { .hero-eyebrow { font-size: 14px; } }
.hero-eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--amber); }

.hero-card { position: relative; display: none;
    opacity: 0; animation: cardIn 1.1s cubic-bezier(0.16,1,0.3,1) 0.5s forwards; }
@media (min-width: 1024px) { .hero-card { display: block; } }
@keyframes cardIn { from { opacity: 0; transform: scale(0.85) rotate(-6deg); } to { opacity: 1; transform: none; } }
.hero-card-frame { position: absolute; inset: 0; transform: translate(20px, 20px); border: 1px solid rgba(245,179,1,0.3); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); }
.hero-card-body {
    position: relative; background: rgba(18,20,26,0.6); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1); padding: 40px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.hero-card-tag { position: absolute; top: 16px; left: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: #64748b; text-transform: uppercase; }
.hero-card img { filter: drop-shadow(0 16px 50px rgba(245,179,1,0.28)); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-card-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: flex-end; justify-content: space-between; }
.hero-card-foot .lbl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: #64748b; }
.hero-card-foot .val { font-family: var(--font-display); font-size: 40px; font-weight: 900; line-height: 1; margin-top: 4px; }
.hero-card-foot .val em { color: var(--amber); font-style: normal; }
.hero-card-foot .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.gauge { position: relative; width: 64px; height: 40px; }
.gauge::before { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 56px; height: 28px; border: 2px solid rgba(255,255,255,0.2); border-bottom: 0; border-radius: 56px 56px 0 0; }
.gauge .needle { position: absolute; bottom: 0; left: 50%; width: 2px; height: 28px; background: var(--crimson); transform-origin: bottom center; animation: sweep 5.5s cubic-bezier(0.45,0,0.2,1) infinite; }
.gauge .hub { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
@keyframes sweep { 0%,100% { transform: translateX(-50%) rotate(-120deg); } 50% { transform: translateX(-50%) rotate(35deg); } }

.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; color: #64748b; z-index: 2; }
@media (min-width: 768px) { .scroll-hint { display: flex; } }
.scroll-hint span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; }
.scroll-hint i { width: 1px; height: 32px; background: linear-gradient(var(--amber), transparent); animation: drip 1.6s ease-in-out infinite; }
@keyframes drip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- marquee ---------- */
.marquee {
    position: relative; z-index: 20;
    background: var(--amber); color: #000;
    border-top: 4px solid #000; border-bottom: 4px solid #000;
    transform: rotate(-1deg) scale(1.02);
    overflow: hidden; padding: 14px 0;
}
.marquee-track { display: flex; width: max-content; white-space: nowrap; animation: drift 46s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; padding: 0 24px; }
.marquee-track b { font-family: var(--font-mono); font-weight: 400; opacity: 0.6; }
@media (min-width: 768px) { .marquee-track span { font-size: 22px; } }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- oferta (bento) ---------- */
.bento { display: grid; gap: 20px; }
@media (min-width: 768px) {
    .bento { grid-template-columns: repeat(12, 1fr); }
    .bento .s7 { grid-column: span 7; grid-row: span 2; }
    .bento .s5 { grid-column: span 5; }
    .bento .s6 { grid-column: span 6; }
}
.bcard {
    position: relative; overflow: hidden; min-height: 300px;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: var(--card); border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer; transition: border-color 0.5s;
}
.bcard:hover { border-color: rgba(245,179,1,0.5); }
.bcard img.bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(0.6) contrast(1.25) brightness(0.55);
    transition: filter 0.7s, transform 0.7s;
}
.bcard:hover img.bg { filter: grayscale(0) brightness(0.7); transform: scale(1.05); }
.bcard .shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), rgba(10,11,14,0.5), transparent); }
.bcard .badge {
    position: absolute; top: 20px; left: 20px;
    font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em;
    background: rgba(245,179,1,0.15); border: 1px solid rgba(245,179,1,0.4); color: var(--amber);
    padding: 5px 12px; backdrop-filter: blur(6px);
}
.bcard .arrow {
    position: absolute; top: 20px; right: 20px; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.15); background: rgba(10,11,14,0.5); backdrop-filter: blur(6px);
    color: #fff; transition: background 0.3s, color 0.3s;
}
.bcard:hover .arrow { background: var(--amber); color: #000; }
.bcard .arrow svg { transition: transform 0.3s; }
.bcard:hover .arrow svg { transform: rotate(45deg); }
.bcard .body { position: relative; padding: 28px; }
.bcard .num { font-family: var(--font-mono); font-size: 12px; color: rgba(245,179,1,0.8); }
.bcard h3 { font-family: var(--font-display); font-size: 32px; font-weight: 800; text-transform: uppercase; margin-top: 4px; line-height: 1; }
.bcard p { margin-top: 8px; font-size: 14px; color: #cbd5e1; line-height: 1.6; max-width: 460px; }
.brands { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.brands span {
    font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
    color: #cbd5e1; border: 1px solid rgba(255,255,255,0.15);
    background: rgba(10,11,14,0.6); backdrop-filter: blur(4px); padding: 4px 10px;
    transition: border-color 0.5s;
}
.bcard:hover .brands span { border-color: rgba(245,179,1,0.4); }

.big-ghost {
    position: absolute; top: -30px; right: 0;
    font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
    font-size: 20vw; line-height: 1; -webkit-text-stroke: 1.5px rgba(255,255,255,0.16); color: transparent;
    opacity: 0.4; user-select: none; pointer-events: none;
}

/* ---------- katalog ---------- */
.cat-controls { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
@media (min-width: 1024px) { .cat-controls { flex-direction: row; align-items: center; } }
.search-wrap { position: relative; flex: 1; max-width: 560px; }
.search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #64748b; }
.search-wrap input {
    width: 100%; background: #0A0B0E; border: 1px solid rgba(255,255,255,0.1);
    color: var(--text); font-family: var(--font-mono); font-size: 14px;
    padding: 14px 16px 14px 44px; outline: none; transition: border-color 0.2s;
}
.search-wrap input:focus { border-color: rgba(245,179,1,0.6); }
.search-wrap input::placeholder { color: #475569; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    font-family: var(--font-display); font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
    padding: 8px 16px; border: 1px solid rgba(255,255,255,0.15); color: var(--muted);
    transition: all 0.2s;
}
.chip:hover { border-color: rgba(245,179,1,0.5); color: var(--amber); }
.chip.active { background: var(--amber); border-color: var(--amber); color: #000; }

.cat-count { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: #64748b; margin-bottom: 24px; }

.pgrid { display: grid; gap: 20px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }

.pcard {
    background: #0A0B0E; border: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-direction: column; cursor: pointer;
    transition: border-color 0.3s, transform 0.3s;
    overflow: hidden;
}
.pcard:hover { border-color: rgba(245,179,1,0.5); transform: translateY(-3px); }
.pcard .thumb { position: relative; height: 170px; overflow: hidden; }
.pcard .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.6) brightness(0.65); transition: filter 0.5s, transform 0.5s; }
.pcard:hover .thumb img { filter: grayscale(0) brightness(0.9); transform: scale(1.05); }
.pcard .cat {
    position: absolute; top: 12px; left: 12px;
    font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em;
    background: rgba(10,11,14,0.7); border: 1px solid rgba(255,255,255,0.15); color: #cbd5e1;
    padding: 4px 8px; backdrop-filter: blur(6px);
}
.pcard .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.15; }
.pcard .meta { margin-top: 6px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; }
.pcard .foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,0.05); }
.price { font-family: var(--font-display); font-size: 24px; font-weight: 900; color: var(--amber); line-height: 1; }

.empty-state { border: 1px solid rgba(255,255,255,0.1); background: #0A0B0E; padding: 56px 24px; text-align: center; display: none; }
.empty-state h3 { font-family: var(--font-display); font-size: 30px; font-weight: 800; text-transform: uppercase; margin-top: 16px; }
.empty-state p { color: var(--muted); margin-top: 8px; }
.empty-state svg { color: var(--amber); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,11,14,0.85); backdrop-filter: blur(8px); }
.modal-panel {
    position: relative; width: 100%; max-width: 900px; max-height: 90vh; overflow-y: auto;
    background: #0A0B0E; border: 1px solid rgba(255,255,255,0.1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
    display: grid;
    animation: modalIn 0.4s cubic-bezier(0.16,1,0.3,1);
}
@media (min-width: 768px) { .modal-panel { grid-template-columns: 1fr 1fr; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(48px) scale(0.96); } to { opacity: 1; transform: none; } }
.modal-close {
    position: absolute; top: 16px; right: 16px; z-index: 2;
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(10,11,14,0.7); border: 1px solid rgba(255,255,255,0.15); color: #cbd5e1;
    transition: color 0.2s, border-color 0.2s;
}
.modal-close:hover { color: var(--amber); border-color: var(--amber); }
.modal-media { position: relative; min-height: 260px; }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,11,14,0.7), transparent 60%); }
.modal-media .cat {
    position: absolute; bottom: 16px; left: 16px; z-index: 1;
    font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em;
    background: rgba(245,179,1,0.15); border: 1px solid rgba(245,179,1,0.4); color: var(--amber);
    padding: 5px 12px; backdrop-filter: blur(6px);
}
.modal-body { padding: 32px; display: flex; flex-direction: column; }
.modal-body .code { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--amber); }
.modal-body h3 { font-family: var(--font-display); font-size: 34px; font-weight: 800; text-transform: uppercase; line-height: 1; margin-top: 12px; }
.modal-body .desc { margin-top: 16px; font-size: 14px; color: #cbd5e1; line-height: 1.7; }
.fitments { margin-top: 24px; }
.fitments .lbl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: #64748b; margin-bottom: 8px; }
.fitments table { width: 100%; font-size: 14px; text-align: left; border-collapse: collapse; }
.fitments th { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #64748b; font-weight: 500; padding: 8px 12px 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.fitments td { padding: 8px 12px 8px 0; color: #cbd5e1; border-bottom: 1px solid rgba(255,255,255,0.05); }
.fitments td:last-child { font-family: var(--font-mono); font-size: 12px; }
.modal-actions { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.modal-actions .price { font-size: 36px; }
.qty { display: flex; align-items: center; border: 1px solid rgba(255,255,255,0.15); }
.qty button { width: 40px; height: 44px; display: flex; align-items: center; justify-content: center; color: #cbd5e1; transition: color 0.2s; }
.qty button:hover { color: var(--amber); }
.qty span { width: 40px; text-align: center; font-family: var(--font-mono); font-size: 14px; }

/* ---------- szuflada koszyka ---------- */
.drawer-root { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer-root.open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10,11,14,0.7); backdrop-filter: blur(4px); animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; } }
.drawer {
    position: absolute; right: 0; top: 0; height: 100%; width: 100%; max-width: 440px;
    background: #0A0B0E; border-left: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-direction: column;
    animation: slideIn 0.45s cubic-bezier(0.16,1,0.3,1);
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.drawer-head h3 { font-family: var(--font-display); font-size: 28px; font-weight: 800; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.drawer-head h3 svg { color: var(--amber); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.drawer-empty h4 { font-family: var(--font-display); font-size: 28px; font-weight: 800; text-transform: uppercase; }
.drawer-empty p { font-size: 14px; color: var(--muted); max-width: 280px; line-height: 1.6; }
.drawer-empty svg { color: #475569; margin-bottom: 8px; }
.drawer-empty .btn { margin-top: 16px; }

.citem { display: flex; gap: 14px; border: 1px solid rgba(255,255,255,0.1); background: var(--card); padding: 12px; margin-bottom: 14px; }
.citem.bonus { border-color: rgba(245,179,1,0.4); background: rgba(245,179,1,0.05); }
.citem img { width: 64px; height: 64px; object-fit: cover; }
.citem.bonus img { object-fit: contain; padding: 4px; }
.citem .info { flex: 1; min-width: 0; }
.citem .name { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.citem .brand { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #64748b; }
.citem .row { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.citem .qty button { width: 28px; height: 28px; }
.citem .qty span { width: 32px; font-size: 12px; }
.citem .line-total { font-family: var(--font-display); font-size: 18px; font-weight: 900; color: var(--amber); }
.gratis-tag {
    font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em;
    background: rgba(245,179,1,0.15); border: 1px solid rgba(245,179,1,0.4); color: var(--amber); padding: 4px 8px;
}
.citem .rm { align-self: flex-start; padding: 6px; color: #64748b; transition: color 0.2s; }
.citem .rm:hover { color: var(--crimson); }

.drawer-foot { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 24px; }
.drawer-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer-total .lbl { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: #64748b; }
.drawer-total .val { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--amber); }
.drawer-note { margin-top: 12px; text-align: center; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #475569; }
.w-full { width: 100%; }

.order-done { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 32px; }
.order-done .no { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--amber); margin-top: 20px; }
.order-done h4 { font-family: var(--font-display); font-size: 36px; font-weight: 900; text-transform: uppercase; line-height: 1; margin-top: 12px; }
.order-done .txt { margin-top: 20px; font-size: 14px; color: #cbd5e1; line-height: 1.7; max-width: 320px; }
.order-box { margin-top: 28px; width: 100%; border: 1px solid rgba(255,255,255,0.1); background: var(--card); padding: 20px; text-align: left; }
.order-box .lbl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: #64748b; margin-bottom: 8px; }
.order-box .r { display: flex; justify-content: space-between; font-size: 14px; color: #cbd5e1; margin-top: 4px; }
.order-box .r .a { font-family: var(--font-display); font-size: 20px; font-weight: 900; color: var(--amber); }
.order-done .btn { margin-top: 32px; }
.order-done svg.ok { color: var(--amber); }

/* ---------- manifest ---------- */
.chapters { display: grid; gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px) { .chapters { grid-template-columns: 1fr 1fr; } }
.chapter { position: relative; background: var(--card); padding: 40px 32px; overflow: hidden; transition: background 0.5s; }
@media (min-width: 768px) { .chapter { padding: 48px; } }
.chapter:hover { background: var(--card2); }
.chapter .bignum {
    position: absolute; top: -24px; right: -12px;
    font-family: var(--font-display); font-size: 150px; font-weight: 900; line-height: 1;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.16); color: transparent;
    user-select: none; transition: -webkit-text-stroke 0.5s;
}
@media (min-width: 768px) { .chapter .bignum { font-size: 180px; } }
.chapter:hover .bignum { -webkit-text-stroke-color: rgba(245,179,1,0.45); }
.chapter .cn { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--amber); }
.chapter h3 { position: relative; font-family: var(--font-display); font-size: 32px; font-weight: 800; text-transform: uppercase; margin-top: 12px; }
.chapter p { position: relative; margin-top: 16px; font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 440px; }
.chapter .bar { display: block; width: 48px; height: 4px; background: var(--crimson); margin-top: 24px; transition: width 0.5s, background 0.5s; }
.chapter:hover .bar { width: 96px; background: var(--amber); }

/* ---------- o nas ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 5fr 7fr; } }
.about-img { position: relative; }
.about-img .frame { position: absolute; inset: -12px; border: 1px solid rgba(230,51,18,0.4); transform: translate(16px, 16px); clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%); pointer-events: none; }
.about-img .clip { position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%); }
.about-img img { width: 100%; height: 420px; object-fit: cover; filter: grayscale(0.4) contrast(1.25); transition: filter 0.7s; }
@media (min-width: 768px) { .about-img img { height: 520px; } }
.about-img img:hover { filter: grayscale(0); }
.about-img .tag {
    position: absolute; bottom: 20px; left: 20px;
    font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--amber); border: 1px solid rgba(245,179,1,0.4);
    background: rgba(10,11,14,0.7); backdrop-filter: blur(6px); padding: 6px 12px;
}
.quote { margin-top: 40px; border-left: 4px solid var(--amber); background: rgba(18,20,26,0.8); padding: 28px; max-width: 640px; }
.quote p { font-family: var(--font-display); font-size: 26px; font-weight: 800; text-transform: uppercase; line-height: 1.15; }
@media (min-width: 768px) { .quote p { font-size: 30px; } }
.quote footer { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: #64748b; }

/* ---------- stopka ---------- */
.footer { background: var(--bg); border-top: 1px solid rgba(255,255,255,0.1); padding: 48px 0; }
.footer-top { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-logo img { height: 56px; }
.footer-tag { font-family: var(--font-display); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #cbd5e1; }
.footer-tag em { color: var(--amber); font-style: italic; }
.footer-bottom { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom p { font-family: var(--font-mono); font-size: 12px; color: #64748b; }
.footer-bottom .cats { text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- toasty ---------- */
.toasts { position: fixed; bottom: 24px; right: 24px; z-index: 100; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.toast {
    background: #0A0B0E; border: 1px solid rgba(255,255,255,0.12); border-left: 4px solid var(--amber);
    padding: 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: toastIn 0.4s cubic-bezier(0.16,1,0.3,1);
}
.toast strong { font-size: 14px; display: block; }
.toast small { color: var(--muted); font-size: 12px; display: block; margin-top: 2px; }
.toast.out { opacity: 0; transform: translateX(20px); transition: all 0.3s; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

body.locked { overflow: hidden; }
