/* === DeGala·Lab Cookies Banner === */

#degalalab-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222; /* gris fosc corporatiu */
  color: #fff;
  padding: 18px 20px;
  font-family: 'Avenir', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.5);
}

#degalalab-cookie-banner p {
  margin: 0;
  flex: 1 1 60%;
}

#degalalab-cookie-banner a {
  color: #fc3869;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-buttons {
  flex: 1 1 35%;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

#degalalab-cookie-banner button {
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

#degalalab-accept {
  background: #fc3869;
  color: #fff;
}

#degalalab-accept:hover {
  background: #e0315d;
}

#degalalab-reject {
  background: #444;
  color: #fff;
}

#degalalab-reject:hover {
  background: #555;
}

#degalalab-settings {
  background: transparent;
  border: 2px solid #fc3869;
  color: #fc3869;
}

#degalalab-settings:hover {
  background: #fc3869;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  #degalalab-cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
    margin-top: 12px;
  }
}
/* === Modal de cookies === */
#degalalab-cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

#degalalab-cookie-modal .modal-content {
  background: #fff;
  color: #222;
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  font-family: 'Avenir', sans-serif;
}

#degalalab-cookie-modal h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  color: #fc3869;
}

#degalalab-cookie-modal label {
  display: block;
  margin: 10px 0;
  font-size: 15px;
}

#degalalab-cookie-modal input[type="checkbox"] {
  margin-right: 8px;
}

#degalalab-save {
  background: #fc3869;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
}

#degalalab-save:hover {
  background: #e0315d;
}

