.gallery-container {
    display: flex;
    /*flex-wrap: wrap;*/
    gap: 1rem;
    overflow: hidden;
    border-radius: 0.94rem ;
    /*height: 32rem;*/
}

.gallery-container .main-image {
    flex: 1;
    overflow: hidden;
    max-height:32rem;
}

.gallery-container .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-container .thumbnails {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-container .thumbnail {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-container .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.gallery-container .main-image:hover img,
.gallery-container .thumbnail:hover img {
    transform: scale(1.1);
}

/*.thumbnail::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: rgba(0, 0, 0, 0.2);*/
/*    opacity: 0;*/
/*    transition: opacity 0.3s ease;*/
/*}*/

.gallery-container .thumbnail:hover::after {
    opacity: 1;
}

/*.image-title {*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    padding: 10px;*/
/*    background: rgba(0, 0, 0, 0.7);*/
/*    color: white;*/
/*    font-size: 14px;*/
/*    text-align: center;*/
/*    transform: translateY(100%);*/
/*    transition: transform 0.3s ease;*/
/*    z-index: 2;*/
/*}*/

/*.thumbnail:hover .image-title {*/
/*    transform: translateY(0);*/
/*}*/
#enlOutDiv{
    display: flex;
    flex-direction: column-reverse;

}
.imglist_enlarger{
    display: flex;
    gap:1rem;
    align-items: center;
    justify-content: center;
    margin-bottom:1rem;
}

.detail_attr li{
    font-size: 0.75rem;
    font-weight: 600;
}
.detail_attr img{
    background:#eee;
    padding:0.5rem;
    border-radius:100%;
    height:3rem;
    width:3rem;
    box-sizing:border-box;
}
.dj_echart{
    height: 22rem;
    text-align:center;
}
.dj_form{
    height: 18rem;
}
.dj_map{
    height: 32rem;
    background: #dfe0e1;
}
.fs-12{
    font-size: 0.63rem;
}
/* 左边计算器 */

.form-label {
    font-weight: 700;
    color: #000;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    min-width: 5rem;
    text-align: left;
}

.input_unit {
    color: #000;
    min-width: 2rem;
}

.form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding:0.65rem;
    font-size: 1rem;
    color: #000;
    text-align: right;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-section {
    margin-bottom: 1rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    gap:0.5rem
}

.form-section .slider-container {
    margin:0;
}
.form-section:last-child {
    margin-bottom: 0;
}
/* 右边个人信息 */
.agent-info{
    position: -webkit-sticky;
    position: sticky;
    top: 80px;
}
.profile-pic {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.company-info {
    color: #0D1011;
    font-size: 0.75rem;
}

.registration-info {
    color: #5A6067;
    font-size: 0.75rem;
}

.outline-btn {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
    color: #495057;
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.outline-btn:hover {
    border-color: #adb5bd;
    background: #f8f9fa;
    color: #212529;
}

.chevron-up {
    transition: transform 0.3s ease;
}

.chevron-up.rotated {
    transform: rotate(180deg);
}

.contact-options {
    transition: all 0.3s ease;
}
.video_wrap{
    display: flex;
}
.video_control{
    width:90%;
    height:90%;
}
.vr_style{
    font-size:4rem;
    color:#fff;
    transform: translate(-50%,-50%);
    text-shadow: 0 0 1rem rgba(0,0,0,0.3);
}

/*地图*/
.map-wrap {
    position: relative;
    overflow: hidden;
}
.map-left{
    width:100%;
    min-height: 30rem;
}
.map-wrap ul{overflow:hidden}



.tabs-title {
    overflow: auto;
    display: flex;
    gap:0.5rem;
}

.tabs-title li {
    display: flex;
    align-items: center;
    padding: 0.25rem 1rem;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    border:1px solid #ccc;
    border-radius:2rem;
    transition: all 0.3s ease;
}
.tabs-title li i {
    display: inline-block;
    margin-right: 3px;
    font-size:20px;
}
.tabs-title li:hover {
    border-color:var(--custom-primary);
    color:var(--custom-primary);
}
.tabs-title li.select {
    background:var(--custom-primary);
    color: #fff;
}
.map_result {
    position: absolute;
    top: 0.75rem;
    left:0.75rem;
    bottom: 0.75rem;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    border-radius:1rem;
    width:300px;
    padding:1rem;
    box-sizing: border-box;
}

.map_result li {
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size:0.85rem;
    position:relative;
    cursor: pointer;
    border-bottom:1px solid #f3f3f3;
    padding:0.5rem 0;
}
.map_result li:hover ._m_title,
.map_result li.selected ._m_title{
    font-weight: bolder;
    color: var(--custom-primary);
}

._m_right{
    text-align: right;
}
._m_dis{
    font-size:0.75rem
}
._m_title{
    font-weight: bold;
}

._m_time{
   display: flex;
    align-items: center;
}

/* === 悬浮遮罩层 === */
.media-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
    overflow: hidden;
}

/* === 模态框主体 === */
.media-viewer-modal {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* === 主媒体区 === */
.media-viewer-main {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.media-viewer-main .main-image, .media-viewer-main .main-video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#mediaContent {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === 导航按钮 === */
.media-viewer-nav {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: opacity 0.2s;
}

.media-viewer-nav:hover {
    opacity: 0.9;
}

.media-viewer-nav.left {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.media-viewer-nav.right {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

/* === 关闭按钮 === */
.media-viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.media-viewer-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* === 计数器 === */
.media-viewer-counter {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 8;
}

/* === 缩略图容器 === */
.media-viewer-thumbs {
    /*height: 100px;*/
    background: #111;
    padding: 1rem 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #444 #111;
}

/* === 单个缩略图 === */
.thumb-item {
    display: inline-block;
    width: 90px;
    height: 80px;
    margin: 0 6px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
}

.thumb-item:hover {
    transform: scale(1.05);
}

.thumb-item.active {
    border-color: #0d6efd;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 0 6px rgba(0,0,0,0.8);
    z-index: 2;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column;
    }

    .main-image img {
        max-height: 300px;
    }
    .gallery-container .thumbnails{
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(1, 1fr);
    }
    .vr_style{
        font-size:1.6rem;
    }
}
