@media (min-width: 1920px) {
  .thumbnail-slider .slick-list {
    padding-top: 0;
    /* min-height: 637px; */
    min-height: 440px;
  }
}
@media (max-width: 1750px){
  .cart-header-price {
    /* width: 19%; */
  }
  .thumbnail-slider .slick-list {
    padding-top: 0;
    min-height: 440px;
    /* min-height: 505px; */
    max-height: 505px;
  }
}
@media (max-width: 1600px) {
  .catalog__right .product-item {
    /* width: calc(25% - 12px); */
  }
  .catalog__right .product-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
@media (max-width: 1550px) {

  .catalog-search-wrap .catalog__right .product-item {
    /* width: calc((100% / 5) - 12px); */
  }

  .catalog-search-wrap .catalog__right .product-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }

  .search-container {
    width: 79%;
  }

  .sort-container {
    width: 20%;
  }

  .item-info {
    /* width: 45%; */
  }

  .kabinet__wrapp {
    gap: 100px;
  }
  /* Салоны */
  .salon-page__wrapp{
    gap: 20px;
  }
  .salon-page__left {
    max-width: 390px;
  } 
  .product-card__info {
    width: 100%;
    /* padding-left: 20px; */
    margin-top: 10px;
  }
  .product-card__info h1{
    width: 100%;
  }
  .grid-dropdown{
    grid-template-columns: 1fr;
  }
  .catalog__left {
    max-width: 300px;
    min-width: 300px;
  }
  .contacts__right {
    flex: 1;
    position: relative;
    max-width: 50%;
  }
  .delivery-grid {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 1px;
    margin-bottom: 20px;
    font-size: 13px;
  }
  .header-cell{
    font-size: 13px;
  }
  .header-cell, .row-header, .cell {
    padding: 7px;
    border-bottom: 1px solid #e4e2e0;
  }
  .cart-header-price {
    /* width: 19%; */
  }
}
@media (max-width: 1450px){
  .product-card__info{
    margin-top: 30px;
  }
  .thumbnail-slider .slick-list {
    padding-top: 0;
    min-height: 100%;
    max-height: 100%;
  }
}
@media (max-width: 1300px) {
  .right-column {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .salon-page__right {
    flex-wrap: wrap;
  }
  .salon-page__right > div {
    width: calc(33% - 10px);
  }
  .sort-container {
    display: inline-flex;
    align-items: center;
  }

  .left-block {
    width: 50%;
    max-width: 100%
  }

  .left-block img {
    width: 100%;
    height: 100%;
  }

  .right-block {
    width: 50%;
    max-width: 100%;
  }

  .new-products__wrapp {
    display: flex;
    gap: 20px;
  }

  /* .catalog__left {
    width: 42%;
    max-width: 100%;
    min-width: 42%;
  } */

  .catalog__right .product-item {
    /* width: 49%;
    max-width: 440px;
    margin-bottom: 20px; */
  }

  .catalog-search-wrap .catalog__right .product-item {
    /* width: calc((100% / 4) - 12px); */
  }

  .catalog-search-wrap .catalog__right .product-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .catalog__header {
    justify-content: space-between;
  }

  .search-container {
    width: 60%;
  }

  .sort-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: 220px;
  }

  .sort-container svg {
    margin-top: 0;
  }
  .product-card__info h1{
    width: 100%;
  }
  /* .product-card__wrapp {
    grid-template-columns: 60% 40%;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "left-block__prod right-top"
      "right-bottom right-bottom";
    gap: 20px;
  } */
  .product-slider .slick-list{
    min-width: 80px;
    height: auto;
  }
  .thumbnail-slider img{
    width: 60px;
  }

  .product-slider img {
    width: 100%; /* фиксированная ширина для основного изображения */
    height: auto; /* фиксированная высота */
    object-fit: contain; /* чтобы изображение сохраняло пропорции */
  }

  .product-slider {
    width: 85%;
  }

  .product-tabs__pane {
    min-height: auto;
  }

  .cart__wrapp {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
  }

  .cart-info-wrapp {
    display: flex;
    flex-grow: 0;
    align-items: baseline;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .item-info {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .item-price {
    font-size: 26px;
    margin-bottom: 15px;
    margin-top: 7px;
    padding-left: 0;
    padding-right: 0;
  }

  .item-title {
    margin-bottom: 10px;
  }

  .cart-header {
    display: none;
  }
  .deliv__wrapp{
    gap: 15px;
  }
  /* .form-grid__zakaz{
    margin-bottom: 20px;
  } */
  .zakaz-checkout__wrapp h3{
    /* margin-bottom: 20px;
    margin-top: 20px; */
  }

  .checkout-total__zakaz{
    margin-top: 32px;
  }
  .zakaz-checkout__left-wrapp .checkout-option {
    margin-top: 0;
    margin-bottom: 0;
  }
  .zakaz-checkout__wrapp{
    gap: 20px;
  }
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .brends__header .search-container,
  .alphabet-nav{
    width: 50%;
  }
  .brends__header{
    padding: 10px 0;
  }
  .kabinet__wrapp {
    gap: 50px;
  }
  .kabinet__sidebar {
    width: 230px;
    min-width: 230px;
  }
  .orders-table-header div {
    font-weight: 300;
    /* font-size: 20px; */
    font-size: 15px;
    padding: 10px 7px;
    text-align: left;
}
  .order-row div{
    padding: 10px 7px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
  }
  .profile-form__row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 15px;
  }

  /* Имя и фамилия по 50% */
  .profile-form__row .form-group:nth-child(1),
  .profile-form__row .form-group:nth-child(2) {
    width: calc(50% - 8px);
    /* 8px это половина gap */
  }

  /* Отчество на 100% */
  .profile-form__row .form-group:nth-child(3) {
    width: 100%;
  }
  .right-bottom-block{
    margin-top: 30px;
  }

}
@media (max-width: 1350px) {
  .delivery-grid {
    grid-template-columns: auto auto auto auto;
  }
  .deliv-block {
    width: 100%;
    padding: 20px;
  }
}
@media (max-width: 1200px) {
  .product-card__wrapp {
    grid-template-columns: 60% 40%;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "left-block__prod right-top"
      "right-bottom right-bottom";
    gap: 20px;
  }

  .catalog__right .product-item {
    /* width: calc(50% - 5px); */
  }

  .catalog__right .product-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 1000px) {
  .salon-page__right > div {
    display: none;
  }
  .salon-page__right > div:nth-child(1),
  .salon-page__right > div:nth-child(2),
  .salon-page__right > div:nth-child(3) {
    display: block;
  }
  .catalog__right .product-item,
  .catalog-search-wrap .catalog__right .product-item {
    /* width: calc(33% - 5px); */
  }
  .catalog-search-wrap .catalog__right .product-grid,
  .catalog__right .product-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  #bx-soa-properties .bx-soa-section-content.container-fluid .row {
    grid-template-columns: 1fr;
  }
  #bx-soa-properties .bx-soa-section-content.container-fluid .row .form-group:nth-child(4) {
    grid-column: auto;
  }
  .mob__none {
    display: none;
  }

  .container {
    max-width: 1000px;
    width: 100%;
    margin: auto;
    padding: 0 50px;
  }

  header .logo a {
    font-size: 20px;
  }

  header nav ul li a {
    font-size: 15px;
  }

  .icons-header a img {
    width: 16px;
  }

  .cart a span {
    font-size: 15px;
  }
  .cart__left{
    margin-top: 40px;
  }

  .page-title {
    /* padding-bottom: 40px; */
    /* line-height: 60px; */
  }

  .left-block {
    width: 50%;
    max-width: 440px;
  }

  .left-block img {
    width: 100%;
    height: 100%;
  }

  .right-block {
    width: 50%;
    max-width: 440px;
  }

  .product-title__slide {
    display: flex;
    flex-direction: column;
    min-height: 150px;
    justify-content: center;
  }

  .product-title__slide h3 {
    width: 100%;
    /* 
    font-weight: 300;
    font-size: 44px;
    line-height: 44px; */
  }

  /* new catalog */
  .container__new-products {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left-column"
      "right-column"
      "all-products";
  }

  .left-column {
    padding-right: 0;
  }

  .all-products-link {
    text-align: center;
    margin-top: 20px;
  }

  .right-column {
    grid-template-columns: 1fr 1fr;
  }

  .catalog__header {
    /* display: flex; */
    display: block;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 21px;
    padding: 20px 0 20px;
    justify-content: space-between;
  }

  .catalog__right .product-item {
    /* width: 49%;
    max-width: 440px;
    margin-bottom: 20px; */
  }

  .new-products__left {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .btn-transparent {
    max-width: 100%;
  }

  /* catalog */
  .section-title {
    margin-bottom: 48px;
  }

  .catalog__wrapp {
    display: flex;
    gap: 21px;
    flex-wrap: wrap;
  }

  .catalog__left {
    width: 100%;
    max-width: 100%;
    min-width: 25%;
    margin-top: 25px;
    border-top: 1px solid #d4d4d4;
  }

  .catalog__right {
    border-top: 1px solid #d4d4d4;
  }

  .catalog-link__mob a {
    text-decoration: none;
    border: 1px solid var(--main-red);
    margin-top: 60px;
    padding: 10px 20px;
    border-radius: 20px;
    color: var(--main-red);
    font-size: 16px;
    width: 100%;
    display: block;
    text-align: center;
  }

  .catalog-link__mob {
    display: block;
  }

  .search-container__mob {
    display: flex;
    width: 100%;
    margin-top: 25px;
  }

  .search-container__desc {
    display: none;
  }


  .filter-header {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
  }

  .filter-header__arrow {
    display: flex;
  }

  .filter-header__arrow img {
    width: 15px;
  }

  .filtr-title {
    margin-top: 0;
    margin-bottom: 0;
  }

  .filter-content {
    display: none;
  }

  .filter-content__left,
  .filter-content__right {
    width: 49%;
  }

  .filter-content.active {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
  }
  .grid-dropdown {
    grid-template-columns: 1fr 1fr;
  }

  .sort-container {
    order: 3;
  }

  .filters-container {
    order: 2;
    flex-wrap: wrap;
    width: 65%;
  }

  .filter-buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }

  .filter-buttons button {
    width: 49%;
  }

  .pagination__catalog {
    margin-bottom: 30px;
  }

  .thumbnail-slider {
    display: none;
  }

  .product-slider {
    width: 100%;
    margin-left: 0;
  }

  .characteristics__row {
    display: grid;
    grid-template-columns: 100px 100px 150px 1fr;
    gap: 20px;
    align-items: baseline;
  }

  .product-similar {
    margin-top: 60px;
  }

  .footer__section-logo {
    display: none;
  }

  .footer {
    background-color: #e1e1e1;
    padding: 30px 20px 0 20px;
    color: #3E3E3E;
    margin-top: 18px;
  }

  .footer__bottom-logo-tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 23px;
    flex-wrap: wrap;
  }

  .footer__bottom-center {
    width: 100%;
  }

  .footer__bottom-center .footer__ps {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }

  .footer__bottom-logo-tab .footer__logo {
    padding-bottom: 0;
    margin-bottom: 0;
    font-size: 24px;
    color: var(--main-red);
    font-weight: 300;
    border-bottom: none;
  }

  .product-card__wrapp {
    grid-template-columns: 60% 40%;
    /* Две колонки */
    grid-template-rows: auto auto auto;
    /* Три строки */
    grid-template-areas:
      "left-block__prod right-top"
      "right-bottom right-bottom";
    gap: 20px;
  }
  .product-slider img{
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .product-card__info{
    margin-top: 0;
  }
  .product-slider img{
    margin-top: 0;
  }

  .thumbnail-slider {
    display: none;
  }

  .left-block__prod {
    grid-area: left-block__prod;
  }

  .product-slider {
    width: 100%;
    margin-left: 0;
  }

  .characteristics__row {
    display: grid;
    grid-template-columns: 120px 120px 150px 1fr;
    gap: 20px;
    align-items: baseline;
  }
  .product-tabs__pane .deliv__wrapp{
    flex-wrap: nowrap;
  }
  .product-tabs__pane .payment-section{
    height: auto;
  }

  .product-similar__wrapp {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .product-tabs{
   margin-top: 40px;
  }

  .cart-header {
    display: none;
  }

  .checkout-summary {
    width: 50%;
  }

  .cart__wrapp {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cart_right {
    max-width: 100%;
    background-color: #edebe9;
    padding: 20px 25px;
    margin-top: 20px;
  }

  .checkout-wrapp {
    display: flex;
  }

  .checkout-option {
    width: 50%;
  }

  .checkout-option__right {
    margin-left: 45px;
  }

  .form-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
    margin-bottom: 30px;
  }

  .form-group_wide {
    grid-column: auto;
  }

  /* zakaz2 */
  .form-grid__zakaz {
    grid-template-columns: 100%;
    grid-template-rows: auto;
    grid-template-areas:
      "form-group__left"
      "form-group__right"
      "form-group__center";
    gap: 0;
  }

  .zakaz-page .form-group {
    margin-bottom: 20px;
  }

  .zakaz-page .checkout-option__right {
    margin-left: 0;
  }

  .zakaz-page .checkout-option {
    width: 100%;
    padding: 0;
  }

  .zakaz-page .checkout-wrapp {
    grid-template-columns: 100%;
    gap: 0;
  }

  .kabinet__wrapp {
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 90px;
  }

  .kabinet__sidebar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }

  .kabinet__sidebar-out {
    width: 100%;
    margin-top: 0;
  }

  .kabinet__sidebar-item {
    width: 100%;
  }

  .profile-form__row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }

  /* Имя и фамилия по 50% */
  .profile-form__row .form-group:nth-child(1),
  .profile-form__row .form-group:nth-child(2) {
    width: calc(50% - 8px);
    /* 8px это половина gap */
  }

  /* Отчество на 100% */
  .profile-form__row .form-group:nth-child(3) {
    width: 100%;
  }

  .order-section__title {
    margin-bottom: 40px;
  }

  .order-details {
    margin-top: 40px;
  }

  .kabinet__sidebar {
    border-bottom: 1px solid #d4d4d4;
    padding-bottom: 20px;
  }
  .contacts__wrapp {
    flex-direction: column;
    gap: 0;
  }

  .contacts__right {
    width: 100%;
    max-width: 100%;
    margin-top: 30px;
  }

  .contacts__map {
    position: relative;
    top: 0;
    height: 400px; /* фиксированная высота для мобильной версии */
  }
  .deliv-block{
    width: 100%;
    padding: 20px;
  }
  .payment-section  {
    height: 400px;
  } 
  .salon-page__wrapp {
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  .salon-page__left {
    max-width: 100%;
  }
  .kabinet__sidebar,
  .catalog__left, 
  .zakaz-checkout__right-wrapp,
  .cart_right{
    position: static;
  }
  .form-grid__zakaz{
    margin-bottom: 0;
  }
  .zakaz-checkout__wrapp {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .zakaz-checkout__right {
    background-color: #edebe9;
    padding: 20px 20px 56px 20px;
    max-width: 100%;
    margin: 0 auto;
  }
.zakaz-page .btn-black{
    width: 100%;
    max-width: 100%;
  }
  .zakaz-checkout__right-wrapp .checkout-summary{
    width: 100%;
  }
  .mob-none{
    display: none!important;
  }
  .polisity-link {
    margin-top: 42px;
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
  }
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .order-row div{
    padding: 10px 7px;
    /* font-size: 16px; */
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
  }
  .kabinet__wrapp{
    margin-top: 20px;
  }
  .kabinet__sidebar-item{
    margin-bottom: 0;
  }
  .kabinet__content--zakaz{
    margin-top: 30px;
  }
  .deliv-descr__wrapp{
    flex-wrap: wrap;
    margin-top: 50px;
    gap: 40px;
  }
  .deliv__txt-left,
  .deliv__right{
    width: 100%;
    padding-left: 0;
  }

}

@media (max-width: 900px) {
  .catalog-search-wrap .catalog__right .product-item,
  .catalog__right .product-item {
    /* width: calc(50% - 7px); */
  }

  .catalog-search-wrap .catalog__right .product-grid,
  .catalog__right .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 875px) {
  .grid-dropdown {
    grid-template-columns: 1fr;
  }

  .cart-empty-wrapper {
    background-size: 90% auto;
  }
}

@media (max-width: 768px) {
  #basket-root .page-title {
    display: none;
  }
  .cart__left {
    margin-top: 0;
  }

  .container {
    padding: 10px 10px;
  }

  /* .main-menu__wrapp {
    display: none;
  } */

  .main-menu__wrapp {
    position: absolute;
    display: block;
    padding: 0;
    border: none;
    right: 80px;
    top: 25px;
  }

  .main-menu__wrapp .logo,
  .main-menu__wrapp .main-menu,
  .main-menu__wrapp .search {
    display: none;
  }

  .mob-menu__wrapp {
    padding: 15px 0;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo a {
    font-size: 20px;
    color: #3E3E3E;
  }

  .mob-menu__btn {
    cursor: pointer;
  }

  .filter-item {
    width: 100%;
  }

  .grid-dropdown {
    grid-template-columns: 1fr;
  }

  .pagination__catalog {
    margin-top: 40px;
    margin-bottom: 0;
  }

  .pagination__catalog a {
    width: 40px;
    height: 40px;
  }

  .pagination__catalog li {
    margin: 0 4px;
  }

  .pagination__arr-right {
    margin-right: 7px;
  }

  .pagination__arr-left {
    margin-left: 7px;
  }

  .product-similar {
    margin-top: 40px;
  }

  .product-card__wrapp {
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "left-block__prod"
      "right-top"
      "right-bottom";
    gap: 0;
  }
  .prod-card__back{
    display: none;
  }
  .product-slider img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
  .product-card__descr{
    display: none;
  }
  .payment-section {
    height: 200px;
  }
  .product__price{
    margin-bottom: 0;
    border-bottom: 1px solid #d4d4d4;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .footer__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__section {
    margin-bottom: 20px;
  }

  .kabinet__sidebar {
    flex-wrap: wrap;
  }

  .kabinet__content--profil .profile-title {
    margin-bottom: 20px;
  }

  .kabinet__content--profil .btn-transparent {
    width: 100%;
    margin-top: 30px;
  }

/* моб версия  left deliv*/
.deliv__left-desk {
  display: none;
}
.deliv__left-mob {
  display: block;
} 
.delivery-info__mob {
  width: 100%;
  background: #edebe9;
  padding: 20px;
  border-radius: 4px;
}

.delivery-info__title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
}

.delivery-info__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.delivery-info__item {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 8px;
  color: #333;
}


.delivery-info__note {
  color: #E31E24;
  font-size: 14px;
  font-style: italic;
  margin-top: 15px;
  }
  .checkout-summary {
    width: 100%;
  }
  .checkout-wrapp{
    flex-wrap: wrap;
  }
  .checkout-option__right {
    margin-left: 0;
  }
  .checkout-option{
    width: 100%;
  }
  .checkout-summary{
    margin-bottom: 20px;
  }
  .checkout-total {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brends__header{
    flex-wrap: wrap;
    padding: 0;
  }
  .brends__header .search-container, 
  .search-container,
  .alphabet-nav {
    width: 100%;
  }
  .orders-table-header div {
    font-weight: 300;
    /* font-size: 20px; */
    font-size: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d4d4d4;
    text-align: center;
}
  .order-row div{
    padding: 10px 7px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .search-container__mob{
    margin-top: 0;
  }
  .catalog__left{
    margin-top: 10px;
  }
  .filters-container{
    width: 100%;
  }
  .kabinet__wrapp{
    margin-top: 0;
  }
  .details-section h3 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 30px;
    margin-top: 0;
  } 
}


@media (max-width: 600px) {
  .catalog-search-wrap .catalog__right .product-item,
  .catalog__right .product-item {
    /* width: 100%; */
  }

  .catalog-search-wrap .catalog__right .product-grid,
  .catalog__right .product-grid {
    grid-template-columns: 1fr;
  }

  .cont-main-slider {
    display: none;
  }

  .container__new-products {
    border-top: none;
    padding-top: 0;
  }

  .cart-info-wrapp .item-title {
    display: none;
  }

  .cart-info-wrapp {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
  }

  .cart-info-wrapp .item-quantity {
    grid-column: span 2;
  }

  .cart-info-wrapp .item-info {
    display: block;
    width: auto;
    padding-right: 0;
  }

  .cart-info-wrapp .item-price {
    margin: 0;
    padding: 0;
    width: auto;
  }

  .checkout h2 {
    margin: 0 0 20px 0;
  }
  .checkout-summary {
    margin-bottom: 0;
  }
  .catalog__header {
    padding: 5px 0 0 0;
  }
  .catalog__wrapp {
    gap: 10px 0;
  }
  .salon-card__contacts {
    margin-bottom: 0;
  }
  .item-image {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }

  .catalog__right .product-item {
    width: 100%;
    /* max-width: max-content; */

    margin-bottom: 20px;
  }

  .filters-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    width: 100%;
  }

  .filter-content__left,
  .filter-content__right {
    width: 100%;
  }

  .filter-tag {
    background-color: #f2f2f2;
    padding: 8px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    min-width: 175px;
    width: 47%;
  }

  .grid-dropdown {
    display: grid;
    grid-template-columns: auto;
    max-height: 200px;
    overflow-y: auto;
    background-color: #e1e1e1;
  }

  .filter-buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .filter-buttons button {
    width: 100%;
  }

  .product-card__info h1 {
    width: 100%;
  }

  .btn-black__buy {
    max-width: 100%;
  }

  .characteristics__row {
    display: grid;
    grid-template-columns: 150px 120px;
    gap: 10px 20px;
    align-items: baseline;
  }

  .characteristics__cell:nth-child(3) {
    margin-left: 0;
  }

  .product-tabs__pane {
    min-height: auto;
  }

  .product-tabs__list {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
  }

  .product-similar__wrapp {
    grid-template-columns: repeat(1, 1fr);
  }

  .item-details {
    flex-direction: column;
  }

  .page-title {
    font-size: 27px;
    padding-bottom: 27px;
    line-height: 29px;
  }

  .checkout-total {
    flex-direction: column;
    margin-bottom: 15px;
  }

  .kabinet__wrapp {
    margin-bottom: 30px;
  }
  .order-details{
    margin-top: 0;
  }
  .kabinet__content--zakaz .btn-transparent {
    margin-top: 20px;
  }

  /* Адаптированная версия таблицы */
  .orders-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .orders-table-header {
    display: none;
  }

  .order-row {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 8px 15px;
    border-radius: 5px;
  }

  .order-row div span {
    display: inline-block;
    padding-right: 5px;
    font-size: 22px;
  }

  .order-row div {
    padding: 5px 0;
    border: none;
    font-size: 22px;
    justify-content: left;
    text-align: left;
  }

  .order-row .details-button {
    align-self: center;
    margin-top: 10px;
  }

  .order-row div:last-child {
    border-right: none;
    display: flex;
    justify-content: flex-start;
  }

  .profile-form__row .form-group:nth-child(1),
  .profile-form__row .form-group:nth-child(2) {
    width: 100%;
  }

  .order-info {
    font-size: 22px;
  }

  .order-product__row {
    flex-direction: column;
  }

  .order-product__value {
    text-align: left;
    max-width: 100%;
  }

  .order-product__row {
    padding: 8px 0;
  }

  .order-actions {
    flex-wrap: wrap;
    gap: 20px;
  }

  .order-actions .btn-transparent {
    width: 100%;
  }

  .order-actions .btn-transparent:last-child {
    width: 100%
  }

  .order-product__label {
    font-weight: 400;
  }
  .payment-section{
    height: auto;
  }
  .payment-logo {
    height: auto;
    max-height: 58px;
    width: 50px;
    object-fit: contain;
  }
  .product-tabs__pane .deliv__wrapp{
    flex-wrap: wrap;
  }
  .kabinet__wrapp{
    gap: 40px;
  }
  .deliv-descr__wrapp{
    flex-wrap: wrap;
    margin-top: 38px;
    gap: 26px;
    padding-bottom: 50px;
  }

  .page-body .slider {
    gap: 10px;
    margin-bottom: 0;
    min-height: 0;
  }

  .slider .left-block {
    width: 100%;
  }

  .slider .left-block img {
    height: calc((100dvh - 90px) / 5);
    object-fit: contain;
  }

  .page-body .slider .right-block {
    width: 100%;
    display: none;
  }

  .page-body .slider .right-block a {
    width: 100%;
    display: block;
  }

  .page-body .slider .right-block--img img {
    width: auto;
    aspect-ratio: 1;
    height: calc((100dvh - 90px) / 5);
    display: block;
    margin: 0 auto;
  }

  .slider .slider__dots {
    margin-top: 0;
    display: none;
  }

  .container__new-products .product-item img {
    aspect-ratio: 1;
    width: auto;
    height: calc((100dvh - 90px) / 5);
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 500px) {
  .pagination__catalog li {
    margin: 0 3px;
  }
  .pagination__catalog a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .pagination__arr-right {
    margin-right: 0;
  }
  .pagination__arr-left {
    margin-left: 0;
  }

  .section-title {
    margin-bottom: 0;
    font-size: 38px;
  }

  .left-column .section-title {
    font-size: 24px;
  }

  .product-item {
    width: 100%;
    max-width: 594px;
    margin-bottom: 20px;
  }

  .right-column {
    /* grid-template-columns: 1fr; */
  }

  .pagination__catalog {
    margin-top: 20px;
  }

  .filter-buttons {
    margin-bottom: 25px;
    margin-top: 40px;
  }

  .cart__wrapp {
    display: block;
  }

  .empty-cart-message,
  .success-message {
    /* display: none; */
    max-width: 100%;
  }

  .empty-cart-message h2,
  .success-message h2 {
    margin-bottom: 7px;
  }

  .empty-cart-message button,
  .success-message button {
    max-width: 100%;
  }
  .polisity-link .custom-checkbox+label {
    margin-bottom: 7px;
    font-size: 12px;
  }
  .polisity-link .custom-checkbox+label::before{
    margin-right: 7px;
  }
  .checkout-option label{
    gap: 4px;
  }
  .brands-grid {
    grid-template-columns: 1fr;
  }
  
  .letter-heading {
    font-size: 20px;
  }
  .contacts__map{
    height: 340px;
    min-height: 340px;
    max-height: 340px;
  }
  .contacts__wrapp{
    gap: 0;
  }
  .contacts__right{
    margin-top: 20px;
  }
}


/* Адаптивная верстка футер */
@media (max-width: 480px) {
  .filter-tag {
    background-color: #f2f2f2;
    padding: 8px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    min-width: 155px;
    width: 47%;
  }

  .footer {
    padding: 0 0 0 0;
  }

  .footer__logo {
    font-size: 24px;
  }

  .footer__section h4 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
  }

  .footer__section {
    flex: 1;
    margin: 20px 0px;
    min-width: 200px;
  }

  .footer__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__section ul li {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 300;
  }

  .footer__section-logo .footer__logo {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .footer__section-logo {
    display: flex;
  }

  .footer__section-logo p {
    display: none;
  }

  .footer__section-logo .footer__ps {
    display: none;
  }

  .footer__bottom-left {
    order: 2;
    display: none;
  }

  .footer__bottom-logo-tab {
    padding-top: 25px;
    padding-bottom: 20px;
    margin-top: 0;
  }

  .footer__bottom-center .footer__ps {
    margin-top: 20px;
  }
}
@media (max-width: 390px){
  .product-tabs__list{
    gap: 10px;
  }
  .filter-tag{
    width: 100%;
  }
}