body {
    background: #f3f3f3;
    margin: auto;
}

div {box-sizing: border-box;}
div.flex {display: flex;}
div.product-grid {display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

a {
    color: #117d04;
}

a:hover {
    color: #ff8000;
}

a.white {color:#ffffff;}

.clear {
    clear: both;
}

.text-yellow {
    color: #feb312;
}

.text-orange {
    color: #ff8000;
}

.text-blue {
    color: #50b6fe;
}

.text-red {
    color: #fd5454;
}

.oldprice {
    color: #999;
    text-decoration: line-through
}

.message-page {
    background: #fff;
}

.left { float:left;}
.right { float:right;}
.hidden {visibility: hidden;}

/*----------头部-------------*/
.header {
    height: 60px;
    width: 100%;
    z-index: 2;
}

.header i {color: #fff; padding: .5rem;font-size: 1rem;}
.header .title {
    line-height: 1rem;
    font-size: .8rem;
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
    padding: 10px 2% 20px;
    overflow: hidden;
    width: 96%;
}


.header .banner {
    background: #f8f8f8;
    padding: 10px 0;
    width: 100%;
}

.header .banner .article-type {
    width: 15px;
    font-size: .7rem;
    float: left;
    padding: 0 10px;
    border-right: 1px solid #666;
    margin-right: 10px;
    line-height: 20px;
}

.header .banner img {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    float: left;
    margin-right: 10px;
}

.header .banner .author {
    font-size: .6rem;
}

.header .banner .watchword {
    font-size: .6rem;
    color: #666;
}



#page {width: 100%;}
.pagination .disabled { color:#aaaaaa;}
.pagination .active { font-weight: bold;}
.pagination li {float:left;padding-left:10px;padding-right:10px;}
#pagename a:hover {color:#00b950;}




.center, .justify {-webkit-box-orient: horizontal;display: -webkit-box;}
.justify {-webkit-box-align: center;-webkit-box-pack: justify;}


.app-index #header { height: 42px;
    background: #78a93f;
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
    padding-top: 10px;}
.app-index #header .layui-col-xs4 { font-size: 16px; text-align: center;}
.app-index #header .layui-col-xs4 a { color:#fff;}
.app-index #header .layui-col-xs4.active { color: #ff6060;}


.app-index .mission-item { padding: 4px 40px; margin-top: 10px; font-size: 15px; line-height: 25px;}
.app-index .mission-item:hover { background: #9abda8;}

.app-index .mission-item .price {padding-right:60px; text-align: right;}
.app-index .mission-item  .layui-btn { padding: 2px 12px; background: #00b950; color:#fff;border-radius: 4px;line-height: 22px;height: 26px;width:90px;}
.app-index .mission-item  .layui-btn:hover { cursor: pointer; }
.app-index .mission-item .layui-btn-disabled { padding: 2px 12px; color:#fff;border-radius: 4px;line-height: 22px;height: 26px;}

.app-index .mission-item .btn-link {padding: 2px 10px; width:90px;}
.app-index .mission-item .btn-link:hover { cursor: pointer; }

.app-index .mission-item .mission-id {margin-right: 30px;display: inline-block;width:90px;}

.app-index .mission-item .time-box {display: inline-block; width: 180px;}
.app-index .mission-item.disabled { color: #b2b2b2;}


#float_buttons {position: absolute;    right: -33px;    top: 52px;    width: 1.5em;    font-size: 14px;    background-color: #00b950;    text-align: center;    padding: 6px;    border-radius: 0 8px 8px 0;}



/* 导航条样式 */
.navbar {
    background-color: #333;
    color: white;
    padding: 0 20px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.company-name {
    font-size: 20px;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    align-items: center;
    padding-right:30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: #555;
}

.nav-menu a.active { background-color: #ad5c04;}

.language-select {
    margin-left: 20px;
}

/* 主内容区域 */
.main-content {
    margin-top: 50px;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    background-color: #f9f9f9;
}

/* 幻灯片区域 */
.layui-carousel .banner-caption {
    position: absolute;
    bottom: 20px;
    z-index: 999;
    padding-left: 20px;
    color: #ffffff;
}

.layui-carousel .banner-caption h3 {font-size: 20px;}
.layui-carousel .banner-caption p {font-size: 16px;}


/* 公司简介区域 */
.company-intro {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    width: 50%;
    margin-right:10px;
    overflow: hidden;
}

.company-intro h2 {
    color: #333;
    margin-bottom: 20px;
}

.company-intro p { font-size: 1.1rem;text-indent: 2em;}

.company-intro, .news-section {
    height: 20rem;
}



.company-contact { width: 40%;}
.company-contact p {line-height: 1.5rem;}


.more-btn {
    display: inline-block;
    padding: 5px 15px;
    background-color: #117d04;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.more-btn:hover {
    background-color: #0056b3;
}

/* 产品区域 */
.products-section {
    margin-bottom: 30px;
    width: 100%;
}

.products-section .product-item {
    width: 25%;
    float: left;
    padding: 10px;
}

.products-section .product-item img {
    width: 100%;
    border-radius: 8px;
}

.products-section .product-item h3 {
    text-align: left;
    margin-top: 10px;
    font-size: 16px;
    height: 80px;
}

/* 新闻资讯和常见问题区域 */
.news-section {
    width: 50%;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;;
}

.news-section h2 {
    color: #333;
    margin-bottom: 20px;
}

/* 常见问题区域 */
.faq-section {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 20px 0;
    border-radius: 8px;
}

.faq-list {
    display: flex;
    flex-wrap: wrap;
}

.faq-section h2 {
    margin-bottom: 20px;
}
.faq-section .faq-item {
    flex: 1 1 calc(50% - 20px);
    min-width: 300px;
    border-radius: 5px;
}


.faq-question {
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.faq-section .faq-answer { margin-bottom: 20px;color: #666; line-height: 1.5;}



.article-list { min-height: 600px; font-size: 1rem;line-height: 1em; padding: 10px 20px;}
h1.category-name {line-height: 2em; padding-left: 20px;}
.article-list .article-item { margin-bottom: 20px;}
.article-list .summary { font-size: 1em;margin-top:5px;}
.article-list span.date { margin-right: 20px;}

.article-list .news-item { border: 1px solid #888888; margin-bottom: 10px; padding:20px;border-radius: 8px;}
.article-list .news-item .f { font-size: 1.5em; font-weight: normal;margin-bottom: .5em;}



.showcase-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.showcase-item .showcase-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
}

.showcase-item .showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-item .showcase-text {
    flex: 1;
}

.showcase-item .showcase-text a {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.showcase-item .showcase-text a:hover {
    color: #007bff;
}

.showcase-item .summary {
    margin-top: 10px;
    line-height: 1.6;
    color: #666;
}

.showcase-item span.date {
    color: #999;
    margin-right: 10px;
}




/* 页脚区域 */
.footer {
    background-color: #333;
    color: white;
    padding: 30px;
    margin-top: 30px;
}

.footer-content {
    width: 1200px;
    margin: auto;
}

.footer-nav {
    width: 25%;
}

.footer-nav h2 {
    font-size: 1rem;
    line-height: 2rem;
}

.footer-nav a {
    color: #ffffff;
}


.footer .company-map {
    padding: 0 30px;
    border-radius: 8px;
    width: 35%;
}

.footer .company-map h3 {
    margin-top: 0;
    color: #fff;
}

.footer #map {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


/* 社交图标浮动窗口 */
.social-icons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}

.social-icon {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin: 5px 0;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon {font-size: 1rem;}
.social-icon:hover {
    background-color: #0056b3;
}



.company-intro, .news-section, .faq-section, .products-section {margin-top:10px;padding: 20px;background-color: #ffffff;}

.news-list a {font-size: 1.1rem; line-height: 1.5em;}

.faq-question:hover {cursor: pointer;}



.article-header h1 {padding: 10px 15px;}
.article-header .breadcrumb {height: 2em;padding: 10px 15px;}
.article-content { min-height: 500px; font-size: 1rem;    padding: 15px;}
.article-footer {font-size: .8rem; padding: 15px;}

 .product-detail-container {
     max-width: 1200px;
     margin: 20px auto;
     padding: 20px;
     background: #fff;
     border-radius: 8px;
     box-shadow: 0 2px 10px rgba(0,0,0,0.1);
 }

.product-detail-content {
    display: flex;
    gap: 30px;
}

.product-images {
    flex: 1;
    text-align: center;
}

.main-image {
    width: 100%;
    max-width: 460px;
    height: 460px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

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


.thumbnail-images-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}



.thumbnail-images {
    display: inline-block;
    white-space: nowrap;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.thumbnail-image.active {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

/* 添加滑动指示器 */
.scroll-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    pointer-events: none;
    opacity: 0.7;
}

.product-info {
    flex: 1;
    background-color: #f8f8f8;
    padding: 8px 25px;
}

.product-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.product-price {
    font-size: 20px;
    color: #e74c3c;
    margin-bottom: 15px;
    font-weight: bold;
}

.product-specs {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.spec-item {
    margin-bottom: 10px;
    display: flex;
}

.spec-label {
    font-weight: bold;
    width: 120px;
    color: #666;
    text-align: right;
    padding-right: 10px;
}

.spec-value {
    flex: 1;
}

.product-description {
    margin-top: 30px;
}

.description-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.description-content {
    line-height: 1.6;
    color: #555;
    white-space: pre-wrap;
}

.product-detail-tabs {
    margin-top: 30px;
}

.tab-content {
    margin-top: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.products-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    align-items: center;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.filter-btn:hover {
    background-color: #0056b3;
}
