
/* C. G. Vazou - Cookie Consent */

#cgv-cookie-banner,
#cgv-cookie-settings {
  position: fixed;
  z-index: 99999;
  right: 20px;
  bottom: 20px;
  width: min(440px, calc(100% - 40px));
  box-sizing: border-box;
  padding: 25px;
  background: #211a1e;
  color: #eee7e2;
  border: 1px solid #6f2939;
  box-shadow: 0 8px 35px rgba(0, 0, 0, .4);
  font-family: Georgia, serif;
}

#cgv-cookie-banner h2,
#cgv-cookie-settings h2 {
  margin: 0 0 12px;
  color: #eee7e2;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

#cgv-cookie-banner p,
#cgv-cookie-settings p {
  margin: 0 0 18px;
  color: #d2c5c8;
  font-size: .9rem;
  line-height: 1.65;
}

.cgv-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cgv-cookie-actions button,
#cgv-cookie-settings button,
#cgv-cookie-settings-button {
  border: 1px solid #a45b68;
  padding: 10px 16px;
  background: transparent;
  color: #eee7e2;
  font-family: Montserrat, Arial, sans-serif;
  font-size: .75rem;
  cursor: pointer;
  transition: background .2s ease;
}

.cgv-cookie-actions button:hover,
#cgv-cookie-settings button:hover,
#cgv-cookie-settings-button:hover {
  background: #38252d;
}

.cgv-cookie-actions .cgv-cookie-accept {
  background: #6f2939;
  border-color: #6f2939;
  color: #fff;
}

.cgv-cookie-actions .cgv-cookie-accept:hover {
  background: #87394b;
}

#cgv-cookie-settings {
  display: none;
}

#cgv-cookie-settings.cgv-visible {
  display: block;
}

.cgv-cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 18px 0;
  padding: 15px 0;
  border-top: 1px solid #49343c;
  border-bottom: 1px solid #49343c;
  color: #eee7e2;
  font-size: .9rem;
}

.cgv-cookie-option input {
  width: 18px;
  height: 18px;
  accent-color: #a45b68;
  cursor: pointer;
}

#cgv-cookie-settings-button {
  position: fixed;
  z-index: 99998;
  bottom: 14px;
  left: 14px;
  padding: 8px 12px;
  background: #211a1e;
  font-size: .7rem;
}

#cgv-cookie-settings-button.cgv-hidden {
  display: none;
}

@media (max-width: 520px) {
  #cgv-cookie-banner,
  #cgv-cookie-settings {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 20px;
  }

  .cgv-cookie-actions button {
    flex: 1 1 auto;
  }
}
