/* Banner y panel de consentimiento — Espacio Luminem */

.luminem-cookie-root {
  font-family: "Cormorant Garamond", serif;
}

.luminem-cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1.35rem;
  background: #7960b3;
  color: #f3f2f8;
  border: 2px solid #fff;
  border-radius: 1rem;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.luminem-cookie-banner[hidden],
.luminem-cookie-panel[hidden],
.luminem-cookie-overlay[hidden] {
  display: none !important;
}

.luminem-cookie-title {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
}

.luminem-cookie-desc {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  line-height: 1.45;
  color: #f3f2f8;
}

.luminem-cookie-link {
  color: #efe2b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.luminem-cookie-link:hover,
.luminem-cookie-link:focus {
  color: #fff;
}

.luminem-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.luminem-cookie-btn {
  appearance: none;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.luminem-cookie-btn--primary {
  border: 2px solid #efe2b8;
  background: #efe2b8;
  color: #7d0e98;
}

.luminem-cookie-btn--primary:hover,
.luminem-cookie-btn--primary:focus {
  background: #fff;
  border-color: #fff;
  color: #7d0e98;
}

.luminem-cookie-btn--secondary {
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
}

.luminem-cookie-btn--secondary:hover,
.luminem-cookie-btn--secondary:focus {
  background: rgba(255, 255, 255, 0.12);
}

.luminem-cookie-btn--ghost {
  border: 2px solid transparent;
  background: transparent;
  color: #efe2b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.luminem-cookie-btn--ghost:hover,
.luminem-cookie-btn--ghost:focus {
  color: #fff;
}

.luminem-cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 1085;
  background: rgba(30, 16, 48, 0.55);
}

.luminem-cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.luminem-cookie-panel-inner {
  width: min(100%, 28rem);
  padding: 1.35rem 1.4rem;
  background: #7960b3;
  color: #f3f2f8;
  border: 2px solid #fff;
  border-radius: 1rem;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.luminem-cookie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.luminem-cookie-row-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.luminem-cookie-row-text strong {
  font-size: 1.15rem;
}

.luminem-cookie-badge {
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #efe2b8;
  white-space: nowrap;
}

.luminem-cookie-switch-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.luminem-cookie-switch {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.luminem-cookie-switch-ui {
  position: relative;
  display: inline-block;
  width: 2.75rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  border: 2px solid #fff;
  transition: background-color 0.2s ease;
}

.luminem-cookie-switch-ui::after {
  content: "";
  position: absolute;
  top: 0.22rem;
  left: 0.22rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.luminem-cookie-switch:checked + .luminem-cookie-switch-ui {
  background: #efe2b8;
}

.luminem-cookie-switch:checked + .luminem-cookie-switch-ui::after {
  transform: translateX(1.15rem);
  background: #7d0e98;
}

.luminem-cookie-switch:focus-visible + .luminem-cookie-switch-ui {
  outline: 2px solid #efe2b8;
  outline-offset: 2px;
}

.luminem-cookie-prefs-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 576px) {
  .luminem-cookie-banner {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    padding: 1rem;
  }

  .luminem-cookie-actions {
    justify-content: stretch;
  }

  .luminem-cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
