
.cc-window.cc-theme-classic {
  background-color:#FFFFFF;
  max-width:1200px;
  width: calc(100% - 50px);
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  border-radius:10px;
  box-shadow:0 3px 10px rgba(0,0,0,.33);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  grid-column-gap: 20px;
  padding:20px 30px;
}
.cc-window.cc-theme-classic.hide {
  display: none!important;
}
.cc-window .cc-link {
  display: none;
}
.cc-window .cc-message {
  font-size: 14px;
  font-weight:500;
  line-height: 1.8;
  margin:0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  grid-column-gap: 1em;
}
.cc-window .cc-message a {
  text-decoration: underline;
  color:inherit;
  font-weight:600;
}
.cc-window .cc-message .set_cookie {
  font-weight: 600;
  text-decoration: underline;
  color:#666666;
  cursor: pointer;
}
.cc-window .cc-compliance {
  display: grid;
  grid-template-columns: repeat(2,auto);
  align-items: center;
  justify-content: center;
  font-size: 14px;
  grid-column-gap: 10px;
}
.cc-window .cc-compliance .cc-btn {
  display: grid;
  width: 6em;
  min-width: 0;
  height: 3em;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  color:#FFFFFF;
  border-radius: 10px;
  margin:0;
  padding: 0;
  border:none;
}
.cc-window .cc-compliance .cc-btn.cc-deny {
  background-color: #cb4d6e;
}
.cc-window .cc-compliance .cc-btn.cc-allow {
  background-color: #3174c3;
}

.cc-revoke {
  display: none !important;
}
@media (hover:hover) {

.cc-window .cc-compliance .cc-btn.cc-deny,
.cc-window .cc-compliance .cc-btn.cc-allow {
  text-decoration: none;
}

}

@media print, screen and (max-width: 767px) {

  .cc-window.cc-theme-classic {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    padding:20px 20px 30px;
    grid-row-gap: 20px;
  }
  .cc-window .cc-message {
    font-size: 13px;
    grid-template-columns: 1fr;
    justify-items: center;
    grid-row-gap: 1em;
  }
}

.cookie-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  inset: 0;
  background: rgba(0,0,0,.4);
  display: grid;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.cookie-modal:not(.show) {
  display: none!important;
}

.cookie-card {
  width: min(92%, 650px);
  max-height: 85vh;
  background: #fff;
  border-radius: 10px;
  margin:0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.cookie-header {
  display: grid;
  grid-template-columns: repeat(2,auto);
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  padding:30px 40px;
}
.cookie-header h2 {
  font-weight: 600;
  font-size: inherit;
  margin: 0;
}

.cookie-header .close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.cookie-body {
  padding: 0 40px 30px;
  overflow-y: auto;
  font-size: 14px;
  overflow-y: auto;
}
.cookie-body p {
  line-height: 2;
  margin: 0;
}
.cookie-body p:not(:last-child) {
  margin-bottom: 1em;
}
.cookie-body p:has( + .cookie-option) {
  margin-bottom: 3em;
}
.cookie-option {
  padding:30px;
  background: #f7f7f7;
  border-radius: 8px;
}
.cookie-option dt {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  grid-column-gap: 1.33em;
}
.cookie-option dt input {
  width: 1.3em;
  height: 1.3em;
  filter: grayscale(100%);
}
.cookie-option dt label {
  margin:0;
}
.cookie-option dt .detailopen {
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr .6em;
  grid-column-gap: 1em;
  align-items: center;
}
.cookie-option dt .icon {
  height: .6em;
  border-bottom:2px solid #000000;
  border-right:2px solid #000000;
  transform: rotate(45deg);
}
.cookie-detail {
  padding-top: 2em;
  padding-left: 2.5em;
  display: none;
  margin:0;
}
.cookie-detail ul {
  margin: 0;
}
.cookie-detail ul li {
  line-height: 2;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 40px;
  border-top: 1px solid #ddd;
}

.cookie-actions .btn {
  font-size: 14px;
  display: grid;
  height: 2.4em;
  width: 6em;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.cookie-actions .btn.primary {
  background: #000;
  color: #fff;
  border-radius: 8px!important;
}

.cookie-actions .btn.ghost {
  background: transparent;
}


@media print, screen and (max-width: 767px) {

  .cookie-card {
    width: min(95%, 650px);
  }

  .cookie-header {
    font-size: 15px;
    padding:20px;
  }

  .cookie-body {
    padding: 0 20px 30px;
    font-size: 13px;
  }
  .cookie-body p {
    line-height: 1.7;
  }
  .cookie-body p:has( + .cookie-option) {
    margin-bottom: 2em;
  }
  .cookie-option {
    padding:20px;
  }
  .cookie-option dt > span {
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr .6em;
    grid-column-gap: 1em;
    align-items: center;
  }
  .cookie-detail {
    padding-top: 2em;
    padding-left: 0;
  }
  .cookie-detail ul li {
    line-height: 2;
  }

  .cookie-actions {
    padding: 15px 20px;
  }

  .cookie-actions .btn {
    font-size: 13px;
  }

}