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

:root {
  --hover: #007bff;
  --width: 1280px;
  --gray: rgb(128, 128, 128, 0.3);
}

body {
  font-family: "SFProDisplay", sans-serif;
}

img {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title {
  font-weight: 700;
}

li {
  list-style-type: none;
}

a:not(.button-three) {
  text-decoration: none;
  color: #333;
}

p,
span,
a {
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: var(--width);
  margin-left: auto;
  margin-right: auto;
}
.container__full {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.container__full.gray {
  background-color: rgba(128, 128, 128, 0.2);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.button-three {
  padding: 15px 25px;
  border: none;
  cursor: pointer;
  font-family: "SFProDisplay", sans-serif;
  font-size: 16px;
  transition: all 0.3s ease; /* Smooth transition for hover effects */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-three {
  background-color: transparent;
  text-decoration: none;
  color: #007bff;
  border: 2px solid var(--hover);
  border-radius: 8px;
}

.button-three:hover {
  background-color: var(--hover);
  color: white;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 2rem;
  max-width: 1920px;
  margin: auto;
  border-bottom: 1px solid rgba(128, 128, 128, 0.3);
}
@media screen and (min-width: 481px) {
  .header {
    padding: 15px 30px;
  }
}
@media screen and (max-width: 480px) {
  .header {
    padding: 10px;
  }
}
.header__logo {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  max-width: fit-content;
}
.header__logo__image {
  max-width: 70px;
  width: 100%;
  border-radius: 50%;
  overflow: hidden;
}
.header__logo__image img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.header__logo__company {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 370px) {
  .header__logo__company {
    display: none;
  }
}
@media screen and (min-width: 481px) {
  .header__logo__company .title {
    font-size: 2rem;
  }
}
@media screen and (max-width: 480px) {
  .header__logo__company .title {
    font-size: 1rem;
  }
}
.header__logo__separator {
  width: 2px;
  height: 70px;
  background-color: rgba(128, 128, 128, 0.3);
  display: flex;
  position: relative;
}
@media screen and (max-width: 480px) {
  .header__logo__separator {
    display: none;
  }
}
.header__menu {
  display: flex;
  flex-grow: 1;
}
@media screen and (max-width: 1420px) {
  .header__menu {
    flex-direction: column;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 10;
    display: none;
  }
  .header__menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d9d9d9;
  }
  .header__menu.open {
    display: flex !important;
  }
}
@media screen and (min-width: 481px) {
  .header__menu {
    top: 101px;
  }
}
@media screen and (max-width: 480px) {
  .header__menu {
    top: 90px;
  }
}
.header__menu nav {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  z-index: 10;
}
.header__menu nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}
@media screen and (max-width: 1420px) {
  .header__menu nav ul {
    flex-direction: column;
    margin-top: 2rem;
  }
}
.header__menu nav ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.header__menu nav ul li a {
  font-size: 1.2rem;
}
.header__menu nav ul li a:hover {
  color: var(--hover);
  transition: 0.3s ease;
}
.header__branches {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  z-index: 10;
}
@media screen and (max-width: 1420px) {
  .header__branches {
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    padding-bottom: 2rem;
  }
}
.header__branch {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 1420px) {
  .header__branch {
    text-align: center;
  }
}
.header__branch .tel {
  font-size: 14px;
  font-weight: 700;
}
.header__branch .tel:hover {
  color: var(--hover);
  transition: 0.3s ease;
}
.header__branch .adress {
  font-size: 14px;
  margin-top: 0.2rem;
}
.header__branch .worktime {
  font-size: 12px;
  color: gray;
}

#nav-icon1, #nav-icon2, #nav-icon3, #nav-icon4 {
  width: 60px;
  height: 45px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

#nav-icon1 span, #nav-icon3 span, #nav-icon4 span {
  display: block;
  position: absolute;
  height: 1px;
  width: 100%;
  background: #333;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

#nav-icon4 span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(2) {
  top: 18px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(3) {
  top: 36px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -3px;
  left: 8px;
}

#nav-icon4.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon4.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 39px;
  left: 8px;
}

@media screen and (min-width: 1420px) {
  .burger {
    display: none;
  }
}
@media screen and (min-width: 1421px) {
  .branches__info__tablets {
    display: none;
  }
}
@media screen and (max-width: 1420px) {
  .branches__info__tablets {
    display: none;
    flex-direction: column;
  }
  .branches__info__tablets .header__branch {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    gap: 2rem;
    padding: 0.5rem 0.5rem;
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
    border-left: 1px solid rgba(128, 128, 128, 0.3);
    border-right: 1px solid rgba(128, 128, 128, 0.3);
  }
  .branches__info__tablets .header__branch .adress {
    margin-top: 0;
  }
}

.page__title {
  max-width: var(--width);
  margin: auto;
}
@media screen and (min-width: 1336px) {
  .page__title {
    padding: 50px 0px;
  }
}
@media screen and (max-width: 1335px) and (min-width: 481px) {
  .page__title {
    padding: 50px 30px;
  }
}
@media screen and (max-width: 480px) {
  .page__title {
    padding: 30px 10px;
  }
}
@media screen and (min-width: 769px) {
    .mobile-contacts {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
    .mobile-contacts {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #fff;
        padding: 1.25rem;
    }
    .mobile-contacts .tel {
        color:#DF1812;
        font-weight: 700;
        font-size: 1.25rem;
        
    }
    .mobile-contacts .adress {
        text-align: center;
    }
}
.page__title h1 {
  font-size: 2.5rem;
  color: #333;
}
.page__title p {
  margin-top: 1rem;
  color: rgb(128, 128, 128);
}

.catalog {
  display: flex;
  gap: 2rem;
}
@media screen and (min-width: 1336px) {
  .catalog {
    padding: 15px 0;
  }
}
@media screen and (max-width: 1335px) and (min-width: 481px) {
  .catalog {
    padding: 15px 30px;
  }
}
@media screen and (max-width: 480px) {
  .catalog {
    padding: 10px;
  }
}
@media screen and (max-width: 680px) {
  .catalog {
    flex-direction: column;
  }
}
.catalog__filters {
  display: flex;
  flex-direction: column;
  min-width: 240px;
}
.catalog__filters h4 {
  font-size: 1.5rem;
}
.catalog__filters .capacity {
  border-bottom: 1px solid var(--gray);
  border-top: 1px solid var(--gray);
  padding-bottom: 1rem;
  padding-top: 1rem;
  margin-top: 2rem;
}
.catalog__filters .capacity h5 {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.catalog__filters .capacity ul {
  margin-left: 20px;
}
.catalog__filters .capacity ul li {
  margin-top: 0.3rem;
  list-style-type: circle;
}
.catalog__filters .capacity ul li a:hover {
  color: var(--hover);
}
.catalog__filters .brand {
  border-bottom: 1px solid var(--gray);
  padding-bottom: 1rem;
  margin-top: 1rem;
}
.catalog__filters .brand h5 {
  font-size: 1rem;
  margin-bottom: 1rem;
}
.catalog__filters .brand ul {
  margin-left: 20px;
}
.catalog__filters .brand ul li {
  margin-top: 0.3rem;
  list-style-type: circle;
}
.catalog__filters .brand ul li a:hover {
  color: var(--hover);
}
.catalog__products {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

@media screen and (max-width:680px){
    
    .catalog__products{
        grid-template-columns: repeat(2, 1fr);
    }
    
    .catalog__products .product {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .catalog__products .product .product__info{
        flex-grow: 1;
    }
    
}

@media screen and (max-width:480px){
    .catalog__products .product .product__image span{
        font-size: 0.625rem !important;
    }
    
    .catalog__products .product .product__info .title{
        font-size: 1rem;
    }
    
    .catalog__products .product .product__info .product__info__text {
        font-size: 0.875rem;
    }
    
    .catalog__products .product .product__info .product__info__price {
        font-size: 1.25rem;
    }
}

.product {
  max-width: 400px;
  width: 100%;
  border: 1px solid var(--gray);
  padding: 20px 10px;
  border-radius: 8px;
  height: fit-content;
}
@media screen and (max-width: 947px) {
  .product {
    margin: auto;
  }
}
.product__image {
  position: relative;
  max-height: 200px;
  height: auto;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}
.product__image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}
.product__image span {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.8rem;
  border: 1px solid var(--hover);
  padding: 5px 4px;
  z-index: 5;
  background-color: var(--hover);
  color: #fff;
  border-radius: 8px;
}
.product__info {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  text-align: center;
  margin-top: 1rem;
}
.product__info .title {
  font-size: 1.25rem;
  transition: color 0.3s ease;
}
.product__info .title:hover {
  color: var(--hover);
}
.product__info__price {
  margin: 1rem 0;
  font-size: 2rem;
  color: var(--hover);
}

#map > ymaps {
  overflow: hidden;
}

.map .btn {
  width: fit-content;
}

.map__inner {
  position: relative;
  max-width: 1920px;
  margin: 40px auto 0;
}
@media screen and (min-width: 768px) {
  .map__inner {
    height: 500px;
  }
}
@media screen and (max-width: 768px) {
  .map__inner {
    padding: 0 0;
    height: 375px;
  }
}

.map__bottom {
  padding: 24px;
  border-radius: 10px;
  position: absolute;
  bottom: 28px;
  z-index: 3;
  background: #0C121C;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1296px;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 480px) {
  .map__bottom .btn {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
}
@media screen and (max-width: 1150px) {
  .map__bottom {
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    bottom: 0;
    border-radius: 0;
  }
}
@media screen and (max-width: 768px) {
  .map__bottom {
    width: 80%;
    position: absolute;
  }
}
@media screen and (max-width: 768px) {
  .map__bottom {
    bottom: 60px;
  }
}

.map__bottom-item {
  display: flex;
  flex-direction: column;
  gap: 4px 0;
  text-align: start;
}
@media screen and (max-width: 1150px) {
  .map__bottom-item {
    text-align: center;
  }
}
@media screen and (max-width: 768px) {
  .map__bottom-item {
    width: 100%;
    text-align: left;
  }
}

.map__bottom-item:first-child {
  max-width: 325px;
}

.map__bottom-title {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 19.2px;
  font-weight: 400;
  color: #fff;
}

.map__bottom-text, .map__number.ya_phone {
  font-family: var(--bold-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
}
@media screen and (max-width: 480px) {
  .map__bottom-text, .map__number.ya_phone {
    font-size: 18px;
    line-height: 21.6px;
  }
}

.map__number {
  color: var(--white);
}

.map__number-bottom {
  display: flex;
  justify-content: flex-start;
  gap: 0 4px;
  align-items: center;
  margin-top: 4px;
  font-weight: 300;
  color: var(--grey);
  font-size: 14px;
  position: relative;
}
.map__number-bottom::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--green);
  border-radius: 50%;
}

.footer {
  width: 100%;
  margin: auto;
  background-color: rgba(128, 128, 128, 0.2);
}
@media screen and (min-width: 1336px) {
  .footer {
    padding: 10px 0;
  }
}
@media screen and (max-width: 1335px) and (min-width: 481px) {
  .footer {
    padding: 10px 15px;
  }
}
@media screen and (max-width: 480px) {
  .footer {
    padding: 10px;
  }
}
.footer-container {
  position: relative;
  max-width: var(--width);
  width: 100%;
  display: flex;
  flex-direction: column;
  height: auto;
  margin: auto;
}
.footer-container .info-provovaya {
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0%;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 0%;
  text-decoration-skip-ink: auto;
  color: var(--gray);
  width: fit-content;
}
.footer-container p {
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0%;
  color: #333;
  margin-top: 20px;
  text-align: center;
}

.services__article {
    display: flex;
    flex-direction: column;
    gap:1rem;
}

@media screen and (max-width:830px){
    .catalog.services__pages{
        flex-direction: column-reverse;
    }
}

.catalog.services__pages img {
    max-width: 100%;
}


.catalog__filters-btn {
    display: flex;
    
    align-items: center;
}

@media screen and (min-width:681px){
  .catalog__filters-btn svg{
      display: none;
  }  
  .catalog__filters-btn {
      justify-content: space-between;
  }
}

@media screen and (max-width:680px){
   
  .catalog__filters-btn svg{
      display: block;
  }  
  .catalog__filters-btn {
      justify-content: center;
        gap: 20px;
  }
  
  .catalog__filters-btn {
      border-bottom: 2px solid #007bff;
      padding: 20px ;
  }
  
  .catalog__filters-content {
    height: fit-content;
    visibility: hidden;
    max-height: 0;
    tansition: max-height .5s ease , visibility .3s ease .3s;
 }
  .catalog__filters-content.active {
    height: fit-content;
    visibility: visible;
    max-height: 100%;
 }
}

.catalog__filters-btn svg {
    width: 29px;
    height: 29px;
}
