.cookie-banner {
  padding: 40px 0;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  z-index: 10000;
  border-radius: 10px 10px 0 0;
  filter: drop-shadow(0px -10px 25px rgba(0, 0, 0, 0.09));
}

.cookie-banner .basic_in {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-banner .t_box h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 145.833%;
  color: #000;
  margin-bottom: 5px;
}

.cookie-banner .t_box p {
  font-size: 1rem;
  line-height: 168.75%;
  color: #111;
}

.cookie-banner .t_box p a {
  color: #152458;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner .cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-banner .cookie-buttons button {
  width: 160px;
  height: 54px;
}

.preferences {
  width: 80%;
  max-width: 720px;
  padding: 55px 30px 50px;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.32px;
  line-height: 168.75%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  overflow-y: scroll;
  height: 80vh;
  border-radius: 10px;
  z-index: 99999999;
  display: none
}

.preferences p {
  color: #111;
}

.preferences h2 {
  text-align: center;
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 132.353%;
  color: var(--black);
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.preferences .tit {
  font-weight: 700;
  color: var(--black);
  margin-bottom: 5px
}

.preferences ul li {
  font-size: 0.875rem;
  line-height: 178.571%;
  letter-spacing: 0.28px;
  position: relative;
  padding-left: 11px;
  color: #111;
}

.preferences ul li::before {
  content: "";
  width: 3px;
  height: 3px;
  background: var(--black);
  opacity: 0.35;
  position: absolute;
  top: 11px;
  left: 0px
}

.preferences .border_box {
  padding-bottom: 30px;
  border-bottom: 1px dashed rgba(17, 17, 17, 0.12);
}

.preferences .toggle {
  margin-top: 5px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  cursor: pointer;
}

.preferences .toggle input {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
}

.preferences .toggle .custom_checkbox {
  width: 19px;
  height: 19px;
  border: 2px solid var(--main);
  border-radius: 3px;
  display: inline-block;
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center
}

.preferences .toggle .custom_checkbox::before {
  width: 11px;
  height: 11px;
  background: var(--main);
  border-radius: 1px;
  content: "";
  display: none
}

.preferences .toggle input:checked+.custom_checkbox::before {
  display: block
}

.preferences .btn_box {
  display: flex;
  gap: 10px;
  margin-top: 30px
}

.preferences .btn_box button {
  width: 50%;
  height: 54px
}

.overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 9999999;
  display: none
}

@media all and (max-width:1300px) {
  .cookie-banner .t_box {
    padding-right: 50px;
  }

  .cookie-banner .t_box p br {
    display: none;
  }
}

@media all and (max-width:980px) {
  .cookie-banner {
    padding: 30px 0;
  }

  .cookie-banner .t_box {
    padding-right: 30px;
  }

  .cookie-banner .btn_box button {
    width: 120px;
    height: 45px;
  }
}

@media all and (max-width:680px) {
  .cookie-banner {
    padding: 20px 0;
  }

  .cookie-banner .basic_in {
    display: block;
  }

  .cookie-banner .t_box {
    padding-right: 0;
    margin-bottom: 15px;
  }

  .cookie-banner .btn_box button {
    width: 50%;
  }
}