.lv-cookie[hidden] {
  display: none !important
}

.lv-cookie {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(22, 15, 25, .48);
  padding: 16px;
  font-family: inherit
      align-items: center;
}

.lv-cookie__panel {
  box-sizing: border-box;
  width: min(100%, 620px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: #f2eee8;
  color: #4c3b52;
  border: 1px solid #c7b28a;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 50px #0003
}

.lv-cookie__title {
  font-size: 1.45rem;
  margin: 0 0 12px
}

.lv-cookie p {
  font-size: .94rem;
  line-height: 1.6;
  margin: 0 0 16px
}

.lv-cookie a {
  color: #4c3b52;
  text-decoration: underline
}

.lv-cookie__options {
  display: grid;
  gap: 12px;
  margin: 16px 0
}

.lv-cookie__required {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: .93rem
}

.lv-cookie__required strong {
  font-size: .82rem
}

.lv-cookie label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .94rem
}

.lv-cookie input {
  accent-color: #4c3b52;
  width: 18px;
  height: 18px
}

.lv-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.lv-cookie button {
  cursor: pointer;
  flex: 1 1 145px;
  min-height: 44px;
  border: 1px solid #4c3b52;
  border-radius: 10px;
  padding: 10px 12px;
  background: transparent;
  color: #4c3b52;
  font: 600 .88rem inherit
}

.lv-cookie button[data-cookie="accept"] {
  background: #4c3b52;
  color: #fff
}

.lv-cookie button:focus-visible,
.lv-cookie a:focus-visible {
  outline: 3px solid #b28b46;
  outline-offset: 2px
}

@media(max-width:480px) {
  .lv-cookie {
    padding: 8px
  }

  .lv-cookie__panel {
    padding: 18px;
    max-height: calc(100dvh - 16px)
  }

  .lv-cookie__actions {
    flex-direction: column
  }

  .lv-cookie button {
    flex-basis: auto
  }
}

.lv-cookie__options label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    text-align: left;
}

.lv-cookie__options input[type="checkbox"] {
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
}
