.elementor-775 .elementor-element.elementor-element-42ba444{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;border-style:solid;--border-style:solid;border-width:0px 0px 1px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:1px;--border-left-width:0px;border-color:#DDDDDD;--border-color:#DDDDDD;--padding-top:78px;--padding-bottom:78px;--padding-left:20px;--padding-right:20px;}.elementor-775 .elementor-element.elementor-element-42ba444:not(.elementor-motion-effects-element-type-background), .elementor-775 .elementor-element.elementor-element-42ba444 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F5F5F7;}.elementor-775 .elementor-element.elementor-element-417c46a{width:auto;max-width:auto;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 20px) 0px;}.elementor-775 .elementor-element.elementor-element-e39efac{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 20px) 0px;}.elementor-775 .elementor-element.elementor-element-e39efac .elementor-heading-title{font-family:"Orbitron", Sans-serif;font-size:60px;font-weight:600;line-height:1.4em;}.elementor-775 .elementor-element.elementor-element-4952416{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 50px) 0px;}.elementor-775 .elementor-element.elementor-element-4952416 .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:40px;font-weight:400;line-height:1.4em;color:#7B7B7B;}.elementor-775 .elementor-element.elementor-element-ad19185{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:40px;--padding-bottom:80px;--padding-left:20px;--padding-right:20px;}@media(max-width:767px){.elementor-775 .elementor-element.elementor-element-42ba444{--padding-top:40px;--padding-bottom:40px;--padding-left:20px;--padding-right:20px;}.elementor-775 .elementor-element.elementor-element-417c46a{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 12px) 0px;}.elementor-775 .elementor-element.elementor-element-e39efac{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 8px) 0px;}.elementor-775 .elementor-element.elementor-element-e39efac .elementor-heading-title{font-size:24px;}.elementor-775 .elementor-element.elementor-element-4952416{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 24px) 0px;}.elementor-775 .elementor-element.elementor-element-4952416 .elementor-heading-title{font-size:16px;}.elementor-775 .elementor-element.elementor-element-ad19185{--padding-top:40px;--padding-bottom:40px;--padding-left:20px;--padding-right:20px;}}/* Start custom CSS for shortcode, class: .elementor-element-512a31d *//* =========================================
   VIDEO CENTER
========================================= */

.video-center {
    width: 100%;
    position: relative;
}


/* =========================================
   CATEGORY NAVIGATION
========================================= */

.product-cat-nav-container {
    width: 100%;
    padding: 20px 0;
    position: relative;
    z-index: 20;
    font-family: system-ui, sans-serif;
}

.product-cat-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.product-cat-nav-list .cat-item {
    position: relative;
    list-style: none;
}


/* Normal Pill */

.product-cat-nav-list .cat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 24px;

    border: 1px solid #e8e8e8;
    border-radius: 50px;

    background: #fff;
    color: #555;

    font-size: 15px;
    font-weight: 400;

    text-decoration: none;
    white-space: nowrap;

    transition: all .25s ease;
}


.cat-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 20px 24px;
    min-width: 220px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
}

/* 顶部小尖角箭头 (Triangle) */
.cat-dropdown::before,
.cat-dropdown::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: solid transparent;
    height: 0;
    width: 0;
    pointer-events: none;
}

/* 尖角边框 */
.cat-dropdown::before {
    border-bottom-color: #e8e8e8;
    border-width: 8px;
}

/* 尖角白色背景覆盖 */
.cat-dropdown::after {
    border-bottom-color: #ffffff;
    border-width: 7px;
}


/* Parent Pill */

.cat-pill {
    display: inline-flex;
    align-items: center;

    border: 1px solid #e8e8e8;
    border-radius: 50px;

    overflow: hidden;
    background: #fff;

    transition: background .25s ease;
}

.cat-pill .cat-btn {
    border: 0;
    border-radius: 0;
    background: transparent;
}

.cat-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 0;

    background: transparent;
    color: #555;

    font-size: 17px;
    cursor: pointer;

    transition: transform .25s ease;
}

.cat-item.is-open .cat-toggle {
    transform: rotate(45deg);
}

/* Active Category */

.cat-item.is-active > .cat-pill {
    background: #f4f4f6;
    border-color: #f4f4f6;
}

.cat-item.is-active > .cat-pill .cat-btn {
    color: #111;
    font-weight: 500;
}

.cat-btn.is-active {
    background: #f4f4f6;
    border-color: #f4f4f6;
    color: #111;
    font-weight: 500;
}

.cat-btn:hover,
.cat-pill:hover {
    background: #f4f4f6;
    border-color: #f4f4f6;
    color: #111;
}


/* =========================================
   DROPDOWN
========================================= */

.cat-dropdown {
    position: absolute;

    top: calc(100% + 12px);
    left: 50%;

    transform: translateX(-50%) translateY(8px);

    min-width: 230px;
    padding: 20px 24px;

    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;

    box-shadow: 0 12px 32px rgba(0,0,0,.08);

    opacity: 0;
    visibility: hidden;

    z-index: 99;

    transition: all .25s ease;
}

.cat-item:hover > .cat-dropdown,
.cat-item.is-open > .cat-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 14px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-list a {
    display: block;

    color: #555;
    font-size: 14px;

    text-decoration: none;
    white-space: nowrap;

    transition: color .2s;
}

.dropdown-list a:hover,
.dropdown-list a.is-active {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
}


/* =========================================
   VIDEO GRID
========================================= */

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));

    gap: 30px 24px;
    width: 100%;
}

.video-card {
    min-width: 0;
    position: relative;
}

.video-modal-trigger {
    display: block;
    width: 100%;

    position: relative;
    overflow: hidden;

    padding: 0;
    border: 0;
    border-radius: 12px;

    background: #eee;
    cursor: pointer;
}

.video-modal-trigger img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;

    object-fit: cover;

    transition: transform .4s ease;
}

.video-modal-trigger:hover img {
    transform: scale(1.04);
}

.video-card h3 {
    padding: 0 10px;
    margin: 16px 0 0;

    color: #7B7B7B;
    font-family: Orbitron, sans-serif;

    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: capitalize;
}

.video-empty {
    grid-column: 1 / -1;
    padding: 40px 0;
    text-align: center;
    color: #777;
}


/* Play Button */

.play-button {
    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%,-50%);

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #fff;

    transition: transform .3s ease;
}

.video-modal-trigger:hover .play-button {
    transform: translate(-50%,-50%) scale(1.08);
}


/* =========================================
   PAGINATION
========================================= */

.video-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
    margin-top: 45px;
}

.video-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid #ddd;
    border-radius: 50%;

    color: #555;
    text-decoration: none;

    transition: all .25s;
}

.video-pagination a.is-active,
.video-pagination a:hover {
    background: #222;
    border-color: #222;
    color: #fff;
}


/* =========================================
   MOBILE
========================================= */

@media(max-width:767px){

    /* Category */
    .product-cat-nav-container {
        padding: 12px 0 20px;
    }

    .product-cat-nav-list {
        gap: 8px;
        align-items: flex-start;
    }

    .product-cat-nav-list .cat-item {
        max-width: 100%;
    }

    .product-cat-nav-list .cat-btn {
        padding: 9px 16px;
        font-size: 13px;
    }

    .cat-toggle {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    /* Open submenu occupies a full row */
    .product-cat-nav-list .cat-item.is-open {
        flex: 1 0 100%;
        width: 100%;
    }

    .cat-item.is-open .cat-pill {
        width: max-content;
        max-width: 100%;
    }

    /* Mobile dropdown becomes inline */
    .cat-dropdown {
        display: none;

        position: static;
        transform: none !important;

        width: 100%;
        min-width: 0;

        margin-top: 10px;
        padding: 15px;

        box-sizing: border-box;

        border-radius: 12px;
        box-shadow: none;

        opacity: 1;
        visibility: visible;
    }

    .cat-item.is-open > .cat-dropdown {
        display: block;
    }

    .dropdown-list {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 14px 12px;
    }

    .dropdown-list a {
        font-size: 12px;
        white-space: normal;
        line-height: 1.5;
    }


    /* Video Grid */
    .video-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 24px 12px;
    }

    .video-card h3 {
        padding: 0 4px;
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.4;
    }

    .video-modal-trigger {
        border-radius: 9px;
    }

    .play-button {
        width: 46px;
        height: 46px;
    }

    .play-button svg {
        width: 11px;
        height: 13px;
    }


    /* Pagination */
    .video-pagination {
        gap: 7px;
        margin-top: 30px;
    }

    .video-pagination a {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

}


/* =========================================
   VIDEO MODAL
   Existing modal styles can be retained
========================================= */

.video-modal {
    z-index: 99999;
}

.video-modal-content {
    width: min(90vw,1200px);
}

.video-container {
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe,
.video-container video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media(max-width:767px){

    .video-modal-content {
        width: 94vw;
    }

    .video-modal-close {
        right: 0;
        top: -42px;
    }

}


/* =========================================
   VIDEO CARD
========================================= */

.video-center .video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
    width: 100%;
}

.video-center .video-card {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

/* Thumbnail */
.video-center .video-modal-trigger {
    position: relative;
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    padding: 0;
    margin: 0;

    border: none;
    border-radius: 12px;

    background: #eee;
    overflow: hidden;

    cursor: pointer;
    line-height: 0;
}

/* Thumbnail Image */
.video-center .video-modal-trigger img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.video-center .video-modal-trigger:hover img {
    transform: scale(1.05);
}

/* Play Button */
.video-center .play-button {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    border-radius: 50%;
    background: #fff;

    z-index: 2;

    transition: transform .3s ease;
}

.video-center .play-button svg {
    width: 14px;
    height: 16px;
}

.video-center .video-modal-trigger:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Ripple */
.video-center .play-button::before,
.video-center .play-button::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;
    background: rgba(255,255,255,.5);

    z-index: -1;

    animation: video-ripple 2s infinite ease-out;
}

.video-center .play-button::after {
    animation-delay: .8s;
}

@keyframes video-ripple {
    0% {
        transform: scale(1);
        opacity: .8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Title */
.video-center .video-card h3 {
    margin: 16px 0 0;
    padding: 0 10px;

    color: #7B7B7B;

    font-family: Orbitron, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;

    text-transform: capitalize;
}

/* =========================================
   CARD MOBILE
========================================= */

@media(max-width:767px) {

    .video-center .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .video-center .video-modal-trigger {
        border-radius: 9px;
    }

    .video-center .play-button {
        width: 46px;
        height: 46px;
    }

    .video-center .play-button svg {
        width: 11px;
        height: 13px;
    }

    .video-center .video-card h3 {
        margin-top: 10px;
        padding: 0 4px;

        font-size: 14px;
        line-height: 1.4;
    }

}



/* =========================================
   VIDEO MODAL
========================================= */

/* Modal Wrapper */
.video-center .video-modal {
    position: fixed !important;
    inset: 0 !important;

    display: none !important;

    align-items: center;
    justify-content: center;

    padding: 50px 20px;

    width: 100vw;
    height: 100vh;
    height: 100dvh;

    box-sizing: border-box;

    z-index: 999999 !important;
}

/* Active */
.video-center .video-modal.active {
    display: flex !important;
}

/* Background Overlay */
.video-center .video-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.82);

    cursor: pointer;
}

/* Modal Content */
.video-center .video-modal-content {
    position: relative;

    width: min(
        92vw,
        1200px,
        calc((100dvh - 100px) * 16 / 9)
    );

    aspect-ratio: 16 / 9;

    height: auto;
    max-height: calc(100dvh - 100px);

    background: #000;

    border-radius: 12px;
    overflow: visible;

    z-index: 2;

    box-shadow: 0 20px 80px rgba(0,0,0,.3);
}

/* Video Container */
.video-center .video-container {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 12px;
    background: #000;
}

/* YouTube / Vimeo / iframe */
.video-center .video-container iframe {
    position: absolute;
    inset: 0;

    display: block;

    width: 100% !important;
    height: 100% !important;

    border: 0;
}

/* MP4 */
.video-center .video-container video {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

/* Close Button */
.video-center .video-modal-close {
    position: absolute;

    top: -50px;
    right: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;

    background: rgba(255,255,255,.12);
    color: #fff;

    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition: background .25s, transform .25s;
}

.video-center .video-modal-close:hover {
    background: rgba(255,255,255,.3);
    transform: rotate(90deg);
}


/* =========================================
   MODAL MOBILE
========================================= */

@media(max-width:767px) {

    .video-center .video-modal {
        padding: 20px 12px;
    }

    .video-center .video-modal-content {
        width: 100%;
        max-width: 100%;

        aspect-ratio: 16 / 9;
        max-height: none;

        border-radius: 8px;
    }

    .video-center .video-container {
        border-radius: 8px;
    }

    .video-center .video-modal-close {
        top: -48px;
        right: 0;

        width: 36px;
        height: 36px;

        font-size: 25px;
    }

}

/* =========================================
   MOBILE CATEGORY FILTER
========================================= */

.mobile-cat-trigger {
    display:none;
}

@media(max-width:767px){

    /* Navigation */
    .video-center .product-cat-nav-container {
        position:relative;
        padding:12px 0 18px;
        z-index:30;
    }

    /* Trigger */
    .video-center .mobile-cat-trigger {
        display:flex;
        align-items:center;
        justify-content:space-between;

        width:100%;
        min-height:48px;

        padding:0 16px;

        background:#fff;
        border:1px solid #e5e5e5;
        border-radius:12px;

        color:#222;
        font-family:inherit;
        font-size:14px;

        cursor:pointer;
    }

    .mobile-cat-current {
        font-weight:500;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }

    .mobile-cat-trigger-right {
        display:flex;
        align-items:center;
        gap:10px;

        color:#777;
        font-size:12px;
        flex-shrink:0;
    }

    .mobile-cat-trigger-icon {
        font-size:20px;
        line-height:1;

        transition:transform .25s;
    }

    .product-cat-nav-container.is-open
    .mobile-cat-trigger-icon {
        transform:rotate(45deg);
    }


    /* Collapsible Panel */
    .video-center .mobile-cat-panel {
        display:none;

        position:absolute;
        top:calc(100% - 10px);
        left:0;
        right:0;

        padding:14px;

        background:#fff;
        border:1px solid #e5e5e5;
        border-radius:12px;

        box-shadow:0 12px 30px rgba(0,0,0,.1);

        max-height:55vh;
        overflow-y:auto;
        overscroll-behavior:contain;

        z-index:100;
    }

    .video-center .product-cat-nav-container.is-open
    .mobile-cat-panel {
        display:block;
    }


    /* Category Grid */
    .video-center .product-cat-nav-list {
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr));

        gap:9px;

        width:100%;
        margin:0;
        padding:0;
    }

    .video-center .product-cat-nav-list > .cat-item {
        width:100%;
        min-width:0;
        margin:0;
    }

    .video-center .product-cat-nav-list .cat-btn {
        display:flex;
        align-items:center;
        justify-content:center;

        width:100%;
        min-height:40px;

        padding:9px 10px;

        font-size:12px;
        line-height:1.4;

        white-space:normal;
        text-align:center;

        box-sizing:border-box;
    }


    /* Parent Category */
    .video-center .cat-pill {
        display:flex;
        width:100%;
        min-width:0;
    }

    .video-center .cat-pill .cat-btn {
        flex:1;
        min-width:0;
    }

    .video-center .cat-toggle {
        flex:0 0 34px;
        width:34px;
        height:40px;
    }


    /* Expanded Parent */
    .video-center .product-cat-nav-list
    .cat-item.is-open {
        grid-column:1 / -1;
    }


    /* Child Categories */
    .video-center .cat-dropdown {
        display:none;

        position:static;
        transform:none !important;

        width:100%;
        min-width:0;

        margin-top:10px;
        padding:12px;

        border:1px solid #eee;
        border-radius:10px;

        box-shadow:none;

        box-sizing:border-box;

        opacity:1;
        visibility:visible;
    }

    .video-center .cat-item.is-open > .cat-dropdown {
        display:block;
    }

    .video-center .dropdown-list {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }

    .video-center .dropdown-list a {
        display:block;

        padding:7px 5px;

        font-size:12px;
        line-height:1.5;

        white-space:normal;
    }


    /* Active Category */
    .video-center .cat-btn.is-active,
    .video-center .cat-item.is-active > .cat-pill {
        background:#f1f1f3;
        border-color:#f1f1f3;
        color:#111;
    }

    .video-center .dropdown-list a.is-active {
        color:#111;
        font-weight:600;
        text-decoration:underline;
        text-underline-offset:4px;
    }

    .cat-dropdown::before, .cat-dropdown::after{
        display: none;
    }

}/* End custom CSS */