#home .product-tabs-wrapper {
  padding: 1rem;
}

#home .product-tabs-check-more-button {
  color: #0f427a;
  border: 1.5px solid #0f427a;
  border-radius: 1.5rem;
  padding: 0.7rem 1rem;
  display: block;
  width: fit-content;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#home .product-tabs-check-more-button:hover {
  background-color: #0f427a;
  color: white;
}

#home .product-tabs-comment {
  color: #fe5b00;
  font-size: 22px;
}

#home .product-tab-buttons {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2rem;
}

#home .product-tab-buttons > div {
  cursor: pointer;
  padding: 0.4rem 0rem;
  font-weight: 200;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  color: #0f427a;
}

#home #newProductTabButton {
  border-color: #da027e;
}

#home #popularProductTabButton {
  border-color: #0390d8;
}

.home-squares-wrapper {
  padding: 0.7rem;
  width: 100%;
}

.home-square-wrapper {
  display: block;
  background-color: #0f427a;
  border-radius: 0.7rem;
  position: relative;
  height: 40vh;
  margin-bottom: 2rem;
  background-size: cover;
}

.home-square-inner {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: white;
}

.home-square-badge {
  background-color: #91ab1c;
  padding: 0.5rem 1.2rem 0.5rem 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  border-radius: 1rem;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.4rem;
}

.home-square-title {
  font-weight: 700;
  font-size: 30px;
}

.home-square-button {
  color: white;
  font-family: inherit;
  background: transparent;
  border: 1.5px solid white;
  padding: 0.7rem 1.5rem;
  border-radius: 1rem;
  width: fit-content;
  font-size: 16px;
}

.home-square-button:hover {
  color: #0f427a;
  background-color: white;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.contact-form-message {
  width: fit-content;
  border-radius: 0.5rem;
  padding: 0.3rem;
}

#home .product_list ul {
  grid-template-columns: repeat(auto-fit, minmax(250px, 250px));
  justify-content: center;
}

@media screen and (min-width: 768px) {
  #home .product-tab-buttons > div {
    cursor: pointer;
    padding: 0.4rem 0rem;
    font-size: 18px;
  }
}

@media screen and (min-width: 1024px) {
  #home .product-tabs-wrapper {
    padding: 3rem calc((100% - 85%) / 2);
  }

  #home .product-tab-buttons > div {
    cursor: pointer;
    padding: 0.4rem 0rem;
    font-size: 42px;
    font-weight: 700;
  }

  #home .product-tabs-check-more-button {
    float: right;
  }

  .home-squares-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: 650px;
    gap: 1.9rem;
    padding: 2rem calc((100% - 80%) / 2);
    padding-bottom: 10rem;
  }

  .home-squares-wrapper.reverse {
    grid-template-columns: 1fr 2fr;
    grid-template-areas: "second first";
  }

  .home-square-wrapper {
    height: auto;
    margin-bottom: 0;
  }

  .home-square-row-2 {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1.9rem;
  }

  .main-square .home-square-inner {
    left: 60px;
    bottom: 50%;
    transform: translateY(50%);
  }

  .main-square .home-square-title {
    font-size: 50px;
  }
}

@media screen and (min-width: 1280px) {
}
