:root {
  --tt-cookie-bg: #3b3b3b;
  --tt-cookie-fg: #dcdcdc;
  --tt-cookie-muted: #a9a9a9;
  --tt-cookie-line: rgba(220, 220, 220, .22);
  --tt-cookie-accent: #ff5c17;
}

#tt-footer-simple .tt-footer-simple__col.tt-footer-simple__privacy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  min-width: 150px !important;
  font-family: "DotGothic16", "Space Mono", monospace !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

#tt-footer-simple .tt-footer-simple__privacy,
#tt-footer-simple .tt-footer-simple__privacy a,
#tt-footer-simple .tt-footer-simple__privacy button {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  font-family: "DotGothic16", "Space Mono", monospace !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  font-style: normal !important;
}

#tt-footer-simple .tt-footer-simple__privacy button {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
}

#tt-footer-simple.tt-footer-simple .tt-footer-simple__col.tt-footer-simple__privacy a[href="privacy-policy.html"],
#tt-footer-simple.tt-footer-simple .tt-footer-simple__col.tt-footer-simple__privacy a[href="cookie-policy.html"] {
  font-family: "DotGothic16", "Space Mono", monospace !important;
}

#tt-footer-simple .tt-footer-simple__privacy a:hover,
#tt-footer-simple .tt-footer-simple__privacy a:focus-visible,
#tt-footer-simple .tt-footer-simple__privacy button:hover,
#tt-footer-simple .tt-footer-simple__privacy button:focus-visible,
#tt-footer-simple .tt-footer-simple__col a[href^="tel:"]:hover,
#tt-footer-simple .tt-footer-simple__col a[href^="tel:"]:focus-visible {
  color: #ff5c17 !important;
  -webkit-text-fill-color: #ff5c17 !important;
}

#tt-footer-simple.tt-footer-simple .tt-footer-simple__columns {
  width: 1160px !important;
  grid-template-columns: 296px 300px 300px 264px !important;
  column-gap: 0 !important;
}

#tt-footer-simple.tt-footer-simple .tt-footer-simple__col--mail {
  grid-column: 4 !important;
  grid-row: 1 !important;
}

.tt-cookie-banner,
.tt-cookie-panel {
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
}

.tt-cookie-banner {
  position: fixed;
  z-index: 2147483000;
  inset: auto 0 0;
  width: 100%;
  padding: 22px 20px;
  border: 0;
  background: rgba(82, 82, 82, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
  backdrop-filter: blur(18px) saturate(1.04);
  color: var(--tt-cookie-fg);
  box-shadow: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tt-cookie-banner { background: #525252; }
}

.tt-cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
}

.tt-cookie-banner__content {
  max-width: 560px;
}

.tt-cookie-banner[hidden],
.tt-cookie-panel[hidden] { display: none !important; }

.tt-cookie-banner__eyebrow,
.tt-cookie-panel__eyebrow,
.tt-cookie-category__name,
.tt-cookie-button {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  letter-spacing: .02em;
}

.tt-cookie-banner__eyebrow,
.tt-cookie-panel__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tt-cookie-banner__copy {
  max-width: 560px;
  margin: 0;
  color: rgba(220, 220, 220, .66);
  font-size: 12px;
  line-height: 1.45;
}

.tt-cookie-banner__link {
  display: inline-block;
  margin-top: 12px;
  color: rgba(220, 220, 220, .58);
  border-bottom: 1px solid rgba(220, 220, 220, .22);
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.tt-cookie-banner__link:hover { color: var(--tt-cookie-accent); border-color: var(--tt-cookie-accent); }

.tt-cookie-panel a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tt-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tt-cookie-banner__actions { margin-top: 0; }

.tt-cookie-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  height: 42px;
  padding: 0 20px;
  overflow: hidden;
  border: 0;
  background: rgba(220, 220, 220, .08);
  color: var(--tt-cookie-fg);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}

.tt-cookie-button::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--tt-cookie-accent);
  opacity: 0;
  transform: translateY(-50%);
  transition: height .34s cubic-bezier(.2, 1, .2, 1), opacity .18s ease;
}

.tt-cookie-button > span { position: relative; z-index: 2; }
.tt-cookie-button:hover::before,
.tt-cookie-button:focus-visible::before { height: 100%; opacity: 1; }
.tt-cookie-button:hover,
.tt-cookie-button:focus-visible { color: #000; }

.tt-cookie-button--quiet { background: transparent; color: var(--tt-cookie-muted); font-weight: 400; }
.tt-cookie-button--quiet::before { display: none; }
.tt-cookie-button--quiet:hover,
.tt-cookie-button--quiet:focus-visible { background: rgba(220, 220, 220, .08); color: var(--tt-cookie-fg); }

.tt-cookie-button--primary {
  border-color: var(--tt-cookie-accent);
  background: var(--tt-cookie-accent);
  color: #252525;
}

.tt-cookie-button:hover,
.tt-cookie-button:focus-visible {
  border-color: var(--tt-cookie-accent);
  outline: none;
}

.tt-cookie-button:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 92, 23, .32);
}

.tt-cookie-panel {
  position: fixed;
  z-index: 2147483001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .66);
}

.tt-cookie-panel__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 30px 28px 26px;
  border: 0;
  background: var(--tt-cookie-bg);
  color: var(--tt-cookie-fg);
  box-shadow: 0 22px 80px rgba(0, 0, 0, .42);
}

.tt-cookie-panel__title {
  margin: 0 54px 14px 0;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}

.tt-cookie-panel__intro {
  max-width: 610px;
  margin: 0 0 26px;
  color: var(--tt-cookie-muted);
  font-size: 12px;
  line-height: 1.45;
}

.tt-cookie-panel__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 0;
  background: rgba(220, 220, 220, .08);
  color: var(--tt-cookie-fg);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.tt-cookie-category {
  padding: 18px 20px;
  margin-bottom: 10px;
  background: rgba(220, 220, 220, .08);
}

.tt-cookie-category__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.tt-cookie-category__name { margin: 0; font-family: "DotGothic16", "Space Mono", monospace; font-size: 16px; font-weight: 400; }
.tt-cookie-category__description { margin: 0; color: var(--tt-cookie-muted); font-size: 14px; line-height: 1.5; }
.tt-cookie-category__status { color: var(--tt-cookie-muted); font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tt-cookie-category__services { margin: 8px 0 0; color: rgba(220,220,220,.34); font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700; }
.tt-cookie-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.tt-cookie-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tt-cookie-toggle__track { position: relative; width: 60px; height: 28px; background: rgba(220,220,220,.12); }
.tt-cookie-toggle__track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 20px; background: rgba(220,220,220,.34); transition: transform .22s cubic-bezier(.2,1,.2,1), background-color .2s ease; }
.tt-cookie-toggle input:checked + .tt-cookie-toggle__track { background: rgba(255,92,23,.2); }
.tt-cookie-toggle input:checked + .tt-cookie-toggle__track::after { transform: translateX(30px); background: var(--tt-cookie-accent); }
.tt-cookie-toggle__label { min-width: 26px; color: var(--tt-cookie-muted); font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tt-cookie-toggle input:checked ~ .tt-cookie-toggle__label { color: var(--tt-cookie-accent); }
.tt-cookie-details { margin-top: 14px; }
.tt-cookie-details summary { color: var(--tt-cookie-muted); font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; list-style: none; }
.tt-cookie-details summary::-webkit-details-marker { display: none; }
.tt-cookie-details summary::before { content: "+ "; color: var(--tt-cookie-accent); }
.tt-cookie-details[open] summary::before { content: "− "; }
.tt-cookie-detail-row { display: grid; grid-template-columns: minmax(150px, .7fr) 1.5fr; gap: 16px; padding-top: 10px; color: var(--tt-cookie-muted); font-size: 12px; line-height: 1.4; }
.tt-cookie-detail-row code { color: var(--tt-cookie-fg); font-family: "Space Mono", monospace; font-size: 12px; font-weight: 700; }
.tt-cookie-panel__actions { margin-top: 20px; }
.tt-cookie-panel__note { width: 100%; margin: 6px 0 0; color: rgba(220,220,220,.34); font-size: 12px; line-height: 1.45; }

@media (max-width: 600px) {
  html.tt-cookie-modal-open,
  html.tt-cookie-modal-open body {
    overflow: hidden;
  }

  .tt-cookie-banner { padding: 18px 16px 20px; }
  .tt-cookie-banner__inner { grid-template-columns: 1fr; row-gap: 18px; align-items: start; }
  .tt-cookie-banner__actions { width: 100%; }
  .tt-cookie-banner__actions .tt-cookie-button { flex: 1 1 46%; min-width: 0; }
  .tt-cookie-banner__actions .tt-cookie-button--quiet { order: 3; flex: 1 1 100%; }
  .tt-cookie-panel .tt-cookie-actions { display: grid; }
  .tt-cookie-panel .tt-cookie-button { width: 100%; }
  .tt-cookie-panel {
    place-items: start center;
    height: 100vh;
    height: 100dvh;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
    overflow: hidden;
  }
  .tt-cookie-panel__dialog {
    box-sizing: border-box;
    max-height: 100%;
    padding: 22px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .tt-cookie-panel__close {
    position: sticky;
    z-index: 1;
    top: 0;
    right: auto;
    float: right;
    margin: -8px -4px 0 12px;
  }
  .tt-cookie-category__head { align-items: flex-start; }
  .tt-cookie-detail-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: no-preference) {
  .tt-cookie-banner { animation: tt-cookie-in .34s cubic-bezier(.2, 1, .2, 1) both; }
  .tt-cookie-panel__dialog { animation: tt-cookie-in .28s cubic-bezier(.2, 1, .2, 1) both; }
  @keyframes tt-cookie-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}
