/* banner */

.banner_box picture:after {
  display: none;
}

.product-banner .banner_content {
  transform: translate(0, -50%);
  top: initial;
  left: initial;
  left: 40px;
  top: 50%;
  width: 520px;
  text-align: initial;
}

.product-banner .banner_title {
  font-size: 42px;
  line-height: 1.2;
}


/* filter */

/* Desktop Filter Bar */
.filter-section {
  position: sticky;
  top: 57px;
  z-index: 2;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  background: #f8f8f8;
  border-bottom: 1px solid #ddd;
  margin-top: 30px;
  border: 1px solid #ccc;
  border-right: 0;
  border-left: 0;
  margin-bottom: 4px;
}

.filter-label {
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 600;
  color: #4D4D4D;
  background-color: #F7F4EB;
}

.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown-toggle {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 400;
  background: #fff;
  border-right: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-toggle::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: rotate(45deg);
  transition: all 0.3s;
}

.dropdown.open .dropdown-toggle::after {
  transform: rotate(-135deg);
}

.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: none;
  flex-direction: column;
  max-height: 200px;
  overflow-y: auto;
  z-index: 999;
  width: 100%;
}

.dropdown-menu label {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid #E3E3E3;
  position: relative;
  padding-left: 30px !important;
}

.dropdown-menu label:last-child {
  border-bottom: 0;
}

.dropdown-menu label input {
  width: 13px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.dropdown.open .dropdown-menu {
  display: flex;
}

/* Mobile Filter Button */
.filter-button {
  display: none;
  padding: 10px 20px;
  border: none;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
  margin-right: 0;
  text-align: right;
  margin: 10px 15px 10px auto;
  background-color: #ed1c24;
  color: #fff;
}

body.drawer-open {
  overflow: hidden;
}

.drawer-open header {
  z-index: 2;
}

/* Right Side Drawer */
.filter-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 6px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  overflow-y: auto;
  z-index: 1000;
  padding: 20px;
}

.filter-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.drawer-close {
  cursor: pointer;
  font-size: 17px;
}

/* Responsive */
@media (max-width: 768px) {

  .filter-bar {
    display: none;
  }

  .filter-button {
    display: block;
  }

}

/* Accordion for Mobile */
.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-toggle {
  padding: 12px 5px 12px 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-item.active .accordion-toggle {
  border-bottom: 1px solid #ddd;
}

.accordion-toggle::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: rotate(45deg);
  transition: all 0.3s;
}

.accordion-item.active .accordion-toggle::after {
  transform: rotate(-135deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 10px;
}

.accordion-content label {
  display: flex;
  font-size: 14px;
  font-weight: 400;
  gap: 10px;
  padding: 3px 0;
}

.accordion-content label input {
  width: 13px;
}

.accordion-item.active .accordion-content {
  max-height: 300px;
  padding: 10px;
}

/* Overlay */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* product listing */

.product-lisiting-wrapper {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
}

.product-list-item-a {
  grid-column: span 3;
}

.product-list-item-b {
  grid-column: span 2;
}

.product-list-item-c {
  grid-column: span 3;
}

.product-list-item-d {
  grid-column: span 4;
}

.product-list-item-e {
  grid-column: span 4;
}


.product-list-item {
  position: relative;
  overflow: hidden;
  max-height: 400px;
  height: 100%;
}

.product-dis-img {
  width: 60px;
  height: auto;
}

.product-dis-img img {
  width: 100%;
  height: 100%;
  display: block;
}

.product-list-item .product-list-img {
  width: 100%;
  height: 100%;
}

.product-list-item .product-list-img img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

.product-dis {
  display: flex;
  gap: 16px;
  padding: 25px 20px;
  background-color: #fff;
  position: relative;
  max-width: 400px;
  width: 100%;
  position: absolute;
  left: 50%;
  bottom: -40%;
  transform: translateX(-50%);
  transition: all 0.7s;
}

.product-list-item:hover .product-dis {
  bottom: 50px;
}

.product-list-item-b .product-dis {
  max-width: 320px;
}

.product-text {
  display: flex;
  height: auto;
  flex-direction: column;
  justify-content: space-between;
}

.product-heading {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #242424;
}

.product-line {
  width: 42px;
  height: 2px;
  background-color: #F0F0F0;
  position: relative;
}

.product-line::after {
  content: "";
  display: block;
  width: 15px;
  height: 2px;
  background-color: #ED1C24;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

.product-text .product-link {
  font-size: 14px;
  line-height: 1;
  font-weight: 300;
  color: #000000;
  transition: all 0.3s;
}

.product-text .product-link:hover {
  color: #ED1C24;
}

.product-right-arrow {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 20px;
  bottom: 23px;
}

.product-right-arrow svg {
  width: 100%;
  height: 100%;
}


.loader-icon {
  padding: 50px 0;
  text-align: center;
  width: 100%;
  margin: auto;
}

.loader-icon img.loader-img {
  width: 48px;
  height: auto;
  margin: auto;
  text-align: center;
  display: block;
}

.loader-img {
  animation: rotateLoader 5s linear infinite;
}

@keyframes rotateLoader {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}





@media screen and (max-width:1400px) {

  /* banner */
  .product-banner .banner_title {
    font-size: 38px;
  }

  .right-design-text p {
    font-size: 14px;
  }

  /* filter */
  .dropdown-toggle {
    font-size: 14px;
  }

  .filter-label {
    font-size: 14px;
  }

  /* product listing */
  .product-list-item-b .product-dis {
    max-width: 280px;
  }


  .product-dis {
    padding: 17px 15px;
    gap: 10px;
    max-width: 350px;
  }

  .product-heading {
    font-size: 14px;
  }

  .product-right-arrow {
    width: 18px;
    height: 18px;
    bottom: 16px;
    right: 15px;
  }
}

@media screen and (max-width:1199px) {

  /* filter */
  .dropdown-toggle {
    padding: 10px 12px;
  }

  .filter-label {
    padding: 10px 12px;
  }

  .filter-section {
    top: 44px;
  }

  /* product listing */
  .product-dis-img {
    width: 50px;
  }

  .product-dis {
    max-width: 320px;
  }

  .product-list-item-b .product-dis {
    max-width: 260px;
  }
}


@media screen and (max-width:1099px) {

  /* product listing */
  .product-list-item-a {
    grid-column: span 5;
  }

  .product-list-item-b {
    grid-column: span 3;
  }

  .product-list-item-c {
    grid-column: span 5;
  }

  .product-list-item-d {
    grid-column: span 5;
  }
}

@media screen and (max-width:1024px) {

  /* product listing */
  .product-dis {
    bottom: 50px;
  }
}

@media screen and (max-width:991px) {

  /* filter */
  .filter-section {
    top: 47px;
  }
}


@media screen and (max-width:767px) {

  /* banner */
  .product-banner .banner_title {
    font-size: 30px;
  }

  .product-banner .banner_content {
    text-align: center;
    margin: auto;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* product listing */
  .product-dis {
    max-width: 300px;
  }

  .product-dis-img {
    width: 40px;
  }

  .product-heading {
    font-size: 13px;
  }

  .product-line {
    width: 35px;
  }

  .product-line::after {
    width: 10px;
  }

  .product-text .product-link {
    font-size: 13px;
  }

  .product-list-item-b .product-dis {
    max-width: 230px;
  }

  /* filter */
  .filter-section {
    position: static;
  }
}

@media screen and (max-width:599px) {

  /* banner */
  .product-banner .banner_content {
    width: 100%;
    padding: 40px 15px;
    transform: translate(0, 0);
  }

  /* product listing */
  .product-list-item {
    grid-column: span 8;
  }

  .product-lisiting-wrapper {
    gap: 15px;
    padding: 0 15px;
  }

  .product-dis {
    max-width: 300px;
  }

  .product-list-item-b .product-dis {
    max-width: 300px;
  }

}