/* Foody-Go M-01 (20261029) - product card: hide Відгуки/Доставка/Оплата tabs and "З цим товаром також купують".
 * STATUS: подготовлено. Mobile only; desktop keeps tabs and the block.
 * Class hooks come from the working copies module/product_info/product_info_v1.html + module/also_purchased.html.
 * Fallback selectors (#reviews/#shipping/#payment panes, :has() for tab <li>) work even before the Smarty copy
 * is installed; the JS twin (mobile-product-20261029-m01.js) covers the heading-text fallback for UA/RU.
 * Standalone pages payment-and-delivery.html / reviews pages are NOT affected (selectors are product-card scoped).
 * Include after r10/info in css/css.php:
 *   <link rel="stylesheet" href="/templates/FoodyGoCart/mobile-product-20261029-m01.css" media="screen"> */
@media screen and (max-width: 767px){
  .product-tabs .fgm-m01-hide,
  .product-tabs #reviews, .product-tabs #shipping, .product-tabs #payment,
  .fgm-m01-tabs-empty,
  .fgm-m01-also,
  .fgm-m01-js-hidden{display:none!important}
}
/* :has() kept in its OWN rule: browsers without :has() (iOS < 15.4) drop only this rule, not the list above. */
@media screen and (max-width: 767px){
  .product-tabs .nav-tabs > li:has(> [data-target="#reviews"]),
  .product-tabs .nav-tabs > li:has(> [data-target="#shipping"]),
  .product-tabs .nav-tabs > li:has(> [data-target="#payment"]){display:none!important}
  /* No empty margins/dividers left behind */
  .fgm-m01-tabs-wrap:not(.fgm-m01-tabs-empty){margin-top:8px}
}
