/* ----- CONTENEDOR PRINCIPAL ----- */
.cookie-notice {
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: 1rem;

  position: fixed;
  bottom: 30px;

  /* centra respecto al área útil (viewport menos menú 80px) */
  left: calc(50% + 40px);    /* centro del área útil = 50% + (80px/2) */
  transform: translateX(-50%);

  width: 50%;                /* ocupa la mitad del área útil */
  padding: 20px;

  background: #3a3b39;
  opacity: 0.95;
  color: white;
  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  z-index: 1000;
  animation: cookie-notice-fadein 400ms ease;
}

/* ----- TEXTO ----- */
.cookie-notice-message {
  flex: 1;
  line-height: 1.3rem;
}

.cookie-notice-message a {
  color: #e198b7;
  text-decoration: none;
  transition: 0.3s;
}

.cookie-notice-message a:hover {
  color: white;
}

/* ----- BOTÓN ----- */
.cookie-notice button {
  flex-shrink: 0;
  padding: 10px 18px;

  border: none;
  border-radius: 6px;

  background: #e198b7;
  color: #3a3b39;
  font-weight: 700;
  cursor: pointer;

  transition: 0.3s;
}

.cookie-notice button:hover {
  background: white;
  color: #3a3b39;
}



/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .cookie-notice {
    bottom: 20px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    width: 80%;   
  }

  .cookie-notice-message {
    width: 100%;
    text-align: center;        /* centra el texto en la parte superior */
    order: 1;                  /* texto arriba */
  }

  .cookie-notice button {
    width: 90%;                /* botón del 80% de ancho */
    margin: 0 auto;
    order: 2;                  /* botón abajo */
  }
}
@media (max-width: 500px) {
  .cookie-notice {
    width: 70%;   
  }
  .cookie-notice {
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: 0.8rem;}
}