@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&amp;display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #000;
  padding: 0 !important;
  font-family: "Open Sans", sans-serif;
  overflow: initial !important;
}

/* контент */
main:not(.has-banner) {
  margin-top: 2rem;
}

/* скролл */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #afafaf;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:window-inactive {
  background: #afafaf;
}

/* текст */
.fw-medium {
  font-weight: 600 !important;
}

.small-extra {
  font-size: 14px;
}

/* картинка */
.obj-cover,
.obg-contain {
  object-position: center;
}

.obj-cover {
  object-fit: cover;
}

.obj-contain {
  object-fit: contain;
}

.lazy-preloader {
  width: 25% !important;
  height: 100px !important;
  object-fit: contain;
}

/* ссылка */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

/* навигационная ссылка */
.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.nav-link:focus,
.nav-link:hover {
  color: inherit;
}

.nav-link.disabled {
  color: #6c757d;
  pointer-events: none;
  cursor: default;
}

/* шапка */
header,
.footer-menu-bar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  top: 0;
  z-index: 1000;
  --bs-bg-opacity: 0.9 !important;
}

header .nav-link {
  color: var(--bs-gray-500);
}

header .nav-link:hover,
header .nav-link.active {
  color: var(--bs-light);
}

/* курсор */

.cursor-pointer {
  cursor: pointer;
}

/* подвал */
footer {
  margin-top: auto;
}

.footer-input-phone {
  color: #f8f9fa;
  border-color: #f8f9fa;
  background-color: transparent;
}

.footer-input-phone::placeholder {
  color: rgba(247, 249, 250, 0.73);
}

/* Список брендов */
.brand-list {
  background: #f5f4f2;
  justify-content: center;
}

.brand-list::-webkit-scrollbar {
  display: none;
}

.brand-list__item {
  transition: all 0.2s;
  /* width: 12%; */
}

.brand__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.card__price {
  font-size: 14px;
}

@media (max-width: 620px) {
  .brand__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 460px) {
  .brand__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 375px) {
  .brand-list__item {
    font-size: 14px;
  }
}

/* @media (max-width: 992px) {
	.brand-list__item {
		width: 22%;
	}
}

@media (max-width: 450px) {
	.brand-list__item {
		width: 50%;
	}
} */

.brand-list__item:hover {
  background: #fff;
  border-radius: 16px;
}

/* заголовки */
.h1,
h1 {
  font-size: calc(1.25rem + 1.5vw);
}
.h2,
h2 {
  font-size: calc(1.15rem + 0.9vw);
}
.h3,
h3 {
  font-size: calc(1.1rem + 0.6vw);
}
@media (min-width: 1200px) {
  .h1,
  h1 {
    font-size: 1.75rem;
  }
  .h2,
  h2 {
    font-size: 1.5rem;
  }
  .h3,
  h3 {
    font-size: 1.25rem;
  }
}

/* Секции */
.section-title {
  margin-bottom: 1.6rem;
}

.section-title > h2,
.section-title > h1,
.section-title > p {
  margin-bottom: 0 !important;
}

.section-row {
  margin-bottom: 2rem;
}

.section-subsection {
  margin-bottom: 1.5rem;
}

/* форма */
.form-check-input:checked {
  background-color: #198754;
  border-color: #198754;
}

.form-check-input:focus {
  border-color: #89ddb6;
  outline: 0;
  box-shadow: none;
}

.form-check-input[type="checkbox"]:indeterminate {
  background-color: #198754;
  border-color: #198754;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}

.form-control:focus {
  border-color: #adb5bd;
  outline: 0;
  box-shadow: none;
}
.form-select:focus {
  border-color: #adb5bd;
  outline: 0;
  box-shadow: none;
}

.btn:focus {
  box-shadow: none !important;
}

/* хлеб */
.breadcrumb-item a {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity));
}
.breadcrumb-item:last-child a {
  --bs-text-opacity: 1;
  color: var(--bs-dark);
}

/*  */
#modal-brand {
  min-height: 65vh;
}

@media (min-width: 992px) {
  .position-lg-sticky {
    position: sticky;
  }
}

@media (max-width: 992px) {
  .footer__list-link {
    column-gap: 1.5rem;
    row-gap: 1.5rem;
  }
}

@media (max-width: 375px) {
  .footer__adress {
    padding: 0;
    width: max-content;
    margin-right: 10px;
  }

  .footer__phone {
    padding: 0;
  }
}

@media (max-width: 320px) {
  .card-body {
    padding: 1rem 0.6rem;
  }

  .footer__phone {
    width: max-content;
  }
}
