:root {
  --bk-layout-width: 1504px;
  --bk-layout-gutter: clamp(16px, 2.35vw, 40px);
  --bk-home-section-gap: clamp(26px, 3vw, 48px);
}

#siteHeader .header-container,
body.home #chooseBrandSection,
body.home #chooseSizeSection,
body.home .home-slider-container {
  box-sizing: border-box;
  max-width: var(--bk-layout-width);
  padding-inline: var(--bk-layout-gutter);
}

#siteHeader .header-container { gap: 14px; }

@media (min-width: 993px) {
  #siteHeader #navLinks { gap: clamp(12px, 1.15vw, 20px); }
  #siteHeader .brand-logo,
  #siteHeader .header-actions { flex-shrink: 0; }
}

@media (min-width: 993px) and (max-width: 1230px) {
  #siteHeader .header-container { flex-wrap: wrap; row-gap: 4px; padding-block: 8px 4px; }
  #siteHeader #navLinks { order: 3; flex: 0 0 100%; justify-content: center; }
}

body.home #heroSlider .hero-slide {
  padding-inline: var(--bk-layout-gutter);
}

body.home #heroSlider .slide-container {
  max-width: calc(var(--bk-layout-width) - 2 * var(--bk-layout-gutter));
}

body.home #chooseBrandSection { padding-block: var(--bk-home-section-gap) 0; }
body.home #chooseSizeSection { padding-block: var(--bk-home-section-gap); }
body.home .home-slider-section { padding-block: var(--bk-home-section-gap); }

body.home :is(#chooseBrandSection, #chooseSizeSection) .section-title-wrapper {
  margin-bottom: clamp(16px, 1.6vw, 26px);
}

@media (min-width: 769px) {
  body.home #chooseBrandSection .brand-auto-track:not(.is-slider) {
    gap: clamp(12px, 1.25vw, 20px) !important;
    padding-block: 4px !important;
  }

  body.home #chooseBrandSection .brand-auto-track:not(.is-slider) .compact-brand-tile {
    flex: 1 1 110px !important;
    max-width: none !important;
    min-width: 0;
  }

  body.home #chooseSizeSection .compact-size-bar { gap: clamp(8px, .8vw, 12px); }
  body.home #chooseSizeSection .compact-size-chip {
    flex: 1 0 auto;
    min-width: 66px;
    padding-inline: 10px;
  }
}

@media (max-width: 768px) {
  #siteHeader .header-container {
    padding-inline: var(--bk-layout-gutter) !important;
  }

  body.home #chooseSizeSection .compact-size-bar {
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  body.home .home-slider-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 576px) {

  body #siteHeader .header-container > a.brand-logo {

    font-size: clamp(17px, 5.1vw, 23px) !important;

    white-space: nowrap;

  }

  #siteHeader .mobile-menu-btn { flex: 0 0 36px; }

  #siteHeader .header-actions { flex-shrink: 0; }

}
