/* Розничная обвязка продуктовых лендингов: блок покупки под перенесённым контентом.
   Сами страницы приносят свои стили (tripod.css, snapon.css и т.д.) - здесь только то,
   чего в B2B-версии не было. */

.lp-buy { padding: 76px 0; background: var(--surface); }
.lp-buy-head { max-width: 640px; margin-bottom: 30px; }
.lp-buy-head h2 { margin-bottom: 10px; }

/* Две карточки в ряд, не три: у трипода 16 цветов, и в узкой колонке кружки с ценой
   налезали друг на друга. */
.lp-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); }
.lp-card {
  background: #fff; border-radius: var(--r-xl); overflow: hidden;
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0; box-shadow: var(--shadow-sm);
}
.lp-card-pic { background: var(--tile); display: grid; place-items: center; padding: 16px; }
.lp-card-pic img { width: 100%; height: 100%; max-height: 210px; object-fit: contain; }
.lp-card-body { padding: 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.lp-card-body h3 { font-size: 18px; }
.lp-card-sub { font-size: 13.5px; color: var(--muted); margin-top: -6px; }

.lp-row { display: grid; gap: 7px; }
.lp-row-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted-2);
}
.lp-row-label b { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); font-size: 13px; }
.lp-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-opts .pill { padding: 5px 11px; font-size: 12.5px; }
.lp-colors { gap: 8px; }
.lp-sw {
  width: 26px; height: 26px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .13);
  box-shadow: inset 0 0 0 2px #fff; transition: transform .15s, box-shadow .15s;
}
.lp-sw:hover { transform: scale(1.09); }
.lp-sw.is-on { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--ink); }

.lp-foot {
  display: flex; align-items: end; justify-content: space-between; gap: 14px;
  padding-top: 14px; border-top: 1px solid var(--line); margin-top: 4px; flex-wrap: wrap;
}
.lp-price { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.lp-stock { margin-top: 4px; }
.lp-actions { display: flex; gap: 8px; }
.lp-actions .btn { padding: 11px 18px; font-size: 14px; }

@media (max-width: 720px) {
  .lp-buy { padding: 48px 0; }
  .lp-card { grid-template-columns: 1fr; }
  .lp-card-pic { padding: 20px; }
  .lp-card-pic img { max-height: 190px; }
  .lp-card-body { padding: 18px; }
}
