/* Карточки товаров на главной (ТЗ 3.1): те же, что в каталоге; стили ограничены блоком .home-shop */
.home-catalog { padding: 56px 0; background: #fff; }
.home-catalog .catalog-header-box { margin-bottom: 18px; }
.home-shop { display: flex; flex-direction: column; gap: 18px; }
.home-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.home-chip { padding: 8px 14px; border-radius: 22px; background: #f1f5f9; color: #1f2937; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid #e2e8f0; transition: background .2s, color .2s; }
.home-chip:hover { background: #e8f2ff; color: #157FFB; border-color: #bfdbfe; }
.home-shop .pd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-shop .tile { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8eef6; border-radius: 18px; padding: 12px; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; min-width: 0; }
.home-shop .tile:hover { box-shadow: 0 10px 28px rgba(15,23,42,.08); transform: translateY(-2px); }
.home-shop .tile-img { position: relative; aspect-ratio: 1 / 1; background: #f8fafc; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 10px; }
.home-shop .tile-img img { width: 92%; height: 92%; object-fit: contain; object-position: center; }
.home-shop .tile-badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.home-shop .tile-gift { position: absolute; top: 8px; right: 8px; background: #fff7ed; color: #ea580c; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.home-shop .tile-name { font-weight: 700; font-size: 15px; line-height: 1.35; color: #1f2937; overflow-wrap: anywhere; }
.home-shop .tile-sku { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.home-shop .tile-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 10px; }
.home-shop .tile-price .tp { font-weight: 800; font-size: 17px; color: #0f172a; } .home-shop .tile-price s { color: #94a3b8; font-size: 13px; }
.home-shop .tile-price .muted { color: #64748b; font-weight: 600; font-size: 14px; }
.home-shop .tile-more { margin-top: auto; text-align: center; padding: 9px; border-radius: 22px; background: #e8f2ff; color: #157FFB; font-weight: 700; font-size: 14px; }
.home-shop .b { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; background: #eef2f7; color: #334155; vertical-align: middle; }
.home-shop .b-new { background: #e8f2ff; color: #157FFB; }
.home-shop .b-best { background: #fff3e0; color: #b45309; }
.home-shop .b-inst { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.home-all { text-align: center; }
.home-shop-empty { text-align: center; color: #64748b; padding: 30px 0; }
@media (max-width: 1100px) { .home-shop .pd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .home-catalog { padding: 36px 0; }
  .home-shop .pd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-shop .tile { padding: 8px; border-radius: 14px; } .home-shop .tile-name { font-size: 14px; }
  .home-shop .tile-price .tp { font-size: 16px; }
  .home-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .home-chip { white-space: nowrap; }
  .home-all .btn-primary { width: 100%; justify-content: center; }
}
.home-shop .tile-pre { font-size: 11px; color: #92400e; background: #fef3c7; border-radius: 10px; padding: 1px 7px; }
