/* GDPR Consent Banner */
#luupigo-gdpr {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999998;
  background: #1a1a1a;
  color: white;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

#luupigo-gdpr.show {
  transform: translateY(0);
}

.gdpr-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.gdpr-text {
  flex: 1;
  min-width: 300px;
}

.gdpr-text h3 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
}

.gdpr-text p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Links (Privacidad / Cookies) */
.gdpr-links {
  margin-top: 8px;
  font-size: 0.85rem;
  opacity: 0.95;
}

.gdpr-links a {
  color: #8ab4ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gdpr-links a:hover {
  opacity: 0.9;
}

.gdpr-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gdpr-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Accesibilidad: foco visible */
.gdpr-btn:focus-visible,
.gdpr-links a:focus-visible,
.gdpr-setting input[type="checkbox"]:focus-visible {
  outline: 2px solid #8ab4ff;
  outline-offset: 2px;
}

.gdpr-btn.accept {
  background: #0066ff;
  color: white;
}

.gdpr-btn.reject {
  background: #666;
  color: white;
}

.gdpr-btn.settings {
  background: transparent;
  color: #0066ff;
  border: 1px solid #0066ff;
}

.gdpr-btn:hover {
  opacity: 0.92;
  /* Evita demasiado “salto” en móviles */
  transform: translateY(-1px);
}

.gdpr-settings {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #333;
  width: 100%;
}

.gdpr-settings.show {
  display: block;
}

.gdpr-setting {
  margin-bottom: 10px;
}

.gdpr-setting label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.gdpr-setting input[type="checkbox"] {
  margin: 0;
}

.gdpr-setting .setting-desc {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-left: 30px;
}

/* Botón guardar dentro de settings */
.gdpr-settings-actions {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .gdpr-content {
    flex-direction: column;
    align-items: stretch;
  }

  .gdpr-actions {
    justify-content: center;
  }

  .gdpr-btn {
    flex: 1;
    min-width: 120px;
  }
}