/* Pepperkitty 品牌样式 - 浅桃色 #F5D5C8 / 棕色 #8B7355 */

:root {
    --color-peach: #F5D5C8;
    --color-peach-dark: #E8C4B5;
    --color-brown: #8B7355;
    --color-brown-light: #A68B6E;
    --color-cream: #FDF8F5;
    --color-text: #4A4A4A;
    --color-text-light: #6B6B6B;
    --shadow: 0 2px 12px rgba(139, 115, 85, 0.12);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-cream);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.narrow {
    max-width: 720px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-brown);
    font-weight: 600;
    font-size: 1.1rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    background: var(--color-peach);
    border-radius: 50%;
    overflow: hidden;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-brown);
}

/* Hero */
.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-peach) 0%, var(--color-peach-dark) 100%);
    /* 有背景图时：background-image: url('../images/hero.jpg'); background-size: cover; */
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 2.2rem;
    color: var(--color-brown);
    margin-bottom: 12px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 28px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    margin: 0 6px;
}

.btn-primary {
    background: var(--color-brown);
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--color-brown-light);
}

.btn-outline {
    background: transparent;
    color: var(--color-brown);
    border: 2px solid var(--color-brown);
}

.btn-outline:hover {
    background: var(--color-brown);
    color: #fff !important;
}

.btn-secondary {
    margin-top: 24px;
}

.btn-taobao {
    background: #ff6700;
    color: #fff !important;
    padding: 14px 36px;
    font-size: 1.05rem;
}

.btn-taobao:hover {
    background: #e65c00;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section h2 {
    text-align: center;
    color: var(--color-brown);
    font-size: 1.8rem;
    margin-bottom: 36px;
}

/* Intro */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.intro-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.intro-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.intro-card h3 {
    color: var(--color-brown);
    margin-bottom: 8px;
}

.intro-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.product-grid-large {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-img {
    aspect-ratio: 1;
    background: var(--color-peach);
    /* 添加图片：<img> 或 background-image */
}

.product-card h3 {
    padding: 16px 16px 4px;
    font-size: 1rem;
    color: var(--color-brown);
}

.product-card p {
    padding: 0 16px 16px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--color-peach) 0%, var(--color-peach-dark) 100%);
    text-align: center;
}

.cta h2 {
    color: var(--color-brown);
}

.cta p {
    margin-bottom: 20px;
    color: var(--color-text);
}

/* Page hero */
.page-hero {
    background: linear-gradient(135deg, var(--color-peach) 0%, var(--color-peach-dark) 100%);
    padding: 48px 20px;
    text-align: center;
}

.page-hero h1 {
    color: var(--color-brown);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.page-hero p {
    color: var(--color-text-light);
}

/* About */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-img {
    aspect-ratio: 16/9;
    background: var(--color-peach);
    border-radius: var(--radius);
}

.about-text h2 {
    text-align: left;
    font-size: 1.3rem;
    margin: 24px 0 12px;
}

.about-text h2:first-of-type {
    margin-top: 0;
}

.about-text p {
    color: var(--color-text-light);
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
}

.filter-tab {
    padding: 8px 18px;
    background: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--color-brown);
    color: #fff;
}

.taobao-cta {
    text-align: center;
    margin-top: 48px;
}

.taobao-cta p {
    margin-bottom: 16px;
    color: var(--color-text-light);
}

/* News */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-item {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-img {
    width: 200px;
    min-height: 140px;
    background: var(--color-peach);
    flex-shrink: 0;
}

.news-content {
    padding: 24px;
}

.news-content time {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.news-content h3 {
    margin: 8px 0;
    color: var(--color-brown);
}

.news-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Contact */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.taobao-box {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.taobao-box h2 {
    text-align: center;
    margin-bottom: 12px;
}

.taobao-box p {
    margin-bottom: 24px;
    color: var(--color-text-light);
}

.contact-info h2 {
    text-align: left;
    font-size: 1.2rem;
}

.contact-info p {
    color: var(--color-text-light);
}

/* Footer */
.footer {
    background: var(--color-brown);
    color: #fff;
    text-align: center;
    padding: 24px;
}

.footer p {
    font-size: 0.9rem;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

.footer a:hover {
    opacity: 0.85;
}

/* Placeholder for empty images */
.product-img,
.about-img,
.news-img,
.logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        gap: 16px;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .news-item {
        flex-direction: column;
    }

    .news-img {
        width: 100%;
        min-height: 160px;
    }
}
