.disable-scroll {
  overflow: hidden;
}

/* Modal popup */
.shopmodal_modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

/* Modal Content */

.shopmodal_modal-content__wrapper {
  padding: 24px;
  touch-action: none;
  pointer-events: none;
}

.shopmodal_modal-content {
  background: var(--secondary-white-100, #FFF);
  box-shadow: 8px 13px 30px 0px rgba(47, 77, 82, 0.10);
  display: flex;
  margin: auto;
  transform: translateY(10vh);
  position: relative;
  flex-flow: column;
  border-radius: 20px;
  overflow: hidden;
  max-width: 480px;
  touch-action: all;
  pointer-events: all;
}

.shopmodal_inner {
  max-height: 600px;
  overflow: scroll;
  padding: 32px 32px;
}

.shopmodal__bottom-buttons {
  background: #fff;
}

/*.shopmodal__inner p {
  max-width: 200px;
}*/

/* Close Button */
.shopmodal_close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    right: 32px;
    position: absolute;
}

.shopmodal_close:hover,
.shopmodal_close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Tab styles */
.shopmodal_tab {
    overflow: hidden;
    border-bottom: 1px solid rgba(47, 77, 82, 0.2);
    margin-bottom: 24px;
    justify-content: center;
    display: flex;
    gap: 16px;
}

.shopmodal_tablinks {
  padding: 16px;
  background: none;
  border-radius: 0;
}

.shopmodal_tablinks:hover, .shopmodal_tablinks:focus, {
  background: none;
  box-shadow: none;
}

.shopmodal_tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    border-radius: 0;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
    font-size: 17px;
}

.shopmodal_tab button:hover, .shopmodal_tab button:focus {
  box-shadow: none;
}

.shopmodal_tab button.active {
    border-bottom: 2px solid black;
}

.shopmodal__tabs {
  border-width: 2px;
  border-style: solid;
  border-radius: 8px;
  padding: 24px 32px;
  background-color: rgb(222, 247, 243);
  border-color: rgb(92, 214, 194);
}

.shopmodal_tabcontent {
    display: none;
    width: 100%;
}















/* Regular styles here */
  .bikeshow__container {
    align-self: stretch;
    border-radius: 20px;
    display: flex;
    max-width: 1200px;
    margin: auto;
    flex-direction: column;
    padding: 0 48px;
  }
@media (max-width: 991px) { 
    .bikeshow__container {
      padding: 0; 
    } 
  } 
.bikeshow__title {
    align-self: center;
    color: var(--primary-forest-100, #2f4d52);
    text-align: center;
    letter-spacing: -1.2px;
    margin-bottom: 16px;
    text-transform: uppercase;
  }
@media (max-width: 991px) { 
    .bikeshow__title {
      max-width: 100%;
      font-size: 40px; 
    } 
  } 
.bikeshow__description {
    align-self: center;
    color: var(--primary-forest-100, #2f4d52);
    text-align: center;
  }
@media (max-width: 991px) { 
    .bikeshow__description {
      max-width: 100%; 
    } 
  }

.bikeshow__search-upper {
  display: flex;
  flex-flow: row;
  gap: 16px;
  justify-content: space-between;
}

.bikeshow__container .shoptype {
  width: fit-content;
  padding: 0 20px;
}

.bikeshow__shop-options {
    display: flex;
    gap: 16px;
    flex-flow: column;
    margin-top: 32px;
    font-size: 16px;
    color: var(--primary-forest-100, #2f4d52);
    line-height: 150%;
  }
@media (max-width: 991px) { 
    .bikeshow__shop-options {
      flex-wrap: wrap; 
    } 
  }

.bikeshow__shop-options.checkboxes {
  flex-flow: row;
  margin-top: 0;
}

.bikeshow__shop-option {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 24px;
    height: fit-content;
    font-weight: 400;
  }
@media (max-width: 991px) { 
    .bikeshow__shop-option {
      max-width: 100%;
      padding: 0 20px; 
    } 
  } 
.bikeshow__shop-option-content {
    display: flex;
    gap: 8px;
    width: fit-content;
  }
@media (max-width: 991px) { 
    .bikeshow__shop-option-content {
      flex-wrap: wrap; 
    } 
  } 
.bikeshow__shop-option-text {
    font-family: Uniform Rounded, sans-serif;
  }
@media (max-width: 991px) { 
    .bikeshow__shop-option-text {
      max-width: 100%; 
    } 
  } 
.bikeshow__all-locations {
    justify-content: space-between;
    border-radius: 99px;
    border: 2px solid rgba(47, 77, 82, 1);
    background-color: var(--secondary-cloud-20, #fbfbfc);
    display: flex;
    gap: 8px;
    font-weight: 700;
    padding: 14px 24px;
  }
@media (max-width: 991px) { 
    .bikeshow__all-locations {
      padding: 0 20px; 
    } 
  } 
.bikeshow__section-title {
    align-self: start;
    display: flex;
    margin-top: 24px;
    gap: 20px;
    font-size: 16px;
    color: var(--primary-forest-100, #2f4d52);
    font-weight: 400;
    line-height: 150%;
    justify-content: space-between;
  }
@media (max-width: 991px) { 
    .bikeshow__section-title {
      flex-wrap: wrap; 
    } 
  } 
.bikeshow__section-wrap {
    display: flex;
    gap: 8px;
  } 
.bikeshow__alt-title {
    font-family: Uniform Rounded, sans-serif;
  }

.bikeshop_location__container {
  display: flex;
  align-items: center;
  background-color: var(--secondary-cloud-20, #fbfbfc);
  flex-flow: column;
  width: 100%;
}

@media (max-width: 991px) {
  .bikeshop_location__container {
    max-width: 100%;
    flex-wrap: wrap;
    padding: 0 20px;
  }
}

.bikeshop_location__container .shop:nth-child(even) {
    background-color: #fff; /* Change this to your desired background color */
}

.bikeshop_location__info-section {
  display: flex;
  gap: 16px;
  flex: 1;
  margin: auto 0;
  align-self: stretch;
}

.openshop:hover {
  cursor: pointer;
  background: rgb(242, 244, 245) !important;
}

.shopname {
  font-weight: 700;
}

.website {
  font-weight: normal;
  text-decoration: none;
}

.bikeshop_location__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: start;
  border-radius: 99px;
  border: 2px solid rgba(47, 77, 82, 1);
  background-color: var(--secondary-white-100, #fff);
  padding: 10px;
}

@media (max-width: 991px) {
  .bikeshop_location__image-wrapper {
    padding-right: 20px;
  }
}

.bikeshop_location__image {
  width: 24px;
  aspect-ratio: 1;
  object-fit: auto;
  object-position: center;
}

.bikeshop_location__details {
  display: flex;
  flex-direction: column;
  color: var(--primary-forest-100, #2f4d52);
  font-size: 14px;
  line-height: 143%;
  margin: auto 0;
}

.bikeshop_location__title {
  font-family: Uniform Rounded, sans-serif;
  font-weight: 700;
}

.bikeshop_location__subtitle {
  font-family: Uniform Rounded, sans-serif;
  font-weight: 400;
  margin-top: 4px;
}

.bikeshop_location__address-section {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  font-size: 16px;
  color: var(--primary-forest-100, #2f4d52);
  font-weight: 400;
  text-align: right;
  line-height: 150%;
  flex: 1;
}

#cityContainer {
  max-height: 400px;
  overflow-y: scroll;
}

.bikeshop_location__address {
  font-family: Uniform Rounded, sans-serif;
}

.bikeshop_location__postcode {
  font-family: Uniform Rounded, sans-serif;
  margin-top: 4px;
}

.bikeshop_location__city {
  align-self: stretch;
  color: var(--primary-forest-100, #2f4d52);
  text-align: right;
  font: 400 16px/150% Uniform Rounded, -apple-system, Roboto, Helvetica, sans-serif;
  margin: auto 0;
}

  .bikesearch_input_container {
    align-self: stretch;
    width: 100%;
    display: flex;
    max-width: 899px;
    flex-direction: column;
    font-size: 16px;
    color: var(--primary-forest-100, #2f4d52);
    font-weight: 400;
    line-height: 150%;
    justify-content: center;
  }
  @media (max-width: 991px) {
    .bikesearch_input_container {
      padding: 0 20px;
    }
  }
  .bikesearch_input_image_text_wrapper {
    display: flex;
    gap: 8px;
  }
  @media (max-width: 991px) {
    .bikesearch_input_image_text_wrapper {
      flex-wrap: wrap;
    }
  }
  .bikesearch_input_icon {
    aspect-ratio: 1;
    object-fit: auto;
    object-position: center;
    width: 24px;
  }
  .bikesearch_input_shop_brand_name {
    font-family: Uniform Rounded, sans-serif;
  }
  @media (max-width: 991px) {
    .bikesearch_input_shop_brand_name {
      max-width: 100%;
    }
  }

.sort_shops__wrapper {
  display: grid;
  width: 100%;
  padding: 24px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.sort_shops__wrapper-inner.align-right {
  text-align: right;
}

.bikesearch_input_shop_brand_name {
    padding-left: 56px !important; /* Adjust padding to make room for the icon */
    position: relative;
}

.dropdown__svg {
  position: absolute;
  right: 15px;
  pointer-events: none;
  top: 12px;
}

.bikesearch_input_shop_brand_name {
  background: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2225%22 viewBox=%220 0 24 25%22 fill=%22none%22%3E%3Cpath d=%22M18.9 20.8L13.3 15.2C12.8 15.6 12.225 15.9167 11.575 16.15C10.925 16.3833 10.2333 16.5 9.5 16.5C7.68333 16.5 6.14583 15.8708 4.8875 14.6125C3.62917 13.3542 3 11.8167 3 10C3 8.18333 3.62917 6.64583 4.8875 5.3875C6.14583 4.12917 7.68333 3.5 9.5 3.5C11.3167 3.5 12.8542 4.12917 14.1125 5.3875C15.3708 6.64583 16 8.18333 16 10C16 10.7333 15.8833 11.425 15.65 12.075C15.4167 12.725 15.1 13.3 14.7 13.8L20.325 19.425C20.5083 19.6083 20.6 19.8333 20.6 20.1C20.6 20.3667 20.5 20.6 20.3 20.8C20.1167 20.9833 19.8833 21.075 19.6 21.075C19.3167 21.075 19.0833 20.9833 18.9 20.8ZM9.5 14.5C10.75 14.5 11.8125 14.0625 12.6875 13.1875C13.5625 12.3125 14 11.25 14 10C14 8.75 13.5625 7.6875 12.6875 6.8125C11.8125 5.9375 10.75 5.5 9.5 5.5C8.25 5.5 7.1875 5.9375 6.3125 6.8125C5.4375 7.6875 5 8.75 5 10C5 11.25 5.4375 12.3125 6.3125 13.1875C7.1875 14.0625 8.25 14.5 9.5 14.5Z%22 fill=%22%232F4D52%22/%3E%3C/svg%3E') no-repeat !important;
  background-position: 24px 10px !important;
  background-size: 24px 24px !important;
}

.sort_shops__button, .bottom-control__button {
  border: 0;
  background: none;
  border-radius: 0;
  color: #2f4d52;
  width: fit-content;
  padding: 0;
  text-transform: none;
}
.brand-sort {
    border: 0;
    background: none;
    border-radius: 0;
    color: #2f4d52;
    width: fit-content;
    padding: 0;
    text-transform: none;
    display: inline-block;
    font-family: UniformRounded-btn;
    font-size: 16px;
    font-weight: 700;
    height: auto;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: all .16s linear;
    white-space: normal;
}


.bottom-control__button.next, .bottom-control__button.previous {
  padding: 5px 15px;
}

.bottom-control__button.next:hover, .bottom-control__button.previous:hover, .bottom-control__button.next:focus, .bottom-control__button.previous:focus {
  box-shadow: none;
}

.sort_shops__button:hover {
  box-shadow: none;
  text-decoration: underline;
}

.shopmodal_tabcontent.active {
  display: block;
}

.tabclass_online_store.tabclass_local_store .shopmodal_local, .tabclass_online_store.tabclass_local_store .shopmodal_online {
  display: block;
}

.tabclass_online_store.tabclass_local_store #shopmodal_div-2 {
  display: none;
}

.tabclass_online_store.tabclass_local_store #shopmodal_div-2.active {
  display: block;
}

.tabclass_online_store.tabclass_local_store #shopmodal_div-1.active {
  display: block;
}

.tabclass_online_store #shopmodal_div-1 {
  display: none;
}

.tabclass_online_store #shopmodal_div-2 {
  display: block;
}

.tabclass_online_store .shopmodal_div-1, .tabclass_online_store .shopmodal_local {
  display: none;
}

.tabclass_local_store .shopmodal_div-2, .tabclass_local_store .shopmodal_online {
  display: none;
}

.shop {
  display: grid;
  width: 100%;
  padding: 24px;
  gap: 10px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.shop__location .local_store, .shop__location .maintenance, .shop__location .online_store {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-size: contain !important;
  border: 2px solid #2f4d52;
  padding: 3px;
  border-radius: 50px;
}

.shopmodal_modal-content .local_store, .shopmodal_modal-content .maintenance , .shopmodal_modal-content .online_store {
  width: 96px;
  height: 96px;
  background-size: cover;
  background-repeat: no-repeat;
}

.shopmodal__bottom-buttons {
  padding: 24px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.shopmodal__bottom-buttons .button {
  width: -webkit-fill-available;
}

#shop-logo {
  margin: auto;
  background-size: contain;
  margin-top: 56px;
  margin-bottom: 24px;
  border-radius: 100px;
  background-color: #fff;
  /*padding: 3px;
  border: 2px solid #2f4d52;*/
}

.shopmodal__shop {
  text-align: center;
}

.shopmodal__inner {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.shop__location {
  display: flex;
  align-items: center;
}

.shop__city, .shop__address, .shop__brands {
  justify-content: right;
  display: flex;
  align-items: center;
  text-align: right;
}
.shop__brands { padding-left: 15px; }

.shop__address p, .shop__city p, .shop__location-name p, .shop__brands p {
  margin: 0;
  font-size: 16px;
}
.shop__brands p { font-size: 14px; }

.shop__location-name {
  display: flex;
  margin-left: 16px;
  flex-flow: column;
}

.shop__location .local_store, .shopmodal_modal-content .local_store {
  background-image: url('https://tyosuhdepyora.vapaus.io/hubfs/Placeholders/Small%20SVG%20icons/storefront.svg');
}

.shop__location .online_store, .shopmodal_modal-content .online_store {
  background-image: url('https://tyosuhdepyora.vapaus.io/hubfs/Placeholders/Small%20SVG%20icons/shopping-cart.svg');
}

.shop__location .maintenance, .shopmodal_modal-content .maintenance {
  background-image: url('https://tyosuhdepyora.vapaus.io/hubfs/Placeholders/Small%20SVG%20icons/storefront.svg');
}


.tagdrop_dropdown {
    position: relative;
    display: inline-block;
    width: fit-content;
    margin: auto;
    justify-content: center;
    display: flex;
}

@media (max-width: 991px) {
  .tagdrop_dropdown {
    width: -webkit-fill-available;
  }
}

.tagdrop_placeholder {
    cursor: pointer;
    text-transform: none;
    text-align: left;
    position: relative;
    min-width: 378px;
    padding-right: 10px;
}

@media (max-width: 991px) {
  .tagdrop_placeholder {
    min-width: 100%;
  }
}

.tagdrop_placeholder svg {
  position: absolute;
  pointer-events: none;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.tagdrop_content {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: 100%;
    border: 1px solid #ccc;
}

.rowsperpage__inner.display {
  background: #fff;
}

.tagdrop_content.display, .rowsperpage__inner.display {
  display: block;
  border-radius: 10px;
  padding: 10px 24px;
  padding-top: 16px;
  top: 64px;
  width: 100%;
  max-width: 378px;
  box-shadow: 3px 4px 15px 0px rgba(47, 77, 82, 0.25);
}

.rowsperpage__inner span {
  text-align: center;
}

#itemsperpage {
  position: absolute;
  left: 100%;
  margin-left: 15%;
  white-space: nowrap;
}

.selectedPages {
  background: none;
  padding: 0;
  margin: 0;
}

.selectedPages:hover {
  background: none;
  box-shadow: none;
}

.bikeshop__list-bottom {
  justify-content: end;
  display: grid;
  align-items: center;
  padding-top: 32px;
  gap: 18px;
  grid-template-columns: 2fr 1fr 1fr;
}

@media (max-width: 991px) {
  .bikeshop__list-bottom {
    grid-template-columns: 0fr 1fr 1fr;
  }
  
  .shopmodal__tabs {
    padding: 24px;
  }
  
  .shopmodal__bottom-buttons {
    flex-flow: column;
  }
  
  .shopmodal_modal-content__wrapper {
    padding: 0;
  }
  
  .bikeshop__list-bottom .bottom-control__button {
    pointer-events: all;
  }
  
  .bikeshow__container {
    margin-bottom: 48px;
  }
  
  .bikeshop__list-bottom .inner.show_per_page {
    grid-column: span 3;
    justify-content: center;
  }
  
  .bikeshop__list-bottom .inner.changepage {
    grid-column: span 3;
    pointer-events: none;
    justify-content: right;
    margin-right: 24px;
  }
  
  #itemsperpage {
    position: absolute;
    left: 0;
    top: 48px;
    margin-left: 24px;
    white-space: nowrap;
  }
  
  .bikesearch_input_container {
    padding: 0;
  }
  
  .bikeshow__shop-options.checkboxes {
    display: none;
  }
  
  .bikeshow__search-upper {
    flex-flow: column;
  }
  
  .sortby-address, .sortby-location, .shop__address, .shop__city, .sortby-brand {
    display: none;
  }
  
  .shop {
    grid-template-columns: 1fr 0 0;
    padding: 24px 0;
  }
  .shop__brands { padding-left: 0px; display: none; }
}

.bikeshop__list-bottom .inner {
  justify-content: end;
  display: flex;
  position: relative;
}

#rowsperpage {
  position: relative;
}

#rowsperpage:hover {
  cursor: pointer;
}

.bikeshop__list-bottom .rowsperpage__inner.display {
  display: flex;
  gap: 16px;
  top: 100%;
  margin-top: 10px;
  min-width: 60px;
  padding: 16px;
  flex-flow: column;
  position: absolute;
  font-weight: 700;
}

@media (max-width: 991px) {
  .tagdrop_content.display {
    max-width: 100%;
  }
}

.cleartags {
  background: none;
  height: 56px;
  text-transform: none;
  padding: 0;
}

.cleartags:hover {
  box-shadow: none;
  background: none;
}

.tagdrop_item {
    display: flex;
    padding: 10px 3px;
    white-space: nowrap;
    justify-content: left;
    font-weight: 700;
    cursor: pointer;
    align-items: center;
    position: relative;
}

.tagdrop_item:hover {
    background-color: #FBFBFC;
}

.tagdrop_item input {
    margin-right: 10px;
}

.rowsperpage__inner {
  display: none;
}

.totalitems {
  position: relative;
  right: 25px;
}

.totalitems:before {
  border-top: 5px solid;
  content: "";
  right: -20px;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  position: absolute;
  top: 48%;
}

/* Sort by labels: */

.sort_shops__button {
    position: relative;
    padding-right: 20px; /* Adjust to fit your content and arrows */
  }

  .sort_shops__button::before,
  .sort_shops__button::after {
    content: '';
    position: absolute;
    right: 0px; /* Adjust to position arrows correctly */
    width: 0;
    scale: 0.8;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    opacity: 0.3;
  }

  .sort_shops__button::before {
    border-bottom: 7px solid #2F4D52; /* Arrow pointing up */
    top: 0px; /* Adjust vertical position */'
    opacity: 0.3;
  }

  .sort_shops__button::after {
    border-top: 7px solid; /* Arrow pointing down */
    bottom: 0px; /* Adjust vertical position */
    opacity: 0.3;
  }

  /* Different background colors based on parent class */
  .sort_shops__button.ascending::before {
    border-bottom-color: #2F4D52;
    opacity: 1;
  }

  .sort_shops__button.descending::after {
    border-top-color: #2F4D52;
    opacity: 1;
  }

  .sort_shops__button.ascending::before {
    border-bottom-color: #2F4D52;
    opacity: 1;
  }

  .sort_shops__button.descending::after {
    border-top-color: #2F4D52;
    opacity: 1;
  }