/* ============================================================
   TBM COOKIE CONSENT
   ============================================================ */

.tbmcc-root,
.tbmcc-root *,
.tbmcc-root *::before,
.tbmcc-root *::after {
  box-sizing: border-box;
}

html.tbmcc-lock,
html.tbmcc-lock body {
  overflow: hidden !important;
}

.tbmcc-banner[hidden],
.tbmcc-modal[hidden],
.tbmcc-backdrop[hidden],
.tbmcc-manage[hidden] {
  display: none !important;
}

.tbmcc-banner {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2147483000;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  background: #121212;
  color: #f4f4f1;
  border: 1px solid #474747;
  box-shadow: 0 18px 70px rgba(0,0,0,.46);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tbmcc-banner__mark {
  color: #8f8f8b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.tbmcc-banner__copy strong {
  display: block;
  margin-bottom: 7px;
  color: #f4f4f1;
  font-size: 16px;
  letter-spacing: .03em;
}

.tbmcc-banner__copy p {
  margin: 0 !important;
  color: #bdbdb9 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.tbmcc-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.tbmcc-banner__links a {
  color: #a9a9a5 !important;
  font-size: 12px;
  text-decoration: underline !important;
}

.tbmcc-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tbmcc-btn {
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 0 !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  cursor: pointer;
}

.tbmcc-btn--primary {
  border: 1px solid #f4f4f1 !important;
  background: #f4f4f1 !important;
  color: #090909 !important;
}

.tbmcc-btn--ghost {
  border: 1px solid #474747 !important;
  background: transparent !important;
  color: #f4f4f1 !important;
}

.tbmcc-btn:hover,
.tbmcc-inline-trigger:hover,
.tbmcc-manage:hover {
  transform: translateY(-1px);
}

.tbmcc-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(7px);
}

.tbmcc-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2147483002;
  width: min(780px, calc(100vw - 32px));
  max-height: min(820px, calc(100vh - 32px));
  transform: translate(-50%, -50%);
  overflow: auto;
  background: #111;
  color: #f4f4f1;
  border: 1px solid #474747;
  box-shadow: 0 28px 100px rgba(0,0,0,.62);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tbmcc-modal__header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 26px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  background: #111;
  border-bottom: 1px solid #303030;
}

.tbmcc-modal__header span {
  display: block;
  margin-bottom: 9px;
  color: #8f8f8b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.tbmcc-modal__header h2 {
  margin: 0 !important;
  color: #f4f4f1 !important;
  font-family: "Anton", Impact, sans-serif !important;
  font-size: clamp(30px, 5vw, 48px) !important;
  font-weight: 400 !important;
  line-height: .95 !important;
}

.tbmcc-close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #3b3b3b !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #f4f4f1 !important;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.tbmcc-modal__intro {
  padding: 24px 28px 6px;
}

.tbmcc-modal__intro p {
  margin: 0 !important;
  color: #bdbdb9 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.tbmcc-preferences {
  padding: 14px 28px 28px;
}

.tbmcc-pref {
  position: relative;
  min-height: 122px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid #303030;
  cursor: pointer;
}

.tbmcc-pref:first-child {
  border-top: 1px solid #303030;
}

.tbmcc-pref__copy span {
  display: block;
  margin-bottom: 7px;
  color: #858581;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.tbmcc-pref__copy strong {
  display: block;
  color: #f4f4f1;
  font-size: 16px;
}

.tbmcc-pref__copy p {
  margin: 7px 0 0 !important;
  color: #a9a9a5 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.tbmcc-pref input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tbmcc-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex: 0 0 48px;
  display: block;
  border: 1px solid #555;
  background: #1c1c1c;
  transition: .2s ease;
}

.tbmcc-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  background: #777;
  transition: .2s ease;
}

.tbmcc-pref input:checked + .tbmcc-switch {
  background: #f4f4f1;
  border-color: #f4f4f1;
}

.tbmcc-pref input:checked + .tbmcc-switch::after {
  left: 26px;
  background: #090909;
}

.tbmcc-pref input:focus-visible + .tbmcc-switch {
  outline: 2px solid #f4f4f1;
  outline-offset: 3px;
}

.tbmcc-fixed {
  padding: 10px 12px;
  border: 1px solid #474747;
  color: #c5c5c1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  white-space: nowrap;
}

.tbmcc-modal__footer {
  position: sticky;
  bottom: 0;
  padding: 20px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #111;
  border-top: 1px solid #303030;
}

.tbmcc-manage {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 2147482998;
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid #3d3d3d !important;
  border-radius: 0 !important;
  background: #111 !important;
  color: #f4f4f1 !important;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  cursor: pointer;
}

.tbmcc-inline-trigger {
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #474747 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #f4f4f1 !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
}

@media (max-width: 900px) {
  .tbmcc-banner {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .tbmcc-banner__mark {
    display: none;
  }

  .tbmcc-banner__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 650px) {
  .tbmcc-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
  }

  .tbmcc-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tbmcc-btn {
    width: 100%;
  }

  .tbmcc-modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .tbmcc-modal__header,
  .tbmcc-modal__intro,
  .tbmcc-preferences,
  .tbmcc-modal__footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .tbmcc-pref {
    grid-template-columns: minmax(0,1fr) 48px;
    gap: 16px;
  }

  .tbmcc-fixed {
    white-space: normal;
    text-align: center;
  }

  .tbmcc-modal__footer {
    display: grid;
    grid-template-columns: 1fr;
  }
}
