@media (max-width: 1320px) {
  .header_logo {
    width: 90px;
    height: 51px;
  }

  .popular__tablet {
    display: block;
  }

  .breadcrumbs {
    padding-top: 24px;
  }

  .overflow-hidden {
    overflow: hidden;
  }

  .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .header-nav {
    display: none;
    overflow: auto;
    max-height: calc(100svh - 66px);
  }

  .header-nav.opened {
    position: absolute;
    top: 66px;
    left: 0;
    animation: fadeEffect .3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* border: 1px solid var(--light-blue); */
    border-radius: 0;
    padding: 6px 60px;
    background-color: var(--white);
    width: 100%;
  }

  @keyframes fadeEffect {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }

  }

  .advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }


  .footer__mir {
    display: block;
    height: 19px;
    width: auto;
  }

  .popular__viewport {
    width: 97%;
    padding-left: 5px;
    margin-left: 0;
  }

  .popular__track .swiper-slide {
    margin-right: 8px;
    width: calc(33% - 4px);
  }

  .popular__shell {
    left: 8px;
  }

  .footer__top {
    gap: 24px;
  }

  .database__img {
    max-width: 212px;
  }

  .product-card {
    min-height: 393px;
    height: auto;
  }

  .product-card__img {
    object-fit: contain;
  }

  .product-card__name {
    min-height: 40px;
  }

  .product-card__actions {
    width: 100%;
  }

  .product-card__media {
    width: auto;
    max-width: 100%;
    height: 180px;
  }

  .peptage__img {
    width: 324px;
    height: 408px;
    flex: 0 0 auto;
  }

  .peptage__text {
    height: auto;
    width: auto;
  }

  .xl-hidden {
    display: none;
  }

  .xl-block {
    display: block;
  }

  .footer__title-logo {
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
  }

  .footer__list .main,
  .footer__text a {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
  }

  .footer__title {
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
  }

  .footer__col-logo {
    min-width: auto;
  }

  .header_log {
    width: 100px;
    height: 51px;
  }

  .header-tools__icon i {
    font-size: 39px;
  }

  .lang-switch.desctop {
    display: none;
  }

  .lang-switch.mobile {
    display: block;
  }

  .lang-switch {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .services-menu {
    left: 0;
  }

  .header-nav {
    gap: 0;
  }

  .header-nav__link {
    width: 100%;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header-nav>.header-nav__link {
    border-top: 1px solid var(--transparent-blue);
  }

  .header-nav>.header-nav__link:first-child {
    border-top: 0;
  }

  .header-nav>.header-nav__link:last-of-type {
    border-bottom: 1px solid var(--transparent-blue);
  }

  .header-nav__toggle {
    width: 40px;
    height: 40px;
  }

  .header-nav__toggle i {
    font-size: 40px;
  }

  .head {
    padding-top: 50px;
    padding-bottom: 40px;
    height: auto;
  }

  .head__meta-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
  }

  .h1 {
    font-weight: 500;
    font-size: 32px;
    line-height: 140%;
  }

  .h2 {
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
  }

  .head__card {
    max-width: 436px;
  }

  .advantages {
    padding-top: 40px;
    padding-bottom: 80px;
    background-image: url("../images/index/780-advantages.webp");
  }

  .adv-card {
    width: 100%;
    height: auto;
  }

  .adv-card__text {
    gap: 0;
  }

  .product-card__badge {
    left: -6px;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    padding: 2px 6px;
    width: auto;
    height: auto;
  }

  .popular__arrow--left,
  .popular__arrow--right {
    width: 40px;
    height: 40px;
    right: -27px;
  }

  .popular__arrow--right {
    right: -7px;
  }

  .popular__arrow--left {
    left: -24px;
  }

  .popular__arrow--left i,
  .popular__arrow--right i {
    font-size: 40px;
    line-height: 40px;
  }

  .database {
    padding-top: 80px;
    background-image: url('../images/index/780-database.webp');
    background-size: cover;
    background-position: right;
  }

  .database__img {
    width: 100%;
    max-height: 100%;
  }

  .database__inner {
    gap: 12px;
  }

  .peptage {
    padding-top: 20px;
    padding-bottom: 40px;
    background-image: url('../images/index/780-peptage.webp');
  }

  .peptage__content {
    gap: 12px;
  }

  .peptage__lead {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
  }

  .h3 {
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
  }

  .database__title {
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
  }

  .adv-card__head {
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
  }

  .mt-32 {
    margin-top: 32px;
  }

  .footer {
    padding-top: 25px;
  }

  .footer__link {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
  }

  .footer__title {
    margin-bottom: 8px;
  }

  .footer__list {
    gap: 4px;
  }

  .footer__mir {
    height: 13px;
  }

  .footer__policy,
  .footer__copy {
    color: #3daecc;
    text-decoration: none;
  }

  .catalog__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .head {
    background-image: url('../images/index/2.webp');
    background-size: 1200px;
    background-position: -110px;
  }

  .mainbg.--notes {
    display: none;
  }
}

@media (max-width: 770px) {
  .footer__top {
    display: flex;
    gap: 10px;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .head {
    background-image: url('../images/index/3.webp');
    background-size: cover;
    background-position: center;
  }

  .header_log {
    width: 75px;
    height: 39px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .head {
    padding-top: 85px;
    padding-bottom: 30px;
  }

  .head__card {
    max-width: 100%;
    height: auto;
    padding: 12px;
  }

  .advantages {
    padding-top: 24px;
    padding-bottom: 24px;
    background-image: url('../images/index/380-advantages.webp');
  }

  .advantages__title {
    margin-bottom: 15px;
  }

  .advantages__grid {
    display: flex;
    flex-direction: column;
  }

  .popular__inner {
    margin: 0;
    max-width: 100%;
  }

  .database__img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.2;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .peptage {
    position: relative;
    margin-top: 24px;
    padding-bottom: 24px;
  }

  .peptage.with-bg {
    /* background-image: url('../images/index/380-peptage.webp'); */
  }

  .peptage::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    /* background: linear-gradient(to top,
        rgba(255, 250, 255, 1) 0%,
        rgba(255, 250, 255, 1) 20%,
        rgba(255, 250, 255, 0.7) 30%,
        transparent 100%); */
    z-index: 1;
    pointer-events: none;
  }

  .peptage__img {
    width: 100%;
    height: auto;
    float: none;
  }

  .peptage__img.bg-img {
    display: none;
  }

  .peptage__innercontent {
    position: relative;
    z-index: 1;

    /* background: rgba(255, 255, 255, 0.8); */
    border-radius: var(--radius);
    padding: 0px;
  }

  .footer__title {
    margin-bottom: 0;
  }

  .footer__col--contacts {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .footer__list {
    gap: 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col-logo {
    grid-row: 2 span;
    max-width: 100%;
    min-width: auto;
  }

  .footer__bottom {
    display: flex;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .popular {
    padding-top: 24px;
  }

  .popular__arrow {
    display: none;
  }

  .popular__track .swiper-slide {
    margin-right: 8px;
    width: calc(50% - 4px);
  }

  .popular__viewport {
    width: 102%;
  }

  .popular__shell {
    left: -2%;
  }

  .product-card {
    padding: 12px;
    min-height: 345px;
  }

  .product-card__badge {
    padding: 1px 4px;
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
  }

  .product-card__media {
    height: 140px;
  }

  .product-card__btn {
    padding: 8px 10px;
    gap: 5px;
    width: 100%;
  }

  .h1 {
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
  }

  .database {
    padding-top: 50px;
    padding-bottom: 24px;
    position: relative;
    display: none;
  }

  .database::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom,
        rgba(255, 250, 255, 1) 0%,
        rgba(255, 250, 255, 1) 20%,
        rgba(255, 250, 255, 0.7) 30%,
        transparent 100%);
    z-index: 1;
    pointer-events: none;
  }

  .database::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top,
        rgba(255, 250, 255, 1) 0%,
        rgba(255, 250, 255, 1) 20%,
        rgba(255, 250, 255, 0.7) 30%,
        transparent 100%);
    z-index: 1;
    pointer-events: none;
  }

  .database .database__content {
    position: relative;
    z-index: 2;
  }

  .database__btn {
    margin-top: 16px;
  }

  .database__content {
    height: auto;
    width: 100%;
  }

  .database__title {
    margin-bottom: 16px;
  }

  .footer__pay {
    grid-column: 2 span;
    width: 100%;
  }

  .footer__copy,
  .footer__policy {
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
  }

  .footer__mir {
    height: 13px;
  }

  .footer__socials {
    width: 20px;
    height: 20px;
  }

  .footer__socials svg {
    width: 20px;
    height: 20px;
  }

  .header-nav.opened {
    padding: 16px;
    top: 54px;
  }

  .header-nav {
    height: 100vh;
  }

  .services-menu {
    max-width: 348px;
    padding-right: 0;
  }

  .services-item__subtitle,
  .services-item__desc {
    font-weight: 400;
    font-size: 10px;
    line-height: 140%;
    color: rgba(0, 63, 116, 0.6);
  }

  .services-item__title {
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    color: var(--blue);
  }

  .services-item__icon {
    width: 17px;
    height: 17px;
    font-size: 17px;
  }

  .popular__tablet {
    display: none;
  }

  .popular__desc {
    display: block;
  }

  .header_logo {
    width: 69px;
    height: 39px;
  }

  .footer__text {
    grid-row: 1 / 4;
    grid-column: 2 / 3;
  }

  .footer__contacts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog__track {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 0;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .element-animation-left {
    opacity: 0;
    -webkit-transform: translateX(-40%);
    transform: translateX(-40%);
    transition-duration: 1s;
  }

  .element-animation-right {
    opacity: 0;
    -webkit-transform: translateX(40%);
    transform: translateX(40%);
    transition-duration: 1s;
  }

  .element-animation-left.element-show,
  .element-animation-right.element-show {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition-duration: 1s;
  }

  .element-animation {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
    transition-duration: 1s;
  }

  .element-animation.element-show {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    transition-duration: 1s;
  }

  .element-animation-opacity {
    opacity: 0;
    transition: all 2s;
  }

  .element-animation-opacity.element-show {
    opacity: 1;
    transition: all 2s;
  }
}

@media (hover: hover) and (pointer: fine) {

  .popular__arrow:hover,
  [data-icon="keyboard_arrow_down"]:hover {
    opacity: 0.5;
  }
}

@media (max-width: 500px) {
  .mcatalog-flex {
    flex-direction: column;
  }

  .mcatalog-plusminus {
    justify-content: space-between;
  }

  .product-card {
    padding: 0;
    min-height: auto;
    width: calc(50% - 5px);
  }

  .product-card__media {
    width: 100%;
    height: 180px;
  }

  .product-card__badges {
    top: 8px;
    left: 8px;
    right: 8px;
    gap: 6px;
  }

  .product-badge {
    min-height: 24px;
    padding: 5px 8px;
    font-size: 11px;
    border-radius: 999px;
  }

  .product-card__img {
    object-fit: cover;
  }

  .product-card__name {
    min-height: 40px;
  }

  .product-card__actions {
    margin-top: 0;
  }

  .product-card__btn {
    padding: 8px 10px;
  }

  /* Адаптируем шапку */
  .header {
    padding: 10px 0;
  }

  .header .container,
  .header_inner {
    flex-wrap: wrap;
    gap: 5px;
  }

  .header_logo {
    order: 1;
    width: 70px;
    height: auto;
  }

  .header-tools {
    order: 2;
  }

  .header_search {
    order: 3;
  }

  .mobile-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .nav_children_sections {
    flex-wrap: nowrap;
    overflow: hidden;
    overflow-x: hidden;
    overflow-x: auto;
    overscroll-behavior: auto;
    scrollbar-width: thin;
    padding-bottom: 10px;
  }

  .nav_children_sections .item .title {
    width: max-content;
  }

  .filter {
    flex-wrap: wrap;
  }

  .catalog-sort__select {
    max-width: 100%;
    width: 180px;
  }

  .peptage__title {
    height: auto;
  }
}