/* Loaded after the site and motion styles. Modern browsers retain their layout. */
* { --tx-row-gap: 0px; --tx-column-gap: 0px; }
.tx-mobile-nav, .tx-mobile-nav-space { display: none; }
.inquiry-popup { z-index: 1100; }
@media (max-width: 767px) {
    .tx-mobile-nav-space { display: block; height: 66px; height: calc(66px + constant(safe-area-inset-bottom)); height: calc(66px + env(safe-area-inset-bottom)); }
    .tx-mobile-nav { position: fixed; z-index: 1001; right: 0; bottom: 0; left: 0; display: flex; min-height: 64px; padding-bottom: 0; padding-bottom: constant(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #e6e3df; background: #fff; box-shadow: 0 -3px 16px rgba(23,32,29,.07); }
    .tx-mobile-nav a { display: flex; flex: 1 1 25%; min-width: 0; height: 64px; flex-direction: column; align-items: center; justify-content: center; color: #333; font: 12px/1.4 Arial, sans-serif; text-decoration: none; }
    .tx-mobile-nav a[aria-current="page"] { color: #de5528; }
    .tx-mobile-nav a:focus { outline: 2px solid #de5528; outline-offset: -3px; }
    .tx-mobile-nav svg { display: block; width: 21px; height: 21px; margin-bottom: 4px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    header.head .menu { max-height: calc(100vh - 144px); }
    .inquiry-popup { padding-bottom: 80px; padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}
/* Native gap remains active on Grid. Only measured flex containers use margins. */
.tx-no-flex-gap .tx-gap-row > :not([hidden]) { margin-right: var(--tx-flex-gap) !important; }
.tx-no-flex-gap .tx-gap-row > :last-child { margin-right: 0 !important; }
.tx-no-flex-gap .tx-gap-column > :not([hidden]) { margin-bottom: var(--tx-flex-gap) !important; }
.tx-no-flex-gap .tx-gap-column > :last-child { margin-bottom: 0 !important; }
@media (max-width: 992px) {
    .tx-no-flex-gap .Homecontact .contact-content > *, .tx-no-flex-gap .lanmux .lm-ctbig > * { margin-bottom: 12px; }
}
@supports not (aspect-ratio: 1 / 1) {
    /* Reserve image boxes even when their children are absolutely positioned. */
    .homeProductsSwiper .product-item { height: 36rem; }
    .partners .swiper-slide { height: 10rem; }
    .latest-product-img { height: 32rem; }
    .factory-capability .equipment-item { height: 24rem; }
    .texway-workflow .process-item { min-height: 220px; }
    .cert-item img, .factory-capability .cert-grid img { height: auto; }
    @media (max-width: 992px) {
        .Homeabout .about-video { height: 360px; }
        .products-page .featured-image { height: 320px; }
        .products-page .product-img { height: 280px; }
        .about-manufacturing .card-image.factoryBaseSwiper { height: 300px; }
    }
    @media (max-width: 480px) {
        .Homeabout .about-video { height: 260px; }
        .products-page .product-img { height: 210px; }
        .homeProductsSwiper .product-item { height: 300px; }
        .latest-product-img { height: 280px; }
    }
}
/* Safari 10.0 without Grid: readable columns; newer Safari keeps native Grid. */
.tx-no-grid .footer-main, .tx-no-grid .factory-grid, .tx-no-grid .why-grid,
.tx-no-grid .case-grid, .tx-no-grid .news-list, .tx-no-grid .product-grid,
.tx-no-grid .equipment-grid, .tx-no-grid .process-list, .tx-no-grid .cert-grid,
.tx-no-grid .company-profile .profile-wrapper, .tx-no-grid .products-layout,
.tx-no-grid .product-summary, .tx-no-grid .contact-info-box,
.tx-no-grid .factory-box, .tx-no-grid .factory-feature,
.tx-no-grid .customer-review-item, .tx-no-grid .featured-product,
.tx-no-grid .contact-message-grid, .tx-no-grid .product-mix { display: flex; flex-wrap: wrap; }
.tx-no-grid .footer-main > *, .tx-no-grid .factory-grid > *, .tx-no-grid .why-grid > *,
.tx-no-grid .case-grid > *, .tx-no-grid .news-list > *, .tx-no-grid .product-grid > *,
.tx-no-grid .equipment-grid > *, .tx-no-grid .process-list > *, .tx-no-grid .cert-grid > * {
    box-sizing: border-box; flex: 0 1 calc(50% - 24px); min-width: 0; margin: 0 12px 32px;
}
.tx-no-grid .profile-wrapper > *, .tx-no-grid .products-layout > *,
.tx-no-grid .product-summary > *, .tx-no-grid .contact-info-box > *,
.tx-no-grid .factory-box > *, .tx-no-grid .factory-feature > *,
.tx-no-grid .customer-review-item > *, .tx-no-grid .featured-product > *,
.tx-no-grid .contact-message-grid > *, .tx-no-grid .product-mix > * { width: 100%; min-width: 0; margin-bottom: 24px; }
.tx-no-grid .texway-workflow .workflow-icon { display: flex; align-items: center; justify-content: center; }
@media (max-width: 992px) {
    .tx-no-grid .footer-main > *, .tx-no-grid .factory-grid > *, .tx-no-grid .why-grid > *,
    .tx-no-grid .case-grid > *, .tx-no-grid .news-list > *, .tx-no-grid .process-list > * { flex-basis: 100%; margin-left: 0; margin-right: 0; }
}
/* Keep intrinsic long words from forcing old Grid tracks outside the viewport. */
.footer-column, .news-info, .product-info, .factory-content { word-wrap: break-word; }
