/* REDJET Reviews 1.0.1 -- scoped to a single WooCommerce review component. */
.rjr-root {
  --rjr-red: #c90c20;
  --rjr-red-bright: #e01329;
  --rjr-ink: #15171d;
  --rjr-muted: #69717d;
  --rjr-border: #e4e6eb;
  --rjr-soft: #f8f9fb;
  --rjr-radius: 15px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 14px 0 30px;
  margin: 0 auto;
  color: var(--rjr-ink);
  font-family: inherit;
}
.rjr-root *, .rjr-root *::before, .rjr-root *::after { box-sizing: border-box; }
.rjr-root :where(h2,h3,h4,p,figure,fieldset) { margin-block: 0; }
.rjr-root :where(input,select,textarea,button) { font-family: inherit; }
.rjr-root :where(button,a,input,select,textarea):focus-visible { outline: 3px solid rgba(201,12,32,.24); outline-offset: 3px; }

.rjr-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.rjr-heading h2 {
  display: flex; align-items: center; gap: 15px;
  font-size: clamp(27px, 2.5vw, 36px); line-height: 1.15;
  font-weight: 750; letter-spacing: -.035em; color: #15171d;
}
.rjr-heading h2::before {
  content: ''; display: block; flex: 0 0 19px; height: 30px;
  background: linear-gradient(90deg,var(--rjr-red) 0 38%,transparent 38% 54%,var(--rjr-red) 54% 100%);
  transform: skew(-29deg); border-radius: 1px;
}
.rjr-heading p { margin-top: 7px; color: #626b78; font-size: 14px; line-height: 1.6; }
.rjr-review-count { flex: 0 0 auto; padding: 9px 15px; border: 1px solid #dfe2e7; border-radius: 10px; font-weight: 600; font-size: 13px; color: #4b515a; background: #fff; }

.rjr-top-grid { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); align-items: stretch; gap: 22px; }
.rjr-summary, .rjr-form-panel { min-width: 0; border-radius: var(--rjr-radius); }
.rjr-summary {
  position: relative; isolation: isolate; overflow: hidden; min-height: 402px;
  padding: 30px 24px;
  background: radial-gradient(ellipse at 20% 10%,rgba(186,17,38,.23),transparent 40%),linear-gradient(115deg,#111319 0%,#090b11 100%);
  border: 1px solid #20212a; color: #fff;
  box-shadow: 0 13px 30px rgba(10,12,20,.12);
}
.rjr-summary::before { content: ''; position: absolute; z-index: 0; width: 80px; height: 180px; top: -62px; left: 28px; background: linear-gradient(125deg,rgba(227,13,39,.64),rgba(210,11,31,0)); transform: rotate(38deg); pointer-events: none; }
.rjr-summary-top { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,51%) minmax(0,49%); align-items: center; min-height: 342px; }
.rjr-summary-image { position: relative; display: flex; justify-content: center; align-items: center; min-width: 0; min-height: 280px; height: 100%; padding: 18px 18px 18px 4px; }
.rjr-summary-image::after { content: ''; position: absolute; inset: 14% 0 4% 8%; background: radial-gradient(ellipse at 48% 62%,rgba(234,39,57,.18),transparent 59%); z-index: -1; }
.rjr-summary-image .rjr-featured-photo { display: block; width: 100%; height: 285px; max-width: 100%; object-fit: contain; object-position: center; filter: drop-shadow(0 10px 22px rgba(0,0,0,.35)); }
.rjr-no-image { display: flex; justify-content: center; align-items: center; min-height: 220px; font-size: 30px; letter-spacing: .04em; color: rgba(255,255,255,.4); font-weight: 750; }
.rjr-summary-stats { padding: 9px 4px 7px 24px; min-width: 0; border-left: 1px solid rgba(255,255,255,.22); }
.rjr-average { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 7px; font-weight: 780; font-size: clamp(46px,4vw,64px); line-height: 1; letter-spacing: -.05em; color: #fff; white-space: nowrap; }
.rjr-average > span { color: #c8cbd3; font-size: 22px; font-weight: 550; letter-spacing: 0; }
.rjr-unrated { color: #eceef2; }
.rjr-unrated-label { color: #c7cad1; font-size: 13px; margin-top: 6px; }
.rjr-stars-view { display: inline-flex; align-items: center; font-size: 23px; letter-spacing: 2px; white-space: nowrap; line-height: 1.3; }
.rjr-star-filled { color: #f12a3d; }
.rjr-star-empty { color: rgba(255,255,255,.77); }
.rjr-summary .rjr-stars-view { display: block; margin-top: 9px; }
.rjr-based { margin-top: 6px !important; color: #c1c4cd; font-size: 13px; line-height: 1.6; }
.rjr-rating-bars { display: grid; gap: 12px; margin-top: 21px; }
.rjr-bar-row { display: grid; grid-template-columns: 31px minmax(0,1fr) 28px; align-items: center; gap: 9px; min-width: 0; font-size: 13px; line-height: 1; color: #e7e8eb; }
.rjr-bar-row > span:first-child { white-space: nowrap; }
.rjr-bar-track { display: block; height: 10px; width: 100%; background: #43464d; overflow: hidden; border-radius: 7px; }
.rjr-bar-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#b8091d,#ed2138); }
.rjr-bar-amount { color: #f7f7f8; font-variant-numeric: tabular-nums; text-align: right; }

.rjr-form-panel { background: #fafbfc; border: 1px solid #e2e4e8; padding: 28px 29px 24px; box-shadow: 0 10px 22px rgba(20,25,35,.035); }
.rjr-form-panel .comment-respond { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; width: 100% !important; max-width: 100% !important; }
.rjr-form-panel .comment-reply-title { font-weight: 750; font-size: clamp(22px,2vw,27px); color: #11151c; letter-spacing: -.025em; margin: 0 0 5px !important; line-height: 1.25; }
.rjr-form-subtitle { color: #626b78; font-size: 13px; line-height: 1.55; margin: 0 0 20px !important; }
.rjr-form-panel .comment-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px 16px; width: 100%; max-width: 100%; margin: 0 !important; padding: 0 !important; }
.rjr-form-panel .comment-form > :where(div,p,fieldset) { margin: 0 !important; padding: 0; min-width: 0; }
.rjr-primary-fields, .rjr-form-panel .comment-form-cookies-consent, .rjr-photo-field, .rjr-form-panel .form-submit, .rjr-form-panel .must-log-in, .rjr-form-panel .comment-notes, .rjr-form-panel .logged-in-as { grid-column: 1 / -1; }
.rjr-primary-fields { display: grid; gap: 14px; }
.rjr-form-panel label, .rjr-rating-field legend, .rjr-photo-field > label { display: block; margin: 0 0 7px; color: #282d36; font-size: 13px; line-height: 1.45; font-weight: 700; }
.rjr-form-panel .comment-form p.comment-form-author { grid-column: 1; }
.rjr-form-panel .comment-form p.comment-form-email { grid-column: 2; }
.rjr-form-panel .comment-form p.comment-form-author, .rjr-form-panel .comment-form p.comment-form-email { min-width: 0; max-width: 100%; margin: 0 !important; }
.rjr-form-panel :where(input[type="text"],input[type="email"],textarea) {
  display: block; appearance: none; width: 100% !important; max-width: 100% !important;
  color: #191d24; background: #fff; border: 1px solid #d4d9e1;
  min-height: 44px; padding: 10px 13px; border-radius: 9px;
  font-size: 14px; font-weight: 400; line-height: 1.5; margin: 0 !important; box-shadow: none;
}
.rjr-form-panel :where(input[type="text"],input[type="email"],textarea):focus { border-color: #c90c20; outline: 0; box-shadow: 0 0 0 3px rgba(201,12,32,.13); }
.rjr-form-panel #author { padding-left: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23727b89' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E") 12px center / 18px 18px no-repeat; }
.rjr-form-panel #email { padding-left: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23727b89' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 7 9-7'/%3E%3C/svg%3E") 12px center / 18px 18px no-repeat; }
.rjr-form-panel textarea { min-height: 113px; resize: vertical; }
.rjr-rating-field { border: 0; min-width: 0; padding: 0 !important; margin: 0 !important; }
.rjr-rating-choices { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 5px; width: max-content; max-width: 100%; }
.rjr-rating-choices input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.rjr-rating-choices label { display: block; padding: 0; margin: 0 !important; color: #f4f5f7; -webkit-text-stroke: 1.5px var(--rjr-red); font-size: 32px; line-height: 1.1; cursor: pointer; transition: transform .12s ease, color .12s ease; }
.rjr-rating-choices label:hover, .rjr-rating-choices label:hover ~ label, .rjr-rating-choices input:checked ~ label { color: #d41126; -webkit-text-stroke-color: #d41126; }
.rjr-rating-choices label:hover { transform: translateY(-2px); }
.rjr-rating-choices input:focus-visible + label { outline: 2px solid var(--rjr-red); outline-offset: 3px; border-radius: 4px; }
.rjr-form-panel .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #6b7480; }
.rjr-form-panel .comment-form-cookies-consent label { display: inline; font-size: 12px; font-weight: 400; margin: 0; }
.rjr-form-panel .comment-form-cookies-consent input { width: 16px; height: 16px; flex: 0 0 auto; }
.rjr-photo-field { padding: 11px 13px !important; background: #f2f4f7; border: 1px dashed #ced4df; border-radius: 9px; }
.rjr-photo-field > label { margin-bottom: 5px; }
.rjr-optional { color: #7b8592; font-weight: 400; }
.rjr-photo-field input[type="file"] { display: block; width: 100%; max-width: 100%; font-size: 12px; color: #2d3540; }
.rjr-photo-help { color: #687281; font-size: 11px; margin: 8px 0 0 !important; line-height: 1.4; }
.rjr-photo-error, .rjr-upload-notice { color: #9f0c1b; background: #fff0f2; border-left: 3px solid #c90c20; padding: 9px 12px; font-size: 13px; line-height: 1.45; }
.rjr-photo-preview { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 9px; }
.rjr-photo-preview img { width: 66px; height: 66px; object-fit: cover; border-radius: 7px; border: 1px solid #d8dde5; }
.rjr-form-panel .form-submit { display: block; margin-top: 4px !important; }
.rjr-form-panel .rjr-submit {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  appearance: none; width: 100% !important; min-height: 49px; margin: 0;
  border: 1px solid #c90c20; border-radius: 9px; padding: 12px 20px;
  background: linear-gradient(110deg,#cd061c,#e00920); color: #fff;
  font-family: inherit; font-size: 14px; font-weight: 750; text-align: center;
  cursor: pointer; box-shadow: 0 5px 10px rgba(201,12,32,.09);
}
.rjr-form-panel .rjr-submit > svg { display: inline-block; flex: 0 0 20px; width: 20px; height: 20px; }
.rjr-form-panel .rjr-submit:hover { background: #a9081a; color: #fff; }
.rjr-form-panel .required { color: var(--rjr-red); }
.rjr-form-panel .must-log-in { font-size: 14px; }

.rjr-list-section { margin-top: 27px; }
.rjr-list-top { display: flex; align-items: center; gap: 12px; justify-content: space-between; border-bottom: 1px solid #e6e8ec; padding-bottom: 12px; margin-bottom: 17px; }
.rjr-list-top h3 { margin: 0 !important; font-size: clamp(20px,1.9vw,24px); font-weight: 720; color: #171b21; letter-spacing: -.02em; }
.rjr-sort { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #6d7681; }
.rjr-sort select { appearance: auto; border: 1px solid #d5d9df; border-radius: 8px; min-height: 38px; background: #fff; padding: 7px 11px; color: #20252d; font-size: 13px; }
.rjr-sort-submit { border: 1px solid #d5d9df; border-radius: 8px; background: #fff; padding: 8px 13px; color: #282f38; }
.rjr-comment-list { display: grid; grid-template-columns: 1fr; gap: 15px; }
.rjr-comment-card { display: grid; grid-template-columns: minmax(145px,29%) minmax(0,1fr); gap: 22px; min-width: 0; border: 1px solid #e1e4ea; border-radius: 13px; padding: 22px 25px; background: #fafbfd; box-shadow: 0 5px 14px rgba(18,22,30,.025); }
.rjr-comment-identity { display: flex; align-items: flex-start; gap: 13px; min-width: 0; border-right: 1px solid #dce0e7; padding-right: 15px; }
.rjr-avatar { display: flex; align-items: center; justify-content: center; flex: 0 0 49px; height: 49px; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#292d35 4%,#4a5260 52%,#1b1f28 100%); font-size: 15px; line-height: 1; letter-spacing: .025em; font-weight: 750; border: 2px solid #fff; box-shadow: 0 3px 9px rgba(30,32,40,.16); }
.rjr-comment-author { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; gap: 4px; }
.rjr-comment-author strong { color: #252b35; overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; }
.rjr-comment-author time { color: #77808e; font-size: 12px; line-height: 1.4; }
.rjr-verified { font-size: 10px; font-weight: 700; color: #117b4a; }
.rjr-comment-content { min-width: 0; padding-top: 2px; }
.rjr-comment-content .rjr-stars-view { font-size: 21px; }
.rjr-comment-text { font-size: 14px; line-height: 1.65; color: #313844; margin: 8px 0 0; overflow-wrap: anywhere; }
.rjr-comment-text p { margin: 0 0 8px !important; }
.rjr-comment-text p:last-child { margin-bottom: 0 !important; }
.rjr-review-photos { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 16px; }
.rjr-photo-link { display: inline-block; border-radius: 9px; overflow: hidden; outline-offset: 3px; }
.rjr-photo-link img { display: block; width: 92px; height: 92px; object-fit: cover; border: 1px solid #d9dce2; border-radius: 9px; }
.rjr-empty { display: flex; align-items: center; gap: 15px; background: #f4f5f7; border: 1px solid #e8eaee; border-radius: 12px; padding: 22px 25px; }
.rjr-empty > span { color: #25303d; font-size: 23px; }
.rjr-empty strong { color: #252e39; font-size: 15px; white-space: nowrap; }
.rjr-empty p { margin: 0 !important; font-size: 13px; line-height: 1.5; color: #697482; }
.rjr-pagination { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.rjr-pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border: 1px solid #dce0e6; border-radius: 7px; text-decoration: none; font-size: 13px; color: #282e39; }
.rjr-pagination a[aria-current="page"] { border-color: #c90c20; background: #c90c20; color: #fff; }

@media (max-width: 1100px) {
  .rjr-top-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .rjr-summary { min-height: 325px; }
  .rjr-summary-top { min-height: 290px; }
  .rjr-summary-image .rjr-featured-photo { height: 280px; }
}
@media (max-width: 620px) {
  .rjr-root { padding-top: 10px; }
  .rjr-header { margin-bottom: 17px; }
  .rjr-heading h2 { font-size: 26px; gap: 11px; }
  .rjr-heading h2::before { width: 14px; flex-basis: 14px; height: 25px; }
  .rjr-heading p { font-size: 13px; }
  .rjr-review-count { font-size: 11px; padding: 7px 9px; }
  .rjr-summary { min-height: 0; padding: 19px 17px 21px; }
  .rjr-summary-top { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .rjr-summary-image { min-height: 165px; height: 180px; padding: 0 6px; }
  .rjr-summary-image .rjr-featured-photo { height: 180px; }
  .rjr-no-image { min-height: 150px; }
  .rjr-summary-stats { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); padding: 15px 1px 3px; }
  .rjr-average { font-size: 49px; }
  .rjr-rating-bars { margin-top: 17px; gap: 11px; }
  .rjr-form-panel { padding: 22px 17px; }
  .rjr-form-panel .comment-reply-title { font-size: 23px; }
  .rjr-form-panel .comment-form { gap: 13px; }
  .rjr-form-panel .comment-form p.comment-form-author, .rjr-form-panel .comment-form p.comment-form-email { grid-column: 1 / -1; }
  .rjr-form-panel :where(input[type="text"],input[type="email"],textarea) { font-size: 16px; }
  .rjr-list-top { flex-wrap: wrap; }
  .rjr-comment-card { display: block; padding: 17px 18px; }
  .rjr-comment-identity { border-right: 0; border-bottom: 1px solid #e1e3e8; padding: 0 0 12px; margin: 0 0 12px; }
  .rjr-comment-content { padding: 0; }
  .rjr-empty { flex-wrap: wrap; gap: 8px; padding: 15px 17px; }
  .rjr-empty p { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rjr-rating-choices label { transition: none; }
}

/* Explicit user feedback after review submission (pending vs approved). */
.rjr-root .rjr-submission-notice {
  display: grid; gap: 5px; margin: 0 0 20px; padding: 17px 19px;
  border: 1px solid #cdd7d9; border-left: 4px solid #c90c20; border-radius: 9px;
  background: #f8f9fb; color: #202831; font-size: 14px; line-height: 1.55;
}
.rjr-root .rjr-submission-notice strong {font-weight: 750; color: #141920;}
.rjr-root .rjr-submission-notice span {color: #596572;}
@media (max-width: 600px) { .rjr-root .rjr-submission-notice {padding: 14px 15px; margin-bottom: 15px;} }

/* v1.1.2 - prominent product-review submission confirmation. */
.rjr-flash {
  box-sizing: border-box; position: fixed; z-index: 99998;
  top: max(90px, calc(env(safe-area-inset-top, 0px) + 72px));
  right: max(18px, env(safe-area-inset-right, 0px));
  display: flex; align-items: flex-start; gap: 13px;
  width: min(440px, calc(100vw - 36px));
  padding: 19px 15px 19px 18px;
  background: #121417; color: #fff;
  border: 1px solid rgba(255,255,255,.18); border-left: 5px solid #df0b1b;
  border-radius: 13px; box-shadow: 0 14px 42px rgba(0,0,0,.26);
  font-family: inherit; font-size: 14px; line-height: 1.48;
}
.rjr-flash .rjr-flash-icon {
  flex: 0 0 34px; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: #df0b1b; color: #fff; font-size: 20px; font-weight: 700;
}
.rjr-flash-body {flex: 1 1 auto; min-width: 0;}
.rjr-flash-body strong {display: block; color: #fff; font-size: 16px; font-weight: 740; line-height: 1.3;}
.rjr-flash-body p {margin: 7px 0 0; color: #e2e6eb;}
.rjr-flash-body .rjr-flash-warning {color: #ffced3;}
.rjr-flash a.rjr-flash-link {display: inline-block; color: #fff; font-weight: 650; margin-top: 12px; text-decoration: underline; text-underline-offset: 3px;}
.rjr-flash button.rjr-flash-close {
  flex: 0 0 30px; display: grid; place-items: center;
  width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.10); color: #fff; cursor: pointer;
  font-family: inherit; font-size: 24px; line-height: 1;
}
.rjr-flash button.rjr-flash-close:hover {background: rgba(255,255,255,.22);}
.rjr-flash :is(a,button):focus-visible {outline: 2px solid #fff; outline-offset: 3px;}
.rjr-root .rjr-submission-notice {scroll-margin-top: 110px;}
@media (max-width: 620px) {
 .rjr-flash {top: max(75px, calc(env(safe-area-inset-top, 0px) + 65px)); right: 12px; width: calc(100vw - 24px); padding: 17px 13px; gap: 10px;}
 .rjr-flash-body strong {font-size: 15px;}
}

/* Turkey summary readability: preserve light text against the dark rating panel. */
.rj-v2-single .rjr-root .rjr-summary p.rjr-unrated-label,
.rj-v2-single .rjr-root .rjr-summary p.rjr-based { color: #c7cad1 !important; }
