/**
 * En Baba Organizasyon review UI styles.
 * Yorum komponenti CSS'i PHP içinden ayrıldı: tarayıcı cache'i, bakım ve mobil düzen kontrolü için.
 */
.enb-rvw-no-scrollbar::-webkit-scrollbar{display:none}
  .enb-rvw-no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}

  .enb-rvw-chip{
    appearance:none;
    border:1px solid rgba(226,232,240,.95);
    background:#fff;
    color:#334155;
    padding:.625rem .875rem;
    border-radius:999px;
    font-size:.75rem;
    font-weight:800;
    line-height:1;
    transition:all .18s ease;
    white-space:nowrap;
  }

  .enb-rvw-chip:hover{
    transform:translateY(-1px);
    border-color:rgba(148,163,184,.7);
  }

  .enb-rvw-chip.is-active{
    background:linear-gradient(90deg,#fbbf24,#fb923c,#fb7185);
    color:#111827;
    border-color:rgba(251,146,60,.55);
    box-shadow:0 12px 26px rgba(251,146,60,.22);
  }

  .enb-rvw-line{
    height:8px;
    border-radius:999px;
    background:rgba(226,232,240,.9);
    overflow:hidden;
  }

  .enb-rvw-line>span{
    display:block;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#fbbf24,#fb923c,#fb7185);
  }

  .enb-rvw-cta{
    background:linear-gradient(90deg,#fbbf24,#fb923c,#fb7185);
    color:#111827;
    border:1px solid rgba(251,146,60,.42);
    box-shadow:0 12px 24px rgba(251,146,60,.20);
  }

  .enb-rvw-cta:hover{
    transform:translateY(-1px);
    box-shadow:0 16px 30px rgba(251,146,60,.28);
    filter:saturate(1.05);
  }

  .enb-rvw-soft-btn{
    background:#fff;
    color:#334155;
    border:1px solid rgba(251,146,60,.35);
    box-shadow:0 10px 20px rgba(15,23,42,.05);
  }

  .enb-rvw-soft-btn:hover{
    background:#fff7ed;
    color:#111827;
    transform:translateY(-1px);
  }

  .enb-rvw-page-card{
    min-width:0;
    width:100%;
    border:1px solid rgba(226,232,240,.92);
    background:#fff;
    border-radius:24px;
    box-shadow:0 12px 28px rgba(15,23,42,.06);
  }

  .enb-rvw-page-card.enb-rvw-is-hidden{
    display:none!important;
  }

  .enb-rvw-comment{
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:5;
    -webkit-box-orient:vertical;
  }

  .enb-rvw-modal-card{
    border:1px solid rgba(226,232,240,.92);
    background:#fff;
    border-radius:24px;
    box-shadow:0 16px 34px rgba(15,23,42,.08);
  }

  .enb-rvw-review-card{
    border:1px solid rgba(226,232,240,.92);
    background:#fff;
    border-radius:22px;
    box-shadow:0 12px 28px rgba(15,23,42,.06);
  }

  .enb-rvw-modal-root.hidden{
    display:none!important;
  }

  .enb-rvw-modal-root.is-open{
    display:flex!important;
    align-items:flex-start;
    justify-content:center;
  }

  @media (min-width:1024px){
    .enb-rvw-modal-root.is-open{
      align-items:center;
    }
  }

  html.enb-review-summary-open,
  body.enb-review-summary-open{
    overflow:hidden!important;
  }

  .enb-rvw-modal-root,
  .enb-rvw-modal-side,
  .enb-rvw-modal-list{
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }

  @media (max-width:1023px){
    .enb-rvw-modal-root{
      padding-bottom:calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .enb-rvw-modal-dialog{
      margin:0 auto;
      max-height:none;
      overflow:visible;
      border-radius:24px;
    }

    .enb-rvw-modal-grid{
      display:block;
      max-height:none;
      height:auto;
    }

    .enb-rvw-modal-side{
      margin:12px 12px 0;
      overflow:visible;
    }

    .enb-rvw-modal-main,
    .enb-rvw-modal-list{
      overflow:visible;
      min-height:auto;
      max-height:none;
    }
  }

  @media (min-width:1024px){
    .enb-rvw-modal-dialog{
      max-height:min(92vh, calc(100dvh - 32px));
      overflow:hidden;
    }

    .enb-rvw-modal-grid{
      min-height:0;
      max-height:min(92vh, calc(100dvh - 32px));
    }

    .enb-rvw-modal-side{
      overflow-y:auto;
    }

    .enb-rvw-modal-main{
      min-height:0;
      overflow:hidden;
    }

    .enb-rvw-modal-list{
      flex:1 1 auto;
      min-height:0;
      overflow-y:auto;
    }
  }


  .enb-rvw-shell{
    overflow:hidden;
  }

  .enb-rvw-summary-wrap{
    display:grid;
    grid-template-columns:minmax(132px,168px) minmax(0,1fr);
    gap:18px;
    align-items:start;
  }

  .enb-rvw-scorebox{
    border:1px solid rgba(226,232,240,.95);
    background:linear-gradient(180deg,#fff,#fff7ed);
    border-radius:24px;
    padding:18px 16px;
    box-shadow:0 14px 30px rgba(15,23,42,.06);
    text-align:center;
  }

  .enb-rvw-score-main{
    font-size:2.5rem;
    line-height:.92;
    font-weight:950;
    letter-spacing:-.055em;
    color:#0f172a;
  }

  .enb-rvw-stars{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:2px;
    color:#f59e0b;
    line-height:1;
  }

  .enb-rvw-total-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    margin-top:10px;
    border:1px solid rgba(251,191,36,.36);
    background:#fff7ed;
    color:#92400e;
    border-radius:999px;
    padding:6px 10px;
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
  }

  .enb-rvw-heading{
    font-size:clamp(1.35rem, 2.4vw, 1.85rem);
    line-height:1.08;
    font-weight:950;
    letter-spacing:-.04em;
    color:#0f172a;
  }

  .enb-rvw-lead{
    margin-top:6px;
    max-width:720px;
    color:#64748b;
    font-size:.95rem;
    line-height:1.65;
  }

  .enb-rvw-trust-strip{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
  }

  .enb-rvw-trust-chip{
    display:inline-flex;
    align-items:center;
    gap:7px;
    border:1px solid rgba(226,232,240,.95);
    background:#fff;
    color:#334155;
    border-radius:999px;
    padding:8px 11px;
    font-size:12px;
    font-weight:850;
    line-height:1;
    box-shadow:0 8px 18px rgba(15,23,42,.04);
  }

  .enb-rvw-dist-details{
    margin-top:14px;
    max-width:560px;
  }

  .enb-rvw-dist-details>summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:44px;
    padding:0 14px;
    border:1px solid rgba(226,232,240,.95);
    border-radius:999px;
    background:#fff;
    color:#334155;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
    list-style:none;
    box-shadow:0 10px 22px rgba(15,23,42,.05);
  }

  .enb-rvw-dist-details>summary::-webkit-details-marker{display:none}

  .enb-rvw-dist-caret{
    flex:0 0 auto;
    width:26px;
    height:26px;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:#fff7ed;
    color:#c2410c;
    transition:transform .18s ease;
  }

  .enb-rvw-dist-details[open] .enb-rvw-dist-caret{transform:rotate(180deg)}

  .enb-rvw-dist-body{
    margin-top:10px;
    border:1px solid rgba(226,232,240,.9);
    background:rgba(248,250,252,.9);
    border-radius:22px;
    padding:12px;
  }

  .enb-rvw-rating-row{
    display:grid;
    grid-template-columns:34px minmax(0,1fr) 34px;
    align-items:center;
    gap:10px;
    min-height:26px;
    font-size:12px;
    color:#64748b;
  }

  .enb-rvw-rating-label{
    font-weight:900;
    color:#334155;
    white-space:nowrap;
  }

  .enb-rvw-rating-count{
    text-align:right;
    font-weight:900;
    color:#475569;
  }

  .enb-rvw-grid{
    min-width:0;
  }

  .enb-rvw-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
  }

  .enb-rvw-person{
    display:flex;
    align-items:center;
    min-width:0;
    gap:11px;
  }

  .enb-rvw-avatar{
    flex:0 0 42px;
    width:42px;
    height:42px;
    border-radius:16px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#fff7ed,#ffedd5,#fef3c7);
    color:#9a3412;
    border:1px solid rgba(251,191,36,.32);
    font-weight:950;
    box-shadow:0 10px 20px rgba(251,146,60,.12);
  }

  .enb-rvw-review-card{
    position:relative;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  .enb-rvw-review-card:hover{
    transform:translateY(-2px);
    border-color:rgba(251,146,60,.34);
    box-shadow:0 18px 34px rgba(15,23,42,.08);
  }

  .enb-rvw-review-card .enb-rvw-stars{
    justify-content:flex-start;
  }


  .enb-rvw-verified{
    display:inline-flex;
    align-items:center;
    gap:6px;
    flex:0 0 auto;
    border:1px solid rgba(16,185,129,.18);
    background:#ecfdf5;
    color:#047857;
    border-radius:999px;
    padding:7px 10px;
    font-size:11px;
    font-weight:900;
    white-space:nowrap;
  }

  .enb-rvw-badges{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:12px;
  }

  .enb-rvw-badge{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:6px 10px;
    font-size:11px;
    font-weight:850;
    line-height:1;
  }

  .enb-rvw-badge-service{background:#f1f5f9;color:#475569}
  .enb-rvw-badge-district{background:#eef2ff;color:#4338ca}

  .enb-rvw-mobile-hint{
    display:none;
    margin:12px 2px 0;
    color:#64748b;
    font-size:12px;
    font-weight:800;
    text-align:center;
  }

  @media (max-width:767px){
    .enb-review-display-shell.enb-rvw-shell{
      border-radius:22px!important;
      padding:16px 13px!important;
      box-shadow:0 12px 28px rgba(15,23,42,.055)!important;
    }

    .enb-rvw-summary-wrap{
      display:block;
    }

    .enb-rvw-scorebox{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      text-align:left;
      border-radius:20px;
      padding:12px 13px;
    }

    .enb-rvw-score-main{
      font-size:2.15rem;
    }

    .enb-rvw-scorebox .enb-rvw-stars{
      justify-content:flex-start;
      font-size:14px;
      margin-top:4px!important;
    }

    .enb-rvw-total-pill{
      margin-top:0;
      padding:8px 10px;
    }

    .enb-rvw-content-head{
      margin-top:14px;
    }

    .enb-rvw-heading{
      font-size:1.28rem;
      text-align:left;
    }

    .enb-rvw-lead{
      font-size:13px;
      line-height:1.48;
      text-align:left;
    }

    .enb-rvw-trust-strip{
      flex-wrap:nowrap;
      overflow-x:auto;
      -webkit-overflow-scrolling:touch;
      scroll-snap-type:x proximity;
      padding-bottom:2px;
    }

    .enb-rvw-trust-chip{
      flex:0 0 auto;
      scroll-snap-align:start;
    }

    .enb-rvw-dist-details{
      max-width:none;
    }

    .enb-rvw-dist-body{
      border-radius:18px;
      padding:10px;
    }

    .enb-rvw-rating-row{
      grid-template-columns:30px minmax(0,1fr) 28px;
      gap:8px;
      min-height:24px;
    }

    .enb-rvw-grid{
      display:flex!important;
      grid-template-columns:none!important;
      gap:13px!important;
      overflow-x:auto;
      -webkit-overflow-scrolling:touch;
      scroll-snap-type:x mandatory;
      scroll-padding-left:2px;
      padding:2px 2px 10px!important;
    }

    .enb-rvw-grid.enb-rvw-no-scrollbar::-webkit-scrollbar{display:none}

    .enb-rvw-grid .enb-rvw-page-card,
    .enb-rvw-grid .enb-rvw-page-card.enb-rvw-is-hidden{
      display:block!important;
      flex:0 0 min(88vw, 360px);
      scroll-snap-align:start;
      padding:16px!important;
      border-radius:22px!important;
    }

    .enb-rvw-card-head{
      gap:9px;
    }

    .enb-rvw-avatar{
      width:38px;
      height:38px;
      flex-basis:38px;
      border-radius:14px;
    }

    .enb-rvw-verified{
      padding:6px 8px;
      font-size:10.5px;
    }

    .enb-rvw-comment{
      -webkit-line-clamp:6;
    }

    .enb-rvw-mobile-hint{
      display:block;
    }

    [data-enb-review-prev],
    [data-enb-review-next]{
      display:none!important;
    }
  }

/* === Review display refresh: daha profesyonel, daha kompakt, Airbnb esintili === */
.enb-rvw-shell{
  border-radius:30px;
}

.enb-rvw-summary-wrap{
  grid-template-columns:minmax(156px,188px) minmax(0,1fr);
  gap:20px;
}

.enb-rvw-scorebox{
  align-self:start;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.enb-rvw-score-kicker{
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:#64748b;
}

.enb-rvw-score-main-wrap{
  margin-top:8px;
}

.enb-rvw-score-caption{
  margin-top:8px;
  font-size:13px;
  font-weight:850;
  line-height:1.35;
  color:#0f172a;
}

.enb-rvw-total-pill{
  margin-top:12px;
  border-color:rgba(15,23,42,.08);
  background:#f8fafc;
  color:#0f172a;
}

.enb-rvw-lead{
  max-width:760px;
}

.enb-rvw-trust-chip{
  border-radius:14px;
  padding:9px 12px;
  font-weight:800;
  box-shadow:none;
}

.enb-rvw-chip-icon{
  position:relative;
  display:inline-grid;
  place-items:center;
  width:18px;
  height:18px;
  flex:0 0 18px;
  border-radius:999px;
  font-size:11px;
  line-height:1;
}

.enb-rvw-chip-icon::before{
  display:block;
  font-weight:900;
}

.enb-rvw-chip-icon-verified{
  background:#ecfdf5;
  color:#047857;
}
.enb-rvw-chip-icon-verified::before{content:'✓'}

.enb-rvw-chip-icon-rating{
  background:#fff7ed;
  color:#b45309;
}
.enb-rvw-chip-icon-rating::before{content:'★'}

.enb-rvw-chip-icon-real{
  background:#eff6ff;
  color:#1d4ed8;
}
.enb-rvw-chip-icon-real::before{content:'✦'}

.enb-rvw-dist-details{
  margin-top:16px;
  max-width:640px;
}

.enb-rvw-dist-details>summary{
  min-height:54px;
  padding:0 16px 0 18px;
  border-radius:18px;
  box-shadow:none;
}

.enb-rvw-dist-summary-copy{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.enb-rvw-dist-summary-title{
  font-size:14px;
  font-weight:900;
  color:#0f172a;
  line-height:1.2;
}

.enb-rvw-dist-summary-note{
  font-size:12px;
  font-weight:600;
  color:#64748b;
  line-height:1.2;
}

.enb-rvw-dist-caret{
  position:relative;
  width:16px;
  height:16px;
  border-radius:0;
  background:transparent;
  color:transparent;
}

.enb-rvw-dist-caret::before{
  content:'';
  position:absolute;
  top:3px;
  left:3px;
  width:8px;
  height:8px;
  border-right:2px solid #475569;
  border-bottom:2px solid #475569;
  transform:rotate(45deg);
  transition:transform .18s ease, top .18s ease;
}

.enb-rvw-dist-details[open] .enb-rvw-dist-caret::before{
  top:6px;
  transform:rotate(-135deg);
}

.enb-rvw-dist-body{
  margin-top:12px;
  border:none;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(15,23,42,.08);
  border-radius:18px;
  padding:14px 14px 12px;
}

.enb-rvw-rating-row{
  grid-template-columns:34px minmax(0,1fr) 44px;
  min-height:30px;
}

.enb-rvw-rating-label,
.enb-rvw-rating-count{
  font-size:12px;
}

.enb-rvw-rating-label{
  font-weight:800;
}

.enb-rvw-rating-count{
  font-weight:800;
}

.enb-rvw-dist-body .enb-rvw-line{
  height:6px;
  background:#e5e7eb;
}

.enb-rvw-dist-body .enb-rvw-line>span{
  background:#111827;
}

.enb-rvw-grid{
  gap:16px;
}

.enb-rvw-grid .enb-rvw-page-card{
  height:100%;
}

.enb-rvw-avatar{
  border-radius:999px;
  background:linear-gradient(180deg,#ffffff,#f8fafc);
  border:1px solid rgba(15,23,42,.08);
  color:#0f172a;
  box-shadow:none;
}

.enb-rvw-review-card{
  border-radius:20px;
  border-color:rgba(15,23,42,.08);
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.enb-rvw-review-card:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.12);
  box-shadow:0 14px 28px rgba(15,23,42,.08);
}

.enb-rvw-verified{
  gap:7px;
  border:none;
  background:#f8fafc;
  color:#0f172a;
  border-radius:999px;
  padding:7px 10px;
  font-size:10.5px;
  font-weight:850;
}

.enb-rvw-verified-icon{
  position:relative;
  display:inline-grid;
  place-items:center;
  width:16px;
  height:16px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  flex:0 0 16px;
}

.enb-rvw-verified-icon::before{
  content:'✓';
  font-size:10px;
  font-weight:900;
  line-height:1;
}

.enb-rvw-badges{
  gap:8px;
}

.enb-rvw-badge{
  border:1px solid rgba(15,23,42,.07);
  background:#fff;
  color:#334155;
  padding:7px 10px;
  font-size:11px;
}

.enb-rvw-badge-service{
  background:#f8fafc;
  color:#334155;
}

.enb-rvw-badge-district{
  background:#fff7ed;
  color:#9a3412;
}

.enb-rvw-comment{
  color:#334155;
}

.enb-rvw-mobile-hint{
  margin-top:10px;
  color:#94a3b8;
  font-size:11.5px;
  font-weight:700;
}

@media (max-width:767px){
  .enb-rvw-summary-wrap{
    grid-template-columns:1fr;
    gap:14px;
  }

  .enb-rvw-scorebox{
    display:block;
    padding:14px;
    border-radius:18px;
  }

  .enb-rvw-score-main-wrap{
    display:flex;
    align-items:flex-end;
    gap:12px;
  }

  .enb-rvw-score-main{
    font-size:2rem;
  }

  .enb-rvw-scorebox .enb-rvw-stars{
    margin-top:0!important;
    padding-bottom:4px;
  }

  .enb-rvw-score-caption{
    margin-top:6px;
    font-size:12.5px;
  }

  .enb-rvw-total-pill{
    display:inline-flex;
    margin-top:10px;
  }

  .enb-rvw-trust-chip{
    border-radius:12px;
  }

  .enb-rvw-dist-details>summary{
    min-height:50px;
    border-radius:16px;
  }

  .enb-rvw-dist-summary-note{
    display:none;
  }

  .enb-rvw-dist-body{
    padding:12px;
    border-radius:16px;
  }

  .enb-rvw-grid{
    gap:12px!important;
    padding:2px 2px 8px!important;
  }

  .enb-rvw-grid .enb-rvw-page-card,
  .enb-rvw-grid .enb-rvw-page-card.enb-rvw-is-hidden{
    flex:0 0 min(82vw, 320px);
    padding:15px!important;
    border-radius:18px!important;
  }

  .enb-rvw-verified{
    padding:6px 9px;
    font-size:10px;
  }

  .enb-rvw-mobile-hint{
    display:block;
  }
}

/* === Review owner reply visibility fix === */
.enb-rvw-card-flags{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:7px;
  flex:0 0 auto;
}

.enb-rvw-replied{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid rgba(251,191,36,.32);
  background:#fffbeb;
  color:#92400e;
  border-radius:999px;
  padding:6px 9px;
  font-size:10.5px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}

.enb-rvw-replied::before{
  content:'↩';
  display:inline-grid;
  place-items:center;
  width:14px;
  height:14px;
  border-radius:999px;
  background:#f59e0b;
  color:#fff;
  font-size:10px;
  font-weight:900;
  line-height:1;
}

.enb-rvw-has-owner-reply{
  border-color:rgba(251,191,36,.28);
}

.enb-rvw-owner-reply{
  position:relative;
  margin-top:15px;
  padding:13px 13px 12px;
  border-radius:18px;
  border:1px solid rgba(251,191,36,.24);
  background:linear-gradient(180deg,#fffdf7,#fffaf0);
  color:#334155;
}

.enb-rvw-owner-reply::before{
  content:'';
  position:absolute;
  left:18px;
  top:-7px;
  width:12px;
  height:12px;
  transform:rotate(45deg);
  border-left:1px solid rgba(251,191,36,.24);
  border-top:1px solid rgba(251,191,36,.24);
  background:#fffdf7;
}

.enb-rvw-owner-reply-head{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}

.enb-rvw-owner-reply-logo{
  display:inline-grid;
  place-items:center;
  width:30px;
  height:30px;
  flex:0 0 30px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  font-size:10px;
  font-weight:950;
  letter-spacing:-.02em;
}

.enb-rvw-owner-reply-head strong{
  display:block;
  color:#0f172a;
  font-size:12px;
  font-weight:950;
  line-height:1.15;
}

.enb-rvw-owner-reply-head small{
  display:block;
  margin-top:2px;
  color:#92400e;
  font-size:10.5px;
  font-weight:800;
  line-height:1.15;
}

.enb-rvw-owner-reply-text{
  margin-top:10px;
  color:#475569;
  font-size:12.5px;
  font-weight:600;
  line-height:1.58;
}

@media (max-width:767px){
  .enb-rvw-card-flags{
    gap:6px;
  }

  .enb-rvw-replied{
    padding:6px 8px;
    font-size:10px;
  }

  .enb-rvw-owner-reply{
    margin-top:13px;
    padding:12px;
    border-radius:16px;
  }

  .enb-rvw-owner-reply-text{
    font-size:12px;
    line-height:1.55;
  }
}
