/* Spooky.rent — styl strony */
:root {
  color-scheme: dark;   /* ciemne kalendarzyki, listy i paski przewijania */
  /* marka */
  --brand: #5d1073;          /* fioletowy z logo — górny pasek, telefon */
  --btn: #7d2199;            /* tło przycisków */
  --btn-hover: #9630b6;
  --purple: #c58ae6;         /* akcent tekstowy: ceny, linki, ikony */
  --purple-400: #9b4dbb;
  --purple-dark: #3a0d40;
  --purple-deep: #1b0d20;
  --purple-50: #261a2e;      /* delikatne podświetlenie */
  --purple-100: #33213d;
  /* powierzchnie (motyw ciemny) */
  --bg: #120b16;
  --card: #1c1222;
  --surface: #170e1c;        /* nagłówek strony */
  --surface-2: #241830;      /* menu, dymki */
  --field: #241830;          /* pola formularzy */
  --tile: #ffffff;           /* jasny kafel pod zdjęciem produktu */
  --text: #f3ecf6;
  --muted: #a99cb3;
  --line: #32243c;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .28);
  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }   /* ukryte elementy zawsze ukryte, niezależnie od ich stylu */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.2; }
.container { width: 100%; max-width: 1360px; margin: 0 auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header .container { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 8px; white-space: nowrap; }
.nav-link .icon { width: 17px; height: 17px; }
.nav-link:hover { background: var(--purple-50); color: var(--purple); }
.cart-btn { position: relative; display: inline-flex; padding: 9px; border-radius: 8px; color: var(--text); }
.cart-btn:hover { background: var(--purple-50); color: var(--purple); }
.cart-btn .icon { width: 24px; height: 24px; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--btn); color: #fff; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--surface);
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.logo { flex: 0 1 auto; min-width: 0; }
/* szerokość liczona z proporcji logo (1024×99): gdy brakuje miejsca, logo zmniejsza się proporcjonalnie, zamiast się ściskać */
.logo img { width: calc(26px * 1024 / 99); max-width: 100%; height: auto; filter: brightness(0) invert(1); }
.menu-btn { color: var(--purple); display: grid; place-items: center; width: 42px; height: 42px; }
.menu-btn .icon { width: 28px; height: 28px; }

/* ---------- Layout ---------- */
.page { padding-block: 26px 60px; }
.layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.sidebar {
  background: var(--card); border-radius: var(--radius); padding: 14px 0; position: sticky; top: 100px;
  max-height: calc(100vh - 120px); overflow: auto; box-shadow: var(--shadow);
}
.sidebar a {
  display: flex; justify-content: space-between; align-items: center; padding: 8px 22px;
  font-weight: 700; font-size: 14.5px;
}
.sidebar a:hover, .sidebar a.active { color: var(--purple); background: var(--purple-50); }
.sidebar a small { color: var(--muted); font-weight: 400; font-size: 12px; }
.sidebar .sidebar-title { padding: 4px 22px 10px; font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero-static {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--purple-deep);
  background-size: cover; background-position: center; display: flex; align-items: center;
  min-height: min(56vh, 460px); padding: clamp(28px, 5vw, 64px);
}
.hero-static::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 4, 14, .94) 0%, rgba(18, 8, 24, .82) 45%, rgba(18, 8, 24, .25) 100%);
}
.hero-content { position: relative; max-width: 560px; }
.hero-kicker {
  margin: 0 0 14px; font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--purple);
}
.hero-static h1 {
  font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; line-height: 1.05; color: #fff; margin-bottom: 16px;
}
.hero-lead { margin: 0 0 26px; color: #d9cfe0; font-size: clamp(15px, 1.5vw, 19px); max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .35); color: #fff; padding: 9px 20px; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px;
  border-radius: 8px; font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: .03em;
  text-transform: uppercase; transition: background .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); }
.btn-outline { border: 2px solid var(--purple-400); color: var(--purple); padding: 9px 20px; }
.btn-outline:hover { background: var(--purple-50); }
.btn-block { width: 100%; }

/* ---------- USP strip ---------- */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.usp div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); }
.usp .icon { width: 30px; height: 30px; color: var(--purple); }
.usp b { display: block; font-family: var(--font-head); font-size: 14px; }
.usp small { color: var(--muted); font-size: 12.5px; line-height: 1.3; display: block; }

/* ---------- Sections ---------- */
.section { margin-top: 44px; scroll-margin-top: 92px; }
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.section-head::before { content: ""; width: 28px; height: 1px; background: #b9aec0; }
.section-head h2 { font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.section-head .line { flex: 1; height: 1px; background: var(--line); }
.sec-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.section-head .more { color: var(--purple); font-family: var(--font-head); font-weight: 800; font-size: 14px; display: inline-flex; gap: 4px; align-items: center; text-transform: uppercase; }
.section-head .more:hover { color: var(--purple-600); }
.section-head .more::after { content: ""; width: 20px; height: 1px; background: #cfc6d6; margin-left: 12px; }

.row-wrap { position: relative; }
.row {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 3.4);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none;
}
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.row-arrow {
  position: absolute; top: 38%; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
  display: grid; place-items: center; color: var(--purple); z-index: 3; transition: opacity .2s;
}
.row-arrow.prev { left: -14px; }
.row-arrow.next { right: -14px; }
.row-arrow[disabled] { opacity: 0; pointer-events: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }

.subcat { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--purple); margin: 30px 0 14px; display: flex; align-items: center; gap: 10px; }
.subcat::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.subcat span { color: var(--muted); font-size: 12px; letter-spacing: 0; font-weight: 600; order: 3; }
.grid + .subcat { margin-top: 36px; }

/* ---------- Product card ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s, transform .2s; position: relative; }
.card:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .45); border-color: var(--purple-400); transform: translateY(-2px); }
.card-img { aspect-ratio: 1 / 0.86; margin: 12px 12px 4px; padding: 12px; background: var(--tile); border-radius: 8px; display: grid; place-items: center; overflow: hidden; }
.card-img img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body .price-box { margin-top: auto; }
.week-note { margin-top: 8px; display: flex; flex-direction: column; gap: 1px; background: rgba(197, 138, 230, .12); border: 1px solid var(--purple-400); border-radius: 6px; padding: 6px 9px; }
.week-note b { color: var(--purple); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.week-note span { color: var(--text); font-size: 12.5px; }
.card-add { width: 100%; padding: 11px 14px; font-size: 13px; margin-top: 8px; position: relative; z-index: 2; }
.card-add.added { background: #2f9e5b; }
.card-title { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.25; text-transform: uppercase; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.price { color: var(--purple); font-size: 15px; }
.price b { font-weight: 800; }
.price-vat { color: var(--muted); font-size: 12px; display: block; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--btn); color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 8px; border-radius: 5px; text-transform: uppercase; letter-spacing: .03em; }
.card-desc { color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Breadcrumbs / page head ---------- */
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.crumbs a:hover { color: var(--purple); }
.crumbs span::before { content: "/"; margin-right: 6px; color: #b9aec0; }
.page-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.page-head h1 { font-size: 30px; font-weight: 800; text-transform: uppercase; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--field); color: var(--text); }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 26px; }
.product-media { background: var(--tile); border-radius: var(--radius); padding: 36px; display: grid; place-items: center; box-shadow: var(--shadow); aspect-ratio: 1 / .9; overflow: hidden; }
.product-media img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
/* zastępczy duszek, gdy brakuje zdjęcia produktu */
.product-media img[src$="ghost.png"], .card-img img[src$="ghost.png"] { width: 45%; height: auto; margin: auto; opacity: .35; }
.product-info { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.chip { display: inline-block; background: var(--purple-50); color: var(--purple); font-weight: 700; font-size: 12.5px; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.product-info h1 { font-size: 30px; font-weight: 800; text-transform: uppercase; margin-bottom: 18px; }
.product-lead { margin: -6px 0 18px; color: #c3b6cb; font-size: 16px; line-height: 1.6; }
.product-price { padding: 16px 0; border-block: 1px solid var(--line); margin-bottom: 18px; }
.product-price .big { font-family: var(--font-head); color: var(--purple); font-size: 30px; font-weight: 800; }
.product-price .big small { font-size: 15px; font-weight: 600; }
.product-price .vat { color: var(--muted); }
.week-price { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; background: rgba(197, 138, 230, .12); border: 1px solid var(--purple-400); border-radius: 8px; padding: 10px 12px; }
.week-price b { color: var(--purple); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.week-price span { color: var(--text); font-size: 15px; }
.kit h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.kit ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 6px; }
.kit li { display: flex; gap: 8px; align-items: flex-start; }
.kit li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple-400); margin-top: 8px; flex: none; }
.buy { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.buy .btn-primary { flex: 1; min-width: 200px; padding-block: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--field); }
.qty button { width: 38px; height: 46px; font-size: 18px; color: var(--purple); }
.qty button:hover { background: var(--purple-50); }
.qty input { width: 40px; text-align: center; border: 0; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 14px; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks .icon { color: var(--purple); width: 20px; height: 20px; }


/* ---------- Baner z krokami (Jak wynająć?) ---------- */
.steps-hero {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--purple-deep);
  background-size: cover; background-position: center; padding: clamp(26px, 4.5vw, 54px);
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 5vw, 60px);
  min-height: min(78vh, 620px); margin-bottom: 26px;
}
.steps-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 4, 14, .88) 0%, rgba(14, 6, 18, .55) 45%, rgba(10, 4, 14, .92) 100%);
}
.steps-hero-top { position: relative; max-width: 620px; }
.steps-hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; line-height: 1.05; color: #fff; margin-bottom: 14px; }
.steps-hero .hero-lead { margin: 0; }
.steps-hero-list {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.steps-hero-list li {
  background: rgba(22, 10, 28, .62); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  padding: 18px; backdrop-filter: blur(8px);
}
.steps-hero-list b { display: block; font-family: var(--font-head); font-size: 16px; color: #fff; margin: 12px 0 6px; }
.steps-hero-list span:last-child { display: block; font-size: 13.5px; line-height: 1.45; color: #cfc2d6; }
.info-list li { display: flex; flex-direction: column; gap: 4px; }
.info-list b { margin: 10px 0 4px; }
.info-list span, .info-list a { font-size: 13.5px; line-height: 1.5; color: #cfc2d6; }
.info-list .hero-link { color: #fff; font-weight: 700; }
.info-list .hero-link:hover { color: var(--purple); }
.hero-ico {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(197, 138, 230, .16); color: var(--purple);
}
.hero-ico .icon { width: 18px; height: 18px; }
.step-num {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--btn); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 15px;
}
@media (max-width: 900px) {
  .steps-hero-list { grid-template-columns: repeat(2, 1fr); }
  .steps-hero { min-height: 0; }
}
@media (max-width: 560px) {
  .steps-hero-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps-hero-list li { padding: 14px; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: center; }
  .info-list li { align-items: start; }
  .info-list b { margin: 0 0 2px; }
  .steps-hero-list b { margin: 0 0 2px; }
  .steps-hero-list .info-list li { display: flex; flex-direction: column; gap: 4px; }
.info-list b { margin: 10px 0 4px; }
.info-list span, .info-list a { font-size: 13.5px; line-height: 1.5; color: #cfc2d6; }
.info-list .hero-link { color: #fff; font-weight: 700; }
.info-list .hero-link:hover { color: var(--purple); }
.hero-ico {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(197, 138, 230, .16); color: var(--purple);
}
.hero-ico .icon { width: 18px; height: 18px; }
.step-num { grid-row: span 2; }
}

.seo-text { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.seo-text h2 { font-size: 20px; margin-bottom: 12px; }
.seo-text p { color: #c3b6cb; margin: 0 0 12px; max-width: 80ch; }
.seo-text p:last-child { margin-bottom: 0; }
.seo-text a { color: var(--purple); font-weight: 700; }
.cat-text { margin-top: 28px; }
.cat-text h3 { font-size: 16px; margin: 22px 0 10px; text-transform: uppercase; letter-spacing: .04em; color: var(--purple); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 12px 28px 12px 0; font-weight: 600; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; color: var(--purple); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--purple); }
.faq details p { color: #c3b6cb; margin: 0 0 14px; max-width: 80ch; }

/* ---------- Content pages ---------- */
.content { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow); max-width: 920px; }
.content h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-bottom: 10px; }
.content h2 { font-size: 19px; margin: 30px 0 10px; color: var(--purple); }
.content p, .content li { color: #d6ccdd; }
.content ol, .content ul { padding-left: 22px; display: grid; gap: 6px; }
.content .lead { font-size: 17px; color: var(--muted); }
.content .steps { padding-left: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 26px 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { background: var(--purple-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--btn); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 12px; }
.steps b { display: block; font-family: var(--font-head); margin-bottom: 4px; color: var(--text); }
.steps span { font-size: 14px; color: #c3b6cb; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details summary::after { content: "+"; color: var(--purple); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.contact-card a { color: var(--purple); font-weight: 700; }
.contact-card p { margin: 4px 0; }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); display: block; }
.photo-banner { border-radius: var(--radius); overflow: hidden; margin: 24px 0; aspect-ratio: 16 / 7; max-width: 100%; }
.photo-banner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.footer { background: #0d0711; color: #b6a7be; padding-block: 50px 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 30px; }
.footer .logo-white { height: 24px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer p { margin: 0 0 6px; font-size: 14px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .about { font-size: 14px; line-height: 1.6; max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--purple-400); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #a898b0; }

/* ---------- Przycisk „na górę” ---------- */
.fab-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-2); color: var(--purple); border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .45); z-index: 50;
}
.fab-top:hover { background: var(--card); color: #fff; }
.fab-top .icon { width: 22px; height: 22px; }
@media (max-width: 700px) {
  .search-modal { padding: 60px 10px 16px; }
  .sr-item img { width: 46px; height: 46px; } .fab-top { right: 16px; bottom: 16px; width: 42px; height: 42px; } }

/* ---------- Drawers ---------- */
/* ---------- Wyszukiwarka ---------- */
.search-modal { position: fixed; inset: 0; z-index: 95; display: flex; justify-content: center; padding: 72px 16px 24px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.search-modal.open { opacity: 1; pointer-events: auto; }
.search-box { width: min(620px, 100%); max-height: 100%; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); overflow: hidden; transform: translateY(-10px); transition: transform .2s; }
.search-modal.open .search-box { transform: none; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.search-field .search-icon { color: var(--purple); flex: none; }
.search-field input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font-size: 16px; font-family: inherit; }
.search-field input::placeholder { color: var(--muted); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-close { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; display: grid; place-items: center; }
.search-close:hover { color: var(--text); }
.search-results { overflow-y: auto; }
.search-hint { color: var(--muted); font-size: 14px; padding: 18px 16px; margin: 0; }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--text); }
.sr-item:last-child { border-bottom: 0; }
.sr-item:hover, .sr-item.active { background: rgba(197, 138, 230, .12); }
.sr-item img { width: 52px; height: 52px; flex: none; object-fit: contain; background: var(--tile); border-radius: 6px; padding: 4px; }
.sr-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sr-name { font-weight: 600; font-size: 15px; line-height: 1.25; }
.sr-meta { color: var(--muted); font-size: 12.5px; }
.overlay { position: fixed; inset: 0; background: rgba(20, 5, 25, .5); z-index: 80; opacity: 0; transition: opacity .25s; }
.overlay.open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--card); z-index: 90;
  transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
}
.drawer.menu { width: min(340px, 88%); }
.tylko-telefon { display: none; }   /* kategorie w menu tylko na telefonie — na dużym ekranie są w pasku po lewej */
.drawer.open { transform: none; }
.drawer-head { position: sticky; top: 0; background: var(--card); z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 18px; font-weight: 800; }
.drawer-close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.drawer-close:hover { background: var(--purple-50); }
.drawer-body { flex: none; padding: 8px 22px 18px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 22px; background: var(--surface-2); }
.mobile-nav a { display: flex; justify-content: space-between; padding: 11px 4px; border-bottom: 1px solid var(--line); font-weight: 700; }
.mobile-nav a:hover { color: var(--purple); }
.mobile-nav .nav-label {
  font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--muted);
  text-transform: uppercase; margin: 0; padding: 22px 4px 8px;
}
.mobile-nav .tylko-telefon { margin-top: 10px; }

.cart-empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.cart-empty img { width: 90px; margin: 0 auto 14px; opacity: .9; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; object-fit: contain; background: var(--tile); border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.cart-item .ci-name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.cart-item .ci-price { color: var(--purple); font-size: 13px; }
.cart-item .qty button { width: 28px; height: 32px; font-size: 16px; }
.cart-item .qty input { width: 28px; font-size: 14px; }
.ci-remove { color: var(--muted); font-size: 12px; text-decoration: underline; margin-top: 4px; }
.ci-remove:hover { color: #b3261e; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 4px; color: var(--muted); }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; background: var(--field); color: var(--text); outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--purple-400); box-shadow: 0 0 0 3px var(--purple-100); }
.field textarea { min-height: 70px; resize: vertical; }
.totals { display: grid; gap: 4px; margin-bottom: 12px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--purple); }
.note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.form-error { color: #b3261e; font-size: 13px; margin: 0 0 8px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--surface-2); color: #fff; border: 1px solid var(--line);
  padding: 12px 18px; border-radius: 10px; z-index: 100; opacity: 0; transition: .3s; display: flex; gap: 14px; align-items: center; font-size: 14px;
  box-shadow: 0 10px 30px rgba(20, 5, 25, .35); max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast button { color: #e3c7f0; font-weight: 800; text-decoration: underline; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .row { grid-auto-columns: calc((100% - 2 * 18px) / 2.4); }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .tylko-telefon { display: block; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .product { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .container { padding-inline: 16px; }
  .header .container { gap: 10px; min-height: 0; padding-block: 12px; }
  .logo img { width: calc(20px * 1024 / 99); }
  .header-actions { gap: 2px; flex-shrink: 0; }
  .nav-link { padding: 8px; }
  .cart-btn { padding: 8px; }
  .menu-btn { width: 38px; }
  .nav-link .nav-text { display: none; }   /* na telefonie zostaje sama słuchawka */
  .hero-static { min-height: 340px; }
  .row { grid-auto-columns: 72%; gap: 12px; }
  .row-arrow { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid .card-title { font-size: 14px; }
  .grid .card-body { padding: 6px 12px 12px; }
  .grid .card-add { padding: 9px 10px; font-size: 12px; }
  .grid .week-note { padding: 5px 7px; }
  .grid .week-note b { font-size: 10.5px; }
  .grid .week-note span { font-size: 11.5px; }
  .grid .card-img { padding: 12px; }
  .grid .price { font-size: 13px; }
  .usp { grid-template-columns: minmax(0, 1fr); }
  .section-head h2 { font-size: 18px; }
  .section-head::before, .section-head .more::after { display: none; }
  .page-head h1, .product-info h1 { font-size: 24px; }
  .product-info { padding: 22px; }
  .product-media { padding: 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
