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

#home .product-tabs-check-more-button {
  color: #fe5b00;
  border: 1.5px solid #fe5b00;
  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: #fe5b00;
  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 {
  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-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.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-size: 28px;
}

.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 {
  padding-bottom: 1rem;
}

.home-under-slideshow {
  background-color: #41738b14;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.under-slideshow-icon-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 12px;
}

.under-slideshow-icon-text img {
  width: 3rem;
}

.button-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 44px;
  padding: 0.85rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 10px 24px rgba(32, 158, 224, 0.18);
  background-color: #1fa0e4;
  border-color: #1fa0e4;
  color: #ffffff;
  margin-top: 1rem;
  width: fit-content;
}

.button-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 44px;
  padding: 0.85rem 1.75rem;
  border: 1px solid #9fa6ad;
  border-radius: 0.4rem;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  color: #1f2328;
  margin-top: 1rem;
  width: fit-content;
}

.button-blue:hover,
.button-blue:focus-visible {
  background-color: #168fce;
  border-color: #168fce;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(22, 143, 206, 0.24);
  transform: translateY(-2px);
}

.button-empty:hover,
.button-empty:focus-visible {
  background-color: #f3f6f8;
  border-color: #7f8891;
  color: #111418;
  box-shadow: 0 12px 24px rgba(31, 35, 40, 0.12);
  transform: translateY(-2px);
}

.button-blue:active,
.button-empty:active {
  transform: translateY(0);
  box-shadow: none;
}

.review-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  font-size: 16px;
  color: #1f2328;
}

.review-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: black;
  text-align: center;
}

.review-content {
  font-size: 1rem;
  line-height: 1.65;
  color: #4f5d6b;
  align-items: center;
  white-space: wrap;
  text-align: center;
}

.review-content > :first-child {
  margin-top: 0;
}

.review-content > :last-child {
  margin-bottom: 0;
}

.star-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.star-rating img {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.home-tips-inner > img {
  display: none;
}

.review-item {
  font-size: 20px;
}

@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: 600px;
    gap: 1.9rem;
  }

  .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: 20px;
    right: 20px;
    bottom: 20px;
    transform: none;
  }

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

  .home-under-slideshow {
    flex-direction: row;
    justify-content: space-around;
  }

  .home-tips-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    align-items: center;
    gap: 1.35rem;
  }

  .home-tips-inner > div {
    min-width: 0;
  }

  .home-tips-inner > img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    justify-self: end;
  }
  
}

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

}
