/* --- SÜTISÁV (MODERN, KÉT GOMBOS) --- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 99999;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25,1,0.3,1);
}

/* megjelenés */
.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* eltűnés */
.cookie-banner.hide {
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  text-align: center;
}

.cookie-content a {
  color: #c21c24;
  text-decoration: none;
  font-weight: 500;
}

.cookie-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-buttons button {
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Elfogadás gomb */
#cookie-accept {
  background: #c21c24;
  color: #fff;
}

#cookie-accept:hover {
  background: #a00f1c;
  transform: translateY(-2px);
}

/* Elutasítás gomb */
#cookie-decline {
  background: #e9e9e9;
  color: #333;
}

#cookie-decline:hover {
  background: #d4d4d4;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    width: 90%;
    padding: 1.2rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-buttons button {
    width: 100%;
  }
}
/* --- Részletes süti információs popup --- */
.cookie-details {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.cookie-details.show {
  display: flex;
}

.cookie-details-content {
  background: #fff;
  width: 90%;
  max-width: 600px;
  padding: 1.6rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);
  position: relative;
  animation: fadeIn 0.3s ease;
}

.cookie-details-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #444;
}

.cookie-details-content h2 {
  margin-top: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
