/*============= ALIGNES ===============*/

::selection {
  background-color: var(--primary);
  color: var(--bg-light);
}

::-webkit-scrollbar {
  width: 6px;
  /* ширина scrollbar */
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
  /* цвет дорожки */
}

::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  /* цвет плашки */
  border-radius: 10px;
  /* закругления плашки */
  /* padding вокруг плашки */
}

.alignwide {
  width: 100%;
}

.alignfull {
  margin-left: calc(-100vw / 2 + 100% / 2);
  margin-right: calc(-100vw / 2 + 100% / 2);
  max-width: 1920px;
}

@media only screen and (min-width: 1920px) {
  .alignfull {
    width: 100vw !important;
    max-width: unset;
    /*margin-left: calc(-1 * (1920px - 1170px) / 2) !important;*/
    /*margin-right: calc(-1 * (1920px - 1170px) / 2) !important;*/
  }
}
/* =========== BASE CONFIG =========== */
html {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  color: var(--main-text);
  font-weight: 400;
  line-height: 1.2;
  box-sizing: inherit;
}

body {
  background-color: var(--bg-light);
  /*max-width: 1920px;*/
  overflow-x: hidden;
  margin: 0 auto;
  width: auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  cursor: default;
  /*-webkit-box-shadow: 0 0 20px 5px #747474;*/
  /*box-shadow: 0 0 20px 5px #747474;*/
}

ul li {
  position: relative;
  list-style: none;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color: var(--head);
  line-height: 1.2;
  font-weight: 600;
}
h1,
.h1 {
  font-size: clamp(1.875rem, 1.625rem + 1.25vw, 3.125rem);
}
h2,
.h2 {
  font-size: clamp(1.438rem, 1.25rem + 0.94vw, 2.375rem);
}
h3,
.h3 {
  font-size: 32px;
  font-weight: 700;
}
h4,
.h4 {
  font-size: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
  font-weight: 700;
}
h5,
.h5 {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.25rem);
}
h6,
.h6 {
  font-size: 16px;
}

p {
  font-size: 20px;
  line-height: 1.2;
  color: var(--main-text);
}

.p1 {
  font-size: clamp(1.125rem, 1.1rem + 0.13vw, 1.25rem);
}

.p2 {
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
}

.p3 {
  font-size: 14px;
}

a {
  font-family: var(--font-family);
  color: var(--main-text);
  text-decoration: none;
  transition: all 0.3s ease-in;
  cursor: pointer;
}

path {
  transition: 0.3s ease-in;
}

main.foned {
  position: relative;
  overflow: hidden;
  z-index: 999;
}
main.foned:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.more-item.hidden {
  display: none;
}

.read-more__btn {
  width: fit-content;
  color: var(--main-text);
  border-bottom: 1px dashed var(--main-text);
  transition: 0.3s ease-in;
}

.read-more__btn:hover {
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
}

body.privacy-policy .page__title {
  margin-bottom: 20px;
  font-size: clamp(1.75rem, 1.35rem + 2vw, 3.75rem);
}

body.privacy-policy .content * {
  margin-bottom: 15px;
}

.breadcrumbs {
  padding: 30px 0;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 18px;
  color: var(--main-text);
}
.breadcrumbs span {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.breadcrumbs span .current-item {
  color: var(--primary);
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.container.second {
  max-width: 1890px;
}

@media (max-width: 650px) {
  .container.second {
    padding: 0;
  }
}

.socials {
  display: flex;
  align-items: center;
  gap: 5px;
}

.socials__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease-in;
}
.socials__item:first-child {
  background-color: var(--soc-first);
}
.socials__item:nth-child(2) {
  background-color: var(--soc-sec);
}
.socials__item:nth-child(3) {
  background-color: var(--soc-third);
}
.socials__item:nth-child(4) {
  background-color: var(--soc-four);
}
.socials__item:hover {
  background-color: var(--primary);
}
.socials__item svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 55px;
  outline: none;
  border: none;
  padding: 17px 45px;
  font-weight: 400;
  font-size: 16px;
  white-space: nowrap;
  color: var(--card);
  background: var(--primary);
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.btn.invert {
  color: var(--primary);
  background: var(--card);
  border: 1px solid var(--primary);
}

.btn:hover {
  background-color: var(--hover);
  border-color: var(--hover);
}

.btn.invert:hover {
  color: var(--card);
}

.swiper {
  width: 100%;
  overflow: hidden;
}
.swiper__nav {
  position: relative;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.swiper__nav .swiper__buttons {
  display: flex;
  gap: 10px;
}

.swiper__nav .swiper-button-prev::after,
.swiper__nav .swiper-button-next::after {
  display: none;
}

.swiper__nav .swiper-button-prev,
.swiper__nav .swiper-button-next {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 500px;
  width: 50px;
  height: 50px;
  background: transparent;
  cursor: pointer;
  margin-top: unset;
  transition: 0.3s ease-in;
}

.swiper__nav .swiper-button-prev.swiper-button-disabled,
.swiper__nav .swiper-button-next.swiper-button-disabled {
  background-color: var(--bg-gray);
  border-color: var(--bg-gray);
  opacity: 1;
  pointer-events: none;
}

.swiper__nav .swiper-button-prev svg {
  transform: rotate(180deg);
}

.swiper__nav .swiper-button-prev svg,
.swiper__nav .swiper-button-next svg {
  width: 24px;
  height: 24px;
}

.swiper__nav .swiper-button-prev:hover,
.swiper__nav .swiper-button-next:hover {
  background-color: var(--hover);
  border-color: var(--hover);
}

.swiper__nav .swiper-button-prev:hover path,
.swiper__nav .swiper-button-next:hover path {
  stroke: var(--card);
}
.swiper__nav .swiper-button-prev.swiper-button-disabled path,
.swiper__nav .swiper-button-next.swiper-button-disabled path {
  stroke: var(--main-text);
}

.swiper__nav .swiper-pagination {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content !important;
}

.swiper__nav .swiper-pagination .swiper-pagination-bullet {
  opacity: 1;
  width: 12px;
  height: 12px;
  background-color: transparent;
  border-radius: 100px;
  border: 1px solid var(--bg-gray);
  margin: 0 !important;
  transition: 0.3s ease-in;
}

.swiper__nav .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .swiper__nav {
    margin-top: 15px;
  }
  .swiper__nav .swiper-button-prev,
  .swiper__nav .swiper-button-next {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 600px) {
  .swiper__nav {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

/* #main,
#primary {
  min-height: 83vh;
} */

/*============ HEADER =================*/
#header {
  position: sticky;
  top: 10px;
  /* margin-top: 10px; */
  width: 100%;
  z-index: 100;
}

#header .header__wrapper {
  width: 100%;
  padding: 12px 0;
  border-radius: 15px;
  background-color: var(--card);
}

#header .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#header .header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--stroke);
}

#header .header__logo {
  max-width: 212px;
  width: 100%;
  max-height: 50px;
  height: 100%;
}

#header .header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#header .header__top-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

#header .header__addresses,
#header .header__phones,
#header .header__grade {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#header .header__phone {
  white-space: nowrap;
}

#header .header__phone:hover {
  color: var(--primary);
}

#header .address__value p {
  font-weight: 600;
  font-size: 16px;
  color: var(--head);
}

#header .header__grade {
  border-radius: 8px;
  padding: 10px;
  background: var(--bg-light);
}

#header .header__grade .header__grade-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
}

#header .header__grade .grade-bottom__left {
  display: flex;
  align-items: center;
  gap: 5px;
}

#header .header__grade .header__grade-logo {
  width: 20px;
  height: 20px;
}

#header .header__grade .header__grade-logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#header .header__grade .header__grade-stars {
  max-width: 92px;
  max-height: 16px;
}

#header .header__grade .header__grade-stars svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#header .header-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#header .header-menu li {
  position: relative;
  padding-bottom: 2px;
}

#header .header-menu li::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  opacity: 0;
  background-color: var(--primary);
  transition: 0.3s ease-in;
}

#header .header-menu li a {
  font-weight: 400;
  font-size: 16px;
}

#header .header-menu li:hover::before,
#header .header-menu li.active::before {
  opacity: 1;
}

#header .header-menu li:hover a,
#header .header-menu li.active a {
  color: var(--primary);
}

/*================ MOBILE MNU =============*/
#header .burger.open_menu {
  display: none;
  flex-direction: column;
  background-color: transparent;
  height: 40px;
  width: 40px;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 2px;
  flex-shrink: 0;
  transition: 0.3s ease-in;
}
#header .burger.open_menu span {
  background-color: var(--primary);
  width: 30px;
  height: 4px;
  transition: all 0.3s ease-in;
}
#header .burger.open_menu.clicked {
  background-color: var(--primary);
}
#header .burger.open_menu.clicked span {
  background-color: var(--card);
}
#header #mobile-mnu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 320px;
  background-color: var(--card);
  padding: 30px;
  transition: all 0.3s ease-in;
  transform: translateX(-350px);
  overflow-y: auto;
  z-index: 9999;
}
#header #mobile-mnu #close-mnu {
  font-size: 45px;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  display: block;
}
#header #mobile-mnu #close-mnu path {
  fill: var(--primary);
}
#header #mobile-mnu .header__logo {
  max-height: 120px;
  margin-bottom: 15px;
}
#header #mobile-mnu .header__logo img {
  height: 100%;
}
#header #mobile-mnu .menuTop {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style-type: none;
}

#header #mobile-mnu .menuTop li {
  position: relative;
  width: fit-content;
  padding-bottom: 2px;
}
#header #mobile-mnu .menuTop li::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  opacity: 0;
  background-color: var(--primary);
  transition: 0.3s ease-in;
}
#header #mobile-mnu .menuTop li a {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  font-size: 18px;
  line-height: 1;
  color: var(--head);
}
#header #mobile-mnu .menuTop li:hover a,
#header #mobile-mnu .menuTop li.active a {
  color: var(--primary);
}
#header #mobile-mnu .menuTop li:hover::before,
#header #mobile-mnu .menuTop li.active::before {
  opacity: 1;
}
#header #mobile-mnu.opened {
  transform: translateX(0);
}

@media (max-width: 1192px) {
  #header .header .header__addresses {
    display: none;
  }
}
@media (max-width: 992px) {
  #header .header__bottom {
    display: none;
  }
  #header .header__top {
    padding-bottom: 0;
    border: none;
  }
  #header .header__top-content {
    margin-left: auto;
    gap: 20px;
  }
  #header .header .header__grade {
    display: none;
  }
  #header .header__contacts {
    margin-left: auto;
  }
  #header .burger.open_menu {
    display: flex;
    justify-self: flex-end;
  }
}

@media (max-width: 768px) {
  #header .header__top-content {
    gap: 10px;
  }
  #header .header .btn {
    padding: 17px 25px;
  }
}
@media (max-width: 650px) {
  #header {
    top: 0;
  }
  #header .header__top {
    gap: 10px;
  }
  #header .container.second {
    padding: 0;
  }
  #header .header .btn {
    display: none;
  }
  #header .header .header__phones {
    align-items: flex-end;
  }
  #header .header .header__phone {
    font-size: 14px;
  }
}

/*============ FOOTER ===============*/
#footer {
  position: relative;
  left: 0;
  width: 100%;
  margin-top: auto;
  margin-bottom: 10px;
}
#footer .footer__wrapper {
  width: 100%;
  padding: 30px 0;
  border-radius: 20px;
  background-color: var(--card);
}
#footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#footer .privacy-holder {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}
#footer .privacy-holder:hover {
  color: var(--primary);
}
#footer .dev:hover {
  color: var(--primary);
}
#footer .dev path {
  fill: var(--main-text);
}
#footer .dev:hover path {
  fill: var(--primary);
}
#footer .rights {
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  color: var(--main-text);
}
#footer .rights strong {
  font-weight: 700;
}

#footer .footer__socials {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 10px;
  bottom: 30px;
  right: 60px;
  z-index: 10;
}

@media (max-width: 992px) {
  #footer .footer__socials {
    right: 30px;
  }
}
@media (max-width: 768px) {
  #footer .container {
    flex-direction: column;
    align-items: center;
  }
  #footer .footer__wrapper {
    padding: 15px 0;
  }
}
@media (max-width: 650px) {
  #footer {
    margin-bottom: 0;
  }
  #footer .container.second {
    padding: 0;
  }
  #footer .footer__socials {
    right: 10px;
  }
  #footer .footer__socials .socials__item {
    width: 45px;
    height: 45px;
  }
}
/* ============== MODAL ============= */
.theme-modal {
	display: none;
}
.theme-modal.fancybox__content {
  border-radius: 20px;
  max-width: 478px;
  width: 100%;
  padding: 40px;
  background: var(--head);
}
.theme-modal.fancybox__content .modal__title {
  color: var(--card);
  margin-bottom: 15px;
  text-align: center;
}
.theme-modal.fancybox__content .modal__subtitle {
  margin-bottom: 25px;
  text-align: center;
  color: var(--main-text-2);
}

.theme-modal.fancybox__content .form {
  gap: 25px;
}

.theme-modal.fancybox__content .form__inputs {
  gap: 15px;
}

.theme-modal.fancybox__content .form__buttons {
  gap: 15px;
}

.theme-modal.fancybox__content .form__buttons .privacy-policy {
  text-align: center;
}

.theme-modal.fancybox__content .form__buttons .privacy-policy a {
  color: var(--card);
}

.theme-modal.fancybox__content .form__buttons .privacy-policy a:hover {
  color: var(--primary);
}

#modal-success.theme-modal.fancybox__content .modal__title,
#modal-error.theme-modal.fancybox__content .modal__title {
  margin-bottom: 15px;
}
.theme-modal.fancybox__content .close__modal {
  width: 100%;
  /* margin-top: 25px; */
}
.fancybox__toolbar__column.is-right .f-button svg path,
.fancybox__toolbar__column.is-right .f-button svg circle {
  stroke: var(--card);
}
.fancybox__content>.f-button.is-close-btn {
  --f-button-width: 15px !important;
  --f-button-height: 15px !important;
  --f-button-svg-width: 100% !important;
  --f-button-svg-height: 100% !important;
  --f-button-bg: transparent !important;
  --f-button-active-bg: transparent !important;
  --f-button-hover-bg: transparent !important;
  top: 20px !important;
  right: 20px !important;
  opacity: 1 !important;
}

.fancybox__content .f-button.is-close-btn svg path {
  fill: var(--main-text);
  stroke: transparent !important;
  transition: 0.3s ease-in;
}
.fancybox__content .f-button.is-close-btn:hover svg path {
  fill: var(--primary);
}
.fancybox__backdrop {
  background: rgba(255, 255, 255, 0.8) !important;
}

@media (max-width: 768px) {
  .theme-modal.fancybox__content {
    padding: 20px 15px;
  }
  #modal-success.theme-modal.fancybox__content,
  #modal-error.theme-modal.fancybox__content {
    padding: 30px;
  }
}

/* ============== FORMS ============= */

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form__inputs input {
  width: 100%;
  padding: 18px 25px;
  border-radius: 500px;
  background: var(--card);
  border: 1px solid var(--stroke);
  font-size: 14px;
  outline: none;
  transition: 0.3s ease-in;
}

.form__inputs input:hover,
.form__inputs input:focus {
  border-color: var(--primary);
  color: var(--primary);
}

.form__inputs input.error {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.form__inputs input.error::placeholder {
  color: var(--primary);
}

.form__inputs input::placeholder {
  font-size: 14px;
  color: var(--main-text);
  transition: 0.3s ease-in;
}

.form__inputs input:hover::placeholder,
.form__inputs input:focus::placeholder {
  color: var(--primary);
}

.form__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form__buttons button.btn.fill {
  width: 100%;
}

.form__buttons .privacy-policy {
  width: 100%;
  color: var(--main-text-2);
}

.form__buttons .privacy-policy a {
  color: inherit;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.form__buttons .privacy-policy a:hover {
  color: var(--primary);
}

/* ============= 404 ERROR PAGE =========== */

.error__page {
  min-height: 80vh;
  height: 100%;
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.error__page .error__wrapper {
  padding-top: 116px;
  display: flex;
  align-items: center;
  gap: 130px;
}

.error__page .error__title {
  font-size: clamp(7.5rem, 6rem + 7.5vw, 15rem);
  color: var(--primary);
}

.error__page .error__title-sec {
  margin-bottom: 20px;
}

.error__page .error__desc {
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .error__page .error__wrapper {
    flex-direction: column;
    padding-top: 40px;
    align-items: center;
    gap: 20px;
  }
  .error__page .error__desc,
  .error__page .error__title-sec {
    text-align: center;
    margin-bottom: 20px;
  }
  .error__page .error__btn {
    margin: 0 auto;
  }
}


/* ============= MEDIA QUERIES =========== */

/*# sourceMappingURL=main.css.map */


