@import "./assets-local.css";

:root {
  --content-font: "Open Sans", Arial, sans-serif;
  --content-page-max: 1440px;
  --content-black: #1d1d1d;
  --content-ink: #2a2a2a;
  --content-muted: #858585;
  --content-orange: #ff9113;
  --content-orange-dark: #e67b00;
  --content-paper: #f8f8f8;
  --content-line: #e9e9e9;
  --content-blue: #50bdff;
}

.content-logo,
.content-icon,
.content-media,
.content-map,
.content-social-icon {
  background-repeat: no-repeat;
  background-position: center;
}

.content-logo { background-image: var(--content-asset-logo); }
.content-icon--catalog { background-image: var(--content-asset-catalog); }
.content-icon--search { background-image: var(--content-asset-search); }
.content-icon--call { background-image: var(--content-asset-call); }
.content-icon--location { background-image: var(--content-asset-location); }
.content-icon--mail { background-image: var(--content-asset-mail); }
.content-icon--instagram { background-image: var(--content-asset-instagram); }
.content-icon--arrow { background-image: var(--content-asset-arrow); }
.content-icon--stock { background-image: var(--content-asset-stock); }
.content-social-icon--one { background-image: var(--content-asset-social-1); }
.content-social-icon--instagram { background-image: var(--content-asset-instagram); }
.content-social-icon--vk { background-image: var(--content-asset-vk); }
.content-media--blog-1 { background-image: var(--content-asset-blog-1); }
.content-media--blog-2 { background-image: var(--content-asset-blog-2); }
.content-media--blog-3 { background-image: var(--content-asset-blog-3); }
.content-media--blog-4 { background-image: var(--content-asset-blog-4); }
.content-media--product-safe { background-image: var(--content-asset-product-safe); }
.content-media--article-hero { background-image: var(--content-asset-article-hero-desktop); }
.content-map { background-image: var(--content-asset-map); }

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: clip;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--content-ink);
  font-family: var(--content-font);
  background: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.content-container {
  width: min(calc(100% - 48px), var(--content-page-max));
  margin-inline: auto;
}

.content-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.content-skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--content-orange);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.content-skip-link:focus {
  transform: translateY(0);
}

.content-logo {
  display: inline-flex;
  width: 267px;
  height: 48px;
  flex: 0 0 267px;
  background-size: contain;
}

.content-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background-size: contain;
}

.content-btn,
.content-icon-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 31px;
  border: 0;
  border-radius: 10px;
  font-weight: 400;
  line-height: 1;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.content-btn:hover,
.content-icon-button:hover {
  transform: translateY(-1px);
}

.content-btn:focus-visible,
.content-icon-button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(255, 145, 19, 0.4);
  outline-offset: 3px;
}

.content-btn--orange {
  color: #fff;
  background: var(--content-orange);
}

.content-btn--orange:hover {
  background: var(--content-orange-dark);
}

/* Header */
.content-header {
  position: relative;
  z-index: 50;
}

.content-header__main {
  height: 98px;
  color: #fff;
  background: var(--content-black);
  border-top: 2px solid var(--content-blue);
}

.content-header__row {
  position: relative;
  display: flex;
  height: 96px;
  align-items: center;
}

.content-header__catalog-wrap,
.content-header__search-wrap {
  position: relative;
  flex: 0 0 auto;
}

.content-header__catalog {
  width: 144px;
  padding-inline: 22px;
  font-size: 14px;
}

.content-header__logo {
  margin-left: 32px;
}

.content-header__nav {
  display: flex;
  width: 579px;
  flex: 0 0 579px;
  align-items: center;
  justify-content: space-between;
  margin-left: auto;
}

.content-header__nav a {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.content-header__nav a:hover,
.content-header__nav a[aria-current="page"] {
  color: var(--content-orange);
}

.content-header__tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 24px;
  margin-left: 24px;
}

.content-header__search {
  width: 48px;
  padding: 0;
  background: #fff;
}

.content-header__contact {
  width: 205px;
  padding-inline: 18px;
  font-size: 14px;
}

.content-header__burger,
.content-header__phone {
  display: none;
}

.content-header__contact-strip {
  display: flex;
  height: 47px;
  align-items: center;
  gap: 24px;
  margin-top: 15px;
  padding: 0 24px;
  overflow: hidden;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  background: var(--content-black);
}

.content-contact-item {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.content-contact-item:last-child {
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-contact-item .content-icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

.content-catalog-menu,
.content-search-panel {
  position: absolute;
  top: calc(100% + 14px);
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.content-header__catalog-wrap.is-open .content-catalog-menu,
.content-header__search-wrap.is-open .content-search-panel {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: none;
}

.content-catalog-menu {
  left: 0;
  display: flex;
  width: 520px;
  gap: 24px;
  padding: 22px;
  border-radius: 18px;
  color: var(--content-ink);
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.content-catalog-menu__column {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 12px;
}

.content-catalog-menu h2 {
  color: var(--content-orange);
  font-size: 14px;
}

.content-catalog-menu a {
  font-size: 13px;
  font-weight: 600;
}

.content-catalog-menu a:hover {
  color: var(--content-orange);
}

.content-search-panel {
  right: 0;
  width: 390px;
  padding: 16px;
  border-radius: 16px;
  color: var(--content-ink);
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.content-search-panel input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--content-line);
  border-radius: 10px;
  color: var(--content-ink);
  background: #f6f6f6;
}

.content-search-panel .content-btn {
  width: 100%;
  margin-top: 10px;
}

/* Mobile navigation */
.content-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.content-drawer__panel {
  position: relative;
  display: flex;
  width: min(340px, calc(100% - 48px));
  height: 100%;
  flex-direction: column;
  padding: 28px 24px;
  overflow-y: auto;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.22s ease;
}

.is-menu-open .content-drawer {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.is-menu-open .content-drawer__panel {
  transform: none;
}

.content-drawer__close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  color: var(--content-ink);
  background: transparent;
  font-size: 30px;
}

.content-drawer__logo {
  margin-bottom: 36px;
}

.content-drawer__nav {
  display: flex;
  flex-direction: column;
}

.content-drawer__nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--content-line);
  font-size: 17px;
  font-weight: 700;
}

.content-drawer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 30px;
  color: #666;
  font-size: 14px;
}

/* Shared page content */
.content-breadcrumbs {
  display: flex;
  height: 20px;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  color: #929292;
  font-size: 14px;
  line-height: 20px;
}

.content-breadcrumbs a:hover {
  color: var(--content-orange);
}

.content-breadcrumbs__current {
  color: #353535;
  font-weight: 700;
}

.content-breadcrumbs__dots {
  display: none;
}

.content-chevron {
  display: inline-flex;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-right: 2px solid #a0a0a0;
  border-top: 2px solid #a0a0a0;
  transform: rotate(45deg);
}

.content-back-link {
  display: inline-flex;
  height: 24px;
  align-items: center;
  gap: 13px;
  margin-top: 21px;
  font-size: 14px;
  font-weight: 700;
}

.content-back-link::before {
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #999;
  border-left: 2px solid #999;
  content: "";
  transform: rotate(45deg);
}

.content-page-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 48px;
  letter-spacing: -0.5px;
}

/* Blog */
.blog-page .content-page-title {
  margin-top: 28px;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-top: 38px;
}

.blog-card {
  display: flex;
  width: calc((100% - 96px) / 4);
  height: 421px;
  flex: 0 0 calc((100% - 96px) / 4);
  flex-direction: column;
  padding: 24px 20px 22px;
  border-radius: 32px;
  background: var(--content-paper);
}

.blog-card[hidden] {
  display: none !important;
}

.blog-card__image {
  position: relative;
  width: 100%;
  height: 267px;
  flex: 0 0 267px;
  overflow: hidden;
  border-radius: 12px;
  background-position: center;
  background-size: cover;
}

.content-media--blog-1 {
  background-position: 96% center;
}

.blog-card__date {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 8px;
  border-radius: 0 8px 0 0;
  color: #fff;
  background: var(--content-orange);
  font-size: 13px;
  font-weight: 700;
}

.blog-card__title {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 800;
  line-height: 18px;
}

.blog-card__title-mobile {
  display: none;
}

.blog-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  color: #969696;
  font-size: 14px;
  line-height: 20px;
}

.blog-card__link .content-icon {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
}

.content-pagination {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.content-pagination a,
.content-pagination span {
  display: inline-flex;
  width: 68px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #8d8d8d;
  background: #efefef;
  font-size: 13px;
}

.content-pagination .is-active {
  color: var(--content-ink);
  font-weight: 700;
}

.content-pagination .content-pagination__arrow {
  color: #fff;
  background: var(--content-orange);
}

.content-pagination__arrow::before {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.content-pagination__arrow--prev::before {
  transform: rotate(-135deg);
}

.content-pagination__arrow--prev {
  margin-right: 16px;
}

.content-pagination__arrow:last-child {
  margin-left: 16px;
}

.blog-load-more {
  display: none;
}

.blog-main {
  padding-bottom: 57px;
}

/* Article */
.article-page .content-page-title {
  margin-top: 29px;
}

.article-meta {
  display: flex;
  height: 24px;
  align-items: center;
  gap: 32px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
}

.article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.article-meta__eye {
  position: relative;
  width: 17px;
  height: 11px;
  flex: 0 0 17px;
  border: 2px solid var(--content-orange);
  border-radius: 50%;
}

.article-meta__eye::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--content-orange);
  content: "";
  transform: translate(-50%, -50%);
}

.article-meta__calendar {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid var(--content-orange);
  border-radius: 4px;
}

.article-meta__calendar::before {
  position: absolute;
  left: -2px;
  right: -2px;
  top: 3px;
  border-top: 2px solid var(--content-orange);
  content: "";
}

.article-hero {
  width: 100%;
  height: 341px;
  margin-top: 42px;
  border-radius: 10px;
  background-size: 100% 100%;
}

.article-copy {
  margin-top: 31px;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.article-copy p + p {
  margin-top: 24px;
}

.article-copy__list-intro,
.article-copy__list-line {
  display: block;
}

.article-products {
  margin-top: 58px;
}

.article-products h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 48px;
}

.product-list {
  display: flex;
  gap: 32px;
  margin-top: 33px;
}

.product-card {
  display: flex;
  width: calc((100% - 96px) / 4);
  height: 455px;
  flex: 0 0 calc((100% - 96px) / 4);
  flex-direction: column;
  padding: 20px 20px 22px;
  border-radius: 18px;
  background: var(--content-paper);
}

.product-card__image {
  width: 100%;
  height: 265px;
  flex: 0 0 265px;
  border: 1px solid #ededed;
  border-radius: 10px;
  background-color: #fff;
  background-size: contain;
}

.product-card h3 {
  margin-top: 23px;
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
}

.product-card__specs {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 20px;
}

.product-card__specs p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__specs strong {
  font-weight: 700;
}

.product-card__stock {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: #8b8b8b;
  font-size: 14px;
  font-weight: 700;
}

.article-mobile-recommendation {
  display: none;
}

.article-main {
  padding-bottom: 56px;
}

/* Contacts */
.contacts-back-link {
  display: none;
}

.contacts-page .content-page-title {
  display: none;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 70px;
  margin-top: 44px;
}

.contact-row {
  display: flex;
  height: 225px;
  align-items: flex-start;
  gap: 80px;
}

.contact-row__details {
  width: 336px;
  flex: 0 0 336px;
}

.contact-row__details h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

.contact-row__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.contact-row__item {
  display: flex;
  min-height: 24px;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 24px;
}

.contact-row__item .content-icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
  margin-top: 5px;
}

.contact-row__mail-copy {
  display: flex;
  flex-direction: column;
}

.contact-row__callback {
  width: 274px;
  margin-top: 26px;
  font-size: 16px;
}

.contact-row__map {
  width: auto;
  height: 225px;
  flex: 1 1 auto;
  border-radius: 22px;
  background-position: 62.5% 40%;
  background-size: 155% auto;
}

.contacts-main {
  padding-bottom: 71px;
}

/* Footer */
.content-footer {
  min-height: 347px;
  padding: 44px 0 32px;
  color: #fff;
  background: var(--content-black);
  border-bottom: 0 solid var(--content-blue);
}

@media (min-width: 1200px) {
  .contacts-page .content-header__main {
    height: 96px;
    border-top: 0;
  }

  .contacts-page .content-header__row {
    height: 96px;
  }

  .contacts-page .content-header__contact-strip {
    margin-top: 16px;
  }

  .contacts-page .content-footer {
    min-height: 349px;
  }
}

.content-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-footer__contact-button {
  width: 205px;
  padding-inline: 18px;
  font-size: 14px;
}

.content-footer__columns {
  display: flex;
  align-items: flex-start;
  margin-top: 35px;
}

.content-footer__column h2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.content-footer__sitemap {
  width: 410px;
  flex: 0 0 410px;
}

.content-footer__links {
  display: flex;
  gap: 70px;
  margin-top: 21px;
}

.content-footer__links ul {
  display: flex;
  min-width: 114px;
  flex-direction: column;
  gap: 10px;
}

.content-footer__links a,
.content-footer__contacts a,
.content-footer__contacts span {
  font-size: 14px;
  line-height: 20px;
}

.content-footer__links a:hover,
.content-footer__contacts a:hover {
  color: var(--content-orange);
}

.content-footer__copyright {
  margin-top: 37px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.content-footer__contacts {
  width: 460px;
  flex: 0 0 460px;
}

.content-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.content-footer__contact-list .content-contact-item {
  font-size: 14px;
  line-height: 20px;
}

.content-footer__contact-list .content-contact-item:last-child {
  margin-left: 0;
}

.content-footer__right {
  display: flex;
  flex: 1 1 auto;
  align-self: stretch;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.content-footer__socials {
  display: flex;
  gap: 16px;
}

.content-footer__socials a,
.content-social-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background-size: contain;
}

.content-footer__made-by {
  margin-top: 38px;
  font-size: 13px;
  font-weight: 600;
}

.content-footer__made-by a {
  color: var(--content-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1439px) {
  .content-header__nav {
    width: 510px;
    flex-basis: 510px;
  }

  .content-header__logo {
    margin-left: 22px;
  }

  .content-header__tools {
    gap: 16px;
    margin-left: 16px;
  }

  .content-header__contact {
    width: 190px;
  }

  .content-header__contact-strip {
    gap: 15px;
  }

  .product-list {
    gap: 24px;
  }

  .product-card {
    width: calc((100% - 72px) / 4);
    flex-basis: calc((100% - 72px) / 4);
  }
}

@media (max-width: 1199px) {
  .content-header__nav,
  .content-header__contact-strip {
    display: none;
  }

  .content-header__main {
    height: 82px;
  }

  .content-header__row {
    height: 80px;
  }

  .content-header__logo {
    margin-right: auto;
  }

  .blog-card {
    width: calc((100% - 32px) / 2);
    flex-basis: calc((100% - 32px) / 2);
  }

  .product-list {
    flex-wrap: wrap;
  }

  .product-card {
    width: calc((100% - 24px) / 2);
    flex-basis: calc((100% - 24px) / 2);
  }

  .contact-row {
    gap: 40px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .content-footer__columns {
    flex-wrap: wrap;
    gap: 32px 24px;
  }

  .content-footer__sitemap,
  .content-footer__contacts {
    width: calc(50% - 12px);
    flex: 0 0 calc(50% - 12px);
  }

  .content-footer__right {
    width: 100%;
    flex: 0 0 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .content-footer__made-by {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .content-container {
    width: calc(100% - 48px);
  }

  .content-logo {
    width: 178px;
    height: 32px;
    flex-basis: 178px;
  }

  .content-header__main {
    height: 70px;
    border-top-width: 1px;
  }

  .content-header__row {
    height: 69px;
    justify-content: space-between;
  }

  .content-header__catalog-wrap,
  .content-header__tools {
    display: none;
  }

  .content-header__logo {
    position: absolute;
    left: 50%;
    top: 18px;
    margin: 0;
    transform: translateX(-50%);
  }

  .content-header__burger,
  .content-header__phone {
    display: inline-flex;
    width: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--content-orange);
  }

  .content-header__burger-lines {
    position: relative;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .content-header__burger-lines::before,
  .content-header__burger-lines::after {
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
  }

  .content-header__burger-lines::before { top: -6px; }
  .content-header__burger-lines::after { top: 6px; }

  .content-header__phone {
    margin-left: auto;
  }

  .content-header__phone .content-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
  }

  .content-breadcrumbs {
    gap: 12px;
    margin-top: 24px;
    font-size: 14px;
  }

  .content-breadcrumbs > a,
  .content-breadcrumbs > .content-chevron:not(:last-of-type) {
    display: none;
  }

  .content-breadcrumbs__dots {
    display: inline-flex;
    width: 34px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #999;
    background: #eee;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
  }

  .content-breadcrumbs__current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .content-chevron {
    width: 7px;
    height: 7px;
    flex-basis: 7px;
  }

  .content-back-link {
    margin-top: 19px;
    font-size: 16px;
    font-weight: 600;
  }

  .content-page-title {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
  }

  /* Blog mobile */
  .blog-page .content-page-title {
    margin-top: 15px;
  }

  .blog-list {
    flex-direction: column;
    gap: 25px;
    margin-top: 25px;
  }

  .blog-card {
    display: none;
    width: 100%;
    height: 405px;
    flex-basis: 405px;
    padding: 23px 24px 22px;
    border-radius: 16px;
  }

  .blog-list > .blog-card:nth-child(-n + 4) {
    display: flex;
  }

  .blog-list > .blog-card.is-mobile-visible {
    display: flex;
  }

  .blog-card__image {
    height: 267px;
    flex-basis: 267px;
  }

  .blog-card__date,
  .blog-card__title-desktop {
    display: none;
  }

  .blog-card__title-mobile {
    display: inline;
  }

  .blog-card__title {
    margin-top: 24px;
    font-size: 14px;
    line-height: 20px;
  }

  .blog-card__link {
    font-size: 16px;
    line-height: 24px;
  }

  .content-pagination {
    display: none;
  }

  .blog-load-more {
    display: inline-flex;
    width: 100%;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    border: 0;
    border-radius: 10px;
    color: #4b4b4b;
    background: #efefef;
    font-size: 14px;
    font-weight: 700;
  }

  .blog-main {
    padding-bottom: 74px;
  }

  /* Article mobile */
  .article-page .content-page-title {
    margin-top: 17px;
  }

  .article-meta {
    height: 28px;
    gap: 28px;
    margin-top: 16px;
    font-size: 14px;
  }

  .article-meta__item {
    gap: 12px;
  }

  .article-meta__eye {
    width: 17px;
    height: 11px;
  }

  .article-meta__calendar {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .article-hero {
    height: 288px;
    margin-top: 23px;
    border-radius: 10px;
  }

  .article-copy {
    margin-top: 29px;
    font-size: 12px;
    line-height: 16px;
  }

  .article-copy p + p {
    margin-top: 16px;
  }

  .article-copy p + .article-copy__list {
    margin-top: 27px;
  }

  .article-products {
    display: none;
  }

  .article-mobile-recommendation {
    display: block;
    margin-top: 61px;
  }

  .article-mobile-recommendation h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 32px;
  }

  .article-mobile-recommendation .blog-card {
    display: flex;
    margin-top: 26px;
  }

  .article-mobile-recommendation__dots {
    display: flex;
    height: 16px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
  }

  .article-mobile-recommendation__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d6d6d6;
  }

  .article-mobile-recommendation__dots .is-active {
    width: 24px;
    border-radius: 8px;
    background: #818181;
  }

  .article-main {
    padding-bottom: 69px;
  }

  /* Contacts mobile */
  .contacts-back-link,
  .contacts-page .content-page-title {
    display: inline-flex;
  }

  .contacts-page .content-page-title {
    display: flex;
    width: 100%;
  }

  .contacts-page .content-page-title {
    margin-top: 15px;
  }

  .contacts-list {
    gap: 34px;
    margin-top: 27px;
  }

  .contact-row {
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 24px;
  }

  .contact-row__details {
    width: 100%;
    flex-basis: auto;
  }

  .contact-row__details h2 {
    font-size: 18px;
    line-height: 24px;
  }

  .contact-row__items {
    margin-top: 14px;
  }

  .contact-row__item {
    font-size: 14px;
    line-height: 24px;
  }

  .contact-row__callback {
    width: 100%;
    margin-top: 23px;
    font-size: 16px;
  }

  .contact-row__map {
    width: 100%;
    height: 336px;
    flex: 0 0 336px;
    border-radius: 12px;
    background-position: 53.5% 40%;
    background-size: auto 155%;
  }

  .contacts-main {
    padding-bottom: 65px;
  }

  /* Footer mobile */
  .content-footer {
    min-height: 508px;
    padding: 32px 0 22px;
    border-bottom: 2px solid var(--content-blue);
  }

  .content-footer__top {
    display: block;
  }

  .content-footer__contact-button {
    display: none;
  }

  .content-footer__columns {
    display: block;
    margin-top: 41px;
  }

  .content-footer__column h2 {
    font-size: 18px;
    line-height: 24px;
  }

  .content-footer__sitemap,
  .content-footer__contacts {
    width: 100%;
  }

  .content-footer__links {
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
  }

  .content-footer__links ul {
    width: calc(50% - 15px);
    min-width: 0;
    gap: 8px;
  }

  .content-footer__links a,
  .content-footer__contacts a,
  .content-footer__contacts span {
    font-size: 16px;
    line-height: 24px;
  }

  .content-footer__copyright {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 29px;
    margin: 0;
    text-align: center;
    font-size: 11px;
    line-height: 15px;
  }

  .content-footer .content-container {
    position: relative;
    height: 452px;
  }

  .content-footer__contacts {
    margin-top: 45px;
  }

  .content-footer__contact-list {
    gap: 6px;
    margin-top: 20px;
  }

  .content-footer__contact-list .content-contact-item {
    gap: 10px;
    font-size: 16px;
    line-height: 24px;
  }

  .content-footer__right {
    display: block;
  }

  .content-footer__socials {
    display: none;
  }

  .content-footer__made-by {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    margin: 0;
    text-align: center;
    font-size: 11px;
    line-height: 15px;
  }
}

@media (max-width: 380px) {
  .content-logo {
    width: 164px;
    flex-basis: 164px;
  }

  .content-footer__links a,
  .content-footer__contacts a,
  .content-footer__contacts span,
  .content-footer__contact-list .content-contact-item {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 767px) {
  .content-media--article-hero {
    background-image: var(--content-asset-article-hero-mobile);
  }

  .blog-page .blog-list > .blog-card:nth-child(-n + 4) .blog-card__image {
    background-image: var(--content-asset-blog-1);
  }
}
