/* ============================================
   Responsive layer: 1600 / 1280 / 1024 / 768 / 430 / 360
   ============================================ */

.header__mobile-actions,
.mobile-menu {
  display: none;
}

@media (min-width: 1601px) {
  .container {
    max-width: 1280px;
  }
}

@media (max-width: 1600px) {
  .container {
    max-width: 1280px;
  }
}

@media (max-width: 1280px) {
  :root {
    --container-padding: 0 24px;
    --spacing-section: 72px;
  }

  .header__menu,
  .header__actions {
    gap: 28px;
  }

  .header__phones {
    font-size: var(--font-size-xl);
    line-height: 25px;
  }

  .catalog-elements__grid,
  .catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog .catalog__grid--sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog .catalog__grid--sections .catalog__card,
  .catalog__grid > .catalog__card {
    position: relative;
    z-index: 1;
  }

  .catalog .catalog__grid--sections .catalog__card:nth-child(-n+2),
  .catalog__grid > .catalog__card:nth-child(-n+2) {
    z-index: 2;
  }

  .about__inner::before,
  .about__inner::after,
  .about__decor,
  .about__images,
  .about__accent-strip {
    display: none;
  }

  .detail-hero__inner {
    min-height: 520px;
  }

  .detail-hero__images {
    min-height: 520px;
  }

  .detail-hero__content {
    padding: 60px 0;
  }

  .cta-form-wrapper__accent-strip {
    width: 45%;
  }

  .about__inner {
    min-height: 0;
  }

  .about__content {
    width: 100%;
    padding: 60px 0;
  }

  .about__content-inner {
    max-width: var(--container-max-width, 1280px);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
  }

  .advantages__grid {
    gap: 24px;
  }

  .advantages__item {
    gap: var(--spacing-lg);
  }

  .advantages__item-content {
    max-width: 200px;
    gap: 8px;
  }

  .advantages__item-title {
    font-size: var(--font-size-xl);
  }

  .advantages__item-text {
    font-size: var(--font-size-base);
  }

  .contact-form__bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 1328px) {
  .detail-hero__content-inner {
    padding-left: 24px;
  }
}

@media (max-width: 1280px) {
  .detail-related__slider-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
  }

  .detail-related__grid {
    display: flex !important;
    gap: 16px !important;
    padding-bottom: 0 !important;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    touch-action: pan-y;
  }

  .detail-related__grid .product-card {
    flex: 0 0 calc((100% - 32px) / 3);
    width: calc((100% - 32px) / 3);
    min-width: 0;
  }

  .detail-related__slider-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 131px;
    left: 0;
    right: 0;
    padding: 0 10px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
  }

  .detail-related__nav-btn {
    pointer-events: auto;
  }
  .advantages {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero {
    min-height: 700px;
    padding-top: 120px;
  }
}
@media (max-width: 1080px) {
  .advantages__item-content {
        max-width: 190px;
      }
}
@media (max-width: 1024px) {
  :root {
    --container-padding: 0 20px;
    --spacing-section: 60px;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 299;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-default), visibility var(--transition-default);
    pointer-events: none;
  }

  body.mobile-menu-open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header {
    padding: 8px 0 0;
    background-color: rgba(26, 29, 36, 0.98);
  }

  .header--home {
    background-color: rgba(26, 29, 36, 0.42);
    box-shadow: none;
  }

  .header--home.header--scrolled {
    background-color: rgba(26, 29, 36, 0.98);
  }

  .header__inner {
    height: 52px;
  }

  .header__logo {
    gap: 10px;
  }

  .header__logo-img {
    width: 33px;
    height: 40px;
  }

  .header__logo-title,
  .header__logo-text .logo-text__title {
    font-size: 14px;
  }

  .header__logo-subtitle,
  .header__logo-text .logo-text__subtitle {
    font-size: 12px;
    line-height: 16px;
  }

  .header__nav,
  .header__actions {
    display: none;
  }

  .header__mobile-actions {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .header__mobile-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
  }

  .header__burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
  }

  .header__divider {
    margin-top: 0;
  }

  .mobile-menu {
    position: fixed;
    top: var(--admin-panel-height, 0px);
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 300;
    display: flex;
    flex-direction: column;
    width: min(360px, 100vw);
    min-height: calc(100vh - var(--admin-panel-height, 0px));
    padding: 31px 29px 34px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    transform: translateX(100%);
    transition: transform var(--transition-default);
    visibility: hidden;
  }

  .mobile-menu--open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-menu__close {
    position: absolute;
    top: 16px;
    right: 17px;
    width: 24px;
    height: 24px;
  }

  .mobile-menu__close::before,
  .mobile-menu__close::after {
    content: "";
    position: absolute;
    top: 11px;
    left: 3px;
    width: 18px;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
  }

  .mobile-menu__close::before {
    transform: rotate(45deg);
  }

  .mobile-menu__close::after {
    transform: rotate(-45deg);
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .mobile-menu__group {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .mobile-menu__title {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semi-bold);
    line-height: 20px;
    color: var(--color-text-light);
    text-decoration: none;
    display: block;
  }

  .mobile-menu__title--active {
    color: var(--color-primary);
  }

  .mobile-menu__sublist {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-menu__sublist a {
    position: relative;
    display: block;
    padding-left: 16px;
    font-size: var(--font-size-base);
    line-height: 24px;
    color: #d9d9d9;
  }

  .mobile-menu__sublist a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #d9d9d9;
  }

  .mobile-menu__bottom {
    display: flex;
    flex-direction: column;
    gap: 57px;
    margin-top: auto;
  }

  .mobile-menu__btn {
    width: 100%;
  }

  .mobile-menu__contacts {
    display: flex;
    flex-direction: column;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semi-bold);
    line-height: 20px;
  }

  .hero__bg {
    top: -22px;
    left: -160px;
    width: calc(100% + 320px);
    height: calc(100% + 22px);
  }

  .hero__decor {
    display: none;
  }

  .hero__content {
    max-width: 640px;
  }

  .hero__label {
    font-size: 16px;
    line-height: 32px;
    margin-bottom: 0;
  }

  .hero__title {
    max-width: 620px;
    font-size: 40px;
    margin-bottom: 27px;
  }

  .hero__buttons {
    flex-direction: row;
    align-items: center;
    gap: 13px;
    max-width: none;
  }

  .hero__buttons .btn {
    width: auto;
    font-size: 14px;
  }

  

  .advantages__title {
    font-size: 24px;
    line-height: 34px;
    margin-bottom: 24px;
  }

  .advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: var(--spacing-4xl);
  }

  .advantages__item {
    flex: none;
    gap: 24px;
  }

  .advantages__item-title {
    font-size: 18px;
  }

  .advantages__item-text {
    font-size: 14px;
    line-height: 22px;
  }

  .advantages__icon {
    width: 50px;
    height: 50px;
  }

  .advantages__item-content {
    max-width: 340px;
  }

  .section__title,
  .contacts__title,
  .contact-form__title,
  .detail-related__title,
  .about-page__heading,
  .about-page-production__title {
    font-size: 22px;
    line-height: 31px;
  }

  .section__subtitle,
  .contacts__company-info,
  .contact-form__subtitle,
  .breadcrumbs-bar,
  .about__text,
  .cta__list-item,
  .about-page__intro,
  .about-page-production__advantage-desc {
    font-size: 14px;
    line-height: 20px;
  }

  .catalog {
    padding: 17px 0 40px;
  }

  .catalog__slider {
    overflow-x: clip;
    overflow-y: visible;
    margin-bottom: 37px;
  }

  .catalog__grid {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    touch-action: pan-y;
    transition: transform var(--transition-default);
    will-change: transform;
  }

  .catalog .catalog__grid--sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    touch-action: auto;
    transform: none !important;
    will-change: auto;
  }

  .catalog__slider-nav {
    position: absolute;
    left: 17px;
    bottom: 19px;
    z-index: 4;
    display: flex;
    gap: 13px;
  }

  .catalog__card {
    flex: 0 0 100%;
    width: 100%;
    min-height: 198px;
    padding: 16px 16px 24px;
    overflow: visible;
  }

  .catalog .catalog__grid--sections .catalog__card {
    flex: none;
  }

  .catalog__card-more {
    align-self: flex-start;
    margin-top: 12px;
    padding-top: 0;
    padding-bottom: 48px;
  }

  .catalog__card-more .btn {
    width: auto;
    padding: 8px 14px;
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
  }

  .catalog__card--yellow .catalog__list-bullet {
    background-color: var(--color-secondary);
  }

  .catalog__card-title {
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 16px;
  }

  .catalog__list-item {
    font-size: 14px;
    line-height: 24px;
  }

  .catalog__card-image {
    right: 0px;
    bottom: -30px;
    width: 190px;
    height: 190px;
  }

  .about__inner {
    display: block;
    min-height: 0;
  }

  .about__inner::before,
  .about__inner::after,
  .about__decor,
  .about__images,
  .about__accent-strip,
  .detail-hero__inner::before,
  .detail-hero__inner::after,
  .detail-hero__decor,
  .detail-hero__accent-strip {
    display: none;
  }

  .about__content,
  .detail-hero__content {
    width: 100%;
    padding: 34px 0;
    background-color: var(--color-bg-light);
  }

  .about__content-inner,
  .detail-hero__content-inner {
    max-width: none;
    padding: 0 20px;
    gap: 19px;
  }

  .about__title,
  .cta__title {
    font-size: 20px;
    line-height: 27px;
  }

  .steps {
    padding: 34px 0;
  }

  .steps__row {
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
  }

  .steps__box {
    min-height: 105px;
    padding: 23px;
  }

  .steps__title {
    font-size: 18px;
  }

  .steps__text {
    font-size: 14px;
    line-height: 20px;
  }

  .steps__connector {
    width: 31px;
    height: 31px;
    margin: -13px auto;
    transform: rotate(90deg);
  }

  .steps__connector img {
    width: 31px;
    height: 31px;
  }

  .cta {
    min-height: 502px;
    padding: 34px 0 36px;
  }

  .cta__content {
    gap: 37px;
  }

  .cta__info-title {
    font-size: 18px;
    line-height: 24px;
  }

  .contact-form {
    z-index: 2;
    min-height: 559px;
    padding: 29px 0 30px;
  }

  .contact-form__header {
    margin-bottom: 24px;
  }

  .contact-form__title {
    max-width: 324px;
    margin-bottom: 21px;
    font-size: 20px;
    line-height: 27px;
  }

  .contact-form__subtitle {
    max-width: 324px;
    font-size: 14px;
    line-height: 20px;
  }

  .contact-form__fields {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }

  .contact-form__field {
    height: 50px;
    padding: 0 14px;
  }

  .contact-form__field-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
  }

  .contact-form__field-divider {
    height: 33px;
    margin-right: 14px;
  }

  .contact-form__input {
    font-size: 16px;
    line-height: 24px;
  }

  .contact-form__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 31px;
  }

  .contact-form__attach {
    min-width: 0;
    gap: 26px;
    font-size: 14px;
    line-height: 24px;
  }

  .contact-form__privacy {
    align-items: center;
    gap: 19px;
  }

  .contact-form__privacy-text {
    max-width: 281px;
    font-size: 13px;
    line-height: 17px;
  }

  .contact-form__submit {
    width: 100%;
    height: 50px;
    font-size: 15px;
  }

  .contacts {
    padding-top: 35px;
  }

  .contacts__requisites-btn {
    margin-bottom: 26px;
  }

  .contacts__grid {
    flex-direction: column-reverse;
    gap: 14px;
  }

  .contacts__info {
    width: 100%;
  }

  .contacts__info-card {
    min-height: auto;
    padding: 20px;
    gap: 28px;
  }

  .contacts__info-label {
    font-size: 18px;
  }

  .contacts__info-value {
    font-size: 14px;
    line-height: 20px;
  }

  .contacts__map {
    height: 216px;
    min-height: 216px;
  }

  .contacts__accent-strip {
    width: 100%;
    margin-top: 18px;
  }

  .cta-form-wrapper__accent-strip {
    width: 100%;
    margin-top: 0;
  }

  .footer {
    padding: 26px 0 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
  }

  .footer__brand {
    max-width: 320px;
  }

  .footer__nav,
  .footer__contacts {
    margin-top: 0;
  }

  .footer__nav-title,
  .footer__contacts-title {
    font-size: 18px;
    line-height: 27px;
  }

  .page-header {
    padding-top: 92px;
    padding-bottom: 32px;
  }

  .page-header__title {
    font-size: 23px;
  }

  .page-header__subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .breadcrumbs-bar {
    padding: 16px 0;
  }

  .catalog-elements {
    padding: 20px 0 44px;
  }

  .catalog-elements__tabs-slider {
    margin-bottom: 28px;
  }

  .catalog-elements__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .catalog-elements__tab {
    font-size: 14px;
    flex-shrink: 0;
  }

  .product-card {
    border-radius: 10px;
  }

  .product-card__image-wrap {
    height: 262px;
  }

  .product-card__body {
    padding: 32px 19px 24px;
  }

  .product-card__title {
    font-size: 18px;
  }

  .product-card__spec-row {
    font-size: 14px;
    line-height: 22px;
  }

  .product-card__actions {
    justify-content: space-between;
  }

  .detail-header-spacer {
    height: 60px;
  }

  .detail-hero__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .detail-hero__content,
  .detail-hero__content-inner {
    display: contents;
  }

  .detail-hero__text-block {
    order: 1;
    gap: 18px;
    padding: 34px 16px 20px;
    background-color: var(--color-bg);
  }

  .detail-hero__images {
    order: 2;
    width: 100%;
    height: 314px;
    min-height: 314px;
    overflow: hidden;
  }

  .detail-hero__slider {
    inset: 0;
  }

  .detail-hero__image-bg-wrap {
    left: -38%;
    width: 153%;
    height: 116%;
  }

  .detail-hero__image-bg {
    left: 0;
    width: 100%;
    height: 100%;
  }

  .detail-hero__image-dark-bg {
    display: none;
  }

  .detail-hero__slider-nav {
    left: 11px;
    right: auto;
    top: 50%;
    bottom: auto;
    width: calc(100% - 22px);
    justify-content: space-between;
    transform: translateY(-50%);
  }

  .detail-hero__title {
    font-size: 22px;
    line-height: normal;
  }

  .detail-hero__model {
    font-size: 18px;
    line-height: 40px;
    text-transform: uppercase;
  }

  .detail-hero__description {
    order: 3;
    padding: 23px 16px 0;
    font-size: 14px;
    line-height: 20px;
  }

  .detail-hero__actions {
    order: 4;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 33px 16px 34px;
  }

  .detail-hero__actions .btn,
  .detail-hero__actions .btn--secondary-dark {
    width: auto;
  }

  .detail-specs {
    padding: 0;
    background-color: transparent;
  }

  .detail-specs__box {
    overflow: visible;
    border-radius: 0;
    background-color: transparent;
  }

  .detail-specs__accordion {
    background-color: var(--color-bg-light);
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .detail-specs__tabs,
  .detail-specs__panels {
    display: none;
  }

  .detail-specs__accordion {
    display: block;
  }

  .detail-specs__accordion-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 8px 3px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border-hover);
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    line-height: 40px;
    color: var(--color-secondary);
    text-align: left;
    cursor: pointer;
  }

  .detail-specs__accordion-icon {
    display: block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    background: center / 20px 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 15.8335V4.16683' stroke='black' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.16675 10L10.0001 4.16667L15.8334 10' stroke='black' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    transform: rotate(180deg);
    transition: transform var(--transition-default);
  }

  .detail-specs__accordion-btn[aria-expanded="true"] .detail-specs__accordion-icon {
    transform: rotate(0deg);
  }

  .detail-specs__accordion-content {
      margin: 0 -20px;
      padding: 16px 18px 20px;
      background-color: var(--color-white);
  }

  .detail-specs__accordion-content--hidden {
    display: none;
  }

  .detail-specs__accordion-content .detail-specs__grid,
  .detail-specs__accordion-content .detail-specs__description {
    padding: 0;
    border-radius: 0;
  }

  .detail-specs__accordion-content .detail-specs__description {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-body);
  }

  .detail-specs__accordion-content .detail-specs__description p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 20px;
  }

  .detail-specs__accordion-content .detail-specs__description p:last-child {
    margin-bottom: 0;
  }

  .detail-specs__accordion-content .detail-specs__description strong,
  .detail-specs__accordion-content .detail-specs__description b {
    font-size: inherit;
    line-height: inherit;
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
  }

  .detail-specs__accordion-content .detail-specs__description,
  .detail-specs__accordion-content .detail-specs__description * {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .detail-specs__accordion-content .detail-specs__description + .detail-specs__table-wrap {
    margin-top: 20px;
  }

  .detail-specs__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .detail-specs__item {
    gap: 4px;
    min-height: 70px;
    justify-content: center;
    padding: 12px 0;
  }

  .detail-specs__label {
    font-size: 14px;
    line-height: 20px;
  }

  .detail-specs__value {
    font-size: 14px;
    line-height: 20px;
  }

  .detail-specs__table-wrap {
    overflow: hidden;
  }

  .detail-specs__table-wrap table {
    min-width: 0;
  }

  .detail-specs__table-wrap table:not(.detail-specs__table--has-mobile) {
    display: block;
    overflow-x: auto;
  }

  .detail-specs__table-wrap table.detail-specs__table--has-mobile {
    display: none;
  }

  .detail-specs__mobile-table {
    display: block !important;
    background-color: var(--color-white);
    width: 100%;
  }

  .detail-specs__table-wrap > .detail-specs__mobile-table:only-child {
    display: block !important;
  }

  .detail-specs__mobile-table-row {
    display: grid;
    grid-template-columns: minmax(148px, 44.3%) minmax(0, 1fr);
    border-bottom: 1px solid var(--color-border-hover);
  }

  .detail-specs__mobile-table-row:last-child {
    border-bottom: none;
  }

  .detail-specs__mobile-table-label {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 28px 11px;
    background-color: var(--color-bg-light);
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    line-height: 20px;
    color: var(--color-text-body);
  }

  .detail-specs__mobile-table-values {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    padding: 28px 14px;
    font-size: 14px;
    line-height: normal;
    color: var(--color-secondary);
    text-align: center;
  }

  .detail-specs__mobile-table-values span {
    display: block;
  }

  .detail-related {
    padding-top: 40px;
    padding-bottom: 44px;
  }

  .detail-related__grid .product-card {
    flex: 0 0 calc(50% - 8px);
    width: calc(50% - 8px);
  }

  .about-page__intro {
    display: block;
    margin-bottom: 27px;
  }

  .about-page__intro-col + .about-page__intro-col {
    margin-top: 25px;
  }

  .about-page__photo-img {
    height: 149px;
  }

  .about-page-products {
    padding: 34px 0;
  }

  .about-page-products__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-page-products__card {
    min-height: 117px;
    padding: 30px;
    font-size: 16px;
  }

  .about-page-production.section {
    padding: 23px 0 38px;
  }

  .about-page-production__title {
    margin-bottom: 40px;
  }

  .about-page-production__advantages {
    flex-direction: column;
    gap: 40px;
  }

  .about-page-production__advantage {
    gap: 14px;
  }

  .about-page-mission__card {
    padding: 30px;
  }

  .about-page-mission__text {
    font-size: 14px;
    line-height: 20px;
  }

  .error-404 {
    padding: 24px 0 30px;
  }

  .error-404__illustration-wrap {
    max-width: 304px;
  }

  .error-404__text {
    align-self: flex-start;
    max-width: 229px;
    margin-top: -64px;
    text-align: left;
    font-size: 24px;
    line-height: 30px;
  }

  .error-404__btn {
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 0 16px;
  }

  .mobile-menu {
    width: 100vw;
    max-width: 100vw;
  }

  .detail-specs__accordion {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .detail-specs__accordion-content {
    margin-left: -16px;
    margin-right: -16px;
  }

  .hero {
    min-height: 620px;
    padding-top: 96px;
  }

  .error-404 {
    padding: 24px 0 54px;
  }

  .error-404__body {
    align-items: flex-start;
    text-align: left;
  }

  .error-404__illustration-wrap {
    position: relative;
    align-self: center;
    width: min(304px, 100%);
    height: 225px;
    overflow: hidden;
  }

  .error-404__illustration {
    position: absolute;
    left: -28.23%;
    top: -32.92%;
    width: 163.93%;
    max-width: none;
    height: 155.9%;
  }

  .error-404__text {
    position: relative;
    z-index: 1;
    margin-top: 18px;
  }

  .error-404__btn {
    margin-top: 26px;
  }
 .contacts.contacts-page {
  padding-top: 0px;
 }
  .hero__bg {
    left: -220px;
    width: calc(100% + 360px);
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__label {
    font-size: 15px;
  }

  .hero__title {
    max-width: 100%;
    font-size: 30px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 420px;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .advantages {
    padding-top: 54px;
  }

  .advantages__title {
    font-size: 23px;
    margin-bottom: 20px;
  }

  .advantages__slider {
    overflow: hidden;
    width: 100%;
  }

  .advantages__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: flex-start;
    touch-action: pan-y;
    transition: transform var(--transition-default);
    will-change: transform;
  }

  .advantages__item {
    flex: 0 0 50%;
    width: 50%;
    max-width: none;
    padding-right: 16px;
  }

  .advantages__item-content {
    max-width: 240px;
  }

  .advantages__pagination {
    display: flex;
    justify-content: center;
    gap: 17px;
    margin-top: 28px;
  }

  .catalog__button-wrap .btn,
  .contacts__requisites-btn .btn,
  .about__content-inner .btn {
    width: 100%;
  }
  .catalog__card-image {
    bottom: -40px;
  }
  .cta {
    min-height: 400px;
  }
  .about-page-products__card{
    min-height: 90px;
    padding: 25px;
  }
}

@media (max-width: 700px) {
  .detail-related__grid {
    gap: 0 !important;
  }
  .catalog__card-image {
    bottom: -30px;
  }

  .detail-related__grid .product-card {
    flex: 0 0 100%;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .catalog-elements__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 0;
  }
}
@media (max-width: 500px) {
  .advantages__item {
    flex: 0 0 100%;
    width: 100%;
    padding-right: 0;
  }

  .advantages__item-content {
    max-width: 190px;
  }
}

@media (max-width: 430px) {
  .about__accent-strip,
  .detail-hero__accent-strip,
  .contacts__accent-strip,
  .cta-form-wrapper__accent-strip {
    clip-path: none;
  }

  h1 {
    font-size: 22px;
  }

  .hero {
    min-height: 511px;
    padding-top: 63px;
  }

  .hero__bg {
    top: -22px;
    left: -194px;
    width: 961px;
    height: 533px;
  }

  .hero__content {
    max-width: 360px;
  }

  .hero__label {
    font-size: 14px;
    line-height: 40px;
  }

  .hero__title {
    max-width: 334px;
    font-size: 22px;
  }

  .hero__buttons {
    gap: 13px;
    max-width: 324px;
  }

  .hero__buttons .btn {
    font-size: 13px;
  }
  .detail-related__btn-wrap {
    margin-top: 0;
  }
  .catalog .catalog__grid--sections{
    gap: 60px;
  }
  .catalog.catalog--sections {
    padding-bottom: 60px;
  }
  .cta__info-title{
    max-width: 240px;
  }
  .advantages {
    padding-top: 21px;
    padding-bottom: 30px;
  }
  .detail-related {
    padding-bottom: 25px;
  }
  .advantages__title {
    font-size: 22px;
    line-height: 40px;
    margin-bottom: 15px;
  }

  .advantages__item {
    gap: 28px;
  }

  .advantages__icon {
    width: 46px;
    height: 46px;
  }

  .advantages__item-content {
    max-width: 266px;
  }


  .catalog__card-image {
    right: 0px;
    bottom: -30px;
    width: 223px;
    height: 192px;
  }

  .btn {
    width: 100%;
  }

  .detail-hero__actions .btn,
  .detail-hero__actions .btn--secondary-dark {
    width: auto;
  }

  .product-card__actions .btn {
    width: auto;
    padding: 10px 16px;
    font-size: var(--font-size-base);
  }

  .footer__logo-img {
    width: 47px;
    height: 58px;
  }

  .footer__contacts-list {
    gap: 12px;
  }
}
@media (max-width: 414px) {
  .hero__buttons {
    max-width: 100%;
  }
  .hero__content {
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  :root {
    --container-padding: 0 16px;
  }

  .header__mobile-actions {
    gap: 18px;
  }

  .mobile-menu {
    padding-left: 29px;
    padding-right: 17px;
  }

  .scroll-top {
    width: 44px;
    height: 44px;
    right: 14px;
    bottom: 14px;
  }
}
