/* ========================================
   佛龛/神台/供奉类产品 - 移动端优先简洁设计
   符合手机端网站AI生成规范
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.75;
    color: #444;
    background-color: #fafafa;
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul, ol {
    list-style: none;
}

.container {
    max-width: 100%;
    padding: 0 12px;
    margin: 0 auto;
}

/* ========================================
   头部
   ======================================== */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
}

.logo {
    flex: 1;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #8B4513;
}

.logo-suffix {
    color: #DAA520;
    font-size: 0.9rem;
    font-weight: 600;
}

.header-contact .phone-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8B4513;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 12px;
    background: #faf5ef;
    border-radius: 4px;
}

.phone-icon {
    font-size: 1rem;
}

/* ========================================
   导航
   ======================================== */
.navbar {
    background: #8B4513;
    position: sticky;
    top: 50px;
    z-index: 999;
}

.nav-menu {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-menu li {
    flex-shrink: 0;
}

.nav-menu a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
}

.menu-toggle {
    display: none;
}

/* ========================================
   面包屑
   ======================================== */
.breadcrumb {
    background: #fff;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.breadcrumb p {
    color: #666;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb a {
    color: #8B4513;
}

/* ========================================
   横幅
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: #fff;
    padding: 30px 12px;
    text-align: center;
}

.hero-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #DAA520;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    min-width: 44px;
    min-height: 44px;
    line-height: 1.5;
}

.hero-btn.secondary {
    background: rgba(255,255,255,0.2);
}

/* ========================================
   场景分类
   ======================================== */
.scene-categories {
    padding: 20px 0;
    background: #fff;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.scene-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 8px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.scene-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.scene-card h3 {
    font-size: 12px;
    color: #333;
    margin-bottom: 4px;
}

.scene-card p {
    font-size: 10px;
    color: #999;
}

/* ========================================
   区块标题
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.section-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    background: #8B4513;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* ========================================
   产品区域
   ======================================== */
.products-section {
    padding: 20px 0;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.product-image {
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f9f9f9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-title {
    padding: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    text-align: center;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    display: block;
}

/* ========================================
   核心优势
   ======================================== */
.core-advantages {
    padding: 20px 0;
    background: #f9f9f9;
}

.advantages-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.advantage-item {
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.advantage-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.advantage-item h3 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.advantage-item p {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

/* ========================================
   转化区域
   ======================================== */
.conversion-section {
    padding: 20px 12px;
    background: #8B4513;
    color: #fff;
    text-align: center;
}

.conversion-section .section-title {
    color: #fff;
}

.conversion-text {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #8B4513;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    min-width: 44px;
    min-height: 44px;
}

/* ========================================
   客户见证
   ======================================== */
.customer-testimonials {
    padding: 20px 0;
    background: #fff;
}

.testimonials-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.testimonial-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
}

.testimonial-quote {
    font-size: 12px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.testimonial-author {
    font-size: 11px;
    color: #999;
    text-align: right;
}

/* ========================================
   适用场所
   ======================================== */
.application-scenarios {
    padding: 20px 0;
    background: #f9f9f9;
}

.scenarios-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* danye5.htm 使用的场景卡片样式 */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.scenario-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.scenario-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.scenario-card h3 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.scenario-card p {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

.scenario-item {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
}

.scenario-item h3 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.scenario-item p {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
}

/* ========================================
   定制服务
   ======================================== */
.custom-service {
    padding: 20px 0;
    background: #fff;
}

.service-content {
    padding-top: 15px;
}

.service-intro {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 12px;
}

.service-intro h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.service-intro p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.service-item h4 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.service-item p {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

/* ========================================
   常见问题
   ======================================== */
.faq-section {
    padding: 20px 0;
    background: #fff;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 6px;
}

.faq-question {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* ========================================
   产品列表页
   ======================================== */
.page-header {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: #fff;
    padding: 20px 12px;
    text-align: center;
}

.page-header h1 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.5;
}

.products-list-section {
    padding: 15px 0;
    background: #fff;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    background: #f5f5f5;
    color: #333;
    border-radius: 4px;
    font-size: 12px;
    min-width: 44px;
    min-height: 44px;
    line-height: 1.5;
    text-align: center;
}

.pagination a:hover {
    background: #8B4513;
    color: #fff;
}

.pagination .current {
    background: #8B4513;
    color: #fff;
}

/* ========================================
   产品详情页
   ======================================== */
.product-detail-section {
    padding: 15px 0;
    background: #fff;
}

.product-detail-header {
    padding: 0 12px;
}

.product-image-main {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-image-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 0;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 12px;
}

.product-summary {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.product-summary p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.product-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: #8B4513;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    min-height: 44px;
}

.phone-btn .icon {
    font-size: 1rem;
}

.phone-btn .label {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.9;
}

.phone-btn .number {
    font-size: 16px;
}

.quote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #DAA520;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    min-height: 44px;
}

.content-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-top: 15px;
    overflow-x: auto;
}

.tab {
    flex-shrink: 0;
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #8B4513;
    border-bottom-color: #8B4513;
}

.tab-content {
    display: none;
    padding: 15px 12px;
}

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

.product-intro-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-intro-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.product-recommend {
    padding: 20px 0;
    background: #f9f9f9;
}

.product-full-desc {
    padding: 15px 0;
    background: #fff;
}

.product-full-desc h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    padding: 0 12px;
}

.product-full-desc p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    padding: 0 12px;
    margin-bottom: 12px;
}

/* ========================================
   分类详情
   ======================================== */
.category-detail {
    padding: 20px 0;
    background: #fff;
}

.category-content {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

.category-content p {
    margin-bottom: 12px;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: #333;
    color: #fff;
    padding: 20px 12px;
}

.footer-content {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-qr img {
    width: 80px;
    height: 80px;
}

.footer-info {
    flex: 1;
}

.footer-phone {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 11px;
    color: #aaa;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    font-size: 11px;
    color: #888;
}

/* ========================================
   按钮
   ======================================== */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 13px;
    text-align: center;
    min-height: 44px;
    line-height: 1.5;
}

.btn-primary {
    background: #8B4513;
    color: #fff;
}

.btn-secondary {
    background: #DAA520;
    color: #fff;
}

/* ========================================
   响应式适配
   ======================================== */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }
    
    .scene-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .advantages-content {
        grid-template-columns: repeat(4, 1fr);
    }

/* ========================================
   产品优势 (移动端优化)
   ======================================== */
.product-advantages {
    padding: 20px 0;
    background: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.advantage-card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
}

.advantage-card .advantage-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.advantage-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* ========================================
   批发服务 (移动端优化)
   ======================================== */
.wholesale-service {
    padding: 20px 0;
    background: #f9f9f9;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-intro {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
}

.service-intro h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.service-intro p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    flex: 1;
    min-width: calc(50% - 5px);
}

.feature-check {
    color: #27ae60;
    font-weight: 600;
    font-size: 14px;
}

.feature-item span:last-child {
    font-size: 12px;
    color: #333;
}

/* ========================================
   适用场景 (移动端优化)
   ======================================== */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.scenario-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
}

.scenario-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.scenario-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.scenario-card p {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* ========================================
   响应式适配增强
   ======================================== */
@media (min-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .scenarios-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .service-features {
        justify-content: center;
    }
    
    .feature-item {
        min-width: auto;
        flex: none;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}