/*
Theme Name: YiwuPet Global Theme
Author: 编码助手
Description: 专为 yiwupet.com 设计的活泼可爱、AI SEO 友好、多语言外贸主题。
Version: 3.0
*/

/* 宠物主题全局样式 - 温暖活泼的配色 */
:root {
    --primary-color: #FF7F50; /* 珊瑚橙 */
    --secondary-color: #4ECDC4; /* 清新薄荷绿 */
    --text-dark: #4a4a4a;
    --text-light: #777;
    --bg-light: #FFF8F0; /* 极浅的暖色背景 */
}

* { box-sizing: border-box; font-family: 'Nunito', 'Segoe UI', Tahoma, sans-serif; }
body { color: var(--text-dark); line-height: 1.6; background-color: #fff; margin: 0; padding: 0; }
a { text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 按钮设计 */
.btn { display: inline-block; padding: 12px 32px; background: var(--primary-color); color: #fff; font-weight: bold; border-radius: 30px; transition: 0.3s; box-shadow: 0 4px 6px rgba(255, 127, 80, 0.3); border: none; cursor: pointer; }
.btn:hover { background: #FF6347; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(255, 127, 80, 0.4); color: #fff; }

/* 首屏横幅 */
.hero { background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1583337130417-3346a1be7dee?auto=format&fit=crop&w=1200&q=80') center/cover; color: #fff; padding: 120px 20px; text-align: center; }
.hero h1 { font-size: 52px; margin-bottom: 20px; font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,0.3);}
.hero p { font-size: 20px; max-width: 650px; margin: 0 auto 35px; color: #f8f8f8; text-shadow: 0 1px 3px rgba(0,0,0,0.3);}

/* 通用区块标题 */
.section-title { text-align: center; font-size: 36px; margin-bottom: 60px; color: var(--text-dark); font-weight: 800;}
.section-title span { color: var(--primary-color); }

/* 优势与评价卡片 */
.features { padding: 90px 0; background: var(--bg-light); }
.features-grid { display: flex; gap: 30px; flex-wrap: wrap; }
.feature-card { background: #fff; padding: 40px 30px; border-radius: 16px; flex: 1; min-width: 280px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: 0.3s; border-bottom: 4px solid transparent; }
.feature-card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--primary-color); }
.feature-icon { font-size: 40px; margin-bottom: 20px; }
.feature-card h3 { color: var(--text-dark); margin-bottom: 15px; font-size: 22px; }
.feature-card p { color: var(--text-light); }

/* 产品展示 */
.products { padding: 90px 0; }
.products-grid { display: flex; flex-wrap: wrap; gap: 30px; }
.product-card { width: calc(33.333% - 20px); border: none; border-radius: 16px; overflow: hidden; transition: 0.3s; background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.product-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.1); transform: translateY(-8px); }
.product-img { width: 100%; height: 280px; object-fit: cover; }
.product-info { padding: 25px; text-align: center; }
.product-info h3 { margin-bottom: 10px; font-size: 20px; color: var(--text-dark); }
.product-info p { color: var(--text-light); font-size: 14px; margin-bottom: 15px; }
.product-info a { color: var(--primary-color); font-weight: bold; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }

/* 询盘表单 */
.contact { background: var(--bg-light); padding: 90px 0; }
.contact-wrapper { display: flex; gap: 50px; background: #fff; padding: 50px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); flex-wrap: wrap; }
.contact-info, .contact-form { flex: 1; min-width: 300px; }
.contact-info h3 { font-size: 28px; margin-bottom: 20px; color: var(--primary-color); }
.contact-info p { margin-bottom: 15px; color: var(--text-light); font-size: 16px; }
.contact-info strong { color: var(--text-dark); }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; margin-bottom: 20px; border: 1px solid #eee; border-radius: 8px; background: #fafafa; font-size: 15px; transition: 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); background: #fff; }
.contact-form textarea { height: 140px; resize: vertical; }

/* 客户评价特有样式 */
.testimonial-text { font-style: italic; color: #555; line-height: 1.8; text-align: left; }
.testimonial-author { margin-top: 20px; color: var(--text-dark); font-weight: bold; text-align: left; }
.stars { color: var(--primary-color); font-size: 24px; margin-bottom: 15px; text-align: left; }

/* 移动端适配 */
@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .product-card { width: 100%; }
    .contact-wrapper { padding: 30px 20px; }
}
/* 控制上传的 Logo 图片最大高度，防止图片过大 */
.custom-logo { max-height: 80px; width: auto; }