/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: "Vazirmatn", sans-serif;
  background: #fff;
  color: #0f172a;
  overflow-x: hidden;
}
i {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================================================
   VARIABLES
========================================================= */
:root {
  --ep-accent: #00a3ff;
  --ep-blue: #318fe3;

  --ep-text-dark: #0f172a;
  --ep-border-dark: rgba(15, 23, 42, 0.12);

  --ep-radius: 14px;
  --ep-radius-sm: 12px;

  --ep-shadow-md: 0 10px 22px rgba(0, 0, 0, 0.12);

  /* Offcanvas (WHITE THEME) */
  --ep-oc-bg: #ffffff;
  --ep-oc-bg-2: #f6f8fc;
  --ep-oc-text: rgba(15, 23, 42, 0.92);
  --ep-oc-text-soft: rgba(15, 23, 42, 0.62);
  --ep-oc-border: rgba(15, 23, 42, 0.1);
  --ep-oc-border-2: rgba(15, 23, 42, 0.08);
  --ep-oc-shadow: -24px 0 70px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   Z-INDEX (ALWAYS ON TOP)
========================================================= */
.glassy-nav {
  z-index: 2147483646 !important;
}
.ep-offcanvas.offcanvas {
  z-index: 2147483647 !important;
}

/* Backdrop */
.offcanvas-backdrop.show {
  opacity: 0.55;
  background-color: #000;
}

/* =========================================================
   HEADER (GLASS + SCROLL)
========================================================= */
.glassy-nav {
  padding: 0.55rem 0;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* default (not scrolled) */
.glassy-nav:not(.scrolled) {
  background: rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(110%);
}

/* scrolled -> white */
.glassy-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Brand */
.brand-logo {
  height: 40px;
  width: auto;
}

/* Nav links */
.glassy-nav .nav-link {
  font-weight: 700;
  color: black !important;
  position: relative;
  padding: 0.35rem 0.15rem;
  transition: color 0.25s ease;
}

.glassy-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0%;
  height: 2px;
  background: var(--ep-accent);
  transition: width 0.3s ease;
}
.glassy-nav .nav-link:hover::after {
  width: 100%;
}

/* scrolled link color */
.glassy-nav.scrolled .nav-link {
  color: #111 !important;
}

/* Desktop button */
.glassy-nav .btn-outline-glass {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid #3490e3;
  color: black;
  border-radius: 5px;
  font-weight: 800;
  padding: 0.45rem 0.95rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.glassy-nav .btn-outline-glass:hover {
  background: rgba(0, 163, 255, 0.16);
  border-color: var(--ep-accent);
}

.glassy-nav.scrolled .btn-outline-glass {
  color: #111;
  background: #f2f4f7;
  border-color: rgba(0, 0, 0, 0.18);
}

/* Toggler icon */
.ep-oc-trigger i {
  font-size: 2rem;
  color: #fff !important;
}
.glassy-nav.scrolled .ep-oc-trigger i {
  color: var(--ep-blue) !important;
}

/* Remove bootstrap focus ring */
.glassy-nav .navbar-toggler:focus,
.glassy-nav .navbar-toggler:active {
  outline: none;
  box-shadow: none;
}

/* =========================================================
   OFFCANVAS (WHITE THEME - SOLID, NOT GLASS)
========================================================= */

/* Prevent Bootstrap full width */
.ep-offcanvas.offcanvas {
  --bs-offcanvas-width: 290px !important;
  width: var(--bs-offcanvas-width) !important;
  max-width: 88vw !important;
}

.ep-offcanvas {
  border: 0 !important;
  background: var(--ep-oc-bg) !important;
  color: var(--ep-oc-text) !important;
  box-shadow: var(--ep-oc-shadow);
}

/* kill glass leftovers */
.ep-offcanvas::before {
  content: none !important;
}
.ep-offcanvas * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Scrollbar */
.ep-offcanvas .offcanvas-body {
  scrollbar-color: rgba(15, 23, 42, 0.28) transparent;
}
.ep-offcanvas .offcanvas-body::-webkit-scrollbar {
  width: 10px;
}
.ep-offcanvas .offcanvas-body::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}

/* Top sticky area */
.ep-offcanvas__top {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 14px 16px 12px;
  background: var(--ep-oc-bg) !important;
  border-bottom: 1px solid var(--ep-oc-border-2);
}

/* Title */
.ep-oc-title {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--ep-oc-text);
}

/* Divider */
.ep-oc-divider {
  height: 1px;
  margin: 12px 0;
  background: var(--ep-oc-border-2);
}

/* Close button */
.ep-oc-close {
  width: 38px;
  height: 38px;
  border-radius: var(--ep-radius-sm);
  border: 1px solid var(--ep-oc-border);
  background: var(--ep-oc-bg-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.ep-oc-close:hover {
  background: #eef3ff;
  border-color: rgba(49, 143, 227, 0.25);
}
.ep-oc-close i {
  font-size: 1.1rem;
  color: rgba(15, 23, 42, 0.82);
}

/* Body */
.ep-offcanvas__body {
  padding: 14px 16px 18px;
}

/* Auth card */
.ep-oc-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  padding: 12px 12px;
  border-radius: 5px;

  background: var(--ep-oc-bg-2);
  border: 1px solid var(--ep-oc-border);
  color: var(--ep-oc-text);

  transition: background 0.18s ease, border-color 0.18s ease;
}
.ep-oc-auth:hover {
  background: #eef3ff;
  border-color: rgba(49, 143, 227, 0.25);
}

.ep-oc-auth__icon {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  display: grid;
  place-items: center;

  background: #fff;
  border: 1px solid rgba(49, 143, 227, 0.18);
}
.ep-oc-auth__icon i {
  color: var(--ep-blue);
  font-size: 1.1rem;
}
.ep-oc-auth__text {
  font-weight: 900;
  color: var(--ep-oc-text);
}
.ep-oc-auth__chev {
  margin-right: auto;
  color: rgba(15, 23, 42, 0.5);
}

/* Sections */
.ep-oc-section {
  margin-top: 14px;
}
.ep-oc-section__title {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--ep-oc-text-soft);
  margin-bottom: 10px;
}

/* Links */
.ep-oc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  padding: 12px 12px;
  border-radius: 5px;

  background: #fff;
  border: 1px solid var(--ep-oc-border);
  color: var(--ep-oc-text);
  margin-bottom: 10px;

  transition: background 0.18s ease, border-color 0.18s ease;
}
.ep-oc-link:hover {
  background: #f2f7ff;
  border-color: rgba(49, 143, 227, 0.25);
}
.ep-oc-link i {
  font-size: 1.05rem;
  color: var(--ep-blue);
}
.ep-oc-link__chev {
  margin-right: auto;
  opacity: 0.75;
  color: rgba(15, 23, 42, 0.55);
}

/* CTA */
.ep-oc-cta {
  margin-top: 14px;
  padding: 14px;
  border-radius: 5px;
  border: 1px solid rgba(49, 143, 227, 0.2);
  background: linear-gradient(180deg, #f6f9ff, #fff);
}
.ep-oc-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  font-weight: 900;
  border-radius: 5px;
  padding: 12px 14px;

  background: var(--ep-blue);
  color: #fff;

  box-shadow: 0 12px 26px rgba(49, 143, 227, 0.22);
  transition: filter 0.18s ease;
}
.ep-oc-cta__btn:hover {
  filter: brightness(0.98);
}
.ep-oc-cta__hint {
  margin: 10px 0 0;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--ep-oc-text-soft);
}

/* =========================================================
   MOBILE POLISH
========================================================= */
@media (max-width: 991.98px) {
  .glassy-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  }

  .glassy-nav .nav-link {
    color: #111 !important;
    font-size: 1.05rem;
  }

  .glassy-nav .btn-outline-glass {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111;
  }
  .glassy-nav .btn-outline-glass:hover {
    background: #e5e7eb;
    border-color: #cbd5e1;
    color: #000;
  }

  .ep-oc-trigger i {
    color: #111 !important;
  }

  .brand-logo {
    height: 34px;
  }
}

@media (max-width: 420px) {
  .ep-offcanvas.offcanvas {
    --bs-offcanvas-width: 280px !important;
    max-width: 90vw !important;
  }
  .brand-logo {
    height: 32px;
  }
}

/* ============= ep-agency (NO VARS) ============= */
.ep-agency {
  direction: rtl;
  color: #0f172a;
}

/* card */
.ep-agency-card {
  background: #fff;
  overflow: hidden; /* keep nice card edge */
}

/* body */
.ep-agency-body {
  padding: 18px 18px 16px;
}

.ep-agency-head {
  display: grid;
  gap: 8px;
}

.ep-agency-title {
  font-weight: 950;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.25;
}

.ep-agency-address {
  margin: 0;
  color: #969696;
  font-weight: 800;
  line-height: 1.75;
}

.ep-agency-desc {
  margin: 0;
  color: #969696;
  line-height: 1.9;
  font-weight: 350;
}

/* divider */
.ep-divider {
  height: 1px;
  width: 100%;
  background: rgba(15, 23, 42, 0.12);
  opacity: 0.85;
}

/* info blocks */
.ep-info {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
  min-height: 72px;
}

.ep-info-label {
  font-size: 0.9rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.72);
}

.ep-info-value {
  font-size: 0.98rem;
  font-weight: 900;
  color: #0f172a;
  text-decoration: none;

  overflow-wrap: anywhere;
  word-break: break-word;

  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}

.ep-info-value:hover {
  color: #318fe3;
  text-decoration: underline;
}

/* socials */
.ep-socials {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.ep-social {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(49, 143, 227, 0.1);
  text-decoration: none;

  transition: transform 0.1s ease, border-color 0.2s ease, filter 0.2s ease;
  transition: 0.5s;
}

.ep-social i {
  font-size: 1.15rem;
  line-height: 1;
  color: #318fe3;
}

.ep-social:active {
  transform: scale(0.98);
}
.ep-social:hover {
  background: #229ed9;
  color: white !important;
  border-color: #229ed9;
}
.ep-social:hover i {
  color: white;
}

/* rating */
.ep-rating {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 8px 10px;
}

.ep-stars {
  display: inline-flex;
  gap: 2px;
  color: #f5b300;
}
.ep-stars i {
  font-size: 1.05rem;
}

.ep-rating-num {
  font-weight: 950;
  color: #0f172a;
}

/* ✅ LOGO SIDE (fixed border issue)
   The border was getting clipped because you used margin inside an overflow:hidden card.
   Now: padding wrapper + inner box (no clipping).
*/
.ep-agency-logoWrap {
  height: 100%;
  padding: 18px;
  display: flex;
}

.ep-agency-logoBox {
  width: 100%;
  height: 100%;
  min-height: 220px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  border: 2px solid rgba(15, 23, 42, 0.12); /* ✅ always visible */
  border-radius: 7px;

  background: rgba(255, 255, 255, 0.85);
}

/* image */
.ep-agency-logoBox img {
  max-height: 140px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  display: block;
}

/* ✅ Desktop divider between columns (nice) */
@media (min-width: 992px) {
  .ep-agency-logoWrap {
  }
}

/* ✅ Mobile */
@media (max-width: 991.98px) {
  .ep-agency-body {
    padding: 16px 14px 14px;
  }

  .ep-agency-logoWrap {
    padding: 0 14px 14px;
    border-right: 0;
  }

  .ep-agency-logoBox {
    min-height: 160px;
  }

  .ep-agency-logoBox img {
    max-height: 110px;
  }

  /* optional: clamp desc */
  .ep-agency-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
  }
}

/* tiny phones */
@media (max-width: 360px) {
  .ep-social {
    width: 38px;
    height: 38px;
  }
  .ep-info {
    min-height: 68px;
  }
}
/* ============= /ep-agency ============= */

/* ===================== new ================= */
/* PAGE BACKGROUND */

.ep-home {
  background: #eeeeee;
  direction: rtl;
}

/* PANEL */

.ep-panel {
  background: #ffffff;
  border-radius: 5px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* TITLES */

.ep-title {
  font-weight: 900;
  font-size: 1.3rem;
  margin: 0;
}

/* TABS */

.ep-tabs {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 18px;
  gap: 6px;
}

.ep-tabs .nav-link {
  border: none;
  background: #f3f4f6;
  color: #777;
  border-radius: 6px 6px 0 0;
  font-weight: 800;
  padding: 8px 14px;
}

.ep-tabs .nav-link.active {
  background: #fff;
  color: #318fe3;
}

/* TAB PANEL */

.ep-tab-panel {
  padding-top: 6px;
}

/* SIDEBAR */

.ep-sidebar {
  position: sticky;
  top: 90px;
}

/* AGENT CARD */

.ep-agent-mini {
  text-align: center;
  padding: 16px;
}
.agentCard {
}

.ep-agent-mini__avatar {
  width: 95px;
  height: 95px;
  margin: auto;
  border-radius: 50%;
  overflow: hidden;
}

.ep-agent-mini__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-agent-mini__name {
  font-weight: 900;
  margin-top: 10px;
  font-size: 1rem;
}

.ep-agent-mini__role {
  font-size: 0.9rem;
  color: #969696;
}
@media (max-width: 768px) {
  .ep-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ep-tabs::-webkit-scrollbar {
    display: none;
  }

  .ep-tabs .nav-item {
    flex: 0 0 auto;
  }
}
@media (min-width: 1200px) {
  .ep-sidebar {
    position: sticky;
    top: 90px;
  }
}
.ep-agent-mini {
  padding: 14px;
}

@media (max-width: 992px) {
  .ep-agent-mini__avatar {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 576px) {
  .ep-agent-mini {
    padding: 12px;
  }

  .ep-agent-mini__avatar {
    width: 70px;
    height: 70px;
  }

  .ep-agent-mini__name {
    font-size: 0.9rem;
  }

  .ep-agent-mini__role {
    font-size: 0.87rem;
  }
}
/* social icons */

.ep-agent-mini__social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.ep-agent-mini__social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: 0.25s;
  border: 1px solid #e2e8f0;
  color: #475569;
  background: #f8fafc;
}

/* hover colors */

.ep-agent-mini__social .tg:hover {
  background: #229ed9;
  color: white;
  border-color: #229ed9;
}

@media (max-width: 768px) {
  .ep-panel {
    padding: 16px;
  }
}
@media (max-width: 576px) {
  .ep-tab-panel .row {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 14px;
  }
}

/* ===================== new ================= */
/* ================ REVIEWS SECTION =========== */

.reviews {
  direction: rtl;
  background: #f3f4f6;
  padding: 80px 0;
}

/* MAIN LAYOUT */
.reviews-container {
  display: grid;
  grid-template-columns: 400px 1fr; /* wider summary column */
  gap: 60px;
  padding: 0 24px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: flex-start; /* needed for sticky summary */
}

/* ===== SUMMARY (STICKY PANEL) ===== */

.reviews-summary {
  background: #fff;
  border-radius: 5px;
  padding: 40px;
  border: 1px solid #e5e7eb;
  position: sticky;
  top: 120px;
  height: fit-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.summary-score {
  text-align: center;
  margin-bottom: 40px;
}

.score-number {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -2px;
  color: #111827;
}

.score-stars {
  font-size: 20px;
  letter-spacing: 3px;
  color: #f5b300;
  opacity: 0.9;
  margin: 8px 0;
}

.score-count {
  font-size: 14px;
  color: #6b7280;
}

/* breakdown */

.summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.break-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  color: #374151;
}

.bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  background: #3490e3;
  border-radius: 20px;
}

/* ===== SCROLLABLE REVIEWS AREA ===== */

.reviews-scroll-area {
  height: 500px; /* fixed height for internal scroll */
  overflow-y: auto;
  padding-left: 10px; /* small space for scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #d1d5db #f3f4f6;
}

/* custom scrollbar - WebKit */
.reviews-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.reviews-scroll-area::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 5px;
}

/* ===== REVIEWS LIST & CARDS ===== */

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-card {
  background: #fff;
  padding: 30px;
  border-radius: 5px;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  word-break: break-word;
}

.review-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.user {
  display: flex;
  gap: 14px;
  align-items: center;
}

.user img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.name {
  font-weight: 700;
  font-size: 16px;
  color: #111827;
}

.date {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 4px;
}

.stars {
  font-size: 14px;
  letter-spacing: 2px;
  color: #f5b300;
  opacity: 0.8;
}

.review-text {
  font-size: 15px;
  line-height: 1.9;
  color: #374151;
}

/* generic image rule (safe) */
img {
  max-width: 100%;
  display: block;
}

/* ================ RESPONSIVE ================ */

@media (max-width: 1200px) {
  .reviews-container {
    grid-template-columns: 340px 1fr;
    gap: 40px;
  }

  .score-number {
    font-size: 56px;
  }
}

@media (max-width: 992px) {
  .reviews-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reviews-summary {
    position: relative;
    top: auto;
    max-width: 520px;
    margin: 0 auto 24px;
  }

  .review-header {
    align-items: center;
  }

  /* on tablet & below: let page scroll normally, not internal area */
  .reviews-scroll-area {
    height: auto;
    overflow-y: visible;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .reviews {
    padding: 60px 0;
  }

  .review-card {
    padding: 22px;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .user img {
    width: 44px;
    height: 44px;
  }

  .score-number {
    font-size: 48px;
  }

  .score-stars {
    font-size: 18px;
  }

  .review-text {
    font-size: 14.5px;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .reviews-container {
    padding: 0 16px;
  }

  .review-card {
    padding: 18px;
  }

  .user {
    gap: 10px;
  }

  .user img {
    width: 38px;
    height: 38px;
  }

  .name {
    font-size: 15px;
  }

  .date {
    font-size: 12px;
  }

  .stars {
    font-size: 13px;
  }

  .score-number {
    font-size: 42px;
  }

  .break-row {
    grid-template-columns: 20px 1fr;
  }

  .bar {
    height: 5px;
  }
}

/* ================ new review list layout =========== */

/* ============= EP Review Form (NO VARS) ============= */
.ep-reviewForm {
  direction: rtl;
  background: #eeeeee;
  color: #0f172a;
}

/* card container */
.ep-reviewForm__card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 5px;
  box-shadow: 0 10px 26px rgba(2, 8, 23, 0.08);
  padding: 26px 24px 20px;
}

/* title */
.ep-reviewForm__title {
  font-weight: 950;
  letter-spacing: -0.01em;
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 14px !important;
}

/* stars row */
.ep-reviewForm__stars {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0 18px;
}

/* star button */
.ep-star {
  width: 56px;
  height: 56px;
  border-radius: 5px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f3f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: transform 0.1s ease, filter 0.2s ease, border-color 0.2s ease;
}
.ep-star i {
  font-size: 1.55rem;
  line-height: 1;
  color: rgba(15, 23, 42, 0.18); /* inactive */
}
.ep-star:active {
  transform: scale(0.98);
}
.ep-star:hover {
  border-color: rgba(15, 23, 42, 0.16);
  filter: brightness(0.99);
}

/* active stars */
.ep-star.is-on {
  background: #f5b300;
  border-color: #f5b300;
  box-shadow: 0 12px 22px rgba(245, 179, 0, 0.18);
}
.ep-star.is-on i {
  color: #ffffff;
}

/* form labels/inputs */
.ep-label {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.72);
  margin-bottom: 8px;
}

.ep-input,
.ep-textarea {
  border-radius: 5px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f7f7f7;
  padding: 14px 14px;
  font-weight: 800;
  color: #0f172a;
  box-shadow: none;
}
.ep-input::placeholder,
.ep-textarea::placeholder {
  color: rgba(15, 23, 42, 0.34);
  font-weight: 800;
}
.ep-input:focus,
.ep-textarea:focus {
  border-color: rgba(49, 143, 227, 0.45);
  box-shadow: 0 0 0 4px rgba(49, 143, 227, 0.14);
  background: #ffffff;
}

/* textarea specific */
.ep-textarea {
  padding: 16px 14px;
  line-height: 1.9;
  resize: vertical;
  min-height: 220px;
}

/* submit */
.ep-submit {
  height: 56px;
  min-width: 190px;
  border-radius: 5px;
  background: #318fe3;
  border: 1px solid rgba(49, 143, 227, 0.55);
  color: #ffffff;
  font-weight: 950;
  padding: 0 22px;
  box-shadow: none;
  margin-right: auto;
}
.ep-submit:hover {
  filter: brightness(0.98);
}
.ep-submit:active {
  transform: scale(0.99);
}

/* hint */
.ep-reviewForm__hint {
  margin-top: 14px !important;
  color: #969696;
  font-weight: 700;
  font-size: 0.95rem;
}

/* responsive */
@media (max-width: 576px) {
  .ep-reviewForm__card {
    padding: 18px 14px 16px;
  }
  .ep-reviewForm__title {
    font-size: 1.35rem;
  }
  .ep-star {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }
  .ep-textarea {
    min-height: 180px;
  }
  .ep-submit {
    width: 100%;
    min-width: 0;
  }
}

.map-section {
  width: 100%;
  background: #fff;
  direction: rtl;
  touch-action: none;
}

.map-frame-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  touch-action: none;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;

  touch-action: none;
}

@media (max-width: 992px) {
  .map-frame-wrapper {
  }
}

@media (max-width: 640px) {
  .map-frame-wrapper {
  }
}

@media (max-width: 420px) {
  .map-frame-wrapper {
  }
}

/* ========== LAYOUT WRAPPER ========== */

.ep-reviewAndMap {
  background: #f5f5f5;
  direction: rtl;
  padding: clamp(40px, 6vw, 80px) 0;
}

.ep-reviewAndMap__grid {
  display: grid;
  grid-template-columns: 1fr minmax(420px, 520px);
  gap: clamp(24px, 5vw, 60px);
  align-items: stretch; /* IMPORTANT */
}

/* ========== REVIEW SIDE ========== */

.ep-reviewForm {
  background: #eeeeee;
  display: flex;
}

.ep-reviewForm__card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* ========== MAP SIDE ========== */

.map-section {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(2, 8, 23, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);

  display: flex; /* IMPORTANT */
}

.map-frame-wrapper {
  flex: 1; /* IMPORTANT */
  position: relative;
  min-height: 100%;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 992px) {
  .ep-reviewAndMap__grid {
    grid-template-columns: 1fr;
  }

  .map-frame-wrapper {
    min-height: 400px; /* fallback height when stacked */
  }
}

@media (max-width: 640px) {
  .map-frame-wrapper {
    min-height: 340px;
  }
}

/* ------------------------------- footer ------------------------------ */

.soft-footer {
  background: radial-gradient(
    circle at top,
    #f9fafb 0,
    #f2f3f5 45%,
    #e5e7eb 100%
  );
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  color: #4b5563;
  font-size: 0.9rem;
}

/* روی هر چیزی داخل فوتر، رنگ متن را کنترل می‌کنیم */
.soft-footer * {
  color: inherit;
}

/* عنوان هر ستون */
.soft-footer-title {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  font-weight: 800;
  color: #111827;
}

/* لینک‌ها */
.soft-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.soft-footer-links li {
  margin-bottom: 0.45rem;
}

.soft-footer-links a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
}

.soft-footer-links a:hover {
  color: #111827;
}

/* لوگو و شبکه اجتماعی */
.soft-footer .col:first-child p {
  color: #6b7280;
}

/* آیکن شبکه اجتماعی در دایره ملایم */
.footer-social-icon {
  font-size: 1.4rem;
  color: #4b5563;
  transition: color 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e5e7eb;
}

.footer-social-icon:hover {
  color: #000;
  /* transform: translateY(-1px); */
}

/* دکمه دانلود اپ */
.soft-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.6rem;
  background: #3490e3;
  color: #ffffff;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  width: auto;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.soft-download-btn i {
  font-size: 1rem;
}

.soft-download-btn:hover {
  background: #2677c6;
  /* transform: translateY(-2px); */
  box-shadow: none;
}

/* پایین فوتر */
.soft-footer-bottom {
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
  line-height: 1.8;
}

/* خط بالای بخش پایینی کمی ملایم‌تر */
.soft-footer-bottom.border-top {
  border-color: #e5e7eb !important;
}

/* ========= Responsive Tweaks ========= */

/* تراز بهتر روی تبلت و موبایل */
@media (max-width: 991.98px) {
  .soft-footer .row > .col {
    text-align: center;
  }

  .soft-footer img[alt="لوگو"] {
    margin: 0 auto 0.75rem;
    display: block;
  }

  .soft-footer .col:nth-child(4) img {
    max-width: 120px;
    margin: 0 auto;
    display: block;
  }

  .soft-download-btn {
    width: 100%;
    justify-content: center;
  }
}

/* موبایل خیلی کوچک */
@media (max-width: 575.98px) {
  .soft-footer {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .soft-footer-title {
    margin-top: 0.5rem;
  }

  .soft-footer .row {
    row-gap: 1.5rem;
  }
}

/* ================= view more btn ================= */
.ep-more-wrapper {
  margin-top: 2rem;
}

.ep-more-btn {
  background: #318fe3;
  color: #fff;
  border: 1px solid rgba(49, 143, 227, 0.9);
  border-radius: 5px;
  font-weight: 800;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;

  min-height: 44px;
  padding: 0.8rem 1.4rem;
  font-size: 0.95rem;
  line-height: 1;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    transform 0.2s ease, color 0.25s ease;
}

.ep-more-btn i {
  font-size: 0.95rem;
  transition: transform 0.25s ease;
}

.ep-more-btn:hover {
  background: #227fce;
  color: #fff;
  border-color: #227fce;
  text-decoration: none;
}

.ep-more-btn:hover i {
  transform: translateX(-4px);
}

.ep-more-btn:active {
}

.ep-more-btn:focus-visible {
  outline: 3px solid rgba(49, 143, 227, 0.22);
  outline-offset: 3px;
}

/* ================= view more btn ================= */
