:root {
    
}

body ::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}
body ::-webkit-scrollbar-track {
    background: #f5f5f5;
}
body ::-webkit-scrollbar-thumb {
    background: var(--theme-palette-color-1);
}

.ellipsis,
.ellipsis * {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ellipsis-2,
.ellipsis-2 * {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 控制行数 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ellipsis-3,
.ellipsis-3 * {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 控制行数 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flex-column {
    flex-direction: column;
}

.scroll-y-box {
    overflow-y: auto;
    padding-right: 1.6em;
}


.ct-footer .ct-widget:not(:first-child) {
    margin-top: inherit;
}

.icon-list-item .icon-list-wrapper {
    flex-shrink: 0;
}

.gspb_text {
    white-space: pre-line;
}

.gspb-buttonbox {
    min-height: auto;
}

.hover-box {
    cursor: pointer;
}
body:not(.block-editor-iframe__body) .hover-box .hover-box-cont {
    transition: all .3s;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
}
.hover-box:hover .hover-box-cont {
    opacity: 1 !important;
    z-index: 1 !important;
    visibility: visible !important;
}

.fluentform {
    --fluentform-primary: var(--theme-palette-color-1);
}
.fluentform .ff-el-input--label {
    color: var(--theme-form-text-initial-color, var(--theme-text-color));
}
.fluentform .code-box {
    width: 100%;
    height: var(--has-height, var(--theme-form-field-height, 40px));
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
.fluentform .code-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.fluentform .ff-t-container.flex-end {
    align-items: flex-end;
}
.fluentform .ff_file_upload_holder {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
div.fluentform .ff_file_upload_holder span.ff_upload_btn {
    display: flex !important;
    width: auto !important;
    /* background: #fff !important; */
}
div.fluentform .ff_upload_btn.ff-btn {
    background: var(--theme-palette-color-1);
    border-color: var(--theme-palette-color-1);
}
div.fluentform .ff_upload_btn.ff-btn:hover{
    opacity: .9;
    background: var(--theme-palette-color-1);
}
@media (max-width: 767px) {
    .fluentform .ff-el-group {
        margin-bottom: 10px;
    }
}

.sd-acf-swiper .swiper-slide .media-box {
    position: relative;
}
.sd-acf-swiper  .swiper-slide .media-box::after {
    content: "";
    display: block;
    padding-bottom: 82%;
}
.sd-acf-swiper .swiper-slide img,
.sd-acf-swiper .swiper-slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sd-acf-swiper .sd-acf-swiper__thumb-video,
.sd-acf-swiper .sd-acf-swiper__thumb-video::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.sd-acf-swiper .sd-acf-swiper__thumb-video::after {
    content: "";
    background: rgba(0,0,0,.2);
}
.sd-acf-swiper .sd-acf-swiper__thumb-video svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 30%;
    height: 30%;
    z-index: 1;
}
.sd-acf-swiper .sd-acf-swiper__thumbs {
    position: relative;
    margin-top: 10px;
}
.sd-acf-swiper .sd-acf-swiper__thumbs .swiper-slide {
    border: 1px solid transparent;
    cursor: pointer;
}
.sd-acf-swiper .sd-acf-swiper__thumbs .is-active {
    border-color: #000;
}
.sd-acf-swiper__nav {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
}
.sd-acf-swiper__nav svg {
    width: 80%;
    height: 80%;
}
.sd-acf-swiper__nav.sd-acf-swiper__nav--prev {
    left: 0;
}
.sd-acf-swiper__nav.sd-acf-swiper__nav--next {
    right: 0;
    transform: translateY(-50%) rotate(180deg) ;
}
.sd-acf-swiper__nav.swiper-button-disabled {
    opacity: 0.6;
    cursor: unset;
}
.sd-acf-swiper__thumbs .swiper-slide {
    max-width: 25%;
}
.arrow-thumb .sd-acf-swiper__nav {
    width: 1.6em;
    height: 1.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F2F2F2;
}
.arrow-thumb .sd-acf-swiper__thumbs {
    padding: 0 2.4em;
}
.arrow-main .sd-acf-swiper__nav {
    width: 4em;
    height: 4em;
}

.pro-case-swipe .sd-acf-swiper .swiper-slide .media-box::after {
    padding-bottom: 56%;
}
.pro-case-swipe .sd-acf-swiper .sd-acf-swiper__thumbs .is-active {
    border-color: transparent;
}
.pro-case-swipe .sd-acf-swiper .sd-acf-swiper__thumbs .is-active::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--theme-palette-color-1);
    opacity: .4;
    z-index: 1;
}
.pro-case-swipe .sd-acf-swiper__nav svg path {
    fill: #fff !important;
}

.side-term-list .cat-item {
    border-bottom: 1px solid #E6E6E6;
}
.side-term-list .cat-item a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 12px 12px 26px;
}
.side-term-list .cat-item a::before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #000;
}
.side-term-list .cat-item.current-cat {
    border-color: #000;
}
.side-term-list .cat-item a:hover,
.side-term-list .cat-item.current-cat a {
    color: var(--theme-palette-color-1);
}
.side-term-list .cat-item.current-cat a::before{
    background: var(--theme-palette-color-1);
}

.pagination .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    border-radius: var(--theme-border-radius, 4px);
    border: 2px solid rgba(0, 0, 0, 0);
    flex: 0 0 41px;
    min-width: 41px;
    margin: 5px;
}
.pagination .nav-links .page-numbers.next,
.pagination .nav-links .page-numbers.prev {
    padding-left: 10px;
    padding-right: 10px;
}
.pagination .nav-links .page-numbers.current {
    color: var(--theme-text-active-color, #fff);
    background: var(--theme-link-hover-color);
}
.pagination .nav-links .page-numbers:not(.dots):hover {
    border-color: var(--theme-link-hover-color);
}

.category-nav,
.product-inner-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 0;
    list-style: none;
    gap: 14px;
}
.category-nav a,
.product-inner-nav .cat-item a {
    display: block;
    font-weight: 500;
    font-size: 18px;
    color: #000000;
    padding: 18px 26px;
    border-bottom: 3px solid var(--theme-palette-color-5);
}
.category-nav a:hover,
.product-inner-nav .cat-item a:hover {
    color: var(--theme-palette-color-1);
}
.category-nav a.active,
.product-inner-nav .cat-item.current-cat a{
    font-weight: 600;
    color: var(--theme-palette-color-1);
    border-color: var(--theme-palette-color-1);;
}

.category-nav a {
    font-size: 16px;
    font-weight: bold;
    border-color: transparent;
}

.pro-nav a {
    border-bottom: 3px solid var(--theme-palette-color-5);
}

.post-views,
.post-views span {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.ydrc-article-share {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 20;
}
.ydrc-article-share__label {
    font-weight: 600;
    color: #111827;
}
.ydrc-article-share__items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.ydrc-article-share__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    /* padding: 8px; */
    border: 0px solid #E5E7EB;
    /* border-radius: 4px; */
    background: transparent;
    color: #111827;
    font: inherit;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s, color .2s, box-shadow .2s, transform .2s;
    outline: none !important;
}
.ydrc-article-share__item:hover,
.ydrc-article-share__item:focus {
    color: var(--theme-palette-color-1);
    /* border-color: var(--theme-palette-color-1); */
    /* box-shadow: 0 8px 20px rgba(17, 24, 39, .08); */
    transform: translateY(-1px);
}
.ydrc-article-share__item:focus {
    outline: 2px solid rgba(17, 24, 39, .12);
    outline-offset: 2px;
}
.ydrc-article-share__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F3F4F6;
    color: currentColor;
    font-size: 12px;
    font-weight: 600;
}
.ydrc-article-share__icon svg {
    width: 100%;
    height: 100%;
}
.ydrc-article-share__qr {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    width: 212px;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    background: #FFFFFF;
    box-shadow: 0 18px 45px rgba(17, 24, 39, .16);
    color: #111827;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 6px);
    transition: opacity .2s, visibility .2s, transform .2s;
    z-index: 20;
}
.ydrc-article-share__qr::after {
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 12px;
    height: 12px;
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    background: #FFFFFF;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}
.ydrc-article-share__qr-code {
    display: block;
    width: 180px;
    height: 180px;
    max-width: 100%;
    margin: 0 auto 8px;
}
.ydrc-article-share__qr-code canvas,
.ydrc-article-share__qr-code img,
.ydrc-article-share__qr-code svg {
    max-width: 100%;
    max-height: 100%;
}
.ydrc-article-share__qr-code.is-fallback {
    height: auto;
    max-width: 180px;
    overflow-wrap: break-word;
    word-break: break-all;
}
.ydrc-article-share__item.has-qr:hover .ydrc-article-share__qr,
.ydrc-article-share__item.has-qr:focus .ydrc-article-share__qr {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.ydrc-article-share__copy.is-copied {
    color: var(--theme-palette-color-1);
    border-color: var(--theme-palette-color-1);
}
@keyframes gssnackfadein {
    from {bottom: 0;opacity: 0}
    to {bottom: 30px;opacity: 1}
}
.ydrc-snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}
.ydrc-snackbar.show {
    visibility: visible;
    -webkit-animation: gssnackfadein .5s, gssnackfadeout .5s 2.5s;
    animation: gssnackfadein .5s, gssnackfadeout .5s 2.5s;
}

.pro-select-box table,
.pro-select-box table td,
.pro-select-box table th {
    border: 0;
    padding-left: 0;
    padding-right: 0;
}
.pro-select-box table th {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    text-align: left;
}
.pro-select-box table td {
    padding-top: 30px;
    padding-bottom: 30px;
}
.pro-select-box table th:last-child {
    text-align: right;
}
.pro-select-box table tbody tr {
    border-top: 1px solid rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(0,0,0,0.3);
}
.pro-select-box td img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}
.pro-select-box .opt {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.pro-select-box .opt svg {
    width: 24px;
    height: 24px;
    padding: 5px;
    flex-shrink: 0;
    cursor: pointer;
}
.pro-select-box .opt input {
    width: 80px;
    height: auto;
    padding: 0;
    border: 0;
    outline: none;
    text-align: center;
}
.pro-select-box .opt input:focus {
    border: 0;
    outline: none;
    box-shadow: none;
}
.pro-select-box .opt input::-webkit-outer-spin-button,
.pro-select-box .opt input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hide,
:not(.block-editor-iframe__body) .hide-on-publish {
    display: none;
}

:not(.block-editor-iframe__body) .no-events-btn {
    pointer-events: none;
}

.wpulike {
    display: flex;
    padding: 0;
}
.wpulike-heart .wp_ulike_general_class {
    padding: 0;
    border: 0;
    box-shadow: none;
    width: 20px;
    height: 20px;
}
.wpulike-heart button.wp_ulike_btn {
    padding: 0;
    width: 100%;
    height: 100%;
}
.wpulike-heart .wp_ulike_put_image:after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    transform: translate(0%) translateY(0%);
}

.comment-respond #reply-title,
.comment-respond .comment-notes,
.comment-respond .comment-form-field-input-author,
.comment-respond .comment-form-field-input-email,
.comment-respond .comment-form-field-input-url,
.comment-respond .comment-form-field-textarea label,
.comment-respond .comment-form-cookies-consent,
.comment-respond .logged-in-as,
.comment-form-attachment .comment-form-attachment__label,
.comment-form-attachment__file-size-notice,
.comment-form-attachment__file-types-notice,
.comment-form-attachment__autoembed-links-notice
{
    display: none !important;
}
ol .comment-respond #reply-title {
    display: flex;
    margin-bottom: 20px;
}
.comment-form {
    grid-row-gap: 0 !important;
}
.comment-form .form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}
.comment-form-attachment .comment-form-attachment__select {
    position: absolute;
    top: -38px;
    left: 60px;
    padding: 0;
    border: 0;
    width: auto;
    height: auto;
}
.comment-form-attachment .comment-form-attachment__select svg {
    width: 20px;
    height: 20px;
}
.emojionearea .emojionearea-editor {
    padding: 14px 16px 48px 16px !important;
}
.emojionearea-button {
    top: unset !important;
    bottom: 12px !important;
    left: 12px !important;
}
.emojionearea .emojionearea-picker.emojionearea-picker-position-bottom {
    left: 0;
    right: unset !important;
}
.comment .wp-block-comment-content {
    margin-bottom: 20px;
}
.comment .dco-image-attachment img {
    width: 100px !important;
    height: 100px !important;
}

.full-swiper,
.full-swiper .gs-swiper-init,
.full-swiper .gs-swiper-init .swiper, 
.full-swiper .gs-swiper-init .swiper .swiper-wrapper,
.full-swiper .swiper-wrapper .swiper-slide-inner,
.full-swiper .swiper-wrapper .swiper-slide-inner .slider-content-zone{
    width: 100%;
    height: 100%;
}
.full-swiper .swiper-wrapper .swiper-slide-inner {
    min-height: unset !important;
}

.zoom-container {position: relative;}
.zoom-container .zoom-mask {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: rgba(255, 255, 255, 0.4);z-index: 1;display: none;}
.zoom-container .zoom-lens {position: absolute;top: 0;left: 0;width: 30%;height: 30%;border: 1px solid #fff; box-shadow: 0px 0px 6px rgba(0,0,0,.6); pointer-events: none;overflow: hidden;z-index: 1;display: none;}
.zoom-container .zoom-lens img {
    position: absolute;top: 0;left: 0;width: 7.2rem;height: 7.2rem;transition: unset; max-width: unset; max-height: unset; object-fit: cover;
}
.zoom-container .zoom-result {position: absolute;left: 110%;top: 0;width: 80%;background-size: 300% 300%;background-repeat: no-repeat; background-color: #fff; box-shadow: 0px 0px 4px rgba(0,0,0,.3);display: none;z-index: 10;}
.zoom-container .zoom-result::after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.slider-content-zone {
    width: 100%;
}
[data-slidesperview="5"] .swiper .swiper-slide {
    width: 20%;
}
[data-slidesperview="4"] .swiper .swiper-slide {
    width: 25%;
}
[data-slidesperview="3"] .swiper .swiper-slide {
    width: 33.3333%;
}
[data-slidesperview="2"] .swiper .swiper-slide {
    width: 50%;
}
[data-slidesperview="1"] .swiper .swiper-slide {
    width: 100%;
}

@media (max-width: 600px) {
    .ydrc-article-share {
        align-items: flex-start;
        flex-direction: column;
    }
    .ydrc-article-share__items {
        width: 100%;
    }
    .ydrc-article-share__qr {
        width: 140px;
        left: 0;
    }
    .ydrc-article-share__qr-code {
        width: 120px;
        height: 120px;
    }
    .ydrc-article-share__qr {
        left: 0;
        transform: translate(0, 6px);
    }
    .ydrc-article-share__qr::after {
        left: 5px;
        transform: rotate(45deg);
    }
    .ydrc-article-share__item.has-qr:hover .ydrc-article-share__qr,
    .ydrc-article-share__item.has-qr:focus .ydrc-article-share__qr {
        transform: translate(0, 0);
    }
}
/* .sub-menu {
    --menu-item-padding: 6px 20px;
    padding: 6px 0;
    border-top: 3px solid var(--theme-palette-color-1);
}
nav[class*=menu] li[class*=current-menu-]>.ct-menu-link {
    font-weight: bold;
} */

@media (min-width: 1000px) {
    .ct-container-fluid {
        --theme-container-edge-spacing: calc(100vw - 8.4vw);
    }
}

@media (max-width: 1000px) {
    [data-slidesperviewmd="5"] .swiper .swiper-slide {
        width: 20%;
    }
    [data-slidesperviewmd="4"] .swiper .swiper-slide {
        width: 25%;
    }
    [data-slidesperviewmd="3"] .swiper .swiper-slide {
        width: 33.3333%;
    }
    [data-slidesperviewmd="2"] .swiper .swiper-slide {
        width: 50%;
    }
    [data-slidesperviewmd="1"] .swiper .swiper-slide {
        width: 100%;
    }
}

@media (max-width: 767px) {
    [data-slidesperviewxs="5"] .swiper .swiper-slide {
        width: 20%;
    }
    [data-slidesperviewxs="4"] .swiper .swiper-slide {
        width: 25%;
    }
    [data-slidesperviewxs="3"] .swiper .swiper-slide {
        width: 33.3333%;
    }
    [data-slidesperviewxs="2"] .swiper .swiper-slide {
        width: 50%;
    }
    [data-slidesperviewxs="1"] .swiper .swiper-slide {
        width: 100%;
    }

    .category-nav, .product-inner-nav {
        gap: 0;
    }
    .category-nav a,
    .product-inner-nav .cat-item a {
        font-size: 16px;
        padding: 8px 10px;
    }
}
