.container {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.ourproduct-section {
  padding: 4rem 0 2.6rem;
}

.ourproduct-section p {
  max-width: 1100px;
  margin: auto;
}

.product-menu {
  text-align: center;
  margin-bottom: 2rem;
}

/* .product-filter{
  margin: 2rem 0;
} */

.tab {
  display: inline-flex;
  /* background-color: #F0F0F0; */
  border-radius: 46.243px;
  padding: 0.6rem;
  gap: 0.8rem;
}

.main-page ul.tab1,
.main-page ul.tab{
  list-style: none;
}

/* .main-page ul.tab1 li,
.main-page ul.tab li{
  margin: 0;
} */

.filter-menu .tab {
  border-radius: unset;
  padding: 0;
  gap: 2rem;
}

.filter-menu .tab li {
  flex: 0 0 100%;
  max-width: 30%;
  width: 100%;
  height: 262px;
}

.tile-grouts-section .filter-menu .tab li {
  height: 280px;
}

.tab button {
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 35px;
  /*background: #B3D236;
  */
  display: flex;
  padding: 1.3rem 2.8rem;
  justify-content: center;
  align-items: center;
  color: #5f5f5f;
  /*font-size: 15.431px;
  */
  font-weight: 600;
  letter-spacing: 0.312px;
  background: #f1f1f1;
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  -ms-border-radius: 35px;
  -o-border-radius: 35px;
}

.filter-menu .tab button {
  padding: unset;
  margin: unset;
  background-color: transparent;
}

.tab button.active,
.tab button:hover {
  background-color: #3b4498;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.tab button.tile-grouts.active,
.tab button.tile-grouts:hover {
  background-color: #b3d236;
  color: #fff;
}

.filter-menu .tab button.active,
.filter-menu .tab button:hover {
  background-color: transparent;
  box-shadow: none;
}

.tabcontent2,
.tabcontent1,
.tabcontent {
  display: none;
  /* padding: 6px 12px; */
  /* border: 1px solid #ccc; */
  border-top: none;
}

.filter-tab {
  /* display: flex; */
  /* justify-content: space-between; */
  /* align-items: center; */
  /* flex-wrap: wrap; */
  gap: 2.4rem;
}

.product-cal-price {
  gap: 1.5rem;
}

.menu-filter {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}
/* .menu-filter {
  flex: 0 0 23%;
  max-width: 23%;
  width: 100%;
} */

.filter-row.flex {
  border-radius: 20px;
  background: #f5f5f5;
  padding: 1.8rem;
  gap: 2rem;
}

.product-card {
  border-radius: 20px;
  /* border: 1.012px solid #ECECEC; */
  background: #e8e8e8;
  /* padding: 1rem; */
  /* transition: 0.3s; */
  /* -webkit-transition: 0.3s; */
  /* -moz-transition: 0.3s; */
  /* -ms-transition: 0.3s; */
  /* -o-transition: 0.3s; */
}

/* .product-card:hover {
  box-shadow: 0 0 20px #57575750;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
} */

.pcard-img {
  gap: 1rem;
  border-radius: 15.029px;
  background: #e8e8e8;
  /* margin-bottom: 1.1rem; */
  padding: 1rem;
}

.product-hover {
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.8);
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  opacity: 0;
  width: 100%;
  height: 100%;
  gap: 0.5rem;
}

.product-hover span {
  color: var(--White, #fff);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.32px;
}

.pcard-img .product-hover p {
  color: var(--White, #fff);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.32px;
  padding: 0 2px;
  height: auto !important;
}

.pcard-img img {
  max-width: 210px;
  width: 100%;
  max-height: 160px;
  height: 100%;
  border-radius: 14px;
}

/* .tab button.active .product-hover,
.tab button:hover .product-hover {
  transition: 0.3s;
  opacity: 1;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
} */

.pcard-img p {
  margin: 0;
  max-width: 170px;
  width: 100%;
  color: var(--Black, #2d2d2d);
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.32px;
  line-height: normal;
  height: 55px;
}

.tile-grouts-section .pcard-img p {
  height: 83px;
}

/* .find-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  border-radius: 8.671px;
  border: 1.156px solid #F1F1F1;
  box-shadow: none;
  color: #5F5F5F;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.37px;
  padding: 0.717rem 0;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
} */

/* .btn.find-dealer-btn:hover{
  transition: 0.3s;
  background-color: #B3D236;
  color: #000;
} */

/* .btn.find-contractor-btn:hover{
  transition: 0.3s;
  background-color: #3B4498;
  color: #FFF;
} */

.filter-tab p {
  color: var(--Black, #2d2d2d);
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 26px;
  margin: 2rem 0 0;
}

.filter-menu {
  flex: 0 0 100%;
  max-width: 58%;
  width: 100%;
}

.ourproduct-dec {
  margin-top: 5rem;
}

.product-cal {
  gap: 1rem;
  margin-bottom: 1.5rem;
}
/* .product-cal span img {
  max-width: 251px;
  max-height: 386px;
  width: 100%;
  height: 100%;
} */

.product-cal span img {
  max-width: 500px;
  max-height: 386px;
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

.productdetails-variant {
  justify-content: space-between;
}

.productdetails-card {
  gap: 2rem;
}

.productdetails-variant div.form-group:first-child {
  flex: 0 0 100%;
  max-width: 58.5%;
}

.productdetails-variant div.form-group:last-child {
  flex: 0 0 100%;
  max-width: 38.5%;
}

.grouts-tiles.productdetails-variant {
  gap: 1.5rem 0;
}

/* .grouts-tiles.productdetails-variant div.form-group:nth-child(2){
  flex: 0 0 100%;
  max-width: 58.5%;
}
.grouts-tiles.productdetails-variant div.form-group:nth-child(3){
  flex: 0 0 100%;
  max-width: 38.5%;
} */

.grouts-tiles.productdetails-variant div.form-group {
  flex: 0 0 100%;
  max-width: 48.5%;
}

.grouts-tiles.productdetails-variant div.form-group:nth-child(4),
.grouts-tiles.productdetails-variant div.form-group:nth-child(5),
.grouts-tiles.productdetails-variant div.form-group:nth-child(3) {
  flex: 0 0 100%;
  max-width: 31.5%;
}
/* .grouts-tiles.productdetails-variant div.form-group:nth-child(4){
  flex: 0 0 100%;
  max-width: 31.5%;
}
.grouts-tiles.productdetails-variant div.form-group:nth-child(5){
  flex: 0 0 100%;
  max-width: 31.5%;
} */

/* .grouts-tiles.productdetails-variant div.form-group:first-child{
  flex: 0 0 100%;
  max-width: 100%;
} */

.form-group label {
  margin-bottom: 0.5rem;
}

.technical-inut-group {
  border-radius: 10px;
  border: 1.5px solid #cecece;
  background: #f4f4f4;
  padding: 1rem;
  gap: 1.5rem;
  position: relative;
}

.form-group select {
  border-radius: 10px;
  border: 1.5px solid #cecece;
  background: #f4f4f4;
  width: 100%;
  padding: 1rem;
}

.technical-inut-group input {
  padding: 0;
  background-color: transparent;
  border: none;
  outline: none;
  width: 100%;
}

.product-price {
  border-radius: 10px;
  background: #ddd;
  padding: 1.2rem 1rem;
  width: 100%;
  max-width: 100%;
}

.productdetails-price .form-group {
  flex: 0 0 100%;
  max-width: 49%;
}

.productdetails-price .btn-volume {
  flex: 0 0 100%;
  max-width: 49%;
}

a.btn.btn-lg.btn-volume {
  border-radius: 10px;
  background: var(--blue, #3b4498);
  padding: 1.2rem 1rem;
  color: #fff;
}

.technical-inut-group span:after {
  content: "";
  position: absolute;
  right: 3.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 80%;
  background-color: #d1d1d1;
}

.tile-grouts-section .filter-menu {
  flex: 0 0 100%;
  max-width: 38%;
  width: 100%;
}

.tile-grouts-section .filter-menu .tab li {
  max-width: 47%;
}

@media (max-width: 1620px) {
  .container {
    max-width: 1200px;
  }

  .productdetails-variant div.form-group:first-child {
    flex: 0 0 100%;
    max-width: 53.5%;
  }

  .productdetails-variant div.form-group:last-child {
    flex: 0 0 100%;
    max-width: 44%;
  }

  .grouts-tiles.productdetails-variant div.form-group {
    flex: 0 0 100%;
    max-width: 60%;
  }
  .grouts-tiles.productdetails-variant div.form-group:nth-child(2) {
    flex: 0 0 100%;
    max-width: 37%;
  }

  .grouts-tiles.productdetails-variant div.form-group:nth-child(4),
  .grouts-tiles.productdetails-variant div.form-group:nth-child(5),
  .grouts-tiles.productdetails-variant div.form-group:nth-child(3) {
    flex: 0 0 100%;
    max-width: 31.5%;
  }

  .tile-grouts-section .filter-menu .tab li {
    max-width: 46%;
  }

  .pcard-img p {
    font-size: 16px;
  }
}

@media (max-width: 1440px) {
  .filter-tab {
    gap: 2rem;
  }
}

@media (max-width: 1440px) {
  /* .find-btn {
    font-size: 10px;
} */
}

@media (max-width: 1299px) {
  .filter-tab {
    gap: 1.5rem 0;
  }

  .ourproduct-dec {
    margin-top: 4rem;
  }
}

@media (max-width: 1199px) {
  /* .find-btn {
    font-size: 9px;
} */

  .filter-menu .tab li {
    max-width: 29%;
    /* height: 237px; */
  }

  .pcard-img p {
    font-size: 16px;
  }

  .grouts-tiles.productdetails-variant div.form-group {
    flex: 0 0 100%;
    max-width: 65%;
  }
  .grouts-tiles.productdetails-variant div.form-group:nth-child(2) {
    flex: 0 0 100%;
    max-width: 32%;
  }
}

@media (max-width: 1099px) {
  .menu-filter {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .filter-menu {
    flex: 0 0 100%;
    max-width: 56%;
    width: 100%;
  }

  .tab button {
    font-size: 14px;
    padding: 1rem 2rem;
  }

  .tile-grouts-section .filter-menu .tab li {
    max-width: 45.5%;
  }

  .grouts-tiles.productdetails-variant div.form-group {
    flex: 0 0 100%;
    max-width: 67%;
  }
  .grouts-tiles.productdetails-variant div.form-group:nth-child(2) {
    flex: 0 0 100%;
    max-width: 30%;
  }
}

@media (max-width: 991px) {
  .tab button {
    font-size: 13px;
    padding: 0.6rem 1rem;
  }

  .filter-menu,
  .product-menu {
    text-align: center;
    margin-bottom: 1rem;
  }

  form {
    width: 100%;
  }

  .ourproduct-section {
    padding: 3rem 0 2rem;
  }

  .ourproduct-dec {
    margin-top: 3rem;
  }

  .filter-menu .tab {
    gap: 1rem;
    justify-content: space-between;
  }

  .filter-menu .tab li {
    max-width: 47%;
    /* height: 230px; */
  }

  .filter-menu {
    max-width: 52%;
  }

  .productdetails-variant {
    /* flex-direction: column; */
    flex-wrap: wrap;
    gap: 2rem;
  }

  .grouts-tiles.productdetails-variant div.form-group:nth-child(2),
  .productdetails-variant div.form-group:last-child,
  .productdetails-variant div.form-group:first-child {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .productdetails-price a,
  .productdetails-price span,
  .productdetails-price,
  .productdetails-variant {
    font-size: 14px;
  }

  .tile-grouts-section .filter-menu {
    max-width: 30%;
  }

  .tile-grouts-section .filter-menu .tab li {
    max-width: 90%;
  }

  .tile-grouts-section .filter-menu .tab {
    gap: 2rem;
  }
}

@media (max-width: 870px) {
  /* .menu-filter {
    flex: 0 0 50%;
    max-width: 48%;
} */

  .productdetails-variant,
  .productdetails-price {
    /* flex-direction: column; */
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .grouts-tiles.productdetails-variant div.form-group:nth-child(4),
  .grouts-tiles.productdetails-variant div.form-group:nth-child(3) {
    flex: 0 0 100%;
    max-width: 47.5%;
  }

  .grouts-tiles.productdetails-variant div.form-group:nth-child(5),
  .productdetails-price .form-group,
  .productdetails-price .btn-volume,
  .productdetails-variant div.form-group:last-child,
  .productdetails-variant div.form-group:first-child {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .tab button {
    font-size: 12px;
    /* padding: 0.6rem 1rem; */
  }

  .product-menu {
    /*width: 100%;
  */
    border-radius: 8px;
    /*max-width: 740px;
  */
    overflow: auto;
    /* background-color: #F0F0F0; */
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
  }

  .tab {
    display: inline-flex;
    justify-content: center;
    /* border-radius: 46.243px; */
    padding: 0.6rem;
    /* overflow: scroll; */
    /* width: 730px; */
    /* width: 100%; */
  }

  .product-menu-item .tab {
    width: 100%;
  }

  .filter-menu {
    overflow: auto;
  }

  .product-menu-item .filter-menu {
    overflow: unset;
  }

  .ourproduct-section {
    padding: 2rem 0 2rem;
  }
}

@media (max-width: 600px) {
  .filter-row.flex {
    flex-direction: column;
  }

  .tile-grouts-section .filter-menu,
  .filter-menu {
    max-width: 100%;
  }

  .tile-grouts-section .filter-menu .tab li {
    max-width: 46.5%;
}
}

@media (max-width: 576px) {
  .menu-filter {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .filter-row.flex {
    padding: 1.2rem;
  }

  .tile-grouts-section .filter-menu .tab li {
    max-width: 46%;
}
}

@media (max-width: 440px) {
  .tile-grouts-section .filter-menu .tab li {
    max-width: 45%;
}
}

@media (max-width: 412px) {
  .filter-menu .tab {
    gap: 1.5rem;
    justify-content: center;
}

.tile-grouts-section .filter-menu .tab li,
.filter-menu .tab li {
  max-width: 70%;
  /* height: 230px; */
}

.grouts-tiles.productdetails-variant div.form-group:nth-child(4), .grouts-tiles.productdetails-variant div.form-group:nth-child(3) {
  flex: 0 0 100%;
  max-width: 100%;
}

.tile-grouts-section .pcard-img p,
.pcard-img p {
  height: 100%;
}

.filter-menu .tab li,
.tile-grouts-section .filter-menu .tab li {
  height: 100%;
}
}