* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #222222;
    line-height: 1.6;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 16px 0;
    margin-bottom: 40px;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: block;
    text-decoration: none;
}
.logo img {
    display: block;
    width: auto;
    height: 52px;
}
.main-nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
}
.main-nav a {
    position: relative;
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    font-size: 15px;
}
.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: #8b5a2b;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.main-nav a.is-active {
    color: #111111;
    font-weight: 700;
}
.main-nav a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}
.main-nav a:hover {
    color: #111111;
}
h1 {
    font-size: 32px;
    margin-bottom: 12px;
    text-align: center;
}
.hero-banner {
    position: relative;
    height: 320px;
    margin-bottom: 48px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 40px 72px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.hero-banner-content {
    width: 100%;
    position: relative;
    z-index: 1;
}
.hero-banner h1,
.hero-banner .page-intro {
    color: #ffffff;
}
.hero-carousel-control {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}
.hero-carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.6);
}
.hero-carousel-prev {
    left: 16px;
}
.hero-carousel-next {
    right: 16px;
}
.hero-carousel-dots {
    position: absolute;
    z-index: 2;
    bottom: 18px;
    left: 50%;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}
.hero-carousel-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid #ffffff;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
}
.hero-carousel-dots button.is-active {
    background-color: #ffffff;
}
.collection-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 64px;
}
.collection-showcase-left {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.collection-image {
    display: block;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.collection-image img {
    display: block;
    width: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}
.collection-showcase-left .collection-image img {
    aspect-ratio: 2 / 1;
}
.collection-image-featured img {
    height: 100%;
    aspect-ratio: 1 / 1;
}
.collection-image:hover img {
    transform: scale(1.03);
}
.page-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    color: #555;
    font-size: 16px;
}
section {
    margin-bottom: 64px;
}
h2 {
    font-size: 24px;
    margin-bottom: 24px;
    border-left: 4px solid #8b5a2b;
    padding-left: 12px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
}
.product-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.product-img-wrap {
    aspect-ratio: 1 / 1;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-info {
    padding: 14px;
}
.product-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}
.product-price {
    color: #b12704;
    font-weight: 700;
    margin-bottom: 6px;
}
.product-meta {
    font-size: 13px;
    color: #666;
}
.btn-view {
    display: inline-block;
    margin-top: 10px;
    background-color: #222;
    color: #fff;
    padding: 7px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}
.btn-view:hover {
    background-color:#444;
}
.site-footer {
    background-color: #34495e;
    padding: 26px 0;
    margin-top: 80px;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
}

/* 移动端响应式 */
@media(max-width:768px){
    .header-inner {
        flex-direction: column;
        gap:12px;
    }
    h1 {
        font-size:26px;
    }
    .hero-banner {
        height: 260px;
        margin-bottom: 40px;
    }
    .hero-slide {
        padding: 32px 52px;
    }
    .hero-carousel-control {
        width: 34px;
        height: 34px;
        font-size: 24px;
    }
    .hero-carousel-prev {
        left: 8px;
    }
    .hero-carousel-next {
        right: 8px;
    }
    .collection-showcase {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 48px;
    }
    .collection-showcase-left {
        gap: 16px;
    }
    .collection-image-featured img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .product-grid {
        gap:16px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content:center;
    }
}
