/* WP Reviews Pro 1.2.67 — flat public design layer.
 * Loaded after the legacy stylesheet so existing markup and integrations stay intact.
 */

.wprp {
  --wprp-flat-blue: var(--wprp-primary, #0878e8);
  --wprp-flat-blue-dark: #0565c7;
  --wprp-flat-text: #111827;
  --wprp-flat-muted: #667085;
  --wprp-flat-line: #e7ebf0;
  --wprp-flat-soft: #f7f9fc;
  --wprp-flat-star: #f5a816;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--wprp-flat-text);
}

/* A product without approved reviews shows only its invitation and form. */
.wprp.wprp--no-reviews > .wprp-top {
  grid-template-columns: minmax(0, 1fr) !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.wprp.wprp--no-reviews > .wprp-top > .wprp-form-col {
  padding: 0 !important;
  border: 0 !important;
}

.wprp.wprp--no-reviews > .wprp-list:not(.wprp-list--grid) {
  display: none !important;
}

/* Product review block: one section, one divider, no nested panels. */
.wprp > .wprp-top {
  display: grid !important;
  grid-template-columns: minmax(220px, .72fr) minmax(320px, 1.28fr) !important;
  gap: 0 !important;
  margin: 0 0 12px !important;
  padding: 0 0 18px !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--wprp-flat-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.wprp > .wprp-top > .wprp-stats-col {
  order: 1;
  min-width: 0;
  padding: 2px 24px 2px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.wprp > .wprp-top > .wprp-form-col {
  order: 2;
  min-width: 0;
  padding: 2px 0 2px 28px !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid var(--wprp-flat-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.wprp > .wprp-form-col {
  max-width: none !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.wprp .wprp-form-col__title {
  margin: 0 0 10px !important;
  color: var(--wprp-flat-text) !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
}

.wprp .wprp-form-col__title::before { display: none !important; }
.wprp .wprp-picker-row { margin: 0 0 10px !important; }
.wprp .wprp-star-btn { color: #d8dee8; }
.wprp .wprp-star-btn.active,
.wprp .wprp-star-btn.hovered { color: var(--wprp-flat-star); }

.wprp .wprp-textarea,
.wprp .wprp-cf-input,
.wprp .wprp-cf-select,
.wprp .wprp-cf-textarea {
  background: #fff !important;
  border: 1px solid #d8dee8 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.wprp .wprp-textarea:focus,
.wprp .wprp-cf-input:focus,
.wprp .wprp-cf-select:focus,
.wprp .wprp-cf-textarea:focus {
  border-color: var(--wprp-flat-blue) !important;
  box-shadow: none !important;
}

.wprp .wprp-btn-submit,
.wprp .wprp-btn-login,
.wprp .wprp-reply-send,
.wprp .wprp-grid-loadmore {
  min-height: 42px;
  margin-top: 12px !important;
  padding: 10px 20px !important;
  background: var(--wprp-flat-blue) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: none !important;
}

.wprp .wprp-btn-submit:hover,
.wprp .wprp-btn-login:hover,
.wprp .wprp-reply-send:hover,
.wprp .wprp-grid-loadmore:hover { background: var(--wprp-flat-blue-dark) !important; }

.wprp .wprp-stats-col__avg { margin: 0 0 2px !important; }
.wprp .wprp-stats-col__num { font-size: 30px !important; }
.wprp .wprp-stats-col__total {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--wprp-flat-muted) !important;
}
.wprp .wprp-dist { gap: 6px !important; }
.wprp .wprp-dist__track { height: 6px !important; background: #edf0f4 !important; }
.wprp .wprp-dist__fill { background: var(--wprp-flat-star) !important; }

/* Standard review lists: flat rows separated by a single line. */
.wprp > .wprp-list:not(.wprp-list--grid) {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wprp > .wprp-list:not(.wprp-list--grid) > .wprp-card {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 16px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--wprp-flat-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.wprp .wprp-card__head { margin: 0 0 8px !important; }
.wprp .wprp-card__av { border: 0 !important; width: 40px !important; height: 40px !important; }
.wprp .wprp-card__stars { margin: 0 0 7px !important; }
.wprp .wprp-card__title { margin: 0 0 4px !important; }
.wprp .wprp-card__text { color: #344054 !important; }
.wprp .wprp-card__foot { margin-top: 10px !important; padding-top: 9px !important; }
.wprp .wprp-card__reply {
  margin: 10px 0 0 !important;
  padding: 10px 0 0 14px !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 2px solid #cfe4fb !important;
  border-radius: 0 !important;
}

/* Grid and all-reviews shortcodes: cards are the only visual surfaces. */
.wprp-grid-wrap,
.wprp-all-reviews-wrap,
#wprp-all-reviews.wprp-grid-wrap {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.wprp-grid-wrap .wprp-list--grid,
.wprp-all-reviews-wrap .wprp-list--grid,
#wprp-all-reviews .wprp-list--grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.wprp-grid-wrap .wprp-card,
.wprp-all-reviews-wrap .wprp-card,
#wprp-all-reviews .wprp-card {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 16px !important;
  background: #fff !important;
  border: 1px solid var(--wprp-flat-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.wprp-all-reviews-header,
.wprp-category-reviews-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 14px !important;
  padding: 0 0 12px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--wprp-flat-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--wprp-flat-text) !important;
}

.wprp-all-reviews-header__title {
  margin: 0 !important;
  color: var(--wprp-flat-text) !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  line-height: 1.2 !important;
}
.wprp-all-reviews-header__count { margin-top: 4px !important; color: var(--wprp-flat-muted) !important; }
.wprp-all-reviews-header__rating {
  flex: 0 0 auto;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.wprp-all-reviews-header__score { color: var(--wprp-flat-text) !important; }

.wprp-grid-wrap .wprp-arrows,
#wprp-all-reviews .wprp-arrows {
  margin: 12px 0 0 !important;
  justify-content: flex-end !important;
}
.wprp-grid-wrap button.wprp-arrow,
#wprp-all-reviews button.wprp-arrow {
  width: 42px !important;
  height: 42px !important;
  color: var(--wprp-flat-blue) !important;
  background: #fff !important;
  border: 1px solid #d9e4f0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

/* Existing slider/marquee remains functional, with the outer panel removed. */
.wprp-marquee {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.wprp-marquee__card {
  background: #fff !important;
  border: 1px solid var(--wprp-flat-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* Customer feedback and service-rating forms. */
.wprp-cf > .wprp-cf-top,
.wprp-cf .wprp-cf-top {
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.wprp.wprp-cf > .wprp-cf-top > .wprp-form-col,
.wprp-cf .wprp-form-col {
  max-width: none !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.wprp-cf .wprp-cf-row { gap: 12px !important; }
.wprp-cf .wprp-cf-field { margin-bottom: 12px !important; }
.wprp-cf .wprp-cf-criteria { gap: 0 !important; margin-bottom: 12px !important; }
.wprp-cf .wprp-cf-criterion {
  padding: 10px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--wprp-flat-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.wprp-cf .wprp-cf-popup-card { box-shadow: 0 20px 60px rgba(15, 23, 42, .2) !important; }

/* Compact rating shortcode. */
.wprp-inline-rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* New SEO-friendly homepage block. */
.wprp-home-reviews {
  width: 100%;
  overflow: hidden;
}
.wprp-home-reviews__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--wprp-flat-line);
}
.wprp-home-reviews__title {
  margin: 0 !important;
  color: var(--wprp-flat-text) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -.025em;
}
.wprp-home-reviews__subtitle {
  margin: 5px 0 0 !important;
  color: var(--wprp-flat-muted) !important;
  font-size: 14px !important;
}
.wprp-home-reviews__summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.wprp-home-reviews__score { font-size: 24px; line-height: 1; }
.wprp-home-reviews__count { color: var(--wprp-flat-muted); font-size: 13px; }
.wprp-home-reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 3);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0;
  outline: none;
}
.wprp-home-reviews__track::-webkit-scrollbar { display: none; }
.wprp-home-review {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--wprp-flat-line);
  border-radius: 10px;
  scroll-snap-align: start;
}
.wprp-home-review__head { display: flex; align-items: center; gap: 10px; }
.wprp-home-review__avatar { flex: 0 0 44px; border: 0; border-radius: 50%; object-fit: cover; }
.wprp-home-review__person { min-width: 0; flex: 1; }
.wprp-home-review__name { display: block; overflow: hidden; color: var(--wprp-flat-text); text-overflow: ellipsis; white-space: nowrap; }
.wprp-home-review__date { display: block; margin-top: 2px; color: var(--wprp-flat-muted); font-size: 12px; }
.wprp-home-review__verified { flex: 0 0 auto; color: #087c55; font-size: 11px; font-weight: 600; }
.wprp-home-review__stars { margin: 11px 0 7px; }
.wprp-home-review__title { margin: 0 0 4px !important; color: var(--wprp-flat-text) !important; font-size: 15px !important; line-height: 1.35 !important; }
.wprp-home-review__text {
  display: -webkit-box;
  overflow: hidden;
  color: #344054;
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.wprp-home-review__product {
  display: block;
  overflow: hidden;
  margin-top: auto;
  padding-top: 10px;
  color: var(--wprp-flat-blue) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wprp-home-reviews__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.wprp-home-reviews__link { color: var(--wprp-flat-blue) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.wprp-home-reviews__arrows { display: flex; gap: 8px; margin-left: auto; }
.wprp-home-reviews__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--wprp-flat-blue);
  background: #fff;
  border: 1px solid #d9e4f0;
  border-radius: 50%;
  box-shadow: none;
  cursor: pointer;
  font: 600 25px/1 Arial, sans-serif;
  touch-action: manipulation;
}
.wprp-home-reviews__arrow:disabled { cursor: default; opacity: .35; }

@media (max-width: 900px) {
  .wprp-grid-wrap .wprp-list--grid,
  .wprp-all-reviews-wrap .wprp-list--grid,
  #wprp-all-reviews .wprp-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .wprp-home-reviews__track { grid-auto-columns: calc((100% - 12px) / 2); }
}

@media (max-width: 700px) {
  .wprp > .wprp-top {
    grid-template-columns: 1fr !important;
    padding-bottom: 14px !important;
  }
  .wprp > .wprp-top > .wprp-stats-col {
    padding: 0 0 14px !important;
  }
  .wprp > .wprp-top > .wprp-form-col {
    padding: 14px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid var(--wprp-flat-line) !important;
  }
  .wprp .wprp-star-btn { font-size: 30px !important; }
  .wprp-all-reviews-header,
  .wprp-category-reviews-header,
  .wprp-home-reviews__header { align-items: flex-start !important; flex-direction: column !important; gap: 8px !important; }
  .wprp-home-reviews__summary { width: 100%; }
  .wprp-home-reviews__track { grid-auto-columns: 86%; gap: 10px; }
  .wprp-home-review { padding: 14px; }
  .wprp-home-reviews__arrow { width: 44px; height: 44px; }
}

@media (max-width: 560px) {
  .wprp-grid-wrap .wprp-list--grid,
  .wprp-all-reviews-wrap .wprp-list--grid,
  #wprp-all-reviews .wprp-list--grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .wprp-grid-wrap .wprp-card,
  .wprp-all-reviews-wrap .wprp-card,
  #wprp-all-reviews .wprp-card {
    padding: 14px 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--wprp-flat-line) !important;
    border-radius: 0 !important;
  }
  .wprp-home-reviews__title { font-size: 20px !important; font-weight: 600 !important; }
  .wprp-home-reviews__footer { align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .wprp-home-reviews__track { scroll-behavior: auto; }
}

/* ============================================================
   v1.2.68 — branded review headings + theme-proof blue arrows
   Presentation only: review data, AJAX, scheduler and WooCommerce
   integration remain unchanged.
   ============================================================ */

/* One flat brand surface for every main reviews summary heading. */
.wprp-all-reviews-header,
.wprp-category-reviews-header,
.wprp-home-reviews__header {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  padding: 18px 20px !important;
  background: #0067ed !important;
  background-color: #0067ed !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.wprp-all-reviews-header__title,
.wprp-home-reviews__title {
  color: #ffffff !important;
}

.wprp-all-reviews-header__count,
.wprp-home-reviews__subtitle,
.wprp-home-reviews__count {
  color: rgba(255, 255, 255, .84) !important;
}

.wprp-all-reviews-header__score,
.wprp-home-reviews__score {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.wprp-all-reviews-header__rating,
.wprp-home-reviews__summary {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Grid/all-reviews SVG arrows: isolate color, stroke and button chrome. */
.wprp button.wprp-arrow,
.wprp .wprp-arrow,
.wprp-shortcode-reviews-wrap button.wprp-arrow,
.wprp-grid-wrap button.wprp-arrow,
#wprp-all-reviews button.wprp-arrow {
  color: #0067ed !important;
  -webkit-text-fill-color: #0067ed !important;
  background: #f3f8ff !important;
  background-color: #f3f8ff !important;
  background-image: none !important;
  border-color: #cfe0f7 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.wprp button.wprp-arrow svg,
.wprp .wprp-arrow svg,
.wprp-shortcode-reviews-wrap button.wprp-arrow svg,
.wprp-grid-wrap button.wprp-arrow svg,
#wprp-all-reviews button.wprp-arrow svg,
.wprp button.wprp-arrow svg path,
.wprp .wprp-arrow svg path,
.wprp-shortcode-reviews-wrap button.wprp-arrow svg path,
.wprp-grid-wrap button.wprp-arrow svg path,
#wprp-all-reviews button.wprp-arrow svg path {
  color: #0067ed !important;
  stroke: #0067ed !important;
  fill: none !important;
}

.wprp button.wprp-arrow:hover:not(:disabled),
.wprp .wprp-arrow:hover:not(:disabled),
.wprp-shortcode-reviews-wrap button.wprp-arrow:hover:not(:disabled),
.wprp-grid-wrap button.wprp-arrow:hover:not(:disabled),
#wprp-all-reviews button.wprp-arrow:hover:not(:disabled) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #0067ed !important;
  background-color: #0067ed !important;
  background-image: none !important;
  border-color: #0067ed !important;
}

.wprp button.wprp-arrow:hover:not(:disabled) svg,
.wprp .wprp-arrow:hover:not(:disabled) svg,
.wprp-shortcode-reviews-wrap button.wprp-arrow:hover:not(:disabled) svg,
.wprp-grid-wrap button.wprp-arrow:hover:not(:disabled) svg,
#wprp-all-reviews button.wprp-arrow:hover:not(:disabled) svg,
.wprp button.wprp-arrow:hover:not(:disabled) svg path,
.wprp .wprp-arrow:hover:not(:disabled) svg path,
.wprp-shortcode-reviews-wrap button.wprp-arrow:hover:not(:disabled) svg path,
.wprp-grid-wrap button.wprp-arrow:hover:not(:disabled) svg path,
#wprp-all-reviews button.wprp-arrow:hover:not(:disabled) svg path {
  color: #ffffff !important;
  stroke: #ffffff !important;
  fill: none !important;
}

.wprp button.wprp-arrow:disabled,
.wprp .wprp-arrow:disabled,
.wprp-shortcode-reviews-wrap button.wprp-arrow:disabled,
.wprp-grid-wrap button.wprp-arrow:disabled,
#wprp-all-reviews button.wprp-arrow:disabled {
  color: #0067ed !important;
  -webkit-text-fill-color: #0067ed !important;
  background: #f3f8ff !important;
  border-color: #cfe0f7 !important;
  opacity: .38 !important;
}

/* Homepage text arrows are fully reset so the active theme cannot resize,
   recolor or square the controls. */
.wprp-home-reviews button.wprp-home-reviews__arrow,
.wprp-home-reviews .wprp-home-reviews__arrow {
  all: unset !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #0067ed !important;
  -webkit-text-fill-color: #0067ed !important;
  background: #f3f8ff !important;
  background-color: #f3f8ff !important;
  background-image: none !important;
  border: 1px solid #cfe0f7 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  font: 600 25px/1 Arial, sans-serif !important;
  text-align: center !important;
  text-decoration: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  user-select: none !important;
  vertical-align: middle !important;
  overflow: hidden !important;
  transform: none !important;
}

.wprp-home-reviews button.wprp-home-reviews__arrow::before,
.wprp-home-reviews button.wprp-home-reviews__arrow::after,
.wprp-home-reviews .wprp-home-reviews__arrow::before,
.wprp-home-reviews .wprp-home-reviews__arrow::after {
  content: none !important;
  display: none !important;
}

.wprp-home-reviews button.wprp-home-reviews__arrow:hover:not(:disabled),
.wprp-home-reviews .wprp-home-reviews__arrow:hover:not(:disabled) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #0067ed !important;
  background-color: #0067ed !important;
  background-image: none !important;
  border-color: #0067ed !important;
}

.wprp-home-reviews button.wprp-home-reviews__arrow:focus-visible,
.wprp-home-reviews .wprp-home-reviews__arrow:focus-visible {
  outline: 2px solid rgba(0, 103, 237, .28) !important;
  outline-offset: 2px !important;
}

.wprp-home-reviews button.wprp-home-reviews__arrow:disabled,
.wprp-home-reviews .wprp-home-reviews__arrow:disabled {
  color: #0067ed !important;
  -webkit-text-fill-color: #0067ed !important;
  background: #f3f8ff !important;
  border-color: #cfe0f7 !important;
  cursor: default !important;
  opacity: .38 !important;
}

/* Legacy slider buttons use the same protected brand colors. */
.wprp-sliderx__btn {
  color: #0067ed !important;
  -webkit-text-fill-color: #0067ed !important;
  background: #f3f8ff !important;
  background-color: #f3f8ff !important;
  background-image: none !important;
  border-color: #cfe0f7 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.wprp-sliderx__btn:hover:not(:disabled) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #0067ed !important;
  background-color: #0067ed !important;
  background-image: none !important;
  border-color: #0067ed !important;
}

.wprp-sliderx__btn::before,
.wprp-sliderx__btn::after {
  color: currentColor !important;
  border-color: currentColor !important;
}

.wprp-home-reviews__link,
.wprp-home-reviews__link span {
  color: #0067ed !important;
  -webkit-text-fill-color: #0067ed !important;
}

@media (max-width: 700px) {
  .wprp-all-reviews-header,
  .wprp-category-reviews-header,
  .wprp-home-reviews__header {
    align-items: stretch !important;
    padding: 14px !important;
    border-radius: 12px !important;
    gap: 8px !important;
  }

  .wprp-all-reviews-header__rating,
  .wprp-home-reviews__summary {
    width: 100% !important;
    justify-content: flex-start !important;
  }
}

/* ============================================================
   v1.2.75 — Responsive review display refresh
   Desktop: Design 1 (bold blue summary + 3-column modern cards)
   Mobile:  Design 2 (light minimal summary + compact soft cards)
   Presentation only: review logic, AJAX, forms, database and settings stay unchanged.
   ============================================================ */

/* Shared card polish */
.wprp .wprp-card__badge {
  color: #0067ed !important;
  background: #eff6ff !important;
  border-color: #9fc8ff !important;
  font-weight: 600 !important;
}
.wprp .wprp-card__name { font-weight: 600 !important; }
.wprp .wprp-card__text { line-height: 1.55 !important; }
.wprp .wprp-card__stars .wprp-stars-display { white-space: nowrap !important; }
.wprp .wprp-helpful,
.wprp .wprp-reply-toggle {
  background: #f8fafc !important;
  border-color: #dbe4ef !important;
  color: #63758b !important;
  box-shadow: none !important;
}

/* ── DESIGN 1: desktop / large tablet ── */
@media (min-width: 701px) {
  .wprp-all-reviews-header,
  .wprp-category-reviews-header {
    min-height: 116px !important;
    margin: 0 0 14px !important;
    padding: 22px 24px !important;
    background: linear-gradient(120deg, #0878f5 0%, #0067ed 58%, #0b7df4 100%) !important;
    border: 0 !important;
    border-radius: 15px !important;
    color: #fff !important;
    overflow: hidden !important;
  }

  .wprp-all-reviews-header__copy {
    min-width: 0 !important;
  }

  .wprp-all-reviews-header__title {
    margin: 0 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: clamp(24px, 2.35vw, 31px) !important;
    font-weight: 600 !important;
    letter-spacing: -.025em !important;
    line-height: 1.15 !important;
  }

  .wprp-all-reviews-header__count {
    margin-top: 11px !important;
    color: rgba(255,255,255,.9) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }

  .wprp-all-reviews-header__rating {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    min-width: 180px !important;
  }

  .wprp-all-reviews-header__stars .wprp-stars-display {
    font-size: 20px !important;
    letter-spacing: 1px !important;
  }

  .wprp-all-reviews-header__score {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 25px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
  }

  /* Product-page normal list becomes the same modern card grid as Design 1. */
  .wprp:not(.wprp-grid-wrap) > .wprp-list:not(.wprp-list--grid) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
  }

  .wprp:not(.wprp-grid-wrap) > .wprp-list:not(.wprp-list--grid) > .wprp-card,
  .wprp-grid-wrap .wprp-card,
  .wprp-all-reviews-wrap .wprp-card,
  #wprp-all-reviews .wprp-card {
    min-width: 0 !important;
    min-height: 226px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 17px 18px !important;
    background: #fff !important;
    border: 1px solid #dce5ef !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .wprp-grid-wrap .wprp-list--grid,
  .wprp-all-reviews-wrap .wprp-list--grid,
  #wprp-all-reviews .wprp-list--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .wprp .wprp-card__head {
    gap: 11px !important;
    margin-bottom: 10px !important;
  }
  .wprp .wprp-card__av {
    width: 42px !important;
    height: 42px !important;
    border: 0 !important;
  }
  .wprp .wprp-card__name {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .wprp .wprp-card__date {
    font-size: 11px !important;
    color: #8aa0bb !important;
  }
  .wprp .wprp-card__badge {
    padding: 1px 7px !important;
    border-radius: 999px !important;
    font-size: 10.5px !important;
  }
  .wprp .wprp-card__stars {
    margin: 0 0 7px !important;
  }
  .wprp .wprp-card__stars .wprp-stars-display {
    font-size: 14px !important;
    letter-spacing: .25px !important;
  }
  .wprp .wprp-card__title {
    margin: 0 0 5px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
  .wprp .wprp-card__text {
    font-size: 13.5px !important;
    color: #334155 !important;
  }
  .wprp .wprp-card__foot {
    margin-top: auto !important;
    padding-top: 14px !important;
    gap: 7px !important;
  }
  .wprp .wprp-helpful,
  .wprp .wprp-reply-toggle {
    min-height: 29px !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
  }
}

/* Medium-width screens: keep the desktop visual language, use two columns. */
@media (min-width: 701px) and (max-width: 980px) {
  .wprp:not(.wprp-grid-wrap) > .wprp-list:not(.wprp-list--grid),
  .wprp-grid-wrap .wprp-list--grid,
  .wprp-all-reviews-wrap .wprp-list--grid,
  #wprp-all-reviews .wprp-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ── DESIGN 2: phone ── */
@media (max-width: 700px) {
  /* Summary switches from the blue desktop block to the clean white Design 2 header. */
  .wprp-all-reviews-header,
  .wprp-category-reviews-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px 12px !important;
    min-height: 0 !important;
    margin: 0 0 12px !important;
    padding: 14px 14px !important;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #e1e8f1 !important;
    border-radius: 13px !important;
    color: #111827 !important;
    box-shadow: none !important;
  }

  .wprp-all-reviews-header__copy { min-width: 0 !important; }
  .wprp-all-reviews-header__title {
    margin: 0 !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.22 !important;
    letter-spacing: -.018em !important;
  }
  .wprp-all-reviews-header__count {
    margin-top: 5px !important;
    color: #7c8da3 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
  }
  .wprp-all-reviews-header__rating {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }
  .wprp-all-reviews-header__stars .wprp-stars-display {
    font-size: 13px !important;
    letter-spacing: 0 !important;
  }
  .wprp-all-reviews-header__score {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
  }

  /* Product review form/summary remains fully functional, just lighter and more compact. */
  .wprp > .wprp-top {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 13px !important;
    overflow: hidden !important;
  }
  .wprp > .wprp-top > .wprp-stats-col {
    order: 1 !important;
    padding: 14px !important;
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid #edf1f6 !important;
  }
  .wprp > .wprp-top > .wprp-form-col {
    order: 2 !important;
    padding: 14px !important;
    background: #fff !important;
    border: 0 !important;
  }

  .wprp .wprp-form-col__title {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }
  .wprp .wprp-textarea {
    min-height: 92px !important;
    border-radius: 9px !important;
  }

  .wprp-tools {
    margin: 10px 0 !important;
    padding: 9px 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e5ebf2 !important;
    border-radius: 11px !important;
    box-shadow: none !important;
  }

  /* Design 2 cards: one clean column with subtle alternating soft tints. */
  .wprp > .wprp-list:not(.wprp-list--grid),
  .wprp-grid-wrap .wprp-list--grid,
  .wprp-all-reviews-wrap .wprp-list--grid,
  #wprp-all-reviews .wprp-list--grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .wprp > .wprp-list:not(.wprp-list--grid) > .wprp-card,
  .wprp-grid-wrap .wprp-card,
  .wprp-all-reviews-wrap .wprp-card,
  #wprp-all-reviews .wprp-card {
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 13px !important;
    background: #f7fbff !important;
    border: 1px solid #dfe8f3 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
  }

  .wprp > .wprp-list:not(.wprp-list--grid) > .wprp-card:nth-child(3n+2),
  .wprp-grid-wrap .wprp-card:nth-child(3n+2),
  .wprp-all-reviews-wrap .wprp-card:nth-child(3n+2),
  #wprp-all-reviews .wprp-card:nth-child(3n+2) {
    background: #f7fcfa !important;
    border-color: #dceee7 !important;
  }

  .wprp > .wprp-list:not(.wprp-list--grid) > .wprp-card:nth-child(3n),
  .wprp-grid-wrap .wprp-card:nth-child(3n),
  .wprp-all-reviews-wrap .wprp-card:nth-child(3n),
  #wprp-all-reviews .wprp-card:nth-child(3n) {
    background: #fffaf5 !important;
    border-color: #f2e4d6 !important;
  }

  .wprp .wprp-card__head {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 9px !important;
    margin: 0 0 7px !important;
    align-items: start !important;
  }
  .wprp .wprp-card__av {
    width: 38px !important;
    height: 38px !important;
    border: 0 !important;
  }
  .wprp .wprp-card__meta { min-width: 0 !important; }
  .wprp .wprp-card__topline {
    display: flex !important;
    align-items: flex-start !important;
    gap: 7px !important;
  }
  .wprp .wprp-card__name {
    min-width: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.25 !important;
  }
  .wprp .wprp-card__date {
    margin-left: auto !important;
    padding-left: 6px !important;
    color: #8ba0b8 !important;
    font-size: 10.5px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }
  .wprp .wprp-card__badges { margin-top: 3px !important; }
  .wprp .wprp-card__badge {
    padding: 1px 6px !important;
    font-size: 10px !important;
  }
  .wprp .wprp-card__stars { margin: 0 0 5px !important; }
  .wprp .wprp-card__stars .wprp-stars-display {
    font-size: 13px !important;
    letter-spacing: 0 !important;
  }
  .wprp .wprp-card__title {
    margin: 0 0 4px !important;
    font-size: 13.5px !important;
    line-height: 1.34 !important;
  }
  .wprp .wprp-card__text {
    font-size: 12.8px !important;
    line-height: 1.48 !important;
    color: #3d4f65 !important;
  }
  .wprp .wprp-card__reply {
    margin-top: 8px !important;
    padding: 8px 9px !important;
    background: rgba(255,255,255,.58) !important;
    border: 0 !important;
    border-left: 2px solid #9bc6f5 !important;
    border-radius: 5px !important;
  }
  .wprp .wprp-card__foot {
    margin-top: 9px !important;
    padding-top: 0 !important;
    gap: 6px !important;
  }
  .wprp .wprp-helpful,
  .wprp .wprp-reply-toggle {
    min-height: 28px !important;
    padding: 4px 9px !important;
    background: rgba(255,255,255,.72) !important;
    border: 1px solid #dbe4ee !important;
    border-radius: 999px !important;
    font-size: 10.8px !important;
  }

  .wprp-pagination {
    justify-content: center !important;
    margin-top: 12px !important;
  }
  .wprp-page {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
  }

  .wprp-grid-wrap .wprp-arrows,
  #wprp-all-reviews .wprp-arrows {
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 11px !important;
  }
  .wprp-grid-wrap button.wprp-arrow,
  #wprp-all-reviews button.wprp-arrow {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 50% !important;
  }
}

@media (max-width: 380px) {
  .wprp-all-reviews-header,
  .wprp-category-reviews-header {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .wprp-all-reviews-header__rating {
    justify-content: flex-start !important;
  }
}

/* =========================================================
   v1.2.78 — review source layout + compact login CTA
   Presentation only; review storage/AJAX logic is unchanged.
   ========================================================= */

/* Category review blocks now show the exact source product, just like the
   all-reviews page. Product-page review blocks remain source-free. */
.wprp-category-reviews-wrap .wprp-card__product {
  display: flex !important;
}
.wprp-category-reviews-wrap .wprp-card__category {
  display: inline-flex !important;
}

/* Keep the sign-in review action short and fully owned by the plugin. */
.wprp .wprp-btn-login,
.wprp a.wprp-btn-login {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 11px 16px !important;
  border: 1px solid var(--brand, #0067ed) !important;
  border-radius: 11px !important;
  background: var(--brand, #0067ed) !important;
  color: #fff !important;
  font-family: "Roboto",Arial,sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.wprp .wprp-btn-login:hover,
.wprp .wprp-btn-login:active {
  filter: brightness(.96) !important;
  color: #fff !important;
  text-decoration: none !important;
}
.wprp .wprp-btn-login:focus,
.wprp .wprp-btn-login:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

@media (max-width: 600px) {
  /* Product context stays next to the customer instead of falling below it. */
  .wprp-all-reviews-wrap .wprp-card__head,
  #wprp-all-reviews .wprp-card__head,
  .wprp-category-reviews-wrap .wprp-card__head {
    display: grid !important;
    grid-template-columns: 38px minmax(0,1fr) 72px !important;
    grid-template-areas: "avatar meta product" !important;
    align-items: start !important;
    column-gap: 9px !important;
    row-gap: 0 !important;
  }
  .wprp-all-reviews-wrap .wprp-card__av,
  #wprp-all-reviews .wprp-card__av,
  .wprp-category-reviews-wrap .wprp-card__av {
    grid-area: avatar !important;
  }
  .wprp-all-reviews-wrap .wprp-card__meta,
  #wprp-all-reviews .wprp-card__meta,
  .wprp-category-reviews-wrap .wprp-card__meta {
    grid-area: meta !important;
    align-self: start !important;
  }
  .wprp-all-reviews-wrap .wprp-card__product,
  #wprp-all-reviews .wprp-card__product,
  .wprp-category-reviews-wrap .wprp-card__product {
    grid-area: product !important;
    align-self: start !important;
    justify-self: end !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    margin: 0 !important;
    padding: 5px !important;
    border-radius: 9px !important;
    background: rgba(255,255,255,.82) !important;
  }
  .wprp-all-reviews-wrap .wprp-card__product-image,
  .wprp-all-reviews-wrap .wprp-card__product-placeholder,
  #wprp-all-reviews .wprp-card__product-image,
  #wprp-all-reviews .wprp-card__product-placeholder,
  .wprp-category-reviews-wrap .wprp-card__product-image,
  .wprp-category-reviews-wrap .wprp-card__product-placeholder {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 7px !important;
  }
  .wprp-all-reviews-wrap .wprp-card__product-name,
  #wprp-all-reviews .wprp-card__product-name,
  .wprp-category-reviews-wrap .wprp-card__product-name {
    font-size: 9px !important;
    line-height: 1.2 !important;
    -webkit-line-clamp: 2 !important;
  }
  .wprp-all-reviews-wrap .wprp-card__category,
  #wprp-all-reviews .wprp-card__category,
  .wprp-category-reviews-wrap .wprp-card__category {
    grid-area: product !important;
    justify-self: end !important;
    margin: 0 !important;
    max-width: 72px !important;
  }
}

@media (max-width: 360px) {
  .wprp-all-reviews-wrap .wprp-card__head,
  #wprp-all-reviews .wprp-card__head,
  .wprp-category-reviews-wrap .wprp-card__head {
    grid-template-columns: 36px minmax(0,1fr) 66px !important;
    column-gap: 7px !important;
  }
  .wprp-all-reviews-wrap .wprp-card__product,
  #wprp-all-reviews .wprp-card__product,
  .wprp-category-reviews-wrap .wprp-card__product {
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
  }
}


/* =========================================================
   v1.2.79 — typography, compact submit CTA, heading scale
   and theme-independent presentation refinements.
   ========================================================= */

/* Public review UI owns its typography. Roboto is enqueued by the plugin. */
.wprp,
.wprp button,
.wprp input,
.wprp textarea,
.wprp select,
.wprp option {
  font-family: "Roboto", Arial, sans-serif !important;
}

/* Keep the visible hierarchy firm but never heavier than 600. */
.wprp h1,
.wprp h2,
.wprp h3,
.wprp h4,
.wprp h5,
.wprp h6,
.wprp strong,
.wprp b,
.wprp button,
.wprp .wprp-form-col__title,
.wprp .wprp-card__name,
.wprp .wprp-card__title,
.wprp .wprp-card__badge,
.wprp .wprp-card__reply-author,
.wprp .wprp-home-review__name,
.wprp .wprp-home-review__verified,
.wprp .wprp-home-review__title,
.wprp .wprp-home-review__product,
.wprp .wprp-home-reviews__link,
.wprp .wprp-all-reviews-header__score,
.wprp .wprp-home-reviews__score,
.wprp .wprp-btn-submit,
.wprp .wprp-btn-login,
.wprp .wprp-reply-send,
.wprp .wprp-grid-loadmore {
  font-weight: 600 !important;
}

/* Main review-block headings: 22px desktop, 18px phone/tablet. */
.wprp .wprp-all-reviews-header__title,
.wprp .wprp-home-reviews__title,
.wprp .wprp-form-col__title {
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
}

/* Review submit: compact, aligned to the right, with real breathing room. */
.wprp .wprp-btn-submit,
.wprp button.wprp-btn-submit,
.wprp input[type="submit"].wprp-btn-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 220px !important;
  max-width: 100% !important;
  min-height: 44px !important;
  margin: 14px 0 0 auto !important;
  padding: 10px 22px !important;
  border-radius: 9px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  transform: none !important;
}
.wprp .wprp-btn-submit:hover,
.wprp .wprp-btn-submit:active,
.wprp .wprp-btn-submit:focus,
.wprp .wprp-btn-submit:focus-visible,
.wprp button.wprp-btn-submit:hover,
.wprp button.wprp-btn-submit:active,
.wprp button.wprp-btn-submit:focus,
.wprp button.wprp-btn-submit:focus-visible {
  box-shadow: none !important;
  transform: none !important;
  outline: none !important;
}

@media (max-width: 700px) {
  .wprp .wprp-all-reviews-header__title,
  .wprp .wprp-home-reviews__title,
  .wprp .wprp-form-col__title {
    font-size: 18px !important;
    font-weight: 600 !important;
  }
  .wprp .wprp-btn-submit,
  .wprp button.wprp-btn-submit,
  .wprp input[type="submit"].wprp-btn-submit {
    width: 100% !important;
    margin-top: 12px !important;
  }
}

/* 1.2.92 — keep review action buttons compact and right-aligned */
.wprp .wprp-form-col > .wprp-btn-submit,
.wprp .wprp-form-col > .wprp-btn-login {
  display: inline-flex !important;
  width: auto !important;
  min-width: 150px !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  justify-content: center !important;
}
@media (max-width: 700px) {
  .wprp .wprp-form-col > .wprp-btn-submit,
  .wprp .wprp-form-col > .wprp-btn-login {
    width: auto !important;
  }
}


/* 1.2.93 — submit CTA spacing + circular customer avatars */
.wprp .wprp-form-col > .wprp-btn-submit,
.wprp .wprp-form-col > .wprp-btn-login,
.wprp .wprp-form-col > button.wprp-btn-submit,
.wprp .wprp-form-col > a.wprp-btn-login {
  align-self: flex-end !important;
  margin-top: 18px !important;
  margin-bottom: 8px !important;
  clear: both !important;
}

.wprp .wprp-card__av,
.wprp .wprp-home-review__avatar,
.wprp .wprp-sliderx__av {
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center center !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1 !important;
  display: block !important;
}

@media (max-width: 700px) {
  .wprp .wprp-form-col > .wprp-btn-submit,
  .wprp .wprp-form-col > .wprp-btn-login,
  .wprp .wprp-form-col > button.wprp-btn-submit,
  .wprp .wprp-form-col > a.wprp-btn-login {
    margin-top: 14px !important;
    margin-bottom: 10px !important;
  }
}

/* =========================================================
   v1.2.98 — simple review source links
   Product references in site-wide/category review cards now use
   the same quiet text-link pattern as the “Müştərilərimiz nə deyir?”
   shortcode. No product thumbnail/card is rendered in review cards.
   ========================================================= */
.wprp .wprp-card__source-link {
  display: block !important;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  color: var(--wprp-flat-blue) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  transition: opacity .16s ease !important;
}

/* One restrained interaction style for product links everywhere. */
.wprp .wprp-card__source-link:hover,
.wprp .wprp-card__source-link:active,
.wprp .wprp-home-review__product:hover,
.wprp .wprp-home-review__product:active {
  color: var(--wprp-flat-blue) !important;
  opacity: .76;
  text-decoration: none !important;
}
.wprp .wprp-card__source-link:focus-visible,
.wprp .wprp-home-review__product:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 3px !important;
  border-radius: 2px !important;
}
.wprp .wprp-home-review__product {
  transition: opacity .16s ease !important;
}

.wprp .wprp-card__source-category {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  color: var(--wprp-flat-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* The old source-card slot used a third grid column on phones. The source is
   now below the review text, so keep the header at the normal two columns. */
@media (max-width: 600px) {
  .wprp-all-reviews-wrap .wprp-card__head,
  #wprp-all-reviews .wprp-card__head,
  .wprp-category-reviews-wrap .wprp-card__head {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    grid-template-areas: "avatar meta" !important;
  }
}

@media (max-width: 360px) {
  .wprp-all-reviews-wrap .wprp-card__head,
  #wprp-all-reviews .wprp-card__head,
  .wprp-category-reviews-wrap .wprp-card__head {
    grid-template-columns: 36px minmax(0, 1fr) !important;
  }
}

/* =========================================================
   v1.2.99 — stable AJAX review transitions
   Only the review cards change when navigating between batches.
   Keep the review region anchored so different card heights do not
   make the whole document jump up/down.
   ========================================================= */
.wprp .wprp-list,
.wprp-grid-wrap .wprp-list--grid {
  overflow-anchor: none;
}

.wprp .wprp-list.wprp-list--switching,
.wprp-grid-wrap .wprp-list--grid.wprp-list--switching {
  opacity: .48;
  pointer-events: none;
}

.wprp .wprp-list,
.wprp-grid-wrap .wprp-list--grid {
  transition: opacity .16s ease !important;
}

.wprp .wprp-list.wprp-list--entered,
.wprp-grid-wrap .wprp-list--grid.wprp-list--entered {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .wprp .wprp-list,
  .wprp-grid-wrap .wprp-list--grid {
    transition: none !important;
  }
}


/* v1.2.100 — Centered side arrows for grid/category reviews
   Desktop/tablet only, keeps mobile bottom placement to avoid covering cards. */
@media (min-width: 769px) {
  .wprp-grid-wrap,
  #wprp-all-reviews {
    position: relative !important;
  }

  .wprp-grid-wrap .wprp-arrows,
  #wprp-all-reviews .wprp-arrows {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 8px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    pointer-events: none !important;
    z-index: 6 !important;
  }

  .wprp-grid-wrap button.wprp-arrow,
  #wprp-all-reviews button.wprp-arrow,
  .wprp-grid-wrap .wprp-arrow,
  #wprp-all-reviews .wprp-arrow {
    pointer-events: auto !important;
  }
}


/* v1.2.101 — AJAX numbered pagination for review grids */
.wprp-grid-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin: 18px 0 2px !important;
  padding: 0 !important;
}

.wprp-grid-page {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #d7e3f1 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #46617d !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease !important;
}

.wprp-grid-page:hover:not(:disabled):not(.is-active),
.wprp-grid-page:focus-visible:not(.is-active) {
  border-color: #8bbcff !important;
  background: #f6faff !important;
  color: #0067ed !important;
}

.wprp-grid-page.is-active,
.wprp-grid-page[aria-current="page"] {
  border-color: #0067ed !important;
  background: #0067ed !important;
  color: #fff !important;
  cursor: default !important;
}

.wprp-grid-page:disabled:not(.is-active) {
  opacity: .55 !important;
  cursor: wait !important;
}

.wprp-grid-page-ellipsis {
  min-width: 20px;
  color: #8da0b6;
  font-size: 14px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  user-select: none;
}

@media (max-width: 600px) {
  .wprp-grid-pagination {
    gap: 6px !important;
    margin-top: 14px !important;
  }
  .wprp-grid-page {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
  }
  .wprp-grid-page-ellipsis { line-height: 38px; }
}


/* v1.2.107: remove mobile tap highlight / blue focus square only inside plugin UI */
@media (hover: none) and (pointer: coarse) {
  .wprp a,
  .wprp button,
  .wprp [role="button"],
  .wprp input[type="button"],
  .wprp input[type="submit"] {
    -webkit-tap-highlight-color: transparent !important;
  }

  .wprp .wprp-helpful:focus,
  .wprp .wprp-helpful:focus-visible,
  .wprp .wprp-helpful:active,
  .wprp .wprp-reply-toggle:focus,
  .wprp .wprp-reply-toggle:focus-visible,
  .wprp .wprp-reply-toggle:active,
  .wprp .wprp-grid-loadmore:focus,
  .wprp .wprp-grid-loadmore:focus-visible,
  .wprp .wprp-grid-loadmore:active,
  .wprp .wprp-arrow:focus,
  .wprp .wprp-arrow:focus-visible,
  .wprp .wprp-arrow:active,
  .wprp .wprp-grid-page:focus,
  .wprp .wprp-grid-page:focus-visible,
  .wprp .wprp-grid-page:active,
  .wprp .wprp-card__source-link:focus,
  .wprp .wprp-card__source-link:focus-visible,
  .wprp .wprp-card__source-link:active,
  .wprp .wprp-home-review__product:focus,
  .wprp .wprp-home-review__product:focus-visible,
  .wprp .wprp-home-review__product:active {
    outline: none !important;
    box-shadow: none !important;
  }
}


/* v1.2.108: hard-stop browser/theme focus square on helpful vote buttons.
   Intentionally scoped only to the thumbs up/down controls. */
.wprp .wprp-helpful,
.wprp button.wprp-helpful {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
  outline-width: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

.wprp .wprp-helpful:focus,
.wprp .wprp-helpful:focus-visible,
.wprp .wprp-helpful:active,
.wprp button.wprp-helpful:focus,
.wprp button.wprp-helpful:focus-visible,
.wprp button.wprp-helpful:active {
  outline: none !important;
  outline-width: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.wprp .wprp-card__foot {
  position: relative;
}
.wprp .wprp-helpful-message {
  position: absolute;
  left: 0;
  bottom: calc(100% + 4px);
  z-index: 2;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 6px 9px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
  color: #475569;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: anywhere;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s ease;
}
.wprp .wprp-helpful-message--inline {
  left: var(--wprp-helpful-message-left, 0px);
  top: var(--wprp-helpful-message-top, 0px);
  bottom: auto;
  transform: translateY(-50%);
}
.wprp .wprp-helpful-message--visible {
  opacity: 1;
  visibility: visible;
}

/* v1.2.114: no touch highlight/focus square on review pagination.
   Include the classic numbered pager as well as grid numbers and arrows. */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  html body .wprp button:is(.wprp-page, .wprp-grid-page, .wprp-arrow) {
    -webkit-tap-highlight-color: transparent !important;
  }
  html body .wprp button:is(.wprp-page, .wprp-grid-page, .wprp-arrow):is(:focus, :active):not(:focus-visible) {
    outline: none !important;
    outline-width: 0 !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
  }
  /* Preserve a visible indicator when a keyboard is used. */
  html body .wprp button:is(.wprp-page, .wprp-grid-page, .wprp-arrow):focus-visible {
    outline: 2px solid #0067ed !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
  }
}
