body {
  font-family: "Inter", sans-serif;
  background-color: #f5f5f5;
  color: #333333;
}

.attitle {
  font-weight: bold !important;
  font-size: 18px;
}

.sub__title {
  font-weight: lighter;
  text-transform: capitalize;
  margin-top: -5px;
  font-size: 12px;
  text-align: center;
  display: block;
}

.pan__title {
  text-align: center;
}

.ais-SearchBox-submit,
.ais-SearchBox-reset {
  display: none;
}

.ais-InfiniteHits-list,
.ais-InfiniteHits-item {
  list-style-type: none;
  padding-left: 0px;
  display: inline-block;
}

.gallery {
  max-width: 100%;
  margin: 0 auto;
  column-count: 5;
  font-family: arial;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
}

.gallery-item figure {
  margin: 0;
  position: relative;
}

.gallery-item figcaption {
  font-style: italic;
  padding: 8px;
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  box-sizing: border-box;
  bottom: 3px;
  color: #fff;
  height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 0 0 14px 14px;
}

.gallery-item img {
  width: 100%;
  border-radius: 14px;
}

.gallery-item p {
  margin: 0;
}

@media screen and (max-width: 500px) {
  .gallery {
    column-count: 2;
  }

  .submit--button {
    font-size: 10px !important;
  }

  .submit--button>i,
  .mobile--hidden {
    display: none !important;
  }

  .card .card-body {
    padding: 10px !important;
  }

  .th--mobile {
    padding: 5px !important;
  }

  .promo--mobile {
    width: 80px !important;
  }
}

@media screen and (min-width: 501px) and (max-width: 700px) {
  .gallery {
    column-count: 2;
  }
}

@media screen and (min-width: 701px) and (max-width: 900px) {
  .gallery {
    column-count: 3;
  }
}

@media screen and (min-width: 701px) and (min-width: 1920px) {
  .gallery {
    column-count: 5;
  }
}

.ais-RefinementList-count {
  font-weight: lighter;
}

.ais-RefinementList-count::before {
  content: " (";
}

.ais-RefinementList-count::after {
  content: ")";
}

.ais-RefinementList-labelText::before,
.ais-NumericMenu-labelText::before {
  content: " ";
}

.ais-RefinementList-labelText,
.ais-NumericMenu-labelText {
  color: black !important;
}

.ais-SortBy-select {
  padding: 10px 20px;
  border: 1px solid #c5c5c5;
  background-color: white;
  border-radius: 5px;
  color: black;
  text-transform: uppercase;
}

.ais-InfiniteHits-loadMore {
  margin-bottom: 100px;
  background: black;
  padding: 20px;
  color: white !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ais-InfiniteHits-loadMore>svg {
  margin-right: 10px;
}

.ais-InfiniteHits-loadMore:hover {
  background: black !important;
  color: white !important;
}

.ais-RefinementList-list,
.ais-NumericMenu-list {
  padding-left: 0px;
}

.ais-Pagination-list {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ais-Pagination-item {
  list-style-type: none;
  padding: 10px 20px;
  border: 1px solid #5a5a5a;
  color: #5a5a5a;
  margin: 10px;
  border-radius: 5px;
}

.ais-Hits-list {
  padding-left: 0px;
  list-style: none;
}

.ms--product--flags {
  padding-left: 15px;
  padding-top: 10px;
  left: 0;
}

/* HTML: <div class="loader"></div> */
.ms--loader--spinner {
  width: 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 0 #0004;
  animation: l2 1.5s infinite linear;
  position: relative;
}

.ms--loader--spinner:before,
.ms--loader--spinner:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 #0004;
  animation: inherit;
  animation-delay: -0.5s;
}

.ms--loader--spinner:after {
  animation-delay: -1s;
}

@keyframes l2 {
  100% {
    box-shadow: 0 0 0 40px #0000;
  }
}

.ms--loader {
  border-radius: 5px;
  padding: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#ms--show--filter {
  display: none;
}

/* Mobile view */
@media screen and (max-width: 700px) {
  .ais-SortBy-select {
    width: 100%;
  }

  #ms--show--filter,
  #ms--hide--filter {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .ms--filter--card {
    display: none;
  }

  #ms--show--filter {
    display: flex;
  }
}

.search-container {
  background: white;
  margin-bottom: 50px;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
}

.ais-SearchBox-input {
  border: none;
  outline: none;
  width: 100%;
  padding: 10px;
  font-size: 24px;
  margin-left: 10px;
  font-family: "Inter", sans-serif;
  font-weight: lighter;
}

.mb-0 {
  margin-bottom: 0 !important;
}

@media screen and (min-width: 700px) {
  nav {
    margin-bottom: 50px;
  }
}

#searchbox {
  width: 100%;
}

select {
  width: 100% !important;
}

.card-title-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  margin-bottom: 15px;
  background-color: #ebebeb;
  padding: 20px;
  color: #656565;
}

.add-to-cart {
  color: #333;
  font-weight: 300px;
  border-radius: 5px;
  border: 0.5px solid #f3f3f3;
  background: linear-gradient(90deg, #f8f8f8, #fafafa);
  box-shadow: 0 2px 5px rgba(255, 215, 215, 0.1);
}