#chosenInfo {
}

#chosenInfo > span:first-child {
  display: none;
}

.sections-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1px;
  max-width: 250px;
  margin: 0 auto 18px auto;
  position: relative;
  z-index: 1;
}
.section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09);
  text-align: center;
  cursor: pointer;
  padding: 14px 5px 12px 5px;
  min-width: 75px;
  max-width: 120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2.5px solid #f5f6fa;
  transition:
    box-shadow 0.2s,
    border 0.15s;
}
.section.selected,
.section:hover {
  box-shadow: 0 8px 22px rgba(52, 170, 100, 0.13);
  border: 2.5px solid #22c37d;
  background: #f5fff9;
  transform: scale(1.022);
}
.section img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 7px;
  border: 2px solid #d3f6e3;
}
.section .section-icon {
  width: 48px;
  height: 48px;
  box-sizing: border-box;
  padding: 10px;
  margin-bottom: 7px;
  border: 2px solid #d3f6e3;
  border-radius: 50%;
  color: #1877e8;
  background: #f4f9ff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
footer .footer-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 76px;
  }
  .mobile-bottom-bar {
    position: fixed;
    z-index: 9998;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -5px 18px rgba(0, 0, 0, 0.08);
  }
  .mobile-bottom-bar button {
    min-width: 0;
    padding: 8px 3px 6px;
    border: 0;
    background: transparent;
    color: #45536a;
    font-family: inherit;
    font-size: 11px;
  }
  .mobile-bottom-bar svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}
.section p {
  margin: 0;
  font-weight: 700;
  color: #238c41;
  font-size: 13.5px;
  margin-top: 4px;
}
.ads-slider-row {
  margin-bottom: 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(44, 155, 100, 0.06);
  padding: 10px 0;
}
.ads-row-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 8px 20px 0 15px;
  cursor: pointer;
}
.ads-row-header h2 {
  font-size: 17px;
  font-weight: 700;
  color: #209e4c;
  margin: 0;
  letter-spacing: 0.4px;
}
.ads-row-header h2.active {
  color: #e63a13;
}
.ads-slider-list {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 9px 20px 9px 10px;
  scrollbar-width: thin;
  scrollbar-color: #6be090 #f4f7fa;
}
.ads-slider-list::-webkit-scrollbar {
  height: 6px;
}
.ads-slider-list::-webkit-scrollbar-thumb {
  background: #7af18c;
  border-radius: 6px;
}
.ads-slider-list::-webkit-scrollbar-track {
  background: #f4f7fa;
}
.ads-slider-card {
  background: #fff;
  min-width: 220px;
  max-width: 250px;
  border-radius: 9px;
  box-shadow: 0 2px 9px #24e16c14;
  border: 1.5px solid #daf6ea;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}
.ads-slider-card:hover {
  box-shadow: 0 7px 18px #33d47f2b;
}
.ads-slider-img-wrap {
  width: 100%;
  height: 180px;
  background: #f7fffa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ads-slider-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ads-slider-info {
  padding: 8px 6px 6px 6px;
}
.ads-slider-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 3px;
  color: #1b6246;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.ads-slider-meta {
  font-size: 12px;
  color: #888;
}
.ads-slider-price {
  color: #ea2727;
  font-weight: 700;
  font-size: 12px;
  margin-top: 3px;
  background: #f9e6e6;
  border-radius: 4px;
  padding: 3px 7px;
  display: inline-block;
}

.search-area {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.search-input-wrapper {
  position: relative;
  flex: 0 0 auto;
}
.search-input-wrapper input {
  width: 150px;
  padding: 6px 32px 6px 8px;
  box-sizing: border-box;
}
.search-input-wrapper .search-btn {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  background: #4caf50;
  border: none;
  border-radius: 4px;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-input-wrapper .search-btn img {
  width: 16px;
  height: 16px;
}
.search-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.selected-info {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #e8f5e9;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  color: #2e7d32;
  font-weight: 600;
  margin-right: 8px;
}
.selected-info span {
  margin: 0;
}
.selected-info #infoRadius {
  display: none;
}

.b24-location-field {
  position: relative;
}
.place-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 1000;
  width: 100%;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  overflow: hidden;
  max-height: 360px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.place-suggestions li {
  padding: 7px 24px;
  cursor: pointer;
  text-align: left;
  direction: ltr;
}
.place-suggestions li:hover,
.place-suggestions li.active {
  background: #f3f3f3;
}
.place-result {
  display: block;
  font-size: 14px;
  line-height: 1.7;
}
.place-suggestions .place-result-state {
  display: block;
  color: #777;
  font-size: 12px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 320px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.modal-close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}
.modal-content h3#modalCityName {
  margin: 0 0 8px;
  font-size: 20px;
  color: #238c41;
  font-weight: 700;
}
.modal-label {
  margin: 0 0 12px;
  font-size: 16px;
  color: #555;
}
.radius-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.radius-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-size: 16px;
}
.radius-list li:last-child {
  border-bottom: none;
}
.radius-list li:hover {
  background: #f5f5f5;
}

@media (min-width: 901px) {
  .content {
    display: flex;
    flex-direction: row-reverse;
    gap: 18px;
    align-items: flex-start;
    width: 100%;
  }
  #sectionResultsContainer {
    flex: 1;
    display: block !important;
  }
}

@media (min-width: 901px) {
  html body .b24-home-ad-slot {
    margin-top: -16px !important;
    margin-bottom: -18px !important;
    padding: 0 !important;
  }
  html body .b24-ad-placeholder {
    min-height: 52px !important;
    padding: 5px 14px !important;
  }
  html body #sectionsContainer.sections-container {
    margin-top: -42px !important;
    margin-bottom: -8px !important;
  }
  html body #mainAdsSliders {
    margin-top: -28px !important;
    margin-bottom: 16px !important;
  }
}
@media (max-width: 900px) {
  html body .b24-home-ad-slot {
    margin-top: -8px !important;
    margin-bottom: -10px !important;
    padding: 0 !important;
  }
  html body .b24-ad-placeholder {
    min-height: 54px !important;
    padding: 5px 10px !important;
  }
  html body #sectionsContainer.sections-container {
    margin-top: -28px !important;
    margin-bottom: 0 !important;
  }
  html body #mainAdsSliders {
    margin-top: -16px !important;
  }
}
