/* Mobile safeguards shared by public inner pages. Homepage is intentionally excluded. */
@media (max-width: 760px) {
  html,
  body,
  #root,
  .site-shell,
  .site,
  .inner-page {
    max-width: 100%;
    overflow-x: clip;
  }

  .inner-page,
  .inner-page * {
    min-width: 0;
  }

  .inner-page :is(h1, h2, h3, h4, p, li, a, address, td, th) {
    overflow-wrap: anywhere;
  }

  .inner-page :is(img, video, iframe, embed, object, svg) {
    max-width: 100%;
  }

  .inner-page :is(.source-content, .catalogue-rich, .reading-panel) table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .inner-page .breadcrumbs {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .inner-page :is(button, [role="button"], input, select, textarea, a.inner-card__link) {
    touch-action: manipulation;
  }

  /* Contact buttons (phone, WhatsApp, share) stay in the same vertical column as on the home page
     (owner's request 2026-11-18; the inner pages used to lay them out as one row along the bottom).
     The footer row next to "Başa dön" is still set by adesa-footer-mobile-v2.css. */

  .has-catalogue-gallery .nyy-fs-tabs,
  .has-catalogue-gallery .nyy-gallery-actions,
  .catalogue-controls,
  .blog-toolbar,
  .contact-form,
  .contact-details {
    max-width: 100%;
  }

  .has-catalogue-gallery .nyy-fs-tabs button,
  .category-chips a,
  .catalogue-controls :is(input, select, button),
  .blog-toolbar :is(input, select, button) {
    min-height: 44px;
  }

  :is(.inner-page, .source-content, .catalogue-rich) :target {
    scroll-margin-top: 104px;
  }
}

@media (max-width: 380px) {
  .inner-page .nyy-product-title,
  .inner-page .inner-heading h1 {
    hyphens: auto;
  }
}
