/* Public website link appearance: preserve focus outlines and link semantics. */
a[href],button{text-decoration-line:none!important}
a.text-link,a.arrow-link,a.line-link,.latest-heading>a{border-bottom-width:0!important}
.product-name-index a,.million-franchise-guide a,.portfolio-franchise-links a{font-weight:600}
/* Existing keyboard focus, hover colours, card borders and active navigation stay intact. */

/* Inline link rules that used a bottom border as a text underline. */
.contact-grid>div:first-child>a,.map-heading>a,.events-empty a,.mega-intro a,a.medical-text-link,.atl-intro a,.atl-latest-head>a,.home-profile-copy>a,.home-insights-head>a,.certificate a:not(.button){border-bottom-width:0!important}


/* Responsive product layout audit, 23 November 2026. Presentation only. */
@media (max-width: 800px) {
  html .product-modal-backdrop { padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
  html .product-modal { width: 100%; max-width: 100%; max-height: calc(100dvh - 24px); border-radius: 20px; overscroll-behavior: contain; }
  html .modal-product-image { width: auto; margin: 16px 20px 0; padding: 0; flex-basis: clamp(190px, 55vw, 250px); height: clamp(190px, 55vw, 250px); }
  html .modal-product-image .product-image-frame { min-width: 0; min-height: 0; height: 100%; max-height: 100%; box-sizing: border-box; overflow: hidden; }
  html .modal-product-image .product-image-frame > img.product-photo { width: 100% !important; height: 100% !important; max-height: 100% !important; min-height: 0; object-fit: contain; }
  html .modal-product-copy { min-width: 0; padding: 24px 20px; }
  html .modal-product-copy h2 { margin-right: 0; font-size: clamp(26px, 7.5vw, 34px); line-height: 1.12; overflow-wrap: anywhere; }
  html .modal-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px; align-items: stretch; }
  html .modal-actions > button { min-width: 0; min-height: 44px; padding: 8px; justify-content: center; font-size: 12px; line-height: 1.35; white-space: normal; }
  html .modal-actions .whatsapp-action { width: 44px; height: 44px; min-height: 44px; align-self: center; }
  html .modal-actions > button { height: 100%; align-self: stretch; }
  html .modal-actions .product-literature-options { grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  html .modal-actions .product-literature-options > button { min-width: 0; min-height: 44px !important; }
  html .product-modal .modal-close { width: 44px; height: 44px; top: 12px; right: 12px; }
}
@media (max-height: 500px) {
  html .product-modal-backdrop { padding: 12px; }
  html .product-modal { max-height: calc(100dvh - 24px); }
}
