/* TopTools: карточка товара на телефоне — компактное фото, закреплённая панель покупки */
#tt-sticky-buy { display: none; }
@media (max-width: 767px) {
  #product-product .tt-product-hero { gap: 12px; margin-bottom: 16px; }
  #product-product .tt-gallery { padding: 10px; }
  #product-product .tt-main-image { min-height: 0; }
  #product-product .tt-main-image .thumbnail img { max-height: 220px; padding: 6px; width: 100%; }
  #product-product .tt-image-badge,
  #product-product .tt-gallery-note { display: none; }
  #product-product .tt-product-title { font-size: 20px; line-height: 1.25; margin-top: 4px; }
  #product-product .tt-meta-line { gap: 4px 12px; font-size: 13px; }
  #product-product #input-quantity { font-size: 16px; }

  /* закреплённая панель: цена + главная кнопка */
  body.tt-sbar-on { padding-bottom: 76px; }
  body.tt-sbar-on #tt-ai-launcher { bottom: 88px !important; }
  #tt-sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
    display: none; align-items: center; gap: 12px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #fff; border-top: 1px solid #e3e8f0;
    box-shadow: 0 -6px 18px rgba(15, 38, 64, .10);
  }
  body.tt-sbar-on #tt-sticky-buy { display: flex; }
  #tt-sticky-buy .tt-sb-price { flex: 0 0 auto; font-size: 18px; font-weight: 800; line-height: 1.15; color: #0f2640; }
  #tt-sticky-buy .tt-sb-btn {
    flex: 1 1 auto; min-height: 48px; border: 0; border-radius: 12px; cursor: pointer;
    background: #ff6a00; color: #fff; font-size: 16px; font-weight: 700; padding: 0 14px;
  }
  #tt-sticky-buy .tt-sb-btn:active { background: #e55f00; }
}
