/* Header */
.category-header {
  display: block;
}
.site-content {
  padding-top: 174px;
}
/* Header End */
/* Product Title Bar */
.common-title-product {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.common-title .breadcrumb {
  margin: 0;
}
/* Product Title Bar End */
/* Product Category Slider */
.shop-category-image,
.product-category-image {
  padding-top: 140.63%;
}
/* Product Category Slider End */

/* Filter */
.filter {
  position: sticky;
  top: 10px;
}
.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 16px;
}
.filter-wrapper {
  height: calc(100vh - 274px);
  overflow-y: auto;
}
/* .filter-wrapper {
  height: calc(100vh - 381px);
} */
.filter .accordion-item {
  color: #333d4c;
  border: none;
}
.filter .accordion-item:not(:last-child) {
  margin-bottom: 10px;
}
.filter .accordion-header {
  margin-bottom: 0;
  color: #333d4c;
}
.filter .accordion-button {
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  color: #333d4c;
  transition: 0.3s;
}
.filter .accordion-flush .accordion-item .accordion-button,
.filter .accordion-flush .accordion-item .accordion-button.collapsed {
  border-radius: 6px;
}
.filter .accordion-button:not(.collapsed) {
  color: #333d4c;
  background-color: #ffffff;
  box-shadow: none;
}
.filter .accordion-button:not(.collapsed):hover {
  background-color: #ffffff;
}
.filter .accordion-button:hover {
  background-color: #efefef;
  transition: 0.3s;
}
.filter .accordion-button:focus {
  border-color: none;
  box-shadow: none;
}
.filter .accordion-button::after {
  background-image: url(../images/icon-plus.svg);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
}
.filter .accordion-button:not(.collapsed)::after {
  background-image: url(../images/icon-minus.svg);
}
.filter .accordion-body {
  padding: 12px 8px;
  border-top: 1px solid #efefef;
}
.size-checkbox,
.fit-checkbox,
.stretch-checkbox,
.fabric-checkbox,
.detail-checkbox,
.color-checkbox {
  display: flex;
  align-items: center;
  row-gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.size-checkbox li,
.color-checkbox li {
  width: 50%;
}
.fit-checkbox li,
.stretch-checkbox li,
.fabric-checkbox li,
.detail-checkbox li {
  width: 50%;
}
.filter-offcanvas .offcanvas-body {
  padding: 0 8px;
  overflow: hidden;
}
.filter-offcanvas .filter-wrapper {
  height: calc(100vh - 86px);
  overflow-y: auto;
}
/* Filter End */

/* Sorting Bar */
.sorting-bar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 4px;
}
.sorting-bar-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.show-block {
  display: flex;
  align-items: center;
  gap: 10px;
}
.divider {
  width: 5px;
  height: 24px;
  display: inline-flex;
  align-items: center;
}
.show-block button {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #565656;
}
.show-block button.active {
  color: #17242a;
  text-decoration: underline;
}
.sort-by {
  display: flex;
  align-items: center;
}
.sort-by span {
  flex-shrink: 0;
}
.sort-by select {
  font-size: 14px;
  border: 0;
  padding: 0 24px 0 4px;
  background-position: right 0 center !important;
  background-size: 20px !important;
  filter: brightness(0);
}
.filter-button {
  align-items: center;
  gap: 4px;
}
.grid-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
}
.grid-two.active i,
.grid-three.active i,
.grid-four.active i,
.grid-five.active i {
  background: #565656;
}
.switch-grid.grid-two {
  display: none;
}
/* Sorting Bar End */
/* Product Listing */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px 16px;
}
.product-item {
  padding: 0 12px;
  margin-bottom: 24px;
}
.product-item.w-50 {
  width: 50%;
}
.product-item.w-33 {
  width: 33.33%;
}
.product-item.w-25 {
  width: 25%;
}
.product-item.w-20 {
  width: 20%;
}
.product-item.w-20 .product-title,
.product-item.w-20 .product-box:hover .product-title:hover {
  font-size: 12px;
  line-height: 18px;
}
.product-item.w-25 .solid-button.solid-button-cart {
  padding-left: 16px;
  padding-right: 16px;
}
.product-item.w-20 .solid-button.solid-button-cart {
  padding-left: 12px;
  padding-right: 12px;
  gap: 4px;
  width: calc(100% - 20px);
}
.product-item.w-20 .product-box:hover .solid-button-cart {
  bottom: 28px;
}
.product-item.w-20 .solid-button.solid-button-cart .icon-cart {
  width: 20px;
  height: 20px;
}
/* Product Listing End */

@media only screen and (max-width: 1199px) {
  /* Header */
  .category-header {
    display: none;
  }
  .site-content {
    padding-top: 100px;
  }
  /* Header End */
  /* Filter */
  /* .filter {
    top: 89px;
  } */
  .color-checkbox li {
    width: 50%;
  }
  .stretch-checkbox li,
  .detail-checkbox li {
    width: 100%;
  }
  /* Filter End */
  /* Product Listing */
  .product-item.w-25 .product-title,
  .product-item.w-25 .product-box:hover .product-title:hover {
    font-size: 14px;
    line-height: 21px;
  }
  .product-item.w-25 .solid-button.solid-button-cart {
    padding: 6px 12px;
    width: calc(100% - 30px);
  }
  .product-item.w-25 .product-box:hover .solid-button-cart {
    bottom: 32px;
  }
  .product-item.w-25 .solid-button.solid-button-cart .icon-cart {
    width: 20px;
    height: 20px;
  }
  .product-item.w-20 .solid-button.solid-button-cart {
    padding: 6px 8px;
    gap: 4px;
    width: calc(100% - 16px);
  }
  .product-item.w-20 .product-box:hover .solid-button-cart {
    bottom: 24px;
  }
  .product-item.w-20 .discounted-price {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    display: inline-block;
  }
  .product-item.w-20 .fav-button {
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
  }
  .product-item.w-20 .fav-button::before {
    background-size: 18px;
    height: 18px;
    width: 18px;
  }
  .product-item.w-20 .fav-button::after {
    background-size: 20px;
    height: 20px;
    width: 20px;
  }
  /* Product Listing End */
}
@media only screen and (max-width: 991px) {
  /* Header */
  .site-content {
    padding-top: 99px;
  }
  /* Header End */
  /* Filter */
  .filter {
    position: static;
  }
  .filter-btn-close {
    position: absolute;
    top: 17px;
    left: -30px;
    border: 0;
    padding: 0;
  }
  .filter-btn-close:focus {
    outline: none;
    box-shadow: none;
  }
  .filter-btn-close i {
    background: #ffffff;
  }
  /* Filter End */
  /* Product Listing */
  .sorting-bar-main-title {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .product-item.w-20 .product-title,
  .product-item.w-20 .product-box:hover .product-title:hover {
    line-clamp: 1;
    -webkit-line-clamp: 1;
  }
  /* Product Listing End */
}
@media only screen and (max-width: 767px) {
  /* Header */
  .site-content {
    padding-top: 97px;
  }
  /* Header End */
  /* Sorting Bar */
  .sorting-bar-main-title {
    gap: 8px;
  }
  .sorting-bar-wrapper {
    gap: 16px;
  }
  .sorting-bar-main .sorting-bar-main-title p,
  .show-block button,
  .sort-by .text-normal,
  .show-block .text-normal,
  .sort-by select,
  .filter-button {
    font-size: 12px;
    line-height: 18px;
  }
  .show-block {
    gap: 6px;
  }
  .divider {
    width: 4px;
    height: 18px;
  }
  .grid-switcher {
    gap: 8px;
  }
  .switch-grid.grid-five {
    display: none;
  }
  .switch-grid i {
    height: 20px;
  }
  /* Sorting Bar End */
  /* Product Listing */
  .product-grid {
    margin: 0 -8px 16px;
  }
  .product-item {
    padding: 0 8px;
    margin-bottom: 16px;
  }
  .product-item.w-25 .product-title,
  .product-item.w-25 .product-box:hover .product-title:hover {
    line-clamp: 1;
    -webkit-line-clamp: 1;
  }
  .product-item.w-25 .discounted-price {
    font-size: 14px;
    line-height: 22px;
  }
  .product-item.w-25 .solid-button.solid-button-cart {
    padding: 6px 8px;
    width: calc(100% - 16px);
  }
  .product-item.w-25 .product-box:hover .solid-button-cart {
    bottom: 28px;
  }
  .product-item.w-25 .fav-button {
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
  }
  .product-item.w-25 .fav-button::before {
    background-size: 18px;
    height: 18px;
    width: 18px;
  }
  .product-item.w-25 .fav-button::after {
    background-size: 20px;
    height: 20px;
    width: 20px;
  }
  /* Product Listing End */
}
@media only screen and (max-width: 575px) {
  /* Header */
  .site-content {
    padding-top: 93px;
  }
  /* Header End */
  /* Filter */
  .filter-offcanvas.offcanvas {
    width: 300px;
  }
  /* Filter End */
  /* Sorting Bar */
  .sorting-bar-main {
    row-gap: 8px;
  }
  .sorting-bar-main-title {
    gap: 8px;
    width: 100%;
    justify-content: space-between;
  }
  .sorting-bar-wrapper {
    gap: 12px;
    width: 100%;
    justify-content: space-between;
  }
  .switch-grid.grid-two {
    display: block;
  }
  .switch-grid.grid-four {
    display: none;
  }
  /* Sorting Bar End */
  /* Product Box */
  .product-grid {
    margin-left: -6px;
    margin-right: -6px;
  }
  .product-item {
    padding: 0 6px;
  }
  .product-box:hover .solid-button-cart,
  .product-box .solid-button-cart {
    bottom: 24px;
  }
  .product-box .solid-button-cart {
    width: calc(100% - 16px);
  }
  .pagination .page-link {
    font-size: 14px;
    line-height: 20px;
    width: 28px;
    height: 28px;
  }
  /* Product Box End */
}
@media only screen and (max-width: 480px) {
  .site-content {
    padding-top: 136px;
  }
  /* Filter */
  .filter-offcanvas.offcanvas {
    width: 280px;
  }
  /* Filter End */
  /* Sorting Bar */
  .sorting-bar-wrapper {
    column-gap: 8px;
    row-gap: 4px;
    flex-wrap: wrap;
  }
  .grid-switcher {
    display: none;
  }
  /* Sorting Bar End */
  /* Product Box */
  .fav-button {
    width: 20px;
    height: 20px;
  }
  /* Product Box End */
}
