.order-product-reviews-form {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  width: 800px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.order-product-reviews-form * {
  outline: none;
}
.order-product-reviews-form-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.order-product-reviews-form-content h2,
.order-product-reviews-form-content p {
  margin-bottom: 0;
}
#order-product-reviews {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.product-review {
  border: 1px solid #cec8bc;
  padding: 15px;
  display: flex;
  gap: 15px;
}
.product-review .product-review-prod {
  max-width: 150px;
  width: auto;
}
.product-review .product-review-prod img {
  width: 100%;
}
.product-review .product-review-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-review .product-review-form h3 a {
  color: #000;
  font-size: 20px;
  margin-bottom: 0;
}
.product-review .product-review-form .comment-field {
  height: 100%;
}
.product-review .product-review-form .comment-field textarea {
  height: 100%;
}
.star-rating {
  display: flex;
  gap: 5px;
}
.star-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 24px;
  color: #ccc;
  transition: color 0.2s;
}
.star-button:hover,
.star-button.active {
  color: #ffd700;
}
.star-button:focus {
  outline: 2px solid #007cba;
  border-radius: 4px;
}

button[type='submit'] {
  background-color: #007cba;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
}

button[type='submit']:hover {
  background-color: #006ba1;
}

button[type='submit']:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .product-info {
    flex-direction: column;
    text-align: center;
  }

  .product-image {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Thank You Page */
.order-product-reviews-thank-you {
  max-width: 800px;
  margin: 100%;
  margin: 40px auto;
  text-align: center;
  padding: 30px;
  background-color: #f4f2ef;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.order-product-reviews-thank-you h2 {
  margin-bottom: 0;
}

.order-product-reviews-list,
.order-product-reviews-list .order-product-reviews-list__items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.order-product-reviews-list .order-product-reviews-list__item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px;
  border: 1px solid #cec8bc;
}
.order-product-reviews-list .order-product-reviews-list__item .order-product-reviews-list__title {
  color: #7d7468;
  font-family: Lora;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.order-product-reviews-list .order-product-reviews-list__item .order-product-reviews-list__content {
  color: #000;
  font-family: Lora;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  /* 184.615% */
}
.order-product-reviews-list .order-product-reviews-list__item .order-product-reviews-list__content strong {
  font-weight: 700;
}
.order-product-reviews-list .order-product-reviews-list__item .order-product-reviews-list__meta {
  color: #7d7468;
  font-family: Lora;
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
}

.order-product-reviews-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-product-reviews-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  gap: 5px;
}
.order-product-reviews-pagination ul li {
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
}
.order-product-reviews-pagination ul li .page-numbers {
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  width: 32px;
  height: 32px;
  background: rgba(206, 200, 188, 0.23);
}
.order-product-reviews-pagination ul li .page-numbers:hover,
.order-product-reviews-pagination ul li .page-numbers.current {
  background-color: #cec8bc;
}

@media (max-width: 768px) {
  .order-product-reviews-form .button {
    font-size: 19px;
  }
  .product-review {
    flex-direction: column;
  }
  .product-review .product-review-prod {
    max-width: 100%;
  }
  .product-review .product-review-form {
    width: 100%;
  }
  .product-review .product-review-form h3 a {
    font-size: 16px;
  }
  .product-review .product-review-form {
    gap: 10px;
    align-items: center;
    text-align: center;
  }
  .title-field,
  .comment-field {
    width: 100%;
  }
}
