/* The footer (partials/site-footer.blade.php). See docs/design-system.md (Footer and small forms). */

.cmplz-manage-consent.cmplz-btn {
  display: none;
}

.bk-footer {
  border-top: var(--ck-edge);
}

.bk-footer__frame {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64px;
  padding: 0 24px;
}

.single-product .bk-footer__frame {
  background-color: var(--ck-surface);
}

.bk-footer__inner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding: 10px;
}

.bk-footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.bk-footer__nav {
  display: flex;
  width: 100%;
}

.bk-footer__menu,
.bk-footer__menu li,
.bk-footer__social ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bk-footer__menu {
  --bk-footer-gap: 17.5px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-inline: auto;
  line-height: normal;
}

.bk-footer__menu > li {
  display: flex;
  position: relative;
}

.bk-footer__menu > li:not(:last-child)::after {
  content: "";
  align-self: center;
  height: 35%;
  border-left: 1px solid var(--ck-ink);
}

.bk-footer__menu > li.ck-line-end::after {
  display: none;
}

.bk-footer__menu a,
.bk-footer .bk-footer__menu .bk-consent-link {
  display: flex;
  flex-grow: 1;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 13px;
  letter-spacing: inherit;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
}

.bk-footer__menu > li:not(:first-child) > a {
  margin-inline-start: var(--bk-footer-gap);
}

.bk-footer__menu > li:not(:last-child) > a {
  margin-inline-end: var(--bk-footer-gap);
}

.bk-footer .bk-footer__menu .bk-consent-link {
  margin-inline: var(--bk-footer-gap);
}

.bk-footer .bk-footer__menu .bk-consent-link:hover,
.bk-footer .bk-footer__menu .bk-consent-link:focus {
  background: none;
  color: inherit;
}

.bk-footer__social a {
  display: flex;
  align-items: center;
  color: inherit;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
}

.bk-footer .bk-footer__copy {
  display: flex;
  justify-content: center;
  margin: 0;
  color: var(--ck-muted);
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

@media (hover: hover) {
  .bk-footer__menu a:hover,
  .bk-footer__social a:hover {
    text-decoration: underline;
  }
}

@media (min-width: 768px) {
  .bk-footer__market {
    order: -1;
    flex: 0 0 auto;
  }

  .bk-footer__nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  .bk-footer__social {
    flex: 0 0 auto;
  }
}

@media (max-width: 1024px) {
  .bk-footer__menu {
    --bk-footer-gap: 13px;

    font-size: 11px;
    letter-spacing: 0;
  }
}

@media (max-width: 767px) {
  .bk-footer__inner,
  .bk-footer__row {
    gap: 7px;
  }

  .bk-footer__row {
    flex-wrap: wrap;
  }

  .bk-footer__nav,
  .bk-footer__market,
  .bk-footer__social {
    width: 100%;
  }

  .bk-footer__menu {
    --bk-footer-gap: 7.5px;

    font-size: 10px;
  }

  .bk-footer__menu a,
  .bk-footer .bk-footer__menu .bk-consent-link {
    padding-block: 5px;
    line-height: 10px;
  }

  .bk-footer__social a {
    justify-content: center;
  }

  .bk-footer .bk-footer__copy {
    font-size: 8px;
    line-height: 12px;
  }

  .bk-footer .bk-market {
    text-align: center;
  }

  .bk-footer .bk-market__panel {
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
  }
}

@media (max-width: 767px), (hover: none) {
  .bk-footer__row {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .bk-footer__row > * {
    flex: 0 0 100%;
  }

  .bk-footer__menu > li {
    align-items: center;
    min-height: 44px;
  }

  .bk-footer__menu a,
  .bk-footer .bk-footer__menu .bk-consent-link,
  .bk-footer__social a {
    justify-content: center;
    min-height: 44px;
  }

  .bk-footer {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}

body.home .bk-footer {
  position: relative;
}

body.page-about .bk-footer,
body.page-about .bk-footer__frame {
  background-color: var(--ck-black);
}

body.page-about .bk-footer,
body.page-about .bk-footer *:not(img):not(svg) {
  color: var(--ck-surface);
}
