/* MAIN IMPORT FILE – GFJ */

@import url("variables.css");
@import url("global.css");

@import url("navbar.css");
@import url("sections/hero.css");
@import url("sections/products.css");
@import url("sections/about.css");
@import url("sections/recommended.css");
@import url("sections/reviews.css");
@import url("sections/contact.css");
@import url("sections/coop.css");
@import url("footer.css");

@import url("responsive.css");
@import url("fullpage.css");
@import url("mobile-menu.css");

html,
body {
  /* overflow-x: hidden; */
  width: 100%;
  max-width: 100%;
}

section {
  transform: scale(0.9);
}

/* --- COOKIES BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  background-color: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: none; /* domyślnie ukryty */
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  font-family: "Lora", serif;
}

.cookie-text {
  font-size: 15px;
  line-height: 1.4;
}

.cookie-text a {
  color: #aa8593;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.cookie-btn.accept {
  background: #aa8593;
  color: #fff;
}

.cookie-btn.decline {
  background: #eee;
  color: #444;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

#desktop-block {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  text-align: center;
  padding: 20px;
}

#desktop-block .block-content {
  max-width: 500px;
}

/* ============================================
   PRIVACY POLICY MODAL (GFJ DESIGN)
   ============================================ */

/* Overlay – zamazanie całego tła */
.privacy-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.privacy-overlay.active {
  display: block;
  opacity: 1;
}

/* Modal */
.privacy-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);

  width: 90%;
  max-width: 850px;

  background: #ffffff;
  border-radius: 20px;
  padding: 35px 40px;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);

  z-index: 9999;
  opacity: 0;
  display: none;

  transition: all 0.35s ease;
}

.privacy-modal.active {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Treść przewijana */
.privacy-scroll {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 12px;
  margin-top: 10px;
}

.privacy-scroll h2,
.privacy-scroll h3 {
  font-family: "Lora", serif;
  color: var(--deep-purple);
  margin-bottom: 12px;
}

.privacy-scroll h2 {
  font-size: 28px;
  margin-top: 0;
}

.privacy-scroll h3 {
  font-size: 22px;
  margin-top: 25px;
}

.privacy-scroll p,
.privacy-scroll li {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark);
}

.privacy-scroll ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

/* Scrollbar (estetyczny, pastelowy) */
.privacy-scroll::-webkit-scrollbar {
  width: 8px;
}

.privacy-scroll::-webkit-scrollbar-track {
  background: #f0e6ea;
  border-radius: 10px;
}

.privacy-scroll::-webkit-scrollbar-thumb {
  background: #aa8593;
  border-radius: 10px;
}

/* Zamknięcie (X) */
.close-privacy {
  position: absolute;
  top: 14px;
  right: 14px;

  background: none;
  border: none;
  font-size: 30px;

  cursor: pointer;
  color: var(--deep-purple);
  transition: 0.25s ease;
}

.close-privacy:hover {
  transform: scale(1.15);
}

/* Animacja kliknięcia */
.close-privacy:active {
  transform: scale(0.85);
}

/* Link w stopce */
footer a#open-privacy {
  color: var(--deep-purple);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

footer a#open-privacy:hover {
  opacity: 0.8;
}

/* Responsywność */
@media (max-width: 480px) {
  .privacy-modal {
    padding: 25px 20px;
  }

  .privacy-scroll h2 {
    font-size: 22px;
  }

  .privacy-scroll h3 {
    font-size: 18px;
  }

  .privacy-scroll p,
  .privacy-scroll li {
    font-size: 15px;
  }
  .privacy-modal {
    pointer-events: auto;
  }

  .privacy-overlay {
    pointer-events: auto;
  }

  .close-privacy {
    pointer-events: auto;
    z-index: 10000; /* ponad wszystkim */
    transform: scale(0.7);
  }
}
