/* ========================================
   羽绒服博物馆 - 全局样式
   ======================================== */

/* CSS Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Han Sans CN', '思源黑体', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.relative {
    position: relative;
}

/* ========================================
   布局工具类
   ======================================== */
.djm-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

}

/* ========================================
   导航栏
   ======================================== */
.djm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.djm-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    gap: 48px;
}

/* Logo */
.djm-logo {
    text-align: center;
    z-index: 2;
}

.djm-logo a {
    display: block;
}

.djm-logo-img {
    height: 40px;
}


/* 导航列表 */
.djm-nav-list {
    display: flex;
    gap: 48px;
    width: 45%;
}

.djm-nav-left {
    justify-content: flex-end;
}

.djm-nav-list a {
    font-size: 16px;
    color: #4a444a;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

.djm-nav-list a:hover,
.djm-nav-list a.djm-active {
    color: #1a1a1a;
}

.djm-nav-list a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a444a;
    transition: width 0.3s;

}

.djm-nav-list a:hover::after,
.djm-nav-list a.djm-active::after {
    width: 100%;
}

/* 汉堡菜单按钮 */
.djm-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    gap: 7px;
}

.djm-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
    /* margin: 3px 0; */
}

.djm-hamburger.djm-active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: #fff;
}

.djm-hamburger.djm-active span:nth-child(2) {
    opacity: 0;
}

.djm-hamburger.djm-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #fff;
}

/* 移动端菜单 */
.djm-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.djm-mobile-menu.djm-active {
    opacity: 1;
    visibility: visible;
}

.djm-mobile-menu-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 30px;
}

.djm-mobile-menu-list a {
    font-size: 18px;
    color: #fff;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.djm-mobile-menu-list a:hover,
.djm-mobile-menu-list a.djm-active {
    color: #ccc;
}

/* ========================================
   Banner 区域
   ======================================== */
.djm-banner {
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.djm-banner-content {
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    width: 80%;
    max-width: 1000px;
    margin-top: 8%;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
}

.djm-banner-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.djm-banner-desc {
    font-size: 18px;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* 三行文字共用基础动画：隐藏 + 位移 */
.djm-banner .djm-banner-content h2,
.djm-banner .djm-banner-content .djm-banner-desc {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* 激活时依次淡入上升 */
.djm-banner .swiper-slide-active .djm-banner-content h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.42s;
}

.djm-banner .swiper-slide-active .djm-banner-content .djm-banner-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.75s;
}



.djm-banner .swiper-button-next,
.djm-banner .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: background 0.3s;
    z-index: 10;
}

.djm-banner .swiper-button-next:hover,
.djm-banner .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
}

.djm-banner .swiper-button-next:after,
.djm-banner .swiper-button-prev:after {
    font-size: 20px;
}

.djm-banner .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: transform 0.2s;
}

.djm-banner .swiper-pagination-bullet-active {
    background: #ffffff;

}

/* ========================================
   历史发展区域 - 全屏背景布局
   ======================================== */
.djm-history {
    position: relative;
    padding: 120px 0;
    display: flex;
    align-items: center;
}

.djm-history-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:#eeeeee url('../images/history.jpg') center center / cover no-repeat;
    z-index: 0;
}

 

.djm-history .djm-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
}

.djm-history-content {
    max-width: 100%;
    text-align: left;
}

.djm-history-title-wrap,
.djm-section-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.djm-history-title-main,
.djm-section-title-main {
    font-size: 48px;
    font-weight: 700;
    color: #4a444a;
    line-height: 1;
}

.djm-history-title-sub,
.djm-section-title-sub {
    font-size: 24px;
    font-weight: 700;
    color: #4a444a;
    transform: translateY(-3px);
    line-height: 1;
}

.djm-history-intro {
    margin-bottom: 48px;
}

.djm-history-intro p {
    font-size: 16px;
    color: #4a444a;
    line-height: 1.6;
    margin-bottom: 12px;
}

.djm-history-intro p:last-child {
    margin-bottom: 0;
}

.djm-history-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.djm-history-item {
    padding-bottom: 24px;
}

.djm-history-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.djm-history-name {
    font-size: 28px;
    font-weight: 700;
    color: #4a444a;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.djm-history-period {}

.djm-history-desc {
    font-size: 16px;
    color: #4a444a;
    line-height: 1.6;
}

/* ========================================
   羽绒科普区域
   ======================================== */
.djm-science {
    background: #fff;
    padding: 100px 0;
}

.djm-section-header {
    margin-bottom: 40px;
}


.djm-science-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.djm-science-tab {
    padding: 6px 32px;
    border: 1px solid #333;
    border-radius: 30px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s;
    cursor: pointer;
    min-width: 147px;
    text-align: center;
}

.djm-science-tab:hover,
.djm-science-tab.djm-active {
    border-color: #333;
    background: #333;
    color: #fff;
}

.djm-science-content {
    display: none;
    margin-top: 40px;
}

.djm-science-content.djm-active {
    display: block;
}

.djm-science-text {
    font-size: 16px;
    color: #4a444a;
    line-height: 1.8;
    text-align: justify;
}

.djm-science-placeholder {
    height: 300px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
}

/* ========================================
   精品馆藏区域 - 深色背景全屏布局
   ======================================== */
.djm-collection {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.djm-collection-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4a444a url('../images/product-bg.jpg') center center / cover no-repeat;
    z-index: 0;
    background-size: contain;
    
}

.djm-collection-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    
}

.djm-collection-header {
    margin-bottom: 60px;
}

.djm-collection .djm-section-title-main {
    color: #fff;
}

.djm-collection .djm-section-title-sub {
    color: rgba(255, 255, 255, 1);
}

.djm-collection-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.djm-collection-item {
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.djm-collection-item:last-child {
    border-bottom: none;
}

.djm-collection-item-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 160px;
}

.djm-collection-item-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.95);
    margin: 0 20px;
}

.djm-collection-item-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 1);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 300px;
    text-align: right;
}

.djm-collection-cta {
    margin-top: 48px;
}

/* ========================================
   关于我们区域
   ======================================== */
.djm-about {
    background: #fff;
    padding: 100px 0;
}

.djm-about-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.djm-about-content {
    flex: 1;
}

.djm-about-text {
    margin-bottom: 32px;
}

.djm-about-text p {
    font-size: 16px;
    color: #282828;
    line-height: 2;
    margin-bottom: 16px;
    text-align: justify;
}


.djm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 32px;
    border: 1px solid #333;
    font-size: 14px;
    color: #333;
    transition: all 0.3s;
    border-radius: 4px;
    float: right;
}

.djm-btn:hover {
    background: #333;
    color: #fff;
}

.djm-btn-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.djm-btn-light:hover {
    background: #fff;
    color: #333;
    border-color: #fff;
}

/* ========================================
   页脚
   ======================================== */
.djm-footer {
    background: #282828;
    color: #fff;
    padding: 60px 0;
}

.djm-footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.djm-footer-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
}

.djm-footer-info p {}

.djm-footer-logo {
    text-align: center;
    margin-left: auto;
}

.djm-footer-logo-img {
    height: 24px;
}

 

 

 



/* 社交媒体 */
.djm-footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.djm-social-item {
    position: relative;
}

.djm-social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 1);
    transition: all 0.3s;
}

.djm-social-icon:hover {
    transform: scale(1.1);
}

.djm-social-icon img {
    width: 24px;
}
.djm-social-item  span {
    display: block;
    font-size: 10px;
}

/* 二维码弹出层 - 在图标上方弹出 */
.djm-social-qrcode {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.djm-social-item:hover .djm-social-qrcode {
    opacity: 1;
    visibility: visible;
}

/* 二维码尺寸 */
.djm-qrcode-placeholder {
    width: 100px;
    height: 100px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #999;
    border: 1px dashed #ddd;
    border-radius: 4px;
}

 


/* 时间轴主体区域 */
.djm-timeline {
    padding: 100px 0 0;
}

.djm-timeline-container {
    background: #eee url(../images/history-listbg.jpg) center bottom no-repeat;
    padding-top: 40px;
    margin-top: 80px;
    filter: grayscale(100%);
}


/* 时间轴内容区域 */
.djm-timeline-content {
    position: relative;

    margin: 0 auto;
}

.djm-timeline-line {
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #9d999d;
}

.djm-timeline-item {
    display: flex;
    /* margin-bottom: 50px; */
    padding-top: 50px;
}

.djm-timeline-item:last-child {
    margin-bottom: 0;
}

/* 左侧圆点区域 */
.djm-timeline-left {
    width: 20px;
    flex-shrink: 0;
    position: relative;
}

.djm-timeline-marker {
    width: 18px;
    height: 18px;
    background: #4a444a;
    border-radius: 50%;
    position: absolute;
    top: 12px;
    left: 0;
}

/* 右侧内容区域 */
.djm-timeline-right {
    flex: 1;
    padding-left: 40px;
}

/* 大标题（阶段名+区间） */
.djm-timeline-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #4a444a;
    margin-bottom: 32px;

    line-height: 1.4;
}

.djm-timeline-period {}

/* 小标题（年份+事件名） */
.djm-timeline-sub-title {
    font-size: 22px;
    font-weight: 600;
    color: #4a444a;
    margin-bottom: 12px;

}

.djm-timeline-sub-title:first-child {
    margin-top: 0;
}

/* 事件列表 */
.djm-timeline-events {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.djm-timeline-events li {
    font-size: 16px;
    color: #4a444a;
    line-height: 2;
    padding-left: 16px;
    position: relative;
}

.djm-timeline-events li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 4px;
    height: 4px;
    background: #4a444a;
    border-radius: 50%;
}

.djm-timeline-events li strong {
    font-weight: 600;
    color: #4a444a;
}

/* 图片区域 */
.djm-timeline-images {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}


/* 时间轴底部感性文案 */
.djm-timeline-footer {
    position: relative;
    margin-top: 100px;
    height: 800px;
}



.djm-timeline-footer-content {
    position: relative;
    z-index: 1;

}

.djm-timeline-footer-text {
    font-size: 24px;
    color: #4a444a;
    border: 1px solid #4a444a;
    border-radius: 30px;
    display: inline-block;
    padding: 4px 20px;
}

/* 羽绒科普 列表页 */
.djm-science-box {
    background: #eee;
}

.djm-science-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    padding: 80px 0;
}

.first-1> :first-child {
    grid-column: span 2;
    max-width: 865px;
}

.djm-science-item-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #4a444a;
}

.djm-science-item-desc {
    font-size: 16px;
    color: #4a444a;
    line-height: 1.8;
    text-align: justify;
}

.djm-science-item-img {
    margin-top: 60px;
}

.djm-science-bottom-img {
    text-align: center;
}

/* 精品馆藏 列表页 */
.djm-collection-box {
    background: #f8f8f8 url(../images/collection-bottom.jpg)center bottom no-repeat;
    background-size: contain;
}

.djm-collection-imglist {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 60px 0;
}

.djm-collection-imglist li {
    background: #eee;
    
}

.djm-collection-imglist li img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 2/3;
}

.empty-400 {
    height: 400px;
}

/* 分页 */
.pagination {
    padding-bottom: 60px;
    display: flex;
    justify-content: flex-end;
}

.pager {
    display: flex;
    align-items: center;
    gap: 10px;
}


.page-num,
.p-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 32px;
    padding: 0 10px;
    background: transparent;
    color: #282828;
    text-decoration: none;
    font-size: 13px;
    border-radius: 16px;
    border: 1px solid #282828;
    transition: all 0.2s ease;
}

.page-num:hover,
.p-btn:hover:not(.disabled) {
    color: #fff;
    border-color: #282828;
    background: #282828;
}

.page-num.page-num-current {
    background-color: #282828;
    color: #fff;
    border-color: #282828;
}

/* 关于我们单页 */
.djm-about-desc p {
    font-size: 16px;
    color: #282828;
    line-height: 2;
    margin-bottom: 10px;
    text-align: justify;
}

.djm-about-3 {
    margin-left: 180px;
}

.djm-about-imgs{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
}
.djm-about-imgs .item img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.djm-about-box {
    background: #eee url(../images/about-bottom.jpg)center bottom no-repeat;
    background-size: contain;
}

.nobgimg{
    background: #eee;
}

.djm-sonnav {
    padding-top: 60px;
}

.djm-about-container {
    margin: 50px 0;
}

.djm-product-imglist {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

}

.djm-product-imglist li {
    background: #eee;
    aspect-ratio: 2/3;
}

.djm-product-imglist li img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.djm-product-catlog {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 180px;
    height: 100%;
    width: 100%;
    z-index: 1;
    line-height: 2;
    font-size: 16px;
    color: #b2b2b2;
    
}

.djm-product-catlog ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.djm-product-catlog ul li a:hover,.djm-product-catlog ul li a.active{
    color: #4a444a;
}

.djm-about-contact {
    max-width: 720px;
    text-align: right;
    margin-left: auto;
    color: #282828;
    font-size: 18px;
    line-height: 2;
}

/* 品牌故事 */
.djm-pinpai-history {
    background: #f5f5f5;
    padding: 80px 0;
}

.djm-pinpai-history-header {
    margin-bottom: 20px;
}

.djm-pinpai-history-logo-area {
    margin-bottom: 50px;
}

.djm-pinpai-history-title {
    font-size: 24px;
    font-weight: 600;
    color: #282828;
    margin-bottom: 5px;

}

.djm-pinpai-history-subtitle {
    font-size: 16px;
    color: #282828;

}

/* ==========================================================================
       上方内容区
       ========================================================================== */
.main-swiper-wrapper {
    position: relative;
    padding: 0 100px;
    margin-bottom: 20px;
    margin-left: -100px;
}

.main-slide-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.content-side h3 {
    font-size: 72px;
    font-weight: 400;
    color: #282828;


}

.content-side p {
    font-size: 16px;
    color: #282828;
    line-height: 1.9;

}

.image-side {
    overflow: hidden;
    background-color: #E5E5E5;
}

.image-side img {
    width: 100%;
    height: auto;
    object-fit: cover;
    
    display: block;
    transition: transform 0.6s ease;
}

.main-swiper-wrapper:hover .image-side img {
    transform: scale(1.02);
    filter: grayscale(100%) contrast(105%);
}

/* 左右切换按钮 */
.btn-prev,
.btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    color: #FFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-prev {
    left: -4px;
    background-color: #262626;
}

.btn-next {
    right: -4px;
    background-color: #A3A3A3;
}

.btn-prev:hover {
    background-color: #000;
    transform: translateY(-50%) scale(1.05);
}

.btn-next:hover {
    background-color: #000;
    transform: translateY(-50%) scale(1.05);
}

.btn-prev svg,
.btn-next svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

/* ==========================================================================
        下方时间轴
       ========================================================================== */
.timeline-container {
    width: calc(100% + 100px);
    padding: 0 100px;
    position: relative;
    user-select: none;
    margin-left: -100px;
    overflow: hidden;
}

/* 贯穿主轴线 */
.timeline-axis {
    position: absolute;
    top: 60px;
    left: 0px;
    right: 0px;
    height: 1px;

    z-index: 1;
    background: linear-gradient(to right, transparent, #7f7f7f, transparent);
}

.thumbsSwiper {
    overflow: visible !important;
}

/* 单个节点容器 */
.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 130px;
    position: relative;
    cursor: pointer;
}

.node-dot {
    width: 10px;
    height: 10px;
    background-color: #C2C2C2;
    border-radius: 50%;
    position: absolute;
    top: 55px;
    z-index: 2;
    transition: all 0.4s ease;
}

.node-year {
    font-size: 16px;
    color: #7e7f7f;
    font-weight: 400;
    position: absolute;
    top: 76px;
    letter-spacing: 0.5px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 4;
    white-space: nowrap;
}

.node-triangle {
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 11px solid #000000;
    position: absolute;
    top: 84px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 3;
}

.thumbsSwiper .swiper-slide-thumb-active .node-year {
    color: #000000;
    font-size: 34px;
    font-weight: 300;
    letter-spacing: -0.5px;
    top: 0px;
}

.thumbsSwiper .swiper-slide-thumb-active .node-dot {
    background-color: #000000;
}

.thumbsSwiper .swiper-slide-thumb-active .node-triangle {
    opacity: 1;
    transform: translateY(0);
}

/* 主营项目 */

.djm-middle-banner {
    margin: 30px 0 70px;
    text-align: center;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
   
}

.stat-item {
    text-align: center;
    font-size: 16px;
    color: #282828;
    border-right: #282828 1px solid;
}

.stat-item:first-child {
    border-left: #282828 1px solid;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #cf8a78;
}
/* ========================================
   响应式设计
   ======================================== */
@media (max-width:1240px) {
    .djm-container {
        padding: 0 40px;
    }
}

/* 平板设备 */
@media (max-width: 1024px) {
    .djm-container,.djm-collection-inner {
        padding: 0 20px;
    }

    .djm-nav-list {
        gap: 32px;
    }

    .djm-about-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .djm-history-content {
        max-width: 100%;
    }

    .djm-history-title-main {
        font-size: 36px;
    }

    .djm-history-title-sub {
        font-size: 18px;
    }

     
}

/* 移动端设备 */
@media (max-width: 768px) {
    .djm-nav {
        justify-content: space-between;
        padding: 0 20px;
    }

    .djm-nav-list {
        display: none;
    }

    .djm-hamburger {
        display: flex;
    }

    .djm-mobile-menu {
        display: block;
    }

    .djm-banner {}

    .djm-banner-title {
        font-size: 28px;
        letter-spacing: 4px;
        margin-bottom: 5px;
    }

    .djm-banner-desc {
        font-size: 14px;
    }

    .djm-history {
        padding: 60px 0;
        min-height: auto;
    }
    .djm-history-bg{
        background-size: contain;
        background-position: bottom;
    }
    .djm-history .djm-container {
        display: block;
    }

    .djm-history-content {
        max-width: 100%;
    }

    .djm-history-title-wrap {
        flex-direction: column;
        gap: 8px;
    }

    .djm-history-title-main {
        font-size: 28px;
    }

    .djm-history-title-sub {
        font-size: 16px;
    }

    .djm-section-header {
        margin-bottom: 24px;
    }

    .djm-history-intro {
        margin-bottom: 32px;
    }

    .djm-history-intro p {
        font-size: 16px;
    }

    .djm-history-list {
        gap: 20px;
    }

    .djm-history-item {
        padding-bottom: 20px;
    }

    .djm-history-name {
        font-size: 20px;
    }



    .djm-history-desc {
        font-size: 16px;
    }

     

    .djm-science,
    .djm-about {
        padding: 60px 0;
    }

    .djm-science-title,
    .djm-about-title {
        font-size: 28px;
    }

    .djm-science-tabs {
        justify-content: center;
    }

    .djm-science-tab {
        padding: 5px 24px;
    }

    .djm-footer-wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .djm-footer-logo {
        margin-right: auto;
    }

    .djm-footer-social {
        gap: 12px;
    }


    .djm-social-qrcode {
     
        padding: 6px;
    }

    .djm-qrcode-placeholder {
        width: 80px;
        height: 80px;
        font-size: 9px;
    }

    /* 精品馆藏移动端 */
    .djm-collection-inner {
        padding: 0 20px;
    }

    .djm-collection-item {
        padding: 16px 0;
    }

    .djm-collection-item-title {
        min-width: auto;
        font-size: 14px;
    }

    .djm-collection-item-line {
        margin: 0 12px;
    }

    .djm-collection-item-desc {
        min-width: auto;
        font-size: 12px;
        white-space: normal;
        flex-shrink: 1;
    }

    .djm-collection-cta {
        margin-top: 32px;
    }

    .djm-timeline {
        padding: 60px 0 0;
    }

    .djm-timeline-line {
        left: 4px;
    }

    .djm-timeline-left {
        width: 12px;
    }

    .djm-timeline-marker {
        width: 10px;
        height: 10px;
        top:10px;
    }

    .djm-timeline-right {
        padding-left: 18px;
    }

    .djm-timeline-item {
        padding-top: 30px;
    }

    .djm-timeline-main-title {
        font-size: 24px;
        margin-bottom: 24px;

    }

    .djm-timeline-period {}

    .djm-timeline-sub-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .djm-timeline-sub-title:first-child {
        margin-top: 0;
    }

    .djm-timeline-events li {
        font-size: 16px;
        line-height: 1.8;
    }

    .djm-timeline-images {
        flex-direction: column;
        gap: 12px;
    }

    .djm-timeline-img,
    .djm-timeline-img-full {
        width: 100%;
    }

    .djm-timeline-footer {
        height: 600px;
        margin-top: 60px;
    }

    .djm-timeline-footer-text {
        font-size: 18px;

    }

    .djm-science-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }
    
    .first-1> :first-child {
        grid-column: 1;
      
    }

    .djm-science-item-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .djm-science-item-img {
        margin-top: 30px;
    }

    .djm-collection-imglist {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 40px 0
    }

    .empty-400 {
        height: 100px;
    }

    .djm-about-3 {
        margin-left: 0px;
    }

    .djm-sonnav {
        padding-top: 40px;
    }

    .djm-about-container {
        margin: 40px 0;
    }

    .djm-product-list {
        margin-left: 80px;
    }

    .djm-product-catlog {
        width: 80px;
        font-size: 20px;
    }

    .djm-product-imglist {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .djm-about-contact {
        font-size: 16px;
        text-align: left;
    }

    .djm-pinpai-history {
        padding: 40px 0;
    }

    .djm-pinpai-history-logo-area {
        margin-bottom: 20px;
    }

    .djm-pinpai-history-logo-area img {
        height: 30px;
    }

    .djm-pinpai-history-title {
        font-size: 20px;
    }

    .main-swiper-wrapper {
        padding: 0;
        margin: 0px;
    }

    .main-slide-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .content-side h3 {
        font-size: 54px;
    }

    .btn-prev,
    .btn-next {
        display: none;
    }

    .timeline-container {
        width: calc(100% + 40px);
        margin-left: -20px;
        overflow: hidden;
        padding: 0 20px;
    }

    .timeline-axis {
        left: 0;
        right: 0;
    }

    .thumbsSwiper .swiper-slide-thumb-active .node-year {
        font-size: 24px;
        top: 15px;
    }


    .stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }
    .stat-item:nth-of-type(3) {
        border-left: #282828 1px solid;
    }

    .djm-about-imgs{
        margin-top: 40px;
    }
}

/* 小屏幕移动端 */
@media (max-width: 480px) {


    .djm-banner-title {
        font-size: 20px;
    }

    .djm-collection-header {
        margin-bottom: 40px;
    }
    .djm-collection-bg{
        transform: scale(1.5);
    }
    .djm-section-title-main {
        font-size: 28px;
    }

    .djm-section-title-sub {
        font-size: 16px;
    }

    .djm-btn {
        width: 100%;
        justify-content: center;
    }

    .djm-timeline-main-title {
        font-size: 20px;

    }

    .djm-timeline-period {}

    .djm-timeline-sub-title {}

    .djm-timeline-events li {
        font-size: 14px;
    }

    .djm-timeline-footer-text {
        font-size: 16px;
    }

    .pager {
        gap: 4px;
    }

    .p-num,
    .p-btn {
        height: 28px;
        min-width: 28px;
        font-size: 12px;
        padding: 0 6px;
    }

    .djm-product-list {
        margin-left: 60px;
    }

    .djm-product-catlog {
        width: 60px;
        font-size: 16px;
    }

    .djm-product-catlog ul {
        align-items: flex-start;
    }

    .djm-product-imglist {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .djm-about-imgs {
        grid-template-columns: repeat(1, 1fr);
    }
}