/* ===== COOKIE CONSENT FINAL v2.10 (TILDA) ===== */

#cc-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  color: #222;
  z-index: 10000;
  box-shadow: 0 0 20px rgba(0,0,0,.4);
  display: none;
}

#cc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
}

#cc-footer-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.4;
}

#cc-footer button {
  font-size: 18px;
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

#cc-accept {
  background: #ffe200;
  color: #000;
}

#cc-settings {
  background: #fff;
  color: #555;
}

#cc-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.35) 50%,
    rgba(0,0,0,.7) 100%
  );
  z-index: 9999;
  opacity: 0;
  display: none;
  transition: opacity .2s ease;
  pointer-events: none;
}

#cc-popup {
  position: fixed;
  right: 40px;
  bottom: 90px;
  width: 380px;
  max-width: calc(100vw - 30px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 0 32px rgba(0,0,0,.16);
  padding: 24px;
  z-index: 10001;
  display: none;
  font-size: 18px;
}

@media (max-width: 800px) {
  #cc-footer-inner {
    flex-direction: column;
    padding: 15px;
  }
  #cc-footer-text {
    font-size: 15px;
    text-align: center;
  }
  #cc-footer button {
    width: 100%;
    font-size: 15px;
  }
  #cc-popup {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 5vh;
    width: calc(100vw - 30px);
    font-size: 15px;
  }
}
