.icon {
  width: 1.5rem;
  height: 1.5rem;
  background-size: cover;
  background-position: center;
  display: block;
  cursor: pointer;
}
.icon__white {
  filter: invert(100%) sepia(0%) saturate(7456%) hue-rotate(63deg) brightness(97%) contrast(98%);
}
.icon__header-like {
  background-image: url(/static/assets/images/icons/like.svg);
}
.icon__like {
  cursor: pointer;
}
.icon__user {
  background-image: url(/static/assets/images/icons/user.svg);
}
.icon__heart-fill {
  background-image: url(/static/assets/images/icons/heart-fill.svg);
}
.icon__calendar-month {
  background-image: url(/static/assets/images/icons/calendar-month.svg);
}
.icon__dashboard {
  background-image: url(/static/assets/images/icons/dashboard.svg);
}
.icon__gas-station {
  background-image: url(/static/assets/images/icons/gas-station.svg);
}
.icon__charging-pile {
  background-image: url(/static/assets/images/icons/charging-pile.svg);
}
.icon__battery {
  background-image: url(/static/assets/images/icons/battery-automotive.svg);
}
.icon__droplet {
  background-image: url(/static/assets/images/icons/droplet.svg);
}
.icon__bolt {
  background-image: url(/static/assets/images/icons/bolt.svg);
}
.icon__car-turbine {
  background-image: url(/static/assets/images/icons/car-turbine.svg);
}
.icon__automatic-gearbox {
  background-image: url(/static/assets/images/icons/automatic-gearbox.svg);
}
.icon__car {
  background-image: url(/static/assets/images/icons/car.svg);
}
.icon__gavel {
  background-image: url(/static/assets/images/icons/gavel.svg);
}
.icon__report-money {
  background-image: url(/static/assets/images/icons/report-money.svg);
}
.icon__shield-lock {
  background-image: url(/static/assets/images/icons/shield-lock.svg);
}
.icon__menu {
  background-image: url(/static/assets/images/icons/menu.svg);
}
.icon__phone {
  background-image: url(/static/assets/images/icons/phone.svg);
}
.icon__telegram {
  background-image: url(/static/assets/images/icons/brand-telegram.svg);
}
.icon__adjustments-horizontal {
  background-image: url(/static/assets/images/icons/adjustments-horizontal.svg);
}
.icon__youtube {
  background-image: url(/static/assets/images/icons/brand-youtube.svg);
}
.icon__instagram {
  background-image: url(/static/assets/images/icons/brand-instagram.svg);
}
.icon__tiktok {
  background-image: url(/static/assets/images/icons/brand-tiktok.svg);
}
.icon__whatsapp {
  background-image: url(/static/assets/images/icons/brand-whatsapp.svg);
}
.icon__360-number {
  background-image: url(/static/assets/images/icons/360-number.svg);
}
.icon__arrow-up {
  background-image: url(/static/assets/images/icons/arrow-up.svg);
}
.icon__cash {
  background-image: url(/static/assets/images/icons/cash.svg);
}
.icon__copy {
  background-image: url(/static/assets/images/icons/copy.svg);
}
.icon__building-bank {
  background-image: url(/static/assets/images/icons/building-bank.svg);
}
.icon__currency-bitcoin {
  background-image: url(/static/assets/images/icons/currency-bitcoin.svg);
}
.icon__car-4wd {
  background-image: url(/static/assets/images/icons/car-4wd.svg);
}
.icon__battery-vertical {
  background-image: url(/static/assets/images/icons/battery-vertical.svg);
}
.icon__viber {
  background-image: url(/static/assets/images/icons/brand-viber.svg);
}

.like svg {
  fill: #E30613;
  filter: invert(13%) sepia(83%) saturate(7180%) hue-rotate(349deg) brightness(85%) contrast(112%);
}

/* кнопка <ДЕТАЛЬНІШЕ> hover ефект */

/* інформаційне повідомлення або статус  відображати у каталозі <ПРОДАНО> */

/* послуги у дві колонки для мобільного пристрою */

/* кнопки форми фільтрів */

/* інформаційне повідомлення на сторінці товару */

/* блок можливий розрахунок рівномірне розподілення карточок */

/* переніс стилі з html у css для кнопок на сторінці товару <НАПИСАТИ> <ПОЗВОНИТИ> */

/* блок для відображення помилок у формі "виникли питання"*/
/* акордеон сервісів */

.sectionTeem__grid {
  display: grid;
  align-items: center;
  justify-content: space-around;
  grid-template-columns: 1fr 1fr;
  gap: 40px 10px;
}
@media (max-width: 768px) {
  .sectionTeem__grid {
    justify-content: center;
    grid-template-columns: 1fr;
  }
}
.sectionTeem__title {
  text-align: center;
  margin-bottom: 25px;
}
.baseForm__select {
  max-width: 200px;
  padding: clamp(8px, 2vw, 10px) clamp(10px, 3vw, 38px);
  height: clamp(35px, 4vw, 40px);
  font-size: clamp(14px, 2vw, 16px);
  border-radius: 3.13rem;
  background: rgb(255, 255, 255);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
}
.baseForm__select-select {
  box-shadow: 0rem 0rem 0.56rem 0rem rgba(25, 25, 25, 0.1);
  color: #f3f6fb;
  background: #191919;
}
.baseForm__select-icon {
  height: clamp(35px, 4vw, 40px);
  font-size: clamp(14px, 2vw, 16px);
  border-radius: 3.13rem;
  background: rgb(255, 255, 255);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.messenger-widget {
  position: absolute;
  bottom: -58px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  box-shadow: 0px 0px 9px 0px rgba(25, 25, 25, 0.1);
  border-radius: 2.19rem;
  padding: 5px;
}
.messenger-options {
  display: flex;
  gap: 10px;
}
.messenger-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.messenger-widget.hidden {
  display: none;
}

.lizing .text {
  padding: 20px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.lizing .text h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #191919;
  margin-top: 30px;
  margin-bottom: 10px;
}
.lizing .text p {
  font-size: 1.1rem;
  color: #191919;
  line-height: 1.5;
  margin-bottom: 15px;
}
.lizing .text p b {
  font-weight: bold;
  color: #000;
}
.lizing .text ul {
  list-style-type: none;
  padding: 0;
}
.lizing .text ul li {
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.lizing .text ul li::before {
  content: "✔";
  margin-right: 8px;
  display: inline-block;
  cursor: pointer;
  color: red;
  font-size: 20px;
}

/* кнопка <ПЕРЕГЛЯНУТИ БІЛЬШЕ> ширина та hover ефект */

/* FOOTER  */
/* footer phone */

/* footer logo */

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltiptext {
  visibility: hidden;
  width: 160px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.error-page {
  width: 100vw;
  height: calc(100vh - 51px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0 40px;
}
.error-page__wraper {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  justify-content: center;
  align-items: center;
  aspect-ratio: 5/2;
  gap: 150px;
  max-height: 700px;
  margin: 0 50px;
}
@media screen and (max-width: 768px) {
  .error-page__wraper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}
.error-page__logo {
  height: 100%;
}
.error-page__logo dotlottie-player {
  transform: scale(2.8);
}
@media screen and (max-width: 768px) {
  .error-page__logo {
    height: 200px;
  }
}
.error-page__description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.error-page__description h1 {
  font-size: 130px;
  line-height: 130px;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .error-page__description h1 {
    font-size: 90px;
    line-height: 90px;
    font-weight: 700;
    margin-bottom: 15px;
  }
  .error-page__description h2 {
    margin-bottom: 15px;
  }
  .error-page__description p {
    margin-bottom: 30px;
  }
}
.error-page__btn-back {
  padding: 5px 15px;
  border: 1px solid #E30613;
  border-radius: 25px;
  width: fit-content;
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
}

.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown__button {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dropdown__button .dropdown__icon {
  font-size: 12px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.dropdown__button--open .dropdown__icon {
  transform: rotate(180deg);
}
.dropdown__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  .dropdown__overlay {
    background: rgba(0, 0, 0, 0.5);
  }
}
.dropdown--open .dropdown__overlay {
  display: block;
}
.dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 8px 0;
  margin: 4px 0 0;
  width: 200px;
  z-index: 10;
}
@media screen and (max-width: 959px) {
  .dropdown__menu {
    left: 0;
  }
}
@media screen and (max-width: 768px) {
  .dropdown__menu {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
.dropdown__menu .dropdown__item {
  position: relative;
}
.dropdown__menu .dropdown__item .dropdown__input {
  display: none;
}
.dropdown__menu .dropdown__item .dropdown__input:checked + .dropdown__option {
  font-weight: bold;
  background-color: #f5f5f5;
}
.dropdown__menu .dropdown__item .dropdown__option {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}
.dropdown__menu .dropdown__item .dropdown__option:hover {
  background-color: #f5f5f5;
}
.dropdown--open .dropdown__menu {
  display: block;
}

/* Заголовок форми */

/* Стиль для кожного поля форми */

/* Стиль для груп полів (fieldset) */

/* Стиль для радіо-кнопок і чекбоксів */

/* Відступи між елементами радіо-кнопок і чекбоксів */

/* Стиль для кнопки відправки */

/* Стиль для повідомлень про помилки */

/* Підказки для полів */

/* Стили для текстової області (textarea) */

/* banner video */

/* banner form */

/* Базове мобільне меню */

/* dropdown menu */

/* Адаптивність для маленьких екранів */

/* Стилі галереї */
/* Модальне вікно */

/* Для мобільних екранів */
/* Загальний стиль форми */

/* Форма Замовлення автомобіля */
/* base-form для старої версії Django  так як там ul замість div */

/* у base-form забрати прокрутку */

/* замінив на дві колонки у формах checkbox та radiobutton */

/* footer map */
/* Стиль для бізнес-інформації */

/* Стиль для слайдера відгуків */

.text-button {
  padding: 10px 15px !important;
  margin: 5px;
}

html {
  -webkit-text-size-adjust: 100%; /* або none */
}

body {
  background-color: #f3f6fb;
  overflow-x: hidden;
  min-width: 320px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px;
  overflow-x: hidden;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: calc(100% - 20px);
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* приховуємо картку card-car-empty на tab: "продані", "усі"  */
.hidden-force {
  display: none !important;
}

.form__input-hidden {
  display: none;
}

.button {
  margin-top: 15px;
  width: max-content;
  hyphens: manual;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 20px 11.5px;
  border-radius: 50px;
  border: none;
  background-color: #E30613;
}
@media screen and (max-width: 1322px) {
  .button {
    padding: 3px 30px;
  }
}
@media screen and (max-width: 1200px) {
  .button {
    padding: 3px 8px;
  }
}

.page__title {
  font-weight: 600;
  margin-bottom: 35px;
  font-size: clamp(2rem, 4vw, 56px);
}
@media (max-width: 576px) {
  .page__title {
    margin-bottom: 15px;
  }
}
.page__subtitle {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 2rem;
  margin-bottom: 25px;
}

html {
  scroll-behavior: smooth;
}

section {
  margin: 45px auto 0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

ul[class],
ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

ul[class],
ol[class] {
  list-style: none;
}

ul {
  padding-inline-start: 0px;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
  color: #191919;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: "e-Ukraine";
  src: url("/static/assets/fonts/e-ukraine-light_w.ttf");
}
body {
  color: #191919;
  font-family: "e-Ukraine", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  letter-spacing: 0%;
  text-align: left;
}
@media screen and (max-width: 1200px) {
  body {
    font-size: 0.8rem;
  }
}

.smallText {
  font-size: 0.81rem;
  font-weight: 400;
  line-height: 1.13rem;
}

.tinyText {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1rem;
}

h1 {
  font-size: 2.38rem;
  font-weight: 500;
  line-height: 2.5rem;
  letter-spacing: 2%;
}
@media screen and (max-width: 576px) {
  h1 {
    font-size: 1.13rem;
  }
}
@media screen and (max-width: 1200px) {
  h1 {
    font-size: 2rem;
    padding: 0;
  }
}

h2 {
  font-size: 2.38rem;
  font-weight: 400;
  line-height: 2.5rem;
}
@media screen and (max-width: 576px) {
  h2 {
    font-size: 1.63rem;
  }
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.75rem;
}

h5 {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5rem;
}

h6 {
  font-size: 1.13rem;
  font-weight: 400;
  line-height: 1.5rem;
}

.about__title {
  font-size: 2em;
  color: #E30613;
  text-align: center;
  margin-bottom: 24px;
}
.about__description {
  color: #191919;
  border-radius: 2.19rem;
  box-shadow: 0rem 0rem 0.56rem 0rem rgba(25, 25, 25, 0.1);
  background: rgb(255, 255, 255);
  padding: 1.5rem;
  overflow: hidden;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.about__description__icon {
  font-size: 24px;
  color: #E30613;
}
.about__text {
  display: block;
}
.about__text a {
  text-decoration: none;
  transition: color 0.3s;
}
.about__text a:hover {
  color: #E30613;
}
.about__text span {
  font-weight: bold;
  color: #2ecc71;
}

@media (max-width: 768px) {
  .about__description {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.accordion {
  cursor: pointer;
  width: 100%;
  text-align: left;
  outline: none;
  transition: 0.4s;
  border: none;
  overflow: hidden;
  border-radius: 20px;
  background: rgb(255, 255, 255);
  padding: clamp(22px, 2vw, 15px) clamp(20px, 6vw, 60px);
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 400;
  line-height: 1.2;
  margin: clamp(21px, 1.5vw, 10px) 0;
  position: relative;
  box-shadow: 0px 0px 9px 0px rgba(25, 25, 25, 0.1);
}
.accordion:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 10px;
  width: clamp(12px, 3vw, 20px);
  height: clamp(12px, 3vw, 20px);
  background-image: url(/static/assets/images/icons/arrow-up.svg);
  background-repeat: no-repeat;
  background-size: cover;
  transform: rotate(90deg) translateX(-50%);
}
.accordion.active:after {
  transform: rotate(180deg) translateX(-50%);
  right: 20px;
}
.accordion:hover, .accordion.active {
  background-color: #f9f9f9;
}

.panel {
  padding: 0 clamp(20px, 6vw, 60px);
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  font-size: clamp(14px, 2vw, 20px);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .accordion {
    padding: clamp(17px, 3vw, 8px) clamp(15px, 5vw, 40px);
    font-size: clamp(14px, 2.5vw, 20px);
  }
  .panel {
    padding: 0 clamp(15px, 5vw, 40px);
    font-size: clamp(12px, 2vw, 18px);
  }
}
@media (max-width: 576px) {
  .accordion {
    padding: clamp(17px, 4vw, 7px) clamp(10px, 4vw, 30px);
    font-size: clamp(15px, 3vw, 16px);
  }
  .panel {
    padding: 0 clamp(10px, 4vw, 30px);
    font-size: clamp(13px, 2vw, 14px);
  }
}
/* акордеон сервісів */
.accordion-panel.active h2,
.accordion:hover h2 {
  color: #e30613;
  background-color: white !important;
}

.accordion-panel.active .panel {
  display: block;
}

.accordion-panel .panel {
  padding-top: 15px;
  padding-bottom: 15px;
  display: none;
}

.services__page > div {
  border-radius: 32px;
}

.accordion-panel.active .accordion:after {
  transform: rotate(180deg) translateX(25%);
}
.advantage {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgb(25, 25, 25);
  border-radius: 1.25rem;
  width: 100%;
  position: relative;
  transition: 0.4s;
  gap: 35px;
}
.advantage__footer {
  position: absolute;
  bottom: 10px;
  right: 15px;
}
.advantage__title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.75rem;
}
.advantage__body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
}
.advantage__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}
@media (max-width: 992px) {
  .advantage__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .advantage__grid {
    grid-template-columns: 1fr;
  }
}

.advantage span.icon {
  float: right;
}

.advantage span.icon svg path {
  fill: #E30613;
}

.advantage:hover {
  background: #E30613;
  color: white;
  border: 1px solid #E30613;
}

.advantage:hover span.icon svg path {
  fill: white;
}
form.auto-on-commission {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
}

/* Заголовок форми */
form.auto-on-commission h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

/* Стиль для кожного поля форми */
form.auto-on-commission label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #555;
}

form.auto-on-commission input[type=text],
form.auto-on-commission input[type=tel],
form.auto-on-commission input[type=number],
form.auto-on-commission input[type=file],
form.auto-on-commission textarea,
form.auto-on-commission select {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

/* Стиль для груп полів (fieldset) */
fieldset {
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

legend {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

/* Стиль для радіо-кнопок і чекбоксів */
form.auto-on-commission input[type=radio],
form.auto-on-commission input[type=checkbox] {
  margin-right: 8px;
}

/* Відступи між елементами радіо-кнопок і чекбоксів */
.wpcf7-list-item {
  display: inline-block;
  margin-right: 15px;
  font-size: 14px;
  color: #555;
}

/* Стиль для кнопки відправки */
form.auto-on-commission button[type=submit] {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form.auto-on-commission button[type=submit]:hover {
  background-color: #0056b3;
}

/* Стиль для повідомлень про помилки */
form.auto-on-commission .error {
  color: #d9534f;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Підказки для полів */
form.auto-on-commission input::placeholder,
form.auto-on-commission textarea::placeholder {
  color: #aaa;
  font-size: 14px;
}

/* Стили для текстової області (textarea) */
textarea {
  resize: vertical;
  min-height: 100px;
}
/* banner video */
.video-background video,
.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  transform: translate(-50%, -50%);
  filter: brightness(30%);
  pointer-events: none;
  z-index: -1;
}

/* banner form */
.form-control.error {
  border-color: #E30613;
}

.error-message {
  color: #E30613;
  font-size: 0.9em;
  margin-top: 5px;
  display: block;
}
/* Базове мобільне меню */
.header {
  position: relative;
}

ul.header__nav-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  transition: transform 0.3s ease-in-out;
}

.mobileMenuIcons {
  display: flex;
  width: 76px;
  justify-content: left;
}

.mobileMenuIcons a {
  display: inline-block;
}

.mobileMenuToggle {
  display: none;
}

/* dropdown menu */
.header__nav-item {
  margin-right: 20px;
}

.header__dropdown-link {
  font-size: 16px;
  text-align: left;
  text-transform: capitalize;
}
.header__dropdown-link:hover {
  text-decoration: underline;
}

a.header__logo--mobile svg {
  max-width: 150px;
  height: auto;
}

@media screen and (max-width: 768px) {
  nav.header__nav a {
    font-size: 20px;
    display: inline-block;
    padding: 5px 12px;
  }
  nav.header__nav .header__dropdown-link {
    white-space: pre-line;
  }
  ul.header__nav-list {
    flex-direction: column;
    justify-content: flex-start;
    gap: 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: #fff;
    transform: translateX(-100%); /* Сховано поза екраном */
    z-index: 1000;
    padding-top: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    overflow-y: scroll;
  }
  .header__nav li:last-child {
    margin-top: 0;
  }
  .header__nav-list.active {
    transform: translateX(0); /* Показує меню */
  }
  .mobileMenuToggle {
    display: inline-block;
  }
  .mobileMenuIcons {
    z-index: 999;
    width: 125px;
    justify-content: space-around;
    align-items: center;
  }
  /* Прибираємо hover для мобільних */
  .header__dropdown-menu {
    display: block;
  }
  /* Робимо вкладене меню видимим при активному стані */
  .header__nav-dropdown.active .header__dropdown-menu {
    display: block;
  }
  /* Робимо вкладене меню статичним */
  .header__dropdown-menu {
    position: static;
    box-shadow: none; /* Прибираємо тінь */
    padding: 0; /* Прибираємо зайві відступи */
    background-color: transparent;
  }
  .header__dropdown-item {
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
  }
  .header__dropdown-link {
    padding: 10px 15px;
  }
}
@media screen and (min-width: 768px) {
  .header__logo--mobile {
    display: none;
  }
}
img.emoji {
  width: 18px;
  display: inline-block;
}

.card-car .image {
  display: flex;
  align-items: center;
}

img.no-image {
  filter: grayscale(100%) brightness(3);
  padding: 5%;
  object-fit: contain;
}
.btn {
  cursor: pointer;
  width: max-content;
  hyphens: manual;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 5.5px 11.5px;
  border-radius: 50px;
  border: none;
  background-color: #E30613;
  line-height: normal;
  font-size: clamp(0.6rem, 1.1vw, 13px);
}
@media screen and (min-width: 1322px) {
  .btn {
    padding: 5px 11.5px;
  }
}
@media screen and (min-width: 1200px) {
  .btn {
    padding: 3px 8px;
  }
}
@media screen and (max-width: 768px) {
  .btn {
    padding: 3px 22px;
  }
}
.btn-booking {
  width: 175px;
  height: 35px;
  padding: 0px 10px;
  font-weight: 600;
}
.btn-more {
  width: 145px;
  height: 40px;
  padding: 0px 10px;
}
@media screen and (max-width: 1000px) {
  .btn-more {
    display: none;
  }
}
@media screen and (max-width: 1200px) {
  .btn-more {
    width: max-content;
  }
}
@media screen and (max-width: 447px) {
  .btn-more {
    width: 90px;
    height: 25px;
  }
}
.btn-outlined {
  cursor: pointer;
  background-color: transparent;
  border: 0.06rem solid rgb(25, 25, 25);
  border-radius: 3.13rem;
  padding: 11px 36px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 1322px) {
  .btn-outlined {
    padding: 8px 24px;
  }
}
@media screen and (max-width: 1200px) {
  .btn-outlined {
    padding: 5px 10px;
  }
}
.btn-outlined-contrast {
  border: 0.06rem solid #fff;
  border-radius: 3.13rem;
  color: #fff;
  background-color: transparent;
  padding: 11px 36px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 1322px) {
  .btn-outlined-contrast {
    padding: 8px 24px;
  }
}
@media screen and (max-width: 1200px) {
  .btn-outlined-contrast {
    padding: 5px 18px;
  }
}
.btn-ukraine {
  background: linear-gradient(0deg, rgb(182, 186, 0), rgb(185, 174, 30) 11.9%, rgb(163, 147, 6) 39.4%, rgb(125, 142, 26) 44.9%, rgb(13, 80, 127) 71.4%, rgb(0, 57, 98) 100%);
}
@media screen and (max-width: 1322px) {
  .btn-ukraine {
    padding: 15px 30px !important;
  }
}
@media screen and (max-width: 1200px) {
  .btn-ukraine {
    padding: 15px 30px !important;
  }
}
.card-car-empty {
  display: flex;
  flex-direction: column;
  padding: 115px 25px;
  border: 0.13rem solid rgb(255, 255, 255);
  border-radius: 2.19rem;
  box-shadow: 0rem 0rem 0.56rem 0rem rgba(25, 25, 25, 0.1);
  background: rgb(238, 241, 246);
  gap: 17px;
  max-width: 360px;
  justify-self: center;
  align-items: center;
  justify-content: space-between;
}
@media screen and (min-width: 769px) {
  .card-car-empty {
    margin-right: auto;
  }
}
@media screen and (min-width: 1400px) {
  .card-car-empty {
    margin-left: 30px;
  }
}
.card-car-empty__title {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 2rem;
  text-align: center;
  text-transform: uppercase;
}
.card-car-empty p {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5rem;
  text-align: center;
  margin: 30px 0;
}
.card-car-empty__btn {
  display: flex;
  border: 0.06rem solid rgb(25, 25, 25);
  border-radius: 3.13rem;
  align-items: center;
  justify-content: center;
  padding: 11px 0;
  text-transform: uppercase;
}
@media (min-width: 1400px) {
  .card-car-empty {
    max-width: 400px;
  }
}
@media (max-width: 1200px) {
  .card-car-empty {
    max-width: 303px;
  }
}
@media (max-width: 992px) {
  .card-car-empty {
    padding: 13px;
  }
}
@media (max-width: 768px) {
  .card-car-empty {
    max-width: 250px;
  }
}
@media (max-width: 576px) {
  .card-car-empty {
    padding: 10px;
    gap: 8px;
  }
}
@media (max-width: 1200px) {
  .card-car-empty {
    padding: 100px 20px;
    gap: 15px;
  }
  .card-car-empty__title {
    font-size: 1.6rem;
  }
  .card-car-empty p {
    font-size: 1.1rem;
    margin: 25px 0;
  }
}
@media (max-width: 992px) {
  .card-car-empty {
    padding: 90px 15px;
    gap: 12px;
  }
  .card-car-empty__title {
    font-size: 1.3rem;
  }
  .card-car-empty p {
    font-size: 1rem;
    margin: 20px 0;
  }
}
@media (max-width: 768px) {
  .card-car-empty {
    padding: 80px 10px;
    gap: 10px;
  }
  .card-car-empty__title {
    font-size: 1.4rem;
  }
  .card-car-empty p {
    font-size: 0.95rem;
    margin: 15px 0;
  }
}
@media (max-width: 576px) {
  .card-car-empty {
    padding: 70px 5px;
    gap: 8px;
  }
  .card-car-empty__title {
    font-size: 1.1rem;
  }
  .card-car-empty p {
    font-size: 0.85rem;
    margin: 10px 0;
  }
  .card-car-empty__btn {
    padding: 8px 0;
  }
}

.card-car-empty-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
@media (max-width: 576px) {
  .card-car-empty-container {
    gap: 5px;
  }
}

.card-car {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  background-color: #fff;
  border-radius: 2.19rem;
  gap: 17px;
  max-width: 360px;
  width: 100%;
  justify-self: center;
  overflow: hidden;
  box-shadow: 0px 0px 9px 0px rgba(25, 25, 25, 0.1);
}
.card-car h2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  font-size: clamp(16px, 2.2vw, 26px);
}
@media (max-width: 768px) {
  .card-car h2 {
    line-height: 1.5rem;
  }
}
.card-car__titel {
  font-size: clamp(0.6rem, 4.2vw, 1.5rem);
}
.card-car__header {
  position: relative;
  max-height: 257px;
}
.card-car__header .tips {
  align-items: start;
}
.card-car__header__a-wrapper {
  display: flex;
  max-height: 257px;
  aspect-ratio: 1.33;
  width: 100%;
}
.card-car__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  gap: 12px 5px;
  height: auto;
}
.card-car__body p {
  display: flex;
  align-items: center;
  font-size: clamp(0.6rem, 2.5vw, 1rem);
  width: fit-content;
}
@media screen and (min-width: 768px) and (max-width: 800px) {
  .card-car__body p {
    font-size: 12.5px;
  }
}
.card-car__body p .card-car__body-icon {
  margin-right: 15px;
  filter: invert(58%) sepia(89%) saturate(2%) hue-rotate(314deg) brightness(88%) contrast(88%);
}
@media (max-width: 1000px) {
  .card-car__body p .card-car__body-icon {
    margin-right: 7px;
    width: 1.1rm;
    height: 1.1rm;
  }
}
@media (max-width: 768px) {
  .card-car__body {
    gap: 6px;
  }
}
.card-car__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (max-width: 1000px) {
  .card-car__footer {
    justify-content: center;
  }
}
.card-car__like {
  position: absolute;
  top: 10px;
  right: 13px;
}
.card-car__price {
  font-size: clamp(0.6rem, 5.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.75rem;
  white-space: nowrap;
}
.card-car__price-red {
  color: #E30613;
}
.card-car__price-old {
  color: #191919;
  font-size: 0.81rem;
  font-weight: 400;
  line-height: 1.13rem;
  text-decoration-line: line-through;
  white-space: nowrap;
}
.card-car__img {
  border-radius: 1.25rem;
  width: 100%;
}
@media (min-width: 1400px) {
  .card-car {
    max-width: 400px;
  }
}
@media (max-width: 1200px) {
  .card-car {
    max-width: 303px;
  }
}
@media (max-width: 992px) {
  .card-car {
    padding: 13px;
  }
}
@media (max-width: 768px) {
  .card-car {
    max-width: 250px;
  }
}
@media (max-width: 576px) {
  .card-car {
    padding: 10px;
    gap: 8px;
  }
}
@media (max-width: 1000px) {
  .card-car {
    border-radius: 30px;
  }
  .card-car__img {
    border-radius: 20px;
  }
}

/* кнопка <ДЕТАЛЬНІШЕ> hover ефект */
.card-car .btn {
  background-color: white;
  border: 1px solid #E30613;
  color: #E30613;
  text-transform: uppercase;
}

.card-car .btn:hover {
  border: 1px solid white;
  background-color: #E30613;
  color: white;
}

/* інформаційне повідомлення або статус  відображати у каталозі <ПРОДАНО> */
.card-car__header__a-wrapper {
  position: relative;
}
.contact-form {
  background-color: #E30613;
  color: #f3f6fb;
  padding: 45px 0;
  margin: 45px auto;
  text-align: center;
  border-radius: 1.25rem;
  max-width: 1380px;
}
@media screen and (max-width: 1300px) {
  .contact-form {
    margin: 45px 15px;
  }
}
.contact-form__title {
  font-size: 2.38rem;
  font-weight: 500;
  line-height: 2.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}
@media screen and (max-width: 500px) {
  .contact-form__title {
    font-size: 26px;
    font-weight: 500;
    line-height: 28px;
  }
}
.contact-form__subtitle {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5rem;
}
@media screen and (max-width: 500px) {
  .contact-form__subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
  }
}
.contact-form__note {
  font-size: 1.13rem;
  font-weight: 100;
  line-height: 1.75rem;
  display: block;
  margin-top: 10px;
}
@media screen and (max-width: 500px) {
  .contact-form__note {
    font-size: 0.9rem;
  }
}
@media screen and (max-width: 992px) {
  .contact-form__fields {
    flex-direction: column;
    margin: 10px 0 !important;
  }
}
.contact-form__fields .contact-form__input {
  width: 100%;
  padding: 10px;
  border-radius: 3.13rem;
  border: none;
  height: 35px;
  padding: 20px 17px;
  outline: none;
}
.contact-form__fields .contact-form__input::placeholder {
  color: #999999;
}
.contact-form__fields .contact-form__button {
  color: #ffffff;
  padding: 10px 51px;
  border: none;
  border-radius: 3.13rem;
  /* #191919 */
  background: rgb(25, 25, 25);
  font-size: 16px;
  cursor: pointer;
  margin-top: 5px;
}
.contact-form__fields .contact-form__button:hover {
  background-color: #444444;
}
@media screen and (max-width: 1000px) {
  .contact-form .form-group {
    width: 100%;
    padding: 0 27px;
  }
}

/* блок для відображення помилок у формі "виникли питання"*/
.contact-form .form-group .errors {
  color: white;
}

.contact-form__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 60px 0;
  align-content: space-around;
}
.contact-form__input {
  min-width: 200px;
}

@media screen and (max-width: 992px) {
  .contact-form__fields .contact-form__button {
    width: calc(100% - 54px);
  }
}
.contacts__wraper {
  display: grid;
  grid-template-columns: 3fr min-content;
  gap: 35px;
}
@media screen and (max-width: 992px) {
  .contacts__wraper {
    grid-template-columns: 1fr;
  }
}
.contacts__map-wrapper {
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 2.19rem;
  overflow: hidden;
}
.contacts__map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.contacts__title {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 3.75rem;
}
.contacts__label {
  font-weight: bold;
  margin-top: 16px;
  color: #191919;
}
.contacts__link {
  display: block;
  margin-bottom: 8px;
  color: #191919;
  text-decoration: none;
  transition: color 0.3s;
}
.contacts__link--phone {
  color: #E30613;
}
.contacts__link:hover {
  text-decoration: underline;
}
.contacts__schedule-item {
  margin: 8px 0;
  color: #191919;
}
.contacts__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  margin: 0 auto;
  min-width: 316px;
}
.contacts__social-link {
  color: #191919;
  text-decoration: none;
  transition: color 0.3s;
  width: 1.5rem;
  height: 1.5rem;
}
.contacts__social-link svg {
  width: 1.5rem;
  height: 1.5rem;
}
.contacts__social-link:hover {
  color: #E30613;
  text-decoration: underline;
}
.contacts__info {
  border-radius: 2.19rem;
  box-shadow: 0rem 0rem 0.56rem 0rem rgba(25, 25, 25, 0.1);
  background: #fff;
  padding: 1.5rem;
  width: min-content;
}
@media screen and (max-width: 992px) {
  .contacts__info {
    width: 100%;
  }
}
.filterBar {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: clamp(10px, 3vw, 21px) 0;
  gap: clamp(5px, 2vw, 15px);
}
.filterBar__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: clamp(5px, 1vw, 15px);
  width: 100%;
}
.filterBar__btn, .filterBar__select {
  max-width: 200px;
  padding: clamp(8px, 2vw, 10px) clamp(10px, 3vw, 38px);
  height: clamp(35px, 4vw, 40px);
  font-size: clamp(14px, 2vw, 16px);
  border-radius: 3.13rem;
  background: rgb(255, 255, 255);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  height: 40px;
  box-shadow: 0px 0px 9px 0px rgba(25, 25, 25, 0.1);
}
.filterBar__btn-select, .filterBar__select-select {
  box-shadow: 0rem 0rem 0.56rem 0rem rgba(25, 25, 25, 0.1);
  color: #f3f6fb;
  background: #191919;
}
.filterBar__btn-icon, .filterBar__select-icon {
  font-size: clamp(14px, 2vw, 16px);
  border-radius: 3.13rem;
  background: rgb(255, 255, 255);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 9px 0px rgba(25, 25, 25, 0.1);
}
.filterBar__btnsDivoider {
  margin-left: auto;
}
.filterBar .choices {
  border-radius: 50px;
  margin-bottom: 15px;
  box-shadow: 0px 0px 9px 0px rgba(25, 25, 25, 0.1);
}
.filterBar .choices__inner {
  border: none;
  padding: 3.5px 7.5px 3.75px;
}

/* кнопки форми фільтрів */
.reset-btn {
  position: absolute;
  top: 12px;
  left: 24px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.filter-form form {
  padding-top: 50px;
}

.filter-form .close-btn {
  right: 24px;
  top: 12px;
}

.filter-form .button {
  padding: 5px 0px;
}

.filterBar .choices {
  height: 40px;
}

.filterBar .choices[data-type*=select-one] .choices__inner {
  padding: 4.5px 7.5px;
}

div.filter-form select {
  height: 31px;
  margin: 6px 0;
}

.filter-sort-icons {
  display: flex;
  gap: 10px;
}
.button {
  outline: none;
  cursor: pointer;
  transition: outline-color 0.3s ease;
}

.button.active {
  outline: 2px solid #E30613;
}

#panorama {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background-color: #000;
  display: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  width: 90%;
  aspect-ratio: 2/1;
}

/* Адаптивність для маленьких екранів */
@media screen and (max-width: 640px) {
  #panorama {
    width: 100%;
    aspect-ratio: 2/1;
    height: auto;
  }
}
@media screen and (min-width: 640px) {
  #panorama {
    width: 90%;
    height: auto;
  }
}
#panorama.visible {
  display: block;
  border-radius: 4px;
}
.footer {
  width: 100%;
  background-color: #191919;
  color: #f3f6fb;
  padding: 19px 0;
  margin: 35px auto 0;
  border-radius: 35px 35px 0px 0px;
  overflow: hidden;
}
.footer .container {
  max-width: 95%;
}
.footer__content {
  display: flex;
  justify-content: right;
  gap: 1px;
  flex-wrap: wrap;
  padding: 0 5px;
}
@media screen and (min-width: 768px) {
  .footer__content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "title title phones" "logo adres socIcons" "map map map" "footer footer footer";
    align-items: end;
  }
}
.footer__title {
  display: block;
  font-size: clamp(1rem, 1.935rem + 0.848vw, 3.5rem);
  font-weight: 100;
  line-height: 3.75rem;
  margin-bottom: 15px;
}
@media screen and (min-width: 768px) {
  .footer__title {
    grid-area: title;
    align-self: start;
  }
}
@media screen and (max-width: 768px) {
  .footer__title {
    width: 100%;
  }
}
.footer__logo {
  width: 49%;
  margin-bottom: 0;
}
.footer__logo img {
  height: 72px;
}
@media screen and (min-width: 768px) {
  .footer__logo {
    grid-area: logo;
  }
}
.footer__phones {
  columns: 1;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  grid-area: phones;
  justify-self: end;
}
.footer__phone {
  width: fit-content;
  color: white;
  border: 0.5px solid rgb(255, 255, 255);
  font-size: clamp(0.688rem, 0.668rem + 0.571vw, 1.125rem);
  font-weight: 100;
  line-height: 28px;
  border-radius: 20px;
  padding: 4.5px 15px;
  white-space: nowrap;
  font-family: sans-serif;
  margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
  .footer__phone {
    padding: 1.5px 9px;
    margin-top: 0;
  }
}
.footer__up {
  width: fit-content;
  color: #191919;
  background-color: #f3f6fb;
  border: 0.5px solid rgb(255, 255, 255);
  font-size: 18px;
  font-weight: 100;
  line-height: 28px;
  border-radius: 20px;
  padding: 4.5px 15px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  display: none;
  transition: opacity 0.3s;
  z-index: 100;
}
.footer__up.visible {
  display: flex;
  opacity: 1;
}
.footer__up.hidden {
  opacity: 0;
  display: none;
}
.footer__socIcons {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}
.footer__socIcons span {
  width: 31px;
  margin: 0 10px;
}
@media screen and (min-width: 768px) {
  .footer__socIcons {
    grid-area: socIcons;
    justify-self: end;
  }
}
@media screen and (min-width: 768px) {
  .footer__socIcons {
    height: 28px;
  }
}
.footer__adres {
  font-size: clamp(0.9rem, 0.0513rem + 0.0619vw, 1.13rem);
  font-weight: 400;
  line-height: 1.75rem;
  text-align: center;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .footer__adres {
    grid-area: adres;
  }
}
.footer__map {
  min-height: 120px;
  width: 100%;
  border-radius: 10px;
}
@media screen and (min-width: 768px) {
  .footer__map {
    grid-area: map;
  }
}
.footer__footer {
  color: rgb(153, 153, 153);
  font-family: e-Ukraine;
  font-size: 10px;
  font-weight: 100;
  line-height: 18px;
  letter-spacing: 0%;
  text-align: center;
}
.footer__footer a {
  color: gray;
}
@media screen and (min-width: 768px) {
  .footer__footer {
    grid-area: footer;
  }
}

/* FOOTER  */
/* footer phone */
.footer__phone {
  display: flex;
  align-items: flex-end;
}

.footer__phone .icon__phone {
  margin-right: 10px;
}

/* footer logo */
.footer__logo img {
  max-width: 200px;
  width: 262px;
  height: auto;
}
@media screen and (max-width: 768px) {
  .footer__logo img {
    width: 100%;
  }
}
.form {
  display: flex;
  flex-direction: column;
  border: 0.06rem solid rgb(153, 153, 153);
  border-radius: 1.25rem;
  background-color: rgba(25, 25, 25, 0.6509803922);
  padding: 31px 41px;
  color: #fff;
  max-width: 365px;
  backdrop-filter: blur(5px);
}
.form input {
  border-radius: 3.13rem;
  border: none;
  background: rgba(153, 153, 153, 0.32);
  height: 35px;
  padding: 20px 17px;
  color: #fff;
  outline: none;
  margin: 5px 0;
  width: 100%;
}
.form input::placeholder {
  color: #999999;
}
.form__inputs {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .form__inputs {
    margin-top: 10px;
  }
}
.form__title {
  text-align: center;
  margin-bottom: 12px;
}
.form__sub {
  width: 100%;
  margin-top: 30px;
}
.card-car__header .image {
  width: 350px;
  height: 262px;
  border-radius: 1.25rem;
  border: 1px solid #eee;
}

.hidden {
  display: none;
}

div.filter-form {
  position: absolute;
  z-index: 1001;
  border-radius: 10px;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  max-height: 85vh;
}

div.filter-form input, div.filter-form select {
  overflow: hidden;
  max-width: 300px;
  width: 100%;
  display: block;
}
/* Стилі галереї */
/* Модальне вікно */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.lightbox.hidden {
  opacity: 0;
  visibility: hidden;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  padding: 0;
  border-radius: 10px;
  border: 15px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 95%;
  }
  .lightbox-content img {
    object-fit: contain;
    object-position: center;
  }
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  -webkit-appearance: none;
  appearance: none;
  overflow: hidden;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Для мобільних екранів */
@media (max-width: 640px) {
  .lightbox-content {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  .close-btn {
    top: 20px;
    right: 20px;
  }
}
/* Загальний стиль форми */
.base-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border: 2px solid #E30613;
  border-radius: 40px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow-y: scroll;
}
.base-form .errors {
  color: #E30613;
  font-size: 14px;
  margin-bottom: 10px;
}
.base-form .form-group {
  margin-bottom: 20px;
}
.base-form .form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
}
.base-form .form-group input,
.base-form .form-group textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 40px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}
.base-form .form-group input:focus,
.base-form .form-group textarea:focus {
  border-color: #E30613;
  outline: none;
}
.base-form fieldset {
  margin-bottom: 20px;
  border: none;
}
.base-form fieldset legend {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}
.base-form fieldset > div {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
}
@media screen and (max-width: 425px) {
  .base-form fieldset > div {
    grid-template-columns: 1fr 1fr;
    gap: 3px;
  }
}
.base-form fieldset > div > div label {
  display: flex;
  align-items: center;
}
.base-form fieldset input[type=checkbox],
.base-form fieldset input[type=radio] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 2px solid #ccc;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.base-form fieldset input[type=checkbox]:checked,
.base-form fieldset input[type=radio]:checked {
  background-color: #E30613;
  border-color: #E30613;
}
.base-form fieldset input[type=checkbox] {
  border-radius: 4px;
}
.base-form fieldset input[type=radio] {
  border-radius: 50%;
}
.base-form textarea {
  resize: none;
}
.base-form button[type=submit] {
  display: inline-block;
  background-color: #E30613;
  color: #fff;
  font-size: 16px;
  padding: 10px 20px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}
.base-form button[type=submit]:hover {
  background-color: rgb(177.313304721, 4.686695279, 14.8412017167);
}
.base-form .choices {
  border-radius: 50px;
  margin-bottom: 15px;
  box-shadow: 0px 0px 9px 0px rgba(25, 25, 25, 0.1);
}
.base-form .choices__inner {
  border: none;
}

.select {
  position: relative;
  width: 100%;
  max-width: 300px;
}
.select__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border: 2px solid #007bff;
  border-radius: 5px;
  background-color: #fff;
  cursor: pointer;
}
.select__trigger-text {
  font-size: 16px;
  color: #333;
}
.select__trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 2px solid #007bff;
  border-bottom: 2px solid #007bff;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.select__arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #007bff;
  border-bottom: 2px solid #007bff;
  transform: rotate(45deg);
  transition: transform 0.3s;
}
.select__options {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background-color: #fff;
  border: 2px solid #007bff;
  border-radius: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10;
}
.select__options.select__options--visible {
  display: block;
}
.select__option {
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}
.select__option:hover {
  background-color: #f1f1f1;
}
.select--open .select__arrow {
  transform: rotate(-135deg);
}

.base-form li {
  list-style: none;
}

/* Форма Замовлення автомобіля */
/* base-form для старої версії Django  так як там ul замість div */

.base-form fieldset > ul {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

/* у base-form забрати прокрутку */
.base-form {
  overflow-y: auto;
}

/* замінив на дві колонки у формах checkbox та radiobutton */
.base-form fieldset > ul,
.base-form fieldset > div {
  grid-template-columns: 1fr 1fr;
}
@media screen and (max-width: 600px) {
  .base-form fieldset > ul,
  .base-form fieldset > div {
    grid-template-columns: 1fr;
  }
}
/* footer map */
#map {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
}

.map-controls {
  display: flex;
  gap: 10px;
  z-index: 5;
  margin-left: 10px;
}

.map-controls button {
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 3px 15px;
  cursor: pointer;
  font-size: 14px;
}

.map-controls button:hover {
  background-color: #555;
}

.map-controls button.active {
  background-color: #f00;
}
.star-rating {
  position: relative;
  display: inline-block;
  font-size: 1.5em; /* Розмір зірок */
  color: #ccc; /* Колір незаповнених зірок */
  unicode-bidi: bidi-override;
  direction: rtl;
}

.star-rating .stars-back {
  color: #ccc; /* Колір незаповнених зірок */
}

.star-rating .stars-front {
  color: #ffa500; /* Колір заповнених зірок */
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  width: 0; /* Початкова ширина */
  unicode-bidi: bidi-override;
  direction: rtl;
}

.business-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 20px;
  margin: 20px 0;
}

.business-widget span {
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .business-container {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .business-container {
    flex-direction: column;
    align-items: center;
  }
  .swiper-button-prev {
    left: 10px;
  }
  .swiper-button-next {
    right: 10px;
  }
}
@media (max-width: 640px) {
  .business-widget {
    margin-bottom: 20px;
  }
}
/* Стиль для бізнес-інформації */
.business-widget {
  text-align: center;
  width: 200px;
  margin: 0 20px;
}

.business-photo {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
}

.business-name {
  font-size: 1.2em;
  font-weight: bold;
  margin: 10px 0 5px;
  color: #333;
}

.business-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  color: #ffa500;
  margin: 5px 0;
}

.rating-value {
  font-size: 1.5em;
  color: #ffa500;
  font-weight: bold;
  margin-right: 5px;
}

.stars {
  color: #ffa500;
}

.powered-by {
  margin: 0 5px;
  font-size: 0.8em;
  color: #888;
}

.google-logo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
}

img.google {
  display: inline-block;
  margin-left: 10px;
  background-color: white;
  border-radius: 50%;
  height: 20px;
  vertical-align: middle;
}

.review-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #0073e6;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9em;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
  white-space: nowrap;
}

.review-button:hover {
  background: #1f67e7;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 3px 5px rgba(0, 0, 0, 0.24) !important;
}

/* Стиль для слайдера відгуків */
.swiper-wrapper-container {
  position: relative;
  flex: 1;
  max-width: 800px;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 254px;
}

.swiper-container {
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: 35px;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.profile-photo {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ccc;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.review-info h3 {
  text-decoration: none !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  font-size: 75%;
  font-weight: bold;
}

.review-info h3 a {
  color: #154fc1 !important;
}

.review-info span {
  font-size: 0.9em;
  color: #888;
}

.rating {
  color: #ffa500;
  font-size: 2em;
  margin-bottom: 5px;
}

.review-text {
  font-size: 0.9em;
  color: #555;
  margin: 10px 0;
  height: 100px;
  overflow-y: auto;
}

.review-text::-webkit-scrollbar {
  width: 6px; /* Ширина смуги прокрутки */
}

.review-text::-webkit-scrollbar-track {
  background: #f1f1f1; /* Колір фону для доріжки прокрутки */
  border-radius: 10px;
}

.review-text::-webkit-scrollbar-thumb {
  background: #888; /* Колір смуги прокрутки */
  border-radius: 10px;
}

.review-text::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.swiper-button-next,
.swiper-button-prev {
  color: #0073e6;
  width: 30px;
  height: 30px;
  top: 140px;
  transform: translateY(-50%);
  position: absolute;
  z-index: 10;
}

.swiper-button-prev {
  left: 15px;
  background-size: 20px 20px;
}

.swiper-button-next {
  right: 15px;
  background-size: 20px 20px;
}

.swiper-pagination {
  position: relative;
  margin-top: 10px;
  text-align: center;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #0073e6;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}
.header__nav-list {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.header__nav-list-mobile {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.header__nav-item {
  margin: 0 15px;
  font-size: clamp(10px, 1.35vw, 16px);
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
@media screen and (max-width: 992px) {
  .header__nav-item {
    margin: 0 12px;
  }
}
.header__nav-link-select {
  position: relative;
}
.header__nav-link-select::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #E30613;
}

.header__nav-item {
  position: relative;
}

.header__nav-dropdown:hover .header__dropdown-menu {
  display: block;
}
@media screen and (max-width: 768px) {
  .header__nav-dropdown:hover .header__dropdown-menu {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .header__nav-dropdown .header__dropdown-menu {
    flex-direction: column;
    align-items: center;
    position: initial;
  }
  nav.header__nav .header__dropdown-link {
    white-space: pre-line;
    color: gray;
    font-size: small;
  }
}
.header__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header__dropdown-item {
  margin: 0;
  border-bottom: 1px solid #e9ecef;
}

.header__dropdown-link {
  display: block;
  text-decoration: none;
  color: #000;
  padding: 10px 15px;
  white-space: nowrap;
}

.header__dropdown-link:hover {
  background-color: #f5f5f5;
}
.header {
  z-index: 1000;
  position: sticky;
  top: 0;
  background-color: #fff;
  border-radius: 0rem 0rem 2.19rem 2.19rem;
  width: 100%;
  padding: 4px 18px;
  box-shadow: 0px 4px 9px 0px rgba(25, 25, 25, 0.1);
}
.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.header__logo svg {
  width: 100px;
  height: 35px;
}
@media (min-width: 768px) {
  .header__logo {
    width: 100px;
  }
}
.mobileMenu {
  position: fixed;
  display: block;
  z-index: 1050;
  top: 0;
  right: -350px;
  height: 100vh;
  width: 350px;
  background-color: #f3f6fb;
  transition-duration: 500ms;
}
@media screen and (min-width: 768px) {
  .mobileMenu {
    display: none;
  }
}
.mobileMenu:target {
  transform: translateX(-350px);
}
@media (max-width: 992px) {
  .product {
    margin-top: -50px;
  }
}
@media (min-width: 992px) {
  .product {
    margin: 0 auto;
    padding: 5px;
  }
}
@media (min-width: 992px) {
  .product {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .product {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .product {
    max-width: 1320px;
  }
}
.product__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px;
}
.product__wraper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 70px;
}
@media (min-width: 992px) {
  .product__wraper {
    border-radius: 35px;
    box-shadow: 0px 0px 9px 0px rgba(25, 25, 25, 0.1);
    background: rgb(255, 255, 255);
    padding: 35px;
  }
}
@media (max-width: 1200px) {
  .product__wraper {
    gap: 10px;
    padding: 20px;
  }
}
@media (max-width: 992px) {
  .product__wraper {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }
}
.product__slider {
  position: relative;
  display: flex;
  align-items: center;
}
@media (max-width: 992px) {
  .product__slider {
    width: 100vw;
  }
}
.product__slider .product__imgs {
  display: flex;
  overflow: hidden;
  height: 100%;
}
.product__slider .product__imgs .product__img {
  display: none;
  width: 100%;
  transition: opacity 0.5s ease;
  border-radius: 1.25rem;
  height: 100%;
}
.product__slider .product__imgs .product__img img {
  object-fit: cover;
}
.product__slider .product__imgs .product__img.active {
  display: block;
  object-fit: cover;
}
@media screen and (min-width: 993px) {
  .product__slider .product__imgs .product__img.active {
    min-width: 600px;
  }
}
.product__slider .slider__btn {
  width: 2.5rem;
  height: 2.5rem;
  background-repeat: no-repeat;
  background-size: contain;
  border: none;
  background-color: rgba(187, 187, 187, 0);
  cursor: pointer;
  position: absolute;
  z-index: 10;
  padding-block: 0;
  padding-inline: 0;
}
.product__slider .slider__btn--prev {
  background-image: url("/static/assets/images/icons/slider.svg");
  left: 0px;
  transform: rotate(90deg);
}
.product__slider .slider__btn--next {
  background-image: url("/static/assets/images/icons/slider.svg");
  right: 0px;
  transform: rotate(-90deg);
}
.product__slider .slider__btn--fullscreen {
  background-image: url("/static/assets/images/icons/arrow-maximize.svg");
  right: 10px;
  bottom: 10px;
}
.product__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  width: 90%;
  margin: 0 auto;
}
@media (min-width: 576px) {
  .product__info {
    width: 540px !important;
    margin: 0 auto;
  }
}
@media (min-width: 768px) {
  .product__info {
    width: 720px !important;
    margin: 0 auto;
  }
}
@media (max-width: 992px) {
  .product__info {
    border-radius: 35px;
    box-shadow: 0px 0px 9px 0px rgba(25, 25, 25, 0.1);
    /* #FFFFFF */
    background: rgb(255, 255, 255);
    padding: 20px;
    width: calc(100% - 5px);
  }
}
@media (max-width: 560px) {
  .product__info-wraper {
    padding: 20px;
  }
}
@media (max-width: 992px) {
  .product__info .card-car__body p {
    font-size: 16px;
    margin-right: 10px;
  }
}
@media (max-width: 375px) {
  .product__info .card-car__body p {
    font-size: 13px;
  }
}
@media (max-width: 992px) {
  .product__info .card-car__body {
    column-gap: 1px;
  }
}
.product__header {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.product__header h1 {
  font-size: clamp(1rem, 0.25rem + 4vw, 1.75rem);
  font-weight: 500;
  line-height: 32px;
}
.product__status {
  border-radius: 3.13rem;
  font-size: 0.81rem;
  font-weight: 400;
  text-transform: uppercase;
  padding: 8px 22px;
  width: fit-content;
}
.product__status-inStock {
  background: rgb(236, 255, 233);
  color: rgb(78, 165, 37);
}
.product__prices {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.product__prices-dolar::before {
  content: "$";
}
.product__prices-now {
  font-size: 28px;
  font-weight: 500;
  line-height: 32px;
  color: #e30613;
}
.product__prices-old {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: line-through;
}
.product__icon {
  display: flex;
  align-items: center;
  padding: 8px;
  gap: 5px;
  border-radius: 7px;
  font-size: clamp(8px, 1vw, 10px);
  font-weight: 400;
}
@media screen and (max-width: 450px) {
  .product__icon {
    gap: 2px;
    padding: 3px;
  }
}
.product #cash {
  background: rgb(236, 255, 233);
  color: #4ea525;
}
.product #cash span {
  filter: brightness(0) saturate(100%) invert(46%) sepia(89%) saturate(415%) hue-rotate(56deg) brightness(99%) contrast(87%);
}
.product #building-bank {
  background: rgb(247, 244, 252);
}
.product #building-bank span {
  filter: brightness(0) saturate(100%) invert(61%) sepia(62%) saturate(4884%) hue-rotate(238deg) brightness(92%) contrast(85%);
}
.product #currency-bitcoin {
  background: rgb(252, 249, 197);
}
.product #currency-bitcoin span {
  filter: brightness(0) saturate(100%) invert(80%) sepia(50%) saturate(348%) hue-rotate(350deg) brightness(95%) contrast(86%);
}
.product__btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 0px;
  border-radius: 50px;
  /* #191919 */
  background: rgb(25, 25, 25);
  padding: 8px 30px;
  border: none;
  color: rgb(255, 255, 255);
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
}
.product__btn-outlined {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 8px 40px;
  width: 100%;
  box-sizing: border-box;
  /* #191919 */
  border: 1px solid rgb(25, 25, 25);
  border-radius: 50px;
  background-color: white;
  color: rgb(25, 25, 25);
  font-size: clamp(0.8drem, 2.2vw, 26px);
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}
.product__btn-red {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  /* #E30613 */
  background: rgb(227, 6, 19);
  color: rgb(255, 255, 255);
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  text-transform: uppercase;
  border: none;
  width: 100%;
  padding: 8px 30px;
}
.product__btn-white {
  color: rgb(255, 255, 255);
  text-align: center;
  color: rgb(25, 25, 25);
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  text-transform: uppercase;
  border-radius: 50px;
  /* #F3F6FB */
  background: rgb(243, 246, 251);
  border: none;
  padding: 8px 30px;
  width: 100%;
  height: 100%;
  padding-block: 0px;
  padding-inline: 0px;
}
.product__tabs {
  margin: 25px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
@media (max-width: 768px) {
  .product__tabs {
    grid-template-columns: 1fr;
  }
}
.product__tabs li {
  display: block;
  border-radius: 3.13rem;
  /* #191919 */
  padding: 14px 10px;
  cursor: pointer;
  font-size: 0.81rem;
  font-weight: 500;
  line-height: 1.13rem;
  text-align: center;
  background: rgb(255, 255, 255);
  box-shadow: 0px 0px 9px 0px rgba(25, 25, 25, 0.1);
}
.product__tabs .active {
  color: rgb(255, 255, 255);
  background: rgb(25, 25, 25) !important;
  border: 1px solid black !important;
}
.product__tabs #credit {
  border: 0.06rem solid rgb(78, 165, 37);
  border-radius: 3.13rem;
  /* #FFFFFF */
  background: rgb(255, 255, 255);
}
.product__tab {
  border-radius: 2.19rem;
  box-shadow: 0rem 0rem 0.56rem 0rem rgba(25, 25, 25, 0.1);
  background: rgb(255, 255, 255);
  padding: 35px;
}
.product__tab-complect ul {
  column-count: 3; /* Ділимо список на 3 колонки */
  column-gap: 20px;
}
@media (max-width: 992px) {
  .product__tab-complect ul {
    column-count: 2; /* Ділимо список на 3 колонки */
  }
}
@media (max-width: 768px) {
  .product__tab-complect ul {
    column-count: 1; /* Ділимо список на 3 колонки */
  }
}

.product-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}
.product-modal .modal__content {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  display: block;
}
.product-modal .modal__close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}
.product-modal .modal__close-btn:hover {
  color: #bbb;
}
.product-modal .slider__btn {
  width: 2.5rem;
  height: 2.5rem;
  background-repeat: no-repeat;
  background-size: contain;
  border: none;
  background-color: rgba(187, 187, 187, 0);
  cursor: pointer;
  position: absolute;
  z-index: 10;
  padding-block: 0;
  padding-inline: 0;
}
.product-modal .slider__btn--prev {
  background-image: url("/static/assets/images/icons/slider.svg");
  left: 0px;
  transform: rotate(90deg);
}
.product-modal .slider__btn--next {
  background-image: url("/static/assets/images/icons/slider.svg");
  right: 0px;
  transform: rotate(-90deg);
}

.touch-area {
  position: absolute;
  top: 40px;
  bottom: 40px;
  width: 30%;
  z-index: 11;
  cursor: pointer;
}

.touch-area--left {
  left: 0;
}

.touch-area--right {
  right: 0;
}

.youtube-360 {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.youtube-360 .icon {
  width: 2rem;
  height: 2rem;
}

.youtube-360 .icon svg {
  width: 2rem;
  height: 2rem;
}

span.measure {
  margin-left: 2px;
}

.measure {
  white-space: nowrap;
}

/* інформаційне повідомлення на сторінці товару */
.product__wraper {
  position: relative;
}

.product__wraper .tip {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: white;
  color: #E30613;
  padding: 5px 10px;
  border: 1px solid #E30613;
  border-radius: 3.13rem;
  z-index: 1;
  top: 40px;
  left: 40px;
}

/* блок можливий розрахунок рівномірне розподілення карточок */
.pay-method {
  display: flex;
  gap: 5px;
  justify-content: space-around;
}

.product__icon {
  padding: 4px;
}

div.product__icon:last-of-type {
  gap: 0px;
}

/* переніс стилі з html у css для кнопок на сторінці товару <НАПИСАТИ> <ПОЗВОНИТИ> */
.product__btn-contact {
  display: grid;
  position: relative;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.product__btn-contact button {
  cursor: pointer;
}

@media (max-width: 1200px) {
  .product {
    max-width: initial;
  }
  .youtube-360,
  .product__btn-outlined {
    margin-top: 0;
  }
  .product__img.active {
    /*padding: 25px 0;*/
    min-height: 260px;
  }
  .product .product__imgs .tips {
    left: 0;
    top: 0;
    width: 100%;
    justify-content: flex-start;
    flex-direction: row;
  }
  .product .product__imgs .tips .tip-item {
    width: fit-content;
    display: inline-block;
  }
}
.promo-banner {
  background-color: black;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: clamp(10px, 2vw, 12px);
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -2%;
  color: #f3f6fb;
  position: relative;
  padding: 5px 37px 5px 2px;
}
.promo-banner__close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 100%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.promo-banner a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: 20px;
  /* #FFFFFF */
  background: rgb(255, 255, 255);
  padding: 5px 15px;
  margin: 2px;
  text-align: center;
}
.guestions {
  border-radius: 20px;
  box-shadow: 0px 0px 6px 0px rgba(25, 25, 25, 0.25);
  background: #fff;
  padding: clamp(20px, 5vw, 45px) clamp(15px, 6vw, 70px);
}
.guestions__title {
  font-size: 38px;
  font-weight: 500;
  line-height: 40px;
  text-align: center;
  margin-bottom: 25px;
}
.baner {
  z-index: 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 0rem 0rem 2.19rem 2.19rem;
  overflow: hidden;
  background-color: #191919;
  margin-top: -51px;
}
@media screen and (max-width: 768px) {
  .baner {
    min-height: 55vh;
    padding-top: 51px;
  }
}
.baner__content {
  display: flex;
  align-items: flex-start;
  padding: 0 15px;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .baner__content {
    flex-direction: column;
  }
  .baner__content iframe {
    visibility: hidden;
  }
}
.baner__info {
  display: flex;
  flex-direction: column;
  color: #fff;
  max-width: 507px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5rem;
  letter-spacing: 0%;
  text-align: left;
  padding: 0 10px;
}
.baner__info h1 {
  margin-right: 83px;
  font-weight: 700;
}
.baner__info * {
  margin: 15px 0;
}
.baner img {
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1000;
  filter: brightness(50%);
  transform: scale(1.1, 1.1);
}
@media (max-width: 768px) {
  .baner img {
    display: none;
  }
}
.baner__form {
  margin: 0 10px;
}

.consultation p {
  font-size: 13px;
  white-space: nowrap;
  text-align: center;
  color: #999999;
}
.consultation .form__sub {
  text-transform: uppercase;
  font-size: 13px;
  margin-top: 13px;
  padding: 11px 12px;
}
.sectionGeneral {
  width: 100%;
  max-width: 1380px;
}
@media (max-width: 576px) {
  .sectionGeneral {
    margin-top: 20px;
  }
}
.sectionGeneral__title {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 25px;
  font-weight: bold;
}
.sectionGeneral__grid {
  display: grid;
  flex-wrap: wrap;
  justify-content: space-between;
  overflow: hidden;
  gap: 25px;
  padding-top: 10px;
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 1200px) {
  .sectionGeneral__grid {
    gap: 20px;
  }
}
@media (max-width: 992px) {
  .sectionGeneral__grid {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .sectionGeneral__grid {
    gap: 10px;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .sectionGeneral__grid {
    gap: 5px;
  }
}
.sectionGeneral__midleBtn {
  margin: 0 auto;
  margin-top: 25px;
}
.sectionGeneral-contrast {
  color: #fff;
  max-width: 1380px;
  width: 98vw;
  padding: 40px 0;
  background-color: #191919;
  border-radius: 1.25rem;
}
.sectionGeneral-contrast__title {
  text-align: center;
}
@media (max-width: 576px) {
  .sectionGeneral-contrast {
    margin-top: 20px;
  }
}

/* кнопка <ПЕРЕГЛЯНУТИ БІЛЬШЕ> ширина та hover ефект */
.sectionGeneral__midleBtn {
  width: 300px;
}

.sectionGeneral__midleBtn:hover {
  background-color: #E30613;
  color: white;
  border: 1px solid #E30613;
}
@charset "UTF-8";
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 992px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}
.services__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: clamp(15px, 4vw, 70px) 0;
}
.services__title {
  font-size: 0.81rem;
  font-weight: 500;
  line-height: 1.13rem;
  letter-spacing: 0;
  text-align: center;
  margin-top: 10px;
}
.services__header {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  box-shadow: 0rem 0rem 6.56rem 0rem rgb(227, 6, 19);
  background: rgb(255, 255, 255);
  padding: 20px;
  min-width: 105px;
  min-height: 105px;
}
.services__icon {
  display: block;
  width: 83px;
  height: 83px;
  background-size: cover;
  background-position: center;
}
.services__page {
  border-radius: 20px;
  box-shadow: 0px 0px 6px 0px rgba(25, 25, 25, 0.25);
  background: #fff;
  padding: clamp(20px, 5vw, 45px) clamp(15px, 6vw, 70px);
}

span.services__icon svg {
  height: 83px;
  width: 83px;
}

/* послуги у дві колонки для мобільного пристрою */
@media screen and (max-width: 768px) {
  .baner__content {
    margin-bottom: 72px;
  }
  .services__icon,
  span.services__icon svg {
    width: 64px;
    height: 64px;
  }
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.user__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.user__header {
  border-radius: 20px;
  width: 262.81px;
  height: 265px;
  margin-bottom: 20px;
}
.user__header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user__title {
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
  color: #FFFFFF;
}
.user__subTitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #999999;
}
.choices__list--dropdown, .choices__list[aria-expanded] {
    z-index: 10 !important;
}

.mobileMenuIcons {
    justify-content: space-around;
}

body {
    min-width: 375px;
}

/* STATUSES */
/* Статус в наявності */
.item-status-0 {
    background-color: #ECFFE9;
    color: #4EA524;
}

.item-status-1 {
    background-color: #F8F7DC;
}

.item-status-2 {
    background-color: #e1ffcb;
}

.item-status-3 {
    background-color: #ffcccc;
}

.item-status-4 {
    background-color: #ffff66;
}

.item-status-5 {
    background-color: #e7fb99;
}

.item-status-6 {
    background-color: #d5e3f8;
}

.item-status-7 {
    background: #FFE9E9;
    color: #E30613;
}

.card-car span.sold {
    position: absolute;
    right: 10px;
    border-radius: 3.13rem;
    padding: 2px 22px;
    width: fit-content;
    background-color: #ffe9e9;
    color: #e30613;
    font-weight: bold;
}

.card-car div.tips,
.card-car span.sold {
    z-index: 1;
    top: 7px;
    left: 7px;
    font-size: clamp(10px, 1.2vw, 18px);
    white-space: nowrap;
    width: fit-content;
    font-weight: 300;
}


div.tips {
    position: absolute;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    height: 48px;
    gap: 5px;
    right: 10px;
    top: 10px;
    z-index: 999;
}

@media (max-width: 1200px) {
    div.tips {
        right: 10px;
        top: 35px;
    }
}
@media (max-width: 992px) {
     div.tips {
        right: 10px;
        top: 55px;
    }
}

.tips span.tip-item {
    display: flex;
    background-color: white;
    color: #E30613;
    height: 24px;
    padding: 2px 22px;
    border-radius: 3.13rem;
    align-items: center;
    text-transform: uppercase;
    width: fit-content;
}

@media (max-width: 992px) {
    .tips {
        left: 5px;
    }

    .tips span.tip-item {
        height: 20px;
        padding: 2px 4px;
    }

    .btn {
        padding: 3px 12px;
    }

    .card-car div.tips, .card-car span.sold {
        top: 4px;
    }

    .card-car span.sold {
        padding: 0 13px;
        height: 22px;
    }
}

.tips span.tip-item.tip-0 {
    background-color: #ecffe9;
    color: #4fa423;
}

.tips span.tip-item.tip-1 {
    background-color: #f7f4fc;
    color: #b074d2;
}

.tips span.tip-item.tip-2 {
    background-color: #fcf9c5;
    color: #DF9E0C;
}

.tips span.tip-item.tip-3 {
    background-color: #ffe9e9;
    color: #e30613;
}

.tips span.tip-item.tip-4 {
    background-color: #eeeeee;
    color: #191919;
}

.product__imgs .tips {
    position: absolute;
    top: 60px;
    right: 10px;
}

a.edit.icon {
    display: inline-block;
    position: absolute;
}

.card-car a.edit.icon {
    z-index: 1;
    right: 0;
    top: -12px;
}

a.edit.icon svg {
    width: 24px;
    height: 24px;
    margin: 0;
}

/* чорно-білий ефект на img для проданих авто
.card-car .sold img {
    -webkit-filter: grayscale(100%) brightness(1.2);
    filter: grayscale(100%) brightness(1.2);
}

/* сіра кнопка ДЕТАЛЬНІШЕ та ціна для проданих авто
.sold .card-car__price ,
.product__prices span.sold{
    color: gray;
}
.card-car__footer.sold a.btn {
    background-color: lightgray;
}*/


/* From Uiverse.io by Ali-Tahmazi99 */
#mobileMenuToggle input[type = "checkbox"] {
    -webkit-appearance: none;
    display: none;
    visibility: hidden;
}

.mobileMenuToggle {
    display: block;
    position: relative;
    cursor: pointer;
    width: 24px;
    height: 20px;
}

@media screen and (min-width: 768px) {
    .mobileMenuToggle {
        display: none;
    }
}

.mobileMenuToggle span {
    position: absolute;
    width: 20px;
    height: 4px;
    background: black;
    border-radius: 100px;
    display: inline-block;
    transition: 0.3s ease;
    left: 0;
}

.mobileMenuToggle span.top {
    top: 0;
}

.mobileMenuToggle span.middle {
    top: 8px;
}

.mobileMenuToggle span.bottom {
    bottom: 0;
}

input[type]:checked ~ span.top {
    transform: rotate(45deg);
    transform-origin: top left;
    width: 24px;
    left: 3px;
}

input[type]:checked ~ span.bottom {
    transform: rotate(-45deg);
    transform-origin: top left;
    width: 25px;
    bottom: -1px;
}

input[type]:checked ~ span.middle {
    transform: translateX(-20px);
    opacity: 0;
}


/* like icon */
.car-like {
    --icon-size: 25px;
    --icon-secondary-color: rgb(77, 77, 77);
    --icon-hover-color: rgb(97, 97, 97);
    --icon-primary-color: rgb(252, 54, 54);
    --icon-circle-border: 1px solid var(--icon-primary-color);
    --icon-circle-size: 35px;
    --icon-anmt-duration: 0.3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transform-origin: top;
    cursor: pointer;
}

.car-like svg {
    width: var(--icon-size);
    height: auto;
    fill: var(--icon-secondary-color);
    transition: 0.2s;
}

.car-like:hover svg {
    fill: var(--icon-hover-color);
}

.car-like::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    box-shadow: 0 30px 0 -4px var(--icon-primary-color),
    30px 0 0 -4px var(--icon-primary-color),
    0 -30px 0 -4px var(--icon-primary-color),
    -30px 0 0 -4px var(--icon-primary-color),
    -22px 22px 0 -4px var(--icon-primary-color),
    -22px -22px 0 -4px var(--icon-primary-color),
    22px -22px 0 -4px var(--icon-primary-color),
    22px 22px 0 -4px var(--icon-primary-color);
    border-radius: 50%;
    transform: scale(0);
    padding: 1px;
    opacity: 0; /* спочатку приховано */
}

.car-like::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: var(--icon-circle-border);
    opacity: 0;
}

/* Коли є клас .like - іконка активна */
.car-like.like svg {
    fill: var(--icon-primary-color);
    animation: bookmark var(--icon-anmt-duration) forwards;
    transition-delay: 0.3s;
}

.car-like.like::before {
    animation: circle var(--icon-anmt-duration) cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: var(--icon-anmt-duration);
}

.car-like.like::after {
    animation: circles var(--icon-anmt-duration) cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: var(--icon-anmt-duration);
}

/* Ключові кадри для анімацій */
@keyframes bookmark {
    50% {
        transform: scaleY(0.6);
    }

    100% {
        transform: scaleY(1);
    }
}

@keyframes circle {
    from {
        width: 0;
        height: 0;
        opacity: 0;
    }

    90% {
        width: var(--icon-circle-size);
        height: var(--icon-circle-size);
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes circles {
    from {
        transform: scale(0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    to {
        transform: scale(0.8);
        opacity: 0;
    }
}

.close-btn {
    z-index: 1;
}



.card-car__price {
    font-size: clamp(0.6rem, 4.2vw, 1.5rem)
}

@media (max-width: 992px) {
    .product__slider {
        width: 100%;
    }
}

.contacts__wraper {
    grid-template-columns: 1fr 1fr;
}

.contacts__info {
    width: initial;
    /*max-width: 320px;*/
}

.contacts__map-wrapper iframe {
    aspect-ratio: 16/9;
}

@media (max-width: 768px) {
    .contacts__wraper {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .contacts .container {
        max-width: 95%;
    }
}

.about-us__description {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 35px;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .about-us__description {
        grid-template-columns: repeat(auto-fill, 339px);
    }

}

.about-us .text iframe {
    aspect-ratio: 16/9;
}

.arrow-to-left {
    background-image: url(/static/assets/images/icons/arrow-to-left.svg);
}

.about-us .text p {
    font-weight: 500;
    font-family: "Roboto", Sans-serif;
    font-size: 19px;
}

.about-us .text .about-us__description p::before {
    display: inline-block;
    height: 47px;
    width: 47px;
    content: '';
    mask: url(/static/assets/images/icons/arrow-to-left.svg) no-repeat center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 10px;
    vertical-align: middle;
    -webkit-mask: url(/static/assets/images/icons/arrow-to-left.svg) no-repeat center;
    background-color: red;
    mask-size: cover;
    -webkit-mask-size: cover;
}

.product__slider .slider__btn.inactive {
    opacity: 0.5;
    cursor: default;
}

.order-form-header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 10px
}

.order-form-header p{
    width: 100%; text-align: center; color: red;
}

a#form-front-order-car {
    width: auto;
}

.contacts .container {
    max-width: min(95%, 1320px);
}

.hidden {
    display: none;
}

.popup-message {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 40px 10px 20px;
  background: linear-gradient(90.46deg, #E30410 0%, #7E0007 100%);
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  font-size: 16px;
  display: inline-block;
}

.popup-close-btn {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #000;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  margin: 0;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.popup-close-btn:hover {
  opacity: 0.8;
}
.filter-sort-icons button {
    padding: 0;
}

.base-form .choices__inner .form-group input:focus,
.base-form .choices__inner .form-group textarea:focus {
  border-color: transparent;
  outline: none;
}
.choices__inner .base-form .form-group input {
  border-color: transparent;
  outline: none;
}

/* #e2101e */

.base-form .choices__inner{
    border: 1px solid #ccc;
    border-radius: 40px;
}

.base-form .choices input.choices__input {
    border: none;
    border-radius: 0;
}
.base-form .is-open div.choices__inner {
    border: 1px solid #ccc;
}

.base-form .choices.is-focused .choices__inner {
    border: 1px solid #e2101e;
}
.base-form .choices__list.choices__list--dropdown.is-active {
    border: 1px solid #e2101e;
}

.base-form .choices__list[aria-expanded] .choices__item {
    font-size: 20px;
}

.contact-form .form__processing {
    color: #ffffff;
}

.form__processing {
    color: #28a745;
    font-size: 16px;
    text-align: center;
    margin-top: 10px;
}

.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    font-size: 20px;
    color: black;
    border: 1px solid #ccc;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.custom-file-upload:hover {
    background-color: #e2101e;
    color: #fff;
}
.custom-file-upload:hover #file-upload-text{
    color: white;

}

.base-form .choices__inner {
    font-size: 20px;
}

#file-upload-text {
    margin-left: 10px;
    font-size: 20px;
}

input[type="file"] {
    display: none;
}

.error-page__logo {
    z-index: 0;
}
.error-page__description {
    z-index: 1;
}

.card-car .car-like {
    padding: 20px;
    border-radius: 50%;
}

.card-car__like {
    position: absolute;
    top: -5px;
    right: -0px;
}
#car-list {
    overflow: visible;
}

.product__btn-contact {
    height: 34px;
}

.modal-overlay .modal ul {
    margin: 20px;
}
.main {
    position: relative;
}

.main h1 {
    padding-right: 75px;
}

.text h2 {
    font-size: 16px;
    line-height: 24px;
    padding: 0;
    margin: 0;
    width: 100%;
}

.text .h2-center {
    text-align: center;
    width: 100%;
}

.main .text-date {
    display: inline-block;
    position: absolute;
    top: 0px;
    right: 0;
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.text img {
    padding: 0;
}

.text ul {
    list-style-type: none;
    font-size: 16px;
    padding: 0;
    margin: 10px;
}

.text ul li {
    margin-bottom: 10px;
}

.text p {
    margin: 10px 0;
    line-height: 32px;
    font-size: 16px;
    text-align: justify;
}

.text figure {
    padding: 0;
    display: inline-block;
    text-align: center;
    margin: 20px;
}

.text figure figcaption {
    font-size: 15px;
    line-height: 25px;
}

.text figure.image-left {
    float: left;
    margin: 10px 20px 10px 0;
}

.text figure.image-right {
    float: right;
    margin: 10px 0px 10px 20px;
}

.text figure.image-left img,
.text figure.image-right img {
   width: 100%;
}

.text figure.image-center,
.text figure.image-wide,
.text figure.video {
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: center;
}

.text figure.image-center img {
    min-width: 50%;
}

.text figure.image-wide img {
    width: 100%;
    display: inline-block;
}

.text .quote {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px;
}

.text blockquote {
    font-size: 24px;
    line-height: 36px;
    margin: 0;
}

.text .quote figcaption {
    font-size: 16px;
    line-height: 15px;
    margin-top: 5px;
}

.text blockquote:before,
.text blockquote:after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    position: relative;
    left: -10px;
    background: url(/static/style/images/quotation-left.svg);
    background-size: 100%;
}

.text blockquote:after {
    position: relative;
    left: initial;
    right: -10px;
    background: url(/static/style/images/quotation-right.svg);
    background-size: 100%;
}

.text figure.video iframe,
.text figure.video video {
    min-width: 50%;
    max-width: 60%;
}

@media screen and (max-width:768px) {
    .text h2,
    .text h3,
    .text h4 {
        text-align: center;
    }

    .main h1 {
        padding-right: 75px;
    }
    .main .text-date {
        font-size: 15px;
    }


}

@media screen and (max-width:620px) {
    .text p {
        text-align: left;
    }

    .text img,
    .text figure,
    .text iframe,
    .text video {
        width: 100%;
        height: auto;
    }
}


/* Модальне вікно */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: white;
    padding: 50px 20px 20px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    max-height: 90%;
    overflow-y: auto;
}
.modal h1{
    /*position: absolute;*/
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.ajax-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
}

body.modal-open {
    overflow: hidden;
}

.errors {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}


/* footer map */
#map {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 10px;
}

.map-controls {
    display: flex;
    gap: 10px;
    z-index: 5;
    margin-left: 10px;
    margin-top: 5px;
}
.map-controls button {
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 3px 15px;
    cursor: pointer;
    font-size: 14px;
}
.map-controls button:hover {
    background-color: #555;
}
.map-controls button.active {
    background-color: #f00;
}
