/* =========================
   MOBILE: список вместо сетки
========================= */
@media (max-width: 768px) {

  /* Сетка → одна колонка */
  .st-grid,
  ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Карточка → горизонтальная строка */
  .st-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    align-items: center;
  }

  /* Картинка — квадрат слева */
  .st-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    background: #f8fbfd;
    overflow: hidden;
    flex-shrink: 0;
  }

  .st-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
  }

  /* Правая часть */
  .st-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .st-card__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .st-card__sku {
    font-size: 11px;
    color: #94a3b8;
  }

  /* Цена и кнопка в одну строку */
  .st-card__price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
  }

  .st-card__badge {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 6px;
  }

  .st-card__old {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
  }

  .st-card__new {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
  }

  /* Кнопка — компактная */
  .st-card__cart {
    margin-top: 6px;
  }

  .st-card__cart .button,
  .st-card__cart a.button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 36px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
    width: auto !important;
    margin: 0 !important;
  }

}
