.category {
  margin-bottom: 10px;
}

.category .banner {
  display: flex;
  padding-top: 20.9%;
  height: 0;
  overflow: hidden;
  position: relative;
  margin-top: var(--header-height);
}

.category .banner img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumb-category {
  margin-top: 50px;
}

.breadcrumb-category .breadcrumb-item {
  color: var(--black-222);
  font-weight: 600;
  text-transform: uppercase;
  padding-left: 20px;
}

.breadcrumb-category .breadcrumb-item.symbol::before {
  content: "";
  float: unset;
  font-size: 14px;
  padding-right: 20px;
  color: var(--black-222);
}

.list-content i.arrow {
  top: 37%;
}

.list-content i.right {
  right: -6px;
  left: unset;
}

.list-content i.left {
  left: -4px;
}

/* category__main */
.category__main {
  margin-top: 40px;
}

.category__main-filter {
  width: 20%;
  float: left;
}

.category__main-content {
  float: left;
  width: 80%;
  padding-left: 15px;
  padding-right: 2%;
}

.category__main-content .wrapper {
  position: relative;
}

.category__main-content .product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex: 1;
  column-gap: 34px;
  row-gap: 48px;
  margin-bottom: 80px;
}

.category__main-content .product-list .item .top {
  box-shadow: 0 0 4px rgb(0 0 0 / 25%);
  padding-top: 75.74%;
  position: relative;
}

.category__main-content .product-list .item .top .img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  padding: 10px;
}

.category__main-content .product-list .item .top .img img {
  width: 100%;
  height: 100%;
}

.category__main-content .product-list .item .bottom {
  text-align: center;
  margin-top: 10px;
}

.category__main-content .product-list .item .bottom a {
  font-weight: 600;
  text-align: center;
  color: var(--black-222);
}

.category__main-content .product-list .item .bottom a:hover {
  text-decoration: underline;
}

/* product-filter */
/* .category__main-content .product-filter {
  margin-top: 80px;
} */
.category__main-content .product-filter .select {
  border-bottom: 1px solid var(--black-color);
  display: flex;
  justify-content: flex-end;
  padding-bottom: 10px;
}

.category__main-content .product-filter .select select {
  /* font-family: "Helvetica Neue"; */
  font-weight: 100;
  outline: none;
  padding: 8px 6px;
  border: 1px solid var(--black-color);
  border-radius: 0 !important;
  background-color: #fff !important;
  color: #000 !important;
  font-weight: 400 !important;
}

.list-filter {
  margin-top: 18px;
}

.list-filter .info {
  min-height: 202px;
}

.list-filter .item {
  padding: 10px;
  border: 1px solid var(--border-color);
  /* display: flex !important; */
  flex-direction: column;
  height: auto;
  
}

.list-filter .item .name {
  font-size: 13px;
  font-weight: 600;
  word-break: break-all;
}

.list-filter .item .img {
  margin-top: auto;
}

.list-filter .item .name a:hover {
  text-decoration: underline;
}

.list-filter .item .desc {
  font-size: 12px;
  line-height: 16px;
  margin-top: 15px;
  word-break: break-word;
}

.list-filter .item .price {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  margin-top: 16px;
}

.list-filter .item .price .regular {
  text-decoration: line-through;
  font-weight: normal;
  color: #bdbdbd;
  white-space: nowrap;
}

.list-filter .slick-slide {
  margin: 0 5px;
}


.list-filter .slick-slide>div {
  display: block !important; 
  height: auto !important;
}
.slick-track {
  display: flex !important;
  align-items: flex-start !important;
}
.list-filter .slick-list {
  margin: 0 0 0 -5px
}

.list-content i.arrow {
  z-index: 1;
}

.list-filter .item .title {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 15px;
  border-top: 1px solid var(--border-color);
  margin: 0 -10px;
  min-height: 132px;
  flex: 1;
}


.list-filter .item .title a {
  display: inline-block;
  max-height: 24px;
  margin-right: 5px;
}

.list-filter .item .title img {
  width: 24px;
  height: 24px;
  object-fit: cover;
}


.list-filter .item img {
  max-height: 147px;
  object-fit: contain;
  width: 100%;
  height: 100%;
}


 .hidden {
  display: none !important;
}

 .title {
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid var(--border-color);
  margin: 0 -10px;
  position: relative;
  align-items: stretch;
}

 .title span {
  width: 100%;
  font-weight:500;
  font-size: 13px;
}

 .title a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.icons-visible,
.icons-hidden {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
}

.icons-hidden.hidden {
  display: none;
}

.show-more-btn {
  position: relative;
  background-color: #34539d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  margin-top: 4px;
  display: flex; /* Đảm bảo icon căn giữa */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  
}
.show-more-btn .icon {
  font-style: normal;
  font-size: 28px; /* Tùy chỉnh lại kích thước nếu cần */
  line-height: 1;
  font-weight: 600;
}

.show-more-btn::after {
  content: attr(data-count);
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: red;
  color: white;
  font-size: 12px;
  font-weight: normal;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Nút đóng x */
.close-icon-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;               
  align-items: center;        
  justify-content: center;     
  padding: 0;                 
  line-height: 1;             
}






/* product-similar */
.product-similar {
  margin-top: 37px;
}

.title-section {
  background-color: var(--black-color);
  color: var(--white-color);
  width: max-content;
  font-size: 20px;
  padding: 10px;
  text-transform: uppercase;
}

.product-similar .slick-slide {
  margin: 0 10px;
}

.product-similar .slick-list {
  margin: 0 -10px;
}

.product-similar .list {
  margin-top: 28px;
}

.product-similar .list .item .top {
  padding-top: 67.8%;
  position: relative;
}

.product-similar .list .item .top .img {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  box-shadow: 0 0 4px rgb(0 0 0 / 25%);
}

.product-similar .list .item .top .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-similar .list .item .bottom {
  text-align: center;
}

.product-similar .list .item .bottom a {
  font-weight: 600;
}

.product-experience {
  position: relative;
  display: flex;
  margin-top: 20px;
}

.product-experience .desc {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.product-experience .desc .script {
  font-size: 24px;
  line-height: 32px;
  color: var(--black-color);
  font-weight: 600;
}

.product-experience .desc .script+.script {
  margin-top: 24px;
}

.product-experience .desc .address {
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: 700;
  padding: 10px;
  margin-top: 20px;
}

.related-post {
  margin-top: 30px;
}

.related-post .list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.related-post .list .item {
  box-shadow: 0 0 4px rgb(0 0 0 / 25%);
  padding: 10px;
}

.related-post .list .item .top {
  padding-top: 68.838%;
  position: relative;
  margin-bottom: 15px;
}

.related-post .list .item .top img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post .list .item .bottom a {
  font-weight: 600;
  color: var(--black-color);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-post .list .item .bottom a:hover {
  text-decoration: underline;
}

.block-category h1 {
  font-size: 34px;
  line-height: 144px;
  font-weight: 600;
  text-align: center;
}

.block-category img {
  margin: 0 auto;
  display: block;
}

.block-category h2 {
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  color: var(--black-222);
  margin-bottom: 8px;
}

.block-category p {
  margin-bottom: 15px;
  text-align: center;
}

.block-category strong {
  font-weight: 600;
}

.block-category {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  padding: 20px 10px;
  margin-top: 40px;
  max-height: 400px;
  overflow-y: hidden;
  position: relative;
}

.block-category .content-button {
  position: absolute;
  text-align: center;
  padding: 300px 0 10px;
  width: 100%;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, #fff 20%, rgba(34, 34, 34, 0) 100%);
  z-index: 2;
  cursor: pointer;
}

.block-category .content-button a {
  color: var(--black-color);
  text-decoration: underline;
}

.block-category blockquote {
  border-left: 10px solid var(--black-color);
  background: #f9f9f9;
  padding: 8.5px 10px;
  margin: 25.5px 10px;
}

.block-category a {
  color: #0000ff;
  font-weight: 600;
}

.block-category a:hover {
  text-decoration: underline;
  text-decoration-color: var(--black-color);
}

.block-category .iframe-wrapper {
  height: 600px;
  width: 100%;
  margin-bottom: 15px;
  padding-left: 15px;
}

.block-category .iframe-wrapper iframe {
  width: 100%;
  height: 100%;
}

.block-category .ytb p {
  font-style: italic;
  text-align: center;
}

/* .block-category iframe {
  width: 800px;
  height: 400px;
} */

.block-category .iframe-pdf {
  height: 550px;
}

.iframe-showroom {
  max-width: 800px;
  height: 400px;
  margin: 0 auto;
}

.block-category .iframe {
  margin-bottom: 15px;
}

/* category__main-filter */
.category__main-filter {
  position: sticky;
  top: calc(var(--header-height) + 10px);
  padding: 0 4px;
}

.category__main-filter .filter__item .heading {
  font-size: 16px;
  line-height: 16px;
  color: #636363;
  padding: 15px 10px 15px 25px;
  background: #f4f4f4;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 25px;
  cursor: pointer;
  user-select: none;
}

.category__main-filter .filter__item .body {
  padding: 0 20px 20px;
  display: none;
}

.category__main-filter .filter__item .body.active {
  display: block;
}

.category__main-filter .filter__item .body li label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  user-select: none;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.price-wrapper {
  position: relative;
  width: 77.4936%;
  height: 100px;
  margin: 15px 50px 15px 20px;
}

input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  outline: none;
  position: absolute;
  margin: auto;
  top: 0;
  transform: translateY(50%);
  background-color: transparent;
  pointer-events: none;
}

.slider-track {
  width: 98%;
  height: 5px;
  position: absolute;
  margin: 0 auto;
  top: 0;
  bottom: 0;
  border-radius: 3px;
  height: 10px;
  background-color: #c3c3c3;
}

input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 5px;
}

input[type="range"]::-moz-range-track {
  -moz-appearance: none;
  height: 5px;
}

input[type="range"]::-ms-track {
  appearance: none;
  height: 5px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  background-color: #000;
  cursor: pointer;
  margin-top: -9px;
  pointer-events: auto;
  border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #000;
  pointer-events: auto;
}

input[type="range"]::-ms-thumb {
  appearance: none;
  height: 20px;
  width: 20px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #000;
  pointer-events: auto;
}

input[type="range"]:active::-webkit-slider-thumb {
  background-color: #ffffff;
  border: 3px solid #000;
}

.filter__item .body .price .text-val {
  font-size: 13px;
  font-weight: 600;
}

.filter-cta {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.filter-cta i {
  font-size: 14px;
}

.filter-cta .text {
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}

.filter-body-mb {
  display: none;
}

.filter-body-mb.active {
  display: block;
}

/* shower */
.category__main-content .collection-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: unset;
  row-gap: unset;
  gap: 30px;
  padding-bottom: 50px;
  border-bottom: 2px solid var(--border-color);
  margin-left: 15px;
}

.category__main-content .collection-list .item {
  position: relative;
  overflow: hidden;
}

.category__main-content .collection-list .item .img {
  transition: all 0.3s ease-out;
}

.category__main-content .collection-list .item:hover .img {
  transform: scale(1.02);
}

.category__main-content .collection-list .item .top {
  padding-top: 36.24%;
}

.category__main-content .collection-list .item .top .img {
  padding: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}

.category__main-content .collection-list .item .bottom {
  text-align: left;
  margin: 0;
  position: absolute;
  left: 15px;
  bottom: 25px;
}

.category__main-content .collection-list .item .bottom a {
  color: var(--white-color);
  font-size: 20px;
  line-height: 29px;
  font-weight: 600;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .6);
}

/* shower-list */

.category__main-content .shower-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 35px;
  row-gap: 48px;
  margin-top: 50px;
}

.category__main-content .shower-list .item .top {
  box-shadow: 0 0 4px rgb(0 0 0 / 25%);
  padding-top: 76.01%;
  position: relative;
}

.category__main-content .shower-list .item .top .img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  padding: 10px;
}

.category__main-content .shower-list .item .top .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--black-222);
}

.category__main-content .shower-list .item .bottom {
  text-align: center;
  margin-top: 15px;
}

.category__main-content .shower-list .item .bottom a {
  font-weight: 600;
}

.category__main-content .shower-list .item .bottom a:hover {
  text-decoration: underline;
}

/* new product */
.list-filter.new-product {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.list-filter .type {
  margin-top: 10px;
}

.list-filter .fa-gift::before {
  font-size: 20px;
  color: var(--red-color);
}

.list-filter .new {
  background: var(--red-color);
  color: var(--white-color);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  padding: 4px 10px;
  width: max-content;
  border-radius: 2px;
}

.list-content .view-more {
  background: var(--black-color);
  color: var(--white-color);
  border: none;
  outline: none;
  display: block;
  width: max-content;
  margin: 20px auto 0 auto;
  padding: 10px;
  text-transform: capitalize;
}


@media only screen and (min-width: 1900px) {
  .category .banner {
    margin-top: var(--header-height-large);
  }
}

@media only screen and (max-width: 1173px) {
  .category__main-content .product-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 992px) {
  .category__main-content {
    padding-right: 0;
  }

  .category__main-content .shower-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .list-filter .slick-list,
  .list-filter .slick-slide {
    margin: 0;
  }

  .list-filter .item .name {
    font-size: 17px;
  }

  .title-section {
    width: 198px;
    text-align: center;
  }

  .product-experience {
    height: 219px;
  }

  .product-similar .slick-slide {
    margin: 0 5px;
  }

  .product-similar .slick-list {
    margin: 0 -5px;
  }

  .category__main-filter .filter__item .heading {
    line-height: 21px;
  }

  .list-filter.new-product {
    grid-template-columns: repeat(3, 1fr);
  }


  .list-filter .item img {
    max-height: none;
    object-fit: cover;
    width: 300px;
    height: 300px;
  }

  .category__main-content .product-list .item .top .img img {
    width: 55%;
    height: 100%;
    object-fit: cover;
  }
}

@media only screen and (max-width: 767px) {
  .block-category iframe {
    max-width: 100%;
  }

  .category__main-content .collection-list {
    gap: 10px;
  }

  .category__main-content {
    padding-left: 0;
  }

  .category__main-filter {
    display: none;
  }

  .category__main-content {
    width: 100%;
  }

  .category__main-content .product-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .category__main-content .product-list .item {
    position: relative;
    height: 55px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 20%);
  }

  .category__main-content .product-list .item .top {
    position: static;
    height: 100%;
    padding: 0;
  }

  .category__main-content .product-list .item .bottom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }

  .category__main-content .product-list .item .top .img {
    padding: 0;
  }

  .category__main-content .product-list .item .top .img {
    width: 55%;
  }

  .list-filter .slick-list {
    margin: 0 -10px;
  }

  .list-filter .slick-slide {
    margin: 0 10px;
  }

  .list-content {
    padding: 0;
  }

  .category__main-content .product-filter .select {
    display: none;
  }

  .title-section {
    max-width: 526px;
    width: 100%;
    margin: 0 auto;
  }

  .product-similar .slick-slide {
    margin: 0 10px;
  }

  .product-similar .slick-list {
    margin: 0 -10px;
  }

  .product-experience .desc .script {
    font-size: 19px;
    line-height: 30px;
  }

  .related-post .list .item .bottom a,
  .product-experience .desc .address {
    font-size: 15px;
    line-height: 24px;
  }

  .related-post .list {
    grid-template-columns: repeat(1, 1fr);
  }

  .related-post .list .item .top {
    padding: 0;
    height: 200px;
  }

  .related-post .list .item .bottom {
    margin-bottom: 20px;
  }

  .category__main-filter.mobile {
    width: 100%;
    height: fit-content;
    float: unset;
    z-index: 2;
  }

  .category__main-content .product-filter {
    margin-top: 20px;
  }

  .price-wrapper {
    height: 50px;
    margin: 0;
    margin-top: 20px;
    width: 100%;
  }

  .category__main-content .shower-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .list-filter.new-product {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 576px) {
  .category__main-content .shower-list {
    grid-template-columns: repeat(1, 1fr);
  }

  .block-category .iframe-wrapper {
    padding-left: 0;
  }

  .category__main-filter.mobile {
    position: static;
  }

  /* .category__main-content .product-list .item {
    height: 94px;
  } */

  .category__main-content .product-list .item .bottom {
    left: 0;
    width: 100%;
    transform: translate(0px, -50%);
    text-align: right;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
    padding-left: 55px;
    padding-right: 12px;
  }

  .category__main-content .product-list .item .bottom a {
    font-weight: 500;
    font-size: 15px;
  }

  .list-filter .item .title a {
    display: inline-block;
    max-height: 24px;
    margin-right: 2px;
  }
}

@media only screen and (max-width: 480px) {
  .category__main-content .collection-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.container .slide-link {
  font-weight: 600;
  color: #002B59;
  align-items: center;
  display: flex;
  justify-content: center;
}