:root{
  --admal-rv-bg:#fff;
  --admal-rv-surface:#fff;
  --admal-rv-soft:#f7f8fa;
  --admal-rv-soft-2:#f1f3f6;
  --admal-rv-border:#e4e7ec;
  --admal-rv-border-strong:#cfd4dc;
  --admal-rv-text:#17191d;
  --admal-rv-muted:#68707c;
  --admal-rv-accent:#07543d;
  --admal-rv-star:#f2b01e;
  --admal-rv-ok:#147a4b;
  --admal-rv-danger:#b42318;
  --admal-rv-radius:22px;
  --admal-rv-radius-sm:14px;
  --admal-rv-shadow:0 14px 40px rgba(17,24,39,.07);
  --admal-rv-shadow-hover:0 18px 46px rgba(17,24,39,.10);
  --admal-rv-ring:0 0 0 3px rgba(17,24,39,.10);
}

.admal-reviews-hub,
.admal-reviews-summary,
.admal-review-form-wrap,
.admal-eligible-reviews,
.admal-home-reviews,
.admal-reviews-pricing-slot,
.admal-product-reviews{
  box-sizing:border-box;
  width:min(1180px,calc(100% - 40px));
  margin-inline:auto;
  color:var(--admal-rv-text);
  font-family:"Poppins",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.admal-review-form-wrap{width:min(920px,calc(100% - 40px))}
.admal-eligible-reviews{width:min(1000px,calc(100% - 40px))}

.admal-reviews-locale-ar,
.admal-reviews-hub[dir="rtl"],
.admal-review-card[dir="rtl"],
[dir="rtl"] .admal-review-form-wrap,
[dir="rtl"] .admal-eligible-reviews{
  font-family:"Cairo",Arial,sans-serif;
  direction:rtl;
  text-align:right;
}

.admal-review-card[dir="ltr"]{
  direction:ltr !important;
  text-align:left !important;
}

/* Avoid progressive inset when a summary lives inside a home/product/pricing shell. */
.admal-home-reviews>.admal-reviews-summary,
.admal-reviews-pricing-slot>.admal-reviews-summary,
.admal-product-reviews>.admal-reviews-summary{
  width:100%;
  margin-inline:0;
}

.admal-home-reviews,
.admal-reviews-pricing-slot,
.admal-product-reviews{
  padding-block:56px;
}

.admal-reviews-section-head,
.admal-reviews-hub__header{
  max-width:780px;
  margin:0 auto 32px;
  text-align:center;
}

.admal-reviews-section-head h2,
.admal-reviews-hub__header h2{
  margin:8px 0 11px;
  color:var(--admal-rv-text);
  font-size:clamp(29px,3.1vw,44px);
  font-weight:700;
  line-height:1.14;
  letter-spacing:-.03em;
  text-wrap:balance;
}

.admal-reviews-locale-ar .admal-reviews-section-head h2,
.admal-reviews-locale-ar .admal-reviews-hub__header h2{
  letter-spacing:0;
  line-height:1.35;
}

.admal-reviews-section-head p,
.admal-reviews-hub__header p{
  margin:0;
  color:var(--admal-rv-muted);
  font-size:15px;
  line-height:1.8;
  text-wrap:pretty;
}

.admal-reviews-eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 11px;
  border:1px solid var(--admal-rv-border);
  border-radius:999px;
  background:var(--admal-rv-soft);
  color:#3d4450;
  font-size:12px;
  font-weight:600;
  letter-spacing:.025em;
}

.admal-rating-overview,
.admal-reviews-summary__score{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:9px;
  margin-top:18px;
}

.admal-rating-overview strong,
.admal-reviews-summary__score strong{
  color:var(--admal-rv-text);
  font-size:30px;
  font-weight:700;
  line-height:1;
}

.admal-rating-overview span,
.admal-reviews-summary__score span{
  color:var(--admal-rv-muted);
  font-size:13px;
}

.admal-reviews-summary__score{
  justify-content:flex-start;
  margin:0 0 18px;
}

.admal-reviews-grid,
.admal-reviews-summary__cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:start;
}

.admal-review-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0;
  padding:22px;
  border:1px solid var(--admal-rv-border);
  border-radius:var(--admal-rv-radius);
  background:var(--admal-rv-surface);
  box-shadow:var(--admal-rv-shadow);
  overflow:hidden;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

@media (hover:hover) and (pointer:fine){
  .admal-review-card:hover{
    border-color:#d7dbe2;
    box-shadow:var(--admal-rv-shadow-hover);
    transform:translateY(-2px);
  }
}

.admal-review-card__top{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
}

.admal-review-avatar{
  flex:0 0 54px;
  width:54px;
  height:54px;
  border:1px solid var(--admal-rv-border);
  border-radius:16px;
  background:var(--admal-rv-soft);
  object-fit:cover;
}

.admal-review-avatar--placeholder{
  display:grid;
  place-items:center;
  color:#4b5563;
  font-size:20px;
  font-weight:700;
  user-select:none;
}

.admal-review-card__identity{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-width:0;
  line-height:1.4;
}

.admal-review-card__identity>strong{
  overflow:hidden;
  color:var(--admal-rv-text);
  font-size:15px;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.admal-review-card__identity>span{
  margin-top:2px;
  overflow:hidden;
  color:var(--admal-rv-muted);
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.admal-review-card__trust{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px 9px;
  margin-top:5px;
}

.admal-review-card__trust em{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:var(--admal-rv-ok);
  font-size:11px;
  font-style:normal;
  font-weight:600;
}

.admal-review-card__trust time{
  color:#8a919c;
  font-size:10.5px;
  white-space:nowrap;
}

.admal-review-card__stars{
  margin-top:16px;
  color:var(--admal-rv-star);
  font-size:17px;
  line-height:1;
  letter-spacing:1px;
}


.admal-review-card__stars-muted{color:#d9dde5}

.admal-review-card h3{
  margin:12px 0 6px;
  color:var(--admal-rv-text);
  font-size:18px;
  font-weight:700;
  line-height:1.4;
  overflow-wrap:anywhere;
}

.admal-review-card__target{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  color:#616875;
  font-size:12px;
  line-height:1.5;
  text-decoration:none;
  overflow-wrap:anywhere;
}

.admal-review-card__target:hover{text-decoration:underline}

.admal-review-card__text{
  flex:1 1 auto;
  margin-top:13px;
  color:#333842;
  font-size:14px;
  line-height:1.85;
  overflow-wrap:anywhere;
}

.admal-review-card__text p{margin:0 0 10px}
.admal-review-card__text p:last-child{margin-bottom:0}

.admal-review-card__images{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin-top:16px;
}

.admal-review-card__images img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  border-radius:12px;
  background:var(--admal-rv-soft);
  object-fit:cover;
}

.admal-review-card__reply{
  margin-top:16px;
  padding:14px 15px;
  border:1px solid #e9ebef;
  border-radius:14px;
  background:var(--admal-rv-soft);
  color:#353a44;
  font-size:13px;
  line-height:1.75;
}

.admal-review-card__reply strong{
  display:block;
  margin-bottom:4px;
  color:var(--admal-rv-text);
  font-size:12px;
}

.admal-review-card__reply p{margin:0 0 7px}
.admal-review-card__reply p:last-child{margin-bottom:0}

.admal-reviews-summary__link,
.admal-eligible-card>a,
.admal-review-form button,
.admal-review-secondary-filters button,
.admal-reviews-empty>a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  box-sizing:border-box;
  padding:10px 17px;
  border:1px solid var(--admal-rv-accent);
  border-radius:12px;
  background:var(--admal-rv-accent);
  color:#fff;
  font:inherit;
  font-size:13px;
  font-weight:600;
  line-height:1.2;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease;
}

.admal-reviews-summary__link{margin-top:20px}

.admal-reviews-summary__link:hover,
.admal-eligible-card>a:hover,
.admal-review-form button:hover,
.admal-review-secondary-filters button:hover,
.admal-reviews-empty>a:hover{
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(17,17,17,.14);
}

.admal-reviews-summary__link:focus-visible,
.admal-eligible-card>a:focus-visible,
.admal-review-form button:focus-visible,
.admal-review-secondary-filters button:focus-visible,
.admal-reviews-empty>a:focus-visible,
.admal-review-filters a:focus-visible,
.admal-review-card__target:focus-visible,
.admal-reviews-pagination .page-numbers:focus-visible{
  outline:2px solid #111;
  outline-offset:3px;
}

.admal-review-filters{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin:0 0 20px;
}

.admal-review-filters a{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:7px 12px;
  border:1px solid var(--admal-rv-border);
  border-radius:999px;
  background:#fff;
  color:#4c535f;
  font-size:12px;
  font-weight:500;
  text-decoration:none;
  transition:border-color .16s ease,background-color .16s ease,color .16s ease;
}

.admal-review-filters a:hover{border-color:var(--admal-rv-border-strong);color:#20242a}
.admal-review-filters a.active{border-color:var(--admal-rv-accent);background:var(--admal-rv-accent);color:#fff}

.admal-review-secondary-filters{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:center;
  gap:10px;
  margin:0 0 28px;
  padding:12px;
  border:1px solid var(--admal-rv-border);
  border-radius:16px;
  background:var(--admal-rv-soft);
}

.admal-filter-field{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:150px;
}

.admal-filter-field>span{
  color:#59616d;
  font-size:11px;
  font-weight:600;
}

.admal-filter-check{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:42px;
  padding-inline:4px;
  color:#535a66;
  font-size:13px;
  cursor:pointer;
}

.admal-filter-check input{
  width:16px;
  height:16px;
  margin:0;
  accent-color:#111;
}

.admal-review-secondary-filters select,
.admal-review-secondary-filters button{min-height:42px}

.admal-review-secondary-filters select,
.admal-review-form input,
.admal-review-form textarea,
.admal-review-form select{
  width:100%;
  box-sizing:border-box;
  border:1px solid #dfe3e8;
  border-radius:12px;
  background:#fff;
  color:var(--admal-rv-text);
  font:inherit;
  font-size:14px;
  outline:none;
  transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}

.admal-review-secondary-filters select{min-width:150px;padding:8px 34px 8px 11px}
[dir="rtl"] .admal-review-secondary-filters select{padding:8px 11px 8px 34px}
.admal-review-form input,.admal-review-form select{min-height:46px;padding:10px 12px}
.admal-review-form textarea{min-height:156px;padding:12px;resize:vertical}

.admal-review-form input:focus,
.admal-review-form textarea:focus,
.admal-review-form select:focus,
.admal-review-secondary-filters select:focus{
  border-color:#8d95a3;
  box-shadow:var(--admal-rv-ring);
}

.admal-review-form-wrap,
.admal-eligible-reviews{padding-block:28px}

.admal-review-form-target{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:15px;
  padding:15px 17px;
  border:1px solid var(--admal-rv-border);
  border-radius:16px;
  background:var(--admal-rv-soft);
}

.admal-review-form-target span{color:var(--admal-rv-muted);font-size:12px}
.admal-review-form-target strong{font-size:16px;line-height:1.5}

.admal-review-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  padding:22px;
  border:1px solid var(--admal-rv-border);
  border-radius:20px;
  background:#fff;
  box-shadow:var(--admal-rv-shadow);
}

.admal-review-form label{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
  color:#343a44;
  font-size:13px;
  font-weight:500;
}

.admal-review-form label.wide,
.admal-review-form button.wide,
.admal-existing-gallery.wide{grid-column:1/-1}

.admal-rating-field{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}
.admal-rating-field legend{
  margin:0 0 7px;
  padding:0;
  color:#343a44;
  font-size:13px;
  font-weight:500;
}
.admal-star-picker{
  display:flex;
  flex-direction:row-reverse;
  justify-content:flex-end;
  gap:3px;
  min-height:46px;
  align-items:center;
}
.admal-star-picker input{
  position:absolute;
  width:1px!important;
  height:1px!important;
  min-height:0!important;
  margin:-1px!important;
  padding:0!important;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0!important;
}
.admal-star-picker label{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  margin:0;
  border-radius:9px;
  color:#d2d7df;
  font-size:27px;
  line-height:1;
  cursor:pointer;
  transition:color .14s ease,background-color .14s ease,transform .14s ease;
}
.admal-star-picker label:hover,
.admal-star-picker label:hover~label,
.admal-star-picker input:checked~label{color:var(--admal-rv-star)}
.admal-star-picker input:focus-visible+label{outline:2px solid #111;outline-offset:2px}
@media (hover:hover) and (pointer:fine){.admal-star-picker label:hover{transform:translateY(-1px);background:var(--admal-rv-soft)}}
.screen-reader-text{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.admal-review-form small{color:var(--admal-rv-muted);font-size:11px;font-weight:400;line-height:1.55}
.admal-review-form input[readonly]{background:#f5f6f8;color:#6b7280;cursor:not-allowed}
.admal-review-form input[type="file"]{padding:9px;background:#fbfbfc;line-height:1.4}
.admal-review-form input[type="file"]::file-selector-button{margin-inline-end:10px;padding:7px 10px;border:1px solid var(--admal-rv-border);border-radius:9px;background:#fff;color:#343a44;font:inherit;font-size:12px;cursor:pointer}

.admal-review-form .consent{
  flex-direction:row;
  align-items:flex-start;
  gap:9px;
  font-weight:400;
  line-height:1.6;
}

.admal-review-form .consent input{width:16px;height:16px;min-height:0;margin-top:3px;accent-color:#111}

.admal-existing-media{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:5px;
}

.admal-existing-media img{width:58px;height:58px;object-fit:cover;border-radius:14px}
.admal-existing-media label{flex-direction:row;align-items:center;font-size:12px;font-weight:400}
.admal-existing-media input{width:auto;min-height:0}

.admal-existing-gallery{display:flex;flex-wrap:wrap;gap:10px}
.admal-existing-gallery label{display:flex;flex-direction:column;gap:5px;padding:8px;border:1px solid var(--admal-rv-border);border-radius:12px;background:var(--admal-rv-soft)}
.admal-existing-gallery img{width:84px;height:84px;object-fit:cover;border-radius:9px}
.admal-existing-gallery span{font-size:11px;font-weight:400}
.admal-existing-gallery input{width:auto;min-height:0}

.admal-eligible-reviews h2{margin:0 0 14px;font-size:24px;line-height:1.35}

.admal-eligible-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:14px;
  align-items:center;
  padding:16px 0;
  border-bottom:1px solid var(--admal-rv-border);
}

.admal-eligible-card>div{display:flex;flex-direction:column;min-width:0}
.admal-eligible-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admal-eligible-card span{color:var(--admal-rv-muted);font-size:12px}
.admal-review-state{font-size:12px;white-space:nowrap}

.admal-review-notice,
.admal-review-notice--success{
  margin:0 0 18px;
  padding:14px 16px;
  border:1px solid var(--admal-rv-border);
  border-radius:13px;
  background:var(--admal-rv-soft);
  color:#404650;
  line-height:1.6;
}

.admal-review-notice--error{border-color:#f0c8c4;background:#fff5f4;color:var(--admal-rv-danger)}
.admal-review-notice--success{border-color:#c9e6d7;background:#f3fbf7;color:#17623f}

.admal-reviews-empty{
  max-width:620px;
  margin:28px auto 0;
  padding:28px 24px;
  border:1px dashed var(--admal-rv-border-strong);
  border-radius:18px;
  background:var(--admal-rv-soft);
  text-align:center;
}

.admal-reviews-empty strong{display:block;font-size:17px;line-height:1.4}
.admal-reviews-empty p{margin:7px 0 16px;color:var(--admal-rv-muted);font-size:13px;line-height:1.7}

.admal-reviews-pagination{margin-top:30px;text-align:center}
.admal-reviews-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  min-height:38px;
  margin:2px;
  padding:5px 9px;
  border:1px solid var(--admal-rv-border);
  border-radius:10px;
  background:#fff;
  color:#434a55;
  text-decoration:none;
}
.admal-reviews-pagination .page-numbers:hover{border-color:var(--admal-rv-border-strong)}
.admal-reviews-pagination .current{border-color:var(--admal-rv-accent);background:var(--admal-rv-accent);color:#fff}

/* WooCommerce/My Account containment */
.woocommerce-MyAccount-content .admal-eligible-reviews{
  width:100%;
  margin:0;
  padding-top:0;
}

/* Product + Pricing review integration.
   Lightweight vertical list only. */
.single-product .admal-product-reviews{
  clear:both;
  position:relative;
  isolation:auto;
}

.single-product .admal-product-reviews .admal-reviews-summary__cards{
  display:block;
  grid-template-columns:none;
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  overflow:visible;
}

.single-product .admal-product-reviews .admal-review-card{
  display:flex;
  flex-direction:column;
  width:100%;
  min-width:0;
  max-width:none;
  min-height:0;
  margin:0;
  padding:18px 0;
  border:0;
  border-bottom:1px solid var(--admal-rv-border);
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
  transform:none;
}

.single-product .admal-product-reviews .admal-review-card:first-child{
  padding-top:8px;
}

.single-product .admal-product-reviews .admal-review-card:last-child{
  border-bottom:0;
}

@media (hover:hover) and (pointer:fine){
  .single-product .admal-product-reviews .admal-review-card:hover{
    border-color:var(--admal-rv-border);
    box-shadow:none;
    transform:none;
  }
}

@media (max-width:1024px){
  .admal-reviews-grid,.admal-reviews-summary__cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:768px){
  .admal-reviews-hub,.admal-reviews-summary,.admal-review-form-wrap,.admal-eligible-reviews,.admal-home-reviews,.admal-reviews-pricing-slot,.admal-product-reviews{width:min(calc(100% - 28px),1180px)}
  .admal-home-reviews,.admal-reviews-pricing-slot,.admal-product-reviews{padding-block:44px}
  .admal-review-form{grid-template-columns:1fr;padding:18px}
  .admal-review-form label.wide,.admal-review-form button.wide,.admal-existing-gallery.wide{grid-column:auto}
  .admal-eligible-card{grid-template-columns:1fr auto}
  .admal-eligible-card>a{grid-column:1/-1;width:100%}
}

@media (max-width:640px){
  .admal-reviews-grid,.admal-reviews-summary__cards{grid-template-columns:1fr;gap:14px}
  .admal-review-card{padding:18px;border-radius:18px}
  .admal-review-avatar{width:50px;height:50px;flex-basis:50px;border-radius:14px}
  .admal-review-card h3{font-size:17px}
  .admal-review-card__text{font-size:13.5px;line-height:1.8}
  .admal-reviews-summary__score{justify-content:center;text-align:center}
  .admal-reviews-summary__link{display:flex;width:100%}
  .admal-review-secondary-filters{align-items:stretch}
  .admal-filter-field,.admal-review-secondary-filters select,.admal-review-secondary-filters button{width:100%;min-width:0}
  .admal-filter-check{width:100%}
  .admal-eligible-card{grid-template-columns:1fr;align-items:start}
  .admal-review-state{white-space:normal}
}

@media (max-width:440px){
  .admal-reviews-hub,.admal-reviews-summary,.admal-review-form-wrap,.admal-eligible-reviews,.admal-home-reviews,.admal-reviews-pricing-slot,.admal-product-reviews{width:calc(100% - 20px)}
  .admal-home-reviews,.admal-reviews-pricing-slot,.admal-product-reviews{padding-block:36px}
  .admal-reviews-section-head,.admal-reviews-hub__header{margin-bottom:22px}
  .admal-reviews-section-head h2,.admal-reviews-hub__header h2{font-size:28px}
  .admal-review-card{padding:16px}
  .admal-review-card__images{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admal-review-form{padding:15px;gap:14px}
  .admal-reviews-empty{padding:22px 16px}
}

@media (max-width:390px){
  .admal-review-card__top{align-items:flex-start}
  .admal-review-avatar{width:46px;height:46px;flex-basis:46px}
  .admal-review-card__identity>strong,.admal-review-card__identity>span{white-space:normal}
  .admal-rating-overview,.admal-reviews-summary__score{flex-wrap:wrap;row-gap:4px}
  .admal-review-filters{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;margin-inline:-2px;padding:2px 2px 6px;scrollbar-width:none;overscroll-behavior-inline:contain}
  .admal-review-filters::-webkit-scrollbar{display:none}
  .admal-review-filters a{flex:0 0 auto}
  .admal-review-card__trust{align-items:flex-start}
}

@media (max-width:360px){
  .admal-reviews-hub,.admal-reviews-summary,.admal-review-form-wrap,.admal-eligible-reviews,.admal-home-reviews,.admal-reviews-pricing-slot,.admal-product-reviews{width:calc(100% - 16px)}
  .admal-review-card{padding:14px}
  .admal-review-form{padding:13px}
  .admal-review-card__images{gap:6px}
  .admal-reviews-section-head h2,.admal-reviews-hub__header h2{font-size:26px}
}

@media (prefers-reduced-motion:reduce){
  .admal-review-card,
  .admal-reviews-summary__link,
  .admal-eligible-card>a,
  .admal-review-form button,
  .admal-review-secondary-filters button{
    transition:none!important;
  }
}

/* Moderation state details shown only in the signed-in customer area. */
.admal-review-state-reason{display:block;max-width:42rem;margin-top:.35rem;color:#a12a2a;line-height:1.45}
.admal-reviews-locale-ar .admal-review-state-reason{text-align:right}

/* =========================================================
   ADMAL Reviews — production UX hardening
   ========================================================= */

/* Never inherit blue/underlined theme link styling on CTA buttons. */
.admal-eligible-card > a,
.admal-eligible-card > a:visited,
.admal-review-success-card > a,
.admal-review-success-card > a:visited,
.admal-review-auth-card > a,
.admal-review-auth-card > a:visited,
.admal-review-form button,
.admal-review-form button:visited {
  color:#fff !important;
  text-decoration:none !important;
  -webkit-text-decoration:none !important;
}

.admal-eligible-card > a:hover,
.admal-review-success-card > a:hover,
.admal-review-auth-card > a:hover {
  color:#fff !important;
  text-decoration:none !important;
}

/* Signed-out state becomes an intentional account step, not a bare text link. */
.admal-review-auth-card,
.admal-review-success-card {
  width:min(680px,calc(100% - 32px));
  box-sizing:border-box;
  margin:44px auto;
  padding:38px 34px;
  border:1px solid #dde5dd;
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 55px rgba(7,59,24,.08);
  text-align:center;
  color:#171917;
  font-family:"Poppins",Arial,sans-serif;
}

.admal-review-auth-icon,
.admal-review-success-icon {
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  margin:0 auto 17px;
  border-radius:50%;
  background:#eef8f0;
  color:#0a5a24;
  font-size:23px;
  font-weight:800;
}

.admal-review-auth-card h2,
.admal-review-success-card h2 {
  margin:0 0 10px;
  font-size:clamp(24px,3vw,32px);
  line-height:1.28;
  color:#141714;
}

.admal-review-auth-card p,
.admal-review-success-card p {
  max-width:560px;
  margin:0 auto 22px;
  color:#667066;
  font-size:14px;
  line-height:1.8;
}

.admal-review-auth-card > a,
.admal-review-success-card > a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:11px 23px;
  border-radius:12px;
  background:#0b0d0b;
  font-size:14px;
  font-weight:700;
}

html[dir="rtl"] .admal-review-auth-card,
html[dir="rtl"] .admal-review-success-card,
.admal-reviews-locale-ar .admal-review-auth-card,
.admal-reviews-locale-ar .admal-review-success-card {
  font-family:"Cairo",Arial,sans-serif;
}

/* More deliberate My Reviews / eligible-purchases layout. */
.admal-eligible-reviews {
  margin-top:22px;
  margin-bottom:42px;
}

.admal-eligible-reviews > h2 {
  margin:0 0 20px;
  font-size:clamp(25px,2.5vw,34px);
  line-height:1.3;
}

.admal-eligible-card {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:14px 18px;
  margin:0;
  padding:20px 22px;
  border:1px solid #e1e6e1;
  border-radius:17px;
  background:#fff;
}

.admal-eligible-card + .admal-eligible-card {
  margin-top:10px;
}

.admal-eligible-card > div > strong {
  color:#171917;
  font-size:14px;
  line-height:1.5;
}

.admal-eligible-card > div > span {
  margin-top:3px;
  color:#7a837a;
  font-size:11px;
}

.admal-review-state {
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 10px;
  border-radius:999px;
  background:#f1f4f1;
  color:#5f675f !important;
  font-size:11px !important;
  font-weight:600;
  white-space:nowrap;
}

.admal-eligible-card > a {
  min-width:118px;
  min-height:42px;
  border-radius:11px;
  background:#0e100e !important;
}

/* Review form visual hierarchy. */
.admal-review-form-wrap {
  padding-top:22px;
  padding-bottom:46px;
}

.admal-review-form-target {
  padding:18px 20px;
  border-color:#dfe6df;
  background:#f7faf7;
}

.admal-review-form {
  padding:26px;
  border-color:#dfe5df;
  box-shadow:0 18px 50px rgba(15,32,18,.06);
}

.admal-review-form label > span:first-child {
  color:#3d453d;
  font-size:12px;
  font-weight:650;
}

.admal-review-form input,
.admal-review-form textarea,
.admal-review-form select {
  border-color:#d8ded8;
  background:#fff;
}

.admal-review-form input:focus,
.admal-review-form textarea:focus,
.admal-review-form select:focus {
  border-color:#58705d;
  box-shadow:0 0 0 3px rgba(21,93,42,.10);
}

.admal-review-form button[type="submit"] {
  min-height:52px;
  border-radius:12px;
  background:#101210;
  font-weight:700;
  font-size:14px;
}

.admal-review-form button[disabled] {
  opacity:.66;
  cursor:wait;
}

/* Replace native file picker presentation with a branded control. */
.admal-file-control {
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  min-height:48px;
  overflow:hidden;
  border:1px solid #d8ded8;
  border-radius:12px;
  background:#fafbfa;
}

.admal-file-control input[type="file"] {
  position:absolute !important;
  inset:0 !important;
  z-index:2;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  padding:0 !important;
  opacity:0;
  cursor:pointer;
}

.admal-file-control__button {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 15px;
  border-inline-end:1px solid #d8ded8;
  background:#fff;
  color:#222722;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

.admal-file-control__name {
  min-width:0;
  padding:0 13px;
  overflow:hidden;
  color:#747c74;
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.admal-reviews-locale-ar .admal-file-control {
  direction:rtl;
}

.admal-reviews-locale-ar .admal-file-control__button {
  font-family:"Cairo",Arial,sans-serif;
}

/* Form stars should be a deliberate control rather than theme-styled links. */
.admal-star-picker label {
  cursor:pointer;
}

.admal-star-picker label,
.admal-star-picker span,
.admal-star-picker button {
  text-decoration:none !important;
}

/* Avoid giant dead space when these pages have little content. */
body.page-id-9220 .site-main,
body.page-id-9221 .site-main,
body.page-id-9222 .site-main,
body.page-id-9223 .site-main {
  min-height:auto !important;
}

/* Arabic review screens are explicitly RTL even though WordPress itself
   currently reports is_rtl() = false. */
.admal-reviews-locale-ar,
.admal-reviews-locale-ar .admal-review-form,
.admal-reviews-locale-ar .admal-eligible-card,
.admal-reviews-locale-ar .admal-review-auth-card,
.admal-reviews-locale-ar .admal-review-success-card {
  direction:rtl !important;
  text-align:right;
  font-family:"Cairo",Arial,sans-serif;
}

.admal-reviews-locale-en,
.admal-reviews-locale-en .admal-review-form,
.admal-reviews-locale-en .admal-eligible-card {
  direction:ltr;
  text-align:left;
  font-family:"Poppins",Arial,sans-serif;
}

@media (max-width:768px) {
  .admal-review-auth-card,
  .admal-review-success-card {
    margin:26px auto;
    padding:28px 22px;
  }

  .admal-eligible-card {
    grid-template-columns:1fr;
    gap:10px;
    padding:18px;
  }

  .admal-eligible-card > a {
    width:100%;
  }

  .admal-review-form {
    padding:18px;
  }
}

@media (max-width:440px) {
  .admal-review-auth-card,
  .admal-review-success-card {
    width:calc(100% - 20px);
    padding:24px 17px;
    border-radius:18px;
  }

  .admal-file-control {
    grid-template-columns:1fr;
  }

  .admal-file-control__button {
    min-height:42px;
    border-inline-end:0;
    border-bottom:1px solid #d8ded8;
  }

  .admal-file-control__name {
    min-height:40px;
    display:flex;
    align-items:center;
  }
}

/* ADMAL_HALF_STAR_CORE_V1 */

.admal-review-card__stars {
    display:inline-flex;
    align-items:center;
    flex-direction:row;
    direction:ltr;
    unicode-bidi:isolate;
    white-space:nowrap;
}

.admal-review-card__stars .admal-rating-star {
    display:inline-block;
    flex:0 0 auto;
    line-height:1;
}

.admal-review-card__stars .admal-rating-star.is-filled {
    color:var(--admal-rv-star);
}

.admal-review-card__stars .admal-rating-star.is-empty {
    color:#d9dde5;
}

.admal-review-card__stars .admal-rating-star.is-half {
    color:transparent;
    background:
        linear-gradient(
            90deg,
            var(--admal-rv-star) 0 50%,
            #d9dde5 50% 100%
        );
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}

.admal-reviews-hub-v3


.admal-reviews-hub-v3
.admal-review-card__stars
.admal-rating-star.is-filled {
    color:var(--hub-gold) !important;
}

.admal-reviews-hub-v3
.admal-review-card__stars
.admal-rating-star.is-empty {
    color:#d6dfda !important;
}

.admal-reviews-hub-v3
.admal-review-card__stars
.admal-rating-star.is-half {
    color:transparent !important;
    background:
        linear-gradient(
            90deg,
            var(--hub-gold) 0 50%,
            #d6dfda 50% 100%
        ) !important;
    -webkit-background-clip:text !important;
    background-clip:text !important;
    -webkit-text-fill-color:transparent !important;
}

/* =========================================================
   ADMAL REVIEW PROFILE HEADER — FINAL FIXED SYSTEM
   Structure is fixed. Text itself may be Arabic or English.
   ========================================================= */

.admal-review-card__top--profile{
    direction:ltr !important;
    text-align:left;
}

.admal-review-card__top--profile .admal-review-card__identity{
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    min-width:0;
    align-items:stretch;
}

.admal-review-card__top--profile .admal-review-card__identity > strong,
.admal-review-card__top--profile .admal-review-card__identity > span{
    width:100%;
    text-align:left;
}

.admal-review-card__top--profile .admal-review-card__trust{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:5px 9px;
    width:100%;
    margin-top:4px;
    direction:ltr !important;
    text-align:left !important;
}

.admal-review-card__top--profile .admal-review-card__trust em{
    direction:auto;
    unicode-bidi:isolate;
}

.admal-review-card__top--profile .admal-review-card__stars{
    display:inline-flex;
    align-items:center;
    flex-direction:row !important;
    align-self:flex-start !important;
    width:max-content;
    margin:7px 0 0 !important;
    direction:ltr !important;
    text-align:left !important;
    unicode-bidi:isolate;
    white-space:nowrap;
}

.admal-review-card__top--profile .admal-review-avatar{
    flex:0 0 56px !important;
    width:56px !important;
    height:56px !important;
    border-radius:15px;
    object-fit:cover;
}

@media (max-width:640px){
    .admal-review-card__top--profile .admal-review-avatar{
        flex-basis:52px !important;
        width:52px !important;
        height:52px !important;
    }
}

@media (max-width:390px){
    .admal-review-card__top--profile .admal-review-avatar{
        flex-basis:50px !important;
        width:50px !important;
        height:50px !important;
    }
}

/* Hub must use the same profile sizing instead of its old 48/46px override. */
.admal-reviews-hub-v3 .admal-review-card__top--profile .admal-review-avatar{
    flex:0 0 56px !important;
    width:56px !important;
    height:56px !important;
}

@media (max-width:699px){
    .admal-reviews-hub-v3 .admal-review-card__top--profile .admal-review-avatar{
        flex-basis:52px !important;
        width:52px !important;
        height:52px !important;
    }
}

/* ADMAL REVIEW PROFILE HEADER — FINAL FIXED SYSTEM END */

/* =========================================================
   ADMAL REVIEW PROFILE — VISUAL POLISH
   Spacing + stars + review-title scale only.
   ========================================================= */

.admal-review-card__top--profile .admal-review-card__identity{
    line-height:1.3;
}

.admal-review-card__top--profile .admal-review-card__identity > strong{
    margin:0 0 1px !important;
    line-height:1.25 !important;
}

.admal-review-card__top--profile .admal-review-card__identity > span{
    margin:0 0 3px !important;
    line-height:1.3 !important;
}

.admal-review-card__top--profile .admal-review-card__trust{
    margin-top:0 !important;
    gap:4px 8px !important;
    line-height:1.25 !important;
}

.admal-review-card__top--profile .admal-review-card__stars{
    margin:5px 0 0 !important;
    font-size:19px !important;
    line-height:1 !important;
    letter-spacing:.6px !important;
}

/* Review title: only slightly stronger/larger than body text. */
.admal-review-card h3{
    font-size:16px !important;
    line-height:1.45 !important;
    font-weight:700 !important;
}

@media (max-width:640px){
    .admal-review-card h3{
        font-size:15.5px !important;
        line-height:1.45 !important;
    }

    .admal-review-card__top--profile .admal-review-card__stars{
        font-size:18.5px !important;
    }
}

/* Reviews Hub had a larger dedicated title rule; normalize it too. */
.admal-reviews-hub-v3 .admal-review-card h3{
    font-size:16px !important;
    line-height:1.45 !important;
}

@media (max-width:699px){
    .admal-reviews-hub-v3 .admal-review-card h3{
        font-size:15.5px !important;
    }
}

/* ADMAL REVIEW PROFILE — VISUAL POLISH END */

/* =========================================================
   ADMAL REVIEW CONTENT — SINGLE DIRECTION SOURCE
   Internal review content only.
   ========================================================= */

/* Title */
.admal-review-card h3[dir="auto"]:dir(ltr){
    direction:ltr !important;
    text-align:left !important;
}

.admal-review-card h3[dir="auto"]:dir(rtl){
    direction:rtl !important;
    text-align:right !important;
}

/* Product / plan target */
.admal-review-card__target[dir="auto"]:dir(ltr){
    direction:ltr !important;
    text-align:left !important;
}

.admal-review-card__target[dir="auto"]:dir(rtl){
    direction:rtl !important;
    text-align:right !important;
}

/* Review body */
.admal-review-card__text[dir="auto"]:dir(ltr){
    direction:ltr !important;
    text-align:left !important;
}

.admal-review-card__text[dir="auto"]:dir(rtl){
    direction:rtl !important;
    text-align:right !important;
}

/* Keep paragraphs aligned with their resolved content direction. */
.admal-review-card__text[dir="auto"]:dir(ltr) p{
    text-align:left !important;
}

.admal-review-card__text[dir="auto"]:dir(rtl) p{
    text-align:right !important;
}

/* Typography balance: Arabic visually runs larger/heavier than Latin. */
.admal-review-card h3:dir(ltr){
    font-size:15.5px !important;
    line-height:1.45 !important;
}

.admal-review-card h3:dir(rtl){
    font-size:15px !important;
    line-height:1.5 !important;
}

.admal-review-card__text:dir(ltr){
    font-size:14px !important;
    line-height:1.75 !important;
}

.admal-review-card__text:dir(rtl){
    font-size:13.5px !important;
    line-height:1.8 !important;
}

/* Hub must not re-impose card direction on internal content. */
.admal-reviews-hub-v3 .admal-review-card h3[dir="auto"],
.admal-reviews-hub-v3 .admal-review-card__target[dir="auto"],
.admal-reviews-hub-v3 .admal-review-card__text[dir="auto"]{
    unicode-bidi:plaintext;
}

/* ADMAL REVIEW CONTENT — SINGLE DIRECTION SOURCE END */


/* =========================================================
   ADMAL REVIEW PAGES HEADER WIDTH SYNC V1
   Match Elementor header visual width:
   Desktop 80% / Tablet 95% / Mobile 96%
   ========================================================= */

@media (max-width:1024px) and (min-width:768px){
    .admal-reviews-hub-v3,
    .admal-myreviews{
        width:95% !important;
    }
}

@media (max-width:767px){
    .admal-reviews-hub-v3,
    .admal-myreviews{
        width:96% !important;
    }
}

/* ADMAL REVIEW PAGES HEADER WIDTH SYNC V1 END */
