/* === PODSTAWOWY RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #000 !important; /* zmiana z #fdfdfd */
  color: #222;
  line-height: 1.6;
}

/* === HEADER === */
#masthead {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  gap: 2em;
  padding: 1em;
}
.custom-menu a {
  text-decoration: none;
  color: #111;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.custom-menu a:hover {
  color: #b91c1c;
}

/* === HERO (strona główna) === */
section.hero {
  background: url('...') no-repeat center center;
  background-size: cover;
  padding: 3em 1.5em;
  color: white; text-align: center;
}
section.hero h2 {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(1.2rem, 4.5vw, 1.8rem);
  background-color: rgba(0,0,0,0.4);
  padding: 1em;
  border-radius: 6px;
}

/* === SEKCJE & CTA BUTTON === */
section.featured-product {
  padding: 2em 1em;
  text-align: center;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
section.featured-product img {
  max-width: 100%; height: auto; border-radius: 8px;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
section.featured-product p {
  margin-top: 1em; font-size: 1.1em; max-width: 700px; margin-left: auto; margin-right: auto; color: #ccc;
}
section.featured-product a {
  display: inline-block;
  margin-top: 1em;
  background-color: #b91c1c; color: #fff;
  padding: 0.75em 1.5em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}
section.featured-product a:hover {
  background-color: #7f1010;
}
.cta-button,
a.button,
.wp-block-button__link {
  display: inline-block;
  background-color: #d20000;
  color: white;
  padding: 0.75em 1.5em;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}
.cta-button:hover,
a.button:hover,
.wp-block-button__link:hover {
  background-color: #a30000;
}

/* === CONTENT === */
section.content {
  padding: 2em 1.5em;
  max-width: 900px; margin: auto;
}
section.content h3 {
  font-size: 1.3em; margin-bottom: 0.5em;
}
section.content p {
  margin-bottom: 1.5em;
}

/* === FOOTER === */
.site-footer {
  text-align: center; padding: 2em 1em;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 0.5em 1.5em;
  justify-items: center;
  padding: 0; margin: 1em auto 0;
  list-style: none;
  max-width: 700px;
}
.footer-links li {
  margin: 0;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #b91c1c;
  text-decoration: underline;
}

/* === DETAILS SUMMARY ACCORDIONS === */
details summary {
  cursor: pointer;
  font-weight: bold;
  position: relative;
  padding-left: 1.2em;
}
details summary::before {
  content: "+";
  position: absolute;
  left: 0; top: 0;
}
details[open] summary::before {
  content: "−";
}
details {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 1em;
  margin-bottom: 1em;
  background-color: #111;
}

/* === BANER COOKIES === */
#cookie-banner-rodo {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #000;
  border-top: 1px solid #666;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 1em;
  font-size: 0.95em;
  z-index: 9999;
  display: none;
}
#cookie-banner-rodo p {
  margin: 0 0 0.5em;
  color: #eee;
}
#cookie-banner-rodo button,
#cookie-banner-rodo a {
  margin-right: 0.5em;
  padding: 0.5em 1em;
  border: none;
  background: #b91c1c;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}
#cookie-banner-rodo button.secondary {
  background: #e0e0e0;
  color: #333;
}
#cookie-banner-rodo a.policy-link {
  background: transparent;
  color: #0066cc;
  font-weight: normal;
  padding: 0;
}

/* === MOBILE === */
@media (max-width: 768px) {
  body {
    padding: 0 1em;
    font-size: 18px;
    line-height: 1.7;
  }
  img {
    max-width: 100%; height: auto;
  }
  h1, h2, h3 {
    line-height: 1.4;
  }
  section, .entry-content,
  .wp-block-group, .wp-block-column {
    padding: 1.5em 1em;
    max-width: 100%;
    background-color: transparent !important;
  }
  .cta-button, a.button, .wp-block-button__link {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.2em;
    padding: 1em;
  }
}

/* === TYPOGRAFIA === */
html body, html p, html h1, html h2, html h3, html li {
  font-size: 18px;
  line-height: 1.6;
}

/* === OBRAZKI === */
img,
.wp-block-image img,
img.aligncenter {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
section.hero {
  background: url('https://www.domowaaborcja.com/wp-content/uploads/2025/06/domowaaborcjatapeta.webp') no-repeat center center;
  background-size: cover;
  padding: 3em 1.5em;
  color: white;
  text-align: center;
}
section.hero h2 {
  background-color: rgba(0, 0, 0, 0.5); /* półprzezroczysty ciemny blok dla lepszej czytelności */
  color: #fff;
  padding: 1em;
  border-radius: 6px;
  max-width: 800px;
  margin: auto;
}
