/* reviews */

.product-reviews-section {
  margin-top: 60px;
}
.reviews-title {
  color: var(--BR-Ocean-Blue, #024268);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 30px;
  font-weight: 600;
}
.reviews-subtitle {
  color: var(--BR-Ocean-Blue, #024268);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 30px;
}
.review-item {
  margin-bottom: 24px;
}
.review-meta {
  font-size: 14px;
  font-weight: 500;
  color: var(--BR-Ocean-Blue, #024268);
}
.review-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--BR-Ocean-Blue, #024268);
  line-height: 150%;
}
.review-list .hidden-review {
  display: none;
}
.review-list.expanded .hidden-review {
  display: block;
}
.toggle-reviews-btn {
  background: none;
  border: none;
  color: var(--BR-Ocean-Blue, #024268);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.form-title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 40px;
  color: var(--BR-Ocean-Blue, #024268);
}

.review-warning-text {
  color: var(--BR-Ocean-Blue, #024268);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  margin-top: 1rem;
}

.review-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars .star {
  font-size: 20px; /* Increased size */
  color: #D9D9D9;
  line-height: 1;
}

.review-stars .star.filled {
  color: #ECD20C;
}

/* Optional: ensure review body fills space */
.review-body {
  flex: 1;
}

.review-meta {
  margin-bottom: 0.5rem;
}


#respond .logged-in-as {
  display: none;
}
#reply-title{
	margin: 0;
}
#respond textarea#comment {
  width: 100%;
  min-height: 150px;
  padding: 10px 15px;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  color: var(--BR-Ocean-Blue, #024268);
  resize: vertical;
}
#respond .comment-form-comment {
	max-width: none !important;
}
#respond .form-submit{
	max-width: none !important;
}

#respond .form-submit input[type="submit"] {
  background-color: var(--BR-Green-Highlight, #00CA5E);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 30px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
	text-decoration: none;
}
#respond .form-submit input[type="submit"]:hover {
  background-color: #00b452;
}
#reply-title{
	display: none;
}


/* Wrapper styling */
.comment-form-rating {
  display: flex;
  flex-direction: column;
  align-items: 
  gap: 0.5rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.comment-form-rating label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--BR-Ocean-Blue, #024268);
  margin-bottom: 0;
}

.comment-form-rating .stars {
  display: flex;
  gap: 0.5rem; /* spacing between stars */
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.comment-form-rating .stars a {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
  overflow: hidden;
  font-size: 30px;
  color: #D9D9D9;
  cursor: pointer;
}

.comment-form-rating .stars a::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  text-indent: 0;
  font-size: 30px;
  line-height: 1;
  color: #D9D9D9;
  transition: color 0.3s ease;
}

.comment-form-rating .stars a:hover::before,
.comment-form-rating .stars a:focus::before,
.comment-form-rating .stars a.active::before {
  color: var(--BR-Gold, #FFD700);
}

.highlight{
	color: var(--BR-Gold, #FFD700) !important;
}

.star-rating-input {
  display: flex;
  gap: 8px;
  cursor: pointer;
}

.star-rating-input .star {
  font-size: 30px;
  color: #D9D9D9;
  transition: color 0.3s ease;
}

.star-rating-input .star.hover,
.star-rating-input .star.selected {
  color: #FFD700; /* Highlight */
}

.comment-form-rating .stars {
  display: none !important;
}

.review-reply {
  margin-left: 60px;
  border-left: 2px solid #D9D9D9;
  padding-left: 20px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.review-reply .review-stars {
  display: none; /* hide stars for replies */
}

.review-reply .review-meta strong {
  font-weight: 500;
  color: #666;
}

.review-reply .review-text {
  font-style: italic;
}
.review-item.pending-review {
	background-color: #f5f5f5;
	border-left: 4px solid #ccc;
	padding: 12px;
	opacity: 0.8;
}

.review-item.pending-review .review-text {
	color: #555;
}

.review-pending-note {
	font-size: 13px;
	font-style: italic;
	color: #999;
	margin-top: 6px;
}
.btn-delete-review {
	background-color: transparent;
	border: none;
	color: #d00;
	font-size: 14px;
	cursor: pointer;
	text-decoration: underline;
	margin-top: 8px;
}
.btn-delete-review:hover {
	color: #a00;
}


.custom-toast {
  visibility: hidden;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}
.custom-toast.show {
  visibility: visible;
  opacity: 1;
}

.custom-modal {
  display: none;
  position: fixed;
  z-index: 9998;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}
.custom-modal-content {
  background-color: #fff;
  margin: 20% auto;
  padding: 20px;
  width: 300px;
  border-radius: 8px;
  text-align: center;
}
.custom-modal-actions {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.btn-confirm, .btn-cancel {
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.btn-confirm {
  background-color: #d9534f;
  color: #fff;
}
.btn-cancel {
  background-color: #ccc;
}

