.page-layout-2columns-left .page-main > .columns {
  display: grid !important;
}

.filter-options input[type="radio"] + .amshopby-choice {
  position: absolute;
  top: 5px;
  left: 0;
  margin: 0;
  display: block;
  cursor: pointer;
}

.filter-options input[type="radio"] + .amshopby-choice:before {
  border: 1px solid #e3e3e3;
  background: #fff;
}

.filter-options input[type="radio"] + .amshopby-choice:before,
.filter-options input[type="radio"] + .amshopby-choice:after {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  box-sizing: border-box;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  content: "";
  background-repeat: no-repeat !important;
}

.filter-options input[type="radio"] + .amshopby-choice:after {
  background: #7aa022
    url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxNSAxNSI+CiAgPGRlZnMvPgogIDxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0xMS42NjkzIDMuNTAwNjFjLS4yMDc4LjAwNjk1LS40MDQ4LjA5ODg1LS41NDkzLjI1NjItMS45NTcwMyAyLjA2NDE1LTMuNDM4ODMgMy43NzY1NS01LjI4MDQxIDUuNzQ3ODNMMy44MTczIDcuNzA0NzRjLS4wNzk5Mi0uMDcxNi0uMTcyNDUtLjEyNTk1LS4yNzIzMy0uMTU5OTItLjA5OTg3LS4wMzM5Ny0uMjA1MTItLjA0NjktLjMwOTc0LS4wMzgwNi0uMTA0NjIuMDA4ODUtLjIwNjU2LjAzOTI5LS4zLjA4OTYtLjA5MzQ1LjA1MDMtLjE3NjU2LjExOTQ4LS4yNDQ1OS4yMDM2LS4wNjgwNC4wODQxMS0uMTE5NjYuMTgxNTEtLjE1MTkzLjI4NjYyLS4wMzIyNy4xMDUxMS0uMDQ0NTUuMjE1ODgtLjAzNjE1LjMyNTk4LjAwODQxLjExMDExLjAzNzM0LjIxNzQuMDg1MTUuMzE1NzQuMDQ3ODEuMDk4MzMuMTEzNTUuMTg1NzkuMTkzNDguMjU3MzlMNS4zNzc3MSAxMS4yOThjLjE1MzE1LjEzNzkuMzUwMTkuMjA5OC41NTE2LjIwMTMuMjAxNDEtLjAwODYuMzkyMzEtLjA5NjkuNTM0NDQtLjI0NzNDOC42MTA3NCA4Ljk4NzU3IDEwLjE0MiA3LjE3NTQ0IDEyLjI1NiA0Ljk0NTc4Yy4xMTY1LS4xMTgzNy4xOTYtLjI3MTIuMjI4MS0uNDM4MjMuMDMyMS0uMTY3MDMuMDE1My0uMzQwMzgtLjA0ODQtLjQ5NzA5LS4wNjM2LS4xNTY3MS0uMTcwOS0uMjg5MzctLjMwNzgtLjM4MDQyLS4xMzY5LS4wOTEwNS0uMjk2OC0uMTM2MTktLjQ1ODYtLjEyOTQzeiIvPgo8L3N2Zz4K)
    center/15px;
  content: none;
}

.filter-options input[type="radio"]:checked + .amshopby-choice:after {
  content: "";
}

.filter-options [class*="am-filter-items-"] .item input[type="radio"] + .amshopby-choice,
.filter-options [class*="am-filter-items-"] .item .amshopby-radio {
  display: block;
}

.filter-options-content .item {
  position: relative;
}

.filter-options-item .filter-options-content .items [class*="am-filter-item"] {
  padding-left: 20px;
}

.filter-options-content .am-ranges ol.items {
  max-height: 300px;
  overflow-x: hidden;
  overflow-y: auto;
}

#amasty-shopby-product-list .rewards__product-points {
  position: relative;
}

#amasty-shopby-product-list .rewards__product-points .tooltip .tooltiptext {
  visibility: hidden;
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  position: absolute;
  z-index: 10;
  width: 200px;
  bottom: 20px;
  left: 0;
  white-space: normal;
  font-size: 14px;
}

#amasty-shopby-product-list .rewards__product-points:hover .tooltip .tooltiptext {
  visibility: inherit;
}

#amasty-shopby-product-list .rewards__product-points .tooltip .tooltiptext:after {
  content: " ";
  position: absolute;
  top: 100%;
  left: 50px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent;
}

#amasty-shopby-product-list .products-grid .product-item-info .price-box > .old-price {
  width: 100%;
}

#amasty-shopby-product-list .products-list .product-item-info .price-box .price-container {
  display: block;
}

#amasty-shopby-product-list .products-list .rewards__product-points {
  margin-top: 5px;
  display: block;
}

#amasty-shopby-product-list .product-item-info .amlabel-position-wrapper {
  z-index: 1 !important;
}

.amrelated-grid-wrapper .slick-dots {
  position: relative;
  margin: 0;
  width: 100%;
}

.amrelated-grid-wrapper .slick-slider .slick-dots li {
  margin: 0 5px 5px;
  width: 20px;
  height: 20px;
}

.amrelated-grid-wrapper .slick-slider .slick-dots li button {
  width: 20px;
  height: 20px;
}

header.page-header .amsearch-result-section .amsearch-message-block {
  margin: 26px 0;
  padding: 0 28px;
  border-left: 1px solid rgba(30, 30, 30, 0.1);
  background: #fff;
  display: block;
  text-align: left;
}

header.page-header .amsearch-result-section .amsearch-message-block span {
  font-weight: 500;
  font-size: 18px;
}

.page-main #amasty-shopby-product-list .product-item-details .price-box .price-container .price-label {
  display: none !important;
}

.page-wrapper div.page-main > .page-title-wrapper {
  display: none;
}

/* Responsiveness // Responsiveness // Responsiveness */

@media (max-width: 768px) {
  .filter-options input[type="radio"] + .amshopby-choice:before,
  .filter-options input[type="radio"] + .amshopby-choice:after {
    top: -2px;
    width: 25px;
    height: 25px;
  }
  .filter-options-item .filter-options-content .items [class*="am-filter-item"] {
    padding-left: 35px;
  }
  .page-layout-2columns-left .page-main > .columns {
    display: flex !important;
  }
  .amrelated-grid-wrapper .slick-slider .slick-dots {
    width: 100%;
    margin: 0;
  }
  .amrelated-grid-wrapper .slick-slider .slick-dots li {
    margin: 0 5px 5px;
    width: 20px;
    height: 20px;
  }
  header.page-header .amsearch-result-section .amsearch-message-block {
    margin: 5px 15px;
    padding: 20px 0;
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(30, 30, 30, 0.1);
  }
  header.page-header .amsearch-result-section .amsearch-message-block span {
    font-size: 16px;
  }
}

#amasty-shopby-product-list .product-item-inner .swatch-option.text {
  position: relative;
  margin: 0;
  padding: 7.5px 0;
  min-width: auto;
  width: 100%;
  height: auto;
  background: 0 0;
  border: 0;
  border-radius: 0;
  float: none;
  overflow: inherit;
  outline: none;
  display: flex;
  align-items: flex-start;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

#amasty-shopby-product-list .product-item-inner .swatch-old-price {
  position: relative;
  margin-left: auto;
  margin-right: 5px;
}

#amasty-shopby-product-list .product-item-inner .swatch-old-price::before {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  right: 0;
  border-top: 2px solid #ad40b1;
  -webkit-transform: rotate(-5deg);
  -moz-transform: rotate(-5deg);
  -ms-transform: rotate(-5deg);
  -o-transform: rotate(-5deg);
  transform: rotate(-5deg);
}

#amasty-shopby-product-list .product-item-inner .swatch-option.text::before {
  content: "";
  margin-right: 7px;
  width: 16px;
  height: 16px;
  display: block;
  background-image: url(../images/circle1.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}

#amasty-shopby-product-list .product-item-inner .swatch-option.text.selected::before {
  background-image: url(../images/circle.svg);
}

#amasty-shopby-product-list .product-item-inner .swatch-attribute-options .swatch-price,
#amasty-shopby-product-list .product-item-inner .swatch-attribute-options .swatch-special-price {
  font-size: 14px;
  font-weight: 700;
}

#amasty-shopby-product-list .product-item-inner .swatch-attribute-options .swatch-price {
  margin-left: auto;
}

#amasty-shopby-product-list .products-grid .product-item.hide_price .price-final_price .price-wrapper,
#amasty-shopby-product-list .products-grid .product-item.hide_price .price-box .special-price .price-wrapper,
#amasty-shopby-product-list .products-grid .product-item.hide_price .product-item-info .price-box > .old-price {
  display: none;
}

@media (min-width: 768px) {
  #amasty-shopby-product-list .products-grid .product-item {
    transition: all 0.3s linear;
  }

  #amasty-shopby-product-list .products-grid .product-item-info {
    padding: 20px 20px 75px;
    transition: all 0.3s linear;
  }

  #amasty-shopby-product-list .products-grid .product-item-info:hover {
    box-shadow: none;
  }

  #amasty-shopby-product-list .products-grid .product-item-info:after {
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s linear;
  }

  #amasty-shopby-product-list .products-grid .product-item-inner {
    top: calc(100% - 70px);
    max-height: 70px;
    border: none;
    border-radius: 0 0 6px 6px;
    box-shadow: none;
    opacity: 1;
    transition: all 0.3s linear;
  }

  #amasty-shopby-product-list .products-grid .product-item-info:hover .product-item-inner {
    box-shadow: 0 24px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s linear;
  }

  #amasty-shopby-product-list .products-grid .product-item-info:hover .product-item-inner {
    max-height: 100%;
    transition: all 0.3s linear;
  }

  #amasty-shopby-product-list .products-grid .product-item-inner .product-item-actions {
    opacity: 0;
    transition: all 0.3s linear;
  }

  #amasty-shopby-product-list .products-grid .product-item-info:hover .product-item-inner .product-item-actions {
    opacity: 1;
    transition: all 0.3s linear;
  }

  #amasty-shopby-product-list .products-grid .product-item-inner .swatch-attribute {
    margin: 0;
  }

  #amasty-shopby-product-list .price-box.price-final_price .price {
    font-weight: 700;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  #amasty-shopby-product-list .product-item-inner > .swatch-wrapper {
    display: block;
  }
}

#amasty-shopby-product-list .product-items .product-image-container {
  width: 100% !important;
}

#amasty-shopby-product-list .product-items .product-image-container span.product-image-wrapper {
  padding-bottom: 100% !important;
}

.catalog-category-view .category-view {
  margin-bottom: 30px;
}
.catalog-category-view .category-view .page-main {
  margin: 0 auto;
}
.catalog-category-view .category-view .page-main h1 {
  margin: 0;
}
