.lp-cookie[hidden],
.lp-cookie [hidden]{
  display:none!important;
}

.lp-cookie{
  position:fixed;
  inset:auto 0 0;
  z-index:9999;
  padding:18px;
  pointer-events:none;
  font-family:var(--sans, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.lp-cookie__panel{
  width:min(980px, calc(100vw - 36px));
  margin:0 auto;
  padding:20px;
  border:1px solid rgba(229,231,235,.95);
  background:rgba(255,255,255,.98);
  color:#15131d;
  box-shadow:0 22px 60px rgba(15,23,42,.18);
  pointer-events:auto;
}

.lp-cookie__intro{
  display:grid;
  gap:8px;
}

.lp-cookie__eyebrow{
  margin:0;
  color:#9a7a42;
  font-size:10px;
  font-weight:700;
  letter-spacing:.22em;
  line-height:1.2;
  text-transform:uppercase;
}

.lp-cookie h2{
  margin:0;
  color:#15131d;
  font-family:var(--serif, Georgia, serif);
  font-size:24px;
  font-weight:400;
  line-height:1.2;
}

.lp-cookie p{
  margin:0;
}

.lp-cookie__intro p:not(.lp-cookie__eyebrow){
  max-width:74ch;
  color:#5f6673;
  font-size:14px;
  line-height:1.65;
}

.lp-cookie__choices{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}

.lp-cookie__choice{
  display:flex;
  gap:10px;
  min-width:0;
  min-height:104px;
  padding:14px;
  border:1px solid #e5e7eb;
  background:#fafafa;
}

.lp-cookie__choice input{
  flex:0 0 auto;
  width:18px;
  height:18px;
  margin:2px 0 0;
  accent-color:#15131d;
}

.lp-cookie__choice span{
  display:grid;
  gap:4px;
  min-width:0;
}

.lp-cookie__choice strong{
  color:#15131d;
  font-size:13px;
  line-height:1.3;
}

.lp-cookie__choice small{
  color:#6b7280;
  font-size:12px;
  line-height:1.45;
}

.lp-cookie__choice--locked{
  background:#f4f1ec;
}

.lp-cookie__actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:18px;
  flex-wrap:wrap;
}

.lp-cookie__btn{
  min-height:44px;
  padding:11px 16px;
  border:1px solid #d7d2c8;
  background:#fff;
  color:#15131d;
  cursor:pointer;
  font:700 12px/1.2 var(--sans, Inter, sans-serif);
  letter-spacing:.08em;
  text-transform:uppercase;
  transition:background .16s ease, border-color .16s ease, color .16s ease;
}

.lp-cookie__btn:hover,
.lp-cookie__btn:focus-visible{
  border-color:#15131d;
  outline:none;
}

.lp-cookie__btn--dark{
  border-color:#15131d;
  background:#15131d;
  color:#fff;
}

.lp-cookie__btn--dark:hover,
.lp-cookie__btn--dark:focus-visible{
  background:#2a2533;
}

.lp-cookie__links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  margin-top:12px;
  color:#6b7280;
  font-size:12px;
  line-height:1.4;
}

.lp-cookie__links a,
.lp-cookie__links button{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
}

.lp-cookie__links button{
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  font:inherit;
}

.lp-cookie__links a:hover,
.lp-cookie__links button:hover{
  color:#15131d;
}

body.lp-cookie-lock{
  padding-bottom:0;
}

@media (max-width:860px){
  .lp-cookie{
    padding:12px;
  }

  .lp-cookie__panel{
    width:100%;
    max-height:calc(100svh - 24px);
    overflow:auto;
    padding:18px;
  }

  .lp-cookie__choices{
    grid-template-columns:1fr 1fr;
  }

  .lp-cookie__actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .lp-cookie__btn{
    width:100%;
  }

  .lp-cookie__links{
    justify-content:center;
    text-align:center;
    flex-wrap:wrap;
  }
}

@media (max-width:520px){
  .lp-cookie{
    padding:0;
  }

  .lp-cookie__panel{
    width:100%;
    max-height:100svh;
    border-right:0;
    border-bottom:0;
    border-left:0;
    padding:18px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .lp-cookie h2{
    font-size:22px;
  }

  .lp-cookie__intro p:not(.lp-cookie__eyebrow){
    font-size:13px;
  }

  .lp-cookie__choices{
    grid-template-columns:1fr;
  }

  .lp-cookie__choice{
    min-height:0;
  }
}
