.products {
  min-height: 100vh;
  background-color: #fafafa;
}

.products__inner {
  padding-top: 90px;
  padding-bottom: 90px;
  color: #243746;
}

.products__inner h2 {
  font-size: 36px;
  margin-bottom: 50px;
}

.products__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  max-height: 650px;
}

.products__list-item1 {
  grid-area: 1 / 1 / 3 / 3;
}

.products__list-item2 {
  grid-area: 1 / 3 / 2 / 4;
}

.products__list-item3 {
  grid-area: 1 / 4 / 2 / 5;
}

.products__list-item4 {
  grid-area: 2 / 3 / 3 / 4;
}

.products__list-item5 {
  grid-area: 2 / 4 / 3 / 5;
}

.products__list-item {
  overflow: hidden;
  position: relative;
}

.products__list-item p {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 15px;
  font-size: 24px;
  font-weight: 500;
  line-height: 100%;

  text-shadow: 1.41px 1.41px black, 2px 0 black, 1.41px -1.41px black,
    0 -2px black, -1.41px -1.41px black, -2px 0 black, -1.41px 1.41px black,
    0 2px black;
}

.products__list-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.products__list-item:hover img {
  transform: scale(1.05);
}

.my-button-container {
  position: absolute;
  width: 100%;
  bottom: 20px;
  display: flex;
  justify-content: center;
}

.my-button {
  cursor: pointer;
  display: inline-block;
  margin-top: 30px;
  padding: 11px 14px 11px 27px;
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  margin-left: 5px;
  text-shadow: 1.41px 1.41px black, 2px 0 black, 1.41px -1.41px black,
    0 -2px black, -1.41px -1.41px black, -2px 0 black, -1.41px 1.41px black,
    0 2px black;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.75);
}

.my-button:hover img {
  right: 5px;
}

.my-button img {
  position: relative;
  top: 2px;
  width: 15px;
  height: 15px;
  right: 10px;
  transition: all 500ms ease-in-out;
}

@media screen and (max-width: 1300px) {
  .products__list-item p {
    font-size: 18px;
  }
}

@media screen and (max-width: 992px) {
  .products__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }

  .products__list-item1 {
    grid-area: 1 / 1 / 2 / 3;
  }

  .products__list-item2 {
    grid-area: 2 / 1 / 3 / 2;
  }

  .products__list-item3 {
    grid-area: 2 / 2 / 3 / 3;
  }

  .products__list-item4 {
    grid-area: 3 / 1 / 4 / 2;
  }

  .products__list-item5 {
    grid-area: 3 / 2 / 4 / 3;
  }
}

@media screen and (max-width: 576px) {
  .products__list-item p {
    font-size: 14px;
  }
}

/* 
.products__list {
    text-align: center;
    display: flex;
    justify-content: space-between;
}

.products__list2 {
    text-align: center;
    display: flex;
    justify-content: space-between;
}

.products__card {
    cursor: pointer;
    background-color: #fff;
    width: 260px;
    min-height: 650px;
    padding: 20px;
    position: relative;
    transition: 0.5s;
    box-shadow: 0px 0px 10px 0.1px rgba(0, 0, 0, 0.25);
}

.products__card:hover {
    transform: translateY(-20px);
}

.products__card img {
    width: 60px;
    height: 60px;
}

.products__card h4 {
    word-wrap: break-word;
    font-size: 17px;
    margin-top: 15px;
    margin-top: 5px;
}

.products__card p {
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 0.5px solid rgb(211, 211, 211);
}

.products__card > div {
    margin-top: 20px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 15px;
}

.products_listMain__inner {
    text-align: center;
}

.products__cardMin {
    min-height: 390px;
    width: 330px;
}

.products__cardMain {
    cursor: pointer;
    background-color: #fff;
    width: 100%;
    height: 280px;
    padding: 10px;
    position: relative;
    transition: 0.5s;
    margin-bottom: 30px;
    box-shadow: 0px 0px 10px 0.1px rgba(0, 0, 0, 0.25);
}

.products__cardMain:hover {
    transform: translateY(-20px);
}

.products__cardMain img {
    width: 180px;
    height: 180px;
    position: absolute;
    left: 10%;
    top: 15%;
}

.products__cardMain h4 {
    word-wrap: break-word;
    font-size: 24px;
    margin-top: 70px;
    line-height: 1.1;
}

.products__cardMain__text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.products__cardMain p {
    margin-top: 5px;
    padding-bottom: 5px;
    border-bottom: 0.5px solid rgb(211, 211, 211);
}

.products__linkMain {
    margin-top: 20px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 30px;
}

.products__linkMain a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 5px;
    color: #243746;
    font-weight: 500;
}

.products__link {
    margin-top: 20px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 15px;
}

.products__link a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 5px;
    color: #243746;
    font-weight: 500;
}

.products__link a:hover svg {
    fill: #0044ff;
}

.products__link a:hover svg path {
    fill: #ffffff;
}

.products__link a:hover svg circle {
    stroke: #0044ff;
}

.products__linkMain a:hover svg {
    fill: #0044ff;
}

.products__linkMain a:hover svg path {
    fill: #ffffff;
}

.products__linkMain a:hover svg circle {
    stroke: #0044ff;
}

@media (max-width: 1500px) {
    .products__listMain {
        display: none;
    }
}

@media (min-width: 1500px) {
    .products__list {
        display: none;
    }
}

@media (min-width: 1351px) and (max-width: 1440px) {
    .container {
        max-width: 90%;
    }

    .products__card {
        width: 230px;
    }
}

@media (min-width: 992px) and (max-width: 1350px) {
    .products__list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .products__card {
        width: 330px;
        min-height: 600px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .products__list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .products__card {
        width: 300px;
        min-height: 600px;
    }
}

@media (max-width: 767px) {
    .products__list {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .products__card {
        width: 80%;
        min-height: 550px;
    }
}

@media (max-width: 480px) {
    .products__list {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .products__card {
        width: 100%;
        min-height: 550px;
    }

    .products__inner h2 {
        font-size: 42px;
    }

    .products__card h4 {
        font-size: 18px;
    }

    .products__card p {
        font-size: 15px;
    }
}

@media (max-width: 320px) {
    .products__card {
        width: 100%;
        min-height: 550px;
    }

    .products__inner h2 {
        font-size: 36px;
    }
} */
