.elementor-kit-6{--e-global-color-primary:#C71F1F;--e-global-color-secondary:#272727;--e-global-color-text:#000000;--e-global-color-accent:#000000;--e-global-color-5d14a1f:#FFFFFF;--e-global-typography-primary-font-family:"Poppins";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Poppins";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Poppins";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Poppins";--e-global-typography-accent-font-weight:500;--e-global-typography-386bc6e-font-family:"Poppins";--e-global-typography-386bc6e-font-size:40px;--e-global-typography-386bc6e-font-weight:700;--e-global-typography-0629998-font-family:"Poppins";--e-global-typography-0629998-font-size:22px;--e-global-typography-0629998-font-weight:500;font-family:"Poppins", Sans-serif;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1240px;}.e-con{--container-max-width:1240px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* =========================
   BASE WRAPPER
========================= */
.reviews-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 70px 20px;
  font-family: Inter, Arial, sans-serif;
  color: #111827;
}

.reviews-title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 44px;
}

/* =========================
   REVIEW SUMMARY
========================= */
.review-summary {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.08);
  margin: 0 auto 36px;
  max-width: 860px;
}

.summary-left .rating-score {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
}

.summary-left .stars {
  font-size: 22px;
  margin: 6px 0;
}

.summary-left p {
  font-size: 14px;
  color: #6b7280;
}

.summary-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rating-bar {
  font-size: 14px;
  color: #374151;
  margin-bottom: 10px;
}

/* =========================
   FILTER CONTROLS
========================= */
.review-controls {
  max-width: 860px;
  margin: 0 auto 42px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.review-controls select {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 14px;
  min-width: 180px;
}

/* =========================
   REVIEW LIST
========================= */
#reviewsList {
  max-width: 860px;
  margin: 0 auto;
}

/* =========================
   REVIEW CARD
========================= */
.review-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 32px;
  margin-bottom: 28px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.review-header .stars {
  font-size: 18px;
}

.verified {
  background: #d1fae5;
  color: #065f46;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.review-time,
.time {
  margin-left: auto;
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
}

.review-text {
  margin: 16px 0 12px;
  font-size: 16px;
  line-height: 1.6;
}

.review-author {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

/* =========================
   ADMIN REPLY
========================= */
.review-reply {
  margin-top: 18px;
  padding: 16px 18px;
  background: #f9fafb;
  border-left: 4px solid #3b82f6;
  border-radius: 14px;
  font-size: 14px;
}

/* =========================
   LOAD MORE BUTTON
========================= */
.load-more-wrapper {
  display: flex;
  justify-content: center;
  margin: 40px 0 50px;
}

#loadMoreReviews {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

#loadMoreReviews:hover {
  background: #f3f4f6;
}

/* =========================
   LEAVE REVIEW CARD
========================= */
.leave-review,
.leave-review-card {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 18px 46px rgba(0,0,0,0.1);
}

.leave-review h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.leave-review p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 18px;
}

.leave-stars {
  margin-bottom: 12px;
}

.leave-stars span {
  font-size: 36px;
  color: #e5e7eb;
  cursor: pointer;
}

.leave-stars span.active {
  color: #f5b301;
}

.leave-review textarea {
  width: 100%;
  height: 120px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  margin-bottom: 18px;
  font-size: 14px;
}

.form-row {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.form-row input,
.form-row select {
  flex: 1;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
}

/* Submit button centered */
.leave-review button {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.leave-review button:hover {
  background: #1d4ed8;
}

/* Text below button */
.leave-review small {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

/* =========================
   SUCCESS MESSAGE
========================= */
.review-success {
  max-width: 860px;
  margin: 40px auto 0;
  padding: 26px;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 18px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .review-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .review-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .review-controls select {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
  }

  .review-card {
    padding: 22px;
  }

  .leave-review,
  .leave-review-card {
    padding: 28px;
  }
}


/* =========================
   FIX SUBMIT BUTTON ALIGNMENT
========================= */

/* Wrap submit button + helper text vertically */
.leave-review form,
.leave-review-card form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Center submit button */
.leave-review button {
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
  display: block;
}

/* Helper text BELOW button */
.leave-review small {
  margin-top: 14px;
  text-align: center;
  display: block;
}

/* Mobile safety */
@media (max-width: 768px) {
  .leave-review button {
    width: 100%;
  }
}


/* =========================
   FORCE MOBILE CENTER ALIGN
========================= */
@media (max-width: 768px) {

  .leave-review form,
  .leave-review-card form {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .leave-review button {
    display: block !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .leave-review small {
    display: block !important;
    width: 100% !important;
    margin-top: 12px !important;
    text-align: center !important;
  }
}/* End custom CSS */