/* =========================================================
   DE B2B – /de/mooskugeln-grosshandel.html (strona testowa)
   Samodzielny arkusz – ładowany WYŁĄCZNIE przez tę stronę.
   Header: sim/header-home.css (bez zmian). Kolory / typografia
   jak w pozostałych podstronach (about.css, contact.css).
   ========================================================= */

:root {
  --bg: #000502;
  --lime: #b4ec0c;
  --lime-soft: #a6dc22;
  --lime-hi: #9dfc0c;
  --text: #ffffff;
  --muted: #d9ded5;
  --line: rgba(180, 236, 12, .18);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Roboto", Arial, sans-serif;
  --cond: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --wrap: min(1240px, calc(100vw - 2 * clamp(18px, 4vw, 64px)));
  --sec: clamp(40px, 3.8vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body.mg {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* typografia treści – tylko main/stopka, header dziedziczy jak na innych stronach */
.mg main { font-size: clamp(16px, 1.05vw, 18px); line-height: 1.6; }

:where(.mg main, .mg footer) img { display: block; max-width: 100%; height: auto; }
:where(.mg main, .mg footer) a { color: inherit; text-decoration: none; }
:where(.mg main, .mg footer) :where(h1, h2, h3, p, figure) { margin: 0; }
:where(.mg main, .mg footer) ul { list-style: none; margin: 0; padding: 0; }

.mg-wrap { width: var(--wrap); margin: 0 auto; }

/* ---------- elementy wspólne ---------- */
.mg-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .82rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: #fff;
}
.mg-eyebrow::after {
  content: "";
  width: clamp(50px, 8vw, 140px);
  height: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(180, 236, 12, .15));
}

.mg main h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.9rem);
  line-height: 1.15;
  text-wrap: balance;
}

.mg-text p + p { margin-top: 1em; }
.mg-text p { color: var(--muted); }
.mg-text strong { color: #fff; font-weight: 500; }

.mg-photo {
  overflow: hidden;
  border: 1px solid rgba(180, 236, 12, .38);
  border-radius: 14px;
  background: #000;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .75), 0 0 28px rgba(150, 220, 10, .18);
}
.mg-photo img { width: 100%; }

.mg-section { padding: var(--sec) 0; position: relative; }
.mg-section + .mg-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--wrap);
  transform: translateX(-50%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150, 180, 120, .35) 20%, rgba(150, 180, 120, .35) 80%, transparent);
}

.mg-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.mg-split.is-rev > :first-child { order: 2; }
.mg-split h2 { margin: 16px 0 22px; }

/* ---------- przyciski (styl przycisków HOME) ---------- */
.mg-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.mg-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 26px;
  border-radius: 9px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .01em;
  transition: filter .2s, box-shadow .2s;
}
.mg-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.mg-btn:hover { filter: brightness(1.08); }
.mg-btn-main {
  color: #0c4219;
  background: linear-gradient(90deg, #4cfb69 0%, #3cf95a 45%, #06f224 100%);
  box-shadow: 0 0 18px rgba(47, 240, 74, .45);
}
.mg-btn-main svg { color: #0c4219; }
.mg-btn-out {
  color: #fff;
  background: rgba(0, 21, 4, .72);
  border: 2px solid #37d741;
  box-shadow: 0 0 10px rgba(55, 215, 65, .25);
}
.mg-btn-out svg { color: var(--lime-hi); }

/* =========================================================
   HERO
   ========================================================= */
.mg-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5.5vw, 96px) 0 clamp(56px, 6vw, 100px);
  background:
    radial-gradient(ellipse 34% 46% at 74% 46%, rgba(30, 80, 6, .34), transparent 72%),
    radial-gradient(ellipse 30% 26% at 0% 100%, rgba(20, 60, 4, .5), transparent 72%),
    linear-gradient(180deg, #000400 0%, #000501 60%, #000903 100%);
}
.mg-hero .mg-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mg-hero h1 {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.3vw, 4.6rem);
  line-height: 1.07;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
  text-wrap: balance;
}
.mg-hero-sub {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.75vw, 1.7rem);
  line-height: 1.3;
  color: var(--lime-soft);
}
.mg-hero-lead { margin-top: 16px; max-width: 34em; color: #f0f2ee; }

/* =========================================================
   ROZMIARY
   ========================================================= */
.mg-sizes-head { max-width: 760px; }
.mg-sizes-head h2 { margin-top: 16px; }
.mg-sizes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  margin-top: 40px;
}
.mg-sizes li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-height: 210px;
  padding: 28px 12px 24px;
  border: 1px solid rgba(180, 236, 12, .3);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 60, 4, .28), rgba(0, 10, 2, .6));
  text-align: center;
}
.mg-ball { display: block; max-width: none; object-fit: contain; }  /* prawdziwe zdjęcie kuli, skalowane */
.mg-sizes li:nth-child(1) .mg-ball { width: 40px; height: 40px; }
.mg-sizes li:nth-child(2) .mg-ball { width: 60px; height: 60px; }
.mg-sizes li:nth-child(3) .mg-ball { width: 82px; height: 82px; }
.mg-sizes li:nth-child(4) .mg-ball { width: 104px; height: 104px; }
.mg-ball-box { display: flex; align-items: center; justify-content: center; height: 104px; }
.mg-size {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.45rem, 2.1vw, 2.1rem);
  line-height: 1;
  white-space: nowrap;
}
.mg-note {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime-soft);
}
.mg-sizes-foot { margin-top: 28px; color: var(--muted); max-width: 760px; }

/* =========================================================
   B2B / EXPORT – tagi
   ========================================================= */
.mg-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border: 1px solid rgba(180, 236, 12, .3);
  border-radius: 14px;
  background: rgba(0, 21, 4, .5);
}
.mg-tags li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 10px;
  text-align: center;
  font-family: var(--cond);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.25;
}
.mg-tags li + li { border-left: 1px solid var(--line); }
.mg-tags svg {
  width: 40px;
  height: 40px;
  color: var(--lime);
  filter: drop-shadow(0 0 6px rgba(180, 236, 12, .35));
}
.mg-export-wrap { max-width: 900px; }
.mg-export-wrap h2 { margin: 16px 0 22px; }

/* ---------- wysyłka – lista ---------- */
.mg-checks { margin-top: 22px; display: grid; gap: 12px; }
.mg-checks li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}
.mg-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  box-shadow: 0 0 8px rgba(180, 236, 12, .4);
}
.mg-checks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(.3em + 4px);
  width: 6px;
  height: 10px;
  border: solid var(--lime);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.mg-checks strong { color: #fff; font-weight: 500; }

.mg-photo-portrait { max-width: 400px; justify-self: center; width: 100%; }

/* =========================================================
   GALERIA
   ========================================================= */
.mg-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
  margin-top: 36px;
}
.mg-gallery .mg-photo { border-radius: 12px; }
.mg-gallery img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.mg-gallery .mg-photo:hover img { transform: scale(1.04); }

/* =========================================================
   FAQ
   ========================================================= */
.mg-faq { max-width: 900px; }
.mg-faq h2 { margin: 16px 0 30px; }
.mg-faq details {
  border-top: 1px solid var(--line);
}
.mg-faq details:last-child { border-bottom: 1px solid var(--line); }
.mg-faq summary {
  position: relative;
  padding: 20px 48px 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--cond);
  font-weight: 500;
  font-size: clamp(1.08rem, 1.3vw, 1.25rem);
  line-height: 1.35;
}
.mg-faq summary::-webkit-details-marker { display: none; }
.mg-faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px;
  height: 11px;
  border: solid var(--lime);
  border-width: 0 2px 2px 0;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.mg-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.mg-faq summary:hover, .mg-faq details[open] summary { color: var(--lime); }
.mg-faq details p { padding: 0 48px 22px 0; color: var(--muted); }

/* =========================================================
   KONTAKT KOŃCOWY
   ========================================================= */
.mg-final {
  text-align: center;
  background:
    radial-gradient(ellipse 50% 70% at 50% 100%, rgba(30, 80, 6, .35), transparent 72%),
    linear-gradient(180deg, #000502 0%, #000903 100%);
}
.mg-final h2 { max-width: 820px; margin: 0 auto; }
.mg-final-sub { margin-top: 18px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.5rem); color: var(--lime-soft); }
.mg-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  margin-top: 22px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
}
.mg-contact a { display: inline-flex; align-items: center; gap: 10px; transition: color .2s; }
.mg-contact a:hover { color: var(--lime-hi); }
.mg-contact svg { width: 26px; height: 26px; color: var(--lime-hi); flex-shrink: 0; }
.mg-final .mg-ctas { justify-content: center; }

/* =========================================================
   STOPKA (jak na stronie Kontakt)
   ========================================================= */
.ct-footer {
  position: relative;
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 clamp(18px, 3.2vw, 60px);
  background: linear-gradient(180deg, #000 0%, #010802 100%);
}
.ct-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(180, 236, 12, .2), var(--lime) 30%, var(--lime) 70%, rgba(180, 236, 12, .2));
  box-shadow: 0 0 10px rgba(180, 236, 12, .7);
}
.ct-footer-brand img { width: auto; height: 52px; }
.ct-footer-line {
  flex: 0 0 clamp(120px, 20vw, 395px);
  height: 3px;
  margin-left: clamp(30px, 4vw, 75px);
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(180, 236, 12, .25), var(--lime));
  box-shadow: 0 0 8px rgba(180, 236, 12, .5);
}
.ct-footer-tags { display: flex; margin-left: auto; font-size: clamp(14px, 1.05vw, 20px); white-space: nowrap; }
.ct-footer-tags li + li::before { content: "•"; margin: 0 18px; color: var(--lime); }

/* =========================================================
   TABLET / TELEFON
   ========================================================= */
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  .mg-split, .mg-hero .mg-split { grid-template-columns: 1fr; gap: 34px; }
  .mg-split.is-rev > :first-child { order: 0; }
  .mg-hero { padding-top: 36px; }
  .mg-eyebrow { font-size: .74rem; letter-spacing: .38em; gap: 14px; }
  .mg-btn { flex: 1 1 100%; justify-content: flex-start; min-height: 58px; }
  .mg-sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-sizes li { min-height: 180px; padding: 22px 8px 20px; }
  .mg-tags { grid-template-columns: 1fr; }
  .mg-tags li { flex-direction: row; justify-content: flex-start; gap: 16px; padding: 16px 20px; text-align: left; }
  .mg-tags li + li { border-left: 0; border-top: 1px solid var(--line); }
  .mg-tags svg { width: 32px; height: 32px; }
  .mg-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-photo-portrait { max-width: 420px; }
  .mg-faq summary { padding-right: 36px; }
  .mg-faq details p { padding-right: 0; }
  .mg-contact { flex-direction: column; align-items: center; }

  .ct-footer { flex-direction: column; gap: 14px; height: auto; padding: 26px 16px 30px; }
  .ct-footer-line { flex: none; width: 140px; margin: 0; }
  .ct-footer-tags { flex-direction: column; align-items: center; gap: 6px; margin: 0; font-size: .95rem; }
  .ct-footer-tags li + li::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* =========================================================
   Zwarta wysokość (poprawka 2): GRÖSSEN (3) i GALERIE (7)
   zachowują większy oddech, pozostałe sekcje ciaśniej
   ========================================================= */
main > .mg-section:nth-of-type(3),
main > .mg-section:nth-of-type(7) { padding: clamp(48px, 5vw, 88px) 0; }
.mg-split h2 { margin: 14px 0 18px; }
.mg-export-wrap h2 { margin: 14px 0 18px; }
.mg-tags { margin-top: 28px; }
.mg-faq h2 { margin: 14px 0 24px; }
.mg-final .mg-ctas { margin-top: 26px; }

/* =========================================================
   GRÖSSEN – poprawka 3: większe prawdziwe kule (desktop ~+42%,
   mobile ~+35%) przy niezmienionej wysokości/szerokości kafelków
   (mniejszy wewnętrzny odstęp nad kulą i pod nią)
   ========================================================= */
.mg-sizes li { padding-top: 10px; gap: 8px; }
.mg-sizes li .mg-size { margin-top: 0; }
.mg-sizes .mg-ball-box { height: 130px; }
.mg-sizes li:nth-child(1) .mg-ball { width: 57px; height: 57px; }
.mg-sizes li:nth-child(2) .mg-ball { width: 85px; height: 85px; }
.mg-sizes li:nth-child(3) .mg-ball { width: 116px; height: 116px; }
.mg-sizes li:nth-child(4) .mg-ball { width: 148px; height: 148px; }
.mg-sizes li .mg-note { margin-top: 8px; }
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  .mg-sizes li { padding-top: 10px; gap: 8px; }
  .mg-sizes .mg-ball-box { height: 124px; }
  .mg-sizes li:nth-child(1) .mg-ball { width: 54px; height: 54px; }
  .mg-sizes li:nth-child(2) .mg-ball { width: 81px; height: 81px; }
  .mg-sizes li:nth-child(3) .mg-ball { width: 110px; height: 110px; }
  .mg-sizes li:nth-child(4) .mg-ball { width: 140px; height: 140px; }
}
