.path-consent-banner,
.path-consent-modal,
.path-consent-floating {
  font-family: Manrope, Arial, sans-serif;
  color: #17382b;
}

.path-consent-banner {
  position: fixed;
  z-index: 100000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(23, 56, 43, .18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 37, 29, .2);
}

.path-consent-banner[hidden],
.path-consent-backdrop[hidden] { display: none !important; }
.path-consent-copy { flex: 1; }
.path-consent-copy h2,
.path-consent-modal h2 { margin: 0 0 8px; font-size: 1.18rem; line-height: 1.25; }
.path-consent-copy p,
.path-consent-modal p { margin: 0; font-size: .9rem; line-height: 1.55; }
.path-consent-policy { display: inline-block; margin-top: 8px; color: #17382b; font-size: .86rem; text-decoration: underline; }
.path-consent-actions,
.path-consent-modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.path-consent-button,
.path-consent-floating {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #17382b;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
}
.path-consent-primary { color: #fff; background: #17382b; }
.path-consent-secondary { color: #17382b; background: #fff; }
.path-consent-button:focus-visible,
.path-consent-floating:focus-visible,
.path-consent-switch input:focus-visible + .path-consent-slider { outline: 3px solid #bf9862; outline-offset: 2px; }
.path-consent-backdrop {
  position: fixed;
  z-index: 100001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 24, 18, .64);
}
.path-consent-modal {
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.path-consent-intro { margin-bottom: 18px !important; }
.path-consent-category {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(23, 56, 43, .14);
}
.path-consent-category > div { flex: 1; }
.path-consent-category h3 { margin: 0 0 4px; font-size: .96rem; }
.path-consent-category p { color: #4f625a; font-size: .82rem; }
.path-consent-switch { position: relative; width: 48px; height: 28px; flex: 0 0 auto; }
.path-consent-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.path-consent-slider { position: absolute; inset: 0; border-radius: 999px; background: #a8b0ac; cursor: pointer; transition: .2s; }
.path-consent-slider::before { content: ''; position: absolute; width: 22px; height: 22px; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: .2s; }
.path-consent-switch input:checked + .path-consent-slider { background: #17382b; }
.path-consent-switch input:checked + .path-consent-slider::before { transform: translateX(20px); }
.path-consent-switch input:disabled + .path-consent-slider { cursor: not-allowed; opacity: .72; }
.path-consent-modal-actions { margin-top: 20px; }
.path-consent-floating { position: fixed; z-index: 99999; right: 14px; bottom: 14px; min-height: 36px; padding: 7px 12px; background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.18); }
body.path-consent-open { overflow: hidden; }
footer [data-consent-preferences] { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

@media (max-width: 760px) {
  .path-consent-banner { align-items: stretch; flex-direction: column; gap: 16px; padding: 18px; }
  .path-consent-actions { justify-content: stretch; }
  .path-consent-actions .path-consent-button { flex: 1 1 100%; }
  .path-consent-modal { padding: 20px; }
  .path-consent-modal-actions { flex-direction: column-reverse; }
  .path-consent-modal-actions .path-consent-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .path-consent-slider,
  .path-consent-slider::before { transition: none; }
}
