:root {
  --ink: #172033;
  --muted: #5f6b7a;
  --line: #dce3ea;
  --soft: #f6f8fb;
  --paper: #ffffff;
  --primary: #1368b7;
  --primary-dark: #0f4f8d;
  --accent: #12a078;
  --warning: #f3a81d;
  --danger: #d94b4b;
  --shadow: 0 16px 44px rgba(23, 32, 51, 0.12);
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 2.75rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--text-base);
  line-height: 1.55;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 8px;
  background: var(--primary);
  transform: rotate(-45deg);
  box-shadow: 0 8px 20px rgba(19, 104, 183, 0.22);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.05;
}

.brand-text strong {
  color: var(--primary);
  font-size: var(--text-xl);
  font-weight: 900;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
  font-size: var(--text-sm);
}

.main-nav a:hover,
.text-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.mobile-menu-toggle,
.mobile-nav-close,
.mobile-nav-backdrop {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 800;
  white-space: nowrap;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.button-primary {
  color: #fff;
  background: var(--primary);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-outline {
  color: var(--primary);
  border: 1px solid rgba(19, 104, 183, 0.28);
  background: #fff;
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.notice {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.notice.success {
  color: #0c6d53;
  background: #e9f8f3;
}

.notice.error {
  color: #9c2525;
  background: #fdecec;
}

.auth-wrap {
  max-width: 760px;
}

.text-card {
  padding: 0;
}

.muted-copy {
  color: var(--muted);
}

.resend-form {
  margin-top: 14px;
}

.resend-button {
  min-width: 190px;
}

.resend-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(19, 104, 183, 0.34);
  border-radius: 50%;
  color: var(--primary);
  background: #fff;
  font-size: var(--text-sm);
  font-weight: 900;
  line-height: 1;
}

.resend-countdown[hidden] {
  display: none;
}

.consent-box {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(19, 104, 183, 0.16);
  border-radius: 8px;
  background: #f8fbff;
}

.consent-open {
  width: fit-content;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
}

.check-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.consent-box small {
  color: var(--muted);
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 25, 48, 0.62);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-panel {
  width: min(720px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(9, 25, 48, 0.26);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.modal-head h2 {
  margin: 0;
  font-size: var(--text-xl);
}

.modal-body {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.icon-button.light {
  color: var(--text);
  border-color: rgba(9, 25, 48, 0.18);
  background: #fff;
}

.doc-link {
  display: inline-flex;
  margin: 6px 8px 0 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.empty-state {
  color: var(--muted);
  font-weight: 800;
}

.readiness-card {
  border-color: rgba(18, 160, 120, 0.24);
}

.readiness-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
}

.readiness-ring {
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 58%, transparent 59%),
    conic-gradient(var(--accent) calc(var(--score) * 1%), #e8edf3 0);
}

.readiness-ring strong {
  color: var(--ink);
  font-size: var(--text-xl);
}

.check-list,
.mini-check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list li,
.mini-check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.check-list span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--danger);
  font-size: var(--text-xs);
}

.check-list .done span {
  background: var(--accent);
}

.mini-check-list {
  margin-top: 8px;
}

.mini-check-list li::before {
  content: "!";
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #8a5a00;
  background: #fff3d6;
  font-size: var(--text-xs);
  font-weight: 900;
}

.panel-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.hero {
  padding: 56px 0 36px;
  background:
    linear-gradient(120deg, rgba(19, 104, 183, 0.08), rgba(18, 160, 120, 0.07)),
    #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 660px;
  font-size: var(--text-4xl);
  line-height: 1.08;
}

.hero-lead {
  margin: 20px 0 26px;
  max-width: 650px;
  color: var(--muted);
  font-size: var(--text-lg);
}

.search-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr auto;
  gap: 10px;
  max-width: 740px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.search-panel label,
.city-switcher,
.location-switcher {
  display: grid;
  gap: 4px;
}

.search-panel span,
.city-switcher span,
.location-switcher span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-links a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.hero-media {
  position: relative;
  min-height: 480px;
}

.hero-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-stat {
  position: absolute;
  width: 190px;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-stat strong,
.metric-grid strong {
  display: block;
  font-size: var(--text-xl);
}

.hero-stat span,
.metric-grid span {
  color: var(--muted);
  font-size: var(--text-sm);
}

.hero-stat-top {
  top: 28px;
  left: -22px;
}

.hero-stat-bottom {
  right: -12px;
  bottom: 34px;
}

.home-hero {
  padding: 52px 0 38px;
  background:
    linear-gradient(115deg, rgba(19, 104, 183, 0.08), rgba(18, 160, 120, 0.05)),
    #fff;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 42px;
  align-items: center;
}

.home-hero-copy,
.browser-preview {
  min-width: 0;
}

.home-hero-copy h1 {
  margin: 14px 0 16px;
  max-width: 620px;
  font-size: var(--text-4xl);
  line-height: 1.12;
}

.home-hero-copy h1 span {
  color: #159447;
}

.home-hero-copy p {
  max-width: 570px;
  color: var(--muted);
  font-size: var(--text-lg);
}

.home-search {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  max-width: 690px;
  margin: 20px 0 22px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.08);
}

.home-search-query,
.home-search .button {
  grid-column: 1 / -1;
}

.home-search label {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 800;
}

.home-search input,
.home-search select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.home-search .button {
  min-height: 42px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .browser-preview {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
  }

  .home-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-search-query {
    grid-column: 1 / -1;
  }

  .home-search .button {
    width: 100%;
  }
}

.hero-pill {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(19, 104, 183, 0.09);
  font-weight: 900;
  font-size: var(--text-sm);
}

.hero-checks {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.hero-checks li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 7px 3px no-repeat,
    var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-note {
  display: flex;
  gap: 12px;
  max-width: 520px;
  color: var(--muted);
}

.hero-note strong {
  color: var(--primary);
  white-space: nowrap;
}

.browser-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(23, 32, 51, 0.14);
}

.browser-bar {
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr;
  gap: 8px;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6d6d;
}

.browser-bar span:nth-child(2) {
  background: #ffc44d;
}

.browser-bar span:nth-child(3) {
  background: #64c781;
}

.browser-bar em {
  min-height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: var(--text-xs);
  font-style: normal;
}

.preview-head {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 20px;
  padding: 22px;
}

.preview-head img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 8px;
}

.preview-cover-placeholder {
  min-height: 185px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
  font-size: var(--text-sm);
  font-weight: 800;
}

.preview-head h2 {
  margin: 0 0 6px;
  font-size: var(--text-xl);
}

.preview-head h2 small {
  color: var(--primary);
}

.preview-head p {
  margin: 6px 0;
  color: var(--muted);
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.preview-actions a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-size: var(--text-xs);
  font-weight: 900;
}

.preview-actions a:nth-child(2) {
  background: var(--accent);
}

.preview-tabs {
  display: flex;
  gap: 18px;
  padding: 0 22px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 900;
}

.preview-tabs span:first-child {
  color: var(--primary);
}

.preview-body {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 18px;
  padding: 18px 22px 22px;
}

.preview-body h3 {
  margin: 0 0 12px;
  font-size: var(--text-md);
}

.preview-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.preview-products a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.preview-products img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.preview-products strong,
.preview-products span {
  display: block;
  padding: 7px 8px 0;
  font-size: var(--text-xs);
}

.preview-products span {
  padding-bottom: 8px;
  color: var(--primary);
  font-weight: 900;
}

.preview-product-placeholder {
  min-height: 96px;
  display: grid !important;
  place-items: center;
  color: var(--muted) !important;
  background: var(--soft);
}

.browser-preview-empty {
  min-height: 330px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.browser-preview-empty h2 {
  margin: 0 0 8px;
  font-size: var(--text-2xl);
}

.browser-preview-empty p,
.home-data-empty {
  color: var(--muted);
  line-height: 1.55;
}

.category-tile-grid strong a,
.category-tile-grid small a {
  color: inherit;
}

.category-tile-grid strong a:hover,
.category-tile-grid small a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.preview-body aside {
  display: grid;
  gap: 10px;
}

.preview-body aside div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.preview-body aside strong,
.preview-body aside span {
  display: block;
  font-size: var(--text-xs);
}

.preview-body aside span {
  margin-top: 4px;
  color: var(--muted);
}

.how-section {
  padding: 38px 0 28px;
  background: #fff;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.step-grid article {
  position: relative;
  min-height: 120px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step-grid article > span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
}

.step-grid strong {
  display: block;
  font-size: var(--text-lg);
}

.step-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.trust-strip {
  padding: 22px 0;
  background: #fff;
}

.trust-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(18, 160, 120, 0.2);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(18, 160, 120, 0.1), rgba(19, 104, 183, 0.05));
}

.trust-inner strong,
.trust-inner span {
  display: block;
}

.trust-inner span {
  margin-top: 4px;
  color: var(--muted);
}

.owner-section {
  padding: 36px 0 22px;
}

.owner-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: stretch;
}

.faq-panel,
.owner-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-panel {
  padding: 22px;
}

.faq-panel details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
}

.faq-panel details + details {
  margin-top: 10px;
}

.faq-panel summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-panel p {
  color: var(--muted);
}

.owner-cta {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px;
  background: linear-gradient(145deg, #fff, rgba(19, 104, 183, 0.08));
}

.owner-cta h2 {
  margin: 0;
  font-size: var(--text-2xl);
}

.owner-cta p {
  margin: 0;
  color: var(--muted);
}

.owner-cta ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 800;
}

.home-market-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 18px;
  align-items: start;
}

.rich-categories {
  position: static;
}

.category-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.category-tile-grid article {
  display: grid;
  gap: 7px;
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.category-tile-grid article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(19, 104, 183, 0.08);
  font-weight: 900;
}

.category-tile-grid strong {
  font-size: var(--text-sm);
}

.category-tile-grid small {
  color: var(--muted);
  line-height: 1.45;
}

.category-showcase {
  padding: 48px 0 26px;
  background: #fff;
}

.category-grid-wide {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.category-grid-wide article {
  min-height: 138px;
}

.showcase-panel-wide {
  width: 100%;
}

.product-grid.product-grid-featured {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.product-grid.product-grid-featured .product-card {
  min-width: 0;
}

.product-grid.product-grid-featured .product-card img {
  height: 150px;
  aspect-ratio: 1 / 1;
}

.product-grid.product-grid-featured .product-body {
  gap: 6px;
  padding: 10px;
}

.product-grid.product-grid-featured .product-meta {
  display: grid;
  gap: 2px;
  font-size: var(--text-xs);
}

.product-grid.product-grid-featured .product-card h3 {
  min-height: 38px;
  font-size: var(--text-sm);
}

.product-grid.product-grid-featured .price {
  font-size: var(--text-md);
}

.product-grid.product-grid-featured .product-actions {
  display: none;
}

.visitor-encouragement {
  padding: 24px 0 34px;
  background: #fff;
}

.encouragement-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 22px;
  align-items: stretch;
}

.encouragement-main {
  padding: 24px;
  border: 1px solid rgba(18, 160, 120, 0.2);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(18, 160, 120, 0.1), rgba(19, 104, 183, 0.05));
}

.encouragement-main h2 {
  margin: 0 0 18px;
  font-size: var(--text-2xl);
  line-height: 1.16;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.benefit-row article {
  padding: 16px;
  border: 1px solid rgba(18, 160, 120, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.benefit-row strong,
.benefit-row span {
  display: block;
}

.benefit-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.owner-grid-bottom {
  align-items: start;
}

.discovery-section,
.content-highlights {
  padding: 24px 0;
  background: #fff;
}

.discovery-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  align-items: stretch;
}

.feature-column,
.mini-company-list,
.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-column {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
}

.feature-column p {
  margin: 0;
  color: var(--muted);
}

.feature-column .button {
  justify-self: start;
}

.mini-company-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.mini-company-list article,
.info-panel article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.mini-company-list strong,
.mini-company-list span,
.mini-company-list a,
.info-panel strong,
.info-panel span {
  display: block;
}

.mini-company-list span,
.info-panel span {
  color: var(--muted);
  font-size: var(--text-sm);
}

.mini-company-list a {
  color: var(--primary);
  font-weight: 900;
  font-size: var(--text-sm);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.info-panel h2 {
  margin: 0;
  font-size: var(--text-xl);
  line-height: 1.22;
}

.home-stats {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stats-row div {
  padding: 12px 16px;
  border-right: 1px solid var(--line);
}

.stats-row div:last-child {
  border-right: 0;
}

.stats-row strong,
.stats-row span {
  display: block;
}

.stats-row span {
  margin-top: 4px;
  color: var(--muted);
}

.ad-strip {
  padding: 22px 0;
  background: var(--ink);
}

.ad-slider {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: stretch;
}

.icon-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: var(--text-2xl);
}

.ad-track {
  position: relative;
  min-height: 112px;
  overflow: hidden;
}

.ad-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 22px;
  border-radius: 8px;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: 240ms ease;
  background: linear-gradient(110deg, rgba(19, 104, 183, 0.72), rgba(18, 160, 120, 0.64));
}

.ad-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.ad-slide span {
  color: #d9fff2;
  font-size: 13px;
  font-weight: 800;
}

.ad-slide strong {
  font-size: var(--text-xl);
}

.ad-slide p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.market-section,
.section-band,
.business-flow,
.pricing-section {
  padding: 58px 0;
}

.market-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
  align-items: start;
}

.category-panel,
.showcase-panel,
.panel-preview,
.admin-summary,
.price-card,
.job-list article,
.review-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.category-panel {
  position: sticky;
  top: 94px;
  padding: 18px;
}

.section-heading {
  margin: 0 auto 26px;
  max-width: 680px;
  text-align: center;
}

.section-heading.align-left,
.section-heading.compact {
  margin-left: 0;
  text-align: left;
}

.section-heading p,
.section-heading h2 {
  margin: 0;
}

.section-heading p {
  color: var(--accent);
  font-weight: 800;
}

.section-heading h2 {
  font-size: var(--text-3xl);
  line-height: 1.14;
}

.section-heading.compact h2 {
  font-size: var(--text-xl);
}

.category-list {
  display: grid;
  gap: 10px;
}

.category-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-weight: 800;
}

.category-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.showcase-panel {
  padding: 20px;
}

.showcase-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}

.showcase-toolbar h2 {
  margin: 0;
  font-size: var(--text-2xl);
}

.city-switcher {
  min-width: 180px;
}

.location-switcher {
  grid-template-columns: repeat(3, minmax(120px, 1fr)) auto;
  align-items: end;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-image-link {
  display: block;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.product-image-placeholder {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  padding: 12px;
  background: var(--soft);
  color: var(--muted);
  font-size: var(--text-sm);
  text-align: center;
}

.product-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.product-card h3 {
  margin: 0;
  min-height: 48px;
  font-size: var(--text-md);
  line-height: 1.25;
}

.product-card h3 a:hover {
  color: var(--primary);
}

.price {
  color: var(--primary);
  font-size: var(--text-lg);
  font-weight: 900;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 4px;
}

.product-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
}

.whatsapp {
  color: #fff;
  background: var(--accent);
}

.call {
  color: var(--primary);
  border: 1px solid rgba(19, 104, 183, 0.28);
  background: rgba(19, 104, 183, 0.07);
}

.product-detail-note {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 8px;
  align-items: baseline;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(19, 104, 183, 0.18);
  border-radius: 8px;
  color: var(--primary);
  background: rgba(19, 104, 183, 0.07);
  font-weight: 900;
}

.product-detail-note span {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .product-grid.product-grid-featured {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .product-grid.product-grid-featured .product-card img {
    height: 145px;
  }
}

.section-band {
  background: var(--soft);
}

.firm-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.firm-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.firm-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.firm-card div {
  padding: 18px;
}

.verified {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.firm-card h3,
.price-card h3 {
  margin: 0 0 8px;
  font-size: var(--text-xl);
}

.firm-card p,
.price-card p,
.business-flow p,
.admin-summary p,
.job-list p {
  color: var(--muted);
}

.firm-card a {
  color: var(--primary);
  font-weight: 900;
}

.business-flow {
  background: #fff;
}

.flow-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.flow-grid h2,
.admin-summary h2 {
  margin: 0;
  font-size: var(--text-3xl);
  line-height: 1.14;
}

.panel-preview {
  padding: 18px;
  box-shadow: var(--shadow);
}

.panel-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.panel-tabs span {
  display: grid;
  min-height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.panel-tabs .active {
  color: #fff;
  background: var(--primary);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-grid div {
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.panel-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.panel-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel-list li > span {
  flex: 1 1 200px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.panel-list li > .row-actions {
  margin-left: auto;
}

.panel-list strong {
  color: var(--accent);
  white-space: nowrap;
}

.admin-list li {
  align-items: center;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.row-actions form {
  margin: 0;
}

.mini-button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.mini-button.approve {
  background: var(--accent);
}

.mini-button.reject {
  background: var(--danger);
}

.mini-button.warn {
  background: var(--warning);
}

.mini-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--primary);
  border: 1px solid rgba(19, 104, 183, 0.28);
  background: #fff;
  font-weight: 900;
  font-size: var(--text-sm);
}

.revision-form {
  display: grid;
  grid-template-columns: minmax(180px, 260px) auto;
  gap: 8px;
  align-items: start;
}

.revision-form textarea {
  min-height: 58px;
  font-size: var(--text-sm);
}

.status-badge {
  padding: 6px 9px;
  border-radius: 8px;
  font-size: var(--text-xs);
}

.status-active {
  color: #0c6d53 !important;
  background: #e9f8f3;
}

.status-pending {
  color: #8a5a00 !important;
  background: #fff3d6;
}

.status-rejected,
.status-suspended {
  color: #9c2525 !important;
  background: #fdecec;
}

.job-list {
  display: grid;
  gap: 12px;
}

.job-list article,
.review-list article,
.admin-summary,
.price-card {
  padding: 20px;
}

.review-list {
  display: grid;
  gap: 12px;
}

.review-list strong {
  display: block;
  color: var(--ink);
}

.job-list strong,
.job-list span {
  display: block;
}

.job-list span {
  margin-top: 4px;
  color: var(--primary);
  font-weight: 800;
}

.pricing-section {
  background: #fff;
}

.price-card {
  min-height: 210px;
}

.price-card span {
  color: var(--accent);
  font-weight: 900;
}

.price-card.featured {
  border-color: rgba(19, 104, 183, 0.36);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 28px 0;
  color: #fff;
  background: var(--ink);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.profile-hero {
  padding: 34px 0 0;
  background: var(--soft);
}

.profile-cover {
  position: relative;
  min-height: 440px;
}

.profile-cover > img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 8px;
}

.profile-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(520px, calc(100% - 56px));
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.profile-card h1 {
  margin: 0;
  font-size: var(--text-3xl);
  line-height: 1.12;
}

.profile-card p {
  color: var(--muted);
}

.rating-line {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 10px;
  color: var(--warning);
  font-weight: 900;
}

.rating-line strong {
  font-size: var(--text-xl);
}

.profile-actions,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.share-panel[hidden] {
  display: none;
}

.share-panel a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--primary);
  border: 1px solid rgba(19, 104, 183, 0.2);
  background: rgba(19, 104, 183, 0.06);
  font-size: var(--text-sm);
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.detail-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-sidebar h2,
.dashboard-main h1,
.dashboard-card h2 {
  margin: 0;
}

.detail-sidebar dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.detail-sidebar dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-sidebar dd {
  margin: 0 0 8px;
  font-weight: 800;
}

.detail-main {
  display: grid;
  gap: 32px;
}

.content-block {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.tag-row span {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
}

.lead-form,
.panel-form {
  display: grid;
  gap: 12px;
}

textarea {
  min-height: 120px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

.dashboard-shell {
  padding: 32px 0 60px;
  background: var(--soft);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.dashboard-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.dashboard-sidebar strong {
  margin-bottom: 8px;
  font-size: var(--text-lg);
}

.dashboard-sidebar a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.dashboard-sidebar a:hover {
  color: var(--primary);
  background: var(--soft);
}

.dashboard-sidebar a.active {
  color: var(--primary);
  background: rgba(19, 104, 183, 0.1);
  font-weight: 900;
}

.missing-task-list.standalone {
  max-height: none;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dashboard-main {
  display: grid;
  gap: 20px;
}

.panel-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: stretch;
}

.panel-hero-main,
.dashboard-live-preview,
.quick-action-grid a,
.sub-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.panel-hero-main {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
}

.panel-hero-main h1,
.panel-hero-main p {
  margin: 0;
}

.panel-hero-main h1 {
  font-size: var(--text-3xl);
  line-height: 1.12;
}

.panel-hero-main > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

.panel-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.dashboard-live-preview {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  background: linear-gradient(145deg, #fff, rgba(19, 104, 183, 0.07));
}

.dashboard-live-preview > span {
  color: var(--primary);
  font-size: var(--text-xs);
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-live-preview h2,
.dashboard-live-preview p {
  margin: 0;
}

.dashboard-live-preview p {
  color: var(--muted);
}

.preview-score {
  display: flex;
  gap: 5px;
  align-items: baseline;
  color: var(--primary);
}

.preview-score strong {
  font-size: var(--text-2xl);
}

.preview-score small {
  color: var(--muted);
  font-weight: 800;
}

.preview-mini-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.preview-mini-actions span {
  display: grid;
  min-height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(19, 104, 183, 0.08);
  font-size: var(--text-xs);
  font-weight: 900;
}

.dashboard-metrics {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.analytics-metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.analytics-metrics div {
  min-height: 96px;
}

.dashboard-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.dashboard-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.dashboard-card-head > span {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(19, 104, 183, 0.08);
  font-weight: 900;
  font-size: 13px;
}

.panel-form {
  grid-template-columns: repeat(2, 1fr);
}

.panel-form label {
  display: grid;
  gap: 6px;
}

.panel-form label > span,
.panel-help {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.panel-form .span-full,
.panel-form textarea,
.panel-form .upload-box,
.panel-form button {
  grid-column: 1 / -1;
}

.compact-form {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.compact-form .upload-box {
  grid-column: auto;
}

.compact-form button {
  grid-column: auto;
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-action-grid a {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.quick-action-grid a:hover {
  border-color: rgba(19, 104, 183, 0.34);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.08);
}

.quick-action-grid strong,
.quick-action-grid span {
  display: block;
}

.quick-action-grid strong {
  color: var(--ink);
  font-size: var(--text-md);
}

.quick-action-grid span {
  color: var(--muted);
  font-size: var(--text-sm);
}

.sub-panel {
  margin-top: 18px;
  padding: 16px;
  background: #fbfcfe;
}

.sub-panel h3 {
  margin: 0;
  font-size: var(--text-lg);
}

.upload-box {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(19, 104, 183, 0.42);
  border-radius: 8px;
  background: rgba(19, 104, 183, 0.06);
  color: var(--primary);
  font-weight: 900;
}

.brand-image-form {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: stretch;
}

.brand-image-form .button {
  grid-column: 1 / -1;
  justify-self: start;
}

.brand-upload {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 190px;
  padding: 12px;
  border: 1px dashed rgba(19, 104, 183, 0.36);
  border-radius: 8px;
  background: #fbfcfe;
  cursor: pointer;
}

.brand-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.brand-upload > span,
.brand-upload em {
  color: var(--muted);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 800;
}

.brand-upload em {
  color: var(--primary);
}

.brand-upload img,
.brand-upload strong {
  display: grid;
  width: 100%;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  object-fit: cover;
}

.brand-upload-logo img,
.brand-upload-logo strong {
  aspect-ratio: 1 / 1;
  font-size: var(--text-2xl);
}

.brand-upload-cover img {
  min-height: 190px;
  max-height: 260px;
}

.company-public {
  background: #fff;
}

.company-profile-top {
  padding: 18px 0 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.breadcrumb-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.breadcrumb-line a {
  color: var(--primary);
}

.breadcrumb-line span::before {
  content: "/";
  margin-right: 8px;
  color: #a8b2bf;
}

.company-identity-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 28px;
  align-items: center;
}

.company-logo-box {
  overflow: hidden;
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.company-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-logo-box strong {
  padding: 12px;
  text-align: center;
  font-size: var(--text-2xl);
  line-height: 1.05;
}

.company-summary {
  display: grid;
  gap: 10px;
}

.company-title-row,
.company-rating-row,
.company-action-row,
.cover-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.company-title-row h1 {
  margin: 0;
  font-size: var(--text-3xl);
  line-height: 1.12;
}

.company-location,
.company-summary p {
  margin: 0;
  color: var(--muted);
}

.company-rating-row strong {
  color: var(--ink);
  font-size: var(--text-lg);
}

.stars {
  color: #f3a81d;
  letter-spacing: 1px;
}

.whatsapp-button {
  background: var(--accent);
}

.company-cover-box {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: 8px;
  background: var(--soft);
}

.company-cover-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.cover-badges {
  position: absolute;
  right: 12px;
  bottom: 12px;
}

.cover-badges span {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.12);
  font-size: var(--text-sm);
  font-weight: 900;
}

.company-tabs {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  overflow-x: auto;
}

.company-tabs a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 48px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 900;
}

.company-tabs a:first-child,
.company-tabs a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.company-tabs span {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--soft);
  font-size: var(--text-xs);
}

.company-content {
  padding: 24px 0 58px;
  background: #fff;
}

.company-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.company-main-column,
.company-side-column {
  display: grid;
  gap: 16px;
}

.company-side-column {
  position: sticky;
  top: 94px;
}

.company-panel,
.company-side-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.company-panel {
  padding: 18px;
}

.company-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.company-panel-head p,
.company-panel-head h2 {
  margin: 0;
}

.company-panel-head h2 {
  font-size: var(--text-xl);
}

.company-panel-head > a {
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 900;
}

.company-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-tile-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.service-tile-row span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcfe;
  font-weight: 900;
}

.review-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.review-card-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.review-card-grid strong,
.review-card-grid p {
  display: block;
  margin: 0;
}

.review-card-grid strong span {
  color: #f3a81d;
}

.review-card-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.company-side-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.company-side-card h3,
.company-side-card p {
  margin: 0;
}

.company-side-card p,
.company-side-card small {
  color: var(--muted);
}

.company-side-card a:not(.button) {
  color: var(--primary);
  font-weight: 900;
}

.trust-card strong {
  color: var(--accent);
  font-size: var(--text-3xl);
  line-height: 1;
}

.trust-card strong span {
  color: var(--muted);
  font-size: var(--text-md);
}

.contact-card .button {
  width: 100%;
  min-height: 54px;
}

.contact-card small {
  font-size: var(--text-sm);
}

.mini-lead-form {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mini-lead-form textarea {
  min-height: 82px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.admin-grid article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.admin-grid span {
  color: var(--muted);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
}

@media (max-width: 980px) {
  :root {
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
  }

  .header-inner,
  .main-nav,
  .footer-inner {
    flex-wrap: wrap;
  }

  .header-inner {
    justify-content: flex-start;
    gap: 12px;
  }

  .mobile-menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
  }

  .main-nav,
  .main-nav.is-open {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 31;
    display: none;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 16px;
    color: var(--ink);
    background: #fff;
    box-shadow: 12px 0 36px rgba(23, 32, 51, 0.18);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .main-nav.is-open {
    display: flex;
    transform: translateX(0);
  }

  .main-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: var(--text-base);
  }

  .main-nav a:hover {
    color: var(--primary);
    background: var(--soft);
  }

  .mobile-nav-close {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-self: flex-end;
    place-items: center;
    margin: 0 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
  }

  .mobile-nav-close span {
    position: relative;
    width: 18px;
    height: 18px;
  }

  .mobile-nav-close span::before,
  .mobile-nav-close span::after {
    position: absolute;
    top: 8px;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    content: "";
  }

  .mobile-nav-close span::before {
    transform: rotate(45deg);
  }

  .mobile-nav-close span::after {
    transform: rotate(-45deg);
  }

  .mobile-nav-backdrop:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(13, 24, 39, 0.42);
    cursor: pointer;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .hero-grid,
  .market-grid,
  .home-hero-grid,
  .home-market-grid,
  .discovery-grid,
  .encouragement-grid,
  .flow-grid,
  .split-grid,
  .detail-grid,
  .dashboard-grid,
  .panel-hero,
  .company-identity-grid,
  .company-content-grid {
    grid-template-columns: 1fr;
  }

  .category-panel,
  .detail-sidebar,
  .dashboard-sidebar {
    position: static;
  }

  .dashboard-sidebar {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: thin;
  }

  .dashboard-sidebar > strong {
    display: none;
  }

  .dashboard-sidebar a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .product-grid,
  .firm-grid,
  .pricing-grid,
  .preview-products,
  .mini-company-list,
  .content-grid,
  .benefit-row,
  .dashboard-metrics,
  .analytics-metrics,
  .quick-action-grid,
  .brand-image-form,
  .company-product-grid,
  .service-tile-row,
  .review-card-grid,
  .admin-grid,
  .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-logo-box {
    width: 132px;
    height: 132px;
  }

  .company-cover-box img {
    height: 230px;
  }

  .company-side-column {
    position: static;
  }

  .category-grid-wide,
  .product-grid.product-grid-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .owner-grid,
  .preview-body {
    grid-template-columns: 1fr;
  }

  .browser-preview {
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  :root {
    --text-base: 0.875rem;
    --text-lg: 1rem;
    --text-xl: 1.1875rem;
    --text-2xl: 1.375rem;
    --text-3xl: 1.625rem;
    --text-4xl: 1.875rem;
  }

  .container {
    width: min(100% - 22px, 1180px);
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 34px;
  }

  .search-panel,
  .showcase-toolbar,
  .home-hero-grid,
  .preview-head,
  .preview-body,
  .owner-grid,
  .home-market-grid,
  .discovery-grid,
  .encouragement-grid,
  .mini-company-list,
  .content-grid,
  .product-grid,
  .firm-grid,
  .pricing-grid,
  .preview-products,
  .category-tile-grid,
  .category-grid-wide,
  .product-grid-featured,
  .benefit-row,
  .stats-row,
  .metric-grid,
  .dashboard-metrics,
  .analytics-metrics,
  .quick-action-grid,
  .brand-image-form,
  .company-product-grid,
  .service-tile-row,
  .review-card-grid,
  .panel-form,
  .compact-form,
  .admin-grid,
  .check-list,
  .readiness-row,
  .revision-form {
    grid-template-columns: 1fr;
  }

  .company-profile-top {
    padding-top: 14px;
  }

  .company-identity-grid {
    gap: 16px;
  }

  .company-logo-box {
    width: 112px;
    height: 112px;
  }

  .company-title-row h1 {
    font-size: var(--text-2xl);
  }

  .company-cover-box img {
    height: 190px;
  }

  .cover-badges {
    position: static;
    padding: 10px;
    background: #fff;
  }

  .company-panel-head {
    display: grid;
  }

  .brand-image-form .button {
    width: 100%;
  }

  .panel-hero-main {
    padding: 18px;
  }

  .panel-hero-main h1 {
    font-size: var(--text-2xl);
  }

  .compact-form .upload-box {
    grid-column: 1 / -1;
  }

  .product-grid.product-grid-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid.product-grid-featured .product-card img {
    height: 140px;
  }

  .readiness-ring {
    width: 96px;
    height: 96px;
  }

  .showcase-toolbar {
    display: grid;
    align-items: start;
  }

  .home-hero {
    padding: 34px 0 26px;
  }

  .home-hero-copy h1 {
    font-size: var(--text-4xl);
  }

  .home-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-search-query {
    grid-column: 1 / -1;
  }

  .home-search .button {
    width: 100%;
  }

  .location-switcher {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .location-switcher label,
  .location-switcher select,
  .location-switcher .button {
    width: 100%;
    min-width: 0;
  }

  .browser-preview {
    border-radius: 8px;
  }

  .preview-head,
  .preview-body {
    padding: 16px;
  }

  .preview-head img {
    height: 220px;
  }

  .preview-tabs {
    overflow-x: auto;
    padding: 0 16px 12px;
  }

  .trust-inner {
    display: grid;
  }

  .trust-inner .button,
  .owner-cta .button {
    width: 100%;
  }

  .stats-row div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-row div:last-child {
    border-bottom: 0;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-media img {
    height: 340px;
  }

  .hero-stat {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .ad-slider {
    grid-template-columns: 38px 1fr 38px;
  }

  .ad-track {
    min-height: 176px;
  }

  .ad-slide strong {
    font-size: var(--text-lg);
  }

  .panel-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-card {
    position: static;
    width: auto;
    margin-top: 12px;
  }
}

.storefront-hero {
  padding: 18px 0 10px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.storefront-top-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.store-logo-wrap {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.logo-edit-link {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary);
  background: #fff;
  font-size: var(--text-sm);
  font-weight: 900;
}

.storefront-summary {
  display: grid;
  gap: 9px;
}

.storefront-summary p {
  margin: 0;
  color: var(--muted);
}

.service-regions strong {
  color: var(--ink);
}

.hours-overlay {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 4px;
  max-width: 280px;
  padding: 13px 16px;
  border-radius: 8px;
  color: #fff;
  background: rgba(23, 32, 51, 0.86);
  box-shadow: var(--shadow);
}

.hours-overlay strong {
  color: #7ee08f;
}

.hours-overlay span {
  font-size: var(--text-sm);
}

.storefront-jump-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.storefront-jump-cards a {
  display: grid;
  grid-template-columns: 46px 1fr 20px;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.storefront-jump-cards a::after {
  content: "›";
  color: var(--primary);
  font-size: var(--text-xl);
  font-weight: 900;
}

.storefront-jump-cards span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(19, 104, 183, 0.08);
  font-weight: 900;
}

.storefront-jump-cards strong,
.storefront-jump-cards small {
  grid-column: 2;
}

.storefront-jump-cards small {
  color: var(--muted);
  font-weight: 700;
}

.storefront-body {
  padding: 0 0 60px;
  background: #fff;
}

.storefront-feature {
  padding-bottom: 20px;
}

.storefront-cover {
  min-height: 0;
  border-radius: 8px;
}

.storefront-cover img {
  height: clamp(180px, 23vw, 270px);
}

.storefront-profile-card {
  position: relative;
  z-index: 1;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: -48px 24px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 36, 60, 0.1);
}

.storefront-profile-card .store-logo-wrap {
  justify-items: center;
  gap: 7px;
}

.storefront-profile-card .company-logo-box {
  width: 82px;
  height: 82px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(36, 52, 75, 0.24);
}

.storefront-profile-card .company-logo-box strong {
  font-size: var(--text-lg);
}

.storefront-profile-content {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.storefront-profile-content > p {
  margin: 0;
  color: var(--muted);
}

.storefront-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.storefront-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
}

.storefront-card,
.product-company-card,
.catalog-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.storefront-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.storefront-card h2,
.storefront-card p,
.storefront-card summary {
  margin: 0;
}

.storefront-card h2 {
  font-size: var(--text-md);
}

.store-category-list {
  display: grid;
  gap: 6px;
}

.store-category-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 800;
  cursor: pointer;
}

.store-category-list button.active,
.store-category-list button:hover {
  color: var(--primary);
  background: rgba(19, 104, 183, 0.08);
}

.store-category-list strong {
  min-width: 34px;
  padding: 2px 7px;
  border-radius: 999px;
  text-align: center;
  background: #eef4fb;
}

.storefront-links {
  gap: 8px;
}

.storefront-links > a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 7px;
  background: #f7f9fc;
}

.storefront-links > a > span:first-child {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 6px;
  color: var(--primary);
  background: rgba(19, 104, 183, 0.08);
  font-size: var(--text-md);
  font-weight: 900;
}

.storefront-links strong,
.storefront-links small {
  display: block;
}

.storefront-links strong {
  color: var(--ink);
  font-size: var(--text-sm);
}

.storefront-links small {
  margin-top: 3px;
  color: var(--muted);
  font-size: var(--text-xs);
}

.sponsor-mini {
  background: linear-gradient(135deg, #fff, #eef6ff);
}

.sponsor-mini p,
.hiring-card p,
.sidebar-reviews p {
  color: var(--muted);
  font-size: var(--text-sm);
}

.sponsor-mini a,
.hiring-card a {
  color: var(--primary);
  font-weight: 900;
}

.hiring-card {
  border-color: rgba(19, 104, 183, 0.3);
  background: linear-gradient(180deg, #0f66d8 0, #0f66d8 48px, #fff 48px);
}

.hiring-card summary {
  min-height: 34px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.hiring-card strong {
  margin-top: 8px;
}

.sidebar-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.sidebar-title-row span {
  color: var(--warning);
  font-weight: 900;
}

.sidebar-reviews article {
  display: grid;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.sidebar-reviews small {
  color: var(--muted);
}

.storefront-products {
  display: grid;
  gap: 18px;
}

.storefront-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 46px;
}

.storefront-toolbar > div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.storefront-product-tools {
  justify-content: flex-end;
}

.storefront-view-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7f9fc;
}

.storefront-view-button {
  display: grid;
  width: 34px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font-size: var(--text-lg);
  cursor: pointer;
}

.storefront-view-button.active,
.storefront-view-button:hover {
  color: var(--primary);
  background: rgba(19, 104, 183, 0.1);
}

.storefront-view-button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.storefront-sort-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font-size: var(--text-sm);
  font-weight: 800;
}

.storefront-sort-label > span {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
}

.storefront-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.storefront-product-grid > div {
  min-width: 0;
}

.storefront-product-grid .product-card,
.related-product-grid .product-card {
  height: 100%;
}

.storefront-products[data-view="list"] .storefront-product-grid > div > .product-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
}

.storefront-products[data-view="list"] .storefront-product-grid .product-image-link {
  height: 100%;
  min-height: 132px;
}

.storefront-products[data-view="list"] .storefront-product-grid .product-card img {
  height: 100%;
  min-height: 132px;
  aspect-ratio: auto;
  object-fit: cover;
}

.storefront-products[data-view="list"] .storefront-product-grid .product-image-placeholder {
  height: 100%;
  min-height: 132px;
  aspect-ratio: auto;
}

.storefront-products[data-view="list"] .storefront-product-grid .product-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px 16px;
}

.storefront-products[data-view="list"] .storefront-product-grid .product-card h3 {
  order: 1;
}

.storefront-products[data-view="list"] .storefront-product-grid .product-meta {
  order: 2;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.storefront-products[data-view="list"] .storefront-product-grid .product-meta span + span::before {
  margin-right: 6px;
  color: var(--muted);
  content: "·";
}

.storefront-products[data-view="list"] .storefront-product-grid .product-description {
  display: -webkit-box;
  order: 3;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.4;
}

.storefront-products[data-view="list"] .storefront-product-grid .price {
  order: 4;
}

.storefront-products[data-view="list"] .storefront-product-grid .product-views {
  order: 5;
}

.storefront-products[data-view="list"] .storefront-product-grid .product-actions {
  order: 6;
}

.storefront-lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.storefront-lead-form textarea,
.storefront-lead-form button {
  grid-column: 1 / -1;
}

.related-product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-image-link {
  position: relative;
}

.save-corner,
.favorite-button {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 900;
}

.save-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
}

.product-card p {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.product-views {
  color: var(--muted);
  font-weight: 800;
}

.product-detail-page {
  padding: 18px 0 64px;
  background: #fff;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(320px, 0.8fr) 330px;
  gap: 26px;
  align-items: start;
}

.product-detail-gallery {
  display: grid;
  gap: 12px;
}

.product-main-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.product-main-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.product-main-image small {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(23, 32, 51, 0.78);
  font-size: var(--text-xs);
  font-weight: 900;
  white-space: nowrap;
}

.gallery-counter {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(23, 32, 51, 0.78);
  font-weight: 900;
}

.favorite-button {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.product-thumbs button {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.product-thumbs button.active {
  border-color: var(--primary);
}

.product-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-detail-info {
  display: grid;
  gap: 12px;
}

.pill {
  display: inline-flex;
  width: max-content;
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(19, 104, 183, 0.09);
  font-size: var(--text-xs);
  font-weight: 900;
}

.product-detail-info h1 {
  margin: 0;
  font-size: var(--text-2xl);
  line-height: 1.14;
}

.detail-price {
  color: var(--accent);
  font-size: var(--text-3xl);
  line-height: 1;
}

.detail-meta-row,
.product-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.detail-meta-row span {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.product-spec-mini,
.product-detail-tabs dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.product-spec-mini div,
.product-detail-tabs dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}

.product-spec-mini dt,
.product-detail-tabs dt {
  color: var(--muted);
  font-weight: 800;
}

.product-spec-mini dd,
.product-detail-tabs dd {
  margin: 0;
  font-weight: 800;
}

.product-company-sidebar {
  display: grid;
  gap: 14px;
}

.product-company-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.product-company-card h2,
.product-company-card h3,
.product-company-card p {
  margin: 0;
}

.product-company-card p {
  color: var(--muted);
}

.product-company-card a {
  color: var(--primary);
  font-weight: 900;
}

.product-company-head {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
}

.company-mini-logo {
  overflow: hidden;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.company-mini-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-tabs {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  gap: 18px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.product-detail-tabs article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-detail-tabs h2,
.product-detail-tabs p {
  margin: 0;
}

.product-detail-tabs p {
  color: var(--muted);
}

.related-listings {
  margin-top: 22px;
}

.product-lightbox[hidden] {
  display: none;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 42px;
  background: rgba(9, 14, 24, 0.88);
}

.has-lightbox {
  overflow: hidden;
}

.product-lightbox figure {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  width: min(760px, 86vw);
  margin: 0;
}

.product-lightbox figure span {
  justify-self: start;
  padding: 7px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.product-lightbox img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  background: #111827;
}

.lightbox-close,
.lightbox-arrow {
  position: fixed;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.lightbox-close {
  top: 26px;
  right: 26px;
  width: 42px;
  height: 42px;
  font-size: 30px;
}

.lightbox-arrow {
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  font-size: 34px;
}

.lightbox-prev {
  left: 42px;
}

.lightbox-next {
  right: 42px;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  border: 0;
  background: transparent;
}

.catalog-page {
  padding: 24px 0 64px;
  background: var(--soft);
}

.catalog-hero {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.catalog-hero h1,
.catalog-hero p {
  margin: 0;
}

.catalog-hero h1 {
  font-size: var(--text-3xl);
}

.catalog-hero p {
  color: var(--muted);
}

.catalog-list {
  display: grid;
  gap: 14px;
}

.catalog-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.catalog-card h2,
.catalog-card p {
  margin: 0;
}

.catalog-card p {
  color: var(--muted);
}

.job-catalog-card {
  align-items: start;
}

.services-page,
.service-results-page {
  background: #fff;
}

.services-hero {
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(19, 104, 183, 0.9), rgba(18, 160, 120, 0.72)),
    url("../images/discovery-hero.webp") center/cover;
  color: #fff;
}

.services-hero .eyebrow,
.services-hero h1,
.services-hero p {
  margin: 0;
}

.services-hero .eyebrow,
.services-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.services-hero h1 {
  max-width: 620px;
  font-size: var(--text-4xl);
  line-height: 1.08;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: end;
}

.services-hero-grid > div {
  display: grid;
  gap: 14px;
}

.service-search-band,
.service-filter-band {
  display: grid;
  gap: 10px;
  align-items: end;
}

.service-search-band {
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 0.75fr) minmax(150px, 0.75fr) auto;
  max-width: 940px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.service-search-band input,
.service-search-band select {
  min-height: 42px;
}

.services-hero-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.services-hero-card span {
  color: var(--muted);
}

.services-section {
  padding: 28px 0;
}

.popular-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.popular-service-grid a {
  overflow: hidden;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.popular-service-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.popular-service-grid strong,
.popular-service-grid span {
  padding: 0 14px;
}

.popular-service-grid strong {
  padding-top: 12px;
  font-size: var(--text-lg);
}

.popular-service-grid span {
  padding-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.services-directory-band {
  background: var(--soft);
}

.services-directory-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.service-directory-info {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 10px;
}

.service-directory-info h2,
.service-directory-info p {
  margin: 0;
}

.service-directory-info p:not(.eyebrow) {
  color: var(--muted);
}

.service-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-category-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-category-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.service-category-card h3 {
  margin: 0;
  font-size: var(--text-lg);
}

.service-category-card h3 a:hover,
.service-tree a:hover {
  color: var(--primary);
}

.service-category-card > div:first-child span {
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
}

.service-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-chip-row a,
.service-chip-row span {
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(19, 104, 183, 0.08);
  font-size: var(--text-sm);
  font-weight: 900;
}

.service-chip-row.vertical {
  display: grid;
}

.service-company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-company-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-company-card h3,
.service-company-card p {
  margin: 0;
}

.service-company-card p {
  color: var(--muted);
  font-size: var(--text-sm);
}

.service-company-head.compact {
  grid-template-columns: 60px 1fr;
}

.service-company-head.compact .company-mini-logo {
  width: 60px;
  height: 60px;
}

.service-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card-stats span {
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
  font-size: var(--text-xs);
  font-weight: 900;
}

.service-results-page {
  padding: 20px 0 64px;
}

.service-results-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f1f7ff);
}

.service-results-hero h1,
.service-results-hero p {
  margin: 0;
}

.service-results-hero h1 {
  font-size: var(--text-3xl);
  line-height: 1.12;
}

.service-results-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
}

.result-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.result-stat-row span {
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.result-stat-row strong {
  color: var(--primary);
}

.service-filter-band {
  grid-template-columns: 1fr 1fr auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-filter-band label {
  display: grid;
  gap: 6px;
}

.service-filter-band label span {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 900;
}

.service-results-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.service-filter-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
}

.service-tree {
  display: grid;
  gap: 4px;
}

.service-tree a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 900;
}

.service-tree a.child {
  padding-left: 18px;
  color: var(--muted);
  font-weight: 800;
}

.service-tree a.active {
  color: var(--primary);
  background: rgba(19, 104, 183, 0.08);
}

.service-accordion {
  gap: 8px;
}

.service-accordion details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-accordion summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.service-accordion summary::-webkit-details-marker {
  display: none;
}

.service-accordion summary::after {
  content: "+";
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(19, 104, 183, 0.08);
  font-size: var(--text-sm);
}

.service-accordion details[open] summary::after {
  content: "-";
}

.service-accordion summary.active,
.service-accordion details[open] summary {
  color: var(--primary);
  background: rgba(19, 104, 183, 0.06);
}

.service-accordion summary a {
  display: block;
  min-width: 0;
  padding: 0;
  border-radius: 0;
}

.service-accordion summary span {
  min-width: 30px;
  padding: 3px 7px;
  border-radius: 999px;
  text-align: center;
  color: var(--muted);
  background: var(--soft);
  font-size: var(--text-xs);
}

.service-accordion details > div {
  display: grid;
  gap: 4px;
  max-height: 360px;
  overflow: auto;
  padding: 8px;
  border-top: 1px solid var(--line);
}

.service-accordion a.child {
  display: block;
  padding: 8px 9px;
  border-radius: 8px;
  font-size: var(--text-sm);
}

.service-result-list {
  display: grid;
  gap: 14px;
}

.service-result-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 44px;
}

.service-result-toolbar span {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.service-result-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 160px;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-result-media {
  overflow: hidden;
  display: grid;
  min-height: 142px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: var(--text-sm);
  text-align: center;
}

.service-result-media img {
  width: 100%;
  height: 100%;
  min-height: 142px;
  object-fit: cover;
}

.service-result-body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.service-result-body h2,
.service-result-body p {
  margin: 0;
}

.service-result-body h2 {
  font-size: var(--text-xl);
}

.service-result-body p {
  color: var(--muted);
}

.service-result-actions {
  display: grid;
  align-content: center;
  gap: 9px;
}

.service-result-actions .button,
.service-result-actions .text-link {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.main-service-band {
  background: var(--soft);
}

.main-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.main-service-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 220px;
  align-content: end;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.12);
}

.main-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 25, 48, 0.08), rgba(9, 25, 48, 0.78));
}

.main-service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.main-service-card:hover img {
  transform: scale(1.04);
}

.main-service-card strong,
.main-service-card span {
  position: relative;
  z-index: 1;
  display: block;
}

.main-service-card strong {
  font-size: var(--text-xl);
  line-height: 1.16;
}

.main-service-card span {
  justify-self: start;
  margin-bottom: 8px;
  padding: 6px 9px;
  border-radius: 8px;
  color: #0d513e;
  background: rgba(255, 255, 255, 0.9);
  font-size: var(--text-xs);
  font-weight: 900;
}

.subcategory-strip {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.subcategory-strip strong {
  font-size: var(--text-lg);
}

@media (max-width: 1180px) {
  .main-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .main-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .main-service-grid {
    grid-template-columns: 1fr;
  }

  .main-service-card {
    min-height: 180px;
  }
}

/* Akıllı ürün ilanı */
.smart-listing-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px;
  border: 1px solid rgba(19, 104, 183, 0.18);
  border-radius: 8px;
  background: #f7fbff;
}

.smart-listing-launch strong { display: block; margin-bottom: 5px; }
.smart-listing-launch p { margin: 0; color: var(--muted); }
.listing-create-page { padding: 28px 0 64px; background: #f5f7fa; }
.listing-create-shell { max-width: 1040px; }
.listing-create-header { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; margin-bottom: 18px; }
.listing-create-header h1 { margin: 2px 0 0; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.listing-create-header span, .listing-create-header > strong { color: var(--muted); font-size: var(--text-sm); }
.listing-back { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 1.25rem; }
.smart-listing-form { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.listing-photo-stage, .listing-details-stage, .listing-publish-card { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.listing-details-stage { grid-column: 1; }
.listing-publish-card { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 92px; }
.listing-section-title, .listing-section-title > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.listing-section-title h2 { margin: 0 0 4px; font-size: 1.12rem; }
.listing-section-title p { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.listing-section-title > strong { color: var(--primary); white-space: nowrap; }
.step-number { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); font-weight: 900; }
.listing-capture-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 14px; }
.capture-button { display: grid; min-height: 112px; place-items: center; align-content: center; gap: 4px; padding: 14px; border: 1px dashed rgba(19, 104, 183, 0.42); border-radius: 8px; color: var(--primary); background: #f8fbff; cursor: pointer; text-align: center; }
.capture-button:hover { border-style: solid; background: #edf6ff; }
.capture-button small { color: var(--muted); }
.capture-icon { font-size: 1.75rem; line-height: 1; }
.listing-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.photo-empty-state { grid-column: 1 / -1; display: grid; min-height: 92px; place-items: center; align-content: center; gap: 4px; border-radius: 8px; color: var(--muted); background: #f5f7fa; text-align: center; }
.listing-photo-item { position: relative; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 8px; background: #eef1f4; }
.listing-photo-item img { width: 100%; height: 100%; object-fit: cover; }
.listing-photo-item span { position: absolute; left: 6px; bottom: 6px; padding: 3px 7px; border-radius: 4px; color: #fff; background: rgba(5, 17, 38, 0.76); font-size: .7rem; font-weight: 800; }
.listing-photo-item button { position: absolute; top: 6px; right: 6px; display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 50%; color: #071226; background: rgba(255, 255, 255, .94); cursor: pointer; font-size: 1.1rem; }
.vision-status { margin-top: 12px; padding: 11px 13px; border-radius: 7px; color: #17456f; background: #edf6ff; font-size: var(--text-sm); }
.vision-status.success { color: #09652e; background: #edf9f1; }
.vision-status.error { color: #9b2424; background: #fff0f0; }
.vision-status.neutral { color: #65531a; background: #fff9e7; }
.smart-suggestion-note { display: flex; gap: 10px; margin: 18px 0 0; padding: 11px 13px; border: 1px solid #bce5c9; border-radius: 7px; color: #09652e; background: #f0fbf4; }
.smart-suggestion-note span { color: #37684a; }
.listing-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.listing-fields label { display: grid; gap: 7px; font-weight: 800; }
.listing-fields input, .listing-fields select, .listing-fields textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 7px; padding: 11px 12px; color: var(--text); background: #fff; font: inherit; }
.listing-fields textarea { min-height: 150px; resize: vertical; }
.listing-fields small { color: var(--muted); font-weight: 500; }
.listing-fields label > small { text-align: right; }
.listing-fields .span-full { grid-column: 1 / -1; }
.price-input { display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--line); border-radius: 7px; }
.price-input input { border: 0; }
.price-input b { padding: 0 12px; color: var(--muted); }
.listing-publish-card strong { font-size: 1.05rem; }
.listing-publish-card p { color: var(--muted); line-height: 1.55; }
.listing-confirm { display: flex; gap: 9px; align-items: flex-start; margin: 18px 0; font-size: var(--text-sm); }
.listing-confirm input { margin-top: 3px; }
.listing-submit { width: 100%; min-height: 48px; }

@media (max-width: 820px) {
  .smart-listing-form { grid-template-columns: 1fr; }
  .listing-photo-stage, .listing-details-stage, .listing-publish-card { grid-column: 1; grid-row: auto; }
  .listing-publish-card { position: static; }
}

@media (max-width: 560px) {
  .listing-create-page { padding-top: 14px; }
  .listing-create-header { grid-template-columns: 40px 1fr; }
  .listing-create-header > strong { display: none; }
  .listing-photo-stage, .listing-details-stage, .listing-publish-card { padding: 16px; }
  .listing-capture-actions { grid-template-columns: 1fr 1fr; }
  .capture-button { min-height: 100px; padding: 10px 6px; }
  .capture-button small { font-size: .68rem; }
  .listing-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-fields { grid-template-columns: 1fr; }
  .listing-fields .span-full { grid-column: 1; }
  .smart-suggestion-note { display: grid; }
  .smart-listing-launch { align-items: stretch; flex-direction: column; }
}

/* Firma paneli eksik görevler ve çalışma saatleri */
.missing-task-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.missing-task-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.missing-task-head span { color: var(--primary); font-weight: 900; }
.missing-task-list { display: grid; max-height: 330px; overflow: auto; }
.missing-task-list a { display: grid; grid-template-columns: 30px 1fr 18px; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid #edf0f3; color: var(--text); }
.missing-task-list a:last-child { border-bottom: 0; }
.missing-task-list a:hover { background: #f7fbff; }
.missing-task-list a > span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #9b5e00; background: #fff2cf; font-weight: 900; }
.missing-task-list a div { display: grid; gap: 3px; }
.missing-task-list small { color: var(--muted); line-height: 1.35; }
.missing-task-list b { color: var(--primary); font-size: 1.4rem; }
.profile-complete-state { display: grid; min-height: 220px; place-items: center; align-content: center; gap: 8px; padding: 24px; text-align: center; }
.profile-complete-state > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #fff; background: #159447; font-size: 1.4rem; }
.profile-complete-state small { max-width: 300px; color: var(--muted); }
.working-hours-editor { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.working-hours-editor legend { padding: 0 6px; font-weight: 900; }
.working-hours-editor > p { margin: 0 0 12px; color: var(--muted); font-size: var(--text-sm); }
.legacy-hours-note { margin-bottom: 12px; padding: 10px 12px; border-radius: 7px; color: #65531a; background: #fff9e7; font-size: var(--text-sm); }
.working-hours-presets { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.working-hours-presets button { min-height: 34px; padding: 6px 10px; border: 1px solid rgba(19, 104, 183, .24); border-radius: 6px; color: var(--primary); background: #fff; cursor: pointer; font: inherit; font-size: var(--text-xs); font-weight: 800; }
.working-hours-presets button:hover { background: #edf6ff; }
.working-hours-list { display: grid; gap: 7px; }
.working-hours-row { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(220px, auto) 54px; gap: 12px; align-items: center; min-height: 46px; padding: 7px 10px; border: 1px solid #edf0f3; border-radius: 7px; background: #f8f9fb; }
.working-hours-row.is-open { border-color: rgba(21, 148, 71, .25); background: #f5fbf7; }
.day-toggle { display: flex !important; flex-direction: row !important; align-items: center; gap: 9px !important; font-weight: 800; }
.day-toggle input { width: 18px !important; min-height: 18px !important; }
.day-time-fields { display: flex; align-items: center; gap: 7px; }
.day-time-fields input { width: 104px !important; min-height: 36px !important; padding: 6px 7px !important; }
.working-hours-row > small { color: var(--muted); text-align: right; }
.working-hours-row.is-open > small { color: #13843f; font-weight: 800; }
.public-hours-list { display: grid; gap: 6px; }
.public-hours-list > div { display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-sm); }
.public-hours-list .closed { color: var(--muted); }

@media (max-width: 560px) {
  .working-hours-row { grid-template-columns: 1fr auto; gap: 7px; }
  .day-time-fields { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; }
  .day-time-fields input { width: 100% !important; }
}

.register-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.form-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.form-section-head strong {
  font-size: var(--text-lg);
}

.form-section-head span,
.form-section small {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.category-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.category-choice-grid fieldset {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.category-choice-grid legend {
  padding: 0 4px;
  color: var(--ink);
  font-weight: 900;
}

.category-choice-grid label,
.service-all-line {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.category-choice-grid input,
.service-all-line input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary);
}

.category-picker {
  display: grid;
  gap: 14px;
}

.category-picker-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 12px;
  align-items: stretch;
}

.category-picker-top label,
.selected-category-box {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.category-picker-top label span,
.selected-category-box strong {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 900;
}

.selected-category-box {
  padding: 10px;
  border: 1px solid rgba(19, 104, 183, 0.16);
  border-radius: 8px;
  background: #f8fbff;
}

.selected-category-box > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 40px;
  align-items: center;
}

.empty-selection {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

.selected-category-chip {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(19, 104, 183, 0.18);
  border-radius: 999px;
  color: var(--primary);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: var(--text-xs);
  font-weight: 900;
}

.category-accordion {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.category-accordion details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.category-accordion summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}

.category-accordion summary::-webkit-details-marker {
  display: none;
}

.category-accordion summary::after {
  content: "+";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: rgba(19, 104, 183, 0.08);
}

.category-accordion details[open] summary {
  color: var(--primary);
  background: rgba(19, 104, 183, 0.06);
}

.category-accordion details[open] summary::after {
  content: "-";
}

.category-accordion summary small {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 900;
}

.category-accordion details > div {
  display: grid;
  gap: 6px;
  max-height: 260px;
  overflow: auto;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}

.category-accordion label {
  min-height: 34px;
  padding: 7px 8px;
  border-radius: 8px;
  background: #fff;
}

.category-accordion label:hover {
  background: rgba(19, 104, 183, 0.06);
}

.category-accordion label:has(input:checked) {
  color: var(--primary);
  background: rgba(19, 104, 183, 0.1);
}

.nested-location-form {
  grid-template-columns: 1fr 1fr;
}

.nested-location-form select[multiple] {
  min-height: 148px;
  padding: 8px;
}

.nested-location-form .service-all-line {
  grid-column: 1 / -1;
}

@media (max-width: 1180px) {
  .storefront-top-grid,
  .product-detail-hero {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .company-cover-box,
  .product-company-sidebar {
    grid-column: 1 / -1;
  }

  .storefront-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .related-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-company-grid,
  .popular-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-results-hero {
    grid-template-columns: 1fr;
  }

  .service-result-card {
    grid-template-columns: 136px minmax(0, 1fr);
  }

  .service-result-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .storefront-top-grid,
  .storefront-grid,
  .storefront-jump-cards,
  .category-choice-grid,
  .services-hero-grid,
  .services-directory-grid,
  .service-category-grid,
  .service-results-grid,
  .service-filter-band,
  .product-detail-hero,
  .product-detail-tabs {
    grid-template-columns: 1fr;
  }

  .storefront-sidebar {
    position: static;
  }

  .storefront-profile-card {
    margin-right: 12px;
    margin-left: 12px;
  }

  .store-logo-wrap {
    justify-items: start;
  }

  .storefront-product-grid,
  .related-product-grid,
  .popular-service-grid,
  .service-company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .storefront-lead-form,
  .register-form,
  .nested-location-form,
  .catalog-card {
    grid-template-columns: 1fr;
  }

  .catalog-card {
    display: grid;
  }

  .category-picker-top {
    grid-template-columns: 1fr;
  }

  .service-directory-info,
  .service-filter-sidebar {
    position: static;
  }

  .catalog-card .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .storefront-product-grid,
  .related-product-grid,
  .popular-service-grid,
  .service-company-grid,
  .service-search-band,
  .product-thumbs,
  .storefront-lead-form {
    grid-template-columns: 1fr;
  }

  .service-result-card {
    grid-template-columns: 1fr;
  }

  .service-result-media {
    min-height: 180px;
  }

  .service-result-actions {
    grid-template-columns: 1fr;
  }

  .storefront-cover img {
    height: 170px;
  }

  .storefront-profile-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    margin: -30px 8px 0;
    padding: 10px;
  }

  .storefront-profile-card .company-logo-box {
    width: 56px;
    height: 56px;
  }

  .storefront-profile-card .company-logo-box strong {
    font-size: var(--text-sm);
  }

  .storefront-profile-content .company-title-row h1 {
    font-size: var(--text-xl);
  }

  .storefront-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .storefront-product-tools {
    align-self: stretch;
    justify-content: flex-end;
    width: 100%;
  }

  .storefront-products[data-view="list"] .storefront-product-grid > div > .product-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .storefront-products[data-view="list"] .storefront-product-grid .product-body {
    gap: 5px;
    padding: 9px;
  }

  .product-action-row .button,
  .company-action-row .button,
  .company-action-row button {
    width: 100%;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .product-lightbox {
    padding: 22px;
  }
}

.not-found-shell {
  display: grid;
  min-height: min(680px, calc(100svh - 150px));
  place-items: center;
  padding: 56px 20px 72px;
  background: linear-gradient(135deg, #f4f8ff 0%, #f5fbf8 100%);
}

.not-found-content {
  width: min(100%, 700px);
  text-align: center;
}

.not-found-mark {
  position: relative;
  display: inline-grid;
  min-width: 176px;
  min-height: 104px;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid #cbdcf4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 57, 98, 0.08);
}

.not-found-mark span {
  color: #1260c4;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
}

.not-found-mark i {
  position: absolute;
  right: 14px;
  bottom: 13px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #15945a;
}

.not-found-eyebrow {
  margin: 0 0 8px;
  color: #1260c4;
  font-size: var(--text-sm);
  font-weight: 700;
}

.not-found-content h1 {
  margin: 0 auto 12px;
  color: #14223d;
  font-size: var(--text-3xl);
  line-height: 1.2;
}

.not-found-copy {
  max-width: 590px;
  margin: 0 auto;
  color: #53627a;
  font-size: var(--text-base);
  line-height: 1.7;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 520px) {
  .not-found-shell {
    min-height: calc(100svh - 128px);
    padding: 40px 16px 56px;
  }

  .not-found-content h1 {
    font-size: var(--text-2xl);
  }

  .not-found-actions {
    flex-direction: column;
  }

  .not-found-actions .button {
    width: 100%;
  }
}

.vitrine-heading-band {
  padding: 30px 0 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, #f2f7ff 0%, #f2faf6 100%);
}

.vitrine-heading-band .eyebrow,
.vitrine-heading-band h1,
.vitrine-heading-band p:last-child {
  margin: 0;
}

.vitrine-heading-band h1 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: var(--text-3xl);
}

.vitrine-heading-band p:last-child {
  color: var(--muted);
}

.vitrine-main {
  padding-top: 24px;
  padding-bottom: 48px;
}

.vitrine-filters {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(130px, 1fr)) minmax(150px, 1.2fr) minmax(150px, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.vitrine-filters label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

.vitrine-filters input,
.vitrine-filters select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.vitrine-filters select:disabled {
  background: #f3f5f8;
  color: #8490a1;
}

.vitrine-filters > .button {
  min-height: 42px;
  white-space: nowrap;
}

.vitrine-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 24px 0 14px;
}

.vitrine-results-bar h2,
.vitrine-results-bar p {
  margin: 0;
}

.vitrine-results-bar h2 {
  color: var(--ink);
  font-size: var(--text-xl);
}

.vitrine-results-bar p {
  margin-top: 3px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.vitrine-view-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.vitrine-view-toggle a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 5px;
  color: var(--muted);
  font-size: var(--text-sm);
  text-decoration: none;
}

.vitrine-view-toggle a.active {
  color: var(--primary);
  background: #edf4ff;
  font-weight: 700;
}

.vitrine-product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vitrine-results[data-view="list"] .vitrine-product-grid {
  grid-template-columns: 1fr;
}

.vitrine-results[data-view="list"] .product-card {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  align-items: stretch;
}

.vitrine-results[data-view="list"] .product-image-link,
.vitrine-results[data-view="list"] .product-image-link img,
.vitrine-results[data-view="list"] .product-image-placeholder {
  height: 100%;
  min-height: 170px;
}

.vitrine-results[data-view="list"] .product-image-link img,
.vitrine-results[data-view="list"] .product-image-placeholder {
  aspect-ratio: auto;
  object-fit: cover;
}

.vitrine-results[data-view="list"] .product-body {
  align-content: center;
  padding: 16px 20px;
}

.vitrine-results[data-view="list"] .product-card h3 {
  min-height: 0;
}

.vitrine-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  color: var(--muted);
}

.vitrine-empty {
  margin-top: 20px;
}

.product-card-featured {
  border-color: #e2ad32;
  box-shadow: 0 0 0 2px rgba(226, 173, 50, 0.2);
}

.product-card-highlight-blue {
  border: 2px solid #1769c2;
}

.product-card-highlight-gold {
  border: 2px solid #d49b1f;
}

.product-card-highlight-green {
  border: 2px solid #17834d;
}

.product-featured-label {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  padding: 4px 7px;
  border-radius: 4px;
  color: #fff;
  background: #147d4f;
  font-size: 11px;
  font-weight: 700;
}

.showcase-all-link {
  flex: 0 0 auto;
}

@media (max-width: 1120px) {
  .vitrine-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vitrine-filters .vitrine-search {
    grid-column: span 2;
  }

  .vitrine-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .vitrine-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .vitrine-heading-band {
    padding: 22px 0 18px;
  }

  .vitrine-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
  }

  .vitrine-filters .vitrine-search {
    grid-column: 1 / -1;
  }

  .vitrine-filters > .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .vitrine-results-bar {
    align-items: flex-start;
  }

  .vitrine-view-toggle a span {
    display: none;
  }

  .vitrine-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .vitrine-results[data-view="list"] .product-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .vitrine-results[data-view="list"] .product-image-link,
  .vitrine-results[data-view="list"] .product-image-link img,
  .vitrine-results[data-view="list"] .product-image-placeholder {
    min-height: 130px;
  }

  .vitrine-results[data-view="list"] .product-body {
    gap: 6px;
    padding: 10px;
  }

  .showcase-all-link {
    align-self: center;
  }
}

@media (max-width: 420px) {
  .vitrine-results[data-view="list"] .product-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .vitrine-results[data-view="list"] .product-image-link,
  .vitrine-results[data-view="list"] .product-image-link img,
  .vitrine-results[data-view="list"] .product-image-placeholder {
    min-height: 118px;
  }
}

.home-category-accordion {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.home-category-item {
  min-width: 0;
  border: 1px solid #dce4ed;
  border-radius: 6px;
  background: #fff;
}

.home-category-item summary {
  min-height: 58px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.home-category-item summary::-webkit-details-marker { display: none; }
.home-category-item summary > span:first-child { color: #1769c2; font-size: 20px; }
.home-category-item summary strong { min-width: 0; font-size: 14px; line-height: 1.3; }
.home-category-item[open] summary { border-bottom: 1px solid #e5ebf2; }
.home-category-item[open] .category-chevron { transform: rotate(180deg); }
.category-chevron { color: #66768b; transition: transform .15s ease; }

.home-category-links { display: grid; gap: 2px; padding: 8px; }
.home-category-links a { padding: 7px 8px; border-radius: 4px; color: #33445b; font-size: 13px; line-height: 1.35; text-decoration: none; }
.home-category-links a:hover,
.home-category-links a:focus-visible { background: #eef5fc; color: #075fc1; }
.home-category-links .home-category-more { color: #075fc1; font-weight: 700; }

.directory-filters {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(140px, 1fr)) auto;
  align-items: end;
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid #dce4ed;
  border-radius: 6px;
  background: #fff;
}

.directory-filters label { display: grid; gap: 5px; min-width: 0; }
.directory-filters label > span { color: #34445a; font-size: 12px; font-weight: 700; }
.directory-filters input,
.directory-filters select { width: 100%; min-height: 42px; }
.directory-filters button { white-space: nowrap; }
.directory-results { padding-top: 28px; padding-bottom: 56px; }
.directory-results-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.directory-results-head h2 { margin: 0; font-size: 22px; }
.directory-results-head p { margin: 4px 0 0; color: #64748b; font-size: 13px; }
.directory-results-head > a { color: #075fc1; font-weight: 700; text-decoration: none; }
.directory-company-list { display: grid; gap: 10px; }
.directory-company-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px; border: 1px solid #dce4ed; border-radius: 6px; background: #fff; }
.directory-company-brand { display: grid; place-items: center; width: 76px; height: 76px; overflow: hidden; border: 1px solid #e4eaf0; border-radius: 5px; background: #f5f8fb; color: #145da8; font-size: 21px; font-weight: 800; text-decoration: none; }
.directory-company-brand img { width: 100%; height: 100%; object-fit: cover; }
.directory-company-copy { min-width: 0; }
.directory-company-copy h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 17px; }
.directory-company-copy h3 a { color: #14233b; text-decoration: none; }
.directory-company-copy p { margin: 5px 0; color: #526277; font-size: 13px; line-height: 1.5; }
.directory-company-copy .directory-company-location { color: #1a5eaa; font-weight: 600; }
.directory-company-stats { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 9px; color: #64748b; font-size: 12px; }
.service-empty-state > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.home-data-empty a { color: #075fc1; font-weight: 700; }

@media (max-width: 1000px) {
  .directory-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .directory-filters label:first-child { grid-column: span 2; }
  .home-category-accordion { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .directory-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; }
  .directory-filters label:first-child { grid-column: 1 / -1; }
  .directory-filters button { grid-column: 1 / -1; width: 100%; }
  .directory-company-row { grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .directory-company-brand { width: 56px; height: 56px; }
  .directory-company-row > .button { grid-column: 2; justify-self: start; }
  .directory-company-copy h3 { font-size: 15px; }
  .directory-results-head { align-items: flex-start; }
  .directory-results-head h2 { font-size: 19px; }
  .home-category-accordion { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
