/* ==========================================
   کسب‌چی | استایل یکپارچه سایت
   طراحی دایرکتوری مشاغل، فارسی و واکنش‌گرا
   ========================================== */

:root {
  --forest: #173b57;
  --forest-deep: #102b40;
  --green: #109d96;
  --green-bright: #20b8b0;
  --mint: #e3f4f3;
  --cream: #f3f7fa;
  --paper: #ffffff;
  --ink: #253746;
  --muted: #6b7d8a;
  --line: #dce6ec;
  --gold: #d4b477;
  --shadow: 0 12px 32px rgba(23, 59, 87, .07);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.9;
}

body,
input,
select,
textarea,
button {
  font-family: Tahoma, Arial, sans-serif;
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

::selection {
  background: #c9efeb;
  color: var(--forest-deep);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(32, 184, 176, .4);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

/* =========================
   سربرگ و منوی سایت
   ========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 12px max(4.5%, calc((100% - 1280px) / 2));
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 15px rgba(23, 59, 87, .025);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: #fff;
  background: var(--forest);
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 5px 13px rgba(23, 59, 87, .16);
}

.logo-name {
  color: var(--forest);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.6px;
}

.logo-dot,
.about-mark span {
  color: var(--green-bright);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a,
.header-login {
  color: #536979;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s;
}

.main-nav a:hover,
.header-login:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-header {
  color: #fff;
  background: var(--green);
}

.btn-header:hover {
  background: #087e78;
  box-shadow: 0 7px 17px rgba(14, 153, 146, .18);
}

/* =========================
   بخش اصلی و جست‌وجوی سایت
   ========================= */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: 52px;
  max-width: 1360px;
  min-height: 560px;
  margin: 0 auto;
  padding: 65px 6% 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 83% 20%,
      rgba(32, 184, 176, .10), transparent 29%),
    radial-gradient(circle at 16% 90%,
      rgba(23, 59, 87, .06), transparent 29%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px;
  border: 1px solid #cdebe8;
  border-radius: 30px;
  color: var(--forest);
  background: #f0fbfa;
  font-size: 11px;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(32, 184, 176, .12);
}

.hero h1 {
  margin: 21px 0 14px;
  color: var(--forest-deep);
  font-size: clamp(36px, 4.1vw, 58px);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: -1.2px;
}

.hero h1 span {
  color: var(--green);
}

.hero-description {
  max-width: 550px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2.3;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 620px;
  margin-top: 25px;
  padding: 7px;
  border: 1px solid #d7e4ea;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 59, 87, .08);
}

.search-icon {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  flex-shrink: 0;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}

.hero-search input {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 8px 0;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
}

.hero-search input:focus {
  box-shadow: none;
}

.hero-search input::placeholder {
  color: #93a2ab;
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 43px;
  flex-shrink: 0;
  padding: 9px 17px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 700;
  transition: background .2s;
}

.search-submit:hover {
  background: #087e78;
}

.hero-quick {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
}

.hero-quick button {
  padding: 4px 10px;
  border: 1px solid #dce7ec;
  border-radius: 20px;
  color: #536979;
  background: #fff;
  font-size: 10px;
  transition: all .2s;
}

.hero-quick button:hover {
  color: var(--green);
  border-color: #8bd4ce;
  background: #f0fbfa;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.trust-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--green);
  background: var(--mint);
  font-size: 16px;
  font-weight: 700;
}

.hero-trust strong,
.hero-trust span {
  display: block;
}

.hero-trust strong {
  color: var(--forest);
  font-size: 11px;
}

.hero-trust span {
  color: var(--muted);
  font-size: 10px;
}

/* =========================
   تصویر تزئینی بخش اصلی
   ========================= */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  height: 420px;
  border: 1px solid #dce9ec;
  border-radius: 42% 42% 35% 35%;
  background:
    radial-gradient(circle at 50% 45%,
      rgba(255, 255, 255, .98), transparent 35%),
    linear-gradient(145deg, #eef8f7, #dcefee 58%, #eff4f9);
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(14, 153, 146, .17);
  border-radius: 50%;
}

.orbit-one {
  width: 280px;
  height: 280px;
}

.orbit-two {
  width: 350px;
  height: 350px;
  border-style: dashed;
  border-color: rgba(23, 59, 87, .15);
}

.visual-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 198px;
  height: 198px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 50%;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 15px 45px rgba(23, 59, 87, .09);
}

.visual-monogram {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 23px;
  color: #fff;
  background: linear-gradient(145deg, #1ab3a8, #173b57);
  box-shadow: 0 12px 27px rgba(23, 59, 87, .2);
  font-size: 44px;
  font-weight: 900;
  transform: rotate(-4deg);
}

.visual-center > span {
  margin-top: 10px;
  color: var(--forest);
  font-size: 19px;
  font-weight: 900;
}

.visual-center small {
  color: var(--muted);
  font-size: 9px;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(220, 230, 236, .98);
  border-radius: 13px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 30px rgba(23, 59, 87, .1);
}

.floating-card strong,
.floating-card small {
  display: block;
  white-space: nowrap;
}

.floating-card strong {
  color: var(--forest);
  font-size: 11px;
}

.floating-card small {
  color: var(--muted);
  font-size: 9px;
}

.floating-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  font-size: 22px;
}

.icon-home {
  color: #178f83;
  background: #e1f6f1;
}

.icon-store {
  color: #9a7540;
  background: #f7efdf;
}

.icon-pin {
  color: #5572a0;
  background: #e9eef9;
}

.floating-check {
  color: var(--green);
  font-size: 13px;
}

.floating-top {
  top: 47px;
  right: -12px;
}

.floating-left {
  top: 185px;
  left: -23px;
}

.floating-bottom {
  right: 14px;
  bottom: 43px;
}

.visual-caption {
  position: absolute;
  bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6c7e87;
  font-size: 9px;
}

.caption-star {
  color: #b18c4c;
  font-size: 16px;
}

/* =========================
   عنوان مشترک بخش‌ها
   ========================= */

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.section-kicker {
  display: inline-block;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.section-heading h2,
.register-intro h2,
.about-content h2 {
  margin: 7px 0 5px;
  color: var(--forest-deep);
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 900;
  line-height: 1.8;
  letter-spacing: -.5px;
}

.section-heading h2 span,
.register-intro h2 span {
  color: var(--green);
}

.section-heading p,
.register-intro > p,
.about-content p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 2.25;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  padding-bottom: 5px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.text-link:hover {
  color: var(--forest-deep);
}

/* =========================
   دسته‌بندی‌های مشاغل
   ========================= */

.categories-section {
  padding: 57px max(5%, calc((100% - 1250px) / 2)) 66px;
  background: #f4f8fa;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 16px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 7px 10px;
  width: 100%;
  min-width: 0;
  min-height: 106px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-align: right;
  background: #fff;
  color: var(--forest);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(23, 59, 87, .025);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: #8bd4ce;
  box-shadow: 0 10px 25px rgba(23, 59, 87, .07);
}

.category-icon {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid #d7eeeb;
  border-radius: 12px;
  background: #e8f7f5;
  color: var(--green);
  font-size: 22px;
  font-weight: 800;
}

.category-card-copy {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.category-card-copy strong {
  display: block;
  margin: 0;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.category-card-copy small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
  white-space: normal;
  overflow-wrap: anywhere;
}

.category-arrow {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6ca9a5;
  font-size: 15px;
}

.category-count {
  grid-column: 2 / 4;
  grid-row: 2;
  justify-self: start;
  display: inline-flex;
  margin: 0;
  padding: 3px 7px;
  border-radius: 6px;
  background: #f0f8f7;
  color: #56807d;
  font-size: 9px;
  line-height: 1.5;
  white-space: nowrap;
}

.category-loading {
  grid-column: 1 / -1;
  padding: 25px;
  color: var(--muted);
  text-align: center;
}

/* =========================
   جست‌وجو و فیلترها
   ========================= */

.search-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 75px 5%;
  scroll-margin-top: 90px;
}

.search-heading {
  margin-bottom: 25px;
}

.result-counter {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--muted);
  background: white;
  font-size: 11px;
}

.result-counter strong {
  color: var(--green);
  font-size: 22px;
}

.search-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  border: 1px solid #e4e9e1;
  border-radius: 12px;
  background: #f9fbfc;
}

.field-icon {
  color: var(--green);
  font-size: 30px;
  line-height: 1;
}

.search-field input {
  width: 100%;
  min-width: 0;
  min-height: 53px;
  padding: 10px 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 12px;
}

.search-field input:focus {
  box-shadow: none;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 13px;
  margin-top: 16px;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.filter-field > span {
  color: #536979;
  font-size: 10px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #dfe6ec;
  border-radius: 9px;
  outline: none;
  color: var(--ink);
  background: white;
  font-size: 12px;
  transition: border-color .2s, box-shadow .2s;
}

input::placeholder,
textarea::placeholder {
  color: #98a4ab;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 157, 150, .09);
}

.clear-filters {
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #dce7ec;
  border-radius: 9px;
  color: #536979;
  background: #fff;
  font-size: 10px;
  transition: all .2s;
}

.clear-filters:hover {
  border-color: #8bd4ce;
  color: var(--green);
  background: #f0fbfa;
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
}

.results-note {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

/* =========================
   کارت‌های کسب‌وکار
   ========================= */

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 17px;
  margin-top: 17px;
}

.business-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 5px 20px rgba(23, 59, 87, .025);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}

.business-card:hover {
  transform: translateY(-3px);
  border-color: #a5d8d3;
  box-shadow: 0 14px 35px rgba(23, 59, 87, .09);
}

.business-card[data-business-index]:focus-visible {
  outline: 3px solid #7ed5cf;
  outline-offset: 3px;
}

.business-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.business-top > div:last-child {
  min-width: 0;
}

.business-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #dceadd;
  border-radius: 14px;
  color: var(--green);
  background: #edf8f6;
  font-size: 21px;
  font-weight: 900;
}

.business-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-card h3 {
  margin: 0;
  color: var(--forest);
  font-size: 14px;
  line-height: 1.9;
}

.category-label {
  display: inline-block;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}

.location {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.business-desc {
  flex: 1;
  margin: 16px 0;
  color: #667985;
  font-size: 11px;
  line-height: 2.2;
  white-space: normal;
  overflow-wrap: anywhere;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.chip {
  padding: 4px 8px;
  border-radius: 7px;
  color: #536979;
  background: #f2f7f9;
  font-size: 10px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.card-actions a,
.card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid #dce7ec;
  border-radius: 8px;
  color: var(--green);
  background: white;
  font-size: 10px;
  font-weight: 700;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: all .2s;
}

.card-actions a:hover,
.card-actions button:hover {
  border-color: #a5d8d3;
  background: #f0fbfa;
}

.card-actions .call {
  border-color: var(--forest);
  color: white;
  background: var(--forest);
}

.card-actions .call:hover {
  border-color: var(--green);
  background: var(--green);
}

.empty {
  grid-column: 1 / -1;
  padding: 34px 20px;
  border: 1px dashed #d8e6ec;
  border-radius: 15px;
  color: var(--muted);
  background: #f8fbfc;
  text-align: center;
  font-size: 12px;
}

/* =========================
   بنر معرفی برای صاحبان مشاغل
   ========================= */

.owner-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1220px;
  margin: 0 auto 75px;
  padding: 30px 35px;
  border: 1px solid #214e64;
  border-radius: 22px;
  color: white;
  background:
    radial-gradient(circle at 10% 0%,
      rgba(32, 184, 176, .27), transparent 32%),
    linear-gradient(115deg, #102b40, #174f5a);
  box-shadow: 0 18px 40px rgba(16, 57, 72, .12);
}

.owner-emblem {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 17px;
  color: #fff;
  background: rgba(32, 184, 176, .25);
  font-size: 30px;
}

.owner-copy {
  flex: 1;
  min-width: 0;
}

.owner-copy .section-kicker {
  color: #76dcd5;
}

.owner-copy h2 {
  margin: 4px 0;
  color: white;
  font-size: 21px;
  line-height: 1.8;
}

.owner-copy p {
  margin: 0;
  color: #d0e1e7;
  font-size: 11px;
  line-height: 2;
}

.owner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 45px;
  padding: 11px 17px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  color: white;
  background: var(--green);
  font-size: 11px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}

.owner-button:hover {
  transform: translateY(-2px);
  background: #087e78;
}

/* =========================
   فرم ثبت کسب‌وکار
   ========================= */

.register-section {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 55px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 30px 35px 85px;
  scroll-margin-top: 90px;
}

.register-intro {
  position: sticky;
  top: 120px;
  padding-top: 20px;
}

.register-intro h2 {
  font-size: clamp(25px, 3vw, 35px);
}

.register-intro > p {
  max-width: 370px;
}

.register-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.register-benefits div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #526979;
  font-size: 11px;
}

.register-benefits div span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  border-radius: 8px;
  color: var(--green);
  background: var(--mint);
  font-weight: 700;
}

.form-card {
  min-width: 0;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.form-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf0f3;
}

.form-card-heading h3 {
  margin: 0;
  color: var(--forest);
  font-size: 17px;
}

.form-card-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.form-step {
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--forest);
  background: var(--mint);
  font-size: 10px;
  white-space: nowrap;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  color: #4a5c68;
  font-size: 11px;
  font-weight: 700;
}

.form-grid label > span {
  color: #c45d4e;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid textarea {
  min-height: 115px;
  resize: vertical;
  line-height: 2;
}

.form-grid small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.form-grid input[type="file"] {
  padding: 9px;
  font-size: 11px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 23px;
}

.btn-submit {
  min-height: 47px;
  padding: 12px 20px;
  color: white;
  background: var(--green);
}

.btn-submit:hover {
  background: #087e78;
  box-shadow: 0 7px 18px rgba(16, 157, 150, .15);
}

.btn-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.form-note {
  color: var(--muted);
  font-size: 10px;
}

#form-message,
#admin-message {
  margin-top: 14px;
  color: var(--green);
  font-size: 12px;
  overflow-wrap: anywhere;
}

#form-message.error {
  color: #b42318;
}

#form-message:empty,
#admin-message:empty {
  display: none;
}

/* =========================
   ارتباط با ما
   ========================= */

.contact-section {
  padding: 60px 5%;
  background: #f3f7fa;
  color: var(--ink);
}

.contact-intro {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.contact-intro h2 {
  margin: 12px 0;
  color: var(--forest);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
}

.contact-intro h2 span {
  color: var(--green);
}

.contact-intro p {
  line-height: 2;
  color: var(--muted);
  font-size: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 59, 87, .04);
}

.contact-card h3 {
  margin: 12px 0;
  color: var(--forest);
  font-size: 16px;
}

.contact-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--green);
  font-size: 24px;
}

.contact-detail {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-card a {
  color: var(--green);
}

.contact-notice {
  max-width: 1100px;
  margin: 22px auto 0;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
  line-height: 2;
}

.contact-notice strong {
  color: var(--forest);
}

/* =========================
   درباره کسب‌چی و فوتر
   ========================= */

.about-section {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 48px max(5%, calc((100% - 1220px) / 2));
  border-top: 1px solid var(--line);
  background: #f5f9fb;
}

.about-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 22px;
  color: white;
  background: var(--forest);
  font-size: 36px;
  font-weight: 900;
}

.about-content {
  flex: 1;
  min-width: 0;
}

.about-content h2 {
  font-size: 20px;
}

.about-content p {
  max-width: 820px;
  line-height: 2.2;
}

.back-top {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--green);
  background: #fff;
  font-size: 21px;
}

.back-top:hover {
  border-color: #a5d8d3;
  background: #eff9f8;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px max(5%, calc((100% - 1220px) / 2));
  border-top: 1px solid #29485d;
  color: #e4eef1;
  background: var(--forest-deep);
  font-size: 10px;
}

.footer-logo .logo-mark {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  color: #fff;
  background: var(--green);
  font-size: 17px;
}

.footer-logo .logo-name {
  color: #fff;
  font-size: 19px;
}

.footer-logo .logo-dot {
  color: var(--green-bright);
}

.footer a:not(.logo) {
  color: #d7e5e9;
}

.footer a:hover {
  color: #79ded7;
}

/* =========================
   پنل مدیریت
   ========================= */

.admin-wrap {
  max-width: 1200px;
  margin: 30px auto;
  padding: 18px;
}

.admin-card {
  margin: 18px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(23, 59, 87, .035);
}

.admin-card h1,
.admin-card h2,
.admin-card h3 {
  color: var(--forest);
}

.admin-form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.admin-form label,
#cat-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-filters input,
.admin-filters select {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.admin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.admin-button:hover {
  background: #087e78;
}

.admin-button.secondary {
  border-color: var(--line);
  background: #f0f6f8;
  color: var(--forest);
}

.admin-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 11px 0;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 11px;
}

.admin-stat {
  padding: 16px;
  border-radius: 11px;
  background: #f0f7f8;
  color: var(--forest);
}

.admin-stat strong {
  display: block;
  margin-top: 7px;
  font-size: 25px;
}

.admin-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 9px;
}

.admin-business {
  padding: 15px;
  margin: 11px 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow-wrap: anywhere;
}

.admin-business h3 {
  margin-top: 0;
}

.admin-message {
  margin: 11px 0;
}

.admin-muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

#admin-list {
  align-items: stretch;
}

#admin-list .business-card {
  height: 100%;
}

#cat-form .btn {
  margin-top: 12px;
}

/* =========================
   مدیریت عضویت و تنظیم ایمیل
   ========================= */

.membership-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.membership-admin-form {
  display: grid;
  gap: 10px;
  max-width: 620px;
}

.membership-admin-form label {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 12px;
}

.membership-admin-form input,
.membership-admin-form select {
  width: 100%;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font: inherit;
}

.membership-admin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.membership-admin-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-wrap: anywhere;
  background: white;
}

.membership-admin-item h3 {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: 16px;
}

.membership-admin-item p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.membership-admin-item form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.membership-admin-item input {
  width: 100%;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.membership-admin-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.membership-admin-line {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* =========================
   پنل صاحب کسب‌وکار
   ========================= */

.account-wrap {
  max-width: 1050px;
  margin: 28px auto;
  padding: 16px;
}

.account-card {
  margin: 15px 0;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(23, 59, 87, .035);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-form {
  display: grid;
  gap: 11px;
  max-width: 500px;
}

.account-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
}

.account-form input,
.account-form select,
.account-form textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  font: inherit;
}

.account-form textarea {
  min-height: 105px;
  resize: vertical;
}

.account-button {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--green);
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.account-button:hover {
  background: #087e78;
}

.account-button.secondary {
  border-color: var(--line);
  color: var(--forest);
  background: #f0f6f8;
}

.account-button:disabled {
  opacity: .6;
  cursor: wait;
}

.account-message {
  min-height: 22px;
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
}

.account-message.error {
  color: #b42318;
}

.account-message.success {
  color: #16704a;
}

.account-muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
}

.account-business {
  margin: 11px 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-wrap: anywhere;
}

.account-business h3 {
  margin: 0 0 8px;
  color: var(--forest);
}

.account-business p {
  margin: 5px 0;
  font-size: 12px;
  line-height: 1.9;
}

.account-pill {
  display: inline-block;
  margin: 4px 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eaf7f5;
  color: var(--forest);
  font-size: 11px;
}

.account-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 11px;
}

.account-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
   واکنش‌گرایی تبلت و لپ‌تاپ
   ========================= */

@media (min-width: 1500px) {
  .hero {
    padding-right: 75px;
    padding-left: 75px;
  }
}

@media (max-width: 1100px) {
  .header {
    padding-right: 24px;
    padding-left: 24px;
  }

  .main-nav {
    gap: 14px;
  }

  .header-actions {
    gap: 9px;
  }

  .hero {
    gap: 30px;
    padding-right: 34px;
    padding-left: 34px;
  }

  .hero-visual {
    height: 370px;
  }

  .orbit-two {
    width: 310px;
    height: 310px;
  }

  .orbit-one {
    width: 250px;
    height: 250px;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .owner-banner {
    margin-right: 24px;
    margin-left: 24px;
  }

  .register-section {
    gap: 30px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 112px;
  }

  .header {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 17px;
  }

  .logo-name {
    font-size: 21px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 18px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 0;
  }

  .main-nav a {
    flex-shrink: 0;
    font-size: 10px;
  }

  .header-actions {
    margin-right: auto;
  }

  .header-login {
    display: none;
  }

  .btn-header {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 42px 21px 48px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(34px, 8vw, 47px);
    letter-spacing: -.7px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-visual {
    width: 100%;
    max-width: 510px;
    height: 310px;
    margin: 0 auto;
  }

  .visual-center {
    width: 164px;
    height: 164px;
  }

  .visual-monogram {
    width: 65px;
    height: 65px;
    font-size: 37px;
  }

  .visual-center > span {
    font-size: 16px;
  }

  .orbit-one {
    width: 220px;
    height: 220px;
  }

  .orbit-two {
    width: 275px;
    height: 275px;
  }

  .floating-top {
    top: 20px;
    right: 0;
  }

  .floating-left {
    top: 137px;
    left: 0;
  }

  .floating-bottom {
    right: 5px;
    bottom: 27px;
  }

  .floating-card {
    padding: 8px 9px;
    gap: 7px;
  }

  .floating-icon {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .floating-card strong {
    font-size: 10px;
  }

  .floating-card small {
    font-size: 8px;
  }

  .categories-section {
    padding: 45px 20px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .section-heading h2,
  .register-intro h2 {
    font-size: 23px;
  }

  .section-heading p {
    font-size: 11px;
  }

  .text-link {
    margin-top: 7px;
    font-size: 10px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .category-card {
    min-height: 101px;
    padding: 11px;
    grid-template-columns: 39px minmax(0, 1fr) 14px;
    column-gap: 8px;
  }

  .category-icon {
    width: 39px;
    height: 39px;
    min-width: 39px;
    font-size: 19px;
  }

  .category-card-copy strong {
    font-size: 11px;
  }

  .category-card-copy small {
    font-size: 9px;
  }

  .search-section {
    padding: 48px 19px;
  }

  .search-heading {
    align-items: center;
  }

  .result-counter {
    gap: 5px;
    padding: 7px 9px;
  }

  .result-counter strong {
    font-size: 18px;
  }

  .search-panel {
    padding: 14px;
  }

  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .business-card {
    padding: 13px;
  }

  .business-top {
    align-items: flex-start;
    gap: 8px;
  }

  .business-avatar {
    width: 37px;
    height: 37px;
    border-radius: 10px;
    font-size: 16px;
  }

  .business-card h3 {
    font-size: 12px;
  }

  .business-desc {
    font-size: 10px;
  }

  .card-actions {
    gap: 5px;
  }

  .card-actions a,
  .card-actions button {
    padding: 5px 7px;
    font-size: 9px;
  }

  .owner-banner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 13px;
    margin: 0 17px 48px;
    padding: 21px;
  }

  .owner-emblem {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 23px;
  }

  .owner-copy {
    flex-basis: calc(100% - 60px);
  }

  .owner-copy h2 {
    font-size: 16px;
  }

  .owner-button {
    width: 100%;
  }

  .register-section {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 19px 55px;
  }

  .register-intro {
    position: static;
    padding-top: 0;
  }

  .register-intro > p {
    max-width: 600px;
  }

  .register-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .form-card {
    padding: 18px;
  }

  .about-section {
    align-items: flex-start;
    gap: 14px;
    padding: 32px 20px;
  }

  .about-mark {
    width: 51px;
    height: 51px;
    border-radius: 15px;
    font-size: 26px;
  }

  .about-content h2 {
    font-size: 16px;
  }

  .about-content p {
    font-size: 10px;
  }

  .back-top {
    width: 34px;
    height: 34px;
  }

  .footer {
    flex-wrap: wrap;
    padding: 18px 20px;
    font-size: 9px;
  }

  .contact-section {
    padding: 42px 20px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-wrap {
    padding: 12px;
  }

  .admin-card,
  .account-card {
    padding: 16px;
  }

  .account-grid,
  .membership-admin-list {
    grid-template-columns: 1fr;
  }

  .membership-admin-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   واکنش‌گرایی موبایل
   ========================= */

@media (max-width: 480px) {
  .header {
    padding-right: 13px;
    padding-left: 13px;
  }

  .hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-search {
    gap: 6px;
    padding: 8px;
  }

  .search-icon {
    width: 28px;
    font-size: 28px;
  }

  .hero-search input {
    font-size: 10px;
  }

  .search-submit {
    gap: 6px;
    padding: 8px 10px;
    font-size: 10px;
  }

  .hero-quick {
    gap: 5px;
  }

  .hero-visual {
    height: 270px;
  }

  .visual-center {
    width: 140px;
    height: 140px;
  }

  .visual-monogram {
    width: 55px;
    height: 55px;
    font-size: 31px;
  }

  .orbit-one {
    width: 190px;
    height: 190px;
  }

  .orbit-two {
    width: 240px;
    height: 240px;
  }

  .floating-card {
    max-width: 160px;
  }

  .floating-top {
    top: 12px;
  }

  .floating-left {
    top: 118px;
  }

  .floating-bottom {
    bottom: 19px;
  }

  .visual-caption {
    bottom: 2px;
    font-size: 8px;
  }

  .categories-section,
  .search-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .section-heading {
    flex-wrap: wrap;
  }

  .section-heading h2 {
    font-size: 21px;
  }

  .text-link {
    margin-top: 0;
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .business-card {
    padding: 17px;
  }

  .business-top {
    align-items: center;
  }

  .business-card h3 {
    font-size: 14px;
  }

  .business-desc {
    font-size: 11px;
  }

  .results-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .register-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .register-benefits {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid label.full {
    grid-column: auto;
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-submit {
    width: 100%;
  }

  .form-note {
    line-height: 1.9;
  }

  .about-section {
    flex-wrap: wrap;
  }

  .about-content {
    flex-basis: calc(100% - 68px);
  }

  .back-top {
    margin-right: auto;
  }

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

  .contact-section {
    padding: 38px 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 19px;
  }

  .business-details-overlay {
    padding: 10px;
  }

  .business-details-dialog {
    padding: 17px;
    border-radius: 17px;
  }

  .business-details-heading {
    gap: 10px;
  }

  .business-details-avatar {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .business-details-title {
    font-size: 17px;
  }

  .business-details-info {
    grid-template-columns: 1fr;
  }
}

/* رعایت تنظیم کاهش حرکت در دستگاه کاربر */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
/* ===== بازطراحی ظاهری کسب‌چی ===== */

/* پس‌زمینه عمومی */
body {
  background: #f4f8fb !important;
  color: #253746;
}

.header {
  background: #ffffff !important;
  color: #173b57 !important;
  border-bottom: 1px solid #dce6ec !important;
  box-shadow: 0 3px 18px rgba(23, 59, 87, .06);
}

/* سربرگ */
.header .logo-name,
.header .header-login {
  color: #173b57 !important;
}

.header .logo-mark {
  background: #173b57 !important;
}

.header .btn-header {
  background: #109d96 !important;
  border-color: #109d96 !important;
  color: #ffffff !important;
  border-radius: 9px;
}

/* بخش بزرگ جست‌وجو */
.hero {
  max-width: 1320px;
  margin: 22px auto 0;
  padding: 54px 5%;
  min-height: 490px;
  border: 1px solid #deeaee;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 10%,
      rgba(32, 184, 176, .17), transparent 32%),
    linear-gradient(120deg, #ffffff, #edf8fa);
}

.hero h1 {
  color: #173b57 !important;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.7;
}

.hero h1 span {
  color: #109d96 !important;
}

.hero-description {
  color: #637985 !important;
}

.hero-badge {
  border-color: #cce8e6;
  background: #e9f8f6;
  color: #173b57;
}

.hero-search {
  border: 1px solid #cfdfE7;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(23, 59, 87, .09);
}

.search-submit {
  background: #109d96 !important;
  border-radius: 9px;
}

.search-submit:hover {
  background: #087e78 !important;
}

/* تصویر تزئینی */
.hero-visual {
  border: 1px solid #cfe5e8;
  border-radius: 25px;
  background:
    radial-gradient(circle at center,
      #ffffff 0%, #e2f4f3 43%, #d5e8f0 100%);
}

.visual-center {
  border: 1px solid #d6e8e9;
  box-shadow: 0 18px 44px rgba(23, 59, 87, .13);
}

.visual-monogram {
  background: linear-gradient(145deg, #20b8b0, #173b57);
}

/* دسته‌بندی‌ها */
.categories-section {
  margin-top: 35px;
  background: #f4f8fb !important;
}

#categories .section-heading h2,
#search .section-heading h2 {
  color: #173b57;
}

#categories .section-heading h2 span,
#search .section-heading h2 span {
  color: #109d96;
}

/* کارت دسته‌بندی؛ اولویت بالاتر برای استایل تولیدشده در app.js */
#categories #category-grid > .category-card {
  min-height: 116px !important;
  border: 1px solid #dbe7ed !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(23, 59, 87, .045) !important;
}

#categories #category-grid > .category-card:hover {
  border-color: #72c9c3 !important;
  background: #f6fcfc !important;
  box-shadow: 0 10px 25px rgba(23, 59, 87, .09) !important;
}

#categories #category-grid .category-icon {
  border-color: #cdeae7 !important;
  border-radius: 11px !important;
  background: #e6f7f5 !important;
  color: #109d96 !important;
}

/* پنل جست‌وجو */
.search-section {
  max-width: 1320px;
}

.search-panel {
  border: 1px solid #dce6ec;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(23, 59, 87, .055);
}

.search-field {
  border-radius: 10px;
  background: #f7fafc;
}

.filter-field select,
.search-field input {
  border-color: #d7e3e9;
}

/* کارت‌های کسب‌وکار */
.business-grid {
  gap: 15px;
}

.business-card {
  border: 1px solid #dce6ec;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(23, 59, 87, .035);
}

.business-card:hover {
  border-color: #83cec8;
  box-shadow: 0 12px 28px rgba(23, 59, 87, .085);
}

.business-avatar {
  border-color: #cfe9e6;
  background: #e9f8f6;
  color: #109d96;
}

.category-label,
.text-link,
.field-icon {
  color: #109d96;
}

.chip {
  background: #f0f7fa;
  color: #506b7c;
}

.card-actions .call {
  background: #109d96;
  border-color: #109d96;
}

/* دعوت از صاحبان مشاغل */
.owner-banner {
  border-radius: 17px;
  background:
    radial-gradient(circle at 10% 0%,
      rgba(32, 184, 176, .25), transparent 35%),
    linear-gradient(115deg, #102b40, #174f5a);
}

/* فرم ثبت */
.form-card {
  border: 1px solid #dce6ec;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(23, 59, 87, .06);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: #109d96;
  box-shadow: 0 0 0 3px rgba(16, 157, 150, .09);
}

.btn-submit {
  background: #109d96;
  border-color: #109d96;
}

/* نمایش موبایل */
@media (max-width: 760px) {
  .hero {
    margin: 12px 12px 0;
    padding: 28px 17px;
    border-radius: 17px;
  }

  .categories-section {
    margin-top: 20px;
  }

  .hero-visual {
    border-radius: 19px;
  }
}

/* نمایش گزینه صاحب کسب‌وکار در موبایل */
@media (max-width: 760px) {
  .header-login {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 9px;
    border: 1px solid #dce6ec;
    border-radius: 9px;
    background: #f0fbfa;
    color: #173b57 !important;
    font-size: 10px;
    white-space: nowrap;
  }

  .header-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-right: auto;
  }
}


/* کسب‌چی | خوانایی بهتر موبایل - افزوده‌شده روی استایل فعلی */
@media (max-width: 760px) {
  body { font-size: 16px !important; line-height: 1.95 !important; }

  .logo-name { font-size: 22px !important; font-weight: 900 !important; }
  .main-nav a { font-size: 12px !important; font-weight: 800 !important; }
  .btn, .btn-header, .header-login { font-size: 12px !important; font-weight: 800 !important; }

  .hero-badge { font-size: 12px !important; font-weight: 800 !important; }
  .hero h1 { font-size: clamp(32px, 8.3vw, 43px) !important; line-height: 1.55 !important; font-weight: 900 !important; }
  .hero-description { font-size: 15px !important; line-height: 2.1 !important; font-weight: 500 !important; }
  .hero-search input { font-size: 15px !important; font-weight: 500 !important; }
  .hero-search input::placeholder { font-size: 14px !important; }
  .search-submit { font-size: 13px !important; font-weight: 800 !important; }
  .hero-quick, .hero-quick button { font-size: 12px !important; font-weight: 700 !important; }
  .hero-trust strong { font-size: 13px !important; font-weight: 900 !important; }
  .hero-trust span { font-size: 12px !important; line-height: 1.8 !important; }
  .floating-card strong { font-size: 12px !important; }
  .floating-card small { font-size: 10px !important; }

  .section-heading h2,
  .register-intro h2,
  .about-content h2,
  #categories .section-heading h2,
  #search .section-heading h2 { font-size: clamp(24px, 6vw, 28px) !important; line-height: 1.7 !important; font-weight: 900 !important; }
  .section-heading p,
  .register-intro > p,
  .about-content p { font-size: 14px !important; line-height: 2.1 !important; font-weight: 500 !important; }
  .text-link { font-size: 12px !important; font-weight: 800 !important; }

  .category-grid { gap: 10px !important; }
  #categories #category-grid > .category-card,
  .category-card { min-height: 116px !important; padding: 12px !important; }
  #categories #category-grid .category-icon,
  .category-icon { width: 42px !important; height: 42px !important; min-width: 42px !important; font-size: 21px !important; }
  .category-card-copy { gap: 4px !important; }
  .category-card-copy strong { font-size: clamp(13px, 3.55vw, 15px) !important; font-weight: 900 !important; line-height: 1.75 !important; }
  .category-card-copy small { font-size: 11px !important; font-weight: 600 !important; line-height: 1.8 !important; }
  .category-count { font-size: 10.5px !important; font-weight: 700 !important; }

  .search-heading { gap: 10px !important; }
  .result-counter { font-size: 12px !important; }
  .result-counter strong { font-size: 20px !important; font-weight: 900 !important; }
  .search-panel { padding: 15px !important; }
  .filter-field label, .search-panel label { font-size: 13px !important; font-weight: 800 !important; line-height: 1.9 !important; }
  .filter-field select, .search-field input,
  .search-panel input, .search-panel select, .search-panel textarea,
  .form-card input, .form-card select, .form-card textarea { font-size: 15px !important; line-height: 1.7 !important; }
  .filter-field select, .search-field input,
  .form-card input, .form-card select { min-height: 44px !important; }

  .business-card h3 { font-size: 16px !important; line-height: 1.8 !important; font-weight: 900 !important; }
  .category-label { font-size: 12px !important; font-weight: 800 !important; }
  .location { font-size: 12px !important; line-height: 1.9 !important; }
  .business-desc { font-size: 14px !important; line-height: 2.05 !important; font-weight: 500 !important; }
  .chip { font-size: 12px !important; line-height: 1.7 !important; }
  .card-actions a, .card-actions button { min-height: 40px !important; padding: 7px 10px !important; font-size: 12px !important; font-weight: 800 !important; }

  .owner-copy h2 { font-size: 19px !important; line-height: 1.8 !important; font-weight: 900 !important; }
  .owner-copy p, .owner-copy li, .owner-banner p { font-size: 14px !important; line-height: 2.05 !important; }
  .owner-button, .btn-submit { font-size: 14px !important; font-weight: 900 !important; min-height: 45px !important; }
  .register-benefits, .register-benefits * { font-size: 13px !important; line-height: 1.9 !important; }
  .form-card label { font-size: 13px !important; font-weight: 800 !important; line-height: 1.9 !important; }
  .form-card button { font-size: 14px !important; font-weight: 900 !important; }

  .contact-card h3, .contact-card strong { font-size: 15px !important; font-weight: 900 !important; }
  .contact-detail { font-size: 14px !important; line-height: 1.9 !important; }
  .contact-notice { font-size: 13px !important; line-height: 2.1 !important; }
  .about-content h2 { font-size: 18px !important; }
  .about-content p { font-size: 14px !important; }
  .footer { font-size: 12px !important; line-height: 2 !important; }
}

/* گوشی‌های باریک: حفظ فضای کافی برای متن */
@media (max-width: 560px) {
  .business-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .business-card { padding: 15px !important; }
  .business-top { gap: 10px !important; }
  .business-avatar { width: 44px !important; height: 44px !important; font-size: 19px !important; }
  .business-card h3 { font-size: 17px !important; }
  .business-desc { font-size: 14px !important; }
  .card-actions { gap: 8px !important; }
  .card-actions a, .card-actions button { flex: 0 0 auto; }
}

@media (max-width: 380px) {
  .header { padding-right: 10px !important; padding-left: 10px !important; }
  .header-actions { gap: 5px !important; }
  .btn-header, .header-login { padding: 6px 8px !important; font-size: 11px !important; }
  .category-card { grid-template-columns: 35px minmax(0, 1fr) 12px !important; column-gap: 7px !important; padding: 9px !important; }
  .category-icon { width: 35px !important; height: 35px !important; min-width: 35px !important; }
  .category-card-copy strong { font-size: 13px !important; }
  .category-card-copy small { font-size: 10.5px !important; }
}

