/* FLEXO LINE V9 — Mobile content/CTA clearance & field comfort, 17 Nov 2026.
   Staging-only refinement; desktop design and existing form handler unchanged. */
@media (max-width: 700px) {
  /* Important: never allow the floating chat launcher to block a field, product card,
     specification area or primary action. Chat panel can still open via an inline help link. */
  body.fl43-unified.flx-v9-chat-yield .fl4-assistant > button.fl4-launch {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  body.fl43-unified .fl4-assistant > button.fl4-launch {
    transition: opacity .15s ease, visibility .15s ease !important;
  }
  /* Staging enquiry form: large enough for phone touch and iOS no-auto-zoom text. */
  body.fl42-page-order-enquiry .v2-interior .form-shell {
    padding: 24px 20px 30px !important;
  }
  body.fl42-page-order-enquiry .v2-interior .form-shell h2 {
    font-size: clamp(25px, 7.2vw, 32px) !important;
    line-height: 1.14 !important;
    letter-spacing: -.04em !important;
    margin-bottom: 16px !important;
  }
  body.fl42-page-order-enquiry .fl-form .field label {
    display:block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    margin-bottom: 8px !important;
  }
  body.fl42-page-order-enquiry .fl-form :is(input:not([type="hidden"]):not([type="checkbox"]), select, textarea) {
    width:100% !important;
    min-width:0 !important;
    min-height:50px !important;
    padding: 12px 13px !important;
    border-radius:8px !important;
    font-size:16px !important;
    line-height:1.4 !important;
  }
  body.fl42-page-order-enquiry .fl-form textarea {
    min-height: 138px !important;
    resize: vertical !important;
  }
  body.fl42-page-order-enquiry .fl-form .form-row {
    gap: 16px !important;
  }
  body.fl42-page-order-enquiry .fl-form .field {
    margin-bottom: 16px !important;
  }
  body.fl42-page-order-enquiry .fl-form .checkbox-row {
    display:flex !important;
    align-items:flex-start !important;
    gap: 12px !important;
    padding: 6px 0 14px !important;
    font-size:13px !important;
    line-height: 1.55 !important;
  }
  body.fl42-page-order-enquiry .fl-form .checkbox-row input[type="checkbox"] {
    flex:0 0 20px !important;
    width:20px !important;
    height:20px !important;
    margin:2px 0 0 !important;
    accent-color:#c50936;
  }
  body.fl42-page-order-enquiry .fl-form button[type="submit"] {
    width:100% !important;
    min-height:56px !important;
    padding:14px 18px !important;
    font-size:15px !important;
    border-radius:9px !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:16px !important;
  }
  body.fl42-page-order-enquiry .basket-list input[type="number"] {
    min-height:46px !important;
    min-width:64px !important;
    font-size:16px !important;
  }
  body.fl42-page-order-enquiry .add-line :is(select, button) {
    min-height:48px !important;
    font-size:14px !important;
  }
  /* Product detail: readable specifications on 320–430px screens. */
  body.fl46-product-page .fl46-spec-list {margin-top: 14px !important;}
  body.fl46-product-page .fl46-spec-list > div {
    display:grid !important;
    grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr) !important;
    gap:12px !important;
    padding-block: 13px !important;
    align-items:start !important;
  }
  body.fl46-product-page .fl46-spec-list :is(dt,dd) {
    overflow-wrap:anywhere !important;
    font-size:12px !important;
    line-height:1.5 !important;
  }
  body.fl46-product-page .fl46-spec-list dd {text-align:right !important;}
  body.fl46-product-page .fl46-detail-controls :is(input,button) {
    min-height:48px !important;
  }
  /* A permanent, in-flow way to open the assistant when its floating icon yields. */
  body.fl43-unified .flx-v9-inline-help {
    display:inline-flex !important;
    flex-wrap:wrap;
    gap:7px;
    align-items:center;
    min-height:44px;
    max-width:100%;
    margin:0 0 18px;
    padding:9px 13px;
    font:700 13px/1.4 'Manrope', 'DM Sans', Arial, sans-serif;
    color:#a91230;
    text-decoration:none;
    background:#fff7f9;
    border:1px solid #eac2ca;
    border-radius:10px;
    cursor:pointer;
  }
  body.fl46-product-page .flx-v9-inline-help {
    color:#fff;
    background:rgba(130,15,42,.18);
    border-color:rgba(239,88,119,.48);
    margin-top:12px;
  }
  body.fl43-unified .flx-v9-inline-help:focus-visible {outline:3px solid #e31837;outline-offset:3px;}
}
@media (min-width:701px) {
  .flx-v9-inline-help {display:none !important;}
}
@media (prefers-reduced-motion: reduce) {
  body.fl43-unified .fl4-assistant > button.fl4-launch {transition:none !important;}
}
