.loop-shop-item .main-photo-wrap {
  min-height: 215px;
}

@media screen and (max-width: 990px) {
  .site-main {
    flex-direction: column;
  }
}

@media screen and (max-width: 600px) {
  .breadcrumbs.container {
    margin-top: 30px;
  }
}

@media screen and (min-width: 601px) and (max-width: 990px) {
  .products > a {
    max-width: 100%;
  }

  .product_inside_content {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  body ul.page-numbers {
    overflow: scroll;
    justify-content: flex-start !important;
  }

  body .products {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  body .products > a {
    max-width: 100%;
  }

  body .product_inside_content {
    width: 100%;
  }

  body #filter-mobile-button {
    font-size: 24px;
  }

  body .breadcrumbs.container {
    margin-bottom: 30px;
  }

  body .shop-title.container {
    display: none;
  }

  body .custom-category-checkboxes {
    top: 56px;
  }
}

@media screen and (max-width: 990px) {
  .title_and_stock h5 {
    line-height: unset;
  }

  .custom-category-checkboxes.open {
    z-index: 2;
    width: 100%;
    transform: translateX(0);
  }

  .custom-category-checkboxes {
    top: 65px;
    transition: all 0.3s;
    background: #fff;
    position: absolute;
    transform: translateX(calc(-100% - 25px));
  }

  #filter-mobile-button {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    font-family: Kanit;
    font-size: 30px;
    font-weight: 500;
    color: #181413;
    background: #e2e2e2;
    border-radius: 4px;
    padding: 10px;
  }
}

@media screen and (min-width: 991px) {
  #filter-mobile-button {
    display: none;
  }
}

@media screen and (min-width: 901px) and (max-width: 1200px) {
  body ul.products {
    margin-bottom: 30px;
  }

  body .custom-category-checkboxes {
    min-width: 220px;
  }
}

@media screen and (min-width: 601px) and (max-width: 1200px) {
  .breadcrumbs.container {
    margin-top: 50px;
  }
}

body .shop-content .product-info {
  width: unset;
  margin-top: 0;
  margin-bottom: 0;
}

body .shop-content .title_and_stock {
  align-items: flex-start;
  flex-direction: column;
}

.shop-content .product-details {
  margin-top: 4px;
}

/* svg animation */

.shop-content .products div.preloader {
  display: none;
}

#isw-load-more-button-wrap {
  display: none;
}

#isw-load-more-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#isw-load-more-button:hover {
  background-color: #f5f5f5;
}

#isw-load-more-button .icon {
  margin-right: 10px;
  min-width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

@keyframes rotate-icon {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.icon {
  display: inline-block;
  transition: transform 0.3s;
}

.icon.animate {
  animation: rotate-icon 1s linear infinite;
  /* Анимация вращения */
}

/* ajax button css */
#isw-load-more-button:hover {
  background: transparent;
}

.load_more_button_wrapper {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

#isw-load-more-button {
  font-family: Gilroy;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 50px;
  color: #202027;
  margin-left: auto;
  margin-right: auto;
  max-width: 280px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: 1px solid #eeeeee;
  border-radius: 4px;
}

/* custom checkbox */

body .products {
  gap: 20px;
  margin-bottom: 50px;
}

.custom-category-checkboxes input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.custom-category-checkboxes span {
  font-family: Gilroy;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  align-items: center;
  line-height: 120%;
  position: relative;
  cursor: pointer;
  display: flex;
  gap: 7px;
}

.woocommerce-pagination {
  display: block !important;
}

.custom-category-checkboxes span:before {
  content: "";
  border: 1px solid #e2e2e2;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  min-width: 16px;
  min-height: 16px;
  margin-top: -2px;
}

.custom-category-checkboxes input:checked + span:after {
  top: calc(50% - 1px);
  transform: translateY(-50%);
  left: 4px;
  content: "";
  background: url("/wp-content/uploads/2024/10/check-1.svg");
  min-width: 9px;
  height: 7px;
  display: block;
  position: absolute;
}

@media screen and (min-width: 1201px) {
  .shop-content {
    margin-bottom: 85px;
  }
}

@media screen and (max-width: 600px) {
  .shop-content {
    margin-bottom: 60px;
  }
}

@media screen and (min-width: 601px) and (max-width: 1200px) {
  .shop-content {
    margin-bottom: 70px;
  }
}

.spec_text_before_catalog {
  margin-top: 30px;
  border-radius: 4px;
}

.spec_text_before_catalog-wrap {
  margin-bottom: 20px;
}

.shop-title {
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 30px;
  font-weight: 500;
  color: #181413;
}

.woocommerce-products-header {
  display: none;
}

.breadcrumbs {
  margin-top: 60px;
}

.site-main {
  position: relative;
  display: flex;
  gap: 30px;
}

.custom-category-checkboxes label:not(:last-of-type) {
  margin-bottom: 20px;
}

.custom-category-checkboxes label {
  display: block;
}

.custom-category-checkboxes input[type="checkbox"] {
  margin-right: 10px;
}

ul.page-numbers li {
  display: flex;
  min-height: 50px;
}

ul.page-numbers li a.prev,
ul.page-numbers li a.next {
  padding: 0;
  min-width: 120px;
}

ul.page-numbers li span,
ul.page-numbers li a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  min-width: 50px;
}

ul.page-numbers li span,
ul.page-numbers li a {
  font-family: Gilroy;
  font-size: 16px;
  font-weight: 500;
  margin-left: 0;
  margin-right: 0;
}

.prev.page-numbers,
.prev.page-numbers {
  margin-right: 3px;
}

.page-numbers.current {
  background: #bf0d3e !important;
  color: #fff !important;
}

.next.page-numbers {
  margin-left: 3px;
}

body .page-numbers:hover {
  background: transparent;
  color: unset;
}

body .page-numbers li:hover a {
  background: #bf0d3e;
  color: #fff;
}

body ul.page-numbers {
  justify-content: center;
  display: flex;
  gap: 12px;
  border: 0;
  margin-left: 0;
  padding: 0;
  margin-right: 0;
}

.custom-category-checkboxes {
  display: flex;
  flex-direction: column;
  max-height: fit-content;
  padding: 25px;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  min-width: 300px;
}
