/* 重置样式，确保没有冲突 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    background: #121212;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
}
.p-t-44 {
    padding-top: 44px;
}
.p-b-26 {
    padding-bottom: 26px;
}
.product-gallery-logo {
    width: 98px;
    height: 46px;
}
.nav_text {
    color: #fff;
    font-size: 16px;
    margin-left: 48px;
    cursor: pointer;
}
.nav_user {
    width:32px;
    height: 32px;
    border-radius: 100%;
}
.nav_user img {
    width:32px;
    height: 32px;
    border-radius: 100%;
}
.flex-justify-center {
    justify-content: center;
}

.flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.flex-column {
    flex-direction: column;
}
.pointer {
    cursor: pointer;
}
.flex-justify-between {
    justify-content: space-between;
}
.gallery-title {
    margin-top: 50px;
}
.gallery-title .title {
    font-size: 26px;
    color: #fff;
    font-weight: 500;
}
.gallery-tabs {
    margin-top: 26px;
}

.gallery-tabs .left-item {
    font-size: 16px;
    color: #787A7E;
    margin-right: 20px;
    cursor: pointer;
    transition: all .3s ease;
    position: relative;
}
.p-t-60 {
    padding-top: 60px;
}
.gallery-tabs .left-item.on,.gallery-tabs .left-item:hover {
    color: #fff;
}
.gallery-tabs .left-item::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    bottom: -12px;
    left: 0;
    display: none;
}
.gallery-tabs .left-item.on::after,.gallery-tabs .left-item:hover::after {
    display: block;
}
.pd-30 {
    padding: 0 30px;
}
.gallery-tabs .right-item {
    padding: 6px 14px;
    cursor: pointer;
    color: #fff;
    background: #202020;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all .3s ease;
    font-size: 14px;
}
.gallery-tabs .right-item~.right-item {
    margin-left: 8px;
}
.gallery-tabs .right-item.on,.gallery-tabs .right-item:hover {
    color: #2A7EFB;
    border: 1px solid #2A7EFB;
    background: rgba(42,126,251,0.08);
}
.gallery-content {
    margin-top: 50px;
}

.footer {
    background: #1D1D1D;
}
.footer .call_info .call_phone {
    color: #fff;
    
}
.footer .call_info .call_info_tit {
    color: #868686;
}

.gallery_top_nav {
    height: 67px;
    backdrop-filter: blur(3px);
}

/* 加载动画样式 */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    margin: 20px 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #409eff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;

}

.loading-text {
    color: #666;
    font-size: 14px;
}

.load-more-container {
    text-align: center;
    padding: 30px 0;
    margin: 20px 0;
}

.load-more-btn {
    padding: 10px 30px;
    background: #409eff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}
.load-more-btn:active {
    transform: translateY(1px);
}

.load-more-btn:hover:not(:disabled) {
    background: #66b1ff;
}

.load-more-btn:disabled {
    background: #c0c4cc;
    cursor: not-allowed;
}

.no-more-text {
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
}

/* 初始加载遮罩 */
.init-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #121212;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.init-loading-content {
    text-align: center;
}

/* 瀑布流布局 - 修改为6列 */
.waterfall-layout {
    column-count: 6 !important;
    column-gap: 20px;
    column-fill: balance;
    opacity: 1;
    transition: opacity 0.3s ease;
    /* 强制独立的布局上下文 */
    isolation: isolate;
    /* 保持布局稳定性 */
    contain: layout style paint; /* 现代浏览器支持 */
    backface-visibility: hidden;
    transform: translateZ(0);
    /* 添加最小高度，确保有足够空间分配列 */
    min-height: 500px !important; /* 根据你的屏幕调整，800-1200px */
    /* 确保宽度足够 */
    min-width: 1200px; /* 6列需要的近似最小宽度 */
    /* 优化布局性能 */
    will-change: contents;
}

/* 内容容器初始状态 */
.waterfall-layout.content-container:not(.layout-ready) {
    opacity: 0;
    transform: translateY(10px);
}

/* 布局就绪后的动画 */
.waterfall-layout.content-container.layout-ready {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.waterfall-layout.loaded {
    opacity: 1;
}

/* 骨架屏项 */
.waterfall-item-skeleton {
    break-inside: avoid;
    margin-bottom: 20px;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.waterfall-item-skeleton::before {
    content: '';
    display: block;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* 真实内容项 */
.waterfall-item-real {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    
    /* 移除 display: inline-block */
    display: block !important; /* 改为 block */
    width: 100%;
    margin-bottom: 20px;
    
    /* background: #fff; */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.waterfall-item-real:nth-child(odd)  { margin-bottom: 21px; }
.waterfall-item-real:nth-child(even) { margin-bottom: 19px; }

.waterfall-item-real:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.waterfall-item-real img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    /* 防止图片加载时的布局抖动 */
    /* background: #f5f5f5; */
}


/* 加载更多时保持布局稳定 */
.waterfall-layout.content-container:has(+ .loading-container) {
    margin-bottom: 0;
}

/* 骨架屏的特定样式 */
.waterfall-layout.skeleton-container {
    /* column-count: 6 !important; */
    opacity: 1;
}

.waterfall-item-real:hover img {
    transform: scale(1.05);
}


/* 图片弹窗样式 */
.image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.image-modal {
    width: 100%;
    /*max-width: 1600px;*/
    height: 100%;
    background: #121212;
    /*border-radius: 12px;*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(30px);
    transition: transform 0.3s ease 0.1s;
    position: relative;
}

.image-modal-overlay.active .image-modal {
    transform: translateY(0);
}

/* 弹窗加载遮罩 */
.modal-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #409eff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.modal-loading-text {
    color: white;
    font-size: 16px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 弹窗主体 */
.modal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 40px 20px 20px;
}

/* 中间图片展示区 */
.modal-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 0;
    overflow: hidden;
}

/* 图片查看器容器 */
.image-viewer-container {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding-bottom: 20px;
}
.image-viewer-container.zoomed {
  overflow: hidden; /* 放大状态下允许裁剪，制造可拖拽查看的效果 */
}
/* 主图片 */
.main-image {
    transition: transform 0.2s ease;
    /* 确保图片在放大时可以超出容器，才能被拖拽查看 */
    max-width: none;
    max-height: none;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.main-image:active {
    cursor: grabbing;
}

/* 图片切换动画 */
.image-transition-enter-active,
.image-transition-leave-active {
    transition: opacity 0.3s ease;
}

.image-transition-enter-from,
.image-transition-leave-to {
    opacity: 0;
}

/* 图片导航按钮 */
.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(228, 233, 237, 0.1);
    color: #999;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(5px);
}
.image-nav-btn .iconfont {
    font-weight: bold;
    font-size: 16px;
}

.image-nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.image-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
}

.nav-prev {
    left: 25px;
}

.nav-next {
    right: 25px;
}

/* 缩放工具栏 */
.zoom-toolbar {
    position: absolute;
    bottom: 40px;
    right: 44px;
    display: flex;
    gap: 10px;
    background: rgba(228, 233, 237, 0.1);
    border-radius: 98px;
    backdrop-filter: blur(5px);
    height: 40px;
    padding: 0 18px;
}

.zoom-btn {
    height: 40px;
    width: 40px;
    background: transparent;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    color: #999;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}
.zoom-btn:first-child {
    margin-right: 11px;
}

.zoom-btn img {
    width: 20px;
    height: 20px;
}

.zoom-btn:hover {
    transform: scale(1.1);
}

.zoom-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.zoom-level {
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
    min-width: 50px;
    justify-content: center;
}

/* 底部缩略图轮播 */
.thumbnail-section {
    position: relative;
    flex-shrink: 0;
}

.thumbnail-container {
    position: relative;
    padding: 0 9px;
    width: 100%;
    box-sizing: border-box;
    background: #121212;
}
.thumbnail-carousel {
    display: flex !important;
    /* gap: 8px; */
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    width: 100%;
    min-width: 100px; /* 最小宽度 */
    min-height: 65px; /* 最小高度 */
    /*justify-content: center;*/
}

.thumbnail-carousel::-webkit-scrollbar {
    display: none;
}

/* 确保缩略图项有固定尺寸 */
.thumbnail-item {
    flex: 0 0 auto !important; /* 重要：禁止flex伸缩 */
    overflow: hidden;
    cursor: pointer;
    height: 65px;
    border: 2px solid transparent;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}
/* 确保缩略图项有固定尺寸 */
.thumbnail-img-wrapper {
    max-width: 130px;
    min-width: 45px;
    height: 61px !important;
    display: block;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}
/* 确保图片有固定尺寸 */
.thumbnail-item img {
    object-fit: contain !important;
    object-position: center;
    display: block !important;
    border: 4px solid #121212;
}

.thumbnail-carousel::-webkit-scrollbar {
    display: none;
}


.thumbnail-item.active {
    border-color: #2A7EFB;
}
/* 当前选中指示器 */
.active-indicator {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #07c160;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.thumbnail-item.active .active-indicator {
    opacity: 1;
    animation: pulse-indicator 2s infinite;
}
@keyframes pulse-indicator {
    0%, 100% {
        opacity: 1;
        width: 20px;
    }
    50% {
        opacity: 0.7;
        width: 24px;
    }
}

/* 缩略图图片包装 */
.thumbnail-img-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.thumbnail-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover .thumbnail-img-wrapper img {
    transform: scale(1.05);
}

/* 加载动画 */
.thumbnail-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.loading-ring {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(7, 193, 96, 0.2);
    border-top-color: #07c160;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 禁用状态样式 */
.thumbnail-item[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
}

.thumbnail-item.loading {
    cursor: wait;
}

/* 缩略图容器滚动条隐藏 */
.thumbnail-carousel {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.thumbnail-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.thumbnail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 2;
    transition: all 0.3s;
}
.thumbnail-nav .iconfont {
    font-size: 8px;
    font-weight: bold;
}
.thumbnail-nav:hover {
    background: white;
    color: #409eff;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
}

.thumbnail-prev {
    left: 0;
}

.thumbnail-next {
    right: 0;
}

.thumbnail-nav[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.image-index {
    text-align: center;
    color: white;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 500;
}

.modal-left {
    width: 300px;
    margin-right: 30px;
    color: #999999;
    cursor: pointer;
}

.left-count {
    width: 88px;
    height: 44px;
    background: #202020;
    border-radius: 246px;
    align-items: center;
    position: relative;
    top: -15px;
    justify-content: center;
}

/* 方法1：使用 Unicode 字符（最简单） */
.modal-back-btn {
    color: #999;
    border: none;
    cursor: pointer;
    margin: 3px 7px 0 0;
    transition: all 0.3s;
    font-weight: 500;
}

/* 右侧信息区 */
.modal-right {
    width: 300px;
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex-shrink: 0;
}

/* 图片信息 */
.image-info-title {
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.image-info-desc {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
    margin-top: 12px;
}

.image-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 14px;
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    color: #2A7EFB;
    cursor: pointer;
    font-size: 14px;

}


/* 标签切换 */
.category-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    font-size: 14px;
    color: #409eff;
}

.label-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.label-tag {
    width: 142px;
    height: 80px;
    line-height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
}

.label-tag:hover {
    border-color: #2A7EFB;
    color: #2A7EFB;
    background: rgba(42, 126, 251, 0.1);
}

.label-tag.active {
    border-color: #2A7EFB;
    color: #2A7EFB;
    background: rgba(42, 126, 251, 0.2);
}

.label-tag.loading {
    position: relative;
    overflow: hidden;
}

.label-tag.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%);
    animation: shimmer 1.5s infinite;
}

/* 滚动到顶部按钮 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background: #181818;
    border: 1px solid #868686;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    
    transition: all 0.3s ease;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
}
.back-to-top .iconfont {
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-2px);
}

/* 加载更多时的小型加载动画 */
.mini-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #409eff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* 空状态 */
.empty-state {
    /* 或者使用flexbox方案 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #ABACB0;
    border-radius: 12px;
    margin: 20px 0;
}
.empty-state img {
    width: 124px;
    height: 124px;
    margin-bottom: 20px;
}
/* 确保空状态在瀑布流布局中正确显示 */
.waterfall-layout .empty-state {
    column-span: all; /* 跨所有列 */
    break-inside: avoid;
    /* 使用网格布局定位 */
    grid-column: 1 / -1; /* 如果使用网格布局 */
}

/* 修改容器，让空状态能够居中 */
.gallery-content {
    position: relative;
    min-height: 500px;
}

/* 如果使用column-count，需要确保空状态能突破列布局 */
.gallery-content > .waterfall-layout:has(.empty-state) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    column-count: 1 !important; /* 强制单列 */
}

/* 动画定义 */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 关闭按钮 */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #818181;
    opacity: .5;
    border-radius: 246px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 100;
    border: .5px solid #585858;
}
.modal-close span {
    font-size: 20px;
    color: #fff;
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}
.after_line ::after {
    background: #868686;
}
/* 调整响应式布局 */
@media (max-width: 1600px) {
    .waterfall-layout {
        column-count: 6;
    }
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .waterfall-layout {
        column-count: 4!important;
    }
    .footer {
        display:none;
    }
    .modal-body {
        flex-direction: column;
    }

    .modal-right {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
        max-height: 40vh;
    }

    .modal-middle {
        height: 50vh;
    }

    .thumbnail-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .waterfall-layout {
        column-count: 3!important;
    }

    .image-modal {
        height: 100vh;
        border-radius: 0;
    }

    .modal-middle {
        height: 45vh;
    }

    .image-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .nav-prev {
        left: 10px;
    }

    .nav-next {
        right: 10px;
    }

    .zoom-toolbar {
        bottom: 15px;
        right: 15px;
    }

    .thumbnail-item {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    .waterfall-layout {
        column-count: 2!important;
    }

    .label-tag {
        width: calc(50% - 5px);
    }

    .thumbnail-item {
        width: 70px;
        height: 70px;
    }

    .zoom-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .waterfall-layout {
        column-count: 1!important;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .thumbnail-container {
        padding: 0 40px;
    }
}

.item-skeleton {
    background: #f5f5f5;
    height: 25px;
    width: 100px;
    display: inline-block;
    margin-right: 20px;
    overflow: hidden;
    position: relative;
}

.item-skeleton::before {
    content: '';
    display: block;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
.href_title, .phone_num, .footer_desc_tit {
    color: #fff;
}
/* 放大状态样式 */
.main-image.zoomed {
    cursor: zoom-out;
    transition: transform 0.3s ease;
    z-index: 10;
}

/* 放大时的遮罩层 */
.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 999;
}

.zoom-overlay.active {
    display: block;
}

/* 放大容器 */
.zoom-container {
    position: absolute;
    width: 100%;
    top: 15%;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999999;
    /* overflow-y: scroll; */
}
.zoom-body {
    position: absolute;
    overflow-y: auto;
    width: 90%;
    max-width: 1200px;
    height: 100vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -41%);
    z-index: 99;
    text-align: center;
}
.zoom-container .zoom-body img {
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    cursor: default;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);

}

/* 放大时的拖拽指示器 */
.drag-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: none;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.drag-indicator.active {
    display: block;
}
.fixed-bar {
    position: fixed;
    bottom: 60px;
    right: 60px;
    z-index: 1001;
    display: none;
}
.fixed-bar.active {
    display: flex;
}
/* 关闭按钮 */
.zoom-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.zoom-close.active {
    display: flex;
    align-items: center;
    justify-content: center;
}