/* Мобильная главная: шапка → хиро → каталог. Подключать после 3aclean-wash.css. */
.ac-mobile-catalog {
  display: none;
}

@media (max-width: 767px) {
  /* 3aclean 19.10.2026: скрытие H1 и остальных секций главной на телефоне убрано — владелец против скрытого текста (риск санкций) */
  /* плашки «Сервис» / «Доставка» — ссылки, дублируют полосу преимуществ ниже; на телефоне каталог сразу под слайдером */
  .ac-mobile-home .t-promos {
    display: none;
  }

  .ac-mobile-home .t-hero {
    padding-block-start: 10px;
  }

  .ac-mobile-home .t-hero-grid {
    display: block;
  }

  .ac-mobile-home .ac-mobile-catalog {
    display: block;
    margin-block: 24px 40px;
  }

  .ac-mobile-catalog__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-block-end: 16px;
  }

  .ac-mobile-catalog__head h2 {
    margin: 0;
    color: #142e3e;
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.12;
    font-weight: 800;
    hyphens: none;
  }

  .ac-mobile-catalog__all {
    flex: 0 0 auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #35773d;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }

  .ac-mobile-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ac-mobile-product {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #142e3e;
    background: #fff;
    border: 1px solid #dbe5e6;
    border-radius: 18px;
    text-decoration: none;
  }

  .ac-mobile-product__media {
    aspect-ratio: 1 / 0.9;
    display: grid;
    place-items: center;
    padding: 10px;
    background: #f2f6f6;
  }

  .ac-mobile-product__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
  }

  .ac-mobile-product__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }

  .ac-mobile-product__type {
    margin-block-end: 6px;
    color: #617782;
    font-size: 12px;
    line-height: 1.3;
  }

  .ac-mobile-product h3 {
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    color: #142e3e;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    hyphens: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .ac-mobile-product__action {
    min-height: 44px;
    display: inline-flex;
    align-items: flex-end;
    margin-block-start: auto;
    padding-block-start: 10px;
    color: #35773d;
    font-size: 13px;
    font-weight: 700;
  }

  .ac-mobile-product:focus-visible,
  .ac-mobile-catalog__all:focus-visible {
    outline: 3px solid #35773d;
    outline-offset: 3px;
  }
}

@media (max-width: 339px) {
  .ac-mobile-products {
    gap: 8px;
  }

  .ac-mobile-product__body {
    padding: 10px;
  }

  .ac-mobile-product h3 {
    font-size: 13px;
  }
}
