@media (max-width: 760px) {
  html body:not(.admin-body) main#top > section.hero.clone-section {
    height: clamp(210px, 56.25vw, 365px) !important;
    min-height: 0 !important;
    padding: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-color: #080808 !important;
    overflow: hidden !important;
  }

  html body:not(.admin-body) main#top > section.hero.clone-section .hero-inner.single-image-hero {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    background-size: cover !important;
    background-position: 62% center !important;
  }

  html body:not(.admin-body) main#top > section.hero.clone-section .hero-copy.hero-overlay {
    justify-content: flex-end !important;
    padding: 0 12px 22px !important;
  }

  html body:not(.admin-body) main#top > section.hero.clone-section .hero-copy .crumb,
  html body:not(.admin-body) main#top > section.hero.clone-section .hero-copy .lead {
    display: none !important;
  }

  html body:not(.admin-body) main#top > section.hero.clone-section .hero-copy h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    font-size: clamp(9px, 2.5vw, 13px) !important;
    line-height: 1.15 !important;
    letter-spacing: .01em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  html body:not(.admin-body) main#top > section.hero.clone-section .hero-actions .button.light {
    width: 150px !important;
    max-width: 150px !important;
    min-width: 132px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }

  html body:not(.admin-body) main#top > section.intro-block.clone-section {
    padding: 0 18px 34px !important;
  }

  html body:not(.admin-body) main#top > section.intro-block .two-column {
    padding: 0 !important;
  }

  html body:not(.admin-body) main#top > section.intro-block .intro-video {
    margin-top: 0 !important;
  }

  html body:not(.admin-body) main.product-detail-page .product-detail .thumb-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 10px 0 4px !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
  }

  html body:not(.admin-body) main.product-detail-page #mainProductPhoto {
    touch-action: pan-y !important;
    overscroll-behavior-x: contain !important;
    user-select: none !important;
    -webkit-user-select: none !important;
  }

  html body:not(.admin-body) main.product-detail-page .product-detail .thumb-row::-webkit-scrollbar {
    display: none !important;
  }

  html body:not(.admin-body) main.product-detail-page .product-detail .thumb-row button {
    flex: 0 0 72px !important;
    width: 72px !important;
    min-width: 72px !important;
    height: 72px !important;
    padding: 0 !important;
    scroll-snap-align: start !important;
  }

  html body:not(.admin-body) main.product-detail-page .product-detail .thumb-row button img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  html body:not(.admin-body) header.topbar .mobile-search-button {
    position: absolute !important;
    top: 8px !important;
    left: 52px !important;
    z-index: 5003 !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 21px !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  html body:not(.admin-body) header.topbar .mobile-search-button:focus-visible {
    outline: 2px solid #111 !important;
    outline-offset: 1px !important;
  }

  html body:not(.admin-body) header.topbar .mobile-search-button svg {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    overflow: visible !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  html body:not(.admin-body) #searchModal {
    align-items: start !important;
    padding: 70px 12px 12px !important;
  }

  html body:not(.admin-body) #searchModal .modal-panel {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 430px !important;
    max-height: calc(100dvh - 82px) !important;
    padding: 22px 18px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  html body:not(.admin-body) #searchModal .modal-panel h2 {
    margin: 0 40px 14px 0 !important;
    font-size: 28px !important;
    line-height: 1.05 !important;
  }

  html body:not(.admin-body) #searchModal .site-search-input {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 10px !important;
    font-size: 14px !important;
  }

  html body:not(.admin-body) #searchModal .search-results a {
    overflow-wrap: anywhere !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  html body:not(.admin-body) #products .style-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 28px !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity !important;
    padding: 0 20px 14px !important;
    scrollbar-width: none !important;
  }

  html body:not(.admin-body) #products .style-tabs::-webkit-scrollbar,
  html body:not(.admin-body) #products .product-grid::-webkit-scrollbar { display: none !important; }
  html body:not(.admin-body) #products .style-tabs button { flex: 0 0 auto !important; white-space: nowrap !important; }

  html body:not(.admin-body) #products .product-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    padding: 0 20px 12px !important;
    scrollbar-width: none !important;
  }

  html body:not(.admin-body) #products .product-grid .product-tile {
    flex: 0 0 min(74vw, 300px) !important;
    width: min(74vw, 300px) !important;
    scroll-snap-align: start !important;
  }

  html body:not(.admin-body) #process .timeline { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; }
  html body:not(.admin-body) #process .timeline article,
  html body:not(.admin-body) #process .process-card-bg { width: 100% !important; height: auto !important; min-height: 164px !important; }

  html body:not(.admin-body) #process .process-card-bg {
    position: relative !important;
    display: block !important;
    padding: 16px 14px 16px calc(42% + 14px) !important;
    overflow: hidden !important;
    color: #111 !important;
    background: #fff !important;
  }

  html body:not(.admin-body) #process .process-card-bg::before {
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    display: block !important;
    width: 42% !important;
    height: 100% !important;
    min-height: 100% !important;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    transform: none !important;
    content: "" !important;
  }

  html body:not(.admin-body) #process .process-card-bg > * { position: relative !important; z-index: 2 !important; }
  html body:not(.admin-body) #process .process-card-bg span { display: grid !important; width: 34px !important; height: 34px !important; margin: 0 0 8px !important; font-size: 15px !important; }
  html body:not(.admin-body) #process .process-card-bg h3 { display: block !important; margin: 0 0 7px !important; color: #111 !important; font-size: 18px !important; line-height: 1.15 !important; overflow-wrap: anywhere !important; }
  html body:not(.admin-body) #process .process-card-bg p { display: block !important; margin: 0 !important; color: #666 !important; font-size: 13px !important; line-height: 1.38 !important; overflow: visible !important; white-space: normal !important; }

  html body:not(.admin-body) .product-info .icon-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 16px 0 18px !important;
    padding: 0 !important;
    list-style: none !important;
  }

  html body:not(.admin-body) .product-info .icon-list li {
    position: relative !important;
    min-height: 74px !important;
    padding: 34px 8px 9px !important;
    border: 1px solid #e2e2e2 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  html body:not(.admin-body) .product-info .icon-list li::before {
    position: absolute !important;
    top: 9px !important;
    left: 50% !important;
    display: grid !important;
    place-items: center !important;
    width: 20px !important;
    height: 20px !important;
    border: 1.5px solid #333 !important;
    border-radius: 50% !important;
    content: "✓" !important;
    font-size: 13px !important;
    transform: translateX(-50%) !important;
  }

  html body:not(.admin-body) #inquiryModal { align-items: center !important; padding: 10px !important; }
  html body:not(.admin-body) #inquiryModal .inquiry-panel { width: min(100%, 430px) !important; max-height: calc(100dvh - 20px) !important; padding: 18px 16px !important; overflow-y: auto !important; }
  html body:not(.admin-body) #inquiryModal .modal-close { position: sticky !important; top: 0 !important; z-index: 4 !important; float: right !important; width: 34px !important; height: 34px !important; margin: -4px -4px 0 8px !important; border-radius: 50% !important; background: #fff !important; font-size: 25px !important; line-height: 32px !important; }
  html body:not(.admin-body) #inquiryModal h2 { margin: 0 40px 12px 0 !important; font-size: 26px !important; line-height: 1.05 !important; }
  html body:not(.admin-body) #inquiryModal input,
  html body:not(.admin-body) #inquiryModal textarea { min-height: 42px !important; margin-bottom: 8px !important; padding: 9px 11px !important; font-size: 14px !important; }
  html body:not(.admin-body) #inquiryModal .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 7px 10px !important; margin: 4px 0 10px !important; }
  html body:not(.admin-body) #inquiryModal .role-grid label { display: grid !important; grid-template-columns: 18px 1fr !important; gap: 7px !important; align-items: start !important; min-width: 0 !important; font-size: 12px !important; line-height: 1.25 !important; }
  html body:not(.admin-body) #inquiryModal .role-grid input[type="checkbox"] { width: 16px !important; height: 16px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; accent-color: #111 !important; }
  html body:not(.admin-body) #inquiryModal textarea { min-height: 82px !important; }
  html body:not(.admin-body) #inquiryModal .upload-box { min-height: 54px !important; margin-top: 2px !important; padding: 7px !important; font-size: 12px !important; }
  html body:not(.admin-body) #inquiryModal .modal-actions { gap: 8px !important; margin-top: 10px !important; }
}

/* Keep the inquiry form usable inside short/older mobile in-app browsers.
   A bottom sheet avoids Safari/Instagram centering the dialog above the
   actually visible viewport, and the sticky close control never scrolls away. */
@media (max-width: 760px) {
  html body.inquiry-modal-open {
    overflow: hidden !important;
  }

  html body.inquiry-modal-open .floating-tools,
  html body.inquiry-modal-open .mobile-whatsapp-global,
  html body.inquiry-modal-open .topbar-button {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  html body:not(.admin-body) #inquiryModal.active {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 8px 8px 0 !important;
    overflow: hidden !important;
  }

  html body:not(.admin-body) #inquiryModal .inquiry-panel {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 430px !important;
    max-height: 76vh !important;
    max-height: 76svh !important;
    margin: 0 !important;
    padding: 10px 12px 14px !important;
    border-radius: 14px 14px 0 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  html body:not(.admin-body) #inquiryModal .modal-close {
    position: sticky !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 30 !important;
    display: grid !important;
    float: right !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 0 2px 8px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18) !important;
    cursor: pointer !important;
  }

  html body:not(.admin-body) #inquiryModal h2 {
    margin: 5px 48px 10px 0 !important;
    font-size: 23px !important;
    line-height: 1.08 !important;
  }

  html body:not(.admin-body) #inquiryModal input,
  html body:not(.admin-body) #inquiryModal select,
  html body:not(.admin-body) #inquiryModal textarea {
    box-sizing: border-box !important;
    min-height: 40px !important;
    margin-bottom: 7px !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
  }

  html body:not(.admin-body) #inquiryModal .role-grid {
    gap: 6px 9px !important;
    margin: 2px 0 8px !important;
  }

  html body:not(.admin-body) #inquiryModal textarea {
    min-height: 72px !important;
  }

  html body:not(.admin-body) #inquiryModal .whatsapp-format-note,
  html body:not(.admin-body) #inquiryModal .inquiry-upload-note {
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  html body:not(.admin-body) #inquiryModal .modal-actions {
    gap: 7px !important;
    margin-top: 8px !important;
  }

  html body:not(.admin-body) #inquiryModal .modal-actions .button {
    min-height: 42px !important;
    height: 42px !important;
  }
}

/* Responsive factory introduction video: desktop and mobile use separate optimized files. */
html body:not(.admin-body) main#top .intro-block .intro-video {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #000 !important;
}

html body:not(.admin-body) main#top .intro-block .intro-production-video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  background: #000 !important;
}

html body:not(.admin-body) main#top .intro-block .intro-video > .play,
html body:not(.admin-body) main#top .intro-block .intro-video > strong,
html body:not(.admin-body) main#top .intro-block .intro-video > small {
  display: none !important;
}

@media (min-width: 761px) {
  html body:not(.admin-body) header.topbar .mobile-search-button {
    display: none !important;
  }
}

/* Quote list: keep product thumbnail, title and remove control inside the mobile viewport. */
@media (max-width: 760px) {
  html body:not(.admin-body) #quoteModal {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 12px !important;
    overflow-x: hidden !important;
  }

  html body:not(.admin-body) #quoteModal .modal-panel {
    box-sizing: border-box !important;
    width: min(100%, 430px) !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 24px) !important;
    padding: 22px 16px 16px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  html body:not(.admin-body) #quoteModal .quote-list-content,
  html body:not(.admin-body) #quoteModal .quote-list-content ul {
    min-width: 0 !important;
    width: 100% !important;
  }

  html body:not(.admin-body) #quoteModal .quote-list-content li {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html body:not(.admin-body) #quoteModal .quote-item-product {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 9px !important;
    min-width: 0 !important;
  }

  html body:not(.admin-body) #quoteModal .quote-item-image {
    width: 64px !important;
    height: 78px !important;
    object-fit: contain !important;
  }

  html body:not(.admin-body) #quoteModal .quote-item-copy,
  html body:not(.admin-body) #quoteModal .quote-item-copy strong {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  html body:not(.admin-body) #quoteModal .remove-quote-item {
    min-width: 52px !important;
    padding: 0 7px !important;
    font-size: 11px !important;
  }
}

/* Visually balance centered multi-line headings on narrow phones. */
@media (max-width: 760px) {
  html body:not(.admin-body) main#top .applications-section > .section-title.center,
  html body:not(.admin-body) main#top .faq-wrap > .section-title.center,
  html body:not(.admin-body) main#top .promise > .promise-head {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
  }

  html body:not(.admin-body) main#top .applications-section > .section-title.center .kicker,
  html body:not(.admin-body) main#top .applications-section > .section-title.center h2,
  html body:not(.admin-body) main#top .faq-wrap > .section-title.center .kicker,
  html body:not(.admin-body) main#top .faq-wrap > .section-title.center h2,
  html body:not(.admin-body) main#top .promise > .promise-head .kicker,
  html body:not(.admin-body) main#top .promise > .promise-head h2 {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
    text-wrap: balance !important;
  }

  html body:not(.admin-body) main#top .promise > .promise-head > p:not(.kicker) {
    box-sizing: border-box !important;
    width: min(100%, 340px) !important;
    max-width: 340px !important;
    margin: 18px auto 0 !important;
    padding: 0 !important;
    text-align: center !important;
    text-wrap: balance !important;
  }
}
