/* ELORINE cookie preference center */
.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.62);
  font: inherit;
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.cookie-settings-link:hover,
.cookie-settings-link:focus-visible { color: #fff; }
.cookie-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(16,15,12,.66);
  backdrop-filter: blur(2px);
}
.cookie-consent-overlay[hidden] { display: none !important; }
.cookie-consent {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  background: #fafaf7;
  color: #29251f;
  border: 1px solid rgba(25,23,17,.14);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  padding: 30px;
}
.cookie-consent__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #191711;
  cursor: pointer;
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
}
.cookie-consent__close:hover,
.cookie-consent__close:focus-visible { color: #8b6e4d; }
.cookie-consent__title {
  margin: 0 46px 10px 0;
  color: #191711;
  font-family: var(--serif, "Bodoni Moda", Georgia, serif);
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1.15;
  font-weight: 500;
}
.cookie-consent__text {
  margin: 0;
  color: #6f6961;
  font-size: .9rem;
  line-height: 1.65;
}
.cookie-consent__categories {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.cookie-category {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 15px 16px;
  background: #f1f0ec;
  border: 1px solid rgba(25,23,17,.08);
}
.cookie-category__title {
  display: block;
  color: #191711;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.25;
}
.cookie-category__desc {
  display: block;
  margin-top: 4px;
  color: #746e65;
  font-size: .76rem;
  line-height: 1.4;
}
.cookie-category__fixed {
  color: #8b6e4d;
  font-size: .74rem;
  font-weight: 600;
  white-space: nowrap;
}
.cookie-toggle-wrap {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.cookie-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cookie-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  border-radius: 999px;
  background: #d1cec8;
  border: 1px solid rgba(25,23,17,.12);
  transition: background .2s ease, border-color .2s ease;
}
.cookie-toggle::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.18);
  transition: transform .2s ease;
}
.cookie-toggle-input:checked + .cookie-toggle {
  background: #c5a983;
  border-color: #b49368;
}
.cookie-toggle-input:checked + .cookie-toggle::after { transform: translateX(22px); }
.cookie-toggle-input:focus-visible + .cookie-toggle { outline: 2px solid #191711; outline-offset: 3px; }
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.cookie-consent__button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #191711;
  cursor: pointer;
  font: inherit;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.cookie-consent__button--accept { background: #191711; color: #fff; }
.cookie-consent__button--reject { background: transparent; color: #191711; }
.cookie-consent__button--save { margin-left: auto; background: #c5a983; border-color: #c5a983; color: #191711; }
body.cookie-dialog-open { overflow: hidden; }
@media (max-width: 600px) {
  .cookie-consent-overlay { padding: 10px; align-items: end; }
  .cookie-consent { width: 100%; max-height: calc(100vh - 20px); padding: 23px 17px 17px; }
  .cookie-consent__close { top: 8px; right: 8px; }
  .cookie-category { min-height: 68px; padding: 13px; gap: 12px; }
  .cookie-category__desc { font-size: .72rem; }
  .cookie-consent__actions { flex-direction: column; }
  .cookie-consent__button, .cookie-consent__button--save { width: 100%; margin-left: 0; }
}
