/* Website 2: home-screen sheet in O19 colours (the sheet itself lives in the website's custom head code). */
#pfc-a2hs-modal { font-family: inherit; border-radius: 12px; }
#pfc-a2hs-modal .pfc-a2hs-header { background: #14263D; }
#pfc-a2hs-modal .pfc-a2hs-btn { border-radius: 8px; }
#pfc-a2hs-modal .pfc-a2hs-btn-primary,
#pfc-a2hs-modal .pfc-a2hs-btn-primary:hover { background: #007D84; }
#pfc-a2hs-modal .pfc-a2hs-btn-secondary { color: #14263D !important; border-color: #14263D; }
#pfc-a2hs-modal .pfc-a2hs-close { width: 44px; height: 44px; top: 4px; right: 4px; }
html.o19-a2hs-wait #pfc-a2hs-modal,
html.o19-a2hs-wait #pfc-a2hs-backdrop { display: none !important; }

/* Website 2 phones: 44 px tap targets, short breadcrumbs, chat button kept clear. */
@media (max-width: 767.98px) {
  .o19-btn, .o19-button, .o19-site-header .o19-search-controls input,
  .o19-card-quantity input, .o19-order-controls input, .o19-product input[name="add_qty"],
  .o19-mobile-menu > summary, .o19-specifications > summary, .o19-sizes-link, .o19-sizes-link a,
  .o19-range-product a, .o19-hero-try a, .o19-category-all a, .o19-category-group a,
  .o19-catalogue .pagination a, #product_details .btn {
    min-height: 44px !important;
  }
  .o19-mobile-menu > summary { min-width: 44px !important; }
  html .o19-beta2-range-table .o19-order-controls button,
  html .o19-beta2-range-table .o19-order-controls input,
  #o19-home-search, .o_wsale_product_search_mobile_btn, .s_website_form .form-control, .s_website_form .s_website_form_send {
    min-height: 44px !important;
  }
  .o_wsale_product_search_mobile_btn { min-width: 44px; }
  /* Filter choices: the whole row toggles the box. */
  .o19-facet-options .form-check { display: flex; align-items: center; min-height: 44px; margin-bottom: 0 !important; }
  .o19-facet-options .form-check-label { flex: 1; padding-block: 12px; }
  /* Small text links: a 44 px touch area that does not move the layout. */
  .o19-shop-shortcuts a, .o19-utility-links a, .o19-breadcrumb-list a, .o19-facet-actions a,
  a.o19-back, .o19-back a, .o19-order-cell a, .o19-price a, .o19-quick-order a, .o19-inline-links a,
  .o19-home-contact a, a.o19-brand, #product_details p a, #product_details small a,
  #wrap a[href^="tel:"], #wrap a[href^="mailto:"] {
    position: relative;
  }
  .o19-shop-shortcuts a::before, .o19-utility-links a::before, .o19-breadcrumb-list a::before, .o19-facet-actions a::before,
  a.o19-back::before, .o19-back a::before, .o19-order-cell a::before, .o19-price a::before, .o19-quick-order a::before,
  .o19-inline-links a::before, .o19-home-contact a::before, a.o19-brand::before, #product_details p a::before,
  #product_details small a::before, #wrap a[href^="tel:"]::before, #wrap a[href^="mailto:"]::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 44px;
    transform: translateY(-50%);
  }
  /* Breadcrumbs: keep the parent and the current page on one line. */
  .o19-breadcrumb-list li:not(:nth-last-child(-n+2)) { display: none; }
  .o19-breadcrumb-list li:nth-last-child(2) .o19-breadcrumb-separator { display: none; }
  .o19-breadcrumb-list { flex-wrap: nowrap; overflow: hidden; }
  .o19-breadcrumb-list li { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  /* Chat button: hidden while a sheet or menu is open, or while it would cover an Add button. */
  html.o19-chat-clear .o-livechat-root::part(openChatButton),
  body.modal-open .o-livechat-root::part(openChatButton),
  body:has(.offcanvas.show) .o-livechat-root::part(openChatButton),
  body:has(.o19-mobile-menu[open]) .o-livechat-root::part(openChatButton),
  body:has(.o_cookies_discrete.show) .o-livechat-root::part(openChatButton),
  body:has(#pfc-a2hs-modal[style*="block"]) .o-livechat-root::part(openChatButton) {
    visibility: hidden;
    pointer-events: none;
  }
}