/* News / product adapters. Template primitives come from template-native.css. */
.veze-catalog-page { color: #333; }
.veze-catalog-page :is(.sep-inner-body, .newslist, .sep-primary, .sep-primary-b-2, .veze-related-links) { display: flow-root; }
.veze-catalog-page .sep-breadcrumb [aria-current="page"] { color: #fff; font-size: 16px; }
.veze-catalog-page .veze-banner-empty { padding-top: var(--veze-header-offset, 118px); min-height: 0; }
.veze-catalog-page .veze-banner-empty .sep-breadcrumb { position: static; }
.veze-catalog-page .has-sidebar { align-items: flex-start; }
.veze-catalog-page .sep-sidebar { flex: 0 0 27%; min-width: 0; width: 27%; top: calc(var(--veze-header-offset, 118px) + 20px); }
.veze-catalog-page :is(.prolist, .sep-primary, .info, .box) { min-width: 0; }
.veze-catalog-page .prolist { flex: 1; }
.veze-catalog-page :is(h1, h2, h3, .p-short, .summary, .catgt a) { overflow-wrap: anywhere; }
.veze-catalog-page .veze-sidebar-heading { width: 100%; border: 0; background: transparent; padding: 0; text-align: left; font-family: inherit; cursor: pointer; }
.veze-catalog-page .veze-sidebar-heading span { margin-left: auto; padding-left: 15px; font-size: 22px; font-weight: 400; }
.veze-catalog-page .sep-sidebar .sep-sidebar-list > ul > li > .box { height: auto; min-height: 80px; padding: 16px 20px; }
.veze-catalog-page .sep-sidebar .sep-sidebar-list > ul > li > .box > a { flex: 1; }
.veze-catalog-page .veze-category-toggle { flex-shrink: 0; width: 44px; height: 44px; margin-right: -15px; border: 0; background: transparent; color: #00679e; cursor: pointer; }
.veze-catalog-page .veze-category-toggle[aria-expanded="true"] i { transform: rotate(90deg); }
.veze-catalog-page .veze-category-toggle[aria-expanded="false"] i { transform: none; }
.veze-catalog-page .sep-sidebar .veze-subcategories:not([hidden]) { display: block; }
.veze-catalog-page .veze-subcategories a { display: block; padding: 9px 0; }
.veze-catalog-page .veze-product-search { display: flex; position: relative; margin-bottom: 20px; }
.veze-catalog-page .veze-product-search input { width: 100%; min-width: 0; height: 50px; padding: 10px 58px 10px 15px; border: 1px solid #ddd; background: #fff; color: #333; font: 16px Arial, sans-serif; }
.veze-catalog-page .veze-product-search button { position: absolute; right: 0; top: 0; width: 50px; height: 50px; border: 0; background: #00679e; color: #fff; font-size: 18px; cursor: pointer; }
.veze-catalog-page .veze-cms-content:empty { display: none; }
.veze-catalog-page .veze-cms-content :is(video, iframe, img) { max-width: 100%; }
.veze-catalog-page .veze-cms-content p { margin-bottom: 18px; }
.veze-catalog-page .veze-cms-content :is(ul, ol) { padding-left: 24px; }
.veze-catalog-page .veze-cms-content ul > li { list-style: disc; }
.veze-catalog-page .veze-cms-content :is(h2, h3, h4) { margin: 24px 0 14px; }
.veze-catalog-page :is(.sep-pagination, .veze-pagination) { clear: both; padding: 35px 0 50px; text-align: center; }
.veze-catalog-page .sep-pagination .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; }
.veze-catalog-page .sep-pagination .pagination li { display: block; }
.veze-catalog-page .sep-pagination .pagination li a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: 0; border-radius: 0; }
.veze-catalog-page .veze-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.veze-catalog-page .veze-pagination :is(a, span) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 3px 15px; border: 1px solid #ddd; color: #333; }
.veze-catalog-page .veze-pagination :is(a:hover, a.current) { color: #fff; background: #00679e; border-color: #00679e; }
.veze-catalog-page .veze-pagination .pagination-ellipsis { border: 0; }
.veze-news-page .newslist { clear: both; padding-top: 16px; }
.veze-news-page .sep-news-list .item .thumb img { display: block; width: 100%; height: 100%; }
.veze-news-page .sep-news-list .item .info .title { line-height: 1.5; }
.veze-news-page .sep-news-list .veze-no-thumbnail { padding: 25px 0; border-bottom: 1px solid #eee; }
.veze-news-page .veze-news-date { display: block; color: #666; margin-bottom: 15px; }
.veze-news-detail .veze-article h1 { text-align: left; }
.veze-news-detail .veze-article-meta { clear: both; display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 0 0 24px; color: #666; }
.veze-catalog-page .veze-share { clear: both; display: flow-root; padding: 25px 0; }
.veze-catalog-page .veze-related-links { clear: both; width: 100%; }
.veze-catalog-page .veze-related-links .relate-list { clear: both; width: 100%; }
.veze-catalog-page .veze-related-links .sep-datalist { display: flex; flex-wrap: wrap; }
.veze-catalog-page .veze-related-links .sep-datalist li { padding-right: 20px; display: block; }
.veze-catalog-page .veze-related-links .sep-datalist li .title { white-space: normal; }
.veze-catalog-page .veze-inquiry { clear: both; scroll-margin-top: calc(var(--veze-header-offset, 118px) + 20px); }
.veze-news-detail .veze-inquiry { padding: 40px 0 15px; }
.veze-catalog-page .veze-form-title { font-size: 30px; font-weight: 700; color: #333; margin: 0 0 28px; }
.veze-catalog-page .veze-inquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; }
.veze-catalog-page .veze-inquiry-form .plane-body { display: contents; }
.veze-catalog-page .veze-inquiry-form :is(.form-item, .form-group) { width: auto; min-width: 0; margin: 0; padding: 0; float: none; }
.veze-catalog-page .veze-inquiry-form :is(.form-item, .form-group):has(textarea, button) { grid-column: 1 / -1; }
.veze-catalog-page .veze-inquiry-form :is(input:not([type="hidden"]), textarea) { box-sizing: border-box; display: block; width: 100%; height: 55px; padding: 12px 18px; border: 1px solid #dedede; border-radius: 0; background: #fff; box-shadow: none; color: #333; font: 16px/1.7 Arial, sans-serif; }
.veze-catalog-page .veze-inquiry-form textarea[name] { height: 160px; resize: vertical; }
.veze-catalog-page .veze-inquiry-form input[readonly] { background: #f5f5f5; }
.veze-catalog-page .veze-inquiry-form button[type="submit"] { border: 1px solid #00679e; background: #00679e; color: #fff; min-height: 48px; min-width: 155px; padding: 10px 35px; border-radius: 10px; font: 18px/1.5 Arial, sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.veze-catalog-page .veze-inquiry-form button[type="submit"]:hover { background: #fff; color: #00679e; }
.veze-products-page .veze-products-introduction { clear: both; display: flow-root; padding-top: 3%; }
.veze-products-page .veze-products-introduction h1 { font-size: 26px; font-weight: 700; border-bottom: 1px solid #f4f4f4; padding-bottom: 20px; margin-bottom: 20px; }
.veze-products-page .veze-view-options { clear: both; display: flex; justify-content: flex-end; align-items: center; gap: 2px; padding: 7px 10px; border: 1px solid #f4f4f4; margin-bottom: 24px; }
.veze-products-page .veze-view-options button { display: inline-flex; align-items: center; justify-content: center; height: 44px; width: 44px; border: 0; background: transparent; color: #666; cursor: pointer; font-size: 20px; }
.veze-products-page .veze-view-options button[aria-pressed="true"] { color: #00679e; }
.veze-products-page .veze-view-options :is(#ert, #uioi) { width: 44px; height: 44px; padding: 0; background-image: none; }
.veze-products-page .veze-product-list .box { display: flow-root; }
.veze-products-page .veze-product-list .thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.veze-products-page .veze-product-list .info { padding-top: 20px; }
.veze-products-page .prolist .show-detail .info { text-align: left; padding-top: 0; }
.veze-products-page .prolist .show-detail.veze-no-thumbnail .info { width: 100%; }
.veze-products-page .veze-product-list .pmore { padding-top: 20px; }
.veze-products-page .veze-product-list .pmore a { display: inline-block; color: #fff; margin: 0 12px 8px 0; }
.veze-products-page .veze-product-list .pmore a:hover { text-decoration: underline; }
.veze-product-detail .sep-primary-a { display: flex; gap: 3%; }
.veze-product-detail .showpr-left { width: 45%; min-width: 0; flex-shrink: 0; }
.veze-product-detail .showpr-right { flex: 1; min-width: 0; }
.veze-product-detail .veze-no-gallery .showpr-right { width: 100%; }
.veze-product-detail .showpr-right .p-short { clear: both; color: #666; font-size: 16px; line-height: 1.8; }
.veze-product-detail .showty { clear: both; margin: 24px 0 0; }
.veze-product-detail .showty a { padding: 12px 28px; min-height: 48px; background: #00679e; color: #fff; border: 1px solid #00679e; border-radius: 10px; font-size: 18px; }
.veze-product-detail .showty a i { margin-right: 10px; }
.veze-product-detail .showty a:hover { background: #fff; color: #00679e; }
.veze-product-detail .veze-description-title { display: inline-block; background: #00679e; color: #fff; padding: 10px 20px; font-size: 18px; margin: 0; }
.veze-product-detail .sep-primary-b-2 { clear: both; width: 100%; }
.veze-product-detail #Descrip { padding: 25px 0; }
.veze-product-detail .cshowpslist .veze-inquiry { float: none; padding: 28px 0 32px; }
.veze-product-detail .veze-inquiry > .sep-title { margin-bottom: clamp(24px, 3vw, 48px); }
.veze-product-detail .veze-inquiry .contact-form-right .left { width: 100%; box-sizing: border-box; }
.veze-product-detail .veze-recommendations { background: #fff; }
.veze-product-detail .veze-recommendations-news { background: #f7f7f7; }
.veze-recommendation-carousel { position: relative; --columns: 4; --gap: clamp(16px, 2.5vw, 40px); }
.veze-recommendation-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% + var(--gap)) / var(--columns) - var(--gap));
    gap: var(--gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.veze-recommendation-track::-webkit-scrollbar { display: none; }
.veze-recommendation-track.can-drag { user-select: none; }
.veze-recommendation-track.can-drag, .veze-recommendation-track.can-drag a { cursor: grab; }
.veze-recommendation-track.is-dragging { scroll-snap-type: none; }
.veze-recommendation-track.is-dragging, .veze-recommendation-track.is-dragging a { cursor: grabbing; }
.veze-recommendation-card { scroll-snap-align: start; min-width: 0; background: #f7f7f7; }
.veze-recommendations-news .veze-recommendation-card { background: #fff; }
.veze-recommendation-card > a { display: flex; flex-direction: column; height: 100%; }
.veze-recommendation-card a:focus-visible { outline: 2px solid #00679e; outline-offset: -3px; }
.veze-recommendation-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid #eee; box-sizing: border-box; }
.veze-recommendation-card .veze-recommendation-info {
    display: grid;
    gap: 16px;
    margin-top: auto;
    padding: clamp(16px, 2vw, 26px);
    text-align: left;
}
.veze-recommendation-info h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; margin: 0; font-size: 18px; font-weight: 400; line-height: 1.45; }
.veze-recommendation-info span, .veze-recommendation-card a:hover h3 { color: #00679e; }
.veze-recommendation-carousel button { position: absolute; top: 50%; transform: translateY(-50%); width: clamp(44px, 4vw, 60px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: #277faa; color: #fff; font-size: 0; cursor: pointer; }
.veze-recommendation-carousel button:not([hidden]) { display: grid; place-items: center; }
.veze-recommendation-carousel button::after {
    content: '';
    width: 10px;
    height: 18px;
    background: currentColor;
    clip-path: polygon(0 8%, 18% 0, 100% 50%, 18% 100%, 0 92%, 67% 50%);
}
.veze-recommendation-prev::after { transform: rotate(180deg); }
.veze-recommendation-carousel button:disabled { background: #aaa; cursor: default; }
.veze-recommendation-prev { left: -8px; }
.veze-recommendation-next { right: -8px; }
@media (max-width: 1100px) {
    .veze-catalog-page .sep-sidebar { flex-basis: 28%; width: 28%; }
    .veze-catalog-page .sep-sidebar .sep-sidebar-list { padding-left: 12px; padding-right: 12px; }
    .veze-catalog-page .sep-sidebar .sep-sidebar-list > ul > li > .box { padding: 14px 12px; }
    .veze-catalog-page .sep-sidebar .sep-sidebar-list > ul > li > .box a { font-size: 16px; }
    .veze-news-page .sep-news-list .item .thumb { width: 34%; height: auto; aspect-ratio: 4 / 3; margin-right: 35px; align-self: flex-start; }
}
@media (max-width: 1024px) {
    .veze-product-detail .sep-primary-a { flex-direction: column; gap: 30px; }
    .veze-product-detail :is(.showpr-left, .showpr-right) { width: 100%; }
    .veze-recommendation-carousel { --columns: 3; }
}
@media (max-width: 768px) {
    .veze-product-detail .veze-inquiry .sep-container .contact-form-right .left { padding: 24px; }
    .veze-catalog-page .has-sidebar { display: flex; flex-direction: column; gap: 24px; }
    .veze-catalog-page :is(.sep-sidebar, .prolist, .sep-primary) { width: 100%; flex-basis: auto; margin: 0; }
    .veze-catalog-page .sep-sidebar { position: static; }
    .veze-catalog-page .sep-sidebar .sep-sidebar-list > ul > li > .box { min-height: 54px; padding: 8px 12px; }
    .veze-catalog-page .sep-sidebar-list { padding: 16px !important; }
    .veze-catalog-page .sep-sidebar .veze-sidebar-heading { margin-bottom: 0; min-height: 44px; }
    .veze-catalog-page .sep-sidebar .veze-sidebar-heading[aria-expanded="true"] { margin-bottom: 12px; }
    .veze-catalog-page .sep-breadcrumb [aria-current="page"] { font-size: 14px; }
    .veze-catalog-page .sep-inner-body .sep-section-normal { padding: 30px 0; }
    .veze-news-page .sep-news-list .item { flex-direction: column; margin-bottom: 40px; }
    .veze-news-page .sep-news-list .item .thumb { width: 100%; margin: 0 0 22px; aspect-ratio: 4 / 3; }
    .veze-news-page .sep-news-list .item .info .title { font-size: 20px; }
    .veze-catalog-page .veze-inquiry-form { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .veze-catalog-page .veze-form-title { font-size: 26px; }
    .veze-products-page .prolist .jc-resource-grid .show-detail { flex-basis: 100%; max-width: 100%; }
    .veze-products-page .prolist .show-detail .info { margin-top: 20px; }
    .veze-recommendation-carousel { --columns: 2; }
}
@media (max-width: 520px) {
    .veze-recommendation-carousel { --columns: 1; }
}

/* Existing gallery, scoped to the migrated detail page. */

    .veze-product-detail .product-gallery {
        position: relative;
        width: 100%;
        float: left;
    }

    .veze-product-detail .product-gallery .product-image {
        display: block !important;
        position: relative;
        width: 100%;
        overflow: hidden;
        border: 1px solid #d2d2d2;
        box-sizing: border-box;
        background: #fff;
        cursor: zoom-in;
    }

    .veze-product-detail .product-gallery .product-image a {
        display: block;
        line-height: 0;
    }

    .veze-product-detail .product-gallery .product-gallery-zoom {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: none;
        pointer-events: none;
        background-repeat: no-repeat;
        background-size: 200% 200%;
        background-position: 50% 50%;
        opacity: 0;
        transition: opacity .15s ease;
    }

    @media (hover: hover) and (pointer: fine) {
        .veze-product-detail .product-gallery .product-gallery-zoom {
            display: block;
        }

        .veze-product-detail .product-gallery .product-image.is-zoomed .product-gallery-zoom {
            opacity: 1;
        }

        .veze-product-detail .product-gallery .product-image.is-zoomed {
            cursor: crosshair;
        }
    }

    .veze-product-detail .product-gallery .product-gallery-main {
        display: block;
        width: 100% !important;
        height: auto;
        max-height: 620px;
        object-fit: contain;
    }

    .veze-product-detail .product-gallery .product-gallery-thumbs {
        position: relative;
        width: 100% !important;
        margin: 18px 0 0 !important;
        padding: 0 36px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .veze-product-detail .product-gallery .product-gallery-thumbs ul {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100% !important;
        margin: 0;
        padding: 0;
        overflow-x: auto;
        overflow-y: hidden;
        list-style: none;
        scrollbar-width: thin;
    }

    .veze-product-detail .product-gallery .product-gallery-thumbs li {
        flex: 0 0 82px;
        width: 82px !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: .55;
        box-sizing: border-box;
    }

    .veze-product-detail .product-gallery .product-gallery-thumbs li.current {
        opacity: 1;
    }

    .veze-product-detail .product-gallery .product-gallery-thumb {
        display: block !important;
        width: 100%;
        height: 82px;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #d2d2d2;
        box-sizing: border-box;
        background: #fff;
        cursor: pointer;
    }

    .veze-product-detail .product-gallery .product-gallery-thumb img {
        display: block !important;
        width: 100% !important;
        height: 100%;
        margin: 0 !important;
        border: 0 !important;
        object-fit: contain;
    }

    .veze-product-detail .product-gallery .image-item.current .product-gallery-thumb {
        border: 2px solid #00679e;
    }

    .veze-product-detail .product-gallery .product-gallery-control {
        position: absolute;
        top: 50%;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 44px;
        margin: -22px 0 0;
        padding: 0;
        border: 1px solid #d2d2d2;
        border-radius: 2px;
        color: #333;
        background: rgba(255, 255, 255, .95);
        cursor: pointer;
        font-size: 22px;
        line-height: 1;
    }

    .veze-product-detail .product-gallery .product-gallery-control:hover,
    .veze-product-detail .product-gallery .product-gallery-control:focus {
        color: #fff;
        border-color: #00679e;
        background: #00679e;
        outline: none;
    }

    .veze-product-detail .product-gallery .product-gallery-prev {
        left: 0;
    }

    .veze-product-detail .product-gallery .product-gallery-next {
        right: 0;
    }

    @media screen and (max-width: 640px) {
        .veze-product-detail .product-gallery {
            width: 100% !important;
            float: none;
            margin: 0;
        }

        .veze-product-detail .product-gallery .product-gallery-main {
            max-height: 420px;
        }

        .veze-product-detail .product-gallery .product-gallery-thumbs {
            margin-top: 12px !important;
            padding: 0 30px;
        }

        .veze-product-detail .product-gallery .product-gallery-thumbs ul {
            gap: 8px;
        }

        .veze-product-detail .product-gallery .product-gallery-thumbs li {
            flex-basis: 64px;
            width: 64px !important;
        }

        .veze-product-detail .product-gallery .product-gallery-thumb {
            height: 64px;
        }

        .veze-product-detail .product-gallery .product-gallery-control {
            width: 24px;
            height: 38px;
            margin-top: -19px;
            font-size: 18px;
        }
    }

