html {
    scroll-behavior: smooth;
}

.zm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

section[id],
#products,
#contact {
    scroll-margin-top: 110px;
}
#certificates,
#factory,
#process,
#products,
#contact {
    scroll-margin-top: 0;
}

[id^="p-"] {
    scroll-margin-top: 130px;
}
.main-header-three__top-text-box > span {
    flex: none;
}

@media (min-width: 1200px) {

    .main-menu-three__logo {
        margin-right: 40px;
    }

    .main-menu__list > li {
        padding-top: 33px;
        padding-bottom: 33px;
    }

    .main-menu__list > li + li {
        margin-left: 30px;
    }

    .main-menu__list > li > a {
        font-size: 15px;
        font-weight: 600;
        letter-spacing: .01em;
    }

    .main-menu__list > li.dropdown > a::after {
        content: "";
        display: inline-block;
        width: 6px;
        height: 6px;
        margin: -3px 0 0 8px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        opacity: .65;
        transition: transform .3s ease;
    }

    .main-menu__list > li.dropdown:hover > a::after {
        transform: rotate(225deg) translate(-1px, -1px);
    }

    .main-menu__list > li.dropdown:focus-within > ul {
        opacity: 1;
        visibility: visible;
        transform: scaleY(1) translateZ(0);
    }

    .main-menu-three__right {
        display: flex;
        align-items: stretch;
        align-self: stretch;
    }

    .main-menu-three__right-content {
        align-items: stretch;
    }

    .main-menu-three__btn {
        padding: 11px 24px 10px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .main-menu-three__support {
        display: none;
    }

    .main-menu-three__support-btn {
        padding-left: 35px;
        padding-right: 35px;
    }

    .main-menu__list > li + li {
        margin-left: 22px;
    }

    .main-menu-three__logo {
        margin-right: 26px;
    }

    .main-menu__list > li > a {
        font-size: 14px;
    }
}
@media (min-width: 1200px) {
    .main-menu-three .main-menu__list > li > ul > li > a,
    .main-menu-three .main-menu__list > li > ul > li > ul > li > a {
        font-size: 15px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .main-menu-three .main-menu__list > li > ul > li > a,
    .main-menu-three .main-menu__list > li > ul > li > ul > li > a {
        font-size: 14px;
    }
}
@media (min-width: 1200px) {
    .main-menu__list > li.zm-products > ul.zm-products-menu {
        min-width: 250px;
    }

    .main-menu__list > li.zm-products > ul.zm-products-menu > li.dropdown > a::after {
        content: "";
        flex: none;
        align-self: center;
        width: 7px;
        height: 7px;
        margin-left: auto;
        border-top: 1.5px solid currentColor;
        border-right: 1.5px solid currentColor;
        transform: rotate(45deg);
        opacity: .55;
    }
    .main-menu__list > li.zm-products > ul.zm-products-menu > li > ul {
        top: 0;
        left: 100%;
        min-width: 360px;
    }

    .main-menu__list > li.zm-products.zm-products--closing > ul.zm-products-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}
.zm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 28px;
    border: 0;
    background-color: var(--corpai-base);
    color: #fff !important;
    font-family: var(--corpai-font);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.zm-btn:hover,
.zm-btn:focus {
    background-color: var(--corpai-black);
    color: #fff !important;
    transform: translateY(-1px);
}

.zm-btn:focus-visible {
    outline: 2px solid var(--corpai-base);
    outline-offset: 3px;
}
.zm-catalog {
    position: relative;
    display: block;
    padding: 120px 0 100px;
    background-color: #f5f5f5;
}

.zm-catalog .section-title {
    margin-bottom: 16px;
}

.zm-catalog__lead {
    max-width: 790px;
    margin: 0 auto 42px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

.zm-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    margin-bottom: 45px;
    border-bottom: 1px solid #e0e0e0;
}

.zm-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 13px 18px 15px;
    font-family: var(--corpai-font);
    font-size: 15px;
    font-weight: 600;
    color: #6b6b6b;
    cursor: pointer;
    transition: color .25s ease;
    white-space: nowrap;
}

.zm-tab > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ececec;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #8d8d8d;
    transition: background-color .25s ease, color .25s ease;
}

.zm-tab:hover {
    color: var(--corpai-black);
}

.zm-tab.is-active {
    color: var(--corpai-black);
}

.zm-tab.is-active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 3px;
    background-color: var(--corpai-base);
}

.zm-tab.is-active > span {
    background-color: var(--corpai-base);
    color: #fff;
}

.zm-tab:focus-visible {
    outline: 2px solid var(--corpai-base);
    outline-offset: -3px;
}

.zm-js .zm-panel:not(.is-active) {
    display: none;
}

.zm-panel[hidden] {
    display: none !important;
}

.no-js .zm-tabs {
    display: none;
}

.no-js .zm-panel {
    display: block;
    margin-bottom: 55px;
}

.zm-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.zm-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.zm-card:hover {
    transform: translateY(-4px);
    border-color: #dcdcdc;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .09);
}

.zm-card.is-target {
    border-color: var(--corpai-base);
    box-shadow: 0 0 0 3px rgba(206, 36, 72, .15), 0 20px 45px rgba(0, 0, 0, .09);
}

.zm-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: #efefef;
}

.zm-card__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .6s ease;
}

.zm-card:hover .zm-card__media img {
    transform: scale(1.055);
}

.zm-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 8, 8, .55), rgba(9, 8, 8, 0) 46%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.zm-card:hover .zm-card__media::after {
    opacity: 1;
}

.zm-card__cta {
    position: absolute;
    left: 18px;
    bottom: 15px;
    z-index: 1;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
}

.zm-card:hover .zm-card__cta,
.zm-card__media:focus-visible .zm-card__cta {
    opacity: 1;
    transform: none;
}

.zm-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 21px 22px;
}

.zm-card__title {
    margin-bottom: 7px;
    font-family: var(--corpai-font-two);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.zm-card__title a {
    color: var(--corpai-black);
    transition: color .2s ease;
}

.zm-card__title a:hover {
    color: var(--corpai-base);
}

.zm-card__text {
    font-size: 14px;
    line-height: 1.62;
    color: #6b6b6b;
}

.zm-card__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--corpai-base);
}

.zm-card__link i {
    font-size: 11px;
    transition: transform .25s ease;
}

.zm-card__link:hover {
    color: var(--corpai-black);
}

.zm-card__link:hover i {
    transform: translateX(3px);
}

.zm-catalog__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 46px;
    padding-top: 34px;
    border-top: 1px solid #e0e0e0;
}

.zm-catalog__foot p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.zm-catalog__foot p i {
    margin-right: 8px;
    color: var(--corpai-base);
}
.site-footer__about-text {
    max-width: 360px;
    margin: 20px 0 24px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .55);
}

.footer-widget__products-list a,
.footer-widget__services-list a {
    display: inline-block;
}

.footer-widget__qr-box {
    margin-top: 4px;
}

.footer-widget__qr-box img {
    display: block;
    width: 138px;
    height: 138px;
    object-fit: contain;
    padding: 8px;
    background-color: #fff;
}

.footer-widget__qr-caption {
    margin-top: 12px;
    max-width: 200px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .5);
}

.site-footer .footer-widget__services,
.site-footer .footer-widget__newsletter {
    margin-left: 0;
}

.site-footer .footer-widget__contact {
    margin-top: 26px;
    margin-bottom: 0;
}

.site-footer .footer-widget__title-box {
    margin-bottom: 30px;
}

.site-footer__bottom-cert {
    margin-top: 5px;
    font-size: 12px;
    letter-spacing: .05em;
    opacity: .45;
}

.site-footer .footer-widget__newsletter .zm-btn {
    margin-top: 18px;
}
.zm-about-intro {
    padding: 120px 0;
}

.zm-about-intro__image,
.zm-about-factory__image {
    position: relative;
    overflow: hidden;
    background: #eee;
}

.zm-about-intro__image img,
.zm-about-factory__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.zm-about-intro__year {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 20px 26px 18px;
    background: var(--corpai-base);
    color: #fff;
}

.zm-about-intro__year span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.zm-about-intro__year strong {
    margin-top: 2px;
    font-family: var(--corpai-font-two);
    font-size: 42px;
    line-height: 1;
}

.zm-about-intro__content {
    padding-left: 42px;
}

.zm-about-intro__content .section-title__tagline {
    display: inline-block;
    margin-bottom: 16px;
}

.zm-about-intro__content h2,
.zm-about-factory__content h2 {
    margin-bottom: 24px;
    color: var(--corpai-black);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.25;
}

.zm-about-intro__content p,
.zm-about-factory__content p {
    margin-bottom: 17px;
    color: #666;
    font-size: 16px;
    line-height: 1.85;
}

.zm-about-intro__content .zm-btn {
    margin-top: 13px;
}

.zm-about-numbers {
    padding: 63px 0;
    background: var(--corpai-black);
}

.zm-about-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    color: #fff;
}

.zm-about-number + .zm-about-number {
    border-left: 1px solid rgba(255, 255, 255, .17);
}

.zm-about-number > span {
    margin-right: 20px;
    color: var(--corpai-base);
    font-size: 31px;
}

.zm-about-number strong {
    display: block;
    font-family: var(--corpai-font-two);
    font-size: 35px;
    font-weight: 700;
    line-height: 1;
}

.zm-about-number small {
    font-size: 17px;
}

.zm-about-number p {
    margin-top: 8px;
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
    line-height: 1;
}

.zm-about-capabilities,
.zm-about-values {
    padding: 120px 0;
}

.zm-about-capabilities {
    background: #f6f6f6;
}

.zm-about-section-lead {
    max-width: 760px;
    margin: -16px auto 45px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

.zm-about-card {
    height: 100%;
    padding: 40px 36px 36px;
    background: #fff;
    border: 1px solid #e9e9e9;
    transition: transform .3s ease, box-shadow .3s ease;
}

.zm-about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

.zm-about-card > span {
    display: block;
    margin-bottom: 25px;
    color: var(--corpai-base);
    font-size: 43px;
}

.zm-about-card h3,
.zm-value h3 {
    margin-bottom: 13px;
    color: var(--corpai-black);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.3;
}

.zm-about-card p,
.zm-value p {
    color: #666;
    font-size: 15px;
    line-height: 1.75;
}

.zm-about-factory {
    padding: 120px 0;
}

.zm-about-factory__content {
    padding-right: 42px;
}

.zm-about-checks {
    margin-top: 26px;
}

.zm-about-checks li {
    position: relative;
    padding-left: 31px;
    color: var(--corpai-black);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.zm-about-checks li + li {
    margin-top: 16px;
}

.zm-about-checks i {
    position: absolute;
    top: 3px;
    left: 0;
    color: var(--corpai-base);
    font-size: 18px;
}

.zm-about-values {
    padding-bottom: 110px;
    background: #f6f6f6;
}

.zm-value {
    padding: 12px 26px 0;
    text-align: center;
}

.zm-value > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 24px;
    border: 1px solid #dedede;
    border-radius: 50%;
    color: var(--corpai-base);
    font-size: 24px;
}
@media (max-width: 1199px) {
    .zm-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .zm-catalog {
        padding: 90px 0 75px;
    }

    .zm-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .zm-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .zm-tabs::-webkit-scrollbar {
        display: none;
    }

    .zm-tab {
        flex: 0 0 auto;
        padding: 12px 14px 14px;
        font-size: 14px;
    }

    .zm-tab.is-active::after {
        bottom: 0;
    }

    .zm-catalog__foot {
        gap: 20px;
    }

    .zm-about-intro,
    .zm-about-capabilities,
    .zm-about-factory,
    .zm-about-values {
        padding: 90px 0;
    }

    .zm-about-intro__content {
        padding: 45px 0 0;
    }

    .zm-about-factory__content {
        padding: 0 0 45px;
    }

    .zm-about-number {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .zm-product-grid {
        grid-template-columns: 1fr;
    }

    .zm-catalog__foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .zm-tab > span {
        display: none;
    }

    .zm-card__media img {
        aspect-ratio: 16 / 10;
    }

    .zm-about-intro,
    .zm-about-capabilities,
    .zm-about-factory,
    .zm-about-values {
        padding: 70px 0;
    }

    .zm-about-intro__content h2,
    .zm-about-factory__content h2 {
        font-size: 31px;
    }

    .zm-about-numbers {
        padding: 28px 0;
    }

    .zm-about-number {
        justify-content: center;
        min-height: auto;
        padding: 18px 0;
    }

    .zm-about-card {
        padding: 32px 27px;
        margin-bottom: 20px;
    }

    .zm-value {
        padding: 18px 15px;
    }
}
.main-slider-three__nav {
    position: absolute;
    right: 40px;
    bottom: 48px;
    z-index: 40;
    display: flex;
    gap: 10px;
}

.main-slider-three__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid var(--corpai-base);
    border-radius: 50%;
    background-color: var(--corpai-base);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.main-slider-three__nav-btn:hover,
.main-slider-three__nav-btn:focus-visible {
    background-color: #fff;
    border-color: #fff;
    color: var(--corpai-black);
    outline: none;
}

.main-slider-three__nav-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(206, 36, 72, .35), 0 8px 24px rgba(0, 0, 0, .18);
}

.main-slider-three__nav-btn i {
    line-height: 1;
}

@media (max-width: 767px) {
    .main-slider-three__nav {
        right: 15px;
        bottom: 24px;
        gap: 8px;
    }

    .main-slider-three__nav-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}


















/*--you ce---*/ 

.kf { position: fixed; *position: absolute; z-index: 999; right: 0; top: 48%; width: 50px; }

.kf-item { position: relative; height: 50px; margin-bottom:10px;}

.kf-item a { position: absolute; right: -168px; top: 0; display: block; width: 220px; height: 50px; line-height: 50px; padding-left: 54px; font-size: 0.8rem; color: #fff; background-color: var(--pbmit-global-color); background-repeat: no-repeat; background-position: left center; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; 
border-top-left-radius: 30px;
border-bottom-left-radius:30px;
}

.kf-item a:hover { right: 0; background-color:var(--pbmit-global-color); }

.kf-item-1 a { background-image: url("../images/kf_01.png"); }

.kf-item-2 a { background-image: url("../images/kf_02.png"); }

.kf-item-5 { position:relative;}
.kf-item-5 img{ display:none; position:absolute; right:56px; top:0px; max-width:200px;}
.kf-item-5:hover img{ display:block;}
.kf-item-5 a {  background-image: url("../images/kf_05.png"); }

.kf-item-5 a:hover { right: -165px; }

@media screen and (max-width: 767px) { .kf { display: none; }
  .ft { padding-bottom: 60px; } }
/*-----*/ 
 
 
 
 
 
 
 
 
 
 
 
 
 /* 顶部画廊基础样式 */
 .woocommerce-product-gallery {
     max-width: 100%;
     margin: 0 auto;
 }
 .woocommerce-product-gallery__wrapper {
     display: flex;
     flex-direction: column;
     gap: 1rem;
     position: relative;
 }
 
 /* 主图区域样式 */
 .woocommerce-product-gallery__image {
     max-width: 100%;
     height: auto;
     display: block;
     margin: 0 auto;
     transition: opacity 0.3s ease;
 }
 
 /* 主图左右切换箭头 */
 
 /* 缩略图导航样式 */
 
 /* 缩略图滚动左右箭头 */
 /* 无滚动时隐藏箭头 */
 
 /* 灯箱样式 */
 
 /* 移动端适配 */
 
 /* 提示框样式 */
 .alert {
     border-radius: 8px;
     border: none;
     padding: 1rem;
     margin: 1rem 0;
 }
 
 
 /* ========== 核心：产品页画廊整体布局 ========== */
 .wp-block-gallery {
     display: flex !important;
     flex-wrap: wrap !important;
     gap: 20px !important; /* 图片间距 */
     margin: 30px 0 !important; /* 画廊上下外边距 */
     padding: 0 !important;
     list-style: none !important;
 }
 
 /* ========== 单个图片容器样式 ========== */
 .wp-block-gallery > .wp-block-image {
     flex: 1 1 calc(33.333% - 14px) !important; /* 电脑端3列 */
     max-width: calc(33.333% - 14px) !important;
     margin: 0 !important; /* 取消默认外边距 */
     position: relative; /* 为标题定位做准备 */
 }
 .wp-block-gallery.has-nested-images figure.wp-block-image {
     border: 1px solid #ccc;
     float: left;
     padding: 6px;
     background-color: #f5f5f5;
     border-radius: 8px;
 }
 /* ========== 图片样式（核心修复） ========== */
 .wp-block-gallery > .wp-block-image img {
     width: 100% !important;
     object-fit: cover !important; /* 图片裁剪不变形 */
     padding: 8px;
     border-radius: 8px !important; /* 圆角美化 */
     cursor: pointer !important; /* 鼠标悬停变手型（灯箱提示） */
     transition: transform 0.3s ease !important; /* 悬停动画 */
 }
 
 /* 图片悬停效果 */
 .wp-block-gallery > .wp-block-image img:hover {
     transform: scale(1.01) !important; /* 轻微放大 */
 }
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
    content: "";
    height: 100%;
    -webkit-mask-image: linear-gradient(0deg, #000 20%, #0000);
    mask-image: linear-gradient(0deg, #000 20%, #0000);
    max-height: 40%;
}
 /* ========== 图片标题样式 ========== */
 .wp-block-gallery > .wp-block-image .wp-element-caption {
     text-align: center !important;
     font-size: 14px !important;
     color: #333 !important; /* 标题颜色 */
     margin-top: 10px !important;
     margin-bottom: 10px !important;
     padding: 0 5px !important;
     line-height: 1.4 !important;
 }
 
 /* ========== 响应式适配 ========== */
 /* 平板：2列 */
 @media (max-width: 768px) {
     .wp-block-gallery > .wp-block-image {
         flex: 1 1 100% !important;
         max-width: 100% !important;
     }
     .wp-block-gallery > .wp-block-image img {
     }
 }
 
 /* 手机：1列 */
 @media (max-width: 480px) {
     .wp-block-gallery > .wp-block-image {
         flex: 1 1 100% !important;
         max-width: 100% !important;
     }
     .wp-block-gallery > .wp-block-image img {
     }
 }
 
 /* ========== 覆盖WordPress默认内联样式（关键） ========== */
 /* 取消图片默认的contain-intrinsic-size */
 img:is([sizes=auto i]) {
     contain-intrinsic-size: auto !important;
 }
 
 /* 取消figure默认外边距 */
 :where(figure) {
     margin: 0 !important;
 }
 
 /* 确保图片尺寸不受WordPress默认样式影响 */
 html :where(img[class*=wp-image-]) {
     height: auto !important;
     max-width: 100% !important;
 }
 
 
 
 
 
 
 
 
 /*************弹出反馈表单样式************/
 /* 弹窗遮罩层 */
 .modal-overlay {
     display: none; /* 默认隐藏 */
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.7); /* 半透明黑色遮罩 */
     z-index: 9998; /* 确保遮罩在弹窗后面 */
 }
 
 /* 弹窗容器 */
 .modal {
     display: none; /* 默认隐藏 */
     position: fixed;
     top: 45%;
     left: 50%;
     transform: translate(-50%, -50%);
     background-color: #fff;
     padding: 30px;
     border-radius: 8px;
     --bs-modal-border-width: 0px
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
     z-index: 9999; /* 确保弹窗在最上层 */
     width: 100%;
     max-width: 600px; /* 弹窗最大宽度 */
     max-height: 53vh; /* 弹窗最大高度，防止内容溢出 */
     overflow-y: auto; /* 内容溢出时显示滚动条 */
 }
 
 /* 关闭按钮 */
 .close-modal {
     position: absolute;
     top: 15px;
     right: 15px;
     background: none;
     border: none;
     font-size: 24px;
     cursor: pointer;
     color: #aaa;
 }
 
 .close-modal:hover {
     color: #000;
 }

/* Keep WordPress product gallery captions BELOW their images, not overlaid. */
.zm-product-entry .wp-block-gallery.has-nested-images figure.wp-block-image {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: flex-start;
    height: auto !important;
    float: none;
}
.zm-product-entry .wp-block-gallery.has-nested-images figure.wp-block-image > a {
    flex: none;
    display: block;
    width: 100%;
}
.zm-product-entry .wp-block-gallery.has-nested-images figure.wp-block-image img {
    display: block;
    flex: none !important;
    width: 100%;
    height: auto !important;
}
.zm-product-entry figure.wp-block-image > figcaption,
.zm-product-entry .wp-block-gallery.has-nested-images figure.wp-block-image > figcaption {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    flex: none;
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-height: none !important;
    overflow: visible !important;
    background: none !important;
    color: #333;
    text-shadow: none;
}
.zm-product-entry .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
    display: none !important;
    content: none !important;
}
.zm-product-entry figure.wp-block-image > figcaption > br:first-child {
    display: none;
}

/* ===== Consolidated: wp-header ===== */
/* WordPress navigation adapters: reference header only. */
.zm-wp-header { background:#fff; }
.zm-wp-header button.mobile-nav__toggler { border:0; background:none; padding:10px; }
.zm-wp-header .main-menu-three__logo img { width:203px; height:auto; }
.zm-wp-header .main-menu__list .sub-menu { list-style:none; }
.zm-wp-header .main-menu__list .current-menu-item > a,
.zm-wp-header .main-menu__list .current-menu-ancestor > a { color:#ce2448; }
.zm-wp-header .main-menu__list li:focus-within > ul { visibility:visible; opacity:1; transform:scaleY(1); }
.zm-wp-header .zm-submenu-toggle { display:none; }
.zm-wp-header .main-menu__list > li > a { font-size:16px; }
@media (min-width:1200px) {
    .zm-wp-header .mobile-nav__toggler { display:none; }
}
@media (max-width:1199px) {
    .zm-wp-header .main-menu-three__wrapper { padding:0 24px; }
    .zm-wp-header .main-menu-three__wrapper-inner { position:relative; }
    .zm-wp-header .main-menu-three__left { width:100%; justify-content:space-between; }
    .zm-wp-header .main-menu-three__logo { margin:0; padding:18px 0; }
    .zm-wp-header .main-menu-three__right { display:none; }
    .zm-wp-header .main-menu__list { display:none; position:absolute; top:100%; left:0; right:0; max-height:70vh; overflow:auto; background:#fff; padding:12px 20px; box-shadow:0 12px 20px #0002; margin:0; list-style:none; }
    .zm-wp-header .main-menu__list.zm-is-open { display:none; }
    .zm-wp-header .main-menu__list li { display:block; position:relative; margin:0; padding:0; border-bottom:1px solid #eee; }
    .zm-wp-header .main-menu__list li > a { display:block; color:#222; padding:12px 45px 12px 0; font-size:15px; }
    .zm-wp-header .main-menu__list li > a::after { display:none; }
    .zm-wp-header .main-menu__list li > ul { display:none; position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; width:auto; min-width:0; margin:0; padding:0 0 0 16px; background:#fff; list-style:none; transition:none; }
    .zm-wp-header .main-menu__list li.zm-submenu-open > ul { display:block; }
    .zm-wp-header .zm-submenu-toggle { display:block; position:absolute; right:0; top:6px; height:36px; width:36px; padding:0; border:1px solid #ddd; background:#fff; color:#222; line-height:32px; }
}
@media (prefers-reduced-motion:reduce) {
    .zm-wp-header *, .zm-wp-header *::after { transition:none!important; }
}

.zm-mobile-drawer {
    position:fixed; inset:0 auto 0 0; margin:0; border:0; padding:70px 22px 30px;
    width:300px; max-width:calc(100vw - 40px); height:100dvh; max-height:100dvh;
    box-sizing:border-box; overflow-y:auto; overscroll-behavior:contain;
    background:var(--corpai-black, #171717); color:#fff;
}
.zm-mobile-drawer[open] { animation:zm-drawer-enter .3s ease-out; }
.zm-mobile-drawer::backdrop { background:rgb(0 0 0 / 55%); }
.zm-mobile-drawer__close { position:absolute; top:14px; right:14px; width:42px; height:42px; border:0; padding:0; background:transparent; color:#fff; font-size:32px; line-height:42px; }
.zm-mobile-drawer__logo { display:block; margin:0 0 28px; background:#fff; padding:12px; border-radius:4px; }
.zm-mobile-drawer__logo img { display:block; width:203px; max-width:100%; height:auto; }
.zm-mobile-menu, .zm-mobile-menu ul { list-style:none; margin:0; padding:0; }
.zm-mobile-menu li { position:relative; border-bottom:1px solid #ffffff24; }
.zm-mobile-menu li > a { display:block; padding:13px 42px 13px 0; color:#fff; font-size:16px; line-height:24px; text-decoration:none; }
.zm-mobile-menu ul { padding-left:14px; }
.zm-mobile-menu ul[hidden] { display:none!important; }
.zm-mobile-menu a:hover, .zm-mobile-menu a:focus-visible { color:#ef4564; }
.zm-mobile-menu .zm-submenu-toggle { position:absolute; right:0; top:5px; width:40px; height:40px; padding:0; border:1px solid #ffffff40; border-radius:3px; background:transparent; color:#fff; font-size:22px; line-height:36px; }
.zm-mobile-drawer :focus-visible { outline:2px solid #fff; outline-offset:2px; }
@keyframes zm-drawer-enter { from { transform:translateX(-100%); } to { transform:translateX(0); } }
@media (prefers-reduced-motion:reduce) { .zm-mobile-drawer[open] { animation:none; } }

/* ===== Consolidated: product ===== */
.zm-product-banner-title { color: #fff; font-size: clamp(32px, 4vw, 60px); font-weight: 700; line-height: 1.2; }
.zm-product-document { padding: 85px 0 100px; }
.zm-product-document article > h1 { margin: 0 0 28px; font-size: clamp(28px, 3vw, 40px); line-height: 1.35; font-weight: 600; }
.zm-product-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 45px; align-items: center; }
.zm-product-feature__image { margin: 0; padding: 16px; border: 1px solid #e5e5e5; border-radius: 10px; background: #fff; }
.zm-product-feature__image img { display: block; width: 100%; height: auto; border-radius: 6px; }
.zm-product-feature__content h1 { margin: 0 0 18px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.35; font-weight: 600; }
.zm-product-feature__content p { margin-bottom: 24px; }
.zm-product-feature__content p:last-child { margin-bottom: 0; }
.zm-product-feature__category { display: block; margin-bottom: 12px; color: var(--corpai-base); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.zm-product-feature__divider { margin: 24px 0; border: 0; border-top: 1px solid #e5e5e5; opacity: 1; }
.zm-product-feature__contacts { margin: 0; padding: 0; }
.zm-product-feature__contacts li { display: flex; align-items: baseline; gap: 13px; font-size: 15px; line-height: 1.7; }
.zm-product-feature__contacts li + li { margin-top: 10px; }
.zm-product-feature__contacts i { flex: 0 0 19px; color: var(--corpai-base); text-align: center; }
.zm-product-feature__contacts a { color: var(--corpai-black); overflow-wrap: anywhere; }
.zm-product-feature__contacts a:hover { color: var(--corpai-base); }
@media (max-width: 991px) { .zm-product-feature { grid-template-columns: 1fr; gap: 30px; } }
.zm-product-document article > h2 { margin: 48px 0 22px; font-size: 30px; line-height: 1.35; font-weight: 600; }
.zm-product-document article > p { margin-bottom: 20px; }
.zm-product-document article > ul { margin: 0 0 26px; padding-left: 24px; }
.zm-product-document article > ul li { margin-bottom: 12px; padding-left: 5px; }
.zm-product-document article > p a:not(.zm-btn) { color: var(--corpai-base); overflow-wrap: anywhere; }
.zm-product-table-scroll { overflow-x: auto; margin: 25px 0; }
.zm-product-table-scroll:focus-visible { outline: 2px solid var(--corpai-base); outline-offset: 3px; }
.zm-product-document table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; text-align: center; }
.zm-product-document caption { caption-side: top; padding: 0 0 15px; color: var(--corpai-black); text-align: left; font-weight: 600; }
.zm-product-document th, .zm-product-document td { padding: 17px 15px; border: 1px solid #dedede; vertical-align: middle; }
.zm-product-document th { background: var(--corpai-black); color: #fff; font-weight: 600; }
.zm-product-document tbody tr:nth-child(even) { background: #f6f6f6; }
.zm-product-document-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.zm-product-document-gallery figure { margin: 0; background: #f6f6f6; border: 1px solid #e5e5e5; }
.zm-product-document-gallery a { display: block; }
.zm-product-document-gallery img { display: block; width: 100%; height: auto; }
.zm-product-document-gallery figcaption { padding: 18px 20px; font-size: 14px; line-height: 1.7; }
@media (max-width: 991px) { .zm-product-document-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .zm-product-document { padding: 60px 0; }
    .zm-product-document article > h2 { margin-top: 35px; font-size: 26px; }
    .zm-product-document-gallery { grid-template-columns: 1fr; gap: 22px; }
}
.zm-product-overview, .zm-product-section { padding: 90px 0; }
.zm-product-images img { display: block; width: 100%; height: auto; border-radius: 8px; }
.zm-product-thumbnails { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.zm-product-summary h1 { margin: 16px 0 25px; font-size: clamp(28px, 2.7vw, 39px); line-height: 1.3; font-weight: 600; }
.zm-product-introduction { margin-bottom: 28px; line-height: 1.85; }
.zm-product-jump { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; font-size: 14px; }
.zm-product-jump a { color: var(--corpai-base); }
.zm-product-shaded { background: #f6f6f6; }
.zm-product-section .section-title { margin-bottom: 24px; }
.zm-product-lead { max-width: 850px; margin: 0 auto 40px; text-align: center; }
.zm-product-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.zm-product-specs article { padding: 26px 30px; background: #fff; border: 1px solid #e7e7e7; }
.zm-product-specs h3, .zm-product-types h3 { font-size: 22px; line-height: 1.35; font-weight: 600; margin-bottom: 12px; }
.zm-product-specs p, .zm-product-types p { font-size: 15px; line-height: 1.8; }
.zm-product-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.zm-product-types article { padding: 28px; border-top: 2px solid #e5e5e5; }
.zm-product-types article > span { display: block; margin-bottom: 16px; color: var(--corpai-base); font-size: 26px; font-weight: 700; }
.zm-product-applications, .zm-product-aliases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.zm-product-applications li, .zm-product-aliases li { padding: 20px; border: 1px solid #e1e1e1; background: #fff; font-size: 15px; text-align: center; }
.zm-product-subtitle { text-align: center; margin-bottom: 22px; font-size: 32px; line-height: 1.3; font-weight: 600; }
.zm-product-enquiry { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-top: 60px; padding-top: 40px; border-top: 1px solid #ddd; }
.zm-product-enquiry h2 { margin-bottom: 16px; font-size: 30px; line-height: 1.3; }
.zm-product-enquiry > div { max-width: 720px; }
.zm-product-enquiry > a { flex: none; }
@media (min-width: 992px) { .zm-product-summary { padding-left: 45px; } }
@media (max-width: 991px) { .zm-product-summary { margin-top: 35px; } .zm-product-enquiry { flex-direction: column; align-items: flex-start; gap: 25px; } .zm-product-aliases, .zm-product-applications { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .zm-product-overview, .zm-product-section { padding: 60px 0; } .zm-product-specs, .zm-product-types { grid-template-columns: 1fr; } .zm-product-specs article { padding: 24px; } .zm-product-aliases, .zm-product-applications { gap: 10px; } .zm-product-applications li, .zm-product-aliases li { padding: 16px 12px; } }

/* WordPress product template: keep editor content inside its own content area. */
.zm-product-entry { margin-top:48px; min-width:0; }
.zm-product-entry > h2 { margin:48px 0 22px; font-size:30px; line-height:1.35; font-weight:600; }
.zm-product-entry > h3 { margin:30px 0 16px; font-size:24px; line-height:1.4; }
.zm-product-entry > p { margin-bottom:20px; }
.zm-product-entry > ul, .zm-product-entry > ol { margin:0 0 26px; padding-left:24px; }
.zm-product-entry li { margin-bottom:12px; }
.zm-product-entry a:not(.zm-btn):not(.wp-element-button) { color:var(--corpai-base); overflow-wrap:anywhere; }
.zm-product-entry img { max-width:100%; height:auto; }
.zm-product-entry .wp-block-table { overflow-x:auto; }
.zm-product-feature__content, .zm-product-feature__contacts li > span { min-width:0; overflow-wrap:anywhere; }
.zm-product-image-placeholder { display:grid; place-items:center; min-height:280px; padding:30px; border-radius:6px; background:#f6f6f6; color:#555; text-align:center; }
.zm-related-products { padding:0 0 100px; }
.zm-related-products .blog-two__single { height:calc(100% - 30px); }
.zm-related-products .blog-two__img, .zm-related-products .blog-two__img-box { height:auto; }
.zm-related-products .blog-two__img img { height:auto; width:100%; }
@media(max-width:575px) {
    .zm-product-entry > h2 { margin-top:35px; font-size:26px; }
    .zm-product-entry { margin-top:35px; }
    .zm-related-products { padding-bottom:60px; }
}

/* ===== Consolidated: products ===== */
.zm-products-header .page-header__inner h1 { color: #fff; font-size: clamp(42px, 5vw, 70px); font-weight: 700; line-height: 1.2; }
.zm-products-intro { padding: 85px 0 45px; }
.zm-products-intro .section-title { margin-bottom: 22px; }
.zm-products-lead { max-width: 870px; margin: 0 auto 32px; text-align: center; }
.zm-products-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.zm-products-categories a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 17px; border: 1px solid #ddd; color: var(--corpai-black); font-size: 14px; font-weight: 600; border-radius: 4px; }
.zm-products-categories a:hover, .zm-products-categories a:focus-visible { color: #fff; background: var(--corpai-base); border-color: var(--corpai-base); }
.zm-products-categories span { font-size: 12px; opacity: .7; }
.zm-products-count { margin-top: 22px; text-align: center; font-size: 13px; color: #666; }
.zm-products-category { padding: 55px 0 65px; scroll-margin-top: 115px; }
.zm-products-category:nth-of-type(even) { background: #f6f6f6; }
.zm-products-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.zm-products-category-heading h2 { font-size: 32px; line-height: 1.3; font-weight: 600; margin-bottom: 10px; }
.zm-products-category-heading p { font-size: 15px; }
.zm-products-category-heading > a { flex: none; color: var(--corpai-base); font-size: 13px; font-weight: 600; }
.zm-products-enquiry { padding: 65px 0; }
.zm-products-enquiry .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.zm-products-enquiry h2 { font-size: 30px; line-height: 1.3; margin-bottom: 14px; }
.zm-products-enquiry .zm-btn { flex: none; }
@media (max-width: 767px) {
    .zm-products-intro { padding: 60px 0 30px; }
    .zm-products-category { padding: 40px 0 50px; }
    .zm-products-category-heading, .zm-products-enquiry .container { flex-direction: column; align-items: flex-start; gap: 16px; }
    .zm-products-category-heading h2 { font-size: 28px; }
    .zm-products-categories { gap: 8px; }
    .zm-products-categories a { padding: 9px 12px; font-size: 13px; }
}

/* ===== Consolidated: contact ===== */
.zm-contact-page .zm-contact-details { padding: 100px 0; }
.zm-contact-page .section-title { margin-bottom: 22px; }
.zm-contact-lead { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.zm-contact-company { margin-bottom: 36px; text-align: center; color: var(--corpai-black); font-weight: 600; }
.zm-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.zm-contact-card { padding: 35px; border: 1px solid #e5e5e5; background: #fff; }
.zm-contact-card > span { display: block; margin-bottom: 20px; color: var(--corpai-base); font-size: 36px; }
.zm-contact-card h3, .zm-contact-connect h3 { margin-bottom: 12px; font-size: 24px; font-weight: 600; line-height: 1.4; }
.zm-contact-card address { margin: 0; font-style: normal; }
.zm-contact-card a, .zm-contact-connect a { color: var(--corpai-black); overflow-wrap: anywhere; }
.zm-contact-card a:hover, .zm-contact-connect a:hover { color: var(--corpai-base); }
.zm-contact-card p { margin-top: 8px; font-size: 15px; }
.zm-contact-enquiry { padding: 90px 0; background: #f6f6f6; }
.zm-contact-enquiry h2 { margin: 16px 0 22px; font-size: 40px; line-height: 1.25; font-weight: 600; }
.zm-contact-checklist { margin: 25px 0; }
.zm-contact-checklist li { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; }
.zm-contact-checklist i { color: var(--corpai-base); }
.zm-contact-enquiry .zm-btn { margin-top: 28px; }
.zm-contact-connect { padding: 40px 25px; margin-left: 45px; text-align: center; background: #fff; }
.zm-contact-connect img { display: block; margin: 0 auto 25px; object-fit: contain; }
.zm-contact-page ~ .site-footer { margin-top: 0; }
body:has(.zm-contact-page) .page-header__inner h1 { color: #fff; font-size: 70px; line-height: 80px; font-weight: 700; }
@media (max-width: 991px) {
    .zm-contact-connect { margin: 40px 0 0; }
}
@media (max-width: 575px) {
    .zm-contact-page .zm-contact-details, .zm-contact-enquiry { padding: 65px 0; }
    .zm-contact-grid { grid-template-columns: 1fr; gap: 18px; }
    .zm-contact-card { padding: 28px; }
    .zm-contact-enquiry h2 { font-size: 32px; }
    body:has(.zm-contact-page) .page-header__inner h1 { font-size: 44px; line-height: 1.2; }
}

/* ===== Consolidated: certifications ===== */
.zm-cert-header .page-header__inner h1 {
    color: #fff;
    font-size: 70px;
    line-height: 80px;
    font-weight: 700;
}
.zm-cert-section { padding: 100px 0 90px; }
.zm-cert-section .section-title { margin-bottom: 24px; }
.zm-cert-lead { max-width: 820px; margin: 0 auto 45px; text-align: center; }
.zm-cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.zm-cert-card { background: #fff; border: 1px solid #e5e5e5; }
.zm-cert-image { display: block; position: relative; padding: 24px; background: #f6f6f6; }
.zm-cert-image img { display: block; width: 100%; height: auto; }
.zm-cert-image > span {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 18px; font-size: 13px; color: var(--corpai-black);
}
.zm-cert-image:hover > span { color: var(--corpai-base); }
.zm-cert-image:focus-visible { outline: 2px solid var(--corpai-base); outline-offset: 3px; }
.zm-cert-body { padding: 28px; }
.zm-cert-standard { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 700; color: var(--corpai-base); }
.zm-cert-body h3 { font-size: 23px; line-height: 1.35; font-weight: 600; margin-bottom: 15px; }
.zm-cert-body p { font-size: 15px; line-height: 1.8; }
.zm-cert-body dt { font-weight: 600; color: var(--corpai-black); }
.zm-cert-note { margin: 30px auto 0; text-align: center; font-size: 14px; max-width: 800px; }
.zm-cert-support { padding: 70px 0; background: #f6f6f6; }
.zm-cert-support-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.zm-cert-support-inner > div { max-width: 700px; }
.zm-cert-support h2 { margin: 14px 0 18px; font-size: 36px; line-height: 1.3; font-weight: 600; }
.zm-cert-support .zm-btn { flex: none; }
@media (max-width: 991px) {
    .zm-cert-grid { gap: 20px; }
    .zm-cert-body { padding: 20px; }
    .zm-cert-image { padding: 15px; }
    .zm-cert-support-inner { flex-direction: column; align-items: flex-start; gap: 25px; }
}
@media (max-width: 767px) {
    .zm-cert-header .page-header__inner h1 { font-size: 42px; line-height: 1.2; }
    .zm-cert-section { padding: 65px 0; }
    .zm-cert-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .zm-cert-body { padding: 26px; }
    .zm-cert-image { padding: 24px; }
    .zm-cert-support { padding: 55px 0; }
    .zm-cert-support h2 { font-size: 30px; }
}

/* ===== Consolidated: factory ===== */
.zm-factory-header .page-header__inner h1 { color: #fff; font-size: 64px; line-height: 1.2; font-weight: 700; }
.zm-factory-intro, .zm-factory-gallery-section, .zm-factory-production { padding: 100px 0; }
.zm-factory-intro h2, .zm-factory-visit h2 { margin: 16px 0 24px; font-size: 40px; line-height: 1.25; font-weight: 600; }
.zm-factory-intro p { margin-bottom: 20px; }
.zm-factory-intro .zm-btn { margin-top: 12px; }
.zm-factory-intro-image { display: block; width: 100%; height: auto; border-radius: 0 22px 22px 22px; }
@media (min-width: 992px) { .zm-factory-intro .row > div:first-child { padding-right: 45px; } }
.zm-factory-gallery-section { background: #f6f6f6; }
.zm-factory-gallery-section .section-title { margin-bottom: 22px; }
.zm-factory-lead { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.zm-factory-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.zm-factory-photo { margin: 0; overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid #e7e7e7; }
.zm-factory-photo a { display: block; overflow: hidden; }
.zm-factory-photo img { display: block; width: 100%; height: auto; transition: transform .3s ease; }
.zm-factory-photo a:hover img { transform: scale(1.035); }
.zm-factory-photo a:focus-visible { outline: 3px solid var(--corpai-base); outline-offset: -3px; }
.zm-factory-photo figcaption { padding: 24px; }
.zm-factory-photo h3 { font-size: 22px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.zm-factory-photo p { font-size: 15px; line-height: 1.7; }
.zm-factory-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; }
.zm-factory-steps article { padding-top: 24px; border-top: 2px solid #e5e5e5; }
.zm-factory-steps span { color: var(--corpai-base); font-size: 30px; font-weight: 700; }
.zm-factory-steps h3 { margin: 18px 0 14px; font-size: 23px; font-weight: 600; line-height: 1.4; }
.zm-factory-documentation { margin-top: 45px; padding-top: 30px; border-top: 1px solid #e5e5e5; }
.zm-factory-documentation a { display: inline-block; margin-top: 12px; color: var(--corpai-base); font-weight: 600; }
.zm-factory-visit { padding: 75px 0; background: #f6f6f6; }
.zm-factory-visit-inner { display: flex; justify-content: space-between; align-items: center; gap: 45px; }
.zm-factory-visit address { margin: 20px 0 0; font-style: normal; color: var(--corpai-black); }
.zm-factory-visit-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.zm-factory-visit-contact > a:not(.zm-btn) { color: var(--corpai-black); overflow-wrap: anywhere; }
.zm-factory-visit-contact > a:hover { color: var(--corpai-base); }
@media (max-width: 991px) {
    .zm-factory-intro-image { margin-top: 35px; }
    .zm-factory-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
    .zm-factory-steps { gap: 22px; }
    .zm-factory-visit-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
}
@media (max-width: 575px) {
    .zm-factory-header .page-header__inner h1 { font-size: 36px; }
    .zm-factory-intro, .zm-factory-gallery-section, .zm-factory-production, .zm-factory-visit { padding: 65px 0; }
    .zm-factory-intro h2, .zm-factory-visit h2 { font-size: 32px; }
    .zm-factory-gallery, .zm-factory-steps { grid-template-columns: 1fr; }
    .zm-factory-visit-contact { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .zm-factory-photo img { transition: none; }
    .zm-factory-photo a:hover img { transform: none; }
}

/* ===== Consolidated: quote-popup ===== */
/* Quotation dialog: scoped to avoid changing other Contact Form 7 forms. */
html.zm-quote-open { overflow: hidden; }
.zm-quote-dialog:not([open]) { display: none; }
.zm-quote-dialog {
    box-sizing: border-box; width: min(620px, calc(100% - 32px));
    max-height: calc(100dvh - 40px); margin: auto; padding: 0;
    border: 0; border-radius: 16px; color: var(--corpai-black, #242424);
    background: #fff; box-shadow: 0 24px 80px rgb(0 0 0 / 25%); overflow: auto;
}
.zm-quote-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.zm-quote-dialog__inner { padding: 36px; position: relative; }
.zm-quote-dialog__close {
    position: absolute; right: 12px; top: 10px; width: 40px; height: 40px;
    border: 0; border-radius: 50%; background: #f2f2f2; color: #333;
    font-size: 28px; line-height: 1; cursor: pointer;
}
.zm-quote-dialog__close:hover { background: #e5e5e5; }
.zm-quote-dialog :focus-visible { outline: 2px solid var(--corpai-base, #ce2448); outline-offset: 3px; }
.zm-quote-dialog h2 { margin: 0 35px 12px 0; font-size: 30px; line-height: 1.25; font-weight: 600; }
.zm-quote-dialog__inner > p { margin-bottom: 24px; font-size: 15px; line-height: 1.6; }
.zm-quote-dialog .wpcf7 form p { margin: 0 0 16px; }
.zm-quote-dialog .wpcf7 label { display: block; font-size: 14px; font-weight: 500; }
.zm-quote-dialog .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.zm-quote-dialog .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.zm-quote-dialog .wpcf7 select, .zm-quote-dialog .wpcf7 textarea {
    box-sizing: border-box; width: 100%; padding: 11px 14px; border: 1px solid #ddd;
    border-radius: 6px; background: #fafafa; color: #242424; font: inherit;
}
.zm-quote-dialog .wpcf7 textarea { height: 120px; min-height: 90px; resize: vertical; }
.zm-quote-dialog .wpcf7 input[type="submit"] {
    border: 0; border-radius: 6px; padding: 12px 26px;
    background: var(--corpai-base, #ce2448); color: #fff; font-weight: 600; cursor: pointer;
}
.zm-quote-dialog .wpcf7 input[type="submit"]:disabled { opacity: .6; cursor: wait; }
.zm-quote-dialog .wpcf7-response-output { margin: 16px 0 0; }
@media (max-width: 575px) {
    .zm-quote-dialog__inner { padding: 30px 20px 22px; }
    .zm-quote-dialog h2 { font-size: 26px; }
}

/* ===== Shared breadcrumb overrides ===== */
/* Page-header breadcrumbs, including Yoast markup and the location icon. */
.thm-breadcrumb__box,
.thm-breadcrumb__box span,
.thm-breadcrumb__box a,
.thm-breadcrumb__box a:hover,
.thm-breadcrumb__box a:focus,
.thm-breadcrumb__box i,
.thm-breadcrumb__box i::before {
    color: #fff;
}

/* Breadcrumb text weight and link interaction. */
.thm-breadcrumb__box,
.thm-breadcrumb__box span,
.thm-breadcrumb__box a {
    font-weight: 700;
}
.thm-breadcrumb__box a:hover,
.thm-breadcrumb__box a:focus-visible {
    color: #ce2448;
}
