/* Shared responsive refinements. Desktop composition remains in each page stylesheet. */
.inner-banner-mobile-image, .mobile-category-toggle { display: none; }
body .daotop { display: none; }
.mbfootdw .mobile-social-icon { display: block; width: 22px; height: 22px; margin: 0 auto 3px; color: #fff; }
.headqt .mb_btn { background: transparent; color: #333; }
.products-empty { padding: 28px 0; color: #777; line-height: 1.7; }
.products-empty a { color: #b72b34; text-decoration: underline; }
.products-empty + .nycqlbrbox_ct { margin-top: 0; }

@media (max-width: 991px) {
  html { scroll-padding-top: 82px; scroll-padding-bottom: 90px; }
  .headqt .mb_btn { min-width: 44px; min-height: 44px; padding: 0; }
  .headqt_search_toggle { justify-content: center; width: 44px; }
  .headqt_email { min-width: 44px; }
  .headqt_ss { position: static; }
  .heads .headqt_ssdw { top: 100%; transform: none; left: 20px; right: 20px; width: auto; max-width: none; }
  .heads .headqt_ssdw.on { width: auto; }
  .headqt_ssdwbox { width: 100%; }
  .heads .headqt_ssdwboxsr { min-width: 0; flex: 1; width: 100%; font-size: 16px; }
  .headqt_ssdwboxtj { flex-shrink: 0; }
  .a_txt .div3 { padding-bottom: calc(30px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  .a_txt .mblink_itema { min-width: 0; }
  .a_txt .mobile-product-nav a { min-height: 44px; line-height: 1.5; }
  .news .new_item, .news .newsct { margin-left: 0; margin-right: 0; }
  .news .newsct { padding: 0; }
  .news .newsct_l, .news .newsct_r { padding-left: 0; padding-right: 0; }
  .news .newsct_lh, .news .newsct_ritembox_titleh { white-space: normal; word-break: normal; line-height: 1.45; }
  .news .newsct_lp { word-break: normal; font-size: 14px; line-height: 1.6; }
  .news .newsct_limg { height: auto; }
  .news .newsct_limg img { height: auto; object-fit: contain; }
  .news .newsct_r .newsct_ritem { height: auto; min-height: 76px; padding: 18px 0; }
  .news .newsct_ritembox_title { gap: 8px 16px; flex-wrap: wrap; }
  .news .newsct_ritembox_titleh { flex: 1 1 220px; }
  .products .products_prev.swiper-button-lock, .products .products_next.swiper-button-lock { display: none; }
  .nycqlb .nycqlbbox { flex-wrap: wrap; }
  .nycqlb .nycqlbl { order: 0; flex: 0 0 100%; max-width: 100%; margin: 24px 0 0; }
  .nycqlb .nycqlbr { order: 1; min-width: 0; padding-bottom: 40px; }
  .nycqlbl .nycqlbldw { display: none; }
  .mobile-category-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 12px 16px; background: #f2f0ec; border: 1px solid #e2ded7; color: #333; font: 16px/1.4 pn-r,sans-serif; text-align: left; }
  .mobile-category-toggle span { margin-left: 16px; font-size: 24px; line-height: 1; }
  .nycqlbl #product-category-tree { display: none; padding: 8px 16px; }
  .nycqlbl #product-category-tree.is-expanded { display: block; }
  .nycqlbr .nycqlbrbox { padding-top: 24px; margin-left: 0; margin-right: 0; }
  .nycqlbr .nycqlbrbox_titlet { flex-wrap: wrap; gap: 18px; }
  .nycqlbr .nycqlbrbox_titleth { text-align: left; font-size: 26px; line-height: 1.25; overflow-wrap: anywhere; }
  .nycqlbr .nycqlbrbox_titletss { display: block; }
  .nycqlbr .nycqlbrbox_titleb { width: 100%; line-height: 1.6; word-break: normal; overflow-wrap: anywhere; }
  .nycqlbr .nycqlbrbox_titleb:empty { padding: 0 0 20px; }
  .nycqlbr .nycqlbrbox_ct { margin-top: 24px; }
  .nycqlbr .nycqlbrbox_ctatxt { padding: 12px 4px; }
  .nycqlbr .nycqlbrbox_ctatxtct { font-size: 16px; line-height: 1.45; }
  .contact-page .contactbd > .row > .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
  .contact-page .contact-information { padding-right: 15px; }
  .contact-page .lybd > .container { max-width: none; padding: 0; }
  .contact-page .lybd > .container > .row { margin: 0; }
  .contact-page .lybd_ctbdl_itemr input, .contact-page textarea, .inquiry-captcha input { font-size: 16px; }
  .contact-page .inquiry-captcha-controls input { flex: 1; max-width: 170px; }
  .contact-page .inquiry-captcha-controls button { flex-shrink: 0; }
  .video-detail video { height: auto; max-height: 65dvh; aspect-ratio: 16 / 9; object-fit: contain; }
  .video-modal .video-modal-close { min-width: 44px; min-height: 44px; }
  .foot .foot_title_itemtxt { min-width: 0; }
  .foot .foot_title_itemtxt p { overflow-wrap: anywhere; }
  .mbfoot .mbfootdw { height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
  body .mbfoot { height: calc(60px + env(safe-area-inset-bottom)); }
  body .daotop { position: fixed; width: 44px; height: 44px; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 11; }
  .daotop .cndns-right-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(51,51,51,.82); color: #fff; }
  .daotop .cndns-right-btn .iconfont { padding: 0; line-height: 1; color: inherit; }
  body .cndns-right { display: none !important; }
  button:focus-visible, a:focus-visible { outline: 2px solid var(--gd-accent, #bc5635); outline-offset: 3px; }
}

@media (max-width: 767px) {
  /* Keep gutters even when a Bootstrap row has no column wrapper. */
  .container { padding-left: 24px; padding-right: 24px; }
  .container > .row { margin-left: 0; margin-right: 0; }
  .heads .container { padding-left: 20px; padding-right: 12px; }
  .headqt_email span { display: none; }
  .headqt_email + .headqt_ss, .headqt .mb_btn { margin-left: 0; }
  .headqt_ss > .headqt_search_toggle .iconfont { margin-right: 0; }
  /* Put the title and image in the same grid row, with breadcrumbs below. */
  .inner-banner { display: grid; grid-template-columns: minmax(0, 1fr); background-image: none !important; background-color: #f6f3ed; }
  .inner-banner > .container { grid-area: 1 / 1; z-index: 1; width: 100%; max-width: none; background: linear-gradient(90deg,rgba(250,247,241,.82),rgba(250,247,241,.38) 55%,transparent); }
  .inner-banner .inner-banner-heading { height: auto; min-height: 0; padding: 24px 0; }
  .inner-banner-has-image .inner-banner-heading { min-height: clamp(180px,33.333vw,256px); }
  .inner-banner .inner-banner-copy { align-self: auto; max-width: 100%; margin: 0; }
  .inner-banner .inner-banner-title, .inner-banner .inner-product-title, .inner-banner .inner-blog-title { display: block; max-width: 75%; margin: 0; padding: 0; text-align: left; font-size: clamp(25px,6.7vw,30px); line-height: 1.16; letter-spacing: -.4px; background: none; overflow-wrap: break-word; }
  .inner-banner .inner-company-eyebrow, .inner-banner .inner-product-eyebrow, .inner-banner .inner-blog-eyebrow,
  .inner-banner .inner-company-description, .inner-banner .inner-product-description, .inner-banner .inner-blog-description,
  .inner-banner .inner-banner-accent { display: none; }
  .inner-banner > .inner-banner-mobile-image { display: block; grid-area: 1 / 1; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; }
  .inner-banner > .inner-breadcrumb { grid-area: 2 / 1; }
  .company-gallery-page .inner-banner::before { display: none; }
  .inner-breadcrumb-row { height: auto; min-height: 44px; padding: 10px 0; }
  .inner-breadcrumb-links { flex-wrap: wrap; gap: 4px 0; white-space: normal; overflow: visible; line-height: 1.5; }
  .inner-breadcrumb-links > a, .inner-breadcrumb-links > span { flex-shrink: 1; font-size: 12px; overflow-wrap: anywhere; }
  .inner-breadcrumb-links > i { margin: 0 6px; font-size: 10px; }
  .nycqlb .nycqlbr { padding-left: 0; padding-right: 0; }
  .nycqlbr .nycqlbrbox_titlet { display: block; }
  .nycqlbr .nycqlbrbox_titleth { font-size: 24px; }
  .nycqlbr .nycqlbrbox_titletss { margin-top: 16px; width: 100%; }
  .nycqlbrbox_titletssbox_sr { min-width: 0; flex: 1; width: 100%; font-size: 16px; height: 44px; }
  .nycqlbrbox_titletssbox_tj { flex: 0 0 48px; height: 44px; }
  .nycqlbr .nycqlbrbox_ct { gap: 22px 14px; }
  .nycqlbr .nycqlbrbox_ct .nycqlbrbox_cta { width: calc((100% - 14px)/2); margin: 0; }
  .nycqlbr .nycqlbrbox_ctatxtct { font-size: 15px; }
  .nyfybox { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .nyfybox a { min-width: 40px; min-height: 40px; margin: 0; }
  .cpmbx .cpmbxbox { padding: 12px 24px !important; height: auto; gap: 10px; align-items: flex-start; }
  .cpmbx .cpmbxboxnav { padding: 0; width: 100%; flex-wrap: wrap; white-space: normal; overflow: visible; line-height: 1.65; }
  .cpmbxboxnav a, .cpmbxboxnav span { flex-shrink: 1; font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
  .cpmbx .cpmbxboxfh { margin-left: 0; }
  .cpmbxboxfh .cpmbxboxfha { min-height: 40px; padding: 0 14px; }
  .nbcpxq { padding: 28px 0 32px; }
  .nbcpxqboxr { padding-top: 24px; }
  .nbcpxqboxr .nbcpxqboxr_titleh { font-size: 23px; line-height: 1.3; word-break: normal; overflow-wrap: break-word; }
  .nbcpxqboxr .nbcpxqboxr_title { padding-bottom: 18px; }
  .nbcpxqboxr .nbcpxqboxr_link { margin: 22px 0 0; }
  .nbcpxqboxr .nbcpxqboxr_linka { width: 100%; margin-right: 0; }
  .nbcpxqboxr_linka a { min-height: 48px; }
  .nbcpxqboxr_linkabox span { font-size: 17px; }
  .nbcqcs .nbcqcsboxl { padding-left: 0; padding-right: 0; }
  .nbcqcsb_slideitem { overflow-x: auto; overflow-wrap: anywhere; }
  .nbcqcsb_slideitem img { max-width: 100%; height: auto !important; }
  .products .products_prev.swiper-button-lock, .products .products_next.swiper-button-lock { display: none; }
  .productst_slide .productst_caption { padding: 26px 8px 12px; font-size: 15px; line-height: 1.35; }
  .home-product-advantages .productsb_slideitem_dg { padding: 20px 0; }
  .home-product-advantages h3 { font-size: 20px; }
  .bannergl .container { padding: 0 20px; }
  .bannergl .bannerglbox, .bannergl .bannerglbox.on { transform: none; height: auto; min-height: 56px; padding: 6px 12px; }
  .bannergl .bannerglbox_l { flex: 1; width: auto; min-width: 0; }
  .bannergl .bannerglbox_lp { white-space: normal; font-size: 12px; line-height: 1.3; }
  .bannergl .bannerglbox_c, .bannergl .bannerglbox_rx { display: none; }
  .bannergl .bannerglbox_r { width: auto; flex-shrink: 0; margin-left: 8px; }
  .bannerglbox_rpre, .bannerglbox_rnext { width: 36px; height: 44px; }
  .products { margin-top: 0; padding-top: 38px; }
  .home-about { padding: 0 0 26px; background: #f4f4f4; }
  .home-about .home-about-visual { position: relative; inset: auto; width: 100%; height: auto; }
  .home-about-visual img { height: auto; object-fit: contain; }
  .home-about .home-about-inner { margin-top: 0; width: 100%; }
  .home-about .home-about-copy { width: 100%; padding: 30px 24px; border-radius: 0; }
  .home-about h2 { font-size: 28px; }
  .home-about-note { font-size: 15px; }
  .home-about .home-company-button, .home-about .home-company-secondary { min-height: 48px; }
  .home-why .home-why-panel { grid-template-columns: 1fr; min-height: 0; }
  .home-why .home-why-copy { min-height: 0; padding: 26px 22px; }
  .home-why h3 { font-size: 24px; }
  .home-why .home-why-photo { height: auto; }
  .home-why-photo img { position: static; height: auto; object-fit: contain; }
  .company-intro, .company-show { grid-template-columns: 1fr; }
  .company-prose { max-height: none; overflow: visible; }
  .company-stats .company-wrap { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 0; }
  .company-stats .company-wrap > div:nth-child(3) { border: 0; }
  .company-credential-grid { grid-template-columns: 1fr; }
  .company-intro .company-intro-visual > img, .company-show-photo img { height: auto; min-height: 0; max-height: none; aspect-ratio: auto; object-fit: contain; }
  .company-wrap, .gallery-wrap, .home-why-layout { width: calc(100% - 48px); }
  .company-page .company-intro-copy, .company-show-menu { padding: 32px 24px; }
  .company-page .company-intro h2, .company-page .company-section-heading h2, .company-page .company-show h2 { font-size: 27px; line-height: 1.25; }
  .company-capability-grid article { padding: 24px 20px; }
  .company-credential-copy { margin-left: 20px; margin-right: 20px; }
  .blog-main .blog-section-heading h2, .videos-heading h2 { font-size: 27px; line-height: 1.25; }
  .blog-article header h1 { font-size: 28px; line-height: 1.22; letter-spacing: -.3px; }
  .blog-prose { font-size: 16px; line-height: 1.8; }
  .blog-prose h2 { font-size: 23px; }
  .blog-card h3 { font-size: 23px; }
  .blog-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .blog-article-image { object-fit: contain; }
  .blog-article-nav { grid-template-columns: 1fr; gap: 24px; }
  .blog-sidebar-contact { padding: 24px 20px; }
  .blog-cta h2, .blog-sidebar-contact h2 { font-size: 25px; }
  .blog-tabs a { min-height: 42px; display: inline-flex; align-items: center; }
  .gallery-heading { gap: 12px; align-items: flex-start; }
  .gallery-heading h2 { font-size: 23px; }
  .gallery-heading > span { flex-shrink: 0; padding-top: 5px; }
  .video-card-image img { object-fit: contain; }
  .contact-page .contactbd { padding-top: 36px; padding-bottom: 40px; }
  .contact-page .contactbd > .row > .col-sm-6 { padding-left: 0; padding-right: 0; }
  .contact-page .zblxfs_titlet h2 { font-size: 27px; }
  .contact-page .contact-company { font-size: 22px; }
  .contact-page .contact-detail { grid-template-columns: 112px minmax(0,1fr); gap: 12px; }
  .contact-page .contact-map-canvas iframe { height: 300px; }
  .contact-page .lybd_ctbdb { display: flex; gap: 14px; }
  .contact-page .lybd_ctbdb > input { width: auto; min-height: 46px; flex: 1; margin: 0; font-size: 16px; }
  .foot .foot_ct { padding: 0 24px 22px; }
  .foot .foot_title_itemtxt p { font-size: 17px; line-height: 1.4; }
  .foot .foot_cl { padding: 30px 0; }
  .foot .foot_cllogo { margin: 0; }
  .foot .foot_cl .foot_cllogoimg img { width: 112px; }
  .foot .foot_ctbox { margin-top: 0; }
  .foot .foot_ctbox > .row { margin: 0; }
  .foot .foot_db { padding: 22px 24px; line-height: 1.6; }
  .foot .foot_db > div, .foot .foot_db a { color: #777; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .home-product-advantages .productsb_slideitem_dg { flex-direction: column; align-items: flex-start; }
  .home-product-advantages .productsb_slideitem_dgi { flex-basis: auto; }
  .home-company-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 0; }
  .home-company-stats > div:nth-child(3)::before { display: none; }
  .home-about { padding: 0 0 32px; background: #f4f4f4; }
  .home-about-visual { position: relative; inset: auto; width: 100%; }
  .home-about-visual img { height: auto; object-fit: contain; }
  .home-about-image-label { display: none; }
  .home-about-inner { width: 90%; margin-top: -30px; }
  .home-about-copy { width: 100%; padding: 36px; }
  .company-intro, .company-show { grid-template-columns: 1fr; }
  .company-intro-visual > img { height: auto; min-height: 0; max-height: none; aspect-ratio: auto; }
  .company-prose { max-height: none; overflow: visible; }
  .company-stats .company-wrap { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 0; }
  .company-stats .company-wrap > div:nth-child(3) { border: 0; }
  .company-credential-grid { grid-template-columns: 1fr; }
  .company-credential-card { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: center; }
  .company-credential-copy { border-top: 0; }
  .company-credential-logo { margin: 0 20px; }
}

@media (max-width: 359px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .company-wrap, .gallery-wrap, .home-why-layout { width: calc(100% - 40px); }
  .contact-page .contact-detail { grid-template-columns: 1fr; gap: 5px; }
  .contact-detail dd { padding-left: 27px; }
  .home-about-actions { flex-direction: column; gap: 8px; }
  .gallery-heading { flex-wrap: wrap; }
}
