/* Shared mobile contact capsule, approved in the CINTRL mobile preview. */
.cintrl-mobile-contact { display: none; }
@media (max-width: 767px) {
  body.cintrl-has-mobile-contact {
    --mobile-contact-clearance: calc(100px + env(safe-area-inset-bottom, 0px));
    padding-bottom: var(--mobile-contact-clearance);
  }
  body .cintrl-mobile-contact {
    box-sizing: border-box;
    position: fixed;
    z-index: 94;
    inset: auto 12px max(12px, env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: 1fr 1.16fr 1fr;
    gap: 7px;
    width: auto;
    height: auto;
    max-width: 560px;
    margin: 0 auto;
    padding: 10px;
    border: 0;
    border-radius: 999px;
    background:#fff;
    box-shadow: 0 8px 28px #18222924;
    font:400 12px/1.2 var(--cintrl-font);
  }
  .cintrl-mobile-contact *, .cintrl-mobile-contact *::before { box-sizing: border-box; }
  body .cintrl-mobile-contact > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 5px 6px;
    border: 0;
    border-radius: 999px;
    background:#f3f3f3;
    color:#111;
    font:inherit;
    text-decoration: none;
    white-space: nowrap;
  }
  .cintrl-mobile-contact-icon {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background:#050505;
  }
  .cintrl-mobile-contact-icon svg { display: block; width: 23px; height: 23px; }
  body .cintrl-mobile-contact > a:hover { background:#e9e9e9; }
  body .cintrl-mobile-contact > a:focus-visible { outline: 3px solid #ff4610; outline-offset: 2px; }
  body.cintrl-has-mobile-contact .cintrl-chat-launcher,
  body.cintrl-has-mobile-contact .cintrl-product-actions,
  body.cintrl-has-mobile-contact .mobile-cta { display: none !important; }
  body.cintrl-dialog-open .cintrl-mobile-contact,
  body.cintrl-overlay-open .cintrl-mobile-contact,
  body.enquiry-editing .cintrl-mobile-contact,
  body.catalog-filter-open .cintrl-mobile-contact { display: none; }
  body.cintrl-has-mobile-contact .compare-tray,
  body.cintrl-has-mobile-contact .measurement-panel {
    bottom: var(--mobile-contact-clearance) !important;
  }
  body.cintrl-has-mobile-contact .compare-toast { bottom: calc(var(--mobile-contact-clearance) + 80px); }
}
@media (min-width: 480px) and (max-width: 767px) {
  body .cintrl-mobile-contact { gap: 12px; padding: 12px; font-size: 14px; }
  body .cintrl-mobile-contact > a { gap: 10px; min-height: 54px; }
  .cintrl-mobile-contact-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .cintrl-mobile-contact-icon svg { width: 28px; height: 28px; }
}
@media (max-width: 360px) {
  body .cintrl-mobile-contact { inset-inline: 8px; gap: 5px; padding: 8px; font-size: 12px; }
  body .cintrl-mobile-contact > a { gap: 4px; padding-inline: 3px; }
  .cintrl-mobile-contact-icon { flex-basis: 28px; width: 28px; height: 28px; }
  .cintrl-mobile-contact-icon svg { width: 21px; height: 21px; }
}

@media(max-width:600px){body.cintrl-has-mobile-contact .measurement-panel{bottom:max(8px,env(safe-area-inset-bottom,0px))!important}.cintrl-measurement-open .cintrl-mobile-contact,.cintrl-measurement-open .compare-tray,.cintrl-measurement-open .cintrl-chat-launcher,.cintrl-measurement-open .cintrl-chat-status{display:none!important}}

/* 2026-11-14 approved: hide the capsule while the product hero and its buttons are on screen. */
@media (max-width: 767px) {
  body .cintrl-mobile-contact { transition: transform .2s ease, opacity .2s ease; }
  body.cintrl-contact-after-hero .cintrl-mobile-contact { opacity: 0; transform: translateY(calc(100% + 24px)); pointer-events: none; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  body .cintrl-mobile-contact { transition: none; }
}

/* Approved comparison item 3 (original 08): readable labels and visible focus. */
@media(max-width:767px){
 body .cintrl-mobile-contact{grid-template-columns:1fr 1.8fr 1.2fr!important;max-height:none!important;height:auto!important;border-radius:24px!important}
 body .cintrl-mobile-contact>a{flex-direction:column!important;gap:5px!important;white-space:normal!important;border-radius:16px!important;padding:7px 4px!important;min-width:0!important}
 body .cintrl-mobile-contact>a>span[lang]{display:block!important;max-width:100%;overflow-wrap:break-word;word-break:normal;line-height:1.15;text-align:center}
 html:has(body.cintrl-has-mobile-contact){scroll-padding-bottom:var(--cintrl-contact-scroll-clearance,110px)}
 body.cintrl-has-mobile-contact main a,
 body.cintrl-has-mobile-contact main button,
 body.cintrl-has-mobile-contact main input,
 body.cintrl-has-mobile-contact main select,
 body.cintrl-has-mobile-contact main textarea,
 body.cintrl-has-mobile-contact main summary{scroll-margin-bottom:var(--cintrl-contact-scroll-clearance,110px)}
}
