/* СИФУД, карточка отдельного товара: кнопки не перекрывают название.
   Включаем только на узких экранах и только после успешного переноса кнопок JS. */
@media (max-width: 782px) {
  body.single-product .summary.sifud-single-actions-fixed > .sifud-single-actions-row,
  body.sf.single-product .woocommerce div.product .summary.sifud-single-actions-fixed > .sifud-single-actions-row {
    box-sizing: border-box !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    position: relative !important;
    clear: both !important;
  }
  body.single-product .summary.sifud-single-actions-fixed > .sifud-single-actions-row > button,
  body.single-product .woocommerce div.product .summary.sifud-single-actions-fixed > .sifud-single-actions-row > button.sf-like--single,
  body.single-product .woocommerce div.product .summary.sifud-single-actions-fixed > .sifud-single-actions-row > button.sf-fav--single {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    width: auto !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 1 !important;
  }
  body.single-product .summary.sifud-single-actions-fixed h1.product_title,
  body.sf.single-product .woocommerce div.product .summary.sifud-single-actions-fixed h1.product_title {
    box-sizing: border-box !important;
    display: block !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
    font-size: clamp(1.45rem, 5.5vw, 1.75rem) !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-overflow: clip !important;
    overflow: visible !important;
  }
}
