/* Finalny audyt spójności — 2026-07-14. */

/* Jeden wygląd nagłówka na podstronach. */
.mono-inner-page .site-header.mono-header {
  position: relative;
  inset: auto;
  background: #58595b;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.mono-inner-page .header-row { min-height: 104px; }

/* Przywrócony żółty przycisk Kontakt w całym wspólnym nagłówku. */
.mono-home .mono-contact-button {
  min-height: 40px;
  padding: 0 18px;
  border-color: #ffdd00;
  background: #ffdd00;
  color: #202124;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.mono-home .mono-contact-button::before { background: #202124; }
.mono-home .mono-contact-button:hover,
.mono-home .mono-contact-button:focus-visible {
  border-color: #ffdd00;
  background: #ffdd00;
  color: #202124;
  opacity: .9;
}

/* Wspólny rytm i równe moduły podstron opartych na Materiałach budowlanych. */
.mono-materials-page .materials-hero { padding-top: 44px; padding-bottom: 48px; }
.mono-materials-page .materials-stage { min-height: 432px; padding-top: 46px; padding-bottom: 46px; }
.mono-materials-page .materials-stage-inner { min-height: 340px; }
.mono-materials-page .materials-stage-copy { justify-content: center; }
.mono-materials-page .materials-stage-details { flex: 0 0 auto; }
.mono-materials-page .materials-brands { margin-top: 17px; padding-top: 14px; }


@media (min-width: 861px) {
  .mono-materials-page .materials-stage { min-height: 528px; }
}

/* Kontakt: bez powtórzonego szarego paska i bez ramki wokół danych spółki. */
.mono-contact-page .company-copy-section {
  padding-top: 46px;
  padding-bottom: 50px;
  background: #fff;
}
.mono-contact-page .company-copy-card {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  user-select: text;
  -webkit-user-select: text;
}
.mono-contact-page .company-copy-card:hover,
.mono-contact-page .company-copy-card:focus {
  border: 0;
  box-shadow: none;
  transform: none;
  outline: none;
}
.mono-contact-page .company-copy-accent { display: none; }
.mono-contact-page .company-copy-grid { gap: 30px; }

/* Puste podstrony robocze: rzeczywiście tylko nagłówek, biała przestrzeń i stopka. */
.mono-empty-page { min-height: 100vh; display: flex; flex-direction: column; }
.mono-empty-page .empty-page-main {
  flex: 1 0 auto;
  min-height: clamp(300px, 52vh, 680px);
  background: #fff;
}
.mono-empty-page .mono-footer { margin-top: 0; }

/* Na telefonie sekcja promocji nie pokazuje grafiki. */
@media (max-width: 760px) {
  .mono-home .mono-promo-section { padding: 0 !important; }
  .mono-home .mono-promo-grid { grid-template-columns: 1fr; }
  .mono-home .mono-promo-art,
  .mono-home .mono-promo-art.mono-promo-art-balloons { display: none !important; }
  .mono-home .mono-promo-copy { padding-top: 40px; padding-bottom: 42px; }

  .mono-inner-page .header-row { min-height: 88px; }
  .mono-materials-page .materials-stage,
  .mono-materials-page .materials-stage-inner,
  .mono-materials-page .materials-stage-copy { min-height: 0; }
  .mono-materials-page .materials-stage { padding-top: 36px; padding-bottom: 38px; }

  .mono-contact-page .company-copy-section { padding-top: 36px; padding-bottom: 38px; }
  .mono-contact-page .company-copy-section .container {
    width: min(calc(100% - 36px), 1280px);
    padding: 0;
  }
  .mono-contact-page .company-copy-label { display: block; }
  .mono-contact-page .company-copy-card { margin: 0; padding: 0; }
  .mono-contact-page .company-copy-grid { gap: 18px; }
  .mono-empty-page .empty-page-main { min-height: 46vh; }
}


/* Korekta 2026-07-14 — kafelki oferty i statyczne promocje. */
/* Osiem kafelków na stronie głównej korzysta z tej samej typografii i żółtego akcentu co cztery duże kafelki nad nimi. */
body[data-page="home"] .mono-offer-photo {
  justify-content: flex-end;
}
body[data-page="home"] .mono-offer-photo > span {
  display: none;
}
body[data-page="home"] .mono-offer-photo h3,
body[data-page="home"] .mono-offer-photo .mono-offer-title {
  position: relative;
  z-index: 2;
  margin: auto 0 8px;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0;
  text-transform: none;
}
body[data-page="home"] .mono-offer-photo h3::before,
body[data-page="home"] .mono-offer-photo .mono-offer-title::before {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin: 0 0 10px;
  background: var(--mono-yellow, #ffdd00);
}
body[data-page="home"] .mono-offer-photo p,
body[data-page="home"] .mono-offer-photo .mono-offer-description {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255,255,255,.67);
  font-size: .78rem;
  font-weight: 300;
  line-height: 1.55;
}
body[data-page="home"] .mono-offer-photo::after {
  display: none;
}
body[data-page="home"] .mono-offer-photo img {
  transition: transform .5s ease;
}
body[data-page="home"] .mono-offer-photo:hover img,
body[data-page="home"] .mono-offer-photo:focus-visible img {
  transform: scale(1.045);
}

/* Kafelki promocji i nowości pozostają całkowicie statyczne, tak jak karty opinii na stronie O nas. */
.mono-promotions-page .promotions-card,
.mono-promotions-page .promotions-card img {
  animation: none !important;
  transition: none !important;
}
.mono-promotions-page .promotions-card:hover,
.mono-promotions-page .promotions-card:focus-visible {
  transform: none !important;
  border-color: rgba(199,200,202,.58);
  box-shadow: 0 10px 24px rgba(88,89,91,.04);
}
.mono-promotions-page .promotions-card:hover img,
.mono-promotions-page .promotions-card:focus-visible img {
  transform: none !important;
}

@media (max-width: 760px) {
  body[data-page="home"] .mono-offer-photo h3,
  body[data-page="home"] .mono-offer-photo .mono-offer-title {
    margin-top: auto;
    margin-bottom: 7px;
    font-size: 1rem;
  }
  body[data-page="home"] .mono-offer-photo p,
  body[data-page="home"] .mono-offer-photo .mono-offer-description {
    font-size: .76rem;
  }
}
