/* ============================================================
   PrimePet Group — /snax/snax.css
   Tylko style podstrony Snax. Bazowe style w /style.css
   ============================================================ */

/* ── Hero ── */
.sx-hero { align-items: center; padding: 120px 0 72px; min-height: 640px; }
.sx-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.sx-hero .hero-content { max-width: 620px; }
.sx-hero-desc {
  font-size: 1.02rem;
  color: rgba(232,237,245,0.68);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 32px;
}

.sx-hero-visual {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sx-hero-glow {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238,128,51,0.35) 0%, rgba(238,128,51,0) 70%);
  filter: blur(10px);
}
.sx-hero-bag {
  position: absolute;
  max-height: 400px;
  width: auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.6));
}
.sx-bag-back  { transform: translateX(-70px) rotate(-7deg) scale(0.88); opacity: 0.85; }
.sx-bag-front { transform: translateX(70px) rotate(5deg); animation: sxFloat 6s ease-in-out infinite; }
@keyframes sxFloat {
  0%, 100% { transform: translateX(70px) rotate(5deg) translateY(0); }
  50%      { transform: translateX(70px) rotate(5deg) translateY(-12px); }
}

/* ── Nagłówki sekcji ── */
.sx-h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-light .sx-h2 { color: var(--dark); }
.sx-lead {
  font-size: 0.95rem;
  color: rgba(5,13,34,0.55);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ── Asortyment ── */
.sx-range { padding: 100px 0; }
.sx-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.sx-product {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow var(--trans);
}
.sx-product:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.1); }
.sx-product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.sx-product-img img {
  max-height: 260px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,0.18));
  transition: transform 0.4s ease;
}
.sx-product:hover .sx-product-img img { transform: scale(1.04) rotate(-1deg); }
.sx-product-body { padding: 24px 24px 20px; display: flex; flex-direction: column; }
.sx-product-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 4px;
}
.sx-product-sub {
  font-size: 0.8rem;
  color: rgba(5,13,34,0.5);
  margin-bottom: 18px;
}
.sx-group-title {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.sx-analytical {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.sx-analytical > div {
  background: rgba(0,0,0,0.04);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sx-an-val { font-size: 0.95rem; font-weight: 900; color: var(--dark); line-height: 1; }
.sx-an-key {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(5,13,34,0.45);
}

/* Rozwijane: skład / dodatki */
.sx-details {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 10px 0;
}
.sx-details summary {
  list-style: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.sx-details summary::-webkit-details-marker { display: none; }
.sx-details summary::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  transition: transform var(--trans);
}
.sx-details[open] summary::after { transform: rotate(45deg); }
.sx-details p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(5,13,34,0.65);
  padding-top: 8px;
}
.sx-product .snax-ean { margin-top: auto; padding-top: 10px; }

/* Olej z łososia — ciemna karta jak flagship */
.sx-oil {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  align-items: center;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  color: var(--white);
}
.sx-oil-img { display: flex; justify-content: center; }
.sx-oil-img img {
  max-height: 260px;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.55));
}
.sx-oil-name {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 8px;
}
.sx-oil-desc {
  font-size: 0.9rem;
  color: rgba(232,237,245,0.6);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 520px;
}
.sx-details-dark { border-top-color: var(--border); margin-bottom: 8px; max-width: 520px; }
.sx-details-dark summary { color: var(--white); }
.sx-details-dark p { color: rgba(232,237,245,0.6); }

/* ── Dla kogo pracujemy: jedna karta na całą szerokość ── */
.sx-oferta-single { grid-template-columns: 1fr; }
.sx-oferta-single .oferta-card { position: relative; }
.sx-oferta-single .card-top-row { position: absolute; top: 32px; right: 32px; margin: 0; }
.sx-oferta-single .oferta-card ul { display: grid; grid-template-columns: 1fr 1fr; }

/* ── Sekcja dystrybutora ── */
.sx-benefits { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.sx-benefits li {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  padding: 13px 16px 13px 46px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.45;
}
.sx-benefits li::before {
  content: '✓';
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(238,128,51,0.15);
  border: 1.5px solid rgba(238,128,51,0.6);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 19px;
  text-align: center;
}
.sx-dog {
  max-height: 260px;
  width: auto;
  margin: 8px 0 24px;
  filter: drop-shadow(10px 14px 20px rgba(0,0,0,0.2));
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sx-products { grid-template-columns: 1fr; }
  .sx-dog { display: none; }
}

@media (max-width: 768px) {
  .sx-hero        { padding: 104px 0 56px; min-height: 0; }
  .sx-hero-grid   { grid-template-columns: 1fr; gap: 24px; }
  .sx-hero-visual { height: 300px; order: -1; }
  .sx-hero-bag    { max-height: 260px; }
  .sx-hero-glow   { width: 260px; height: 260px; }

  .sx-range { padding: 64px 0; }
  .sx-oferta-single .oferta-card ul { grid-template-columns: 1fr; }
  .sx-product     { grid-template-columns: 1fr; }
  .sx-product-img { padding: 20px; }
  .sx-product-img img { max-height: 200px; }

  .sx-oil         { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .sx-oil-img img { max-height: 200px; }

}

.sx-product-body .snax-badge { align-self: flex-start; }

/* Dłuższy nagłówek hero: mniejszy font, podświetlenie łamie się linia po linii */
.sx-hero-title { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.25; }
.sx-hero-title .hero-highlight { display: inline; padding: 0.04em 0.22em; line-height: 1.5; }
