.tk-site-footer {
  width: 100%;
  margin: clamp(48px, 7vw, 112px) 0 0;
  padding: 0;
  background: transparent;
  color: var(--tk-paper);
}

.tk-footer-shell {
  box-sizing: border-box;
  width: min(1800px, calc(100% - clamp(32px, 4vw, 80px)));
  min-height: 390px;
  margin: 0 auto;
  padding: clamp(52px, 5vw, 82px) clamp(28px, 5vw, 82px) 30px;
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(0, 2.28fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(52px, 7vw, 130px);
  row-gap: clamp(42px, 5vw, 76px);
  border-radius: clamp(26px, 2.5vw, 42px) clamp(26px, 2.5vw, 42px) 0 0;
  background: var(--tk-ink);
  overflow: hidden;
}

.tk-footer-brand a {
  display: block;
  width: clamp(110px, 10vw, 158px);
  line-height: 0;
}

.tk-footer-brand img {
  display: block;
  width: 100%;
  height: auto;
  filter: invert(1);
}

.tk-footer-brand p {
  margin: 17px 0 0;
  color: #aeb5af;
  font: 700 9px/1.4 'Space Mono', monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.tk-footer-links {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 72px);
}

.tk-footer-links > .links {
  width: auto;
  max-width: none;
  padding: 0;
}

.tk-footer-links > .links:first-child {
  display: block;
}

.tk-footer-links > .links:first-child > .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 72px);
  margin: 0;
}

.tk-footer-links > .links:first-child .wrapper {
  width: auto;
  max-width: none;
  padding: 0;
}

.tk-footer-links .block-contact,
.tk-footer-links .block-social,
.tk-footer-links .block_newsletter,
.tk-footer-links > [class^="wishlist-"] {
  display: none;
}

.tk-footer-links .h3,
.tk-footer-links .title .h3 {
  margin: 0 0 20px;
  color: var(--tk-paper);
  font: 700 10px/1.4 'Space Mono', monospace;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.tk-footer-links #block_myaccount_infos .myaccount-title a {
  color: var(--tk-paper);
}

.tk-footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tk-footer-links li + li {
  margin-top: 9px;
}

.tk-footer-links a {
  color: #b9c0ba;
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
  transition: color .2s ease;
}

.tk-footer-links a:hover,
.tk-footer-links a:focus-visible {
  color: var(--tk-mint);
}

.tk-footer-meta {
  grid-column: 1 / -1;
  min-height: 44px;
  padding-top: 25px;
  display: flex;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: #aeb5af;
  font: 500 10px/1.4 'Space Mono', monospace;
}

@media (max-width: 900px) {
  .tk-site-footer {
    margin-top: 64px;
  }

  .tk-footer-shell {
    width: 100%;
    min-height: 0;
    padding: 38px 22px 26px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 34px;
    border-radius: 26px 26px 0 0;
  }

  .tk-footer-brand a {
    width: 116px;
  }

  .tk-footer-links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tk-footer-links > .links:first-child,
  .tk-footer-links > .links:first-child > .row {
    display: block;
  }

  .tk-footer-links .wrapper {
    border-top: 1px solid rgba(255, 255, 255, .2);
  }

  .tk-footer-links .title {
    min-height: 54px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .tk-footer-links .title .h3 {
    margin: 0;
  }

  .tk-footer-links .collapse {
    padding: 0 0 20px;
  }

  .tk-footer-links .collapse.in {
    display: block;
  }

  .tk-footer-links .navbar-toggler {
    color: var(--tk-mint);
  }

  .tk-footer-meta {
    grid-column: auto;
    min-height: 0;
    padding-top: 22px;
  }
}

/* ---------- Teklano footer navigation (teklanocontent widget) ---------- */
.tk-footer-links:has(> .tk-footer-nav) {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 44px);
}

.tk-footer-nav {
  align-self: stretch;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px clamp(24px, 3vw, 56px);
}

.tk-footer-col {
  min-width: 0;
}

.tk-footer-title {
  margin: 0 0 20px;
  color: var(--tk-paper);
  font: 700 10px/1.4 'Space Mono', monospace;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.tk-footer-col address {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #b9c0ba;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

/* Factory link blocks are replaced by the widget; hide them if they are still hooked. */
.tk-footer-hooks > .links:not(.tk-cookie-settings-slot),
.tk-footer-hooks #block_myaccount_infos,
.tk-footer-hooks .block-contact {
  display: none !important;
}

.tk-footer-hooks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.tk-footer-hooks:empty {
  display: none;
}

.tk-footer-hooks .tk-cookie-settings-slot {
  width: auto;
  max-width: none;
  padding: 0;
}

.tk-footer-hooks .tk-cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: #b9c0ba;
  font-size: 12px;
  cursor: pointer;
}

.tk-footer-hooks .tk-cookie-settings:hover,
.tk-footer-hooks .tk-cookie-settings:focus-visible {
  color: var(--tk-mint);
}

@media (max-width: 900px) {
  .tk-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .tk-footer-links:has(> .tk-footer-nav) {
    gap: 28px;
  }
}
