.layout-grid {
  display: block;
  gap: 2rem
}

.filter-section .title-section {
  padding: var(--space-1) 0;
  margin: 0;
  display: block;
  font-weight: var(--font-weight-bold)
}

.price-range {
  margin: 1.5rem 0;
  padding: 0 10px
}

.bike-specs {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
  flex-wrap: wrap;
  position: relative
}

.spec-tag {
  align-items: center;
  padding: .25rem .5rem;
  background: var(--white);
  border-radius: .25rem;
  font-size: .75rem;
  max-width: 120px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: ease-in-out box-shadow .2s;
  position: relative
}

.grid-block.carousel .spec-tag {
  display: none
}

.spec-tag:hover {
  padding: .25rem .5rem;
  background: var(--white);
  border-radius: .25rem;
  font-size: .8rem;
  max-width: 100%;
  width: 100%;
  white-space: normal;
  overflow: visible;
  position: absolute;
  z-index: 2;
  box-shadow: 0 -2px 15px rgba(0, 0, 0, .2);
  font-weight: bold;
  padding: .5rem 1rem;
  transition: ease-in-out box-shadow .2s;
  z-index: 3
}

.load-more-wrapper {
  text-align: center;
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4)
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  border-radius: var(--btn-border-radius);
  cursor: pointer;
  max-width: 500px;
  height: 50px
}

.loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 1s linear infinite
}

.btn-load-more.loading .loader {
  display: inline-block
}

.btn-load-more.loading span:not(.loader) {
  display: none
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.products-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr))
}

@media(max-width:997px) {
  .products-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:667px) {
  .bike-specs {
    display: none
  }
}

@media(max-width:350px) {
  .products-grid {
    grid-template-columns: 1fr
  }
}

label.facet-label {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  align-items: center
}

label.facet-label .item-facet {
  width: calc(100% - 40px)
}

label.facet-label:hover {
  color: var(--brand)
}

span.magnitude {
  background-color: var(--neutral-dark);
  width: 30px;
  text-align: center;
  border-radius: var(--border-radius-sm);
  opacity: .6;
  font-weight: 700;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px
}

.filter-sliders {
  padding-right: 14px
}

.filter-options:not(.filter-sliders) {
  max-height: calc(100dvh - 250px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: 8px;
  -ms-overflow-style: 8px
}
@media(min-width: 997px) {
  .filter-options:not(.filter-sliders) {
    max-height: 500px;
    margin-bottom: var(--space-3);
  }
}

.filter-options:not(.filter-sliders)::-webkit-scrollbar {
  display: block;
  width: 8px;
  opacity: 0;
  transition: opacity .3s ease
}

.filter-options:not(.filter-sliders)::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 8px
}

.filter-options:not(.filter-sliders)::-webkit-scrollbar-track {
  background: #f3f4f6
}

.filter-options:not(.filter-sliders):hover::-webkit-scrollbar {
  opacity: 1
}

.active_filters {
  display: flex;
  padding: var(--space-2);
  margin-bottom: var(--space-3);
  gap: var(--space-2);
  background-color: var(--neutral-dark);
  border-radius: var(--border-radius-sm);
  align-items: center
}

.active_filters p, .active_filters ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: initial
}

.active_filters li.filter-block {
  background: white;
  padding: var(--space-1) var(--space-2);
  border-radius: .25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1)
}

.active_filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem
}

.active_filters a:hover {
  color: var(--red)
}

@media (max-width:997px) {
  .active_filters {
    align-items: flex-start;
    flex-direction: column
  }
}

@media (min-width:640px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr))
  }
}

@media (min-width:1022px) {
  .layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-3)
  }

  .filters {
    background: white;
    padding: 1.5rem;
    border-radius: .5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    margin: 0 0 3rem 0
  }
}

@media (max-width:1022px) {
  #facets-wrapper {
    position: sticky;
    top: 78px;
    z-index: 11;
    margin-inline: -15px;
    margin-top: calc(-1* var(--space-4))
  }

  .filters {
    display: flex;
    background: white;
    padding: .75rem;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: .5rem;
    scrollbar-width: none;
    -ms-overflow-style: none
  }

  .filters::-webkit-scrollbar {
    display: block;
    height: 6px;
    opacity: 0;
    transition: opacity .3s ease
  }

  .filters::-webkit-scrollbar-thumb {
    background: var(--brand-light);
    border-radius: var(--border-radius-sm)
  }

  .filters::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .4)
  }

  .filters:hover::-webkit-scrollbar {
    opacity: 1
  }

  .filters:hover {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-light) rgba(255, 255, 255, .4)
  }

  .filter-section {
    min-width: 125px;
    position: relative;
    width: auto
  }

  .filter-section.expanded {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    top: 0;
    background: #fff;
    padding: 20px;
    z-index: 1
  }

  .filter-section .title-section {
    position: relative;
    padding: var(--space-2);
    margin: 0;
    cursor: pointer;
    background-color: var(--neutral-dark);
    border-radius: var(--border-radius-sm);
    white-space: nowrap;
    padding-right: 2rem
  }

  .filter-options:not(.filter-sliders) {
    max-height: calc(100vh - 100px);
    overflow-y: auto
  }

  .filter-section.expanded .title-section {
    margin-bottom: 1rem
  }

  .filter-section .title-section::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-75%) rotate(45deg);
    transition: transform .3s
  }

  .filter-options {
    display: none
  }

  .filter-section.expanded .filter-options {
    display: block;
    z-index: 999999999 !important
  }

  .filter-section.expanded .title-section {
    background-color: var(--neutral)
  }

  .filter-section.expanded .title-section::after {
    transform: translateY(-25%) rotate(-135deg)
  }
}

.category-header {
  max-width: 800px;
  display: flex;
  gap: var(--space-2);
  flex-direction: column
}

.category-header * {
  margin: 0
}

.category-counter {
  display: inline-block;
  padding: .25rem 1rem;
  background-color: var(--neutral-dark);
  border-radius: 50px
}

.filter-option ul {
  padding: 0;
  margin: 0;
  list-style: none;
  margin-bottom: 1rem
}

body #search_filters .ui-widget-header {
  background: var(--brand)
}

body #search_filters .ui-slider-horizontal {
  height: 8px;
  background: #f3f4f6;
  border: none !important
}

body #search_filters .ui-slider .ui-slider-handle {
  top: -6px;
  width: .4em;
  background: #fff;
  border: 2px solid var(--brand);
  aspect-ratio: 1 / 1;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%
}

.noUi-target {
  background: #f3f4f6;
  border-radius: 4px;
  border: none;
  box-shadow: none
}

.noUi-horizontal {
  height: 6px
}

.noUi-connects {
  border-radius: 4px
}

.noUi-connect {
  background: var(--brand)
}

.noUi-handle {
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  width: 20px !important;
  height: 20px !important;
  right: -10px !important;
  top: -7px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2)
}

.noUi-handle:before, .noUi-handle:after {
  display: none
}

.price-values {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: .875rem;
  color: #4b5563
}

.promo-banner {
  grid-column: 1 / -1;
  border-radius: var(--border-radius-sm);
  position: relative;
  transition: all .5s ease;
  overflow: hidden
}

.promo-banner .promo-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.promo-banner .promo-banner-media img, .promo-banner .promo-banner-media video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .5s ease
}

.promo-banner .promo-banner-media .video-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-width: 177.77vh;
  min-height: 100vh;
  pointer-events: none
}

.promo-banner .promo-banner-media iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none
}

.promo-banner .promo-banner-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .3);
  z-index: 1
}

.promo-banner:hover {
  transform: translateY(-5px)
}

.promo-banner:hover .promo-banner-media img {
  transform: scale(1.05)
}

.promo-banner:hover .promo-text {
  transform: translateY(-5px)
}

.promo-banner .promo-banner-content {
  height: 100%;
  padding: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: white;
  position: relative;
  z-index: 1;
  min-height: 350px
}

.promo-banner .promo-text {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-shadow: 0 2px 4px rgba(0, 0, 0, .3);
  transition: transform .5s ease
}

.promo-banner .promo-text p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: var(--font-weight-normal);
  font-size: 1.1em
}

.promo-banner .promo-text p span {
  padding: 1px;
  background-color: var(--bg-overlay)
}

.promo-banner .btn {
  max-width: 300px;
  width: 100%;
  margin-top: var(--space-2);
  text-shadow: none;
  transition: transform .3s ease
}

.promo-banner .btn:hover {
  transform: translateY(-2px)
}

@media (min-width:1024px) {
  .promo-banner {
    grid-column: span 2
  }
}

@media (max-width:768px) {
  .promo-banner {
    grid-column: 1 / -1
  }

  .promo-banner .promo-text {
    max-width: 100%
  }
}

@media(min-width:1700px) {
  #index .bikes-grid-img {
    height: 390px;
    max-height: 390px
  }

  #index .bikes-grid-video {
    height: 530px;
    max-height: 530px
  }
}

@media(min-width:1490) {
  #index .bikes-grid-img {
    height: 340px;
    max-height: 340px
  }

  #index .bikes-grid-video {
    height: 530px;
    max-height: 530px
  }
}

.block-side-bar {
  background: white;
  padding: 1.5rem;
  border-radius: .5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
  margin: 0 0 3rem 0
}

.block-side-bar a:hover, .block-side-bar label:hover {
  color: var(--brand)
}

.block-categories .category-sub-menu {
  width: 100%
}

.block-categories a, .block-categories .category-sub-link {
  min-height: 32px;
  display: block;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  display: flex;
  align-items: center
}

.block-categories ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.block-categories ul li {
  list-style: none;
  margin: 0;
  padding: 0
}

.block-categories ul li.sub-item, .block-categories ul .category-sub-link {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative
}

.block-categories ul .category-sub-link {
  padding-left: 16px
}

.block-categories ul .collapse.in, .block-categories ul .collapsing {
  width: 100%
}

.block-categories .collapse-icons, .block-categories .arrows {
  cursor: pointer;
  top: 0;
  right: 0;
  position: absolute
}

.block-categories .collapse-icons[aria-expanded="true"] .add, .block-categories .collapse-icons[aria-expanded="false"] .remove {
  display: none
}

.block-categories .collapse-icons[aria-expanded="false"] .add, .block-categories .collapse-icons[aria-expanded="true"] .remove {
  display: block
}

@media(max-width:1024px) {
  .block-categories, .tags_block {
    display: none !important
  }
}

.infinitescroll-bottom-message.infinitescroll-reached-bottom-message {
  display: none
}

.infinitescroll-bottom-message {
  text-align: center;
  background-color: transparent !important;
  border: none !important;
  padding: var(--space-3)
}

@media screen and (min-width:992px) and (max-width:1199px) {
  .sort-bar .form-control-highlight {
    width: 100%
  }

  .sort-bar .form-control-highlight span {
    width: calc(100% - 50px)
  }
}

body#category .dropdown-menu a {
  color: var(--dark)
}

.form-control-highlight, .form-control-highlight span {
  color: var(--dark)
}

.bike-card .prices-container {
  display: flex;
  gap: .5rem;
  align-content: center;
  flex-wrap: wrap
}

.bike-card .prices-container .old-price {
  font-size: .8em;
  margin-left: 0
}