@font-face {
  font-family: "GlobalBoardNotoCondensed";
  src: url("../fonts/NotoSans_Condensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eef5ff;
  --sky: #0ea5e9;
  --green: #10b981;
  --red: #ef4444;
  --text: #172033;
  --muted: #667085;
  --line: #e5eaf2;
  --soft: #f6f8fb;
  --card: #ffffff;
  --shadow: 0 14px 36px rgba(16, 24, 40, .08);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "GlobalBoardNotoCondensed", "Noto Sans", "Segoe UI", Arial, sans-serif;
  background: var(--soft);
  color: var(--text);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  min-width: 0;
  font: inherit;
}
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 8px clamp(14px, 3vw, 42px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
}
.dot { color: var(--blue); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #46556f;
  font-weight: 750;
}
.main-nav a:hover { color: var(--blue); }
.nav-dropdown {
  position: relative;
}
.nav-dropbtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #46556f;
  cursor: pointer;
  font-weight: 800;
}
.nav-dropbtn:hover { color: var(--blue); }
.category-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 6px;
  min-width: 420px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.category-menu.is-open,
.nav-dropdown:hover .category-menu {
  display: grid;
}
.category-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border-radius: var(--radius);
  color: #26344d;
}
.category-menu a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}
.category-menu i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: var(--radius);
  background: var(--soft);
  font-style: normal;
}
.category-menu span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.lang-select,
.role-select {
  height: 38px;
  max-width: 132px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 9px;
  background: #fff;
  color: #42506a;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-switch {
  display: flex;
  padding: 3px;
  background: var(--blue-soft);
  border-radius: 999px;
}
.lang-switch button {
  min-width: 38px;
  border: 0;
  border-radius: 999px;
  padding: 7px 9px;
  background: transparent;
  color: #53627a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}
.lang-switch .is-active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(37, 99, 235, .12);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: var(--radius);
  padding: 9px 13px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform .16s, box-shadow .16s, background .16s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .2);
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-accent {
  background: var(--text);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--blue);
}
.btn-soft, .btn-ghost {
  background: var(--blue-soft);
  color: var(--blue);
}
.auth-button {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.wide { width: 100%; }

.header-actions .btn,
.seller-actions .btn,
.review-actions .btn,
.inline-actions .btn,
.profile-settings-form .btn,
.chat-form .btn,
.review-form .btn,
.ad-banner a,
.store-badge,
.service-tile,
.mobile-nav a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions .btn,
.ad-banner a,
.store-badge,
.mobile-nav small {
  white-space: nowrap;
}

.seller-actions .btn,
.review-actions .btn,
.inline-actions .btn,
.profile-settings-form .btn,
.chat-form .btn,
.review-form .btn,
.home-sidebar .app-promo .btn {
  white-space: normal;
  overflow-wrap: anywhere;
}

.mobile-nav small {
  display: block;
  max-width: 58px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 14px;
  padding: 18px clamp(14px, 3vw, 42px) 14px;
  background:
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-bg { display: none; }
.hero-content {
  min-width: 0;
  max-width: 1040px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1 {
  max-width: 820px;
  margin: 8px 0 8px;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}
h2 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}
.hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.search-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, .7fr) minmax(150px, .7fr) auto;
  gap: 8px;
  margin-top: 14px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
label span {
  display: block;
  margin-bottom: 7px;
  color: #53627a;
  font-size: 13px;
  font-weight: 850;
}
.search-panel input,
.search-panel select,
.filters input,
.filters select,
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  outline: none;
}
.search-panel input,
.search-panel select {
  height: 42px;
  padding: 0 11px;
}
.search-panel input:focus,
.search-panel select:focus,
.filters input:focus,
.filters select:focus,
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: #b6cdfb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}
.search-panel button {
  height: 42px;
  align-self: end;
}
.market-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 100%;
  margin-top: 16px;
}
.chip {
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  padding: 9px 12px;
  background: var(--blue-soft);
  color: #2454bd;
  font-size: 14px;
  font-weight: 800;
}
.hero-card {
  align-self: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}
.hero-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.2;
}
.hero-card p {
  margin: 0 0 12px;
  color: var(--muted);
}
.hero-card b {
  color: var(--blue);
  font-size: 24px;
}
.app-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
  padding-top: 18px;
}
.app-promo {
  display: grid;
  gap: 12px;
  align-content: center;
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(135deg, #16a34a, #34d399);
  color: #fff;
}
.app-promo strong {
  max-width: 220px;
  font-size: 26px;
  line-height: 1.2;
}
.app-promo p { margin: 0; }
.store-badge {
  display: inline-flex;
  width: max-content;
  border-radius: 7px;
  padding: 9px 14px;
  background: #111827;
  color: #fff;
  font-weight: 900;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.feature-list div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .05);
}
.feature-list b {
  color: var(--green);
  font-size: 22px;
}
.feature-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.section,
.page-wrap {
  padding: 24px clamp(14px, 3vw, 42px);
}
.compact-section { padding-top: 30px; }
.section-head,
.page-hero.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.text-link {
  color: var(--blue);
  font-weight: 900;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.category-grid.large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.category-card,
.ad-card,
.filters,
.form-card,
.profile-menu,
.product-info,
.gallery,
.profile-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 26px rgba(16, 24, 40, .05);
}
.category-card {
  padding: 12px;
  transition: border-color .16s, transform .16s, box-shadow .16s;
}
.category-card:hover {
  border-color: #bfd5ff;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.category-card i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  font-size: 22px;
  font-style: normal;
}
.category-card strong {
  display: block;
  margin: 12px 0 4px;
  line-height: 1.2;
}
.category-card span {
  color: var(--muted);
  font-size: 14px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ad-card {
  position: relative;
  overflow: hidden;
}
.ad-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #dbe5f3;
}
.ad-body { padding: 11px; }
.ad-card h3 {
  min-height: 42px;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.32;
}
.price {
  color: var(--blue);
  font-size: 19px;
  font-weight: 950;
}
.meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #98a2b3;
  cursor: pointer;
  font-size: 18px;
}
.fav.is-active { color: var(--red); }
.ad-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed #b9c7d8;
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 8px clamp(14px, 3vw, 42px) 34px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: #fff;
}
.cta-band h2 { margin: 0 0 7px; }
.cta-band p {
  margin: 0;
  color: #e9f4ff;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(14px, 3vw, 42px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.page-hero {
  padding: 4px 0 14px;
}
.page-hero h1 {
  margin-top: 8px;
  color: var(--text);
  font-size: clamp(28px, 4.5vw, 42px);
}
.page-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.listing-layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 14px;
}
.filters,
.form-card,
.profile-menu,
.product-info,
.gallery,
.profile-content {
  padding: 14px;
}
.filters {
  position: sticky;
  top: 88px;
  height: max-content;
}
.filters h2 {
  margin: 0 0 16px;
  font-size: 22px;
}
.filters label,
.form-card label {
  display: block;
  margin-bottom: 13px;
}
.filters input,
.filters select,
.form-card input,
.form-card select,
.form-card textarea {
  padding: 10px 11px;
}
.price-row,
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mobile-filter { display: none; }

.product-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 20px;
}
.gallery-main {
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  object-fit: cover;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.thumbs img {
  height: 84px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  object-fit: cover;
}
.thumbs img.is-active { border-color: var(--blue); }
.product-info h1 {
  margin: 8px 0 12px;
  color: var(--text);
  font-size: clamp(30px, 4vw, 42px);
}
.seller-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--soft);
}
.seller-box p {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.seller-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.related { margin-top: 30px; }
.narrow {
  max-width: 900px;
  margin: auto;
}
.form-note {
  margin: 14px 0 0;
  color: var(--blue);
  font-weight: 850;
}

.profile-layout {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 14px;
}
.profile-menu { height: max-content; }
.avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-size: 23px;
  font-weight: 950;
}
.profile-menu h1 {
  margin: 14px 0 4px;
  color: var(--text);
  font-size: 24px;
}
.profile-menu p {
  margin: 0 0 18px;
  color: var(--muted);
}
.profile-menu a {
  display: block;
  padding: 9px 11px;
  border-radius: var(--radius);
  color: #42506a;
  font-weight: 800;
}
.profile-menu a.is-active,
.profile-menu a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.stats-grid div {
  border-radius: var(--radius);
  padding: 12px;
  background: var(--soft);
}
.stats-grid b {
  display: block;
  font-size: 24px;
}
.stats-grid span { color: var(--muted); }
.manual-city { display: none; }
.manual-city.is-visible { display: block; }
.badge-pending { background: #f59e0b; }
.review-list {
  display: grid;
  gap: 12px;
}
.review-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .05);
}
.review-card img {
  width: 128px;
  height: 92px;
  border-radius: var(--radius);
  object-fit: cover;
}
.review-card h3 {
  margin: 6px 0;
  font-size: 18px;
}
.review-card p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.45;
}
.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.review-actions {
  display: grid;
  gap: 8px;
  min-width: 130px;
}
.auth-page {
  max-width: 980px;
  margin: auto;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.auth-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}
.verify-card {
  display: none;
}
.verify-card.is-visible {
  display: block;
}
.auth-help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}
.auth-help strong,
.auth-help span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
}
.form-note.is-error {
  color: var(--red);
}
.admin-console {
  display: grid;
  gap: 14px;
}
.admin-block,
.mini-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
}
.admin-block.compact { margin: 10px 0; }
.admin-block h2,
.mini-panel h3 {
  margin: 0 0 12px;
  font-size: 18px;
}
.form-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.switch-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
}
.switch-row input {
  width: auto;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.service-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-editor,
.service-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px;
  background: var(--soft);
}
.service-tile {
  text-align: left;
  cursor: pointer;
}
.service-tile strong,
.service-tile span {
  display: block;
}
.service-tile span,
.company-card span,
.section-head.compact span {
  color: var(--muted);
  font-size: 13px;
}
.account-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.profile-settings-form,
.chat-form,
.review-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 8px;
}
.chart-wrap {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 110px;
}
.chart-wrap span {
  position: relative;
  flex: 1;
  min-width: 5px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--blue) var(--views), #d8e6ff var(--views));
}
.chart-wrap span::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 0;
  height: var(--phones);
  border-radius: 4px 4px 0 0;
  background: #10b981;
}
.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 7px 0;
}
.service-badges span {
  border-radius: 999px;
  padding: 4px 7px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}
.ad-card.is-highlighted {
  border-color: #facc15;
  background: #fffdf2;
}
.ad-card.is-premium {
  box-shadow: 0 18px 40px rgba(37, 99, 235, .16);
}
.product-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
  color: var(--muted);
  font-weight: 800;
}
.company-card {
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 10px;
  margin: 12px 0;
  background: #f0fdf4;
}
.company-card strong,
.company-card span {
  display: block;
}
.chat-box {
  display: grid;
  gap: 8px;
  max-height: 180px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.chat-box p,
.review-item,
.complaint-row p {
  margin: 0;
}
.review-item {
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}
.review-item span {
  display: block;
  color: var(--muted);
}
.complaint-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero-card { max-width: 430px; }
  .category-grid,
  .category-grid.large { grid-template-columns: repeat(3, 1fr); }
  .listing-grid { grid-template-columns: repeat(3, 1fr); }
  .product-layout,
  .profile-layout { grid-template-columns: 1fr; }
  .service-grid,
  .service-grid.compact,
  .account-panels { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 58px;
    padding: 10px 14px;
    gap: 8px;
  }
  .logo {
    min-width: 0;
    max-width: 48vw;
    font-size: 15px;
  }
  .logo > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .logo-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }
  .header-actions {
    gap: 6px;
    margin-left: auto;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 58px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .main-nav a { padding: 10px; }
  .main-nav.is-open { display: flex; }
  .nav-dropdown { width: 100%; }
  .nav-dropbtn {
    width: 100%;
    justify-content: space-between;
    padding: 10px;
  }
  .category-menu {
    position: static;
    min-width: 0;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 6px;
    box-shadow: none;
  }
  .category-menu:not(.is-open) {
    display: none;
  }
  .nav-dropdown:hover .category-menu:not(.is-open) {
    display: none;
  }
  .menu-toggle { display: block; }
  .header-actions .btn-primary { display: none; }
  .role-select { display: none; }
  .lang-select {
    width: 98px;
    max-width: 30vw;
    padding: 0 6px;
  }
  .auth-button { display: none; }
  .lang-switch button {
    min-width: 34px;
    padding: 7px 8px;
  }
  .hero {
    display: block;
    padding: 18px 14px;
  }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .search-panel {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }
  .market-chips {
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 4px;
  }
  .hero-card { margin-top: 18px; }
  .section,
  .page-wrap { padding: 22px 14px; }
  .section-head,
  .page-hero.split,
  .cta-band,
  .site-footer { display: block; }
  .section-head .text-link,
  .page-hero.split .btn { margin-top: 12px; }
  .category-grid,
  .category-grid.large,
  .listing-grid { grid-template-columns: 1fr 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed;
    inset: auto 12px 12px;
    z-index: 30;
    display: none;
    max-height: 82vh;
    overflow: auto;
  }
  .filters.is-open { display: block; }
  .mobile-filter { display: inline-flex; }
  .gallery-main { height: 320px; }
  .seller-actions,
  .form-two,
  .price-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .cta-band { margin: 10px 14px 36px; }
  .auth-grid { grid-template-columns: 1fr; }
  .app-shell,
  .feature-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-three,
  .profile-settings-form,
  .chat-form,
  .review-form,
  .account-panels,
  .service-grid,
  .service-grid.compact { grid-template-columns: 1fr; }
  .review-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .review-card img {
    width: 92px;
    height: 78px;
  }
  .review-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 470px) {
  .logo {
    max-width: 42vw;
    font-size: 14px;
  }
  .logo-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
  .lang-select {
    width: 84px;
    max-width: 27vw;
    font-size: 12px;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
  }
  .hero h1 {
    font-size: 30px;
    line-height: 1.05;
  }
  h2 {
    font-size: 25px;
  }
  .search-panel {
    padding: 7px;
  }
  .btn {
    padding: 9px 11px;
  }
  .category-grid,
  .category-grid.large,
  .listing-grid { grid-template-columns: 1fr; }
  .ad-card img { height: 210px; }
  .page-hero h1 { font-size: 34px; }
  .thumbs img { height: 72px; }
  .stats-grid { grid-template-columns: 1fr; }
  .review-card { grid-template-columns: 1fr; }
  .review-card img {
    width: 100%;
    height: 180px;
  }
}

/* Target UI from the provided GlobalBoard mockup */
.container {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}
.site-header {
  min-height: 72px;
  padding: 0 32px;
  background: rgba(255,255,255,.9);
}
.logo {
  font-size: 22px;
  font-weight: 900;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}
.main-nav {
  gap: 28px;
  font-weight: 800;
}
.header-actions select,
.header-actions .btn {
  height: 48px;
  border-radius: 12px;
}
.btn {
  min-height: 48px;
  border-radius: 12px;
  padding: 13px 20px;
}
.ui-hero {
  grid-template-columns: minmax(0,1fr) 410px;
  gap: 28px;
  padding-top: 34px;
  padding-bottom: 28px;
  border-bottom: 0;
  background: transparent;
}
.ui-hero .hero-content {
  min-height: 360px;
  padding: 26px 0;
  background: radial-gradient(circle at 55% 10%, #eaf2ff 0, rgba(255,255,255,0) 42%);
}
.ui-hero h1 {
  max-width: 760px;
  font-size: 48px;
  line-height: 1.05;
  margin: 10px 0 12px;
}
.ui-hero p {
  color: var(--muted);
  font-size: 18px;
}
.ui-hero .search-panel {
  max-width: 900px;
  grid-template-columns: minmax(220px,1.5fr) minmax(150px,.75fr) minmax(150px,.75fr) 110px;
  gap: 10px;
  margin: 28px 0 22px;
  padding: 10px;
  border-radius: 18px;
}
.ui-hero .search-panel label span {
  display: none;
}
.ui-hero .search-panel input,
.ui-hero .search-panel select,
.ui-hero .search-panel button {
  height: 48px;
  border-radius: 12px;
}
.quick-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.quick-cats a {
  display: block;
  width: 86px;
  min-height: 78px;
  padding: 13px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(14,40,90,.04);
}
.quick-cats i {
  display: block;
  margin-bottom: 7px;
  font-style: normal;
  font-size: 22px;
}
.quick-cats span {
  display: block;
}
.hero-card {
  align-self: start;
  min-height: 210px;
  margin-top: 28px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg,#fff,#eef5ff);
}
.hero-card span {
  display: block;
  text-align: center;
  color: #556;
}
.hero-card strong {
  max-width: 260px;
  margin-top: 22px;
  font-size: 26px;
  line-height: 1.12;
}
.home-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 28px;
  align-items: start;
}
.home-content .section {
  padding: 0;
}
.home-content .section-head {
  margin: 20px 0 14px;
}
.home-content .section-head h2 {
  margin: 0;
  font-size: 24px;
}
.home-layout .listing-grid {
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.home-layout .ad-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.home-layout .ad-card img {
  height: 150px;
}
.home-layout .ad-card h3 {
  font-size: 15px;
}
.home-layout .ad-card .meta {
  display: block;
}
.home-layout .ad-card .meta span {
  display: block;
}
.ad-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.ad-banner b {
  color: #f04b22;
  font-size: 26px;
}
.ad-banner span {
  font-weight: 800;
}
.ad-banner a {
  border-radius: 12px;
  padding: 11px 16px;
  background: #111;
  color: #fff;
  font-weight: 900;
}
.home-layout .category-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 40px;
}
.home-layout .category-card {
  min-height: auto;
  padding: 16px;
  border-radius: 14px;
  box-shadow: none;
}
.home-layout .category-card i {
  width: auto;
  height: auto;
  background: transparent;
  font-size: 22px;
}
.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.home-sidebar .app-promo {
  min-height: 0;
  padding: 28px;
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg,#55cc86,#078866);
}
.android-icon {
  font-size: 45px;
  line-height: 1;
}
.home-sidebar .app-promo strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 26px;
  line-height: 1.16;
}
.home-sidebar .app-promo p {
  color: rgba(255,255,255,.92);
}
.home-sidebar .store-badge,
.home-sidebar .app-promo .btn {
  width: 100%;
  margin-top: 12px;
  border-radius: 12px;
  background: #101b33;
  color: #fff;
}
.home-sidebar .app-promo .btn-light {
  border: 1px solid rgba(255,255,255,.8);
  background: transparent;
}
.home-sidebar .feature-list {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}
.home-sidebar .feature-list div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.home-sidebar .feature-list div + div {
  margin-top: 20px;
}
.home-sidebar .feature-list b {
  width: auto;
  height: auto;
  background: transparent;
}
.home-sidebar .feature-list span {
  grid-column: 2;
}
.ad-square {
  display: grid;
  place-items: center;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg,#fdfdfd,#eef4ff);
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  box-shadow: var(--shadow);
}
.mobile-nav {
  display: none;
}

@media (max-width: 1050px) {
  .ui-hero,
  .home-layout {
    grid-template-columns: 1fr;
  }
  .home-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .home-layout .listing-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .ui-hero h1 {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 78px;
  }
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }
  .main-nav {
    top: 64px;
  }
  .header-actions .lang-select,
  .header-actions .role-select,
  .header-actions .auth-button {
    display: none;
  }
  .header-actions .btn-primary {
    display: inline-flex;
    min-height: 40px;
    padding: 10px 12px;
  }
  .ui-hero {
    padding-top: 14px;
  }
  .ui-hero h1 {
    font-size: 32px;
  }
  .ui-hero p {
    font-size: 15px;
  }
  .ui-hero .search-panel {
    display: flex;
    flex-direction: column;
    padding: 12px;
  }
  .quick-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .quick-cats a {
    width: auto;
    min-height: 72px;
    font-size: 11px;
  }
  .hero-card {
    display: none;
  }
  .home-layout .listing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .home-layout .ad-card img {
    height: 105px;
  }
  .home-layout .ad-card h3 {
    font-size: 13px;
  }
  .home-layout .ad-card .price,
  .home-layout .ad-card .meta {
    font-size: 12px;
  }
  .home-layout .category-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-sidebar {
    grid-template-columns: 1fr;
  }
  .ad-banner {
    align-items: flex-start;
    flex-direction: column;
  }
  .mobile-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(10,30,80,.18);
  }
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #60708b;
    font-size: 12px;
    font-weight: 800;
  }
  .mobile-nav span {
    font-size: 18px;
  }
  .mobile-nav small {
    font: inherit;
  }
  .mobile-nav .plus {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-top: -28px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 26px;
  }
}
