.row-gap-medium {
  gap: 2rem;
}

.text-right {
  text-align: right;
}

.grament-txt {
  width: 100%;
  justify-content: space-between;
}

.grament-filter {
  border-bottom: 1px solid var(--primary-color);
  padding: 0.5rem;
  min-width: 130px;
}

.grament-filter.active {
  background-color: #FFF;

}

/* 
.grament-filter.active .grament-txt {
  border-bottom: 1px solid var(--primary-color);
} */

.product-txt {
  width: 100%;
  line-height: 1.5;
}

.product-txt p {
  color: #555555;
}

.product-flex>div:nth-child(1) {
  flex-basis: 50%;
  width: 50%;
}

.product-flex>div:nth-child(2) {
  flex-basis: 50%;
  width: 50%;
}

.products-page-title {
  /* background-color: #f4f4f4; */
  /* padding: 3.875rem 0; */
}

/* .produt-pagelist-border.active-tab {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    transition: var(--common-transition);
} */

/* .produt-pagelist-border p::after {
    position: absolute;
    bottom: 0;
    content: "";
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    width: 0%;
    transition: var(--common-transition);
}
.produt-pagelist-border p:hover::after {
    transition: var(--common-transition);
    width: 100%;
} */

.product-right-menu {
  position: sticky;
  border-right: 1px solid #00000066;
  padding-right: 2rem;
  height: fit-content;
  top: 5rem;
}

.product-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* width: 81%; */
  column-gap: 4.75rem;
  row-gap: 3rem;
  /* margin-left: auto; */
}

.prodcut-content-color p {
  color: #888787;
}

.activeproduct.productactive {
  /* display: block; */
  z-index: 1001;
  transform: translateY(calc(0.5rem + 1px));
  transition: var(--common-transition);
  padding: 1rem 1rem;
  max-height: 25vh;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.activeproduct {
  /* display: none; */
  padding: 0 1rem;
  position: absolute;
  height: max-content;
  max-height: 0vh;
  overflow: hidden;
  /* top: 100%; */
  right: 0%;
  width: 100%;
  background-color: white;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

/* .product-flex-1 {
    flex-basis: 16%;
    width: 16%;
}

.product-flex-2 {
    flex-basis: 80%;
    width: 80%;
} */



.close-menu {
  width: fit-content;
  margin-left: auto;
}

/* .product-popup-box {
    background-color: var(--white-color);
    margin: 0 auto;
    padding: 2rem 1rem;
} */
.popup-close {
  margin-right: 3%;
}

.popupactive.active {
  display: block;
  z-index: 99;
}

.p-detailimg {
  /* width: 100%; */
}

.p-detailimg img {
  height: 100%;
  object-position: right;
}

/* .btn-space {
    padding-top: 3rem;
} */

.popupoverlay {
  opacity: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: #000000b2;
  transition: var(--common-transition);
  backdrop-filter: blur(10px);
}

.popupoverlay.active {
  opacity: 1;
  z-index: 9;
}

.popupactive {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  padding: 2.25rem 4rem;
  width: 60%;
  background-color: var(--white-color);
  margin: 0 auto;
  transform: translate(-50%, -50%);
}

.product-top-space {
  padding-top: 1.5rem;
}

/* .product-popup-box {
    padding: 2rem 1rem;
} */

.product-border {
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 1.5rem;
}

.product-descripation-border {
  border-bottom: 1px solid #bebebe;
  padding-bottom: 1rem;
}

.productpopup .swiper-slide {
  text-align: left;

  display: flex;

  justify-content: center;

  align-items: center;
}

.products-btn .swiper-button-next,
.products-btn .swiper-container-rtl .products-btn .swiper-button-prev {
  background-image: unset;
  right: -17rem;
  left: auto;
}

.products-btn .swiper-button-prev,
.products-btn .swiper-container-rtl .products-btn .swiper-button-next {
  background-image: unset;
  left: -17rem;
  right: auto;
}

.aerrow-btn span {
  font-size: 40px;
  color: white;
}

.button-style-transparent {
  width: 100%;
  border: 1px solid var(--primary-color);
  background-color: transparent;
  transition: var(--common-transition);
}

.button-style-transparent:hover {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  transition: var(--common-transition);
}

.button-style-transparent:hover p {
  color: var(--white-color);
  transition: var(--common-transition);
}

.button-style-transparent p {
  color: var(--primary-color);
  transition: var(--common-transition);
}

.product-gap {
  gap: 9.875rem;
}

/* responsive */
@media only screen and (max-width: 1680px) {
  /* .product-flex-1 {
        flex-basis: 17%;
        width: 16%;
    } */

  /* .product-page-grid {
        width: 79%;
    } */
  /* .popupactive {
        position: fixed;
        top: 62%;
        left: 50%;
        transform: translate(-50%, -50%);
    } */

  /* .product-flex-2 {
        flex-basis: 79%;
        width: 80%;
    } */

  /* .btn-space {
        padding-top: 1rem;
    } */
}

@media only screen and (max-width: 1600px) {}

@media only screen and (max-width: 1450px) {
  /* .product-page-grid {
        width: 77%;
    } */

  /* .product-flex-1 {
        flex-basis: 18%;
        width: 16%;
    }

    .product-flex-2 {
        flex-basis: 77%;
        width: 80%;
    } */

  /* 
    .p-detailimg img {
        height: 50svh;
        object-fit: cover;
    } */

  /* .btn-space {
        padding-top: 3rem;
    } */
  .product-gap {
    gap: 4rem;
  }
}

@media only screen and (max-width: 1366px) {
  .product-gap {
    gap: 6rem;
  }
}

@media only screen and (max-width: 1280px) {
  .product-page-grid {
    /* width: 75%; */
    column-gap: 4rem;
  }

  /* .product-flex-1 {
        flex-basis: 19%;
        width: 16%;
    }

    .product-flex-2 {
        flex-basis: 76%;
        width: 80%;
    } */

  /* 
    .btn-space {
        padding-top: 4rem;
    } */
  .popupactive {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 2.25rem 2rem;
    width: 65%;
    background-color: var(--white-color);
    margin: 0 auto;
    transform: translate(-50%, -50%);
  }

  .product-gap {
    gap: 8rem;
  }

  .product-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 1152px) {



  .product-gap {
    gap: 10rem;
  }
}

@media only screen and (max-width: 1024px) {
  /* .product-flex-2 {
        flex-basis: 73%;
        width: 80%;
    }

    .product-flex-1 {
        flex-basis: 21%;
        width: 16%;
    } */

  /* .btn-space {
        padding-top: 12rem;
    } */
  .product-gap {
    gap: 15rem;
  }
}

@media only screen and (max-width: 991px) {
  .product-page-grid {
    /* width: 64%; */
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3.75rem;
  }

  /* .product-flex-1 {
        flex-basis: 28%;
        width: 16%;
    }

    .product-flex-2 {
        flex-basis: 64%;
        width: 80%;
    } */

  .product-flex>div:nth-child(1) {
    flex-basis: 100%;
    width: 100%;
  }

  .p-detailimg img {
    height: unset;
    object-fit: unset;
  }



  .certificate-main-text {
    width: fit-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
  }

  .product-flex>div:nth-child(2) {
    flex-basis: 100%;
    width: 100%;
  }

  /* .btn-space {
        padding-top: 3rem;
    } */

  .popupactive {
    padding: 2rem 3rem;
  }

  .button-style-transparent:hover {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    transition: var(--common-transition);
  }

  .button-style-transparent:hover p {
    color: var(--primary-color);
    transition: var(--common-transition);
  }

  .popupactive.active {
    display: block;
    z-index: 99;

    width: 80%;
  }

  .popup-scrollbox {
    height: 67vh;
    overflow-y: scroll;
    scrollbar-width: none;
  }

  .products-btn .swiper-button-next,
  .products-btn .swiper-container-rtl .products-btn .swiper-button-prev {
    background-image: unset;
    right: -8rem;
    left: auto;
  }

  .products-btn .swiper-button-prev,
  .products-btn .swiper-container-rtl .products-btn .swiper-button-next {
    background-image: unset;
    left: -8rem;
    right: auto;
  }
}

@media only screen and (max-width: 768px) {}

@media only screen and (max-width: 767px) {
  .product-right-menu {
    position: unset;
    border-right: 1px solid #00000066;
    padding-right: 2rem;
  }

  .inner-flex-mob {
    display: flex;
    flex-direction: column;
  }

  .product-right-menu {
    position: unset;
    border-right: unset;
    padding-right: unset;
  }

  .product-page-grid {
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 3.75rem;
    margin-left: unset;
    /* padding-top: 2rem; */
  }

  /* .product-flex-1 {
        flex-basis: 28%;
        width: 100%;
    } */

  .flex-row-mob {
    display: flex;
  }

  .j-c-sb-mob {
    justify-content: space-between;
  }

  .product-btn {
    border-bottom: 1px solid var(--primary-color);
    padding-top: 1rem;
    width: fit-content;
  }

  .product-link-mob.linksactive {
    display: block;
  }

  .product-link-mob {
    display: none;
  }

  .product-menu-main {
    background-color: var(--white-color);
    padding: 1rem 1rem;
  }

  .close-menu {
    width: fit-content;
    margin-left: auto;
  }

  .activeproduct {
    right: 0%;
    width: max-content;
    /* top: 105%; */
  }

  .product-page-top-links {
    padding-top: 2rem;
  }




  .sustanbility-sec-3-gap {
    gap: 1.5rem;
  }

  .popupactive {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
  }

  .popupactive {
    padding: 2rem 1rem;
  }

  .product-flex>div:nth-child(1) {
    flex-basis: 100%;
    width: 100%;
  }

  .button-style-transparent:hover {
    background-color: transparent;

    transition: var(--common-transition);
  }

  .button-style-transparent:hover p {
    color: var(--primary-color);
    transition: var(--common-transition);
  }

  .button-style-transparent p {
    line-height: 1.3 !important;
  }

  .products-btn .swiper-button-next,
  .products-btn .swiper-container-rtl .products-btn .swiper-button-prev {
    background-image: unset;
    right: -3rem;
    left: auto;
  }

  .products-btn .swiper-button-prev,
  .products-btn .swiper-container-rtl .products-btn .swiper-button-next {
    background-image: unset;
    left: -4rem;
    right: auto;
  }

  .btn-space .microgenix-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 2rem;
    transition: var(--common-transition);
    /* border-radius: 0.5rem; */
    width: fit-content;
    justify-content: center;
  }

  .product-gap {
    gap: 6rem;
  }

  .produt-pagelist-border:hover {
    background-color: transparent;
    transition: var(--common-transition);
  }

  /* .produt-pagelist-border:hover {
        border-left: unset;
        padding-left: unset;
        transition: var(--common-transition);
    } */
}