/* ZL company listing — extracted from generatepress main.min.css (filters, cards, map, region selector) */
        .page-header { font-size: 24px; margin-bottom: 20px; }
        .met-filters-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
            align-items: center;
        }
        .custom-select {
            position: relative;
            display: inline-block;
        }
        .custom-select-btn {
            background-color: #fff;
            border: 1px solid #ccc;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            min-width: 180px;
            position: relative;
        }
        .custom-select-btn::after {
            content: '';
            position: absolute;
            top: 50%;
            right: 10px;
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 6px solid #000;
            transform: translateY(-50%);
        }
        .custom-select-menu {
            display: none;
            position: absolute;
            left: 0;
            top: calc(100% + 2px);
            background: #fff;
            border: 1px solid #ccc;
            z-index: 10000;
            width: 100%;
            box-sizing: border-box;
            padding: 10px;
            border-radius: 4px;
            max-height: 250px;
            overflow-y: auto;
        }
        .custom-select.show .custom-select-menu { display: block; }
        .custom-select-menu label {
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
        }
        #reset-filters-btn {
            padding: 8px 16px;
            font-size: 16px;
            background: #ff7c7c;
            border: none;
            border-radius: 4px;
            color: #fff;
            cursor: pointer;
            font-weight: 500;
        }
        #reset-filters-btn:hover {
            background: #ff5c5c;
        }
        .page_card_metalbruht-company-card {
            position: relative;
            border: 1px solid #ddd;
            padding: 15px;
            margin: 15px 0;
            background-color: #f9f9f9;
        }
        .page_card_metalbruht-company-card-header {
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 15px;
        }
        .page_card_metalbruht-company-card-header a {
            text-decoration: none;
            color: inherit;
        }
        .page_card_metalbruht-company-card-body {
            display: flex;
            flex-wrap: wrap;
        }
        @media (min-width: 880px) {
            .page_card_metalbruht-company-card-body {
                flex-wrap: nowrap;
                align-items: flex-start;
            }
        }
        .page_card_metalbruht-company-card-left {
            flex: 1 1 auto;
            min-width: 250px;
            margin-right: 20px;
        }
        .page_card_metalbruht-company-icons {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }
        .page_card_metalbruht-company-icon {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 70px;
            min-height: 70px;
            background: #fff;
            border: 1px solid #ccc;
            border-radius: 5px;
            cursor: pointer;
            text-align: center;
            padding: 5px;
            position: relative;
            transition: background 0.3s, box-shadow 0.3s;
        }
        .page_card_metalbruht-company-icon:hover {
            background: #f0f0f0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .page_card_metalbruht-company-icon img {
            max-width: 40px;
            max-height: 40px;
            margin: 0 auto 5px;
            display: block;
        }
        .page_card_metalbruht-company-icon span {
            font-size: 13px;
            color: #444;
        }
        .page_card_metalbruht-company-info p { margin: 5px 0; }
        .page_card_metalbruht-company-info i { margin-right: 5px; }
        .page_card_metalbruht-company-text {
            margin-top: 10px;
            font-size: 14px;
            line-height: 1.4;
        }
        .page_card_metalbruht-custom-popover {
            position: absolute;
            background: #fff;
            border: 1px solid #ccc;
            padding: 0;
            z-index: 9999;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            font-size: 14px;
            display: none;
            width: 180px;
            --arrow-offset: 50%;
        }
        .page_card_metalbruht-custom-popover::before {
            content: "";
            position: absolute;
            top: -8px;
            left: var(--arrow-offset, 50%);
            transform: translateX(-50%);
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid #ccc;
        }
        .page_card_metalbruht-custom-popover::after {
            content: "";
            position: absolute;
            top: -7px;
            left: var(--arrow-offset, 50%);
            transform: translateX(-50%);
            border-left: 7px solid transparent;
            border-right: 7px solid transparent;
            border-bottom: 7px solid #fff;
        }
        .page_card_metalbruht-popover-header {
            background-color: #eee;
            color: #317EAC;
            font-weight: 500;
            padding: 5px;
            border-bottom: 1px solid #ccc;
        }
        .page_card_metalbruht-popover-body { padding: 5px; }
        .page_card_metalbruht-company-card-right {
            width: 100%;
            flex: 1 1 auto;
        }
        @media (min-width:880px) {
            .page_card_metalbruht-company-card-right {
                flex: 0 0 250px;
            }
        }
        .page_card_metalbruht-accordion {
            border: 1px solid #ccc;
            background: #fff;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .page_card_metalbruht-accordion-item { border-bottom: 1px solid #ddd; }
        .page_card_metalbruht-accordion-header {
            padding: 10px 15px;
            background: #f5f5f5;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            position: relative;
            margin: 0;
        }
        .page_card_metalbruht-accordion-header.active { background: #e0e0e0; }
        .page_card_metalbruht-accordion-header:after {
            content: "\002B";
            font-size: 18px;
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            transition: transform 0.2s ease;
        }
        .page_card_metalbruht-accordion-header.active:after { content: "\2212"; }
        .page_card_metalbruht-accordion-content {
            height: 0;
            overflow: hidden;
            transition: height 0.5s ease-in-out;
        }
        .page_card_metalbruht-accordion-table,
        .page_card_metalbruht-accordion-table tr,
        .page_card_metalbruht-accordion-table td {
            border: none !important;
            background: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }
        .page_card_metalbruht-accordion-table {
            width: 100% !important;
            border-collapse: collapse !important;
        }
        .page_card_metalbruht-accordion-table td {
            padding: 6px 8px !important;
            font-size: 12px !important;
            border-bottom: 1px solid #ddd !important;
            border-right: 1px solid #ddd !important;
            vertical-align: middle !important;
        }
        .page_card_metalbruht-accordion-table tr td:last-child { border-right: none !important; }
        .page_card_metalbruht-accordion-table tr:last-child td { border-bottom: none !important; }

        .met-filters-checkbox-label {
            display: inline-flex;
            align-items: center;
            font-size: 16px;
            gap: 8px;
            padding: 8px 16px;
            border: 1px solid #ccc;
            cursor: pointer;
            border-radius: 4px;
            background-color: #fff;
            user-select: none;
            transition: background-color 0.3s, border-color 0.3s;
        }
        .met-filters-checkbox-label:hover {
            background-color: #f0f0f0;
        }
        .met-filters-checkbox-label.active {
            background-color: #d1ffd1;
            border-color: #0f0;
        }
        .met-filters-checkbox-label input[type="checkbox"] {
            display: none;
        }

        .marker-round {
            width: 15px;
            height: 15px;
            background-color: #36A7E8;
            border: 1.5px solid #fff;
            border-radius: 50%;
            box-sizing: border-box;
            transition: transform 0.15s ease, box-shadow 0.15s ease, border-width 0.15s ease;
        }
        .marker-round.highlight {
            background-color: #36A7E8;
            border: 2.5px solid #fff;
            transform: scale(1.35);
            box-shadow: 0 0 0 2px rgba(54, 167, 232, 0.45);
        }

        /* Primary «Цей пункт» — same as company profile (label overlaps pin) */
        .sday-cp-primary-pin-wrap {
            background: transparent !important;
            border: none !important;
        }
        .sday-cp-primary-pin {
            position: relative;
            width: 100px;
            height: 48px;
            pointer-events: none;
        }
        .sday-cp-primary-pin__dot {
            position: absolute;
            left: 50%;
            bottom: 0;
            display: block;
            width: 28px;
            height: 28px;
            margin: 0 0 0 -14px;
            background: #e53935;
            border: 3px solid #fff;
            border-radius: 50% 50% 50% 0;
            transform: rotate(-45deg);
            box-sizing: border-box;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
            z-index: 1;
        }
        .sday-cp-primary-pin__label {
            position: absolute;
            left: 50%;
            top: 0;
            transform: translateX(-50%);
            z-index: 2;
            max-width: 6.5rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding: 0.22rem 0.55rem;
            border-radius: 999px;
            background: #e53935;
            border: 2px solid #fff;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
            color: #fff;
            font-size: 0.72rem;
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: 0.01em;
        }

        /* Marker hover tip — site tokens */
        .zl-map-tip-popup .leaflet-popup-content-wrapper {
            padding: 0;
            border-radius: 10px;
            background: var(--sday-surface, #fff);
            border: 1px solid var(--sday-border, #e6e6e6);
            box-shadow: 0 4px 16px rgba(30, 42, 58, 0.14);
            color: var(--sday-ink, #1e2a3a);
            font-family: var(--sday-font, "Segoe UI", "Helvetica Neue", Arial, sans-serif);
        }
        .zl-map-tip-popup .leaflet-popup-content {
            margin: 0;
            min-width: 0;
            line-height: 1.35;
        }
        .zl-map-tip-popup .leaflet-popup-tip {
            background: var(--sday-surface, #fff);
            border: 1px solid var(--sday-border, #e6e6e6);
            box-shadow: none;
        }
        .zl-map-tip {
            max-width: 14rem;
            padding: 0.65rem 0.75rem 0.7rem;
        }
        .zl-map-tip__name {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--sday-ink, #1e2a3a);
            line-height: 1.3;
        }
        .zl-map-tip__addr {
            margin-top: 0.2rem;
            font-size: 0.75rem;
            color: var(--sday-muted, #8a8a8a);
            line-height: 1.35;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            overflow: hidden;
        }
        .zl-map-tip__link {
            display: inline-block;
            margin-top: 0.4rem;
            font-size: 0.78rem;
            font-weight: 700;
            color: var(--sday-blue, #2f80ed);
            text-decoration: none;
        }
        .zl-map-tip__link:hover {
            color: var(--sday-blue-hover, #256fcc);
            text-decoration: underline;
        }

        .marker-user {
            position: relative;
            width: 16px;
            height: 16px;
            background-color: #2F80ED;
            border: 2.5px solid #fff;
            border-radius: 50%;
            box-sizing: border-box;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
        }
        .marker-user__pulse {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 16px;
            height: 16px;
            margin: -8px 0 0 -8px;
            border-radius: 50%;
            background-color: rgba(47, 128, 237, 0.45);
            animation: marker-user-pulse 1.8s ease-out infinite;
            pointer-events: none;
        }
        @keyframes marker-user-pulse {
            0% {
                transform: scale(1);
                opacity: 0.7;
            }
            100% {
                transform: scale(2.6);
                opacity: 0;
            }
        }
        .marker-tooltip {
            white-space: normal;
            word-wrap: break-word;
            max-width: 200px;
        }
        .marker-metro {
            width: 14px;
            height: 14px;
            background-color: #7C3AED;
            border: 2px solid #fff;
            border-radius: 50%;
            box-sizing: border-box;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }
        .marker-metro--user {
            background-color: #DB2777;
        }
        .zl-route-line {
            stroke: #2f80ed;
            stroke-width: 5;
            stroke-opacity: 0.85;
            fill: none;
        }

        @media (max-width: 767px) {
            .scroll-to-map-btn {
                display: none !important;
            }
        }
        @media (min-width: 768px) {
            .scroll-to-map-btn {
                display: none;
            }
        }
        @media (max-width: 480px) {
            .met-filters-container {
                flex-direction: column;
                align-items: stretch;
                gap: 10px;
                margin-bottom: 15px;
            }
            .custom-select-btn {
                padding: 6px 10px;
                font-size: 14px;
                min-width: 0;
            }
            .custom-select-menu label {
                font-size: 14px;
            }
            #reset-filters-btn {
                padding: 6px 12px;
                font-size: 14px;
            }
        }
		.marker-tooltip-name {
                font-weight:700;
            }
@media (max-width: 550px) {
  .page_card_metalbruht-company-card-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .page_card_metalbruht-company-card-header img {
    margin: 0 0 10px !important;
  }
}




      /* РњРѕРґР°Р»СЊРЅРµ РІС–РєРЅРѕ */
      #region-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);align-items:center;justify-content:center;z-index:9999}
      .rs-content{background:#fff;padding:15px;max-width:800px;width:90%;max-height:90vh;overflow:auto;position:relative;display:flex;flex-direction:column}
      #rs-close{position:absolute;top:8px;right:8px;cursor:pointer;font-size:24px;line-height:1}
      #rs-search{width:calc(100% - 50px);margin-bottom:10px;padding:8px;box-sizing:border-box}

      /* РҐР»С–Р±РЅС– РєСЂРёС…С‚Рё С‚Р° РєРЅРѕРїРєР° */
      .rs-wrapper{display:flex;justify-content:space-between;align-items:center;max-width:1170px;padding:0 15px;margin:16px auto}
      .home .rs-wrapper{justify-content:flex-end;}
      .rs-breadcrumbs{margin-right: 15px;background:#f5f5f5;padding:8px 12px;border-radius:4px;font-size:14px;margin-right: 15px;display:inline-block}
      .rs-breadcrumbs a{color:#0073aa;text-decoration:none}
      .rs-breadcrumbs span{color:#555}
      .rs-breadcrumbs a:not(:last-child):after,.rs-breadcrumbs span:not(:last-child):after{content:'/';margin:0 8px;color:#999}
      .region-link,#region-selector-btn{background:none;border:none;padding:0;color:skyblue;text-decoration:underline dotted skyblue;padding-left: 10px;cursor:pointer}

      /* РЎС–С‚РєР° РїСѓРЅРєС‚С–РІ */
      .rs-grid{display:grid;grid-template-columns:repeat(3,1fr);row-gap:0;column-gap:0}
      @media (max-width:800px){.rs-grid{grid-template-columns:repeat(2,1fr)}}
      @media (max-width:600px){.rs-grid{grid-template-columns:1fr}}

      .rs-grid-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;font-size:14px;color:#333;text-decoration:none;border-bottom:1px solid #eee;margin:0}
      .rs-grid-item:hover{background:#f9f9f9;text-decoration:none}
      .rs-region::after{content:'\203A';color:#999;margin-left:5px}
      .rs-region{font-weight:400}
      .rs-region.selected{font-weight:600}
      .rs-city{font-weight:400}
      #rs-body{flex:1;overflow-y:auto;padding:0}

/* ========== Listing redesign (Sdavalyсh structure + Sday-lom palette) ========== */
.zl-company-listing {
  --zl-blue: #2f80ed;
  --zl-blue-soft: #3498db;
  --zl-blue-h1: #317eac;
  --zl-coral: #ff7c7c;
  --zl-open: #1a7f37;
  --zl-closed: #e85d5d;
  --zl-border: #dcdcdc;
  --zl-muted: #6b6b6b;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* Full-bleed main on listing (header is full-bleed sitewide in theme.css) */
body.zl-listing-fullbleed .sday-main > .sday-container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  box-sizing: border-box;
  padding-inline: 0;
}

body.zl-listing-fullbleed .sday-main {
  padding-bottom: 0;
}

body.zl-listing-fullbleed .zl-search-header {
  margin: 0;
  width: 100%;
}

body.zl-listing-fullbleed .zl-search-header__inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 1.25rem;
  box-sizing: border-box;
}

body.zl-listing-fullbleed .met-filters-container {
  padding-inline: 1.25rem;
  box-sizing: border-box;
}

body.zl-listing-fullbleed #companies-wrapper {
  width: 100%;
  gap: 0;
  margin: 0;
}

body.zl-listing-fullbleed #companies-list-col {
  padding: 0 1rem 1rem 1.25rem;
  box-sizing: border-box;
}

body.zl-listing-fullbleed .zl-map-panel,
body.zl-listing-fullbleed #companies-map {
  border-radius: 0;
  border: none;
  border-left: 1px solid var(--zl-border, #dcdcdc);
}

@media (max-width: 767px) {
  body.zl-listing-fullbleed .zl-search-header {
    padding-bottom: 0.65rem;
    margin-bottom: 0.75rem;
  }

  body.zl-listing-fullbleed #companies-wrapper {
    gap: 1rem;
  }

  body.zl-listing-fullbleed #companies-list-col {
    padding: 0 1rem 5rem;
  }

  body.zl-listing-fullbleed .zl-map-panel,
  body.zl-listing-fullbleed #companies-map {
    border-left: none;
    border-radius: 6px;
    top: auto;
  }

  body.zl-listing-fullbleed .sday-main {
    padding-bottom: 0;
  }
}

.zl-listing-title {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--zl-blue-h1);
  line-height: 1.25;
}

.zl-company-listing__intro {
  margin: 0 0 1rem;
  color: var(--zl-muted);
  max-width: 52rem;
}

.rs-wrapper.zl-region-bar {
  max-width: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.home .rs-wrapper.zl-region-bar {
  justify-content: space-between;
}

.rs-breadcrumbs {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.rs-breadcrumbs a {
  color: var(--zl-blue-soft);
  text-decoration: none;
}

.rs-breadcrumbs a:hover {
  text-decoration: underline;
}

.rs-breadcrumbs span {
  color: var(--zl-muted);
}

.region-link,
#region-selector-btn {
  color: var(--zl-blue-soft);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  font-size: 0.9rem;
  padding-left: 0;
}

.met-filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0.85rem;
  align-items: center;
}

.custom-select-btn {
  background: #fff;
  border: 1px solid var(--zl-border);
  padding: 0.5rem 2rem 0.5rem 0.85rem;
  border-radius: 4px;
  font-size: 0.95rem;
  min-width: 160px;
  position: relative;
}

#reset-filters-btn {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  background: var(--zl-coral);
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

#reset-filters-btn:hover {
  background: #ff5c5c;
}

.met-filters-checkbox-label {
  border-color: var(--zl-border);
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
}

.met-filters-checkbox-label.active {
  background: #e8f6ec;
  border-color: var(--zl-open);
}

.zl-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.zl-quick-chip {
  appearance: none;
  border: 1px solid var(--zl-border);
  background: #fff;
  color: var(--zl-blue-h1);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.zl-quick-chip:hover {
  border-color: var(--zl-blue-soft);
  background: #f0f7fc;
}

.zl-quick-chip.is-active {
  background: var(--zl-blue);
  border-color: var(--zl-blue);
  color: #fff;
}

.zl-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.85rem;
  flex-wrap: wrap;
}

.zl-results-meta__start {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  min-width: 0;
}

.zl-insight-jump,
.zl-leaders-jump {
  color: var(--zl-blue-soft, #3498db);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
}

.zl-insight-jump:hover,
.zl-insight-jump:focus-visible,
.zl-leaders-jump:hover,
.zl-leaders-jump:focus-visible {
  color: var(--zl-blue, #2f80ed);
  text-decoration: underline;
}

.zl-insight-jump::after,
.zl-leaders-jump::after {
  content: " ↓";
  font-weight: 400;
}

.zl-insight-jump--ext::after {
  content: " ↗";
}

.zl-insight-jump-wrap,
.zl-leaders-jump-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin: 0.55rem 0 0;
}

.zl-insight-jump--header,
.zl-leaders-jump--header {
  font-weight: 500;
  font-size: 0.875rem;
}

.zl-results-count {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

.zl-sort-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.zl-sort-dd {
  position: relative;
}

.zl-sort-dd__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--zl-blue, #2f80ed);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  border-bottom: 1px dashed currentColor;
  text-decoration: none;
}

.zl-sort-dd__btn:hover {
  color: var(--zl-blue-soft, #3498db);
}

.zl-sort-dd.is-open > .zl-sort-dd__btn {
  color: var(--zl-blue-soft, #3498db);
}

.zl-sort-dd__current {
  font-weight: 600;
}

.zl-sort-dd__icon {
  font-size: 0.85rem;
  opacity: 0.95;
}

.zl-sort-dd__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 45;
  min-width: min(92vw, 320px);
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.65rem 0;
}

.zl-sort-dd__menu[hidden] {
  display: none !important;
}

.zl-sort-dd__option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  color: #222;
  cursor: pointer;
}

.zl-sort-dd__option:hover {
  background: #f5f8fc;
}

.zl-sort-dd__option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  border: 2px solid #c8c8c8;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.zl-sort-dd__option input[type="radio"]:checked {
  border-color: var(--zl-blue, #2f80ed);
}

.zl-sort-dd__option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--zl-blue, #2f80ed);
  transform: translate(-50%, -50%);
}

.zl-sort-dd__option span {
  line-height: 1.35;
}

.zl-sort-hint {
  margin: 0;
  color: #c0392b;
  font-size: 0.75rem;
  line-height: 1.3;
  max-width: 16rem;
  text-align: right;
}

.zl-sort-hint[hidden] {
  display: none !important;
}

#companies-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

#companies-list-col {
  min-width: 0;
}

#companies-container {
  min-width: 0;
}

#companies-map {
  width: 100%;
  height: calc(100vh - var(--sday-header-h, 3.5rem));
  max-height: 100%;
  position: sticky;
  top: var(--sday-header-h, 3.5rem);
  border-radius: 6px;
  overflow: hidden;
  background: #e4e9ef;
  border: 1px solid var(--zl-border);
  z-index: 2;
}

.zl-map-panel {
  width: 100%;
  height: calc(100vh - var(--sday-header-h, 3.5rem));
  max-height: 100%;
  position: sticky;
  top: var(--sday-header-h, 3.5rem);
  border-radius: 6px;
  overflow: hidden;
  background: #e4e9ef;
  border: 1px solid var(--zl-border);
  z-index: 2;
}

.zl-map-panel #companies-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  border: none;
  border-radius: 0;
  z-index: 1;
}

.zl-map-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  pointer-events: none;
  background: #e4e9ef;
}

.zl-map-panel:has(#companies-map.leaflet-container) .zl-map-placeholder {
  display: none;
}

.zl-map-placeholder__pulse {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 3px solid rgba(43, 108, 176, 0.2);
  border-top-color: var(--sday-blue-soft, #2b6cb0);
  animation: zl-map-spin 0.7s linear infinite;
}

.zl-map-placeholder__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #667085;
}

@keyframes zl-map-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zl-map-placeholder__pulse {
    animation: none;
    border-color: rgba(43, 108, 176, 0.35);
  }
}

.zl-map-route-bar {
  position: absolute;
  top: 10px;
  left: auto;
  right: 10px;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 0.75rem;
  max-width: min(28rem, calc(100% - 64px));
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--zl-border, #dcdcdc);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 0.82rem;
  line-height: 1.3;
  color: #333;
}

.zl-map-route-bar[hidden] {
  display: none !important;
}

.zl-map-route-bar__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.zl-map-route-bar__status {
  min-width: 0;
  font-weight: 600;
}

.zl-map-route-bar__hint {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.35;
  color: #667;
}

.zl-map-route-bar__hint[hidden] {
  display: none !important;
}

.zl-map-route-bar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #555;
}

.zl-map-route-bar__legend[hidden] {
  display: none !important;
}

.zl-map-route-bar__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.zl-map-route-bar__swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  flex: 0 0 auto;
}

.zl-map-route-bar__swatch--user {
  background: #2F80ED;
}

.zl-map-route-bar__swatch--company {
  background: #E53935;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.zl-map-route-bar__swatch--metro {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #1a56c4;
  border: none;
  box-shadow: none;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}

.zl-map-route-bar__swatch--metro::after {
  content: 'М';
}

.zl-map-route-bar__swatch--line {
  background: #2F80ED;
  border-radius: 2px;
}

.zl-map-route-bar__clear {
  appearance: none;
  flex: 0 0 auto;
  padding: 0.25rem 0.55rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.zl-map-route-bar__clear:hover {
  border-color: #2f80ed;
  color: #2f80ed;
}

.zl-map-route-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex: 0 0 auto;
  align-items: center;
}

.zl-map-route-bar__close {
  display: none;
  appearance: none;
  padding: 0.25rem 0.55rem;
  border: 1px solid #2f80ed;
  border-radius: 6px;
  background: #2f80ed;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.zl-map-route-bar__close:hover {
  background: #2563c7;
  border-color: #2563c7;
}

.zl-map-panel.is-routing .marker-round {
  opacity: 0.35;
}

.zl-map-panel.is-routing .marker-user {
  opacity: 0;
  pointer-events: none;
}

.zl-card.is-routing-active {
  border-color: #2f80ed;
  box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.25);
}

.zl-route-pin-wrap {
  background: transparent !important;
  border: none !important;
}

.zl-route-pin {
  position: relative;
  width: 18px;
  height: 18px;
}

.zl-route-pin__dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-sizing: border-box;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.zl-route-pin__label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  transform: translateX(-50%);
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  color: #222;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  pointer-events: none;
}

.zl-route-pin--user .zl-route-pin__dot {
  background: #2F80ED;
}

/* Red teardrop destination — overlap label (alias to primary pin look) */
.zl-route-pin--company {
  width: 100px;
  height: 48px;
}

.zl-route-pin--company .zl-route-pin__dot {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 28px;
  margin: 0 0 0 -14px;
  background: #E53935;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.zl-route-pin--company .zl-route-pin__label {
  top: 0;
  bottom: auto;
  z-index: 2;
  max-width: 6.5rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #E53935;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.zl-route-pin--metro {
  width: 22px;
  height: 22px;
}

.zl-route-pin--metro .zl-route-pin__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #1a56c4;
  border: 2px solid #fff;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.zl-route-pin--metro .zl-route-pin__dot::before {
  content: 'М';
}

.zl-card__row--route {
  margin: 0 0 8px;
}

.zl-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin: 0 0 8px;
}

.zl-card__top-main {
  flex: 1 1 auto;
  min-width: 0;
}

.zl-card__top-route {
  flex: 0 0 auto;
  align-self: center;
  margin-left: auto;
  padding-top: 2px;
}

.zl-card__top .zl-card__location {
  margin-bottom: 6px;
}

.zl-card__top .zl-card__geo {
  margin-bottom: 0;
}

@media (max-width: 1240px) {
  .zl-card__top {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .zl-card__top-route {
    align-self: flex-start;
    margin-left: 0;
    padding-top: 0;
  }
}

.zl-route-dd {
  position: relative;
  display: inline-block;
}

.zl-route-dd__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(47, 128, 237, 0.35);
  border-radius: 8px;
  background: #f3f8ff;
  color: var(--zl-blue, #2f80ed);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(47, 128, 237, 0.06);
}

.zl-route-dd__btn:hover,
.zl-route-dd.is-open > .zl-route-dd__btn {
  border-color: var(--zl-blue, #2f80ed);
  background: #e8f2ff;
}

.zl-route-dd__chevron {
  font-size: 0.65rem;
  opacity: 0.75;
}

.zl-route-dd__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: auto;
  z-index: 20;
  min-width: 160px;
  padding: 0.25rem;
  border: 1px solid var(--zl-border, #dcdcdc);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.zl-route-dd__menu[hidden] {
  display: none !important;
}

.zl-route-dd__option {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #333;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
}

.zl-route-dd__option:hover {
  background: #f3f8ff;
  color: var(--zl-blue, #2f80ed);
}

.zl-route-dd__option i {
  width: 1rem;
  text-align: center;
  opacity: 0.85;
}

a.zl-route-dd__option--link {
  text-decoration: none;
  box-sizing: border-box;
  color: inherit;
}

a.zl-route-dd__option--link:visited {
  color: inherit;
}

.zl-pagination-wrap {
  margin: 1.25rem 0 0.75rem;
}

.zl-pagination-wrap.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.zl-pagination {
  display: flex;
  justify-content: center;
}

.zl-pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zl-pagination__item {
  margin: 0;
}

.zl-pagination__page,
.zl-pagination__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.45rem;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #d7dee8;
  background: #fff;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
}

.zl-pagination__page:hover {
  border-color: var(--zl-blue, #2f80ed);
  color: var(--zl-blue, #2f80ed);
}

.zl-pagination__item.is-active .zl-pagination__page {
  background: var(--zl-blue, #2f80ed);
  border-color: var(--zl-blue, #2f80ed);
  color: #fff;
}

.zl-pagination__dots {
  border-color: transparent;
  background: transparent;
  color: #94a3b8;
  min-width: 1.5rem;
  padding: 0;
}

.zl-pagination__next {
  position: relative;
}

.zl-pagination__next::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: -2px;
}

.zl-company-listing__empty {
  margin: 1rem 0;
  color: var(--zl-muted);
}

/* Dense cards — Sdavalyсh structure */
.page_card_metalbruht-company-card.zl-card,
.zl-card {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e6e6e6;
  padding: 16px;
  margin: 0 0 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  color: #333;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.page_card_metalbruht-company-card.zl-card:hover,
.zl-card:hover {
  border-color: var(--sday-yellow, #f5c518);
  background: var(--sday-yellow-soft, #fff8db);
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.35);
}

.zl-card__avatar-wrap--mobile {
  display: none;
}

.zl-card__container {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  align-items: start;
}

.zl-card__avatar-wrap--desktop {
  grid-column: 1;
  grid-row: 1;
  width: 128px;
  height: 128px;
  border-radius: 8px;
  background: #f3f5f7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}

.zl-card__avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.zl-card__avatar--placeholder {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef3f8, #dfe7f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa8b5;
  font-size: 36px;
  line-height: 1;
}

.zl-card__avatar-edit {
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
}

.zl-card__avatar-edit:focus-visible {
  outline: 2px solid var(--zl-blue, #2f80ed);
  outline-offset: 2px;
}

.zl-card__avatar-edit-hint {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.92);
  color: #fff;
  font-size: 0.7rem;
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.15s;
}

.zl-card__avatar-edit:hover .zl-card__avatar-edit-hint,
.zl-card__avatar-edit[aria-expanded='true'] .zl-card__avatar-edit-hint {
  opacity: 1;
}

.zl-card__avatar-menu {
  position: fixed;
  min-width: 11rem;
  padding: 0.25rem;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  z-index: 10050;
}

.zl-card__avatar-menu[hidden] {
  display: none !important;
}

.zl-card__avatar-menu-btn {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #222;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.zl-card__avatar-menu-btn:hover {
  background: #f3f8ff;
  color: var(--zl-blue, #2f80ed);
}

.zl-card__avatar-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.zl-card__info {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.zl-card__metals,
.zl-card__divider--metals {
  grid-column: 2;
  min-width: 0;
}

@media (max-width: 1070px) and (min-width: 768px) {
  .zl-card__metals,
  .zl-card__divider--metals {
    grid-column: 1 / -1;
  }
}

.zl-card__row--name {
  margin-bottom: 6px;
}

.zl-card__name-link,
.zl-card__name-text {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
  text-decoration: none;
}

.zl-card__name-link:hover {
  color: var(--zl-blue-soft);
  text-decoration: underline;
}

.zl-card__location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 6px;
  color: #888;
  font-size: 0.875rem;
  line-height: 1.35;
}

.zl-card__location-text {
  min-width: 0;
}

.zl-card__geo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  margin: 0 0 8px;
  color: #888;
  font-size: 0.82rem;
  line-height: 1.35;
}

.zl-card__geo-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.zl-card__geo-text,
.zl-card__metro-list {
  min-width: 0;
}

.zl-card__metro-list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.45rem;
}

.zl-card__metro-station {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.zl-card__metro-station .zl-card__icon {
  flex-shrink: 0;
  font-size: 0.78em;
}

.zl-card__metro-sep {
  color: #bbb;
  user-select: none;
}

.zl-card__metro-dist:not([hidden]) {
  margin-left: 0.15rem;
  color: #667;
  font-weight: 600;
}

.zl-card__metro-dist:not([hidden])::before {
  content: '· ';
  font-weight: 400;
  color: #aaa;
}

.zl-card__socials {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  flex-shrink: 0;
}

.zl-card__social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #eef2f7;
  color: #4a5568;
  text-decoration: none;
  font-size: 0.75rem;
  z-index: 1;
}

.zl-card__social-link:hover,
.zl-card__social-link:focus-visible,
.zl-card__social-link.is-tip-open {
  background: #e0eaf8;
  color: var(--zl-blue, #2f80ed);
  z-index: 20;
}

.zl-card__social-link:focus {
  outline: none;
}

.zl-card__social-link:focus-visible {
  outline: 2px solid var(--zl-accent, #2f80ed);
  outline-offset: 2px;
}

.zl-card__schedule {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.zl-card__schedule-label {
  font-weight: 700;
}

.zl-card__schedule-label.is-open {
  color: #3cb371;
}

.zl-card__schedule-label.is-closed {
  color: var(--zl-closed, #e85d5d);
}

.zl-card__schedule-time {
  color: #888;
  font-weight: 400;
}

.zl-card__phone {
  margin: 0 0 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.zl-card__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #555;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.zl-card__phone-link:hover {
  color: #333;
  text-decoration: underline;
}

.zl-card__phone-value {
  color: inherit;
  font-variant-numeric: tabular-nums;
}

.zl-card__icon {
  font-size: 0.9rem;
  line-height: 1;
}

.zl-card__icon--muted {
  color: #888;
}

.zl-card__icon--blue {
  color: var(--zl-blue-soft, #3498db);
}

.zl-card__divider {
  height: 1px;
  width: 100%;
  background: #eee;
  margin: 12px 0;
  border: 0;
}

.zl-card__divider--mobile {
  display: none;
}

.zl-card__tags {
  display: none;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.zl-card__tags-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  min-width: 0;
  flex: 1 1 auto;
}

.zl-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #888;
  font-size: 0.82rem;
  line-height: 1.25;
  max-width: 100%;
}

.zl-card__tag-text {
  min-width: 0;
}

.zl-card__metals {
  margin: 0;
}

.zl-card__metals--pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.45rem;
  padding-top: 2px;
}

.zl-card__metal-pill {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #555;
  font-size: 0.78rem;
  line-height: 1.3;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zl-card__metal-more {
  display: inline-flex;
  align-items: center;
  padding: 5px 2px;
  color: var(--zl-blue, #2f80ed);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.zl-card__metal-more:hover {
  color: var(--zl-blue-soft, #3498db);
  text-decoration: underline;
}

.zl-card__metal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 5px 0;
  font-size: 0.9rem;
}

.zl-card__metal-name {
  color: #333;
  font-weight: 600;
  min-width: 0;
}

.zl-card__metal-price {
  color: #555;
  white-space: nowrap;
  font-weight: 400;
}

.zl-card__more-metals {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px 0 0;
  margin: 0;
  color: #888;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.zl-card__more-metals:hover {
  color: var(--zl-blue-soft);
}

.zl-card__chevron {
  font-size: 0.7rem;
  transition: transform 0.38s ease;
}

.zl-card__more-metals[aria-expanded="true"] .zl-card__chevron {
  transform: rotate(180deg);
}

.zl-card__metals-extra {
  margin: 0;
  padding: 0;
}

.zl-card__metals-extra.is-collapsed {
  display: none !important;
}

.zl-card__metals-extra.is-animating {
  display: block !important;
}

.zl-card__accordion {
  margin-top: 0.5rem;
}

.zl-card__accordion[hidden] {
  display: none !important;
}

.zl-card__favors {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.zl-card__favors-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.zl-card__favors-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.zl-card__favor-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 4px;
}

.zl-card__favor-icon {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.2rem;
  border: none;
  background: none;
  color: #888;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  cursor: help;
  z-index: 1;
}

.zl-card__favor-icon:hover,
.zl-card__favor-icon:focus-visible,
.zl-card__favor-icon.is-tip-open {
  color: #555;
  z-index: 20;
}

.zl-card__favor-icon:focus {
  outline: none;
}

.zl-card__favor-icon:focus-visible {
  outline: 2px solid var(--zl-accent, #2f80ed);
  outline-offset: 2px;
  border-radius: 4px;
}

.zl-card__tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  max-width: min(16rem, calc(100vw - 1.5rem));
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: #333;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 80ms ease;
  z-index: 21;
  --zl-tip-arrow: 50%;
}

.zl-card__tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: var(--zl-tip-arrow, 50%);
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: #333;
}

@media (hover: hover) {
  .zl-card__favor-icon:hover > .zl-card__tip,
  .zl-card__social-link:hover > .zl-card__tip {
    opacity: 1;
    visibility: visible;
  }
}

.zl-card__favor-icon:focus-visible > .zl-card__tip,
.zl-card__social-link:focus-visible > .zl-card__tip,
.zl-card__favor-icon.is-tip-open > .zl-card__tip,
.zl-card__social-link.is-tip-open > .zl-card__tip {
  opacity: 1;
  visibility: visible;
}

.zl-card__chip {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #555;
  font-size: 0.78rem;
  line-height: 1.3;
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zl-card__chip--primary {
  background: #3cb371;
  color: #fff;
  font-weight: 600;
}

.page_card_metalbruht-accordion {
  border: 1px solid var(--zl-border);
  background: #fff;
  box-shadow: none;
}

.page_card_metalbruht-accordion-header {
  background: #f7f9fb;
  font-size: 0.85rem;
}

.page_card_metalbruht-price-date {
  font-size: 0.8rem;
  color: var(--zl-muted);
  margin: 0.4rem 0 0;
}

.page_card_metalbruht-status.is-open { color: var(--zl-open); }
.page_card_metalbruht-status.is-closed { color: var(--zl-closed); }

.zl-mobile-sticky {
  display: none;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  #companies-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .zl-map-panel {
    order: -1;
    position: relative;
    top: auto;
    width: calc(100% - 2rem);
    max-width: none;
    margin: 0 1rem;
    height: 30vh;
    max-height: 45vh;
    flex: none;
    border-radius: 6px;
    box-sizing: border-box;
  }

  .zl-map-panel.is-map-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 10050;
    order: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
    border-radius: 0;
    border: none;
  }

  body.zl-map-fullscreen {
    overflow: hidden;
  }

  /* Route bar only in fullscreen on mobile — hide over the mini map */
  .zl-map-route-bar {
    display: none !important;
  }

  .zl-map-panel.is-map-fullscreen .zl-map-route-bar:not([hidden]) {
    display: flex !important;
    top: auto;
    bottom: 12px;
    left: 10px;
    right: 10px;
    max-width: none;
    max-height: 38vh;
    overflow: auto;
    align-items: flex-start;
  }

  .zl-map-panel.is-map-fullscreen .zl-map-route-bar__close {
    display: inline-flex;
  }

  #companies-map {
    order: -1;
    /* Leaflet sets position:relative; sticky `top` from desktop must not remain. */
    position: relative;
    top: auto;
    width: calc(100% - 2rem);
    max-width: none;
    margin: 0 1rem;
    height: 30vh;
    max-height: 45vh;
    flex: none;
    border-radius: 6px;
    box-sizing: border-box;
  }

  .zl-map-panel #companies-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .zl-results-meta {
    order: 0;
  }

  #companies-list-col {
    order: 1;
    width: 100%;
    min-width: 0;
  }

  #companies-container {
    width: 100%;
  }

  .zl-card {
    width: 100%;
    padding: 14px;
    margin: 0 0 8px;
  }

  .zl-card__avatar-wrap--mobile {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
  }

  .zl-card__avatar-wrap--mobile .zl-card__avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    padding: 4px;
    box-sizing: border-box;
    object-fit: contain;
    border-radius: 8px;
    background: #f3f5f7;
  }

  .zl-card__avatar-wrap--mobile .zl-card__avatar-edit {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .zl-card__avatar-wrap--mobile .zl-card__avatar-edit .zl-card__avatar {
    width: 100%;
    height: 100%;
    flex: none;
  }

  .zl-card__avatar-wrap--mobile .zl-card__avatar-edit-hint {
    width: 1.15rem;
    height: 1.15rem;
    right: 2px;
    bottom: 2px;
    font-size: 0.55rem;
  }

  .zl-card__avatar-wrap--mobile .zl-card__avatar--placeholder {
    padding: 0;
    background: linear-gradient(135deg, #eef3f8, #dfe7f0);
    font-size: 20px;
  }

  .zl-card__avatar-wrap--mobile .zl-card__name {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 2px;
  }

  .zl-card__avatar-wrap--desktop {
    display: none;
  }

  .zl-card__container {
    display: block;
  }

  .zl-card__row--name {
    display: none;
  }

  .zl-card__top {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .zl-card__top-route {
    align-self: flex-start;
    margin-left: 0;
    padding-top: 0;
  }

  .zl-route-dd__menu {
    right: auto;
    left: 0;
  }

  .zl-card__tags {
    display: flex;
  }

  .zl-card__divider--mobile {
    display: block;
  }

  .zl-card__favors {
    display: none;
  }

  .zl-card__name-link,
  .zl-card__name-text {
    font-size: 0.98rem;
  }

  .zl-mobile-sticky {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    background: #fff;
    border-top: 1px solid var(--zl-border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  }

  .zl-mobile-sticky[hidden] {
    display: none !important;
  }

  .zl-mobile-sticky__btn {
    appearance: none;
    border: none;
    background: #fff;
    padding: 0.9rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--zl-blue-h1);
    cursor: pointer;
  }

  .zl-mobile-sticky__btn + .zl-mobile-sticky__btn {
    border-left: 1px solid var(--zl-border);
  }

  body.zl-filters-open .met-filters-container {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 3.2rem;
    z-index: 9001;
    background: #fff;
    padding: 1rem;
    border-top: 1px solid var(--zl-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    max-height: 55vh;
    overflow: auto;
    margin: 0;
  }

  .zl-company-listing {
    padding-bottom: 4rem;
  }

  .scroll-to-map-btn {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .zl-mobile-sticky {
    display: none !important;
  }
}

/* ===== Search header + region modal (Sdavalyсh layout) ===== */
.zl-search-header {
  background: #f4f4f4;
  margin: 0 calc(50% - 50vw) 1rem;
  width: 100vw;
  padding: 1rem 0 1.15rem;
  border-bottom: 1px solid #ececec;
}

.zl-search-header__inner {
  width: min(100% - 2rem, var(--sday-max, 1180px));
  margin-inline: auto;
}

.zl-search-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  font-size: 0.85rem;
  color: #9a9a9a;
}

.zl-search-breadcrumbs__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.zl-search-breadcrumbs__list li:not(:last-child)::after {
  content: ">";
  color: #bbb;
  margin-left: 0.15rem;
}

.zl-search-breadcrumbs__list a {
  color: var(--zl-blue-soft, #3498db);
  text-decoration: none;
}

.zl-search-breadcrumbs__list a:hover {
  text-decoration: underline;
}

.zl-search-header__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #222;
  line-height: 1.25;
}

/* Bottom SEO article — inside left column beside sticky map */
.zl-listing-seo {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.zl-listing-seo__body {
  color: #444;
  font-size: 1rem;
  line-height: 1.65;
}

.zl-prose > *:first-child {
  margin-top: 0;
}

.zl-prose > *:last-child {
  margin-bottom: 0;
}

.zl-prose p {
  margin: 0 0 1rem;
}

.zl-prose h2,
.zl-prose h3,
.zl-prose h4 {
  margin: 1.75rem 0 0.75rem;
  color: #222;
  font-weight: 700;
  line-height: 1.3;
}

.zl-prose h2 {
  font-size: 1.35rem;
}

.zl-prose h3 {
  font-size: 1.15rem;
}

.zl-prose ul,
.zl-prose ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.zl-prose li {
  margin: 0.25rem 0;
}

.zl-prose a {
  color: var(--zl-blue-soft, #3498db);
  text-decoration: underline;
}

.zl-prose a:hover {
  color: var(--zl-blue, #2f80ed);
}

.zl-search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.zl-search-filter-btn {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  background: #e4e4e4;
  color: #333;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.25;
  transition: background 0.15s, color 0.15s;
}

.zl-services-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #f5a623;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 0 0 2px #fff;
}

a.zl-search-filter-btn {
  color: #333;
}

.zl-search-filter-btn:hover {
  background: #d8d8d8;
  color: #222;
}

.zl-search-filter-btn.is-active,
.zl-search-dd.is-open > .zl-search-dd__btn {
  background: var(--zl-blue, #2f80ed);
  color: #fff;
}

.zl-open-now-btn[hidden] {
  display: none !important;
}

.zl-open-now-btn {
  background: #e8f3ec;
  color: #2d6a45;
  box-shadow: none;
}

.zl-open-now-btn:hover {
  background: #d8ebe0;
  color: #245538;
}

.zl-open-now-btn.is-active,
.zl-open-now-btn[aria-pressed='true'] {
  background: #fde8e8;
  color: #a33a3a;
  box-shadow: inset 0 0 0 1px #e8b0b0;
}

.zl-open-now-btn.is-active:hover,
.zl-open-now-btn[aria-pressed='true']:hover {
  background: #f8d4d4;
  color: #8f2f2f;
}

.zl-open-now-btn__count {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

.zl-open-now-btn.is-active .zl-open-now-btn__count,
.zl-open-now-btn[aria-pressed='true'] .zl-open-now-btn__count {
  opacity: 0.85;
}

.zl-open-now-btn__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.95;
}

.zl-open-now-btn__clear[hidden] {
  display: none !important;
}

.zl-search-dd {
  position: relative;
}

.zl-search-dd__menu {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 40;
  min-width: 220px;
  max-width: min(90vw, 320px);
  max-height: 280px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
}

.zl-search-dd__menu[hidden] {
  display: none !important;
}

.zl-search-dd__empty {
  margin: 0;
  padding: 0.65rem 0.85rem;
  color: #888;
  font-size: 0.875rem;
}

.zl-search-dd__menu label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.zl-search-dd__menu label:hover {
  background: #f5f5f5;
}

.zl-search-dd__menu label.is-checked,
.zl-search-dd__menu label:has(input:checked) {
  color: #9a9a9a;
}

.zl-search-dd__menu label:has(input:checked) span {
  color: #9a9a9a;
}

#zl-services-select .custom-select-btn {
  position: relative;
}

.zl-search-dd__menu--links {
  min-width: 240px;
  max-width: min(90vw, 300px);
  max-height: min(60vh, 320px);
  padding: 0.4rem;
  border-radius: 12px;
  border: 1px solid var(--zl-border, #dcdcdc);
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 31, 31, 0.12), 0 2px 6px rgba(31, 31, 31, 0.06);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c8c8c8 transparent;
}

.zl-search-dd__menu--links::-webkit-scrollbar {
  width: 8px;
}

.zl-search-dd__menu--links::-webkit-scrollbar-thumb {
  background: #c8c8c8;
  border-radius: 999px;
  border: 2px solid #fff;
}

.zl-search-dd__menu--metals {
  display: flex;
  flex-direction: column;
  min-width: 280px;
  max-width: min(92vw, 380px);
  max-height: min(72vh, 480px);
  padding: 0;
  overflow: hidden;
}

.zl-search-dd__search {
  flex: 0 0 auto;
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.5rem 0.5rem 0.45rem;
  background: #fff;
  border-bottom: 1px solid var(--zl-border, #dcdcdc);
}

.zl-search-dd__search-input {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--zl-border, #dcdcdc);
  border-radius: 8px;
  background: #fff;
  color: #1f1f1f;
  font-size: 0.875rem;
  line-height: 1.3;
}

.zl-search-dd__search-input::placeholder {
  color: var(--zl-muted, #6b6b6b);
}

.zl-search-dd__search-input:focus {
  outline: none;
  border-color: var(--zl-blue, #2f80ed);
  box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.2);
}

.zl-search-dd__list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0.35rem 0.4rem 0.4rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c8c8c8 transparent;
}

.zl-search-dd__list::-webkit-scrollbar {
  width: 8px;
}

.zl-search-dd__list::-webkit-scrollbar-thumb {
  background: #c8c8c8;
  border-radius: 999px;
  border: 2px solid #fff;
}

.zl-search-dd__menu--metals > .zl-search-dd__empty {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.75rem 0.85rem 0.9rem;
  border-top: 1px solid var(--zl-border, #dcdcdc);
}

.zl-search-dd__menu--metals > .zl-search-dd__empty[hidden] {
  display: none !important;
}

.zl-search-dd__menu--links .zl-search-dd__link,
.zl-search-dd__menu--links a.zl-search-dd__link,
.zl-search-dd__menu--links a.zl-search-dd__link:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  color: #1f1f1f;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  transition: background 0.12s ease, color 0.12s ease;
}

.zl-search-dd__menu--links .zl-search-dd__link::after {
  content: "›";
  flex: 0 0 auto;
  color: var(--zl-muted, #6b6b6b);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1;
  opacity: 0;
  transform: translateX(-2px);
  transition: opacity 0.12s ease, transform 0.12s ease, color 0.12s ease;
}

.zl-search-dd__menu--links .zl-search-dd__link:hover,
.zl-search-dd__menu--links a.zl-search-dd__link:hover {
  background: rgba(47, 128, 237, 0.08);
  color: var(--zl-blue, #2f80ed);
  text-decoration: none;
}

.zl-search-dd__menu--links .zl-search-dd__link:hover::after {
  opacity: 1;
  color: var(--zl-blue, #2f80ed);
  transform: translateX(0);
}

.zl-search-dd__menu--links .zl-search-dd__link:focus {
  outline: none;
}

.zl-search-dd__menu--links .zl-search-dd__link:focus-visible,
.zl-search-dd__menu--links a.zl-search-dd__link:focus-visible {
  outline: 2px solid var(--zl-blue, #2f80ed);
  outline-offset: 1px;
  background: rgba(47, 128, 237, 0.08);
  color: var(--zl-blue, #2f80ed);
  text-decoration: none;
}

.zl-search-dd__menu--links .zl-search-dd__link:focus-visible::after {
  opacity: 1;
  color: var(--zl-blue, #2f80ed);
  transform: translateX(0);
}

.zl-search-dd__group + .zl-search-dd__group {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--zl-border, #dcdcdc);
}

.zl-search-dd__menu--links .zl-search-dd__group-label,
.zl-search-dd__menu--links a.zl-search-dd__group-label,
.zl-search-dd__menu--links a.zl-search-dd__group-label:visited {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 0.2rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: #f7f8fa;
  color: #4a4a4a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
  text-decoration: none;
}

.zl-search-dd__menu--links a.zl-search-dd__group-label--link {
  color: var(--zl-blue-h1, #317eac);
  transition: background 0.12s ease, color 0.12s ease;
}

.zl-search-dd__menu--links a.zl-search-dd__group-label--link:hover,
.zl-search-dd__menu--links a.zl-search-dd__group-label--link:focus-visible {
  background: rgba(47, 128, 237, 0.1);
  color: var(--zl-blue, #2f80ed);
  text-decoration: none;
}

.zl-search-dd__menu--links a.zl-search-dd__group-label--link:focus {
  outline: none;
}

.zl-search-dd__menu--links a.zl-search-dd__group-label--link:focus-visible {
  outline: 2px solid var(--zl-blue, #2f80ed);
  outline-offset: 1px;
}

.zl-search-dd__menu--links .zl-search-dd__group .zl-search-dd__link,
.zl-search-dd__menu--links .zl-search-dd__group a.zl-search-dd__link,
.zl-search-dd__menu--links .zl-search-dd__group a.zl-search-dd__link:visited {
  padding-left: 1.05rem;
  font-weight: 500;
  color: #2a2a2a;
}

.zl-search-dd__menu--links .zl-search-dd__group .zl-search-dd__link:hover,
.zl-search-dd__menu--links .zl-search-dd__group .zl-search-dd__link:focus-visible {
  color: var(--zl-blue, #2f80ed);
}

@media (max-width: 767px) {
  .zl-search-dd__menu {
    box-sizing: border-box;
  }

  .zl-search-dd__menu--links {
    max-width: min(92vw, 360px);
  }

  .zl-search-dd__menu--metals {
    max-width: min(92vw, 360px);
  }

  .zl-search-dd__menu--links .zl-search-dd__link {
    min-height: 44px;
    padding: 0.65rem 0.8rem;
    overflow-wrap: anywhere;
  }

  .zl-search-dd__menu--links .zl-search-dd__link::after {
    opacity: 0.45;
  }

  .zl-search-dd__menu--links .zl-search-dd__group-label {
    padding: 0.55rem 0.8rem;
  }

  .zl-search-dd__menu--links .zl-search-dd__group .zl-search-dd__link {
    padding-left: 1.1rem;
  }

  .zl-search-dd__menu label {
    align-items: flex-start;
  }

  .zl-search-dd__menu label span {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
}

/* legacy chip class (fallback filter buttons) */
.zl-search-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  background: #e4e4e4;
  color: #333;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.zl-search-chip:hover {
  background: #d8d8d8;
}

.zl-search-chip.is-active {
  background: var(--zl-blue, #2f80ed);
  color: #fff;
}

.zl-search-chip__icon {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Calc modal */
.zl-calc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.zl-calc-modal:not([hidden]) {
  display: flex;
}

.zl-calc-modal__dialog {
  background: #fff;
  border-radius: 12px;
  width: min(100%, 560px);
  max-height: 90dvh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.15rem 1.25rem 1.35rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.zl-calc-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.zl-calc-modal__head-text {
  min-width: 0;
}

.zl-calc-modal__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #222;
}

.zl-calc-modal__context {
  display: inline-block;
  margin: 0.4rem 0 0;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #f0f3f7;
  color: #556;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.zl-calc-modal__context[hidden] {
  display: none !important;
}

.zl-calc-modal__close {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #888;
  padding: 0 0.15rem;
}

.zl-calc-modal__field {
  display: block;
  margin-bottom: 1rem;
}

.zl-calc-modal__field:last-of-type {
  margin-bottom: 1.15rem;
}

.zl-calc-modal__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #555;
}

.zl-calc-modal__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
}

.zl-calc-metal {
  position: relative;
}

.zl-calc-metal__btn {
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.65rem 2.25rem 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  text-align: left;
  background: #fff;
  color: #222;
  cursor: pointer;
  position: relative;
}

.zl-calc-metal__btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.zl-calc-metal__btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.85rem;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666;
  transform: translateY(-40%);
}

.zl-calc-metal.is-open .zl-calc-metal__btn::after {
  border-top: 0;
  border-bottom: 6px solid #666;
  transform: translateY(-60%);
}

.zl-calc-metal__btn-text.is-placeholder {
  color: #888;
}

.zl-calc-metal__menu {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 20;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  max-height: min(240px, 38vh);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.zl-calc-metal__menu[hidden] {
  display: none !important;
}

.zl-calc-metal__option {
  display: block;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  color: #222;
  cursor: pointer;
}

.zl-calc-metal__option:hover,
.zl-calc-metal__option:focus {
  background: #f0f6ff;
  outline: none;
}

.zl-calc-metal__option.is-selected {
  background: #e8f1fc;
  font-weight: 600;
}

.zl-calc-modal__output {
  margin: 0 0 1.15rem;
  padding: 0.95rem 1rem 1rem;
  background: #f3f7fc;
  border: 1px solid #e2ebf5;
  border-radius: 10px;
}

.zl-calc-modal__output[hidden] {
  display: none !important;
}

.zl-calc-modal__output.is-error {
  background: #faf6f6;
  border-color: #eddada;
}

.zl-calc-modal__result {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: #1a1a1a;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.35;
}

.zl-calc-modal__result-label {
  display: block;
  margin-bottom: 0.2rem;
  color: #667;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.zl-calc-modal__result-total {
  display: block;
  color: #111;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.zl-calc-modal__result-rate {
  display: block;
  margin-top: 0.2rem;
  color: #4a5568;
  font-size: 0.9rem;
  font-weight: 600;
}

.zl-calc-modal__result.is-plain {
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
}

.zl-calc-modal__hint {
  margin: 0.7rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid #d9e4f0;
  color: #667;
  font-size: 0.8rem;
  line-height: 1.4;
  font-weight: 500;
}

.zl-calc-modal__hint[hidden] {
  display: none !important;
}

.zl-calc-modal__submit {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--zl-blue, #2f80ed);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.8rem 1rem;
  cursor: pointer;
}

.zl-calc-modal__submit:hover {
  background: var(--zl-blue-soft, #3498db);
}

.zl-calc-modal__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.zl-calc-weight-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.zl-calc-weight-row .zl-calc-modal__input {
  flex: 1 1 auto;
}

.zl-calc-unit-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.zl-calc-unit-toggle__btn {
  appearance: none;
  border: 0;
  background: #fff;
  color: #555;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0 0.85rem;
  cursor: pointer;
}

.zl-calc-unit-toggle__btn + .zl-calc-unit-toggle__btn {
  border-left: 1px solid #ddd;
}

.zl-calc-unit-toggle__btn.is-active {
  background: var(--zl-blue, #2f80ed);
  color: #fff;
}

.zl-calc-metal-locked {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2ebf5;
  border-radius: 8px;
  background: #f3f7fc;
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
}

.zl-calc-metal-locked[hidden] {
  display: none !important;
}

.zl-calc-modal__field.is-locked #zl-calc-metal-select {
  display: none;
}

.zl-calc-modal__output.is-fallback {
  background: #faf8f3;
  border-color: #eadfc8;
}

.zl-calc-modal__warning {
  margin: 0.7rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: #fff6e8;
  border: 1px solid #f0d9a8;
  color: #6a4b00;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 600;
}

.zl-calc-modal__warning[hidden] {
  display: none !important;
}

.zl-calc-sources {
  margin-top: 0.85rem;
}

.zl-calc-sources[hidden] {
  display: none !important;
}

.zl-calc-modal__sources-caption {
  margin: 0 0 0.45rem;
  color: #445;
  font-size: 0.8rem;
  font-weight: 700;
}

.zl-calc-sources__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.zl-calc-sources__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.zl-calc-sources__table th,
.zl-calc-sources__table td {
  text-align: left;
  padding: 0.4rem 0.45rem;
  border-bottom: 1px solid #e6edf5;
  vertical-align: top;
}

.zl-calc-sources__table thead th {
  position: sticky;
  top: 0;
  background: #f7fafc;
  color: #667;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  z-index: 1;
}

.zl-calc-sources__table th:nth-child(1),
.zl-calc-sources__table td:nth-child(1) {
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zl-calc-sources__table th:nth-child(2),
.zl-calc-sources__table td:nth-child(2),
.zl-calc-sources__table th:nth-child(3),
.zl-calc-sources__table td:nth-child(3) {
  white-space: nowrap;
  text-align: right;
}

.zl-calc-sources__link {
  color: var(--zl-blue, #2f80ed);
  text-decoration: none;
  font-weight: 600;
}

.zl-calc-sources__link:hover {
  text-decoration: underline;
}

.zl-calc-modal__sources-footer {
  margin: 0.4rem 0 0;
  color: #778;
  font-size: 0.75rem;
}

.zl-calc-modal__sources-footer[hidden] {
  display: none !important;
}

.zl-calc-modal__disclaimer {
  margin: 0.75rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid #d9e4f0;
  color: #667;
  font-size: 0.78rem;
  line-height: 1.4;
}

.zl-calc-modal__disclaimer[hidden] {
  display: none !important;
}

@media (max-width: 480px) {
  .zl-calc-sources__table thead {
    display: none;
  }

  .zl-calc-sources__table tr {
    display: block;
    margin-bottom: 0.5rem;
    border: 1px solid #e2ebf5;
    border-radius: 8px;
    padding: 0.35rem 0.15rem;
  }

  .zl-calc-sources__table td {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 0;
    max-width: none;
    white-space: normal;
    text-align: right;
  }

  .zl-calc-sources__table td::before {
    content: attr(data-label);
    color: #667;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
  }

  .zl-calc-sources__table th:nth-child(1),
  .zl-calc-sources__table td:nth-child(1),
  .zl-calc-sources__table th:nth-child(2),
  .zl-calc-sources__table td:nth-child(2),
  .zl-calc-sources__table th:nth-child(3),
  .zl-calc-sources__table td:nth-child(3) {
    max-width: none;
    text-align: right;
    white-space: normal;
  }
}

body.zl-calc-modal-open {
  overflow: hidden;
}

/* Region modal override */
#region-modal.zl-region-modal,
.zl-region-modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  z-index: 12000;
  padding: 1rem;
}

.zl-region-modal:not([hidden]) {
  display: flex !important;
}

.zl-region-modal__dialog.rs-content,
.zl-region-modal__dialog {
  background: #fff;
  width: min(420px, 100%);
  max-height: min(90vh, 640px);
  border-radius: 12px;
  padding: 1rem 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.zl-region-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.zl-region-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
}

.zl-region-modal__close {
  appearance: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #aaa;
  cursor: pointer;
  padding: 0;
}

.zl-region-modal__search-wrap {
  position: relative;
  margin-bottom: 0.75rem;
}

.zl-region-modal__search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 0.85rem;
  pointer-events: none;
}

.zl-region-modal__search,
#region-modal #rs-search {
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.75rem 0.65rem 2.15rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.zl-region-modal__body,
#region-modal #rs-body {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 12rem;
  padding: 0;
}

.zl-region-modal__list.rs-grid {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
}

.zl-region-modal__city.rs-grid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid #f0f0f0;
  color: var(--zl-blue-soft, #3498db);
  text-decoration: none;
  font-size: 0.95rem;
}

.zl-region-modal__city.selected .zl-region-modal__city-name,
.zl-region-modal__city.selected {
  color: #888;
  font-weight: 600;
}

/* Column layout would put the region › under the label — hide it in the modal. */
.zl-region-modal__city.rs-region::after {
  content: none;
}

.zl-region-modal__city-state {
  font-size: 0.8rem;
  color: #999;
}

.zl-region-modal__back {
  display: inline-block;
  margin: 0 0 0.5rem;
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
}

.zl-region-modal__error {
  text-align: center;
  padding: 1rem 0.5rem;
}

.zl-region-modal__error p {
  margin: 0 0 0.75rem;
}

.zl-region-modal__retry {
  appearance: none;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.zl-region-modal__retry:hover {
  border-color: var(--zl-blue, #2f80ed);
  color: var(--zl-blue, #2f80ed);
}

.zl-region-modal__footer {
  padding: 0.75rem 0 0.25rem;
  border-top: 1px solid #f0f0f0;
  margin-top: 0.5rem;
}

.zl-region-modal__national {
  display: block;
  text-align: center;
  background: var(--zl-blue, #2f80ed);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.zl-region-modal__national:hover {
  background: var(--zl-blue-soft, #3498db);
}

body.zl-region-modal-open {
  overflow: hidden;
}

/* —— /mista/ cities index —— */
.zl-mista {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.zl-mista__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.zl-mista__alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.25rem;
  margin: 0 0 1.5rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid #eee;
}

.zl-mista__letter {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--zl-blue, #2f80ed);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.25rem 0.4rem;
  cursor: pointer;
  border-radius: 4px;
  line-height: 1.2;
}

.zl-mista__letter:hover:not(:disabled) {
  background: rgba(47, 128, 237, 0.08);
}

.zl-mista__letter.is-active {
  background: var(--zl-blue, #2f80ed);
  color: #fff;
}

.zl-mista__letter:disabled,
.zl-mista__letter.is-disabled {
  color: #ccc;
  cursor: default;
}

.zl-mista__cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.15rem 1.5rem;
}

.zl-mista__city.is-hidden {
  display: none;
}

.zl-mista__city-link {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.45rem 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
}

.zl-mista__city-link:hover .zl-mista__city-name {
  color: var(--zl-blue, #2f80ed);
}

.zl-mista__city-name {
  font-weight: 600;
  font-size: 1rem;
  color: #222;
}

.zl-mista__city-state {
  font-size: 0.85rem;
  color: #888;
}

.zl-mista__more-wrap {
  margin: 1.5rem 0 0;
  text-align: center;
}

.zl-mista__more {
  appearance: none;
  border: 1px solid var(--zl-blue, #2f80ed);
  background: #fff;
  color: var(--zl-blue, #2f80ed);
  font: inherit;
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
}

.zl-mista__more:hover {
  background: rgba(47, 128, 237, 0.06);
}

.zl-mista__regions-title {
  margin: 2.5rem 0 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a1a;
}

.zl-mista__regions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.35rem 1.25rem;
}

.zl-mista__region a {
  color: var(--zl-blue, #2f80ed);
  text-decoration: none;
  font-weight: 600;
}

.zl-mista__region a:hover {
  text-decoration: underline;
}

/* Header city btn — neutralize old skyblue rule */
.sday-header-city__btn#region-selector-btn,
#region-selector-btn.sday-header-city__btn {
  color: var(--sday-blue, #2f80ed);
  text-decoration: none;
  padding: 0.35rem 0.15rem;
}

/* Bottom SEO / insights + nearby — shared white card */
.zl-listing-bottom {
  width: 100%;
  max-width: none;
  margin: 2rem 0 1.25rem;
  padding: 1.15rem 1.2rem;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 10px;
}

/* Listing insights — SEO analytics after company cards (inside .zl-listing-bottom) */
.zl-listing-insights {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.zl-facet-lead,
.zl-service-lead {
  margin: 0.65rem 0 1rem;
  max-width: 52rem;
  color: #3a3f47;
  font-size: 1.02rem;
  line-height: 1.55;
}

.zl-facet-explain {
  margin: 0 0 1rem;
  max-width: 52rem;
  color: #3a3f47;
  font-size: 1.02rem;
  line-height: 1.55;
}

.zl-facet-lead + .zl-facet-explain {
  margin-top: -0.35rem;
}

.zl-company-listing__empty-cta {
  display: inline-block;
  margin-top: 0.5rem;
}

.zl-listing-insights__section + .zl-listing-insights__section {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef0f3;
}

.zl-listing-insights__guide {
	margin: 0.75rem 0 1.25rem;
	padding: 0.75rem 1rem;
	border-left: 3px solid var(--zl-accent, #c45c26);
	background: color-mix(in srgb, var(--zl-accent, #c45c26) 8%, transparent);
	font-size: 0.95rem;
	line-height: 1.45;
}

.zl-listing-insights__guide a {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.zl-listing-insights__howto,
.zl-listing-insights__extras {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.zl-listing-insights__howto li,
.zl-listing-insights__extras li {
  margin: 0.45rem 0;
}

.zl-listing-insights__disclaimer {
  margin: 0.35rem 0 1rem;
  color: #555;
}

.zl-listing-insights__footnote {
  margin: 0.75rem 0 0;
  max-width: 52rem;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.5;
}

.zl-listing-insights__requirements {
  margin: 0.75rem 0 1rem;
}

.zl-listing-insights__faq-item {
  margin: 0.55rem 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid #e8ebf0;
  border-radius: 6px;
  background: #fafbfc;
}

.zl-listing-insights__faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #222;
}

.zl-listing-insights__faq-item p {
  margin: 0.5rem 0 0;
}

.zl-listing-insights h2 {
  margin: 0 0 0.75rem;
  font-size: 1.28rem;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

#zl-li-leaders,
#zl-li-metals {
  scroll-margin-top: calc(var(--sday-header-h, 4rem) + 0.75rem);
}

.zl-listing-insights h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

.zl-listing-insights h3:first-of-type {
  margin-top: 1rem;
}

.zl-listing-insights p {
  margin: 0 0 0.75rem;
}

.zl-listing-insights__note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.9rem;
  background: #f5f8fc;
  border: 1px solid #d9e6f5;
  border-radius: 8px;
  color: #2a3a4d;
  font-size: 0.95rem;
}

.zl-listing-insights__note strong {
  font-size: 1.15rem;
  color: #1a2733;
}

.zl-listing-insights__note-sep {
  opacity: 0.45;
}

.zl-listing-insights__note--quotes {
  display: block;
  margin-top: 1rem;
}

.zl-listing-insights__note--quotes .zl-listing-insights__note-title {
  margin: 0 0 0.4rem;
  font-weight: 600;
  color: #1a2733;
}

.zl-listing-insights__note--quotes ul {
  margin: 0;
  padding-left: 1.2rem;
}

.zl-listing-insights__table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 0.75rem;
  /* Keep focus rings / cell edges visible while allowing horizontal swipe. */
  padding-bottom: 2px;
}

.zl-listing-insights__avg--empty {
  color: #6b7280;
}

.zl-listing-insights__table {
  width: 100%;
  min-width: 28rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.zl-listing-insights__table th,
.zl-listing-insights__table td {
  padding: 0.55rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid #eef0f3;
  vertical-align: top;
}

.zl-listing-insights__table th {
  font-weight: 600;
  color: #222;
  background: #fafbfc;
  white-space: nowrap;
}

.zl-listing-insights__table td:nth-child(n+2) {
  white-space: nowrap;
}

.zl-listing-insights__yards-link {
  white-space: nowrap;
}

.zl-listing-insights a.zl-listing-insights__metal-an {
  display: block;
  padding-top: 0.15rem;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.3;
  color: #6b7280;
  text-decoration: none;
}

.zl-listing-insights a.zl-listing-insights__metal-an:hover,
.zl-listing-insights a.zl-listing-insights__metal-an:focus-visible {
  color: #4b5563;
  text-decoration: underline;
}

.zl-listing-insights__metal-list a.zl-listing-insights__metal-an,
.zl-listing-insights__footnote a.zl-listing-insights__metal-an {
  display: inline;
  padding: 0;
}

@media (max-width: 640px) {
  .zl-listing-insights a.zl-listing-insights__metal-an {
    padding: 0.25rem 0;
  }

  .zl-listing-insights__metal-list a.zl-listing-insights__metal-an,
  .zl-listing-insights__footnote a.zl-listing-insights__metal-an {
    padding: 0;
  }
}

.zl-listing-insights__avg {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.zl-listing-insights__avg-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a93a2;
  font-size: 0.95rem;
  line-height: 1;
  cursor: help;
}

.zl-listing-insights__avg-info:hover,
.zl-listing-insights__avg-info:focus-visible,
.zl-listing-insights__avg-info.is-tip-open {
  color: var(--zl-blue, #2f80ed);
}

.zl-listing-insights__avg-info:focus {
  outline: none;
}

.zl-listing-insights__avg-info:focus-visible {
  outline: 2px solid var(--zl-blue, #2f80ed);
  outline-offset: 2px;
  border-radius: 999px;
}

.zl-listing-insights__tip {
  position: fixed;
  top: 0;
  left: 0;
  max-width: min(18rem, calc(100vw - 1.5rem));
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  background: #333;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 80ms ease;
  z-index: 80;
  --zl-tip-arrow: 50%;
}

.zl-listing-insights__tip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: var(--zl-tip-arrow, 50%);
  margin-left: -5px;
  border: 5px solid transparent;
  border-bottom-color: #333;
}

@media (hover: hover) {
  .zl-listing-insights__avg-info:hover > .zl-listing-insights__tip {
    opacity: 1;
    visibility: visible;
  }
}

.zl-listing-insights__avg-info:focus-visible > .zl-listing-insights__tip,
.zl-listing-insights__avg-info.is-tip-open > .zl-listing-insights__tip {
  opacity: 1;
  visibility: visible;
}

.zl-listing-insights__leaders,
.zl-listing-insights__metal-list,
.zl-listing-insights__cats,
.zl-listing-insights__rare {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.zl-listing-insights__cats > li {
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.zl-listing-insights__section h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.zl-listing-insights__section h3:first-of-type {
  margin-top: 0.75rem;
}

.zl-listing-insights__cat-name,
.zl-listing-insights__cat-name a {
  font-weight: 700;
}

.zl-listing-insights__leader-hub + .zl-listing-insights__leader-hub {
  margin-top: 0.35rem;
}

.zl-listing-insights__leader-hub .zl-listing-insights__table-wrap,
.zl-listing-insights__leader-hub .zl-listing-insights__leaders {
  margin-bottom: 0.5rem;
}

/* Align «Пункт» first; grade / price / premium (stability under +N%). */
.zl-listing-insights__table-wrap--leaders {
  overflow-x: visible;
}

.zl-listing-insights__table--leaders {
  min-width: 0;
  table-layout: fixed;
}

.zl-listing-insights__table--leaders th {
  white-space: normal;
}

.zl-listing-insights__table--leaders td:nth-child(n+2) {
  white-space: normal;
}

.zl-listing-insights__table--leaders-cat th:nth-child(1),
.zl-listing-insights__table--leaders-cat td:nth-child(1),
.zl-listing-insights__table--leaders-cat th[scope="row"] {
  width: 46%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.zl-listing-insights__table--leaders-cat th:nth-child(2),
.zl-listing-insights__table--leaders-cat td:nth-child(2) {
  width: 18%;
}

.zl-listing-insights__table--leaders-cat th:nth-child(3),
.zl-listing-insights__table--leaders-cat td:nth-child(3) {
  width: 18%;
}

.zl-listing-insights__table--leaders-cat th:nth-child(4),
.zl-listing-insights__table--leaders-cat td:nth-child(4) {
  width: 18%;
}

.zl-listing-insights__table--leaders-metal th:nth-child(1),
.zl-listing-insights__table--leaders-metal td:nth-child(1),
.zl-listing-insights__table--leaders-metal th[scope="row"] {
  width: 52%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.zl-listing-insights__table--leaders-metal th:nth-child(2),
.zl-listing-insights__table--leaders-metal td:nth-child(2) {
  width: 24%;
}

.zl-listing-insights__table--leaders-metal th:nth-child(3),
.zl-listing-insights__table--leaders-metal td:nth-child(3) {
  width: 24%;
}

.zl-listing-insights__table--leaders th[scope="row"] {
  white-space: normal;
  font-weight: 600;
  background: transparent;
}

.zl-listing-insights__yard {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.zl-listing-insights__yard-date {
  font-size: 0.85em;
}

.zl-listing-insights__yard-cta {
  font-size: 0.85em;
  font-weight: 400;
  color: var(--zl-blue-soft, #3498db);
}

.zl-listing-insights a + .zl-listing-insights__muted {
  display: block;
  font-weight: 400;
}

.zl-listing-insights__pct {
  display: inline-block;
  font-weight: 700;
  color: #16a34a;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 0.85em;
  white-space: nowrap;
}

.zl-listing-insights__stab {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85em;
  color: #6b7280;
  font-weight: 400;
  white-space: normal;
}

.zl-listing-insights__leader-flags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1rem;
  margin: 0 0 0.75rem;
}

.zl-listing-insights__leader-flags[data-cards="1"] {
  grid-template-columns: 1fr;
}

.zl-listing-insights__leader-flags[data-cards="2"] {
  grid-template-columns: repeat(2, 1fr);
}

.zl-listing-insights__flag {
  --flag-accent: #64748b;
  --flag-tint: #f4f6f8;
  --flag-border: color-mix(in srgb, var(--flag-accent) 22%, #e5e7eb);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--flag-border);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.zl-listing-insights__flag::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--flag-accent);
}

.zl-listing-insights__flag--ferrous {
  --flag-accent: #64748b;
  --flag-tint: #f4f6f8;
}

.zl-listing-insights__flag--copper {
  --flag-accent: var(--zl-accent, #c45c26);
  --flag-tint: #fdf6f1;
}

.zl-listing-insights__flag--aluminum {
  --flag-accent: var(--sday-blue, #2f80ed);
  --flag-tint: #f3f8fe;
}

.zl-listing-insights__flag:hover {
  border-color: color-mix(in srgb, var(--flag-accent) 45%, #e5e7eb);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--flag-accent) 16%, rgba(0, 0, 0, 0.08));
}

.zl-listing-insights__flag-head {
  background: var(--flag-tint);
  padding: 0.8rem 0.95rem 0.7rem;
  border-bottom: 1px solid color-mix(in srgb, var(--flag-accent) 14%, #e5e7eb);
}

.zl-listing-insights h3.zl-listing-insights__flag-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sday-ink, #1e2a3a);
}

.zl-listing-insights__flag-title a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--sday-ink, #1e2a3a);
  text-decoration: none;
}

.zl-listing-insights__flag-title a i {
  font-size: 0.72em;
  color: var(--flag-accent);
  opacity: 0.85;
}

.zl-listing-insights__flag-title a:hover {
  color: var(--flag-accent);
  text-decoration: none;
}

.zl-listing-insights__flag-yards,
.zl-prose ul.zl-listing-insights__flag-yards {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.7rem 0.5rem;
  padding-left: 0.45rem;
  counter-reset: flag-yard;
  flex: 1 1 auto;
}

.zl-listing-insights__flag-yards > li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  grid-template-areas:
    "rank name"
    "rank price";
  column-gap: 0.45rem;
  row-gap: 0.25rem;
  align-items: start;
  margin: 0;
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid #eef0f3;
}

.zl-listing-insights__flag-yards > li:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.zl-listing-insights__flag-yards > li::before {
  counter-increment: flag-yard;
  content: counter(flag-yard);
  grid-area: rank;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--flag-tint);
  color: var(--flag-accent);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.zl-listing-insights__flag-name {
  grid-area: name;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  font-weight: 600;
}

.zl-listing-insights a.zl-listing-insights__flag-company,
.zl-listing-insights__flag-company {
  overflow-wrap: anywhere;
  color: var(--sday-ink, #1e2a3a);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.3;
}

.zl-listing-insights a.zl-listing-insights__flag-company:hover {
  color: var(--flag-accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.zl-listing-insights__flag-street {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--sday-muted, #8a8a8a);
}

.zl-listing-insights__flag-street i {
  margin-top: 0.15em;
  font-size: 0.85em;
  color: var(--flag-accent);
  opacity: 0.7;
}

.zl-listing-insights__flag .zl-listing-insights__yard-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.1rem;
  padding: 0.12rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--flag-accent) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--flag-accent) 8%, #fff);
  color: var(--flag-accent);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.zl-listing-insights__flag .zl-listing-insights__yard-cta:hover {
  background: color-mix(in srgb, var(--flag-accent) 16%, #fff);
  color: var(--flag-accent);
  text-decoration: none;
}

.zl-listing-insights__flag-price {
  grid-area: price;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0;
  color: var(--sday-ink, #1e2a3a);
  font-size: 0.95em;
}

.zl-listing-insights__flag-price strong {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.zl-listing-insights__flag .zl-listing-insights__pct {
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  color: var(--sday-open, #1a7f37);
  background: color-mix(in srgb, var(--sday-open, #1a7f37) 12%, #fff);
  font-size: 0.78rem;
  white-space: nowrap;
}

.zl-listing-insights p.zl-listing-insights__flag-foot {
  margin: auto 0 0;
  padding: 0.55rem 0.95rem;
  border-top: 1px solid color-mix(in srgb, var(--flag-accent) 12%, #e5e7eb);
  background: var(--flag-tint);
  color: #5b6570;
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (max-width: 899px) {
  .zl-listing-insights__leader-flags,
  .zl-listing-insights__leader-flags[data-cards="2"],
  .zl-listing-insights__leader-flags[data-cards="3"] {
    grid-template-columns: 1fr;
  }

  .zl-listing-insights__flag-yards > li {
    grid-template-columns: 1.6rem minmax(0, 1fr) auto;
    grid-template-areas: "rank name price";
    align-items: start;
  }

  .zl-listing-insights__flag-price {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .zl-listing-insights__flag-head {
    padding: 0.7rem 0.8rem 0.6rem;
  }

  .zl-listing-insights__flag-yards,
  .zl-prose ul.zl-listing-insights__flag-yards {
    padding: 0.25rem 0.55rem 0.4rem;
    padding-left: 0.45rem;
  }

  .zl-listing-insights p.zl-listing-insights__flag-foot {
    padding: 0.5rem 0.8rem;
  }
}

.zl-listing-insights__muted {
  color: #6b7280;
  font-weight: 400;
}

.zl-listing-insights a {
  color: var(--zl-blue-soft, #3498db);
  text-decoration: underline;
}

.zl-listing-insights a:hover {
  color: var(--zl-blue, #2f80ed);
}

.zl-listing-insights .zl-listing-insights__flag-title a,
.zl-listing-insights .zl-listing-insights__flag-title a:hover,
.zl-listing-insights a.zl-listing-insights__flag-company,
.zl-listing-insights a.zl-listing-insights__flag-company:hover,
.zl-listing-insights__flag .zl-listing-insights__yard-cta,
.zl-listing-insights__flag .zl-listing-insights__yard-cta:hover {
  color: var(--flag-accent, var(--sday-ink, #1e2a3a));
  text-decoration: none;
}

.zl-listing-insights .zl-listing-insights__flag-title a,
.zl-listing-insights a.zl-listing-insights__flag-company {
  color: var(--sday-ink, #1e2a3a);
}

.zl-listing-insights .zl-listing-insights__flag-title a:hover,
.zl-listing-insights a.zl-listing-insights__flag-company:hover {
  color: var(--flag-accent);
}

.zl-listing-insights a.zl-listing-insights__flag-company:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@media (max-width: 640px) {
  .zl-listing-bottom {
    padding: 1rem 0.9rem;
  }

  .zl-listing-insights h2 {
    font-size: 1.15rem;
  }

  .zl-listing-insights h3 {
    font-size: 1.05rem;
  }

  .zl-nearby-locales__title {
    font-size: 1.15rem;
  }

  .zl-listing-insights__note {
    font-size: 0.9rem;
  }
}

/* Nearby locales (inside .zl-listing-bottom white card) */
.zl-nearby-locales {
  margin: 0;
}

.zl-listing-bottom > .zl-listing-insights + .zl-nearby-locales,
.zl-listing-bottom > .zl-listing-seo + .zl-nearby-locales {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef0f3;
}

.zl-nearby-locales__title {
  margin: 0 0 0.75rem;
  font-size: 1.28rem;
  line-height: 1.3;
  font-weight: 700;
  color: #222;
}

.zl-nearby-locales__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
}

.zl-nearby-locales__list a {
  text-decoration: none;
  font-weight: 600;
  color: var(--zl-blue-soft, #3498db);
}

.zl-nearby-locales__list a:hover {
  color: var(--zl-blue, #2f80ed);
  text-decoration: underline;
}

.zl-nearby-locales__dist,
.zl-nearby-locales__meta {
  color: #6b7280;
  font-weight: 400;
  font-size: 0.85em;
  margin-left: 0.2em;
  white-space: nowrap;
}

/* Cities of current oblast (state listings, inside .zl-listing-bottom) */
.zl-listing-bottom > .zl-state-cities {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eef0f3;
}

.zl-state-cities__title {
  margin: 0 0 0.35rem;
  font-size: 1.28rem;
  line-height: 1.3;
  font-weight: 700;
  color: #222;
}

.zl-state-cities__lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #5a6070;
}

.zl-state-cities__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 0.6rem 1rem;
}

.zl-state-cities__link {
  display: block;
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  border: 1px solid #e8edf2;
  border-radius: 8px;
  transition: border-color 0.12s, background 0.12s;
}

.zl-state-cities__link:hover {
  border-color: var(--zl-blue, #2f80ed);
  background: #f4f8ff;
}

.zl-state-cities__name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--zl-blue-soft, #3498db);
  line-height: 1.3;
}

.zl-state-cities__link:hover .zl-state-cities__name {
  color: var(--zl-blue, #2f80ed);
}

.zl-state-cities__count {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

@media (max-width: 640px) {
  .zl-state-cities__title {
    font-size: 1.15rem;
  }

  .zl-state-cities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .zl-state-cities__grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Price pins on listing map ─── */
.leaflet-marker-icon.zl-price-pin-wrap {
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.zl-price-pin-wrap {
  position: relative;
  background: transparent !important;
  border: 0 !important;
}

.zl-price-pin {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.26rem 0.5rem 0.24rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  background: #2f6fed;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.26);
  white-space: nowrap;
  transform: translateZ(0);
  font-variant-numeric: tabular-nums;
}

.zl-price-pin--upto {
  background: #1a7f4b;
}

.zl-price-pin--upto .zl-price-pin__unit {
  font-size: 0.72em;
  font-weight: 600;
  opacity: 0.88;
}

.zl-price-pin__uah {
  font-size: 1.15em;
  font-weight: 800;
  color: #ffe08a;
  letter-spacing: -0.02em;
  transform: translateY(-0.02em);
}

.zl-price-pin__num {
  font-size: 1em;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

/* Hover focus: orange outline along price-pin / round marker contour only. */
.zl-price-pin-wrap.is-highlight .zl-price-pin {
  transform: scale(1.14);
  box-shadow:
    0 0 0 3px #f97316,
    0 0 0 5px #fff,
    0 2px 8px rgba(249, 115, 22, 0.35);
}

.zl-price-pin-wrap.is-highlight .zl-price-pin--upto {
  box-shadow:
    0 0 0 3px #f97316,
    0 0 0 5px #fff,
    0 2px 8px rgba(249, 115, 22, 0.35);
}

.leaflet-marker-icon.is-highlight {
  overflow: visible !important;
}

.leaflet-marker-icon.is-highlight .marker-round {
  transform: scale(1.35);
  box-shadow:
    0 0 0 3px #f97316,
    0 0 0 5px #fff,
    0 2px 6px rgba(249, 115, 22, 0.35);
  border-width: 2.5px;
}

/* Price block inside listing map popup */
.zl-map-tip__price-row {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding: 0.26rem 0.38rem;
  border-radius: 5px;
  background: #f5f7fa;
  margin-top: 0.15rem;
}

.zl-map-tip__metal {
  font-size: 0.62rem;
  font-weight: 600;
  color: #4b5563;
  line-height: 1.25;
}

.zl-map-tip__price {
  font-size: 0.78rem;
  font-weight: 800;
  color: #111827;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.zl-map-tip__fresh {
  font-size: 0.6rem;
  color: #9ca3af;
  line-height: 1.25;
}
