* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif; background: #faf7f2; color: #333; line-height: 1.7; }
.inner { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.site-header { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 10; }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { font-size: 20px; font-weight: 700; color: var(--main, #c9783a); text-decoration: none; }
.site-header nav a { margin-left: 18px; color: #555; text-decoration: none; font-size: 14px; }
.site-header nav a:hover { color: var(--main, #c9783a); }
.hero { text-align: center; padding: 34px 16px 22px; }
.hero h1 { font-size: 30px; color: var(--main, #c9783a); margin-bottom: 8px; }
.hero p { color: #777; }
.banner-wrap { max-width: 1080px; margin: 8px auto 0; padding: 0 16px; overflow: hidden; border-radius: 14px; position: relative; }
.banner-track { display: flex; transition: transform .5s ease; }
.banner-slide { flex: 0 0 100%; position: relative; min-height: 240px; background: linear-gradient(120deg, var(--main, #c9783a), #e8a35c); color: #fff; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.banner-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 240px; text-align: center; padding: 20px; }
.banner-text h2 { font-size: 26px; margin-bottom: 6px; text-shadow: 0 1px 4px rgba(0,0,0,.15); }
.banner-text p { font-size: 15px; opacity: .92; }
.banner-dots { display: flex; justify-content: center; gap: 8px; padding: 10px 0 4px; }
.banner-dot { width: 8px; height: 8px; border-radius: 50%; background: #d8cfc2; cursor: pointer; transition: background .2s; }
.banner-dot.active { background: var(--main, #c9783a); }
.cat-section { max-width: 1080px; margin: 0 auto; padding: 16px 16px 4px; }
.cat-title { font-size: 20px; font-weight: 700; color: var(--main, #c9783a); text-align: center; margin: 14px 0 18px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.cat-title::before, .cat-title::after { content: ''; flex: 0 0 44px; height: 2px; background: #e0c9a8; border-radius: 2px; }
.cat-title a { color: inherit; text-decoration: none; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; padding-bottom: 18px; }
.card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .15s; }
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.card-image-placeholder { width: 100%; height: 220px; display: flex; align-items: center; justify-content: center; background: #eee6da; color: #a89a88; font-size: 14px; }
.card-body { padding: 14px 16px 18px; }
.card-body h3 { font-size: 17px; }
.card-body h3 a { color: #333; text-decoration: none; }
.card-body h3 a:hover { color: var(--main, #c9783a); }
.price-row { display: flex; align-items: baseline; gap: 8px; margin: 6px 0; }
.price { color: var(--accent, #e05a2a); font-weight: 700; }
.price-old { color: #aaa; text-decoration: line-through; font-size: 13px; }
.price.big { font-size: 22px; }
.price-old.big { font-size: 16px; }
.card-body p { font-size: 13px; color: #888; }
.tag-row { margin: 4px 0; }
.cat-tag { display: inline-block; margin: 2px 6px 2px 0; padding: 1px 10px; font-size: 12px; color: var(--main, #c9783a); background: #f6ead9; border-radius: 20px; }
.tag-badge { display: inline-block; margin: 2px 6px 2px 0; padding: 1px 10px; font-size: 12px; color: #fff; background: var(--accent, #e05a2a); border-radius: 20px; }
.tag-new { display: inline-block; margin: 2px 6px 2px 0; padding: 1px 10px; font-size: 12px; color: #fff; background: #3aa856; border-radius: 20px; }
.cat-page { text-align: center; padding: 30px 16px 6px; }
.cat-page-title { font-size: 26px; color: var(--main, #c9783a); }
.cat-page-title::before, .cat-page-title::after { content: ''; display: inline-block; width: 36px; height: 2px; background: #e0c9a8; vertical-align: middle; margin: 0 12px; border-radius: 2px; }
.cat-page-desc { color: #888; margin-top: 6px; }
.detail { max-width: 760px; margin: 0 auto; padding: 26px 16px 50px; }
.gallery-main { border-radius: 12px; overflow: hidden; background: #fff; }
.gallery-img { width: 100%; max-height: 460px; object-fit: cover; display: none; }
.gallery-img.active { display: block; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumbs .thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; opacity: .7; }
.gallery-thumbs .thumb.active { border-color: var(--main, #c9783a); opacity: 1; }
.detail h1 { font-size: 26px; margin: 16px 0 8px; }
.detail-tags { margin-bottom: 4px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.spec-table th { text-align: left; width: 110px; padding: 10px 14px; background: #f6ead9; color: var(--main, #c9783a); font-weight: 600; }
.spec-table td { padding: 10px 14px; color: #555; }
.detail .content { margin: 14px 0 26px; color: #555; }
.contact-box { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 18px 20px; color: #555; }
.site-footer { background: #2f2a24; color: #ddd; padding: 34px 16px; margin-top: 30px; }
.site-footer h3 { color: #fff; margin-bottom: 10px; }
.site-footer p { margin: 4px 0; font-size: 14px; }
.footer-note { color: #999; font-size: 12px; margin-top: 10px; }
.back-top { position: fixed; right: 24px; bottom: 30px; width: 44px; height: 44px; border: none; border-radius: 50%; background: var(--main, #c9783a); color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.2); z-index: 99; }
.back-top:hover { opacity: .9; }
