/* Car's Friend picker (Ф2): product cards with photo, «В пути» and «В корзину».
   Load after the main site styles. Elements are created by /local/fitment/front/picker.js. */
.chat .pick {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
}
.chat .pick:hover { border-color: var(--line); }
.pick-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
a.pick-main:hover b { text-decoration: underline; text-underline-offset: 3px; }
.pick-img {
  flex: none;
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
.pick-body { display: grid; gap: 4px; min-width: 0; }

/* not in stock: grey photo and «В пути» (client, 16.10) */
.pick.is-transit .pick-img { filter: grayscale(1); opacity: .55; }
.pick.is-transit em { color: var(--muted); }

.pick-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.pick-cart:hover { background: var(--orange-deep); }
.pick-cart:disabled { opacity: .6; cursor: default; }
.pick-cart.is-added { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.pick-cart.is-added:hover { border-color: var(--ink); }

@media (max-width: 600px) {
  .chat .pick { grid-template-columns: minmax(0, 1fr); }
  .pick-cart { min-height: 44px; }
}
