/* ===========================================================
   PETKI.PL — stylesheet
   Vanilla CSS, no preprocessor, no framework.
   =========================================================== */

:root {
  --bg: #0d0d12;
  --bg-header: #12121a;
  --bg-card: #1a1a24;
  --bg-elevated: #17171f;
  --line: #2b2b36;
  --text: #f4f3ef;
  --text-muted: #9d9db0;
  --red: #e8262f;
  --red-dark: #b81820;
  --yellow: #f5c518;
  --yellow-dark: #d4a600;
  --blue: #3d7cf5;
  --blue-dark: #2857c4;
  --black: #0d0d12;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --container: 1240px;
  --header-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: #0d0d12;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 999;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- buttons / pills ---------- */

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.pill-btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(232, 38, 47, 0.6);
}
.pill-btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.pill-btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}
.pill-btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.pill-btn-block {
  width: 100%;
  padding: 13px 20px;
  font-size: 13px;
}

.pill-btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

/* ---------- HEADER ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-header);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 58px;
  width: auto;
  display: block;
}

.nav-desktop ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .15s ease;
}

.nav-desktop a svg {
  width: 16px;
  height: 16px;
}

.nav-desktop a[aria-current='page'] {
  color: var(--yellow);
}
.nav-desktop a:hover {
  color: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}

.header-cta {
  padding: 12px 22px;
  font-size: 12.5px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
}
.nav-mobile.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-h, 78px);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-elevated);
  z-index: 150;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  animation: nav-mobile-in .2s ease forwards;
}
@keyframes nav-mobile-in {
  to { opacity: 1; transform: translateY(0); }
}
body.nav-open {
  overflow: hidden;
}
.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.nav-mobile a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 6px;
  font-weight: 700;
  font-size: 17px;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.nav-mobile a[aria-current='page'] {
  color: var(--yellow);
}
.nav-mobile li:last-child {
  margin-top: 12px;
  border-bottom: none;
}

/* ---------- YELLOW INFO STRIP ---------- */

.info-strip {
  background: var(--yellow);
  color: #17140a;
}
.info-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}
.info-strip-inner svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 60px;
  isolation: isolate;
  background:
    radial-gradient(60% 55% at 50% 6%, rgba(232, 38, 47, 0.16), transparent 70%),
    radial-gradient(45% 42% at 10% 88%, rgba(232, 38, 47, 0.12), transparent 70%),
    radial-gradient(45% 42% at 90% 85%, rgba(245, 197, 24, 0.09), transparent 70%),
    linear-gradient(180deg, #0a0a0c 0%, #121214 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 42%, transparent 42%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

.hero-ray {
  position: absolute;
  z-index: 0;
  width: 2px;
  height: 460px;
  background: linear-gradient(180deg, rgba(245, 197, 24, 0.35), transparent 72%);
  filter: blur(2px);
  opacity: 0.4;
  pointer-events: none;
}
.hero-ray-1 { top: -70px; left: 27%; transform: rotate(16deg); }
.hero-ray-2 {
  top: -50px;
  right: 23%;
  transform: rotate(-14deg);
  background: linear-gradient(180deg, rgba(232, 38, 47, 0.3), transparent 72%);
}

.hero-particle {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(0.5px);
  pointer-events: none;
  animation: heroParticleFloat 6s ease-in-out infinite;
}
.hero-particle-1 { width: 6px; height: 6px; background: rgba(245, 197, 24, 0.65); top: 22%; left: 19%; animation-delay: 0s; }
.hero-particle-2 { width: 4px; height: 4px; background: rgba(232, 38, 47, 0.6); top: 68%; left: 80%; animation-delay: 1.4s; }
.hero-particle-3 { width: 5px; height: 5px; background: rgba(245, 197, 24, 0.4); top: 38%; left: 87%; animation-delay: 2.6s; }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  z-index: -1;
}
.hero-blob-red {
  width: 460px;
  height: 460px;
  background: var(--red);
  opacity: 0.32;
  top: -160px;
  left: -160px;
}
.hero-blob-yellow {
  width: 420px;
  height: 420px;
  background: var(--yellow);
  opacity: 0.22;
  bottom: -180px;
  right: -140px;
}

.corner-deco {
  position: absolute;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: center;
  gap: 24px;
}

.hero-device {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-device img, .hero-device svg {
  width: 100%;
  max-width: 260px;
}

.hero-device-photo {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 25px 60px -20px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform .35s cubic-bezier(.16,.84,.44,1);
}
.hero-device-photo.glow-red {
  box-shadow: 0 25px 60px -20px rgba(0,0,0,0.7), 0 0 80px -16px rgba(232, 38, 47, 0.55), inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero-device-photo.glow-yellow {
  box-shadow: 0 25px 60px -20px rgba(0,0,0,0.7), 0 0 80px -16px rgba(245, 197, 24, 0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero-device:hover .hero-device-photo {
  transform: scale(1.035);
}

.hero-device-deco {
  position: absolute;
  width: 64px;
  height: 64px;
}

.hero-device-left .hero-device-deco {
  top: -18px;
  left: 6%;
}

.hero-device-right .hero-device-deco {
  top: -14px;
  right: 6%;
}

.hero-copy {
  text-align: center;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  background: linear-gradient(180deg, rgba(245, 197, 24, 0.1), rgba(245, 197, 24, 0.03));
  border: 1px solid rgba(245, 197, 24, 0.28);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 0 24px -8px rgba(245, 197, 24, 0.55), inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-copy h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  color: #fff;
  text-shadow: 0 6px 24px rgba(0,0,0,0.5);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-accent {
  font-family: 'Fraunces', 'Poppins', serif;
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, var(--red) 10%, var(--yellow) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-copy p {
  color: #b8b8bd;
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy .pill-btn {
  margin-top: 8px;
  gap: 10px;
}

.hero-copy .pill-btn-red {
  background: linear-gradient(135deg, #ff3b3b 0%, var(--red) 45%, var(--red-dark) 100%);
  box-shadow: 0 14px 34px -10px rgba(232, 38, 47, 0.65), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform .25s cubic-bezier(.16,.84,.44,1), box-shadow .25s cubic-bezier(.16,.84,.44,1), background .25s ease;
}
.hero-copy .pill-btn-red:hover {
  background: linear-gradient(135deg, #ff4d4d 0%, #f5323a 45%, var(--red-dark) 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 44px -10px rgba(232, 38, 47, 0.8), inset 0 1px 0 rgba(255,255,255,0.14);
}
.pill-btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform .25s cubic-bezier(.16,.84,.44,1);
}
.hero-copy .pill-btn-red:hover .pill-btn-arrow {
  transform: translateX(4px);
}

.hero-cta {
  padding: 20px 46px;
  font-size: 16.5px;
  letter-spacing: 0.03em;
}
.hero-anim.hero-cta {
  animation: heroFadeUp .8s cubic-bezier(.16,.84,.44,1) var(--hero-delay, 0s) both, heroCtaPulse 2.8s ease-in-out 1.1s infinite;
}
@keyframes heroCtaPulse {
  0%, 100% { box-shadow: 0 14px 34px -10px rgba(232, 38, 47, 0.65), inset 0 1px 0 rgba(255,255,255,0.12), 0 0 0 0 rgba(232, 38, 47, 0.45); }
  50% { box-shadow: 0 14px 34px -10px rgba(232, 38, 47, 0.65), inset 0 1px 0 rgba(255,255,255,0.12), 0 0 0 14px rgba(232, 38, 47, 0); }
}
.hero-anim.hero-cta:hover {
  animation-play-state: paused, paused;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--yellow);
  flex-shrink: 0;
}

/* entrance + floating motion */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes heroParticleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: .55; }
  50% { transform: translateY(-18px) translateX(6px); opacity: 1; }
}

.hero-anim {
  opacity: 0;
  animation: heroFadeUp .8s cubic-bezier(.16,.84,.44,1) var(--hero-delay, 0s) both;
}
.hero-device.hero-anim {
  animation-name: heroFadeUp, heroFloat;
  animation-duration: .8s, 5s;
  animation-timing-function: cubic-bezier(.16,.84,.44,1), ease-in-out;
  animation-delay: var(--hero-delay, 0s), calc(var(--hero-delay, 0s) + .9s);
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim, .hero-particle {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- SECTIONS ---------- */

.section {
  padding: 68px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-elevated);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  text-transform: uppercase;
  color: #fff;
  font-weight: 800;
}

.section-head p {
  color: var(--text-muted);
}

/* ---------- CATEGORIES ---------- */

.category-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  max-width: 880px;
  margin: 0 auto;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.category-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
}
.category-tag.c-red { background: var(--red); }
.category-tag.c-yellow { background: var(--yellow-dark); color: #17140a; }
.category-tag.c-blue { background: var(--blue); }

.category-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 3px solid var(--line);
  transition: transform .2s ease;
}
.category-ring.c-red { border-color: var(--red); color: var(--red); }
.category-ring.c-yellow { border-color: var(--yellow); color: var(--yellow); }
.category-ring.c-blue { border-color: var(--blue); color: var(--blue); }

.category-ring svg {
  width: 38px;
  height: 38px;
}
.category-ring.has-photo {
  overflow: hidden;
  padding: 0;
}
.category-ring.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-item:hover .category-ring {
  transform: translateY(-5px);
}

.category-label {
  font-weight: 800;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}

/* ---------- PRODUCT GRID / CARD ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card-wrap {
  display: contents;
}
.product-card-wrap[hidden] {
  display: none;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px -28px rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -24px rgba(0,0,0,0.85);
}

.product-media {
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(255,255,255,0.07), transparent 65%), #101018;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 22px 22px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 210px;
  overflow: hidden;
}
.product-media img, .product-media svg {
  width: 118px;
}
.product-media.has-photo {
  padding: 0;
  align-items: center;
  height: auto;
  aspect-ratio: 1 / 1;
}
.product-media.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-tag {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--yellow);
}

.product-body h3 {
  font-size: 17px;
  color: #fff;
  margin: 2px 0 0;
}
.product-body h3 a:hover {
  color: var(--yellow);
}

.product-spec {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.product-body .pill-btn {
  margin-top: auto;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text);
  text-align: left;
  font-family: inherit;
}

.faq-chevron {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform .2s ease;
  line-height: 1;
}

.faq-item.open .faq-chevron {
  transform: rotate(45deg);
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---------- SEO TEXT BLOCK ---------- */

.seo-block .container {
  max-width: 820px;
}
.seo-block h2 {
  font-size: 24px;
  color: #fff;
}
.seo-block p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--bg-header);
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
}

.age-strip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 44px;
}
.age-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #0d0d12;
  background: var(--yellow);
  padding: 8px 14px;
  border-radius: 8px;
}
.age-strip p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-seo-text {
  color: var(--text-muted);
  font-size: 13.5px;
  max-width: 46ch;
}

.footer-col h3 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
}
.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.footer-bottom p {
  margin: 0;
}

/* ---------- BREADCRUMBS ---------- */

.breadcrumbs {
  padding: 22px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--yellow);
}

/* ---------- PRODUCT DETAIL ---------- */

.product-hero-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.product-hero-media {
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.07), transparent 60%), var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.product-hero-media img, .product-hero-media svg {
  width: 200px;
}
.product-hero-info .hero-eyebrow {
  margin-bottom: 6px;
}
.product-hero-info h1 {
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
}
.product-lead {
  color: var(--text-muted);
  font-size: 15.5px;
  max-width: 56ch;
  margin-top: 22px;
}
.product-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  border-left: 3px solid var(--yellow);
  padding-left: 12px;
}

.spec-table {
  max-width: 640px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: var(--bg-card);
  font-size: 14.5px;
}
.spec-row:nth-child(even) {
  background: var(--bg-elevated);
}
.spec-label {
  color: var(--text-muted);
  font-weight: 600;
}
.spec-value {
  color: #fff;
  font-weight: 700;
  text-align: right;
}
.disclaimer-text {
  max-width: 640px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 18px;
}

/* ---------- PRODUCT PAGE: GALLERY + INFO ---------- */

.product-top-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.gallery-main {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  aspect-ratio: 1 / 1;
}
.gallery-main.glow-red {
  box-shadow: 0 0 70px -14px rgba(232, 38, 47, 0.45);
}
.gallery-main.glow-yellow {
  box-shadow: 0 0 70px -14px rgba(245, 197, 24, 0.4);
}
.gallery-main.has-photo {
  border: none;
  padding: 0;
  overflow: hidden;
}
.gallery-view svg {
  width: 220px;
  max-width: 70%;
}
.gallery-view.mirror svg {
  transform: scaleX(-1);
}
.gallery-main.has-photo .gallery-view {
  width: 100%;
  height: 100%;
}
.gallery-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.gallery-thumb {
  min-width: 0;
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  transition: border-color .15s ease;
}
.gallery-thumb svg {
  width: 100%;
  height: 100%;
}
.gallery-thumb.mirror svg {
  transform: scaleX(-1);
}
.gallery-thumb:hover {
  border-color: var(--yellow);
}
.gallery-thumb.active {
  border-color: var(--red);
}
.gallery-thumb.has-photo {
  padding: 0;
  overflow: hidden;
  border-color: transparent;
}
.gallery-thumb.has-photo:hover {
  border-color: var(--yellow);
}
.gallery-thumb.has-photo.active {
  border-color: var(--red);
}
.gallery-thumb.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-captions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.gallery-captions span {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

.product-info .hero-eyebrow {
  margin-bottom: 10px;
}
.product-info h1 {
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
  margin-bottom: 4px;
}
.product-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #17140a;
  background: var(--yellow);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.product-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.pill-btn-outline-yellow {
  background: transparent;
  border: 1.5px solid var(--yellow);
  color: var(--yellow);
}
.pill-btn-outline-yellow:hover {
  background: rgba(245, 197, 24, 0.1);
}

.cta-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 10px 0 0;
}

.info-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.info-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.info-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--yellow);
}

/* ---------- PRODUCT PAGE: WHY / DLACZEGO WARTO ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.why-item {
  text-align: center;
}
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--red);
  color: var(--red);
  margin-bottom: 14px;
}
.why-item:nth-child(2n) .why-icon {
  border-color: var(--yellow);
  color: var(--yellow);
}
.why-icon svg {
  width: 26px;
  height: 26px;
}
.why-item h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 6px;
}
.why-item p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- PRODUCT PAGE: RELATED CAROUSEL ---------- */

.carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.carousel-head h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.carousel-arrows {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.carousel-prev, .carousel-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.carousel-prev:hover, .carousel-next:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.carousel-prev svg, .carousel-next svg {
  width: 18px;
  height: 18px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.carousel-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
}
.carousel-item .product-card {
  height: 100%;
}

/* ---------- FILTERS (produkty.html) ---------- */

.filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 4px;
}
.filter-chip {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
}
.filter-chip:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.filter-chip.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
}

/* ---------- COMPARISON TABLE ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
  font-size: 13.5px;
}
thead th {
  text-align: left;
  background: var(--bg-elevated);
  color: var(--yellow);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  white-space: nowrap;
}
tbody td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  white-space: nowrap;
}
tbody tr:hover {
  background: var(--bg-card);
}
.name-cell a {
  color: #fff;
  font-weight: 700;
}
.name-cell a:hover {
  color: var(--yellow);
}
.row-link {
  color: var(--red);
  font-weight: 700;
}

/* ---------- BRANDS PAGE ---------- */

.brand-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}
.brand-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.brand-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.brand-head h2 {
  font-size: 20px;
  margin: 0;
  color: #fff;
}
.brand-head p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.brand-products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-products a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease;
}
.brand-products a:hover {
  background: var(--bg-elevated);
  color: var(--yellow);
}
.brand-puffs {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13px;
}

/* ---------- CONTACT ---------- */

.narrow {
  max-width: 640px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
}
.contact-card h2 {
  color: #fff;
  font-size: 22px;
}
.contact-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}
.contact-notice {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact-notice p {
  font-size: 13px;
  margin: 0;
}

/* ---------- LEGAL PAGES ---------- */

.legal-wrap {
  max-width: 720px;
}
.legal-wrap h1 {
  color: #fff;
  font-size: 32px;
}
.legal-wrap h2 {
  color: var(--yellow);
  font-size: 18px;
  margin-top: 32px;
}
.legal-wrap p {
  color: var(--text-muted);
  font-size: 14.5px;
}
.legal-wrap a {
  color: var(--red);
  font-weight: 600;
}

/* ---------- 404 ---------- */

.not-found {
  text-align: center;
  padding: 120px 0;
}
.not-found-code {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(80px, 14vw, 140px);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.not-found h1 {
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  margin-top: 12px;
}
.not-found p {
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto 28px;
}
.not-found-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */

@media (max-width: 980px) {
  .nav-desktop, .header-cta {
    display: none;
  }
  .burger {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-device {
    order: 2;
  }
  .hero-device-right { order: 3; }
  .hero-copy { order: 1; }
  .hero-device img, .hero-device svg {
    max-width: 200px;
  }

  .hero {
    padding: 32px 0 28px;
  }
  .hero-eyebrow {
    margin-bottom: 12px;
  }
  .hero-copy h1 {
    margin-bottom: 12px;
  }
  .hero-copy p {
    margin-bottom: 20px;
  }
  .hero-copy .pill-btn {
    margin-top: 0;
  }
  .hero-cta {
    padding: 17px 34px;
    font-size: 15px;
  }
  .hero-trust {
    gap: 7px 16px;
    margin-top: 18px;
  }
  .hero-trust-item {
    font-size: 11.5px;
  }
  .hero-ray, .hero-particle {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .product-top-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-info {
    text-align: center;
  }
  .product-info .product-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .info-badges {
    text-align: left;
  }

  .brand-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 48px 0;
  }
  .category-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .age-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .carousel-item {
    flex-basis: 220px;
  }
  .carousel-head h2 {
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 68px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    height: 68px;
  }
  .logo-img {
    height: 46px;
  }

  .hero {
    padding: 24px 0 24px;
  }
  .hero-eyebrow {
    margin-bottom: 10px;
  }
  .hero-copy h1 {
    font-size: clamp(26px, 7.5vw, 34px);
    margin-bottom: 10px;
  }
  .hero-copy p {
    font-size: 14px;
    margin-bottom: 16px;
  }
}
