@media (max-width: 1199px) {
  .site-header {
    height: 76px;
  }

  .desktop-header {
    display: none;
  }

  .mobile-header {
    position: relative;
    display: block;
    height: 76px;
  }

  .mobile-header__logo {
    position: absolute;
    top: 9px;
    left: 20px;
    width: 184.8px;
    height: 58.1px;
  }

  .hero {
    height: 560px;
  }

  .hero__inner {
    width: min(calc(100% - 64px), 720px);
    padding-top: 88px;
  }

  .hero__title {
    width: min(650px, 100%);
    font-size: clamp(42px, 7vw, 58px);
    line-height: 1.15;
  }

  .benefits,
  .categories,
  .popular,
  .about,
  .site-footer {
    height: auto;
  }

  .benefits {
    padding-block: 20px;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(calc(100% - 64px), 720px);
    height: auto;
    padding-top: 0;
  }

  .benefit {
    border: var(--border-default);
    border-radius: var(--radius-card);
    background: var(--color-surface);
  }

  .benefit + .benefit {
    border-left: var(--border-default);
  }

  .categories,
  .popular {
    padding-bottom: 48px;
  }

  .categories .container,
  .popular .container,
  .about .container,
  .site-footer .container {
    width: min(calc(100% - 64px), 720px);
  }

  .categories__grid,
  .products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .category-card,
  .product-card {
    width: 100%;
  }

  .about {
    min-height: 440px;
  }

  .site-footer {
    position: relative;
    min-height: 544px;
    background: var(--color-brand-green);
  }

  .footer__main {
    height: 423px;
  }

  .footer__logo {
    top: 22px;
    left: 0;
    width: 178.5px;
    height: 56.1px;
  }

  .footer__description {
    top: 94px;
    left: 0;
    width: 340px;
    font-size: 14px;
    line-height: 20px;
  }

  .footer__main::before,
  .footer__main::after {
    position: absolute;
    right: 0;
    left: 0;
    height: 1px;
    background: rgb(255 255 255 / 18%);
    content: "";
  }

  .footer__main::before {
    top: 146px;
  }

  .footer__main::after {
    top: 282px;
  }

  .footer__nav {
    top: 164px;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 10px;
    width: 340px;
  }

  .footer__nav a {
    align-items: center;
    min-height: 36px;
    padding: 0;
    font-size: 15px;
  }

  .footer__contacts {
    top: 302px;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 280px;
    font-size: 15px;
  }

  .footer__contact-label {
    display: none;
  }

  .footer__socials {
    top: 370px;
    right: auto;
    left: 0;
    gap: 16px;
    height: 36px;
  }

  .footer__bottom {
    position: relative;
    display: block;
    height: 121px;
    font-size: 13px;
  }

  .footer__copyright {
    position: absolute;
    top: 84px;
    left: 0;
    font-size: 12px;
    line-height: 16px;
  }

  .footer__legal {
    position: absolute;
    top: 14px;
    left: 0;
    display: grid;
    gap: 8px;
    margin-left: 0;
  }

  .footer__legal a {
    width: 350px !important;
    min-height: 24px;
    font-size: 13px;
    line-height: 18px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .product-card {
    height: 410px;
  }

  .site-footer .container {
    max-width: 720px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .container {
    width: calc(100% - 96px);
  }

  .categories__grid,
  .products__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .desktop-header {
    width: calc(100% - 96px);
  }

  .desktop-header__logo {
    width: 300px;
  }

  .desktop-nav {
    left: 350px;
    gap: 24px;
  }

  .desktop-header__contacts {
    right: 100px;
    left: auto;
  }

  .desktop-header__socials {
    right: 0;
    left: auto;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 40px), var(--mobile-content));
  }

  .hero {
    height: 520px;
    background-image:
      linear-gradient(90deg, rgb(2 37 25 / 91%) 0%, rgb(2 37 25 / 69%) 58%, rgb(2 37 25 / 24%) 100%),
      url("../images/hero/hero-home.a0d630b31093.png");
    background-position: center;
  }

  .hero__inner {
    width: min(calc(100% - 40px), var(--mobile-content));
    padding-top: 66px;
  }

  .hero__title {
    width: 100%;
    font-size: 36px;
    line-height: 42px;
  }

  .hero__subtitle {
    width: 340px;
    max-width: 100%;
    margin-top: 20px;
    font-size: 15px;
    line-height: 22px;
  }

  .hero__cta {
    margin-top: 20px;
  }

  .button--gold {
    width: 176px;
    height: 48px;
    font-size: 14px;
  }

  .benefits {
    height: 230px;
    padding-block: 16px 14px;
    background: #f0ece3;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, 169px);
    gap: 12px;
    width: 350px;
  }

  .benefit {
    gap: 10px;
    width: 169px;
    height: 94px;
    padding: 10px;
  }

  .benefit__icon {
    width: 36px;
    height: 42px;
    flex-basis: 36px;
  }

  .benefit__text {
    width: 100px;
    font-size: 14px;
    line-height: 19px;
  }

  .categories,
  .popular {
    padding-bottom: 0;
    background: var(--color-background);
  }

  .categories {
    height: 780px;
  }

  .popular {
    height: 1770px;
  }

  .categories .container,
  .popular .container,
  .about .container,
  .site-footer .container {
    width: min(calc(100% - 40px), var(--mobile-content));
  }

  .section-heading-row {
    display: block;
    padding-top: 32px;
  }

  .categories .section-heading-row {
    padding-top: 34px;
  }

  .section-title {
    font-size: 28px;
    line-height: 34px;
  }

  .section-heading-row .section-link {
    display: block;
    width: 180px;
    margin-top: 4px;
    font-size: 13px;
    line-height: 18px;
    text-align: left;
  }

  .categories__grid {
    grid-template-columns: repeat(2, 169px);
    gap: 12px;
    margin-top: 12px;
  }

  .category-card {
    width: 169px;
    height: 150px;
  }

  .category-card__image {
    height: 104px;
  }

  .category-card__title {
    height: 32px;
    padding: 8px 10px 0;
    font-size: 14px;
    line-height: 18px;
  }

  .products__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 10px;
  }

  .product-card {
    width: 350px;
    height: 400px;
  }

  .product-card__image {
    height: 190px;
  }

  .availability {
    width: 106px;
  }

  .product-card__title {
    top: 208px;
    height: 48px;
    font-size: 16px;
    line-height: 21px;
  }

  .product-card__sku {
    top: 264px;
    height: 20px;
    font-size: 12px;
    line-height: 16px;
  }

  .product-card__price {
    top: 298px;
    height: 30px;
    font-size: 21px;
    line-height: 26px;
  }

  .product-card__button {
    bottom: 16px;
    min-width: 138px;
    height: 44px;
  }

  .about {
    min-height: 0;
    height: 440px;
    background-image:
      linear-gradient(90deg, rgb(2 37 25 / 93%) 0%, rgb(2 37 25 / 73%) 70%, rgb(2 37 25 / 28%) 100%),
      url("../images/company/warehouse.1f4cf19ecec1.png");
    background-position: center;
  }

  .about__content {
    width: 340px;
    padding-top: 46px;
  }

  .about__title {
    font-size: 34px;
    line-height: 42px;
  }

  .about__text {
    margin-top: 16px;
    font-size: 15px;
    line-height: 23px;
  }

  .about__cta {
    width: 208px;
    height: 46px;
    margin-top: 24px;
  }

  .site-footer {
    height: 544px;
    min-height: 544px;
  }
}

@media (max-width: 374px) {
  .benefits__grid,
  .categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .benefit,
  .category-card,
  .product-card {
    width: 100%;
  }

  .benefit__text {
    font-size: 13px;
  }
}
