section.product-section {
  flex-direction: column;
}

section.product-section .wrapper {
  align-items: flex-start;
  justify-content: space-evenly;
  background-color: white;
  padding: 2rem;
}

section.product-section .product-img-container {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

section.product-section .main-img {
  width: 100%;
  height: 25rem;
}

section.product-section .main-img img {
  object-fit: contain;
}

section.product-section .main-img img.animate-in {
  animation-name: fadeIn;
  animation-duration: 1.5s;
}

section.product-section .product-imgs {
  padding: 1rem;
}

section.product-section .product-imgs .img {
  width: 13rem;
  height: 8rem;
  margin: 0 auto;
  border-radius: var(--radius-400);
  overflow: hidden;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

section.product-section .product-imgs .img:hover {
  background-color: var(--clr-primary-lightest);
}

section.product-section .product-imgs .img img {
  object-fit: contain;
}

section.product-section .product-description-short {
  width: 50%;
  display: flex;
  flex-direction: column;
  flex-direction: column;
  gap: 2rem;
}

section.product-section .product-title {
  color: var(--clr-gray-d400);
}

section.product-section .product-description-short .product-rating {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border: 0.2rem solid transparent;
}

section.product-section .product-description-short .product-rating:hover {
  border-color: var(--clr-accent-lighter);
  border-radius: var(--radius-200);
}

section.product-section .product-description-short .stars {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

section.product-section .product-description-short .stars span {
  color: var(--clr-accent-light);
  font-size: 1.9rem;
}

section.product-section .product-description-short .rating-number {
  color: var(--clr-accent);
}

section.product-section .product-spec {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

section.product-section .product-spec span:first-child {
  font-size: 1.7rem;
  font-family: var(--font-secondary);
  color: var(--clr-gray-d400);
}

section.product-section .product-description-short .product-price {
  font-size: 2.5rem;
  color: var(--clr-primary);
  font-family: var(--font-secondary);
}

section.product-section .cart-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

section.product-section form {
  width: 10rem;
  box-shadow: unset;
  flex-direction: row;
  padding: unset;
  background-color: transparent;
  gap: 0.5rem;
}

section.product-section .input-group {
  width: 100%;
}

section.product-section .input-group input {
  height: 4rem;
}

section.product-section .product-description-long {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 2rem;
  background-color: white;
}

section.product-section .product-description-long p {
  width: 90%;
}

section.product-section .product-review-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}

section.product-section .product-review-container .review {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 0.1rem solid var(--clr-gray-200);
  border-radius: var(--radius-400);
  padding: 1rem;
}

section.product-section .product-review-container .review-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 6rem;
  border-bottom: 0.1rem solid var(--clr-gray-100);
}

section.product-section .product-review-container .user-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

section.product-section .product-review-container .user-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 800;
  background-color: var(--clr-gray-d400);
  border-radius: var(--radius-half);
  color: white;
}

section.product-section .product-review-container .user-name {
  text-transform: capitalize;
  font-weight: 600;
}

section.product-section .products-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

section.product-section .products-heading {
  width: 100%;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background-color: var(--clr-primary-lightest);
}

section.product-section .products-heading h2 {
  color: var(--clr-primary);
}

section.product-section a.see-more {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--clr-accent);
  position: relative;
  padding: 0.3rem;
}

section.product-section a.see-more span {
  font-size: 1.9rem;
}

section.product-section a.see-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90%;
  height: 0.1rem;
  border-radius: var(--radius-400);
  background-color: var(--clr-accent-lighter);
}

@media (max-width: 950px) {
  section.product-section .product-img-container {
    width: 50%;
  }

  section.product-section .review {
    width: 80%;
  }
}

@media (max-width: 800px) {
  section.product-section .wrapper {
    align-items: center;
  }

  section.product-section .product-img-container {
    width: 70%;
  }

  section.product-section .product-description-short {
    width: 100%;
    align-self: flex-start;
  }

  section.product-section .product-title {
    text-align: left;
  }

  section.product-section .product-description-long p {
    width: 80%;
  }

  section.product-section .product-review-container .review {
    width: 100% !important;
  }
}

@media (max-width: 500px) {
  section.product-section .product-img-container {
    width: 100%;
  }

  section.product-section .product-description-long p {
    width: 100%;
  }
}
@media (max-width: 420px) {
  section.product-section .product-review-container {
    padding: 0;
  }
  section.product-section .review-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
