.elo-cookie-settings {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.elo-cookie-settings:hover,
.elo-cookie-settings:focus-visible {
  color: #D4B870;
}
.elo-cookie-settings:focus-visible {
  outline: 2px solid #B8923A;
  outline-offset: 3px;
}

.elo-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 240;
  max-width: 920px;
  margin: 0 auto;
  background: rgba(20, 17, 12, 0.96);
  color: #F7F2E8;
  border: 1px solid rgba(184, 146, 58, 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  padding: 22px 24px;
}
.elo-cookie-banner[hidden] { display: none !important; }
.elo-cookie-banner-inner {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}
.elo-cookie-banner-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: #E8D9A8;
}
.elo-cookie-banner-text {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(247, 242, 232, 0.78);
  max-width: 54ch;
}
.elo-cookie-banner-text a {
  color: #D4B870;
  text-decoration: underline;
}
.elo-cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.elo-cookie-btn {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  padding: 11px 16px;
  cursor: pointer;
  border: 1px solid transparent;
}
.elo-cookie-btn:focus-visible {
  outline: 2px solid #D4B870;
  outline-offset: 2px;
}
.elo-cookie-btn-primary {
  background: #B8923A;
  color: #14110C;
  border-color: #B8923A;
}
.elo-cookie-btn-ghost {
  background: transparent;
  color: #F7F2E8;
  border-color: rgba(184, 146, 58, 0.55);
}
.elo-cookie-btn-text {
  background: transparent;
  color: #D4B870;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.elo-cookie-modal[hidden] { display: none !important; }
.elo-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
}
.elo-cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 12, 0.62);
}
.elo-cookie-modal-panel {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow: auto;
  margin: 16px auto;
  background: #FBF8F1;
  color: #14110C;
  border: 1px solid rgba(20, 17, 12, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 28px 28px 24px;
}
.elo-cookie-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.elo-cookie-modal-head h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
}
.elo-cookie-modal-close {
  appearance: none;
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #6B6149;
  cursor: pointer;
  padding: 0 4px;
}
.elo-cookie-modal-close:focus-visible {
  outline: 2px solid #B8923A;
  outline-offset: 2px;
}
.elo-cookie-modal-lead {
  margin: 0 0 20px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #6B6149;
}
.elo-cookie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(20, 17, 12, 0.08);
  font-family: Inter, system-ui, sans-serif;
}
.elo-cookie-row-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.elo-cookie-row-copy strong {
  font-size: 0.95rem;
}
.elo-cookie-row-copy span {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6B6149;
}
.elo-cookie-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #B8923A;
  flex-shrink: 0;
}
.elo-cookie-row.is-locked { opacity: 0.92; }
.elo-cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.elo-cookie-modal-actions .elo-cookie-btn-primary { min-width: 160px; }
.elo-cookie-modal-actions .elo-cookie-btn-ghost,
.elo-cookie-modal-actions .elo-cookie-btn-text {
  color: #14110C;
  border-color: rgba(20, 17, 12, 0.18);
}
.elo-cookie-modal-actions .elo-cookie-btn-text {
  border-color: transparent;
  color: #7A5F1C;
}

@media (max-width: 760px) {
  .elo-cookie-banner {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 16px 20px;
  }
  .elo-cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .elo-cookie-banner-actions { justify-content: stretch; }
  .elo-cookie-banner-actions .elo-cookie-btn { flex: 1 1 100%; }
  .elo-cookie-modal-panel { margin: 12px auto; padding: 22px 16px 18px; }
}
