/* Scoped front styles (minimal, won’t break theme) */
.kbm-front{ direction:rtl; background:linear-gradient(180deg,#fafafa 0%,#fff 48%); }
.kbm-front *{ box-sizing:border-box; }

.kbm-wrap{ max-width:1180px; margin:24px auto; padding:0 16px 60px; }

.kbm-archive-hero,
.kbm-category-hero{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
  padding:28px;
  border:1px solid #e5e7eb;
  border-radius:30px;
  background:
    radial-gradient(circle at top left, rgba(17,24,39,.10), transparent 31%),
    linear-gradient(135deg,#fff 0%,#f8fafc 58%,#f3f4f6 100%);
  box-shadow:0 18px 45px rgba(15,23,42,.07);
}
.kbm-archive-hero:before,
.kbm-category-hero:before{
  content:"";
  position:absolute;
  inset:auto -90px -130px auto;
  width:280px;
  height:280px;
  border-radius:999px;
  background:rgba(17,24,39,.055);
  pointer-events:none;
}
.kbm-category-hero-content{ position:relative; z-index:1; min-width:0; }
.kbm-archive-hero h1,
.kbm-category-hero h1{
  margin:8px 0 8px;
  color:#111827;
  font-size:clamp(28px,4vw,44px);
  line-height:1.3;
  font-weight:950;
  letter-spacing:-.03em;
}
.kbm-archive-hero p,
.kbm-category-desc{
  max-width:760px;
  margin:0;
  color:#4b5563;
  font-size:14px;
  line-height:2;
}
.kbm-category-desc p{ margin:0; }
.kbm-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 11px;
  border-radius:999px;
  background:#111827;
  color:#fff;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.kbm-category-stat{
  position:relative;
  z-index:1;
  min-width:150px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:18px;
  border:1px solid rgba(17,24,39,.08);
  border-radius:24px;
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 28px rgba(15,23,42,.06);
  backdrop-filter:blur(10px);
}
.kbm-category-stat strong{ color:#111827; font-size:34px; line-height:1; font-weight:950; }
.kbm-category-stat span{ color:#6b7280; font-size:13px; font-weight:900; }

.kbm-grid-cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.kbm-review-captcha{
  margin:12px 0 0;
}
.kbm-review-captcha-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:linear-gradient(135deg,#fff 0%,#f9fafb 100%);
}
.kbm-review-captcha-box span{
  display:block;
  margin-bottom:4px;
  color:#6b7280;
  font-size:12px;
  font-weight:900;
}
.kbm-review-captcha-box strong{
  display:block;
  color:#111827;
  font-size:14px;
  font-weight:950;
  line-height:1.7;
}
.kbm-review-captcha-box input{
  width:116px;
  min-height:44px;
  flex:0 0 auto;
  border:1px solid #d1d5db;
  border-radius:14px;
  background:#fff;
  color:#111827;
  padding:10px 12px;
  font-weight:950;
  text-align:center;
  direction:ltr;
  outline:none;
}
.kbm-review-captcha-box input:focus{
  border-color:#111827;
  box-shadow:0 0 0 4px rgba(17,24,39,.07);
}
.kbm-review-honeypot{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  clip:rect(1px,1px,1px,1px) !important;
  opacity:0 !important;
  pointer-events:none !important;
}

@media (max-width:980px){ .kbm-grid-cards{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:620px){ .kbm-grid-cards{ grid-template-columns:1fr;} }

.kbm-cardx{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(15,23,42,.055);
  display:flex;
  flex-direction:column;
  min-width:0;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.kbm-cardx:hover{
  transform:translateY(-3px);
  border-color:#d1d5db;
  box-shadow:0 22px 55px rgba(15,23,42,.10);
}
.kbm-cardx-media{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  height:190px;
  background:#f3f4f6 center/cover no-repeat;
  text-decoration:none;
}
.kbm-cardx-media:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.22));
  opacity:.7;
  pointer-events:none;
}
.kbm-cardx-media-empty{ background:linear-gradient(135deg,#f3f4f6,#e5e7eb); }
.kbm-cardx-placeholder{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:72px;
  height:72px;
  border-radius:24px;
  background:#111827;
  color:#fff;
  font-weight:950;
  letter-spacing:.08em;
}
.kbm-cardx-body{ padding:15px; display:flex; flex-direction:column; gap:11px; flex:1; }
.kbm-cardx-topline{ display:flex; align-items:center; justify-content:flex-start; gap:8px; flex-wrap:wrap; }
.kbm-cardx-title{ margin:0; font-size:17px; line-height:1.65; font-weight:950; }
.kbm-cardx-title a{ color:#111827; text-decoration:none; }
.kbm-cardx-title a:hover{ color:#374151; }
.kbm-muted{ color:#6b7280; font-size:13px; line-height:1.9; }
.kbm-row{ display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; }
.kbm-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#f3f4f6;
  color:#111827;
  border:1px solid #e5e7eb;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  text-decoration:none;
}
.kbm-chip:hover{ background:#e5e7eb; color:#111827; }
.kbm-chip-muted{ color:#6b7280; }
.kbm-cardx-meta{ display:grid; grid-template-columns:1fr; gap:7px; margin-top:auto; }
.kbm-meta-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border:1px solid #f1f5f9;
  border-radius:14px;
  background:#fafafa;
}
.kbm-meta-item span{ flex:0 0 auto; color:#9ca3af; font-size:11px; font-weight:900; }
.kbm-meta-item strong{ min-width:0; color:#374151; font-size:12px; font-weight:900; line-height:1.7; text-align:left; direction:rtl; }
.kbm-cardx-actions{ margin-top:2px; }

.kbm-btnlink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  border-radius:14px;
  background:#111827;
  color:#fff;
  text-decoration:none;
  font-weight:950;
  border:1px solid #111827;
  transition:filter .18s ease, transform .18s ease;
}
.kbm-btnlink:hover{ color:#fff; filter:brightness(.95); transform:translateY(-1px); }

/* Archive category bar. This remains only for the main business archive, not taxonomy pages. */
.kbm-taxbar{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.kbm-taxbar a{
  text-decoration:none;
  color:#111827;
  background:#fff;
  border:1px solid #e5e7eb;
  padding:9px 12px;
  border-radius:999px;
  font-weight:900;
  box-shadow:0 6px 16px rgba(15,23,42,.035);
}
.kbm-taxbar a:hover{ background:#f9fafb; color:#111827; }
.kbm-taxbar a.is-active{ background:#111827; color:#fff; border-color:#111827; }

/* Taxonomy page: compact subcategory filter */
.kbm-filter-panel{
  position:relative;
  margin:0 0 18px;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.kbm-filter-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
  padding:0 2px;
}
.kbm-filter-head h2{
  margin:0 0 4px;
  color:#111827;
  font-size:17px;
  line-height:1.6;
  font-weight:950;
}
.kbm-filter-head p{ margin:0; color:#6b7280; font-size:13px; line-height:1.8; }
.kbm-filter-loading{
  flex:0 0 auto;
  padding:7px 11px;
  border-radius:999px;
  background:#fffbeb;
  color:#92400e;
  border:1px solid #fde68a;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.kbm-category-filter{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  max-width:100%;
  padding:4px 2px 12px;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.kbm-category-filter::-webkit-scrollbar{ display:none; }
.kbm-filter-btn{
  appearance:none;
  flex:0 0 auto;
  min-height:44px;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#111827;
  border-radius:999px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  cursor:pointer;
  font:inherit;
  font-weight:950;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 8px 20px rgba(15,23,42,.055);
  scroll-snap-align:start;
  transition:background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.kbm-filter-btn:hover{
  background:#f9fafb;
  border-color:#d1d5db;
  transform:translateY(-1px);
}
.kbm-filter-btn.is-active{
  background:#111827;
  color:#fff;
  border-color:#111827;
  box-shadow:0 14px 28px rgba(17,24,39,.18);
}
.kbm-filter-btn small{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:25px;
  height:25px;
  padding:0 8px;
  border-radius:999px;
  background:#f3f4f6;
  color:#111827;
  font-size:11px;
  font-weight:950;
}
.kbm-filter-btn.is-active small{ background:rgba(255,255,255,.16); color:#fff; }
.kbm-category-feedback{
  min-height:0;
  margin:0 0 12px;
  color:#374151;
  font-size:13px;
  font-weight:900;
}
.kbm-category-feedback.is-error{
  padding:10px 12px;
  border:1px solid #fecaca;
  border-radius:14px;
  background:#fef2f2;
  color:#991b1b;
}
.kbm-category-feedback.is-success{
  padding:10px 12px;
  border:1px solid #dcfce7;
  border-radius:14px;
  background:#f0fdf4;
  color:#166534;
}
.kbm-category-results{ position:relative; min-height:120px; }
.kbm-category-results.is-loading{ opacity:.55; pointer-events:none; }
.kbm-empty-state{
  grid-column:1/-1;
  min-height:180px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:26px;
  border:1px dashed #d1d5db;
  border-radius:24px;
  background:#fff;
  color:#6b7280;
  text-align:center;
}
.kbm-empty-state strong{ color:#111827; font-size:16px; font-weight:950; }
.kbm-empty-state span{ font-size:13px; line-height:1.9; }
.kbm-loadmore-wrap{ display:flex; justify-content:center; margin-top:18px; }
.kbm-load-more{
  appearance:none;
  border:1px solid #111827;
  background:#111827;
  color:#fff;
  border-radius:16px;
  min-height:46px;
  padding:11px 18px;
  cursor:pointer;
  font:inherit;
  font-weight:950;
  transition:filter .18s ease, transform .18s ease, opacity .18s ease;
}
.kbm-load-more:hover{ filter:brightness(.95); transform:translateY(-1px); }
.kbm-load-more:disabled,
.kbm-load-more.is-hidden{ display:none; }
.kbm-pagination{ margin-top:16px; }

/* Discounts strip (shortcode) */
.kbm-discounts-strip{
  direction:rtl;
  border:1px solid #eee;
  border-radius:18px;
  background:#fff;
  padding:14px;
  box-shadow:0 10px 24px rgba(0,0,0,.04);
}
.kbm-strip-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
  gap:10px;
}
.kbm-strip-head h3{ margin:0; font-size:16px; }
.kbm-strip-link{ color:#111827; font-weight:900; text-decoration:none; }

.kbm-hscroll{
  display:flex;
  gap:12px;
  overflow:auto;
  padding-bottom:6px;
  scroll-snap-type:x mandatory;
}
.kbm-hscroll::-webkit-scrollbar{ height:10px; }
.kbm-hscroll::-webkit-scrollbar-thumb{ background:#e5e7eb; border-radius:999px; }

.kbm-dcard{
  flex:0 0 auto;
  width:280px;
  border:1px solid #eee;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  scroll-snap-align:start;
}
.kbm-dcard-media{ display:block; height:150px; background:#f3f4f6 center/cover no-repeat; }
.kbm-dcard-body{ padding:12px; }
.kbm-dcard-title{
  display:block;
  font-weight:900;
  color:#111827;
  text-decoration:none;
  margin-bottom:10px;
}
.kbm-dcard-meta{ display:flex; gap:8px; flex-wrap:wrap; }
.kbm-pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#111827;
  color:#fff;
  font-weight:900;
  font-size:12px;
}
.kbm-pill-soft{ background:#f3f4f6; color:#111827; border:1px solid #e5e7eb; }

@media (max-width:720px){
  .kbm-wrap{ margin:14px auto; padding:0 12px 48px; }
  .kbm-archive-hero,
  .kbm-category-hero{
    flex-direction:column;
    gap:14px;
    margin-bottom:16px;
    padding:18px;
    border-radius:24px;
  }
  .kbm-archive-hero h1,
  .kbm-category-hero h1{
    margin:7px 0 7px;
    font-size:28px;
    line-height:1.35;
  }
  .kbm-archive-hero p,
  .kbm-category-desc{
    font-size:13px;
    line-height:1.9;
  }
  .kbm-eyebrow{ font-size:11px; padding:5px 9px; }
  .kbm-category-stat{
    width:max-content;
    min-width:0;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:7px;
    padding:9px 12px;
    border-radius:16px;
  }
  .kbm-category-stat strong{ font-size:23px; }
  .kbm-category-stat span{ font-size:12px; }

  .kbm-filter-panel{
    margin:0 -2px 16px;
    padding:0;
  }
  .kbm-filter-head{
    align-items:center;
    margin-bottom:8px;
    padding:0 2px;
  }
  .kbm-filter-head h2{ margin:0; font-size:15px; }
  .kbm-filter-head p{ display:none; }
  .kbm-filter-loading{ padding:6px 9px; font-size:11px; }
  .kbm-category-filter{
    gap:8px;
    padding:4px 2px 10px;
  }
  .kbm-filter-btn{
    width:auto;
    min-height:40px;
    padding:0 12px;
    font-size:13px;
    border-radius:999px;
  }
  .kbm-filter-btn small{
    min-width:22px;
    height:22px;
    padding:0 7px;
    font-size:10px;
  }
  .kbm-cardx{ border-radius:22px; }
  .kbm-cardx-media{ height:168px; }
  .kbm-cardx-title{ font-size:16px; }
  .kbm-cardx-body{ padding:14px; }
  .kbm-meta-item{ flex-direction:column; gap:3px; }
  .kbm-meta-item strong{ text-align:right; }
  .kbm-btnlink{ width:100%; }
}

/* KBM related businesses + reviews */
.kbm-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:0 0 16px;
}
.kbm-section-head h2{
  margin:6px 0 4px;
  color:#111827;
  font-size:24px;
  line-height:1.45;
  font-weight:950;
  letter-spacing:-.02em;
}
.kbm-section-head p{ margin:0; color:#6b7280; font-size:13px; line-height:1.9; }
.kbm-section-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 10px;
  border-radius:999px;
  background:#f3f4f6;
  color:#111827;
  border:1px solid #e5e7eb;
  font-size:12px;
  font-weight:950;
}
.kbm-related-section,
.kbm-reviews-section{
  margin-top:22px;
  padding:22px;
  border:1px solid #e5e7eb;
  border-radius:28px;
  background:#fff;
  box-shadow:0 16px 42px rgba(15,23,42,.055);
}
.kbm-related-nav{ display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.kbm-slider-btn{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e5e7eb;
  border-radius:999px;
  background:#fff;
  color:#111827;
  font-size:25px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(15,23,42,.045);
  transition:background .18s ease, transform .18s ease, border-color .18s ease;
}
.kbm-slider-btn:hover{ background:#111827; color:#fff; border-color:#111827; transform:translateY(-1px); }
.kbm-related-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 48px) / 4);
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:2px 1px 12px;
  scrollbar-width:thin;
}
.kbm-related-track .kbm-cardx{ scroll-snap-align:start; height:100%; }
.kbm-related-track::-webkit-scrollbar{ height:10px; }
.kbm-related-track::-webkit-scrollbar-thumb{ background:#d1d5db; border-radius:999px; }

.kbm-reviews-shell{
  display:grid;
  grid-template-columns:minmax(240px, .75fr) minmax(0, 1.25fr);
  gap:18px;
  align-items:start;
}
.kbm-reviews-summary{
  position:relative;
  overflow:hidden;
  min-height:100%;
  padding:22px;
  border-radius:24px;
  background:linear-gradient(135deg,#111827 0%,#1f2937 100%);
  color:#fff;
}
.kbm-reviews-summary:after{
  content:"";
  position:absolute;
  inset:auto -70px -90px auto;
  width:210px;
  height:210px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}
.kbm-reviews-summary .kbm-section-eyebrow{
  position:relative;
  z-index:1;
  color:#111827;
  background:#fff;
  border-color:rgba(255,255,255,.34);
}
.kbm-reviews-summary h2{
  position:relative;
  z-index:1;
  margin:12px 0 8px;
  font-size:26px;
  line-height:1.45;
  font-weight:950;
}
.kbm-reviews-summary p{
  position:relative;
  z-index:1;
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:13px;
  line-height:2;
}
.kbm-rating-box{
  position:relative;
  z-index:1;
  margin-top:18px;
  padding:16px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:20px;
  background:rgba(255,255,255,.10);
  backdrop-filter:blur(10px);
}
.kbm-rating-box strong{ display:block; font-size:42px; line-height:1; font-weight:950; margin-bottom:8px; }
.kbm-rating-box span:last-child{ display:block; margin-top:8px; color:rgba(255,255,255,.78); font-size:12px; font-weight:900; }
.kbm-stars{ display:inline-flex; gap:2px; color:#d1d5db; direction:ltr; white-space:nowrap; }
.kbm-stars span{ font-size:16px; line-height:1; }
.kbm-stars span.is-filled{ color:#f59e0b; }
.kbm-stars-lg span{ font-size:22px; }

.kbm-review-form{
  padding:18px;
  border:1px solid #e5e7eb;
  border-radius:24px;
  background:#f9fafb;
}
.kbm-review-form-title{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:14px; }
.kbm-review-form-title strong{ color:#111827; font-size:16px; font-weight:950; }
.kbm-review-form-title span{ color:#6b7280; font-size:12px; line-height:1.8; }
.kbm-rating-picker{
  display:flex;
  direction:ltr;
  justify-content:flex-end;
  gap:5px;
  margin:0 0 14px;
  padding:12px;
  border:1px dashed #d1d5db;
  border-radius:18px;
  background:#fff;
}
.kbm-rating-star{
  border:0;
  background:transparent;
  color:#d1d5db;
  font-size:33px;
  line-height:1;
  cursor:pointer;
  padding:2px;
  transition:color .16s ease, transform .16s ease;
}
.kbm-rating-star:hover,
.kbm-rating-star.is-active{ color:#f59e0b; transform:translateY(-1px); }
.kbm-review-grid{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
.kbm-review-field{ margin-bottom:12px; }
.kbm-review-field label{ display:block; margin:0 0 7px; color:#111827; font-size:13px; font-weight:950; }
.kbm-review-field label span{ color:#ef4444; }
.kbm-review-field input,
.kbm-review-field textarea{
  width:100%;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#fff;
  padding:12px 13px;
  color:#111827;
  font-size:14px;
  line-height:1.8;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.kbm-review-field input:focus,
.kbm-review-field textarea:focus{ border-color:#111827; box-shadow:0 0 0 4px rgba(17,24,39,.07); }
.kbm-review-actions{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.kbm-review-submit{
  min-height:44px;
  border:1px solid #111827;
  border-radius:15px;
  background:#111827;
  color:#fff;
  padding:11px 18px;
  font-weight:950;
  cursor:pointer;
  transition:filter .18s ease, transform .18s ease;
}
.kbm-review-submit:hover{ filter:brightness(.95); transform:translateY(-1px); }
.kbm-review-submit:disabled{ opacity:.58; cursor:not-allowed; transform:none; }
.kbm-review-message{ color:#065f46; font-size:13px; font-weight:900; line-height:1.8; }
.kbm-review-message.is-error{ color:#b91c1c; }
.kbm-review-list{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.kbm-review-card{
  padding:16px;
  border:1px solid #e5e7eb;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 26px rgba(15,23,42,.04);
}
.kbm-review-card-head{ display:flex; align-items:center; gap:10px; margin-bottom:11px; }
.kbm-review-avatar{
  width:42px;
  height:42px;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:#111827;
  color:#fff;
  font-weight:950;
}
.kbm-review-card-head strong{ display:block; color:#111827; font-size:14px; font-weight:950; }
.kbm-review-card-head span{ display:block; color:#6b7280; font-size:12px; margin-top:3px; }
.kbm-review-card p{ margin:10px 0 0; color:#374151; font-size:13px; line-height:2; }
.kbm-reviews-empty{
  grid-column:1 / -1;
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:18px;
  border:1px dashed #d1d5db;
  border-radius:20px;
  background:#f9fafb;
  color:#6b7280;
  text-align:center;
}
.kbm-reviews-empty strong{ color:#111827; }


.kbm-review-captcha{
  margin:12px 0 0;
}
.kbm-review-captcha-box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:linear-gradient(135deg,#fff 0%,#f9fafb 100%);
}
.kbm-review-captcha-box span{
  display:block;
  margin-bottom:4px;
  color:#6b7280;
  font-size:12px;
  font-weight:900;
}
.kbm-review-captcha-box strong{
  display:block;
  color:#111827;
  font-size:14px;
  font-weight:950;
  line-height:1.7;
}
.kbm-review-captcha-box input{
  width:116px;
  min-height:44px;
  flex:0 0 auto;
  border:1px solid #d1d5db;
  border-radius:14px;
  background:#fff;
  color:#111827;
  padding:10px 12px;
  font-weight:950;
  text-align:center;
  direction:ltr;
  outline:none;
}
.kbm-review-captcha-box input:focus{
  border-color:#111827;
  box-shadow:0 0 0 4px rgba(17,24,39,.07);
}
.kbm-review-honeypot{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  clip:rect(1px,1px,1px,1px) !important;
  opacity:0 !important;
  pointer-events:none !important;
}

@media (max-width:980px){
  .kbm-related-track{ grid-auto-columns:calc((100% - 16px) / 2); }
  .kbm-reviews-shell{ grid-template-columns:1fr; }
}
@media (max-width:620px){
  .kbm-related-section,
  .kbm-reviews-section{ padding:16px; border-radius:24px; }
  .kbm-section-head{ align-items:flex-start; }
  .kbm-section-head h2{ font-size:20px; }
  .kbm-related-track{ grid-auto-columns:100%; gap:12px; }
  .kbm-related-nav{ position:sticky; left:0; }
  .kbm-reviews-summary{ padding:18px; }
  .kbm-review-form{ padding:14px; }
  .kbm-review-captcha-box{ align-items:stretch; flex-direction:column; }
  .kbm-review-captcha-box input{ width:100%; }
  .kbm-review-form-title{ flex-direction:column; }
  .kbm-review-grid{ grid-template-columns:1fr; gap:0; }
  .kbm-review-list{ grid-template-columns:1fr; }
  .kbm-rating-picker{ justify-content:center; }
  .kbm-rating-star{ font-size:31px; }
}
.kbm-rating-star.is-hover{ color:#f59e0b; }

/* KBM phone number direction fix */
.kbm-phone-ltr{
  direction:ltr;
  unicode-bidi:isolate;
  display:inline-block;
  text-align:left;
  white-space:nowrap;
  font-feature-settings:"tnum";
}

.kbm-front .kbm-phone-ltr{
  direction:ltr;
  unicode-bidi:isolate;
}

@media (max-width:620px){
  .kbm-phone-ltr{
    width:auto;
    max-width:100%;
    overflow-wrap:normal;
    word-break:normal;
  }
}

/* KBM professional business gallery */
.kbm-business-gallery{
  margin-top:22px;
  padding:18px;
  border:1px solid #e5e7eb;
  border-radius:26px;
  background:linear-gradient(180deg,#fff 0%,#f9fafb 100%);
  box-shadow:0 16px 38px rgba(15,23,42,.055);
}
.kbm-gallery-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.kbm-gallery-head h2{
  margin:7px 0 0;
  color:#111827;
  font-size:22px;
  line-height:1.45;
  font-weight:950;
}
.kbm-gallery-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 11px;
  border:1px solid #e5e7eb;
  border-radius:999px;
  background:#fff;
  color:#6b7280;
  font-size:12px;
  font-weight:950;
  white-space:nowrap;
}
.kbm-gallery-main{
  position:relative;
  display:block;
  width:100%;
  min-height:420px;
  border:0;
  border-radius:24px;
  overflow:hidden;
  background:#f3f4f6 center/cover no-repeat;
  cursor:zoom-in;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.20), 0 14px 32px rgba(15,23,42,.08);
}
.kbm-gallery-main:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0) 54%,rgba(0,0,0,.32));
  pointer-events:none;
}
.kbm-gallery-main-badge{
  position:absolute;
  inset:auto 14px 14px auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(17,24,39,.86);
  color:#fff;
  font-size:12px;
  font-weight:950;
  backdrop-filter:blur(10px);
}
.kbm-gallery-thumbs{
  display:flex;
  gap:10px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:12px 1px 2px;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
}
.kbm-gallery-thumbs::-webkit-scrollbar{ height:8px; }
.kbm-gallery-thumbs::-webkit-scrollbar-thumb{ background:#d1d5db; border-radius:999px; }
.kbm-gallery-thumb{
  appearance:none;
  flex:0 0 112px;
  width:112px;
  height:78px;
  border:2px solid transparent;
  border-radius:18px;
  background:#f3f4f6 center/cover no-repeat;
  cursor:pointer;
  scroll-snap-align:start;
  opacity:.72;
  transition:opacity .18s ease, transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.kbm-gallery-thumb:hover,
.kbm-gallery-thumb.is-active{
  opacity:1;
  border-color:#111827;
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(15,23,42,.10);
}
.kbm-lightbox{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  direction:rtl;
}
.kbm-lightbox.is-open{ display:block; }
.kbm-lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,6,23,.88);
  backdrop-filter:blur(10px);
}
.kbm-lightbox-inner{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:72px 74px 54px;
}
.kbm-lightbox-stage{
  position:relative;
  max-width:min(1100px, 100%);
  max-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:auto;
  border-radius:22px;
}
.kbm-lightbox-img{
  display:block;
  max-width:100%;
  max-height:calc(100vh - 138px);
  border-radius:22px;
  object-fit:contain;
  box-shadow:0 24px 70px rgba(0,0,0,.35);
  cursor:zoom-in;
  transition:transform .22s ease;
  transform-origin:center center;
}
.kbm-lightbox.is-zoomed .kbm-lightbox-img{
  max-width:none;
  max-height:none;
  width:auto;
  height:auto;
  transform:scale(1.65);
  cursor:zoom-out;
}
.kbm-lightbox-btn{
  position:absolute;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.20);
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  cursor:pointer;
  backdrop-filter:blur(12px);
  transition:background .18s ease, transform .18s ease;
}
.kbm-lightbox-btn:hover{ background:rgba(255,255,255,.22); transform:translateY(-1px); }
.kbm-lightbox-close{ top:18px; left:18px; width:44px; height:44px; font-size:28px; line-height:1; }
.kbm-lightbox-zoom{ top:18px; left:72px; min-width:44px; height:44px; padding:0 14px; font-size:13px; font-weight:950; }
.kbm-lightbox-prev,
.kbm-lightbox-next{ top:50%; width:52px; height:52px; margin-top:-26px; font-size:38px; line-height:1; }
.kbm-lightbox-prev{ right:18px; }
.kbm-lightbox-next{ left:18px; }
.kbm-lightbox-counter{
  position:absolute;
  z-index:2;
  right:18px;
  top:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:13px;
  font-weight:950;
  backdrop-filter:blur(12px);
}
body.kbm-lightbox-open{ overflow:hidden; }

@media (max-width:720px){
  .kbm-business-gallery{ padding:14px; border-radius:22px; }
  .kbm-gallery-head{ align-items:flex-start; }
  .kbm-gallery-head h2{ font-size:19px; }
  .kbm-gallery-main{ min-height:260px; border-radius:20px; }
  .kbm-gallery-main-badge{ inset:auto 10px 10px auto; font-size:11px; padding:7px 10px; }
  .kbm-gallery-thumb{ flex-basis:86px; width:86px; height:64px; border-radius:15px; }
  .kbm-lightbox-inner{ padding:70px 12px 58px; }
  .kbm-lightbox-stage{ width:100%; border-radius:18px; }
  .kbm-lightbox-img{ max-height:calc(100vh - 160px); border-radius:18px; }
  .kbm-lightbox.is-zoomed .kbm-lightbox-img{ transform:scale(1.45); }
  .kbm-lightbox-prev,
  .kbm-lightbox-next{ top:auto; bottom:14px; width:46px; height:46px; margin-top:0; font-size:32px; }
  .kbm-lightbox-prev{ right:calc(50% - 54px); }
  .kbm-lightbox-next{ left:calc(50% - 54px); }
  .kbm-lightbox-close{ top:14px; left:14px; }
  .kbm-lightbox-zoom{ top:14px; left:66px; }
  .kbm-lightbox-counter{ top:16px; right:14px; min-height:36px; }
}
