/* ============================================================
   PAPAGUN — Classic Edition (czerń / biel / czerwień / khaki)
   ============================================================ */

:root {
  --black: #0d0d0d;
  --black-2: #1a1a1a;
  --gray-1: #f5f5f3;
  --gray-2: #e8e6e1;
  --gray-3: #cfccc4;
  --gray-4: #6e6b65;
  --white: #ffffff;
  /* Główny kolor marki — taupe/khaki */
  --red: #7c6c5b;
  --red-dark: #5c4f42;
  /* Akcent czerwony — tylko dla etykiet "Nowość"/NEW/HOT */
  --red-accent: #c8102e;
  --red-accent-dark: #9c0c24;
  /* Kolor cen w katalogu — ciepła terakota, dobrze widoczna na tle taupe */
  --price: #b85420;
  --khaki: #6b5e3f;
  --khaki-dark: #4d4530;
  --text: #1a1a1a;
  --text-dim: #5a5750;
  --border: #d9d6cf;

  --font-display: 'Oswald', Impact, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1240px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 18px 48px rgba(0,0,0,0.14), 0 6px 14px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--black);
  color: var(--gray-3);
  font-size: 13px;
  border-bottom: 1px solid #222;
}
.topbar__inner {
  display: flex; justify-content: flex-end; align-items: center;
  padding: 8px 0;
  min-height: 36px;
}
.topbar__contact { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar__contact a, .topbar__loc {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gray-3);
  transition: color 0.2s;
}
.topbar__contact a:hover { color: var(--white); }
.topbar__contact svg { width: 14px; height: 14px; }
.topbar .sep { color: #555; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--black);
  border-bottom: 3px solid var(--red);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; }
.brand__logo {
  width: auto; height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.brand:hover .brand__logo { opacity: 0.92; transition: opacity 0.2s ease; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 26px;
  text-transform: uppercase;
}
.brand__gun { color: var(--red); }
.brand__tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gray-3);
  margin-top: 6px;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 18px;
  color: var(--gray-3);
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  position: relative;
  top: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav__link:hover { color: var(--white); border-color: var(--red); }
.nav__link--active { color: var(--white); border-color: var(--red); }
.nav__link--noop { cursor: default; user-select: none; }
.nav__link--noop:hover { border-color: transparent; color: var(--white); }
.nav__group:hover .nav__link--noop { color: var(--white); }

/* ===== NAV DROPDOWN ===== */
.nav__group { position: relative; display: inline-flex; align-items: center; }
.nav__caret {
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.nav__group:hover .nav__caret,
.nav__group:focus-within .nav__caret { transform: rotate(225deg) translateY(-2px); opacity: 1; }

.nav__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 260px;
  background: #111;
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--red);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  padding: 8px 0;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
  display: flex;
  flex-direction: column;
}
.nav__group:hover .nav__dropdown,
.nav__group:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown::before {
  /* niewidoczny bufor żeby dropdown się nie zamykał przy przejściu kursora */
  content: "";
  position: absolute;
  top: -10px; left: 0; right: 0; height: 10px;
}
.nav__dropdown-link {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gray-3);
  padding: 11px 18px;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.nav__dropdown-link:hover,
.nav__dropdown-link:focus {
  background: #1a1a1a;
  color: var(--white);
  border-left-color: var(--red);
  outline: none;
}

/* ===== WYSZUKIWARKA ===== */
.search { position: relative; display: inline-flex; align-items: center; margin-left: 8px; }
.search__toggle {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  color: var(--gray-3);
  cursor: pointer;
  transition: all 0.18s ease;
}
.search__toggle:hover {
  border-color: var(--red);
  color: var(--white);
  background: #1a1a1a;
}
.search.is-open .search__toggle {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.search__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(420px, 90vw);
  background: #111;
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--red);
  box-shadow: 0 22px 50px rgba(0,0,0,0.6);
  z-index: 60;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.search__panel[hidden] { display: none; }
.search__input {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  color: var(--white);
  padding: 12px 40px 12px 14px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  outline: none;
  transition: border-color 0.15s;
}
.search__input::placeholder { color: #6a6a6a; text-transform: none; letter-spacing: 0.02em; }
.search__input:focus { border-color: var(--red); }
.search__close {
  position: absolute;
  top: 18px; right: 20px;
  width: 28px; height: 28px;
  background: transparent;
  border: 0;
  color: var(--gray-3);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.search__close:hover { color: var(--white); }
.search__results {
  margin-top: 10px;
  max-height: 60vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}
.search__results::-webkit-scrollbar { width: 6px; }
.search__results::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
.search__hint {
  padding: 18px 8px;
  color: #888;
  font-size: 13px;
  text-align: center;
  font-family: var(--font-body);
}
.search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid #1a1a1a;
  color: var(--gray-3);
  text-decoration: none;
  transition: background 0.12s;
}
.search__item:last-child { border-bottom: 0; }
.search__item:hover, .search__item:focus, .search__item.is-active {
  background: #1a1a1a;
  color: var(--white);
  outline: none;
}
.search__thumb {
  width: 48px; height: 48px;
  background: #0a0a0a;
  border: 1px solid #222;
  object-fit: cover;
  flex-shrink: 0;
}
.search__meta { flex: 1; min-width: 0; }
.search__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search__name mark { background: var(--red); color: var(--white); padding: 0 2px; }
.search__cat {
  font-family: var(--font-body);
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.search__price {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--price);
  flex-shrink: 0;
  margin-left: 8px;
}
.search__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.08em;
  background: var(--red-accent);
  color: var(--white);
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: 0.3s; }
.nav-toggle.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.on span:nth-child(2) { opacity: 0; }
.nav-toggle.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  min-height: 580px;
}
.hero__slides { position: relative; height: 580px; }
.hero__slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__slide[data-bg="grad1"] { background:
  radial-gradient(ellipse at 80% 30%, rgba(124,108,91,0.3), transparent 55%),
  radial-gradient(ellipse at 10% 80%, rgba(107,94,63,0.3), transparent 55%),
  linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%); }
.hero__slide[data-bg="grad2"] { background:
  radial-gradient(ellipse at 70% 40%, rgba(107,94,63,0.4), transparent 55%),
  radial-gradient(ellipse at 20% 80%, rgba(124,108,91,0.22), transparent 55%),
  linear-gradient(135deg, #1f1c16 0%, #0d0d0d 100%); }
.hero__slide[data-bg="grad3"] { background:
  radial-gradient(ellipse at 75% 50%, rgba(124,108,91,0.38), transparent 50%),
  linear-gradient(135deg, #1a1a1a 0%, #060606 100%); }

.hero__slide::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(255,255,255,0.018) 24px 25px);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero__copy { animation: heroIn 0.7s ease both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: none; }
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--red);
  padding: 6px 0;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--red);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero__title span { display: block; color: var(--gray-3); }
.hero__desc {
  font-size: 17px;
  color: var(--gray-3);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero__price {
  display: inline-flex; align-items: baseline; gap: 14px;
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--red);
  padding: 14px 22px;
  margin-bottom: 28px;
}
.hero__price span {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gray-3);
}
.hero__price b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px;
}
/* ETYKIETA NOWOŚĆ/NEW — czerwona */
.hero__badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--red-accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.16em;
  padding: 10px 16px;
  z-index: 3;
  box-shadow: 0 6px 24px rgba(200,16,46,0.4);
  animation: badgePulse 2.4s ease-in-out infinite;
}
.hero__badge--hot { background: var(--khaki); box-shadow: 0 6px 24px rgba(107,94,63,0.4); }
@keyframes badgePulse {
  0%, 100% { transform: rotate(-4deg) scale(1); }
  50% { transform: rotate(-4deg) scale(1.06); }
}

.hero__product {
  width: 100%; max-width: 460px;
  aspect-ratio: 4/3;
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
}
.hero__product::before, .hero__product::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  border: 2px solid var(--red);
}
.hero__product::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.hero__product::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.hero__product[data-product="huglu"]::after,
.hero__product[data-product="krall"]::after,
.hero__product[data-product="colt"]::after { border-color: var(--red); }

/* SVG-illustrated weapons for hero */
.hero__product[data-product="huglu"] {
  background:
    rgba(255,255,255,0.03)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240' fill='none' stroke='%23e8e6e1' stroke-width='2'><path d='M30 130h220l25-22h95v34h-50l-15 16h-50l-10 22H50z M90 108V72h28v36 M150 130v18l-12 12'/><path d='M255 108h50v-14h-50z' fill='%237c6c5b' stroke='none' opacity='0.7'/><circle cx='270' cy='130' r='3' fill='%23e8e6e1' stroke='none'/></svg>") center/82% no-repeat;
}
.hero__product[data-product="krall"] {
  background:
    rgba(255,255,255,0.03)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240' fill='none' stroke='%23e8e6e1' stroke-width='2'><circle cx='62' cy='130' r='20'/><path d='M62 130h290l-20 24m20-24l-20-24'/><path d='M82 130h270v-8H82z' fill='%236b5e3f' stroke='none' opacity='0.5'/><circle cx='62' cy='130' r='8' stroke='%237c6c5b' stroke-width='1.5'/></svg>") center/82% no-repeat;
}
.hero__product[data-product="colt"] {
  background:
    rgba(255,255,255,0.03)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240' fill='none' stroke='%23e8e6e1' stroke-width='2'><path d='M20 130h260l30-26h90v34h-46l-18 22h-58l-12 26H45z M85 104V60h32v44 M180 130v22l-14 14'/><rect x='95' y='115' width='30' height='6' fill='%237c6c5b' stroke='none' opacity='0.7'/><circle cx='110' cy='118' r='2' fill='%23e8e6e1' stroke='none'/></svg>") center/82% no-repeat;
}

.hero__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  display: grid; place-items: center;
  transition: all 0.2s;
  z-index: 5;
}
.hero__nav:hover { background: var(--red); border-color: var(--red); }
.hero__nav svg { width: 20px; height: 20px; }
.hero__nav--prev { left: 16px; }
.hero__nav--next { right: 16px; }

.hero__dots {
  position: absolute;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 5;
}
.dot {
  width: 36px; height: 4px;
  background: rgba(255,255,255,0.3);
  transition: 0.2s;
  padding: 0;
}
.dot.is-active { background: var(--red); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124,108,91,0.35); }
.btn--outline {
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--khaki {
  background: var(--khaki);
  color: var(--white);
  border-color: var(--khaki);
}
.btn--khaki:hover { background: var(--khaki-dark); border-color: var(--khaki-dark); }
.btn--lg { padding: 18px 36px; font-size: 15px; }

/* ===== FEATURES ===== */
.features {
  background: var(--gray-1);
  border-bottom: 1px solid var(--border);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 28px 0;
}
.feat {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 24px;
  border-right: 1px solid var(--border);
}
.feat:last-child { border-right: 0; }
.feat svg { width: 36px; height: 36px; color: var(--red); flex-shrink: 0; }
.feat b { display: block; font-size: 15px; color: var(--black); margin-bottom: 2px; }
.feat span { font-size: 13px; color: var(--text-dim); }

/* ===== SECTIONS ===== */
.section {
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
}
.section--gray { background: var(--gray-1); }
.section--dark { background: var(--black); color: var(--gray-3); }

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.section__head--left {
  margin-left: 0;
  text-align: left;
}
.section__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  font-weight: 500;
}
.section__kicker--light { color: var(--red); }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 16px;
}
.section__title--light { color: var(--white); }
.section__title em {
  font-style: normal;
  color: var(--red);
}
.section__lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto;
}
.section__head--left .section__lead { margin: 0; }
.section__lead--light { color: var(--gray-3); }

/* ===== CATEGORY GRID ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cat {
  background: var(--black);
  color: var(--white);
  padding: 28px 18px 22px;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
  text-align: center;
  border: 1px solid var(--black);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.cat::before {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat:hover::before { transform: scaleX(1); }
.cat--alt::before { background: var(--khaki); }
.cat__icon {
  width: 92px; height: 92px;
  display: grid; place-items: center;
  color: var(--white);
}
.cat__icon svg { width: 100%; height: 100%; }
.cat__icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  /* Białe ikony na ciemnym tle — drobna poświata przy hover */
  transition: transform 0.25s, filter 0.25s;
}
.cat:hover .cat__icon img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 6px rgba(124,108,91,0.5));
}
.cat__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== FILTERS / CHIPS ===== */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 36px;
}
.chip {
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-dim);
  transition: 0.2s;
}
.chip:hover { border-color: var(--black); color: var(--black); }
.chip--on { background: var(--black); color: var(--white); border-color: var(--black); }

/* ===== PUSTA KATEGORIA (Wkrótce w sprzedaży) ===== */
.empty-cat {
  background: var(--cream, #faf6ec);
  padding: clamp(60px, 10vw, 120px) 0;
}
.empty-cat__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.empty-cat__icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid #e5e1d8;
  color: var(--red);
  border-radius: 50%;
  margin-bottom: 8px;
}
.empty-cat__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--black);
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.empty-cat__lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--khaki);
  margin: 0;
  max-width: 520px;
}
.empty-cat__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}
.empty-cat__actions .btn--outline-dark {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.empty-cat__actions .btn--outline-dark:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.empty-cat__hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--khaki);
  letter-spacing: 0.04em;
}
.empty-cat__hint a {
  color: var(--red);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin: 0 4px;
}
.empty-cat__hint a:hover { color: var(--red-accent); text-decoration: underline; }

/* ===== KATALOG NOWOŚCI — poziomy carousel (wszystkie rozdzielczości) ===== */
.news-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin-top: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #1a1a1a;
  /* Dodatkowy padding na dole żeby zostawić miejsce na scrollbar */
  padding-bottom: 12px;
  /* Marginesy by płynnie wystawało poza container, suggesting more content */
  scroll-behavior: smooth;
}
.news-grid::-webkit-scrollbar { height: 8px; }
.news-grid::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 4px; }
.news-grid::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }
.news-grid::-webkit-scrollbar-thumb:hover { background: var(--khaki); }
.news-grid > .news-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #e5e1d8;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
  overflow: hidden;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  border-color: var(--red);
}
.news-card__media {
  position: relative;
  aspect-ratio: 5 / 4;
  background: #f4f0e6;
  overflow: hidden;
}
.news-card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--red-accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  z-index: 2;
}
.news-card__body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.news-card__cat {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--khaki);
}
.news-card__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin: 0;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #ece8de;
  gap: 6px;
}
.news-card__price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--price);
  white-space: nowrap;
}
.news-card__cta {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  transition: transform 0.2s;
  white-space: nowrap;
}
.news-card:hover .news-card__cta { transform: translateX(3px); }

/* ===== KATALOG AMUNICJI v2 (scrollowane bloki) ===== */
.ammo-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.ammo-cat {
  background: var(--white);
  border: 1px solid #e5e1d8;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ammo-cat__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  border-bottom: 2px solid var(--black);
}
.ammo-cat__head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--black);
  margin: 0;
}
.ammo-cat__count {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--khaki);
}
.ammo-cat__scroll {
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}
.ammo-cat__scroll::-webkit-scrollbar { width: 7px; }
.ammo-cat__scroll::-webkit-scrollbar-track { background: #faf8f3; }
.ammo-cat__scroll::-webkit-scrollbar-thumb { background: #c9c0ac; border-radius: 4px; }
.ammo-cat__scroll::-webkit-scrollbar-thumb:hover { background: var(--khaki); }
.ammo-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-bottom: 1px solid #f0ece2;
  text-decoration: none;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 14px;
  transition: background 0.12s, padding-left 0.18s;
}
.ammo-row:last-child { border-bottom: 0; }
.ammo-row:hover {
  background: #faf8f3;
  padding-left: 24px;
}
.ammo-row__name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ammo-row__cal {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--khaki);
  background: #f4f0e6;
  padding: 3px 8px;
  white-space: nowrap;
}
.ammo-row__price {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--price);
  text-align: right;
  white-space: nowrap;
  min-width: 70px;
}
.ammo-cat__more {
  display: block;
  padding: 14px 20px;
  background: #faf8f3;
  border-top: 1px solid #ece8de;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}
.ammo-cat__more:hover {
  background: var(--black);
  color: var(--white);
}

/* ===== PRODUCT GRID ===== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.prod {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 22px;
  transition: all 0.25s;
  display: flex; flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.prod::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 4px; height: 0;
  background: var(--red);
  transition: height 0.3s;
}
.prod:hover { border-color: var(--black); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.prod:hover::before { height: 100%; }
.prod.hidden { display: none; }
.prod__cat {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.prod h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--black);
  margin: 4px 0 6px;
  line-height: 1.2;
}
/* CENA — wyrazista terakota, przykuwa uwagę na tle taupe */
.prod__price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--price);
  letter-spacing: 0.01em;
  margin-top: auto;
}
.prod__price i { font-style: normal; font-size: 14px; color: var(--text-dim); margin-left: 6px; font-weight: 500; }
.prod__meta {
  font-size: 12px;
  color: var(--text-dim);
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}
/* ETYKIETA NOWOŚĆ (wstążka katalogu) — czerwona */
.ribbon {
  position: absolute;
  top: 14px; right: -32px;
  transform: rotate(35deg);
  background: var(--red-accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 36px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ===== AMMO ===== */
.ammo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ammo {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--khaki);
}
.ammo--wide { grid-column: 1 / -1; border-top-color: var(--red); }
.ammo__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--gray-1);
}
.ammo__head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
}
.ammo__head span {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ammo__table { width: 100%; border-collapse: collapse; }
.ammo__table td {
  padding: 12px 24px;
  border-bottom: 1px solid var(--gray-2);
  font-size: 15px;
}
.ammo__table tr:last-child td { border-bottom: 0; }
.ammo__table tr:hover td { background: var(--gray-1); }
/* CENA w tabeli amunicji — terakota */
.ammo__table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--price);
  white-space: nowrap;
  font-size: 16px;
}
.ammo__table--cols { display: grid; grid-template-columns: 1fr 1fr; }
.ammo__table--cols tbody { display: contents; }
.ammo__table--cols tr { display: contents; }
.ammo__table--cols td { display: table-cell; }
@supports (display: contents) {
  .ammo__table--cols { display: table; }
  .ammo__table--cols tbody { display: table-row-group; }
  .ammo__table--cols tr { display: table-row; }
}
/* ETYKIETA NEW przy nabojach — czerwona */
.new-pill {
  display: inline-block;
  background: var(--red-accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ===== LOCATION ===== */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: stretch;
}
.loc-info {
  background: var(--black-2);
  border: 1px solid #2a2a2a;
  padding: 36px;
  display: flex; flex-direction: column;
}
.loc-info h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.loc-info__address {
  color: var(--gray-3);
  font-size: 17px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #2a2a2a;
}
.loc-info__list {
  list-style: none;
  margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.loc-info__list li { color: var(--gray-3); font-size: 15px; }
.loc-info__list b {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-4);
  font-size: 12px;
  margin-right: 8px;
}
.loc-info__list a:hover { color: var(--red); }

.loc-map {
  position: relative;
  min-height: 420px;
  border: 1px solid #2a2a2a;
  overflow: hidden;
}
.loc-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}

/* ===== FORM ===== */
.form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.field input, .field textarea {
  background: var(--gray-1);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-size: 15px;
  transition: 0.2s;
  resize: vertical;
  font-family: var(--font-body);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(124,108,91,0.15);
}
.field input::placeholder, .field textarea::placeholder { color: #a3a09a; }
.form__success {
  color: #1f7a3d;
  background: #e7f5ec;
  border: 1px solid #b9e2c8;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}
.form__success.on { opacity: 1; max-height: 60px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--gray-3);
  padding: 56px 0 0;
  border-top: 3px solid var(--red);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.brand--light { color: var(--white); }
.footer__about {
  margin-top: 18px;
  color: var(--gray-3);
  font-size: 14px;
  max-width: 360px;
  line-height: 1.6;
}
.footer__col h5 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid #2a2a2a;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col li, .footer__col a {
  color: var(--gray-3);
  font-size: 14px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--red); }
.footer__bottom {
  border-top: 1px solid #2a2a2a;
  padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px;
  color: var(--gray-4);
  letter-spacing: 0.06em;
}

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s; }
.reveal.in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feat:nth-child(2) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet — przełamanie hero na 1 kolumnę i mniejsze typografie */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 56px; align-items: start; }
  .hero__slide { position: relative; opacity: 1; }
  .hero__slide:not(.is-active) { display: none; }
  .hero__slides { height: auto; min-height: 0; }
  .hero__visual { min-height: 280px; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero__nav { display: none; }
  .hero__title { font-size: clamp(36px, 8vw, 60px); }
  .ammo-grid-v2 { grid-template-columns: 1fr 1fr; }
  .news-grid > .news-card { flex-basis: 200px; }
  .ammo--wide { grid-column: auto; }
}
@media (max-width: 880px) {
  .topbar__contact .sep:nth-of-type(2), .topbar__loc { display: none; }
  .nav { display: none; }
  .nav.on {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--black); border-bottom: 3px solid var(--red);
    padding: 14px;
    gap: 0;
    align-items: stretch;
  }
  .nav.on .nav__link { width: 100%; text-align: center; top: 0; border-bottom: 1px solid #2a2a2a; justify-content: center; }
  .nav.on .nav__link:last-child { border-bottom: 0; }
  .nav.on .nav__group { width: 100%; flex-direction: column; align-items: stretch; }
  .nav.on .nav__group .nav__link { border-bottom: 1px solid #2a2a2a; }
  .nav.on .nav__caret { display: none; }
  .nav.on .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    border-top: 0;
    box-shadow: none;
    background: #0a0a0a;
    padding: 0;
    min-width: 0;
  }
  .nav.on .nav__dropdown-link {
    text-align: center;
    padding: 10px 14px;
    font-size: 12px;
    border-left: 0;
    border-bottom: 1px solid #1a1a1a;
  }
  .nav.on .nav__dropdown-link:last-child { border-bottom: 0; }
  .nav-toggle { display: flex; }
  /* Wyszukiwarka na mobile: panel rozciągnięty na całą szerokość ekranu
     z marginesem 12px, pozycjonowany pod headerem — nigdy nie wystaje */
  .header { position: sticky; }
  .search { position: static; }
  .header__inner { position: relative; }
  .search__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    padding: 14px;
  }
  .search__close { top: 24px; right: 24px; }
  .search__toggle { width: 38px; height: 38px; }
  .header__inner { padding: 12px 0; }
  .brand__logo { width: auto; height: 44px; }
  .brand__name { font-size: 22px; }

  .hero__slides { height: auto; min-height: 540px; }
  .hero__inner { gap: 28px; padding-top: 40px; padding-bottom: 56px; }
  .hero__visual { min-height: 260px; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero__nav { display: none; }

  .loc-grid { grid-template-columns: 1fr; }
  .ammo-grid { grid-template-columns: 1fr; }
  .ammo-grid-v2 { grid-template-columns: 1fr 1fr; }
  .news-grid { gap: 12px; }
  .news-grid > .news-card { flex-basis: 170px; }
  .ammo--wide { grid-column: auto; }
  .ammo__table--cols { display: table; }

  .form__row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .feat { border-right: 0; border-bottom: 1px solid var(--border); }
  .feat:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .topbar { font-size: 12px; }
  .topbar__contact { gap: 10px; justify-content: center; }
  .ammo-grid-v2 { grid-template-columns: 1fr; }
  .news-grid { gap: 10px; padding-bottom: 10px; }
  .news-grid > .news-card { flex-basis: 160px; }
  .hero__title { font-size: clamp(30px, 9vw, 48px); }
  .hero__desc { font-size: 15px; }
  .hero__price b { font-size: 24px; }
  .hero__price { padding: 12px 16px; gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; text-align: center; justify-content: center; }
  .loc-info { padding: 26px; }
  .brand__logo { width: auto; height: 38px; }
  .brand__name { font-size: 20px; letter-spacing: 1.5px; }
  .brand__sub { font-size: 9px; }
  .section__title { font-size: clamp(26px, 7vw, 38px); }
  .stats { gap: 12px; }
  .stat__num { font-size: clamp(28px, 7vw, 40px); }
}

/* Bardzo wąskie ekrany — ostatnia linia obrony */
@media (max-width: 380px) {
  .topbar__contact { font-size: 11px; gap: 8px; }
  .topbar__contact a span { display: none; } /* ukryj tekst, zostaw ikonę */
  .topbar__contact a svg { width: 16px; height: 16px; }
  .brand__name { font-size: 18px; }
  .hero__price b { font-size: 22px; }
  .container { padding-left: 14px; padding-right: 14px; }
}

/* ============================================================
   PODSTRONA — REGULAMIN
   ============================================================ */

/* Hero na podstronie — ciemne tło, akcent taupe */
.page-hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(124,108,91,0.28), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(107,94,63,0.25), transparent 55%),
    linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  color: var(--white);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 12px);
  pointer-events: none;
}
.page-hero__kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--red);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  line-height: 1.05;
  text-transform: uppercase;
}
.page-hero__title .accent { color: var(--red); }
.page-hero__lead {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--gray-3);
  max-width: 720px;
  line-height: 1.65;
}

/* Okruszki */
.breadcrumb {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.breadcrumb a {
  color: var(--gray-3);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep {
  color: var(--red);
  margin: 0 10px;
}
.breadcrumb > span:last-child {
  color: var(--white);
}

/* Treść regulaminu */
.legal {
  max-width: 920px;
  margin: 0 auto;
}

/* Karta z informacjami o sprzedawcy */
.legal__meta {
  background: var(--white);
  border-left: 4px solid var(--red);
  padding: 28px 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}
.legal__meta-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-2);
  align-items: center;
}
.legal__meta-row:last-child { border-bottom: 0; padding-bottom: 0; }
.legal__meta-row:first-child { padding-top: 0; }
.legal__meta-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.legal__meta-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.legal__meta-value a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  transition: color 0.2s;
}
.legal__meta-value a:hover { color: var(--red); }

/* Wstęp */
.legal__intro {
  margin-bottom: 32px;
}
.legal__intro p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}
.legal__quote {
  background: var(--gray-1);
  border-left: 4px solid var(--khaki);
  padding: 18px 22px;
  margin: 0;
  font-size: 14px;
  font-style: normal;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Lista punktów regulaminu */
.legal__list {
  counter-reset: legal-item;
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
}
.legal__list > li {
  counter-increment: legal-item;
  position: relative;
  padding: 22px 0 22px 72px;
  border-bottom: 1px solid var(--gray-2);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
}
.legal__list > li::before {
  content: counter(legal-item, decimal-leading-zero);
  position: absolute;
  left: 0; top: 22px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
  width: 56px;
}
.legal__list > li:last-child { border-bottom: 0; }
.legal__list a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  font-weight: 500;
  transition: color 0.2s;
}
.legal__list a:hover { color: var(--red); }

/* CTA na końcu regulaminu */
.legal__cta {
  background: var(--black);
  color: var(--white);
  padding: 40px 36px;
  text-align: center;
  border-left: 4px solid var(--red);
}
.legal__cta h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.legal__cta p {
  color: var(--gray-3);
  font-size: 15px;
  margin-bottom: 24px;
}
.legal__cta-buttons {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn--outline-dark {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-dark:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ===========================================================
   SHOP — KATEGORIA (sidebar filtrów + siatka kart)
   =========================================================== */
.shop {
  padding: 56px 0 96px;
  background: var(--white);
}
.shop__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.shop__sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-card, #f7f5f1);
  border: 1px solid #e7e2d8;
  border-radius: 4px;
  padding: 24px 22px;
  scrollbar-width: thin;
  scrollbar-color: #c9c0ac transparent;
}
.shop__sidebar::-webkit-scrollbar { width: 6px; }
.shop__sidebar::-webkit-scrollbar-track { background: transparent; }
.shop__sidebar::-webkit-scrollbar-thumb { background: #c9c0ac; border-radius: 3px; }
.shop__sidebar::-webkit-scrollbar-thumb:hover { background: #a89a82; }
.shop__sidebar h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.shop__sidebar + .shop__sidebar,
.shop__filterblock + .shop__filterblock {
  margin-top: 28px;
}
.shop__filterblock {
  margin-bottom: 22px;
}
.shop__filterblock:last-child { margin-bottom: 0; }

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim, #4a4a4a);
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.filter-list label:hover { color: var(--black); }
.filter-list input[type="checkbox"],
.filter-list input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
  cursor: pointer;
  margin: 0;
}
.filter-list .count {
  margin-left: auto;
  font-size: 12px;
  color: #999;
  font-weight: 500;
}
.shop__reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--red-dark);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  margin-top: 10px;
}
.shop__reset:hover { color: var(--black); }

.shop__main {
  min-width: 0;
}
.shop__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid #e7e2d8;
  flex-wrap: wrap;
}
/* Przycisk "Filtry" — ukryty na desktopie, pokazywany na mobile */
.shop__filters-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}
.shop__filters-btn:hover { background: var(--red-dark, #5a4e42); }
.shop__filters-btn svg { flex-shrink: 0; }
.shop__filters-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--red-accent, #c8102e);
  color: var(--white);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 2px;
}
/* Sidebar header (tytuł + krzyżyk) — widoczne tylko w trybie drawer (mobile) */
.shop__sidebar-head { display: none; }
.shop__sidebar-close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--text-dim, #4a4a4a);
  cursor: pointer;
  padding: 0 4px;
}
.shop__sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.shop__sidebar-backdrop.on {
  display: block;
  opacity: 1;
}
.shop__count {
  font-size: 14px;
  color: var(--text-dim, #4a4a4a);
}
.shop__count strong { color: var(--black); font-weight: 700; }
.shop__sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim, #4a4a4a);
}
.shop__sort select {
  padding: 8px 32px 8px 12px;
  border: 1px solid #d6d0c2;
  border-radius: 3px;
  background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.5'/></svg>") no-repeat right 10px center;
  background-size: 10px;
  font-family: inherit;
  font-size: 13px;
  color: var(--black);
  cursor: pointer;
  appearance: none;
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #e7e2d8;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--black);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-color: #c9c0ac;
}
.product-card.hidden { display: none; }
.product-card__media {
  aspect-ratio: 4 / 3;
  background: #f3efe6;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red-accent);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 5px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}
.product-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid #efeae0;
}
.product-card__cat {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--khaki);
  margin-bottom: 6px;
}
.product-card__title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  color: var(--black);
  min-height: 2.5em;
}
.product-card__specs {
  font-size: 12.5px;
  color: #6b6258;
  line-height: 1.5;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #ddd5c4;
}
.product-card__price {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--price);
  letter-spacing: 0.5px;
}
.product-card__cta {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-card__cta::after {
  content: "→";
  transition: transform 0.2s ease;
}
.product-card:hover .product-card__cta::after { transform: translateX(4px); }

.shop__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  color: var(--text-dim, #4a4a4a);
  border: 1px dashed #d6d0c2;
  border-radius: 4px;
}
.shop__empty p { margin: 0 0 6px; font-size: 15px; }
.shop__empty small { font-size: 13px; color: #999; }

/* ===========================================================
   PRODUKT — strona szczegółowa
   =========================================================== */
.product-page {
  padding: 48px 0 96px;
  background: var(--white);
}
.product__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.product__media {
  position: sticky;
  top: 104px;
  align-self: start;
  background: #f3efe6;
  border: 1px solid #e7e2d8;
  border-radius: 4px;
  padding: 36px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.product__info {
  display: flex;
  flex-direction: column;
}
.product__cat {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--khaki);
  margin-bottom: 12px;
}
.product__name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0.5px;
  margin: 0 0 18px;
  color: var(--black);
}
.product__badges {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.product__badge {
  display: inline-block;
  background: var(--red-accent);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  border-radius: 2px;
  text-transform: uppercase;
}
.product__price-block {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 22px 0;
  margin: 8px 0 22px;
  border-top: 1px solid #e7e2d8;
  border-bottom: 1px solid #e7e2d8;
}
.product__price-block .label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
}
.product__price {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--price);
  letter-spacing: 0.5px;
}
.product__desc {
  font-size: 16px;
  line-height: 1.7;
  color: #3a3a3a;
  margin: 0 0 28px;
}
.product__specs {
  background: #faf8f3;
  border: 1px solid #e7e2d8;
  border-radius: 4px;
  padding: 22px 24px;
  margin-bottom: 28px;
}
.product__specs h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.product__specs ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product__specs li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #ddd5c4;
  font-size: 14px;
}
.product__specs li:last-child { border-bottom: none; }
.product__specs .k {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
}
.product__specs .v { color: var(--black); }

.product__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}
.product__back {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red-dark);
  text-decoration: none;
}
.product__back:hover { color: var(--black); }
.product__back::before { content: "←"; }

.related {
  padding: 56px 0 96px;
  background: #faf8f3;
  border-top: 1px solid #e7e2d8;
}
.related h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.related .related__sub {
  color: var(--text-dim, #4a4a4a);
  font-size: 14px;
  margin: 0 0 26px;
}

/* Responsywność */
@media (max-width: 968px) {
  .shop__layout { grid-template-columns: 1fr; gap: 0; position: relative; }
  /* Mobile: sidebar jako drawer wysuwany z lewej */
  .shop__sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(340px, 88vw);
    max-height: 100vh;
    border-radius: 0;
    border: none;
    box-shadow: 2px 0 24px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transform: translateX(-105%);
    transition: transform 0.3s ease;
    padding: 20px 22px 32px;
  }
  .shop__sidebar.on { transform: translateX(0); }
  .shop__sidebar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e7e2d8;
  }
  .shop__sidebar-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  .shop__filters-btn { display: inline-flex; }
  .product__layout { grid-template-columns: 1fr; gap: 28px; }
  .product__media { position: static; aspect-ratio: 4 / 3; padding: 22px; }
  .product__name { font-size: 32px; }
  .product__price { font-size: 30px; }
  .product__specs li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 56px 0 48px; }
  .page-hero__title { font-size: 38px; }
  .page-hero__lead { font-size: 15px; }
  .legal__meta { padding: 22px 20px; }
  .legal__meta-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
  .legal__list > li { padding: 18px 0 18px 52px; font-size: 14.5px; }
  .legal__list > li::before { font-size: 18px; width: 44px; }
  .legal__cta { padding: 32px 22px; }
  .legal__cta h3 { font-size: 22px; }
  .shop { padding: 32px 0 64px; }
  .shop__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .product-card__body { padding: 12px 12px 14px; }
  .product-card__title { font-size: 14px; min-height: 0; }
  .product-card__specs { font-size: 12px; }
  .product-card__price { font-size: 16px; }
  .product-card__cta { font-size: 10px; letter-spacing: 1px; }
  .product__name { font-size: 26px; }
}


.hero__product {
  overflow: hidden;
}
.hero__product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  position: relative;
  z-index: 1;
}
.hero__product-placeholder,
.empty-state {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 24px;
  border: 1px dashed rgba(124, 108, 91, 0.28);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
}
