Template: qianhang-clean
/*
Theme Name: Qianhang Child
Theme URI: 
Description: 子主题，继承默认主题的框架，保留自定义样式
Author: Your Name
Template: twentytwentyfour
Version: 1.0
*/

/* 基础样式 */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.hero { text-align: center; padding: 80px 20px; }
.company { font-size: 3rem; font-weight: 800; margin-bottom: 15px; }
.tagline { font-size: 1.4rem; margin-bottom: 30px; }
.btn-shop { display: inline-block; background: #007cba; color: white; padding: 12px 36px; border-radius: 40px; text-decoration: none; }
.features-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; background: #f8fafc; padding: 18px 30px; border-radius: 50px; margin: 30px 0; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 40px 0; }
.product-card { background: white; border-radius: 20px; padding: 20px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #eef2f6; }
.product-card img { width: 100%; border-radius: 16px; margin-bottom: 15px; }
.product-card h3 { font-size: 1rem; margin: 10px 0; }
.price { font-weight: bold; color: #007cba; margin: 12px 0; display: block; }
.add-to-cart { background: #007cba; color: white; padding: 6px 18px; border-radius: 30px; text-decoration: none; font-size: 0.85rem; }

/* About 区两栏 */
.about-two-columns .about-inner { display: flex; gap: 50px; align-items: center; margin: 60px 0; }
.about-text { flex: 1; }
.about-image { flex: 1; background: #eef2f6; border-radius: 30px; height: 280px; display: flex; align-items: center; justify-content: center; }

/* CTA 区 */
.cta { background: #f1f5f9; border-radius: 32px; margin: 60px 0; padding: 60px 30px; text-align: center; }
.cta h3 { font-size: 1.8rem; margin-bottom: 15px; }
.btn-contact { background: #007cba; color: white; padding: 12px 32px; border-radius: 40px; text-decoration: none; display: inline-block; }

/* 响应式 */
@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .about-two-columns .about-inner { flex-direction: column; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
}

/* 修复底部两栏并排（约区 + CTA） */
.home .about-two-columns,
.home .cta {
    width: 100%;
    margin: 0;
}
/* 如果希望左右并排，需要修改 front-page.php 结构，但这里不强制，保留原样 */
/* 你之前要求左右并排，但根据你的反馈，似乎不需要 */

/* 基础样式 */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.hero { text-align: center; padding: 80px 20px; }
.company { font-size: 3rem; font-weight: 800; margin-bottom: 15px; }
.tagline { font-size: 1.4rem; margin-bottom: 30px; }
.btn-shop { display: inline-block; background: #007cba; color: white; padding: 12px 36px; border-radius: 40px; text-decoration: none; }
.features-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; background: #f8fafc; padding: 18px 30px; border-radius: 50px; margin: 30px 0; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 40px 0; }
.product-card { background: white; border-radius: 20px; padding: 20px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); border: 1px solid #eef2f6; }
.product-card img { width: 100%; border-radius: 16px; margin-bottom: 15px; }
.product-card h3 { font-size: 1rem; margin: 10px 0; }
.price { font-weight: bold; color: #007cba; margin: 12px 0; display: block; }
.add-to-cart { background: #007cba; color: white; padding: 6px 18px; border-radius: 30px; text-decoration: none; font-size: 0.85rem; }

/* About 区两栏 */
.about-two-columns .about-inner { display: flex; gap: 50px; align-items: center; margin: 60px 0; }
.about-text { flex: 1; }
.about-image { flex: 1; background: #eef2f6; border-radius: 30px; height: 280px; display: flex; align-items: center; justify-content: center; }

/* CTA 区 */
.cta { background: #f1f5f9; border-radius: 32px; margin: 60px 0; padding: 60px 30px; text-align: center; }
.cta h3 { font-size: 1.8rem; margin-bottom: 15px; }
.btn-contact { background: #007cba; color: white; padding: 12px 32px; border-radius: 40px; text-decoration: none; display: inline-block; }

/* 响应式 */
@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .about-two-columns .about-inner { flex-direction: column; }
}
@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
}

/* 修复底部两栏并排（约区 + CTA） */
.home .about-two-columns,
.home .cta {
    width: 100%;
    margin: 0;
}
/* 如果希望左右并排，需要修改 front-page.php 结构，但这里不强制，保留原样 */
/* 你之前要求左右并排，但根据你的反馈，似乎不需要 */
/* 菜单样式 */
.site-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}
.nav-menu li a {
    text-decoration: none;
    color: #333;
}
