html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  font-family: Helvetica, Arial, sans-serif;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
section#section_main {
  flex: 1;
  padding-bottom: 20px;
}
a {
  color: #7cb342;
}
h2 {
  margin: 15px 0;
}
.button,
button {
  cursor: pointer;
  padding: 12px 34px;
  border-radius: 4px;
  border: 2px solid;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  transition: background-color 0.3s, border-color 0.3s;
}
.bt_form_submit {
  font-size: 16px;
  width: 55%;
}
@media (max-width: 768px) {
  .bt_form_submit {
    width: 100%;
    margin-bottom: 40px;
  }
}
label {
  display: block;
  margin: 15px 0;
  color: #767879;
  font-weight: bold;
  -webkit-tap-highlight-color: transparent;
}
label b {
  color: #1a1a1a;
  white-space: nowrap;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 5px;
  background-color: #fff;
  border: 2px solid #e6e6e6;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
}
input[type=checkbox],
input[type=radio] {
  display: inline;
  width: auto;
  accent-color: #82c041;
}
select {
  appearance: none;
  padding-right: 15px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='none' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5H7z' fill='gray'/></svg>");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 18px;
}
form p {
  font-size: 95%;
  color: #797979;
  text-align: justify;
}
ul.errorlist {
  margin: 0;
  padding: 0;
  color: #f24726;
  font-weight: normal;
  font-size: 90%;
}
ul.errorlist li {
  list-style-type: none;
  margin: 10px 0 0 0;
  padding: 0;
}
.publish_error {
  margin-bottom: 15px;
}
.side_padding {
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.width_wide {
  max-width: 1400px;
  width: 100%;
}
.width_mobile {
  max-width: 430px;
}
.loader {
  position: fixed;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  z-index: -1000;
  display: none;
}
.loader img {
  width: 100%;
}
.el_loader {
  background-image: url("../img/loader.svg");
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
}
button.first_top {
  margin: 30px auto;
}
.bt_wide {
  display: block;
  border: 1px solid;
  border-radius: 4px;
  font-weight: normal;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  height: 45px;
  box-sizing: border-box;
}
.bt_blue {
  background: #1e88e5;
  border-color: #1e88e5;
}
.bt_blue:hover {
  background: #166dba;
  border-color: #166dba;
}
.bt_green {
  background: #7cb342;
  border-color: #7cb342;
}
.bt_green:hover {
  background: #628e34;
  border-color: #628e34;
}
.bt_gray {
  background: #e5e5e5;
  border: 2px solid #000;
  color: #000;
}
.bt_gray:hover {
  background: #ccc;
}
.bt_white {
  background-color: #fff;
  border: 2px solid #000;
  color: #000;
}
.bt_white:hover {
  background: #ccc;
}
header,
footer,
nav#mobile_buttons {
  background-color: #333;
  color: #fff;
}
header a,
footer a,
nav#mobile_buttons a {
  color: #fff;
}
header {
  padding: 16px 0;
  font-size: 12px;
  min-height: 38px;
  overflow-x: hidden;
}
header div.width_wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
header div.logo {
  display: flex;
}
header div.logo a {
  position: relative;
  text-decoration: none;
  font-size: 30px;
  font-weight: bold;
}
header div.logo a span {
  position: absolute;
  left: 0;
  top: 0;
  color: #7cb342;
  pointer-events: none;
}
header div.logo a span::before {
  content: "SuperCars";
  color: transparent;
}
header .header_button_pub_add {
  justify-self: end;
}
header .header_button_pub_add a {
  padding: 8px 16px;
  background-color: #ff6f00;
  border: 1px solid #ff6f00;
  font-size: 14px;
}
header .header_button_pub_add a:hover {
  background-color: #cc5900;
  border-color: #cc5900;
}
@media (max-width: 450px) {
  header .header_button_pub_add a {
    display: none;
  }
}
footer {
  padding: 40px 0;
}
footer a {
  text-decoration: none;
  white-space: nowrap;
}
footer .footer_links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 20px;
  margin-bottom: 40px;
  font-size: 12px;
}
@media (max-width: 600px) {
  footer .footer_links {
    grid-template-columns: repeat(2, 1fr);
  }
}
footer .footer_col h6 {
  color: #808080;
  font-size: 14px;
  letter-spacing: 1px;
  margin: 0 0 15px 0;
}
footer .footer_col a {
  display: block;
  margin-bottom: 16px;
  color: #fff;
}
footer .footer_col a:hover {
  color: #7cb342;
}
footer .footer_col span.disabled {
  display: block;
  margin-bottom: 16px;
  color: #888484;
  cursor: default;
}
footer .footer_subscribe {
  display: flex;
  gap: 15px;
}
footer .footer_subscribe a,
footer .footer_subscribe span.disabled {
  margin-bottom: 0;
}
footer .footer_subscribe img {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(0.6);
  transition: filter 0.2s;
}
footer .footer_subscribe a:hover img {
  filter: brightness(0) invert(1);
}
footer .footer_bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: #808080;
  font-size: 12px;
}
footer .footer_bottom div:last-child {
  max-width: 320px;
}
@media (max-width: 768px) {
  footer .footer_bottom {
    flex-direction: column;
  }
}
.title {
  margin: 20px 0;
  font-weight: bold;
}
.title h1,
.title h2 {
  display: inline;
  font-size: 24px;
}
.title span,
.title a {
  margin-left: 15px;
  font-size: 24px;
}
.title span {
  color: #90a4ae;
}
.title a {
  text-decoration: none;
  color: #628e34;
}
.breadcrumbs {
  margin: 20px 0;
}
.breadcrumbs a {
  text-decoration: none;
  white-space: nowrap;
}
.breadcrumbs span {
  font-size: 20px;
}
section.search {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}
section.search input,
section.search button {
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: all 0.2s;
}
section.search input {
  flex: 1;
  margin: 0;
  padding: 13px;
}
section.search button {
  flex: 0 0 auto;
  display: block;
  padding: 0 12px;
  background-color: #fff;
  font-size: 16px;
}
section.search input:hover,
section.search button:hover {
  border-color: #7cb342;
  box-shadow: 0 0 0 2px rgba(124,179,66,0.2);
}
.price {
  font-weight: bold;
}
.price::before {
  content: '$';
}
.categories_sub {
  overflow-x: auto;
  display: flex;
  gap: 20px;
  padding-bottom: 10px;
}
.categories_sub a {
  display: inline-block;
  min-width: 190px;
  height: 50px;
  background-color: #e5e5e5;
  background-position: right 10px bottom 10px;
  background-repeat: no-repeat;
  color: #000;
  text-decoration: none;
  padding: 14px;
  border-radius: 6px;
  transition: background-color 0.2s;
}
.categories_sub a:hover {
  background-color: #aed388;
}
.brands_tabs input[type=radio] {
  display: none;
}
.brands_tabs__nav {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}
.brands_tabs__nav label {
  cursor: pointer;
  display: inline-block;
  margin: 0;
  padding-bottom: 3px;
  color: #90a4ae;
  font-weight: bold;
  font-size: 24px;
}
.brands_tabs__nav label:has(:checked) {
  border-bottom: 2px solid #000;
  color: #000;
}
@media (max-width: 500px) {
  .brands_tabs__nav {
    gap: 14px;
  }
  .brands_tabs__nav label {
    font-size: 18px;
  }
}
.brands_tabs__panels > .links_4cols {
  display: none;
}
.brands_tabs:has(input[value="exotic"]:checked) .panel-exotic,
.brands_tabs:has(input[value="boutique"]:checked) .panel-boutique,
.brands_tabs:has(input[value="halo"]:checked) .panel-halo {
  display: grid;
}
.links_4cols {
  overflow-x: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(var(--rows, 4), auto);
  grid-auto-flow: column;
  gap: 10px 0;
  margin-bottom: 20px;
}
.links_4cols a {
  color: #000;
  text-decoration: none;
}
.links_4cols a span {
  margin-left: 7px;
  color: #90a4ae;
}
.links_4cols a:hover {
  color: #7cb342;
}
@media (max-width: 750px) {
  .links_4cols {
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(var(--rows-mobile, 6), auto);
    grid-auto-flow: column;
    overflow-x: auto;
  }
}
.pub_list_tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(45%, 220px), 1fr));
  gap: 10px;
}
.pub_list_tiles .milk_placeholder {
  display: none;
  grid-column: 1/-1;
  margin-top: 10px;
  margin-bottom: 10px;
}
.pub_list_tiles .milk_placeholder .milk_content {
  width: 100%;
}
.tile {
  position: relative;
  max-width: 220px;
  padding: 10px;
  border-radius: 8px;
  background-color: #fff;
}
.tile a {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
}
.tile img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 6px;
}
.tile h3 {
  padding: 0;
  margin: 5px 0;
  font-weight: bold;
  color: #7cb342;
  font-size: 16px;
}
.tile .price {
  margin: 5px 0;
  font-size: 14px;
}
.tile .city {
  font-size: 14px;
}
.tile .date {
  margin-top: 5px;
  font-size: 14px;
  color: #888;
}
.tile:hover {
  background-color: #e6f4e4;
}
.pub_one .pics_and_text {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}
.pub_one .pics_and_text .pics {
  width: 65%;
}
.pub_one .pics_and_text .pics .gallery input {
  display: none;
}
.pub_one .pics_and_text .pics .gallery img#pic_big {
  max-width: 100%;
  max-height: 575px;
  margin-bottom: 20px;
  border-radius: 8px;
}
.pub_one .pics_and_text .pics .gallery .thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pub_one .pics_and_text .pics .gallery .thumbnails span img {
  border-radius: 6px;
  object-fit: cover;
  width: 90px;
  height: 80px;
}
.pub_one .pics_and_text .text {
  width: 35%;
}
.pub_one .pics_and_text .text .price,
.pub_one .pics_and_text .text .price_not_specified {
  font-size: 32px;
  line-height: 32px;
  color: #ff6f00;
}
.pub_one .pics_and_text .text .city,
.pub_one .pics_and_text .text #map,
.pub_one .pics_and_text .text a {
  margin: 20px 0;
}
.pub_one .pics_and_text .text .city {
  padding-left: 25px;
  background: url("../img/pin.svg") no-repeat left 1px;
  background-size: 12px;
}
.pub_one .pics_and_text .text #map {
  width: 100%;
  height: 40vh;
}
.pub_one .pics_and_text .text a {
  display: block;
}
@media (max-width: 780px) {
  .pub_one .pics_and_text {
    flex-direction: column;
  }
  .pub_one .pics_and_text .pics,
  .pub_one .pics_and_text .text {
    width: 100%;
  }
  .pub_one .pics_and_text .pics .gallery img#pic_big {
    width: 0;
    height: 0;
  }
  .pub_one .pics_and_text .pics .gallery .thumbnails {
    overflow-x: scroll;
    flex-wrap: nowrap;
  }
  .pub_one .pics_and_text .pics .gallery .thumbnails span img {
    border-radius: 6px;
    width: auto;
    height: auto;
    max-width: 300px;
    max-height: 260px;
    object-fit: contain;
  }
}
.pub_one .spec h2 {
  margin-bottom: 0;
}
.pub_one .spec ul {
  margin: 10px 0 0 0;
  padding: 0;
  list-style-type: none;
}
.pub_one .spec ul li {
  line-height: 1.5em;
  color: #546e7a;
}
.pub_one .spec ul span,
.pub_one .spec ul strong {
  margin-left: 10px;
  color: #333;
  font-weight: normal;
}
.pub_one .spec ul span:empty::before {
  content: "n/a";
  color: #a1a1a3;
}
.pub_thumb_info {
  padding: 1px 5px 5px 5px;
}
.pub_thumb_info h3 {
  margin: 5px 0;
  font-size: 100%;
}
.pub_thumb_info .price {
  font-weight: bold;
  margin-bottom: 5px;
  color: #000;
}
.pub_thumb_info .name {
  font-size: 80%;
  color: #000;
  margin-bottom: 5px;
}
.pub_thumb_info .name span {
  color: #7a7a7a;
  font-size: 75%;
  white-space: nowrap;
}
.pub_thumb_info .geo,
.pub_thumb_info .date {
  color: #7a7a7a;
  font-size: 80%;
}
.pub_thumb_info .state {
  margin-top: 20px;
  color: #808080;
}
.pub_thumb_info .on_moderation {
  color: #ef8c34;
}
ul#pub_list {
  margin: 0;
  padding: 0;
}
ul#pub_list li {
  list-style-type: none;
  margin: 20px 0 0 0;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  border-radius: 10px;
}
ul#pub_list li a.photo_and_info {
  position: relative;
  display: block;
  flex: 1;
  border-radius: 5px;
  padding: 0 0 0 190px;
  min-width: 100px;
  height: 180px;
  text-decoration: none;
}
ul#pub_list li a.photo_and_info .service_urgent {
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: #ff4b4b;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  text-transform: uppercase;
  z-index: 1;
}
ul#pub_list li a.photo_and_info img.pub_thumb {
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 10px;
  width: 180px;
  height: 180px;
}
ul#pub_list li a.photo_and_info h3 {
  margin: 5px 0;
  max-height: 80px;
  overflow: hidden;
}
ul#pub_list li .controls {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
ul#pub_list li .controls a {
  display: block;
  text-align: center;
}
ul#pub_list li .controls a,
ul#pub_list li .controls button {
  padding: 7px 10px;
  height: auto;
  width: 50px;
  height: 40px;
  border: 0;
  box-sizing: border-box;
}
ul#pub_list li .controls a img,
ul#pub_list li .controls button img {
  width: 20px;
  height: 20px;
}
@media (max-width: 780px) {
  ul#pub_list li .controls {
    flex-direction: row;
    padding-top: 15px;
  }
}
ul#pub_list li:hover {
  background-color: #e6f4e4;
}
@media (max-width: 780px) {
  ul#pub_list li {
    padding: 0;
  }
}
#load_more {
  padding-top: 15px;
  text-align: center;
}
#load_more a {
  display: inline-block;
  width: 100%;
  max-width: 470px;
  box-sizing: border-box;
}
#load_more a.htmx-request {
  background-image: url("../img/loader.svg");
  background-repeat: no-repeat;
  background-position: right;
  background-size: 40px;
}
.geo_and_sort {
  display: flex;
  margin-bottom: 20px;
}
.geo_and_sort .sort {
  flex: 1;
  text-align: right;
}
.geo_and_sort .geo img {
  width: 16px;
  position: relative;
  top: 4px;
  margin-right: 5px;
}
.geo_and_sort button {
  padding: 0;
  background-color: #fff;
  border: 0;
  font-weight: normal;
  color: #000;
  font-size: 14px;
}
.geo_and_sort button span:first-child {
  font-weight: bold;
}
.geo_and_sort button span:last-child {
  text-decoration: underline;
}
.filters_buttons::-webkit-scrollbar {
  display: none;
}
.filters_buttons {
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: 20px;
}
.filters_buttons .container {
  white-space: nowrap;
}
.filters_buttons .container button {
  display: inline-block;
  background-color: #d1d1d1;
  color: #000;
  margin: 0 15px 0 0;
  border: 0;
  border-radius: 5px;
  padding: 10px 15px;
  font-weight: normal;
}
.filters_buttons .container button span:last-child {
  position: relative;
  top: -2px;
  color: #77787a;
}
.filters_buttons .container button.active {
  background-color: #000;
  color: #fff;
}
dialog {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 15px;
  width: 80%;
}
dialog span {
  margin-left: 10px;
}
dialog h3 {
  margin: 10px 0 20px 0;
}
dialog h3 button {
  border: 0;
  padding: 0px;
  background-color: #fff;
  color: #000;
  font-weight: bold;
}
dialog .scroll_block_and_button {
  max-height: calc(70vh - 200px);
}
dialog .scroll_block_wout_button {
  max-height: calc(70vh - 60px);
}
dialog .widget_checkbox {
  overflow-y: auto;
  margin-top: 15px;
}
dialog .widget_checkbox label {
  margin: 0 0 15px 0;
}
dialog .buttons button {
  margin-top: 15px;
}
dialog img.dialog_loader {
  width: 50px;
  height: 50px;
}
fieldset.radio {
  margin: 0 0 20px 0;
  padding: 0;
  border: 0;
}
fieldset.radio label {
  cursor: pointer;
}
fieldset.radio_as_button label {
  display: inline-block;
  margin: 10px 0;
  padding: 10px 15px;
  border-radius: 10px;
  background-color: #e6e6e6;
  font-weight: normal;
}
fieldset.radio_as_button input[type=radio] {
  display: none;
}
fieldset.radio_as_button input[type=radio]:checked + label {
  border: 2px solid #82c041;
}
.widget_checkbox label {
  font-weight: normal;
}
.filters_price_inputs {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filters_price_inputs input {
  flex-grow: 1;
  margin: 0 15px 0 0;
}
.filters_price_inputs input:last-child {
  margin-right: 0;
}
.radio_item label {
  display: inline;
  font-weight: normal;
  font-size: 16px;
  line-height: 16px;
}
.radio_item input[type=radio] {
  font-size: 16px;
  line-height: 16px;
}
.search_filters label {
  margin-bottom: 0;
}
.search_filters input,
.search_filters select {
  margin-top: 10px;
}
.search_filters button[type=submit] {
  margin: 20px 0;
}
.search_filters fieldset {
  margin-bottom: 0;
}
.search_filters fieldset label {
  margin-right: 10px;
  margin-bottom: 0;
}
.search_filters .radio_item {
  margin-top: 10px;
}
.search_filters select {
  display: block;
  width: 100%;
  pointer-events: none;
}
form[name=search_geo] select {
  width: 100%;
  margin-top: 15px;
  padding: 5px;
  background-color: #fff;
  border: 2px solid #e6e6e6;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
}
form[name=search_geo] #search_geo_map {
  height: 300px;
  margin-top: 15px;
  border: 2px solid #e6e6e6;
  border-radius: 5px;
}
form[name=search_geo] fieldset {
  margin-top: 5px;
}
form[name=search_geo] fieldset label {
  margin: 10px 10px 0 0;
  border: 2px solid #fff;
}
form[name=search_geo] button {
  margin: 20px 0;
}
.milk {
  display: block;
}
.milk .milk_main {
  width: 100%;
  height: 200px;
  margin-top: 30px;
  margin-bottom: 30px;
}
@media (max-width: 600px) {
  .milk .milk_main {
    width: 100%;
  }
}
.milk .milk_tile {
  position: relative;
  max-width: 220px;
  max-height: 40vh;
  padding: 10px;
  border-radius: 8px;
}
@media (max-width: 600px) {
  .milk .milk_tile {
    max-width: 170px;
    max-height: 26vh;
    overflow: hidden;
  }
}
.milk .milk_list {
  margin-top: 20px;
  padding: 10px;
  width: 100%;
  height: 180px;
}
.milk_adf {
  height: 200px;
  margin-top: 15px;
}
.catalog_car_sync .error_block {
  border: 1px solid #c00;
  color: #c00;
  padding: 10px;
}
.catalog_car_sync .warning_block {
  border: 1px solid #c80;
  color: #850;
  padding: 10px;
}
