.body-wrapper {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 2.4rem;
}

.p-wrapper {
  width: 90%;
  margin: 9.6rem auto;
}
.p-wrapper .p-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  gap: 3.6rem;
  height: fit-content;
}

.p-wrapper .p-container .no-product-found {
  text-align: center;
  color: #00394b;
  font-size: 1.6rem;
  letter-spacing: 0.07rem;
  font-weight: 500;
}

.p-wrapper .p-container .product-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.8rem;
  width: 100%;
}

.p-wrapper .p-container .left-product-img {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5.2rem;
  padding: 4.8rem 9.6rem;
}

.p-wrapper .p-container .left-product-img .multiple-product-images {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  cursor: pointer;
}

.p-wrapper
  .p-container
  .left-product-img
  .multiple-product-images
  .thumbnail-img {
  width: 8rem;
  height: 8rem;
  border-radius: 0.6rem;
  display: inline-block;
}

.p-wrapper .p-container .left-product-img .left-img {
  width: 40rem;
  height: 40rem;
  border-radius: 1.2rem;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2rem;
  border-radius: 0.6rem;
  text-align: center;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: -4rem;
  font-size: 4.8rem;
  cursor: pointer;
  color: #9b2847;
  transition: all 0.2s ease;
}

.close-modal:hover {
  color: #bc3b59;
}

.modal-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 0.6rem;
}

.p-wrapper .p-container .right-product {
  position: relative;
  min-height: 30rem;
  padding: 0 9.6rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: space-between;
}

.p-wrapper .p-container .right-product .right-product-top {
  letter-spacing: 0.05rem;
  line-height: 1.3;
}

.p-wrapper .p-container .right-product .right-product-top .secondary-heading {
  font-size: 2.4rem;
  margin-top: 2.4rem;
  color: #00394b;
}

.p-wrapper .p-container .right-product .right-product-top .product-description {
  font-size: 1.8rem;
  margin-top: 2.4rem;
  color: #00394b;
}

.p-wrapper .p-container .right-product .right-product-bottom {
  margin: 4.8rem 0;
}

.p-wrapper .p-container .right-product .right-product-bottom .btn {
  display: flex;
  gap: 2.4rem;
  align-items: flex-start;
  justify-content: flex-start;
  color: #00394b;
}

.p-wrapper .p-container .right-product .right-product-bottom .btn .btn-cart {
  font-size: 1.8rem;
  outline: none;
  border: none;
  cursor: pointer;
  background-color: #ffc2fb;
  border-radius: 0.6rem;
  position: relative;
  overflow: hidden;
  width: 16rem;
  transition: all 0.2s ease-in;
}

.p-wrapper
  .p-container
  .right-product
  .right-product-bottom
  .btn
  .btn-cart:hover {
  background-color: #e6afe2;
}

.p-wrapper .p-container .right-product .right-product-bottom .btn .btn-cart p {
  padding: 1.2rem 2.4rem;
  margin: 0;
  transition: opacity 0.3s ease;
}

.p-wrapper .p-container .right-product .right-product-bottom .btn .btn-cart i {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  opacity: 0;
  color: #00394b;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.p-wrapper
  .p-container
  .right-product
  .right-product-bottom
  .btn
  .btn-cart:hover
  p {
  opacity: 0;
}

.p-wrapper
  .p-container
  .right-product
  .right-product-bottom
  .btn
  .btn-cart:hover
  i {
  transform: translateY(30%);
  opacity: 1;
}

.p-wrapper .p-container .right-product .right-product-bottom .btn .btn-buy {
  font-size: 1.8rem;
  outline: none;
  border: none;
  cursor: pointer;
  background-color: #a6cdde;
  border-radius: 0.6rem;
  position: relative;
  overflow: hidden;
  width: 16rem;
  transition: all 0.2s ease-in;
}

.p-wrapper
  .p-container
  .right-product
  .right-product-bottom
  .btn
  .btn-buy:hover {
  background-color: #95b9c8;
}

.p-wrapper
  .p-container
  .right-product
  .right-product-bottom
  .btn
  .btn-wishlist {
  position: absolute;
  top: -25%;
  left: 80%;
  padding: 1.2rem 1.8rem;
  border-radius: 50%;
  cursor: pointer;
  color: #9b2847;
  background-color: #fff9ff;
  box-shadow: inset 0 0 0 0.2rem #9b2847;
  outline: none;
  border: none;
  transition: all 0.2s ease;
}

.p-wrapper
  .p-container
  .right-product
  .right-product-bottom
  .btn
  .btn-wishlist:hover {
  color: #fff9ff;
  background-color: #9b2847;
}

.p-wrapper .p-container .right-product .right-product-bottom .btn .btn-buy p {
  padding: 1.2rem 2.4rem;
  margin: 0;
  transition: opacity 0.3s ease;
}

.p-wrapper .p-container .right-product .right-product-bottom .btn .btn-buy i {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  opacity: 0;
  color: #00394b;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.p-wrapper
  .p-container
  .right-product
  .right-product-bottom
  .btn
  .btn-buy:hover
  p {
  opacity: 0;
}

.p-wrapper
  .p-container
  .right-product
  .right-product-bottom
  .btn
  .btn-buy:hover
  i {
  transform: translateY(30%);
  opacity: 1;
}

.p-wrapper .p-container .right-product .product-price-data {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.4rem;
  padding-bottom: 3.6rem;
  font-size: 1.8rem;
}

.p-wrapper .p-container .right-product .product-price-data .product-price {
  color: #9b2847;
  font-weight: 600;
}

.p-wrapper .p-container .right-product .product-price-data .product-stock {
  color: #999;
  font-weight: 500;
}

.horizontal-line {
  height: 0.1rem;
  width: 80%;
  margin: 0 auto;
  background-color: #9b2847;
}

.p-wrapper .p-container .product-bottom {
  padding: 3.2rem 6.4rem;
  width: 100%;
}

.p-wrapper .p-container .product-bottom .product-bottom-left h4 {
  color: #7288a2;
  font-size: 2.4rem;
  letter-spacing: 0.07rem;
  padding-bottom: 2.4rem;
  border-bottom: 0.1rem solid #7288a2;
  font-weight: 300;
  text-transform: uppercase;
}

.p-wrapper .p-container .product-bottom .product-bottom-left p {
  color: #7288a2;
  letter-spacing: 0.07rem;
  padding: 2.4rem 4.8rem;
  font-size: 1.6rem;
}

.p-wrapper .p-container .product-bottom .tab {
  color: #7288a2;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.p-wrapper .p-container .product-bottom .tab:hover {
  color: #9b2847;
}

.product-bottom-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2.4rem;
  font-size: 1.6rem;
}

.product-bottom-left,
.product-bottom-right {
  display: none;
}

.product-bottom-left.active-content,
.product-bottom-right.active-content {
  display: block;
  margin-top: 4.8rem;
}

.product-bottom-right.active-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4.8rem;
}

.fetch-reviews {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: #7288a2;
  letter-spacing: 0.07rem;
}

.fetch-reviews h4 {
  font-size: 2.4rem;
  letter-spacing: 0.1rem;
  font-weight: 300;
  text-transform: uppercase;
  padding-bottom: 2.4rem;
  border-bottom: 0.1rem solid #7288a2;
}
.fetch-reviews .no-reviews-found {
  font-size: 1.6rem;
}

.fetch-reviews .review-list {
  display: flex;
  flex-direction: column;
}

.fetch-reviews .review-list .review {
  display: flex;
  flex-direction: column;
}

.fetch-reviews .review-list .review-name {
  font-size: 1.6rem;
}

.fetch-reviews .review-list .review .rating {
  padding-bottom: 0.8rem;
}

.fetch-reviews .review-list .review .rating .rating-weight {
  font-weight: 300;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.fetch-reviews .review-list .review-info {
  padding: 0 0 3.6rem 0;
  font-size: 1.5rem;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 30%;
  color: #444;
}

.review-form .review-text-info textarea {
  margin-top: 1.6rem;
  font-size: 1.6rem;
  width: 100%;
  resize: vertical;
  outline: none;
  border: 0.1rem solid #e2e1e1;
  padding: 1.2rem;
  color: #7288a2;
  border-radius: 0.6rem;
}

.review-form .review-text-info textarea:focus {
  border: 0.1rem solid #9b2847;
}

.review-form button {
  margin-top: 3.2rem;
  width: 10rem;
  padding: 0.6rem 1.2rem;
  border-radius: 0.6rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  outline: none;
  background-color: #222;
  text-transform: uppercase;
  border: none;
  transition: all 0.2s ease;
}

.review-form button:hover {
  box-shadow: inset 0 0 0 0.2rem #222;
  background-color: #fff;
  color: #222;
}

.star-rating {
  display: inline-block;
  font-size: 2.4rem;
  cursor: pointer;
}

.fa-star {
  color: #ddd;
  transition: color 0.3s;
}

.fa-star.selected,
.fa-star:hover {
  color: #f39c12;
}

.star-posted {
  color: #f39c12;
}
