.upload-box{border:1px dashed #b6d2cc;border-radius:12px;padding:12px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#f8fbfa}.upload-box>input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.upload-box>.thumb-row{width:100%}.new-thumb{display:flex;flex-direction:column;gap:4px;max-width:145px}.new-thumb small{overflow-wrap:anywhere;line-height:1.4}.new-thumb .btn{padding:3px 8px;min-height:0}.contact-edit,.catalog-edit{border:1px solid var(--line);border-radius:16px;padding:18px;margin:12px 0;background:#f9fbfa}.catalog-edit[hidden]{display:none}.cover-preview{width:100%;max-height:230px;object-fit:cover;border-radius:12px}.profile-banner.custom-cover{padding:0;overflow:hidden}.profile-banner.custom-cover img{width:100%;height:100%;object-fit:cover;display:block}.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.product-item{border:1px solid var(--line);border-radius:16px;padding:15px;background:#fff}.product-item img{width:100%;height:155px;object-fit:cover;border-radius:10px}.product-item h3{margin:8px 0} .password-wrap{position:relative;width:100%;min-width:0}.password-wrap>input{width:100%;padding-right:14px;padding-left:44px;direction:ltr;text-align:left}.password-wrap>.password-eye{position:absolute;left:4px;top:50%;transform:translateY(-50%);width:38px;height:38px;margin:0;padding:0;border:0;background:transparent;color:var(--muted,#607788);display:grid;place-items:center;cursor:pointer;border-radius:8px}.password-eye svg{width:18px;height:18px}.password-eye:hover{color:var(--green,#0C947B)}.password-eye:focus-visible{outline:2px solid #0C947B;outline-offset:1px}.profile-gallery a{display:block}.profile-gallery img{width:100%}.search-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.search-tabs a{padding:8px 15px;border:1px solid var(--line);border-radius:9px}.search-tabs a.current{background:var(--navy);color:white}.public-product-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.public-product-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}

.profile-banner.custom-cover{height:clamp(150px,22vw,330px)}

.opportunity-links{margin-top:40px}.opportunity-links .section-head{margin-bottom:18px}.opportunity-link{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:16px;background:white;padding:18px;color:var(--navy);text-decoration:none}.opportunity-link strong,.opportunity-link small{display:block}.opportunity-link small{color:var(--muted);margin-top:3px}.opportunity-symbol{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#E1F2EC;color:#0C947B;font-size:23px}.opportunity-symbol.supply{background:#EAF0F5;color:#10253B}.opportunity-action{margin-inline-start:auto;color:#0C947B;font-weight:700;white-space:nowrap}.opportunity-note{margin-top:12px}.opportunity-link:hover{border-color:#0C947B}.search-box select[name=city]{max-width:210px;min-width:0}@media(max-width:700px){.search-box select[name=city]{max-width:none;flex:1 1 40%}.opportunity-link{gap:9px;padding:14px}.opportunity-action{font-size:12px}}

/* Home steps: use the existing self-hosted Persian font, not Arial. */
body[data-page="index"] .step-no {
  font-family: Vazirmatn, Tahoma, 'Noto Sans Arabic', sans-serif;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  font-variant-numeric: normal;
}
