/* Agent storefront — namespaced .stf-*, loaded alongside listings.css */

.stf-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 24px;
  margin-top: 16px;
}
.stf-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; flex-shrink: 0;
}
.stf-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stf-name { font-size: 26px; font-weight: 800; color: #0a0a0a; }
.stf-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: #4caf50;
  background: #f0fff4; border: 1px solid #b6e9c5; padding: 3px 10px; border-radius: 20px;
}
.stf-verified i { font-size: 14px; }
.stf-unverified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: #aaa;
  background: #f5f5f3; border: 1px solid #e5e5e2; padding: 3px 10px; border-radius: 20px;
}
.stf-tagline { font-size: 14px; color: #777; margin-top: 6px; }
.stf-rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: #777; }
.stf-rating strong { color: #0a0a0a; }
.stf-rating-count { color: #999; }
.stf-dot { color: #ccc; }
.stf-starrow { display: inline-flex; gap: 1px; color: #FFB400; font-size: 16px; }
.stf-starrow.sm { font-size: 13px; }
.stf-territories { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stf-terr {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: #555; background: #f5f5f3; border: 1px solid #eee;
  padding: 4px 10px; border-radius: 20px;
}
.stf-terr i { color: #FFD400; font-size: 14px; }
.stf-cta { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.stf-cta .lst-cta { margin: 0; }

.stf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.stf-stat { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 18px; text-align: center; }
.stf-stat .num { display: block; font-size: 24px; font-weight: 800; color: #0a0a0a; }
.stf-stat .lbl { display: block; font-size: 12px; color: #888; margin-top: 4px; }

.stf-card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 22px 24px; margin-top: 20px; }
.stf-section-title { font-size: 18px; font-weight: 700; color: #0a0a0a; margin: 28px 0 16px; display: flex; align-items: center; gap: 8px; }
.stf-card .stf-section-title { margin: 0 0 10px; }
.stf-count { font-size: 13px; font-weight: 700; color: #856000; background: #fffbe6; border: 1px solid #ffe066; border-radius: 20px; padding: 2px 10px; }
.stf-bio { font-size: 15px; color: #555; line-height: 1.7; }

.stf-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stf-review { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 18px; }
.stf-review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.stf-review-av {
  width: 38px; height: 38px; border-radius: 50%; background: #f5f5f3; color: #555;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.stf-review-author { font-size: 14px; font-weight: 600; color: #111; }
.stf-review-date { margin-left: auto; font-size: 12px; color: #aaa; align-self: flex-start; white-space: nowrap; }
.stf-review-text { font-size: 14px; color: #555; line-height: 1.6; }

@media (max-width: 760px) {
  .stf-header { grid-template-columns: auto 1fr; gap: 16px; padding: 18px; }
  .stf-cta { grid-column: 1 / -1; flex-direction: row; min-width: 0; }
  .stf-cta .lst-cta { flex: 1; }
  .stf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stf-reviews { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 430px) {
  .stf-name { font-size: 22px; }
  .stf-avatar { width: 64px; height: 64px; font-size: 24px; }
}

/* KEY PLAYERS — category tiles + person cards */
.kp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.kp-tile {
  display: block; background: #fff; border: 1px solid #eee; border-radius: 14px;
  padding: 24px; text-decoration: none; transition: border-color 0.15s, transform 0.15s;
}
.kp-tile:hover { border-color: #FFD400; transform: translateY(-2px); }
.kp-tile i.kp-tile-ico { font-size: 30px; color: #FFD400; display: block; margin-bottom: 12px; }
.kp-tile-title { font-size: 17px; font-weight: 700; color: #0a0a0a; margin-bottom: 6px; }
.kp-tile-desc { font-size: 13px; color: #777; line-height: 1.5; }

.kp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.kp-card {
  display: block; background: #fff; border: 1px solid #eee; border-radius: 14px;
  padding: 20px; text-decoration: none; color: inherit; transition: border-color 0.15s;
}
.kp-card:hover { border-color: #FFD400; }
.kp-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.kp-card-name { font-size: 15px; font-weight: 700; color: #0a0a0a; }
.kp-card-tagline { font-size: 12px; color: #888; margin-top: 2px; }
.kp-card-terr { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

@media (max-width: 900px) {
  .kp-tiles, .kp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .kp-tiles, .kp-grid { grid-template-columns: 1fr; }
}

/* Yellow "Register as a professional" button — MODIFICATION 2, items 13 & 14. */
.pro-register-bar { display: flex; justify-content: flex-end; margin: 18px 0 4px; }
.pro-register-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFD400; color: #0a0a0a; font-weight: 700; font-size: 14px;
  padding: 11px 20px; border-radius: 9px; text-decoration: none;
  border: 1px solid #e6be00; transition: background .18s, transform .18s;
}
.pro-register-btn:hover { background: #ffdf33; transform: translateY(-1px); }
.pro-register-btn i { font-size: 18px; }

/* Private-documents note on a professional profile — MODIFICATION 2, item 15. */
.stf-doc-note {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 14px;
  font-size: 12.5px; color: #777; line-height: 1.5;
  background: #f7f8fa; border: 1px solid #eceef1; border-radius: 9px; padding: 11px 13px;
}
.stf-doc-note i { color: #0a8f3c; font-size: 15px; margin-top: 1px; flex-shrink: 0; }
