.lokaly-consent {
  --lokaly-consent-accent: #138a45;
  --lokaly-consent-navy: #061d31;
  --lokaly-consent-muted: #62758a;
  position: relative;
  z-index: 2147483000;
}

.lokaly-consent [hidden] { display: none !important; }
.lokaly-consent button, .lokaly-consent a { font: inherit; }
.lokaly-consent__banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(190px, 250px);
  gap: 24px;
  align-items: center;
  width: min(1480px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 24px 30px;
  color: var(--lokaly-consent-navy);
  background: rgba(255,255,255,.98);
  border: 1px solid #d6e2ec;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(5,29,49,.22);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.lokaly-consent__close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--lokaly-consent-navy);
  font-size: 30px;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.lokaly-consent__close:hover, .lokaly-consent__close:focus-visible { background: #edf4f8; }
.lokaly-consent__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #063422;
  background: #c6f7d8;
  border-radius: 18px;
}
.lokaly-consent__mark .material-icons { font-size: 32px; }
.lokaly-consent__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--lokaly-consent-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
}
.lokaly-consent__copy h2 { margin: 0 0 6px; color: var(--lokaly-consent-navy); font-size: clamp(22px,2vw,30px); line-height: 1.12; }
.lokaly-consent__copy p { max-width: 880px; margin: 0 0 7px; color: var(--lokaly-consent-muted); font-size: 15px; line-height: 1.5; }
.lokaly-consent__copy a, .lokaly-consent__panel footer > a { color: #075fac; font-size: 14px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.lokaly-consent__actions { display: grid; gap: 8px; }
.lokaly-consent__button {
  min-height: 44px;
  padding: 10px 18px;
  font-weight: 800;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.lokaly-consent__button:hover { transform: translateY(-1px); }
.lokaly-consent__button:focus-visible, .lokaly-consent__close:focus-visible, .lokaly-consent__reopen:focus-visible, .lokaly-consent__panel header button:focus-visible { outline: 3px solid rgba(15,124,247,.35); outline-offset: 2px; }
.lokaly-consent__button--accept { color: #fff; background: var(--lokaly-consent-accent); box-shadow: 0 8px 20px rgba(19,138,69,.22); }
.lokaly-consent__button--reject { color: #fff; background: #263e52; }
.lokaly-consent__button--customize { color: var(--lokaly-consent-navy); background: #fff; border-color: #b9c9d6; }

.lokaly-consent__overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1,17,31,.6);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.lokaly-consent__panel {
  width: min(760px, 100%);
  max-height: min(780px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  color: var(--lokaly-consent-navy);
  background: #fff;
  border: 1px solid #d6e2ec;
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(1,17,31,.34);
}
.lokaly-consent__panel > header { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; }
.lokaly-consent__panel > header span { color: var(--lokaly-consent-accent); font-size: 12px; font-weight: 800; letter-spacing: .09em; }
.lokaly-consent__panel > header h2 { margin: 5px 0 0; color: var(--lokaly-consent-navy); font-size: clamp(25px,4vw,36px); line-height: 1.12; }
.lokaly-consent__panel > header button { flex: 0 0 auto; width: 40px; height: 40px; padding: 0; color: var(--lokaly-consent-navy); font-size: 30px; line-height: 1; background: #edf4f8; border: 0; border-radius: 50%; cursor: pointer; }
.lokaly-consent__panel > p { margin: 14px 0 22px; color: var(--lokaly-consent-muted); line-height: 1.55; }
.lokaly-consent__categories { display: grid; gap: 10px; }
.lokaly-consent__categories article { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 17px 18px; background: #f5f8fa; border: 1px solid #dce6ee; border-radius: 17px; }
.lokaly-consent__categories strong { display: block; margin-bottom: 4px; font-size: 17px; }
.lokaly-consent__categories p { margin: 0; color: var(--lokaly-consent-muted); font-size: 14px; line-height: 1.45; }
.lokaly-consent__always { flex: 0 0 auto; color: var(--lokaly-consent-accent); font-size: 13px; font-weight: 850; }
.lokaly-consent__switch { position: relative; flex: 0 0 54px; width: 54px; height: 30px; cursor: pointer; }
.lokaly-consent__switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.lokaly-consent__switch span { position: absolute; inset: 0; background: #9eafbd; border-radius: 999px; transition: .18s ease; }
.lokaly-consent__switch span::after { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; content: ''; background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(6,29,49,.2); transition: .18s ease; }
.lokaly-consent__switch input:checked + span { background: var(--lokaly-consent-accent); }
.lokaly-consent__switch input:checked + span::after { transform: translateX(24px); }
.lokaly-consent__switch input:focus-visible + span { outline: 3px solid rgba(15,124,247,.35); outline-offset: 3px; }
.lokaly-consent__panel footer { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-top: 22px; }
.lokaly-consent__panel footer > div { display: flex; gap: 9px; }
.lokaly-consent__reopen {
  position: fixed;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: #082940;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(1,17,31,.22);
  cursor: pointer;
}
.lokaly-consent__reopen .material-icons { color: #62db87; font-size: 19px; }
html.lokaly-consent-is-open { overflow: hidden; }

@media (max-width: 820px) {
  .lokaly-consent__banner { right: 10px; bottom: 10px; left: 10px; grid-template-columns: 48px 1fr; gap: 12px; width: calc(100vw - 20px); padding: 20px 18px 16px; border-radius: 20px; }
  .lokaly-consent__mark { width: 46px; height: 46px; border-radius: 14px; }
  .lokaly-consent__mark .material-icons { font-size: 25px; }
  .lokaly-consent__copy { padding-right: 22px; }
  .lokaly-consent__copy h2 { font-size: 21px; }
  .lokaly-consent__copy p { font-size: 14px; }
  .lokaly-consent__actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .lokaly-consent__button--customize { grid-column: 1 / -1; }
  .lokaly-consent__overlay { align-items: end; padding: 8px; }
  .lokaly-consent__panel { max-height: calc(100vh - 16px); padding: 22px 16px 18px; border-radius: 22px; }
  .lokaly-consent__categories article { gap: 12px; padding: 14px; }
  .lokaly-consent__panel footer { align-items: stretch; flex-direction: column; }
  .lokaly-consent__panel footer > div { display: grid; grid-template-columns: 1fr 1fr; }
  .lokaly-consent__reopen span:last-child { display: none; }
  .lokaly-consent__reopen { width: 44px; height: 44px; justify-content: center; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lokaly-consent *, .lokaly-consent *::before, .lokaly-consent *::after { scroll-behavior: auto !important; transition: none !important; }
}
