.amzi {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  font-family: inherit;
  color: #111;
}

.amzi * {
  box-sizing: border-box;
}

.amzi-header {
  margin: 0 0 22px;
}

.amzi-header h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--amzi-primary);
}

.amzi-header p {
  max-width: 760px;
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

.amzi-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  overflow: hidden;
  border: 1px solid #dcdcdc;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.amzi-map {
  min-height: 360px;
  background: #f1f1f1;
}

.amzi-mono .leaflet-tile-pane {
  filter: grayscale(1) contrast(1.08) brightness(.98);
}

.amzi-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-left: 1px solid #e6e6e6;
  background: #fafafa;
}

.amzi-search-label span {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #222;
}

.amzi-search {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  background: #fff;
}

.amzi-result {
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

.amzi-result.is-served {
  border-color: #111;
  background: #f3f3f3;
  color: #111;
}

.amzi-result.is-outside {
  border-color: rgba(190, 37, 37, .22);
  background: #fff2f2;
  color: #8f1f1f;
}

.amzi-locate,
.amzi-contact {
  min-height: 44px;
  border-radius: 8px;
  padding: 11px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.amzi-locate {
  border: 1px solid #d2d2d2;
  background: #fff;
  color: #222;
}

.amzi-contact {
  display: block;
  border: 1px solid var(--amzi-primary);
  background: var(--amzi-primary);
  color: #fff;
}

.amzi-marker {
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--amzi-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.amzi-marker.is-served {
  background: #111;
}

.amzi-marker.is-outside {
  background: #777;
}

.amzi-region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.amzi-region-card {
  overflow: hidden;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  background: #fff;
}

.amzi-region-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 8px;
}

.amzi-region-head h3 {
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;
}

.amzi-region-head p {
  margin: 0;
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 400;
}

.amzi-price-badge {
  display: inline-flex;
  min-width: 52px;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 8px;
  background: #1b1b1b;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}

.amzi-price-badge em {
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
  color: #aaa;
}

.amzi-zone-badge {
  display: inline-block;
  margin: 16px 22px 12px;
  border-radius: 999px;
  padding: 7px 12px;
  background: #f0f0f0;
  color: #666;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
}

.amzi-region-card:first-child .amzi-zone-badge {
  background: #eaf8ef;
  color: #147337;
}

.amzi-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 22px 20px;
}

.amzi-chip-list button {
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  padding: 7px 10px;
  background: #f7f7f7;
  color: #555;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.amzi-chip-list button:hover {
  border-color: #bcbcbc;
  color: #111;
}

.amzi-region-detail {
  border-top: 1px solid #e3e3e3;
  padding: 18px 22px 20px;
}

.amzi-region-detail p {
  margin: 0 0 16px;
  color: #666;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
}

.amzi-region-detail a {
  display: inline-block;
  border-radius: 7px;
  padding: 11px 17px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.amzi-tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.amzi-tariff-card {
  overflow: hidden;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.amzi-tariff-head {
  padding: 14px 18px 13px;
  background: #1b1b1b;
  color: #fff;
}

.amzi-tariff-head strong,
.amzi-tariff-head span {
  display: block;
}

.amzi-tariff-head span {
  margin-top: 7px;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 800;
}

.amzi-tariff-price {
  padding: 18px 16px 6px;
  font-size: 36px;
  line-height: 1;
  color: #1b1b1b;
}

.amzi-tariff-price span {
  margin-right: 8px;
  color: #aaa;
  font-size: 13px;
}

.amzi-tariff-card p {
  margin: 0 0 14px;
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 700;
}

.amzi-tariff-card hr {
  width: calc(100% - 40px);
  margin: 0 auto 12px;
  border: 0;
  border-top: 1px solid #e7e7e7;
}

.amzi-tariff-card small {
  display: block;
  min-height: 42px;
  padding: 0 20px 14px;
  color: #777;
  text-align: left;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 700;
}

@media (max-width: 900px) {
  .amzi-layout {
    grid-template-columns: 1fr;
  }

  .amzi-region-grid,
  .amzi-tariff-grid {
    grid-template-columns: 1fr;
  }

  .amzi-panel {
    border-left: 0;
    border-top: 1px solid #e8e8e8;
  }
}

@media (max-width: 560px) {
  .amzi-header h2 {
    font-size: 28px;
  }

  .amzi-panel {
    padding: 20px;
  }
}
