/* Shared small-screen safeguards; PHP-independent. Keep intentional carousels scrollable. */
.hero-text,.hero-i > *,.about-grid > *,.footer-fi > *,.fi > *,
.product > *,.cw-row2 > *,.fg-row > * { min-width:0; }
.cat-grid > *,.cat-card-inner > *,.contact-grid > * { min-width:0; }
.clbl,.contact-grid a,.contact-grid .card { overflow-wrap:anywhere; }
.hero-text h1,.kat-h1,.kat-desc,.card-name,.d-name,.d-desc,
.cw-ok,.cw-er,.fc,.seo-guide { overflow-wrap:anywhere; word-break:normal; }
.filter-tag { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
.filter-tag-x { flex-shrink:0; }
.cw input,.cw textarea,.fg input,.fg select { min-width:0; max-width:100%; box-sizing:border-box; }
.bc li,.bc-kat li { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.bc li+li::before { flex-shrink:0; }
.modal { max-height:92vh; max-height:92dvh; }
.modal .mbody { min-height:0; overflow:auto; overscroll-behavior:contain; }
.modal .mhead,.modal .mfooter { flex-shrink:0; }
.modal .mhead { min-width:0; overflow-wrap:anywhere; }
.seo-guide { margin:28px 0 12px; padding:20px; border:1px solid var(--border,#ddd); border-radius:8px; line-height:1.65; }
.seo-guide h2 { font-size:21px; line-height:1.3; margin-bottom:10px; }
.seo-guide p+p { margin-top:12px; }
.seo-guide a { text-decoration:underline; }
@media(max-width:600px) {
  .cat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .contact-grid { grid-template-columns:minmax(0,1fr); }
  .flt-half { width:100%; max-width:100%; }
  .flt-half .rslider-wrap { min-width:0; flex-basis:100%; }
  .cw-cap-row { flex-wrap:wrap; }
  .seo-guide { padding:14px; font-size:14px; }
  .hero-btn { max-width:100%; white-space:normal; text-align:center; }
  .cw input,.cw textarea,.fg input,.fg select { font-size:16px; }
}
