section.home-product {
  background: #f8f8f8;
  padding: 100px 0;
}

.csrm-product-wapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-right: 20px;
}

.csrm-product-wapper .csrm-product-item {
  position: relative;
}

.csrm-product-wapper .csrm-product-item .overlay {
  background-color: rgba(10, 10, 10, 0.3) !important;
  transition: all 0.6s ease;
  width: 100%;
  height: 100%;
  top: 0;
  position: absolute;
  left: 0;
}

.csrm-product-wapper .csrm-product-item .csrm-product-inner {
  bottom: 15px;
  position: absolute;
  left: 0;
  width: 100%;
  padding: 15px;
}

.csrm-product-wapper .csrm-product-item .csrm-product-inner a .btn-title {
  padding: 10px 55px 10px 19px;
}

.csrm-product-wapper .csrm-product-item .csrm-product-inner h3 {
  font-size: 21px;
}

.csrm-product-wapper
  .csrm-product-item
  .csrm-product-inner
  .btn-style-one
  .btn-title
  .btn-icon {
  top: -2px;
  border-left: 0px solid rgba(255, 255, 255, 0.2);
}

.csrm-project-details {
  display: flex;
  flex-wrap: wrap;
}

.product-block {
  background: #f8f8f8f8;
  width: calc(25% - 20px);
  padding: 0;
  box-sizing: border-box;
  box-shadow: 0px 2px 4px rgb(255 255 255);
  margin-right: 20px;
  margin-bottom: 20px;
}

.product-block .block-content {
  padding: 10px;
  box-sizing: border-box;
}

.product-block .block-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.product-block .block-content p {
  font-size: 15px;
}

.product-block img {
  height: 272px;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.block-gallery {
  margin-top: 30px;
}

.block-gallery h3 {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 5px;
  font-weight: 700;
}

.block-gallery .gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-right: 10px;
}

.project-single-title {
  background: #f4f4f4;
  padding: 20px 0;
  margin-bottom: 30px;
}

.project-single-title h1 {
  margin-bottom: 0;
  line-height: 46px;
  font-size: 36px;
}

.csrm-user-block .container {
  display: flex;
  flex-wrap: wrap;
}

.csrm-user-block .container .left-section {
  width: 60%;
  padding-right: 30px;
  box-sizing: border-box;
}

.csrm-user-block .container .right-section {
  width: 40%;
}

.csrm-user-block .container .right-section img {
  width: 100%;
  height: auto;
}

.csrm-modal-description {
  position: fixed;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: -1;
  transition: all 0.4s ease-in;
}

.csrm-modal-description .csrm-modal-inner {
  max-width: 720px;
  background: #fff;
  padding: 80px 50px 50px 50px;
  height: 500px;
  overflow-y: scroll;
  position: relative;
}

.csrm-user-block button.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 100%;
  border: 0px solid #86b049;
  opacity: 0;
  z-index: -1;
  width: 35px;
  height: 35px;
}

.csrm-user-block.active .csrm-modal-description {
  z-index: 99999;
  opacity: 1;
}

.csrm-user-block.active button.close-menu {
  z-index: 999991;
  opacity: 1;
}

.csrm-user-block button.close-menu svg {
  border: 1px solid #86b049;
  border-radius: 100%;
  background: #86b049;
  width: 100%;
  height: 100%;
}

.csrm-user-block button.close-menu svg circle {
  fill: #86b049;
  stroke: #86b049;
}

.csrm__overflow {
  overflow: hidden;
}

.csrm-modal-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  margin-bottom: 40px;
}

.csrm-modal-list .csrm-modal-popup-des img {
  margin-bottom: 10px;
}
.csrm-modal-popup-description {
  position: fixed;
  background: #fff;
  padding: 40px;
  box-sizing: border-box;
  z-index: 999991;
  top: 0%;
  left: 0;
  height: 100vh;
  width: 100%;
  display: block;
  background: #1212128a;
  display: none;
  align-items: center;
  justify-content: center;
}

.csrm-modal-popup-inner {
  background: #fff;
  position: relative;
  z-index: 999999991;
  opacity: 1;
  padding: 20px;
  max-width: 500px;
  padding-top: 40px;
}

.csrm-modal-list
  .csrm-modal-popup-des.list-active
  .csrm-modal-popup-description {
  display: flex;
}

.csrm-modal-popup-description svg.csrm-close-icon {
  position: absolute;
  right: 18px;
  top: 15px;
}

@media (max-width: 600px) {
  .csrm-user-block .container {
    flex-direction: column-reverse;
  }

  .csrm-product-wapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-right: 0px;
  }

  .csrm-modal-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .block-gallery .gallery-wrapper {
    grid-template-columns: repeat(1, 1fr);
    margin-right: 0px;
  }
  .product-block {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 20px;
  }
  .csrm-user-block .container .left-section {
    width: 100%;
    padding-right: 0px;
  }

  .csrm-user-block .container .right-section {
    width: 100%;
    margin-bottom: 30px;
  }
}
