#site-header,
.site-footer,
#main-content {
  overflow: hidden;
}

#breadcrumb {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding-top: 20px;
}

#breadcrumb div {
  width: 100%;
  padding: 0 15px;
}

#breadcrumb div a {
  color: #272727;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  /* 133.333% */
}

.explore-section .section-title {
  -ms-grid-row-span: none;
}

#sub-products .swiper-slide {
  max-width: 380px;
  width: 100%;
}

#sub-products .items-stretch {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: start;
  max-width: 1348px;
}

#sub-products {
  background-color: white;
  padding-top: 0;
}

.sub-cat-left {
  width: 100%;
  max-width: 335px;
  min-width: 0;
  flex-basis: 28.3%;
}

.sub-category-inner {
  gap: 75px;
  padding: 0 15px;
}

.product-card__pricing {
  margin-top: 20px;
  margin-bottom: 36px;
}

.product-card {
  margin-bottom: 30px;
}

.product-card__name {
  color: #707070;
  font-size: 19px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  max-width: 300px;
}

.sub-category hr {
  margin-top: 0;
  margin-bottom: 40px;
  width: 100%;
  visibility: hidden;
}

.sub-category hr.absolute {
  margin-top: 0;
  margin-bottom: 0;
  border-bottom: 1px solid #707070;
  width: 5000px;
  top: 92px;
  visibility: visible;
}

.sub-category {
  max-width: 1640px;
  width: 100%;
  margin: 0 auto;
}

/* FILTER */
.filter-top {
  width: 100%;
  padding: 29px 20px 29px 0;
}

.filter-item {
  width: 100%;
  border-bottom: 1px solid #e1e1e3;
}

.filter-bottom {
  width: 100%;
  gap: 10px;
}

.sub-cat-title {
  color: #272727;
  text-align: center;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  width: 100%;
  background: #FBFBFB;
  padding-bottom: 25px;
  border-bottom: 1px solid #707070;
}

.filter-name {
  color: #707070;
  font-size: 21px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  /* 114.286% */
}

.filter-bottom label {
  color: #707070;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 29px;
  /* 161.111% */
  display: flex;
  gap: 10px;
}

.filter-bottom hr {
  display: none;
}

.filters {
  width: 100%;
}

.clear {
  color: #707070;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  /* 133.333% */
  width: 100%;
  margin-top: 10px;
  margin-bottom: 23px;
}

.toggle-filter {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #2a2a2a;
  border-bottom: 2px solid #2a2a2a;
  transform: rotate(45deg);
}

input[type="radio"]:checked {
  accent-color: #707070;
}

/* TOP BAR SWIPER */
#top-bar-wrapper {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #FBFBFB;
}

.top-bar-inner {
  max-width: 1640px;
  margin: 0 auto;
  overflow: hidden;
}

.top-bar {
  padding: 0 15px;
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
  padding-bottom: 0;
}

.top-bar .swiper {
  overflow: visible;
}

.top-bar .swiper-slide {
  height: 93px;
}

.top-bar .swiper-slide a {
  width: 100%;
  height: 100%;
  gap: 6px;
  border: 1px solid #e1e1e3;
  background: #fff;
  padding: 0;
}

.swiper-buttons {
  top: 0;
  max-width: 1640px;
  height: 25px;
  width: 100%;
}

.swiper-buttons-inner {
  max-width: 83px;
  width: 100%;
  top: -138px;
  right: 29px;
}

.top-bar .swiper-button-next,
.top-bar .swiper-button-prev {
  background-image: unset;
}

.top-bar .swiper-button-next:after,
.top-bar .swiper-button-prev:after {
  font-size: 25px;
  text-transform: none !important;
  letter-spacing: 0;
  font-variant: initial;
  line-height: 1;
  color: black;
}

.top-bar-image {
  max-width: 100px;
  width: auto;
  height: auto;
}

.top-bar a p {
  color: #707070;
  font-size: 19px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  width: 200px;
}

.sl-text-bottom {
  max-width: 907px;
}

.popular-categories-right:not(.lazy-bg) {
  background-image: url(/themes/rentone/images/categories/sub-cat-about.png);
  background-image: -webkit-image-set(url(/themes/rentone/images/categories/sub-cat-about.png) 1x, url(/themes/rentone/images/categories/sub-cat-about@2x.png) 2x);
}

.pc-title {
  max-width: 711px;
}

.filter-item:nth-child(2),
.filter-item:nth-child(3) {
  display: none;
}

.popular-categories-right {
  height: 770px;

}

.popular-categories .border {
  height: 730px;
}

@media screen and (min-width: 1300px) and (max-width: 1915px) {
  .sub-cat-left {
    width: 100%;
    max-width: 380px;
    min-width: 0;
    flex-basis: 24%;
  }

  .sub-cat-right {
    flex-basis: 76%;
  }

  .explore-section>.container {
    padding: 0;
  }

  #sub-products .items-stretch>.swiper-slide {
    flex: 0 0 calc((100% - 60px) / 3);
    /* 86px = the two 43px gaps between 3 items */
    max-width: calc((100% - 60px) / 3);
  }

  .top-bar-inner {
    margin-left: 140px;
    margin-right: 140px;
  }

  .sub-category {
    margin-left: 140px;
    margin-right: 140px;
    width: auto;
  }

  .product-section {
    margin: 0 !important;
  }

  #sub-products .swiper-slide {
    max-width: 345px;
  }

  #sub-products .product-card__atc {
    width: auto !important;
    height: auto;
    font-size: 5.1cqi;
    padding: 3% 8%;
  }

  #sub-products .product-card__atc.mac-chrome-special {
    padding: 3% 7%;
  }

  /* Safari Only */
  @supports (background: -webkit-named-image(i)) {
    #sub-products .product-card__atc {
      padding: 3% 7.5%;
    }
  }

  #sub-products .product-card__price {
    font-size: 6cqi;
  }

  #sub-products .product-card__info {
    container-type: inline-size;
  }

  #sub-products .product-card__name {
    font-size: 5.1cqi;
    min-height: 50px !important;
  }

  #sub-products .product-card__pricing {
    margin-top: 5%;
    margin-bottom: 10%;
  }

  #sub-products .product-card-btns {
    justify-content: space-between;
  }

  #sub-products .items-stretch {
    gap: 30px;
  }

  .sub-category-inner {
    padding: 0;
    gap: 31px;
  }

  #sub-products .product-card-btns {
    gap: 7px;
  }

  .top-bar {
    padding-left: 0;
    padding-right: 0;
  }

  #breadcrumb div {
    padding: 0;
  }

  .filters {
    align-items: flex-start;
  }

  .filter-item {
    width: 93%;
  }
}

@media screen and (min-width: 1300px) and (max-width: 1450px) {
  /* Safari Only */
  @supports (background: -webkit-named-image(i)) {
    #sub-products .product-card__atc {
      padding: 3% 7%;
    }
  }
}

@media (max-width: 1300px) {
  .sub-cat-left {
    flex-basis: unset;
  }
}

@media screen and (max-width: 767px) {
  .sub-category-inner {
    flex-direction: column;
  }

  .sub-cat-left {
    max-width: 100%;
    width: 100%;
  }

  .product-card__image {
    width: 164px;
    height: 164px;
  }

  .product-card {
    margin-bottom: 0;
    flex-direction: row;
    gap: 15px;
  }

  .product-card__name {
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    max-width: 180px;
    max-height: 42px;
    overflow: hidden;
  }

  .product-card__price {
    color: #333;
    /* Product Price Mobile */
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.63px;
  }

  .product-card__pricing {
    margin-top: 0;
    margin-bottom: 0;
  }

  .product-card-btns {
    flex-direction: column;
    margin-top: 0;
  }

  #sub-products .swiper-slide {
    max-width: 363px;
    width: 100%;
    height: 200px;
    padding-bottom: 36px;
    border-bottom: 1px solid #E1E1E3;
  }

  .product-card__atc {
    width: 147px;
    height: 35px;
    border-radius: 34px;
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.7px;
  }

  .product-card__atc:first-of-type {
    width: 147px;
  }

  .product-card__info {
    padding: 0;
    justify-content: space-between;
    align-items: flex-start;
  }

  .popular-categories .border {
    height: 97%;
    width: 94%;
  }

  .popular-categories-right {
    height: 296px;
  }
}

@media screen and (max-width: 567px) {
  .sub-cat-title {
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: left;
    width: 100%;
    padding: 0 15px;
    padding-bottom: 20px;
    padding-top: 19px;
  }

  #breadcrumb div a {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 171.429% */
  }

  .sub-category hr {
    margin-top: 0;
    margin-bottom: 30px;
  }


  .filters {
    width: 30.5em;
    flex-direction: row;
    justify-content: flex-start;
    gap: 17px;
  }

  .filter-item {
    max-width: 108px;
    height: 35px;
    border-radius: 34px;
    border: 1px solid #707070;
    width: 100%;
  }

  .filter-name {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.8px;
  }

  .filter-top {
    width: 100%;
    padding: 0 15px;
  }

  .sub-cat-left {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    align-items: flex-start;
    padding: 0;
    overflow-x: scroll;
    padding-bottom: 1em;
  }

  .filter-top {
    width: 100%;
    padding: 0 14px;
  }

  .sub-category-inner {
    gap: 24px;
  }

  .toggle-filter {
    position: relative;
    top: -2px;
  }

  .filter-bottom {
    width: 100%;
    height: auto;
    background: #f1f1f1;
    box-shadow: unset;
    position: fixed;
    z-index: 9;
    left: 50%;
    transform: translateX(-50%);
    padding: 24px 26px;
  }

  .filter-bottom .filter-name {
    color: #707070;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    /* 133.333% */
  }

  .filter-bottom .toggle-filter2 {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-right: none;
    border-bottom: none;
    transform: unset;
  }

  .filter-bottom .toggle-filter2::before,
  .filter-bottom .toggle-filter2::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
  }

  .filter-bottom .toggle-filter2::before {
    transform: translateY(-50%) rotate(45deg);
  }

  .filter-bottom .toggle-filter2::after {
    transform: translateY(-50%) rotate(-45deg);
  }

  .clear {
    margin-top: 0;
    margin-bottom: 0;
    border-top: 1px solid #e1e1e3;
    padding-top: 12px;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    /* 133.333% */
  }

  .filter-bottom label {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  .filter-bottom .filter-top2 {
    padding: 0;
    width: 100%;
  }

  #sub-products .items-stretch {
    justify-content: center;
    gap: 36px;
  }

  .top-bar .swiper-slide {
    height: 69.75px;
  }

  .top-bar .swiper-slide a {
    padding: 0 10px;
  }

  .top-bar-image {
    max-width: 70.875px;
    width: 100%;
    height: auto;
  }
}

/* Pagination (listing) — circular page buttons; re-skinned from the reference style with
   Rent One's font (--font) + colors (active/prev-next in --secondary). */
.pagination-bottom {
  padding: 22px 0 0;
}

.pagination {
  display: inline-block;
  margin: auto;
  padding-left: 0;
  list-style: none;
}

.pagination li {
  margin: 0 3px;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
}

.pagination li a,
.pagination li span {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  text-align: center;
  line-height: 36px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 100%;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.pagination li a {
  color: var(--gray-950);
}

.pagination li span {
  color: var(--secondary);
}

.pagination li.active a,
.pagination li.active span {
  border-color: var(--secondary);
  color: var(--secondary);
}

.pagination li:not(.disabled):not(.active):hover a,
.pagination li:not(.disabled):not(.active):hover span {
  border-color: var(--gray-300);
}

.pagination li a[rel="prev"],
.pagination li a[rel="next"] {
  color: var(--secondary);
  border-color: var(--gray-300);
}

.pagination li.disabled:first-child,
.pagination li.disabled:last-child {
  display: none;
}