#tz-cookie-consent,
#tz-cookie-consent * {
  box-sizing: border-box;
}

#tz-cookie-consent {
  position: relative;
  z-index: 2147483000;
  color: #f7f2e8;
  font: 14px/1.45 Arial, Helvetica, sans-serif;
}

.tz-consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #8d7455;
  border-radius: 12px;
  background: #191713;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.58);
}

.tz-consent-banner[hidden],
.tz-consent-backdrop[hidden],
.tz-consent-media-category[hidden] {
  display: none !important;
}

.tz-consent-copy strong {
  display: block;
  margin-bottom: 6px;
  color: #ffe0a0;
  font-size: 17px;
}

.tz-consent-copy p {
  max-width: 760px;
  margin: 5px 0;
  color: #ddd3c4;
}

.tz-consent-copy .tz-consent-consequence {
  color: #fff;
}

.tz-consent-policy {
  display: inline-block;
  margin-top: 7px;
  color: #ffd285 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.tz-consent-actions,
.tz-consent-modal-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.tz-consent-actions {
  justify-content: flex-end;
  max-width: 390px;
}

.tz-consent-actions button,
.tz-consent-modal-actions button,
.tz-consent-manage,
.tz-media-placeholder button {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #b89a68;
  border-radius: 7px;
  color: #fff;
  background: #302a22;
  font: 700 13px/1.2 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.tz-consent-actions button:hover,
.tz-consent-modal-actions button:hover,
.tz-consent-manage:hover,
.tz-media-placeholder button:hover {
  border-color: #ffe0a0;
  background: #493c2c;
}

.tz-consent-actions button:focus-visible,
.tz-consent-modal-actions button:focus-visible,
.tz-consent-manage:focus-visible,
.tz-consent-close:focus-visible,
.tz-media-placeholder button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.tz-consent-manage {
  position: fixed;
  right: 14px;
  bottom: 14px;
  min-height: 36px;
  padding: 7px 11px;
  border-color: #73614a;
  border-radius: 999px;
  color: #f2dfbc;
  background: #17140f;
  font-size: 11px;
  opacity: 0.92;
}

.tz-consent-banner:not([hidden]) + .tz-consent-manage {
  display: none;
}

.tz-consent-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
}

.tz-consent-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 25px;
  border: 1px solid #927753;
  border-radius: 12px;
  color: #f7f2e8;
  background: #1c1915;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.7);
}

.tz-consent-modal h2 {
  margin: 0 44px 6px 0;
  color: #ffe0a0;
  font-size: 24px;
}

.tz-consent-modal > p {
  margin: 0 0 18px;
  color: #d3c8b8;
}

.tz-consent-close {
  position: absolute;
  top: 13px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid #6f604d;
  border-radius: 50%;
  color: #fff;
  background: #2b261f;
  font-size: 25px;
  cursor: pointer;
}

.tz-consent-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid #4a4135;
}

.tz-consent-category strong,
.tz-consent-category span {
  display: block;
}

.tz-consent-category strong {
  margin-bottom: 3px;
  color: #fff;
}

.tz-consent-category div > span {
  max-width: 510px;
  color: #bfb4a4;
}

.tz-consent-category label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  white-space: nowrap;
}

.tz-consent-category input {
  width: 20px;
  height: 20px;
  accent-color: #c89b50;
}

.tz-consent-modal-actions {
  margin-top: 20px;
}

.tz-consent-open {
  overflow: hidden;
}

.tz-media-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100%;
  padding: 18px;
  text-align: center;
  color: #e7dac2;
  background:
    linear-gradient(135deg, rgba(213, 183, 121, 0.12), transparent 55%),
    #0d0b09;
}

.tz-media-placeholder strong,
.tz-media-placeholder span {
  display: block;
}

.tz-media-placeholder strong {
  margin-bottom: 5px;
  color: #f2d599;
  font-size: 16px;
}

.tz-media-placeholder span {
  max-width: 420px;
  margin-bottom: 13px;
  color: #b9aa90;
}

@media (max-width: 760px) {
  .tz-consent-banner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tz-consent-actions {
    justify-content: stretch;
    max-width: none;
  }

  .tz-consent-actions button {
    flex: 1 1 130px;
  }

  .tz-consent-category {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .tz-consent-category label {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .tz-consent-banner {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 15px;
  }

  .tz-consent-modal {
    padding: 20px 16px;
  }

  .tz-consent-modal-actions button {
    width: 100%;
  }
}
