.footer__nav a {
	white-space: normal;
    overflow: visible;
    text-overflow: inherit;
}

.logo {
	position: relative;
}

.menu__item {
    cursor: pointer;
}

.logo__subtext {
	position: absolute;
	left: 8px;
	top: -8px;
	max-width: 100% !important;
}

.footer-first {
	grid-column: 1 / 3;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-first__text {
	font-size: 12px;
	font-weight: 400;
	color: #FFFFFF80;
}

.footer .search-form {
	align-self: flex-end;
}
.page-content p {
	line-height: 1.4;
}


/* (опционально) если хочешь скругление — на img, а не на slide */
.gallery .swiper-slide img {
  border-radius: 12px;
}


@media (max-width: 992.98px) {
	.footer-first__text {
		text-align: center;
	}
}

.swiper-intro .swiper-slide {
	position: relative;
}

.garanty__row {
	grid-template-columns: 1fr;
}

.garanty__content {
	max-width: 100%;
}

.garanty__content .page-content {
	max-width: 100%;
}

.garanty__content p {
	max-width: 100%;
}

.garanty__content .btn {
	max-width: 400px;
	display: block;
	margin: 20px auto 0;
	width: 100%;
}
.about__content .btn {
    width: 100%;
	max-width: 760px;
    margin-top: 20px;
}
/* Технический директор фото */


.media-contain {
    position: relative;
}

.logo-braver {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999;
    width: 40px;
    height: 40px;
}


/* Доработка Карты */



.map-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  padding: 0px 20px;
}

.map-container > * {
  min-width: 0;
}

.map-coordinates-cards {
  display: flex;
  flex-direction: column;
  gap: 0;

  max-height: 720px;
  overflow-y: auto;
  padding-right: 8px;
  scroll-behavior: smooth;
}

.map-coordinates-cards::-webkit-scrollbar {
  width: 6px;
}

.map-coordinates-cards::-webkit-scrollbar-track {
  background-color: #E5E5E5;
  border-radius: 8px;
}

.map-coordinates-cards::-webkit-scrollbar-thumb {
  background-color: #7B7B7B;
  border-radius: 8px;
}

.map-coordinates-card {
  border-top: 1px solid #202020;
  padding: 20px 0px;
  cursor: pointer;
}

.map-coordinates-card:first-child {
  padding-top: 0px;
}

.map-coordinates-card:first-child {
  border-top: none;
}

.map-coordinates-card:last-child {
  border-bottom: 1px solid #202020;
}

.map-coordinates-card-title {
  font-weight: 500;
  font-size: 20px;
  color: #202020;
  line-height: 1;
}

.map-coordinates-card-info {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.map-coordinates-card-info p {
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  color: #7B7B7B;
  border-bottom: 1px solid #2020201A;
  padding: 10px 0px;
}

.map-coordinates-card-info p:last-child {
  border: none;
}

.search-box {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  padding: 16px 12px;
  border-radius: 8px;
  gap: 10px;

  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 18px;
  font-weight: 400;
  flex: 1;
}

.search-box input::placeholder {
  color: #2020204D;
}

.search-box svg {
  width: 18px;
  height: 18px;
  fill: #aaa;
}

.search-box:focus-within {
  border-color: #202020;
}
.item-stock .media-contain img {
    max-width: 100%;
    max-height: 100%;
}
.product-swiper .media-contain img {
    max-width: 100%!important;
	max-height: 100%!important
}
/* Адаптив */

@media (max-width: 1579.98px) {
  .map-coordinates-cards {
     max-height: 555px;
  }

  .map-container {
    gap: 20px;
  }
  .about__content .btn {
	max-width: 625px
  }
}

@media (max-width: 992px) {
  .map-container {
    grid-template-columns: 1fr;
  }

 .map-coordinates-card-title {
  font-size: 16px;
 }

 .map-coordinates-card-info p {
  font-size: 14px;
 }

 .search-box input {
  font-size: 16px;
 }

 .search-box {
  padding: 15px 12px;
  margin-bottom: 10px;
 }

  /* #contactsMap [class*=-balloon_layout] {
    overflow: visible !important;
  }

  #contactsMap [class*=-balloon__tail]{
    position: absolute !important;
    width: 36px !important;
    height: 20px !important;

    top: 1px !important;
    left: 30% !important;
    transform: translate(-50%, -100%) !important;
    transform-origin: 50% 100% !important;

    background: url(../img/icons/balloon-tail.svg) center/contain no-repeat !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    z-index: 9999 !important;
  }

  #contactsMap [class*=-balloon__tail]::after {
    content: none !important;
  } */
}

.balloon a {
    font-size: 14px;
}

.balloon a:hover {
    color: #202020;
}

.production-row {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

@media (max-width: 767px) {
.production-row {
    grid-template-columns: 1fr;
    margin-top: 0px;
    gap: 30px;
}
}

.balloon a {
font-size: 18px;
line-height: 1;
color: #7B7B7B;
}

/*.media-contain img:not(.logo-braver) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  margin: 0;
}*/

.circle:before {
    z-index: 1000;
}

.item-head .media-contain {
    padding-top: 113.7%;
}

.item-head .media-contain img {
    max-width: 100%;
}

.contacts__head .item-head .media-contain {
    padding-top: 113.93%;
}

.header__inner {
    padding: 5px 0;
}

.logo a {
    flex: 0 0 200px;
}

.logo a svg {
    width: 200px;
    height: 75px;
}

.logo span {
    font-size: 14px;
}

.header__phone_desktop {
    background: url(../img/icons/phone.svg) no-repeat center / cover;
    width: 40px;
    height: 40px;
}

.footer-first {
    gap: 0;
}

.footer-first__text {
    font-weight: 400;
    font-size: 18px;
    line-height: .9;
    color: #fff;
    letter-spacing: normal;
    width: 100%;
}

.footer-logo__text {
    width: 413px;
}

.footer-first {
    grid-column:  1 / 5;
}

.logo .footer__logo-link {
    flex: 0 0 307px;
}

.footer__logo {
    gap: 16px;
    margin-bottom: -5px;
}

.footer__logo span {
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 0.9 !important;
    letter-spacing: 0 !important;
    color: #fff !important;
    max-width: 148px !important;
}

.footer__logo-link img {
    width: 100%;
}

.footer__search-form {
    width: 279px;
}

.footer__search-form .search-form__inner {
    width: 100%;
    max-width: 279px;
}

.comp-rate {
    padding-right: 32px;
}

.footer__col:first-of-type {
    margin-left: -21px;
}
.footer__bg a img {
    opacity: 0.1;
    transition: all .3s linear;
}
.product-swiper .media-contain {
    padding-top: 63.76%;
}
.item-stock .media-contain {
    padding-top: 61.47%
}
@media (min-width: 767.98px) {
    .item-stock__content h5 a,
    .item-stock__content .h5 a {
        min-height: 32px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis
    }
}
@media (min-width: 1270.98px) {
    .item-stock__content h5 a,
    .item-stock__content .h5 a {
        min-height: 42px;
    }
}
@media (max-width: 1579.98px) {
    .logo a {
        flex: 0 0 150px;
    }

    .logo a svg {
        width: 150px;
        height: 50px;
    }

    .logo span {
        font-size: 12px;
    }

    .stroke-btn {
        padding: 4.6px 11px;
    }

    .header__phone {
        width: 100%;
        max-width: 40px;
    }

    .avito-link {
        width: 100%;
        max-width: 40px;
    }

    .footer__search-form {
        width: 222px;
    }
}

@media (max-width: 1270.98px) {
    .logo .footer__logo-link {
        flex: 0 0 240px;
    }

    .footer__logo span {
        font-size: 18px !important;
    }
}

@media (max-width: 992.98px) {
    .footer-first {
        grid-column: 1 / 3;
    }

    .footer__search-form {
        width: 100%;
    }

    .footer-logo__text {
        width: 100%;
    }

    .footer__col:first-of-type {
        margin-left: 0;
    }

    .footer__search-form .search-form__inner {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .footer-first__text {
        font-size: 14px;
    }

    .logo .footer__logo-link {
        flex: 0 0 263px;
    }

    .footer__logo {
        gap: 4px;
    }

    .footer__logo span {
        font-size: 16px !important;
        width: 100px;
    }
	.breadcrumbs {
		overflow:hidden
	}
	.breadcrumbs ul  {
        overflow: auto;
        scrollbar-width: none;
    }
    .breadcrumbs ul::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }
	.breadcrumbs ul {
        margin: 0 calc((100vw - 530px) / -2);
    }
    .breadcrumbs--pr ul {
        width: calc(100% + (100vw - 530px))
    }
    .breadcrumbs ul li:first-child {
        margin-left: calc((100vw - 530px) / 2);
        ;
    }
    .breadcrumbs ul li:last-child {
    	overflow: visible;
        margin-right: calc((100vw - 530px) / 2);
    }
}

@media (max-width: 600px) {
    .logo a {
        flex: 0 0 130px;
    }

    .logo a svg {
        width: 130px;
        height: 48.5px;
    }

    .logo span {
        font-size: 10px;
    }

    .header__inner {
        padding: 4.75px 0;
    }

    .menu__header {
        padding: 16px 0 16px 1px;
    }

    .mob-menu__inner {
        padding-top: 0;
    }

    .footer-first {
        margin-bottom: 10px;
    }

    .comp-rate {
        padding-right: 13px;
    }

    .footer-first__text {
        width: 100%;
        max-width: 370px;
        text-align: start;
    }

    .footer__logo {
        justify-content: flex-start !important;
    }

    .logo .footer__logo-link {
        flex: 0 0 43.9vw;
    }

    .footer__top {
        padding-top: 42px;
    }

    .footer .logo {
        margin-bottom: 0;
    }
}
@media (max-width: 570px) {
    .breadcrumbs ul {
        margin: 0 -20px;
    }

    .breadcrumbs--pr ul {
        width: calc(100% + 40px)
    }

    .breadcrumbs ul li:first-child {
        margin-left: 20px;
    }

    .breadcrumbs ul li:last-child {
        margin-right: 20px;
    }
}
@media (max-width: 450px) {
    .logo .footer__logo-link {
        flex: 0 0 67.4vw;
    }
}

