/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: #007185;
}

a:hover {
    color: #c7511f;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部导航 */
.header {
    background: #131921;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav a:hover,
.nav a.active {
    background: rgba(255,255,255,0.1);
}

/* 面包屑 */
.breadcrumb {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #007185;
}

.breadcrumb span {
    color: #666;
}

/* 主横幅 */
.hero {
    background: linear-gradient(135deg, #131921 0%, #232f3e 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: #febd69;
    color: #131921;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #f3a847;
    color: #131921;
}

/* 区块标题 */
.section-title {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #febd69;
}

/* 特色产品区 */
.featured {
    background: #fff;
    padding: 50px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #131921;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #B12704;
}

/* 优势介绍 */
.features {
    background: #232f3e;
    color: #fff;
    padding: 50px 0;
}

.features .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item p {
    opacity: 0.8;
}

/* 页脚 */
.footer {
    background: #131921;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

.footer p {
    opacity: 0.7;
}

/* ==================== 首页亚马逊风格 ==================== */
/* 搜索框分类选择 */
.search-category {
    padding: 8px 12px;
    background: #f3f3f3;
    border: none;
    border-right: 1px solid #ddd;
    font-size: 12px;
    color: #555;
    cursor: pointer;
}

/* 主横幅轮播 */
.hero-slider {
    position: relative;
    background: linear-gradient(135deg, #0d1117 0%, #1a242f 100%);
    height: 350px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
}

.hero-content-slider {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: auto;
    padding-right: 48px;
    text-align: right;
    color: #fff;
}

.hero-content-slider h2 {
    font-size: 36px;
    margin-bottom: 12px;
    font-weight: bold;
}

.hero-content-slider p {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.btn-hero-shop {
    display: inline-block;
    background: #febd69;
    color: #131921;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.2s;
}

.btn-hero-shop:hover {
    background: #f3a847;
}

.hero-fade {
    position: relative;
    top: -1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #eaeded);
}

/* 轮播图箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: #fff;
    font-size: 30px;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
}

.slider-arrow.prev {
    left: 0;
}

.slider-arrow.next {
    right: 0;
}

/* 轮播图指示器 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.indicator-dot.active {
    background: #fff;
}

.indicator-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 产品轮播箭头 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    color: #333;
    font-size: 24px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: #fff;
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.carousel-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* 分类图标导航 */
.icon-nav-section {
    background: #eaeded;
    padding: 20px 0;
    margin-bottom: 20px;
}

.icon-nav-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
}

.icon-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.icon-nav-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.icon-nav-item span {
    font-size: 13px;
    color: #0f1111;
    line-height: 1.3;
}

/* 主内容区背景 */
.home-main-content {
    background: #eaeded;
    padding: 20px 0;
    margin-bottom: 20px;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.home-card {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
}

.home-card h3 {
    font-size: 18px;
    color: #0f1111;
    margin-bottom: 15px;
}

.welcome-links {
    margin-bottom: 15px;
}

.welcome-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.welcome-text {
    font-size: 13px;
    color: #555;
}

.welcome-link {
    font-size: 13px;
    color: #007185;
}

.welcome-link:hover {
    color: #c7511f;
    text-decoration: underline;
}

.btn-signin, .btn-signup {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 8px;
    font-size: 14px;
}

.btn-signin {
    background: #fa8900;
    color: #131921;
}

.btn-signup {
    background: #ffd814;
    color: #131921;
}

/* 首页文章列表 */
.article-list-mini {
    padding: 10px 0;
}

.article-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.article-item:last-child {
    border-bottom: none;
}

.home-card .article-title {
    font-size: 13px;
    font-weight: normal;
    color: #0f1111;
    line-height: 1.4;
}

.home-card .article-title:hover {
    color: #c7511f;
    text-decoration: underline;
}

.btn-article-more {
    display: block;
    text-align: center;
    background: #f7f7f7;
    color: #007185;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    margin-top: 15px;
    transition: background 0.2s;
}

.btn-article-more:hover {
    background: #e3e3e3;
}

/* 公司介绍卡 */
.about-card {
    background: linear-gradient(135deg, #c7511f 0%, #963c10 100%);
    color: #fff;
    text-align: center;
}

.about-card h3, .about-card p {
    color: #fff;
}

.about-intro {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
}

.feature-icon {
    color: #ffd814;
    font-weight: bold;
    font-size: 16px;
}

.btn-about {
    display: inline-block;
    background: #fff;
    color: #c7511f;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-about:hover {
    background: #f0f0f0;
}

/* 近期浏览 */
.browse-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.browse-item {
    position: relative;
}

.browse-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.browse-price {
    display: block;
    font-size: 13px;
    color: #B12704;
    font-weight: bold;
    margin-top: 4px;
    text-align: center;
}

/* Prime 会员卡 */
.prime-card {
    background: linear-gradient(135deg, #00a8e1 0%, #007185 100%);
    color: #fff;
    text-align: center;
}

.prime-card h3, .prime-card p {
    color: #fff;
}

.prime-logo-large {
    font-size: 36px;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 10px;
}

.prime-card p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.btn-prime {
    display: inline-block;
    background: #fff;
    color: #007185;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
}

.btn-prime-learn {
    display: inline-block;
    color: #fff;
    font-size: 13px;
}

.btn-prime-learn:hover {
    text-decoration: underline;
}

/* 产品轮播区 */
.products-carousel-section {
    background: #fff;
    padding: 24px 0;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 22px;
    color: #0f1111;
}

.see-more {
    color: #007185;
    font-size: 14px;
}

.see-more:hover {
    color: #c7511f;
    text-decoration: underline;
}

.products-carousel {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.product-card-carousel {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.product-card-carousel:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.carousel-img {
    height: 180px;
    background: #f7f7f7;
}

.carousel-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-info {
    padding: 12px;
}

.carousel-info h4 {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 8px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.carousel-info h4 a {
    color: #0f1111;
}

.carousel-info h4 a:hover {
    color: #c7511f;
    text-decoration: underline;
}

.carousel-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 13px;
}

.carousel-rating .stars {
    color: #ffa41c;
}

.carousel-rating .count {
    color: #555;
}

.carousel-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 10px;
}

.carousel-price .sym {
    font-size: 12px;
    color: #555;
}

.carousel-price .whole {
    font-size: 24px;
    font-weight: bold;
    color: #0f1111;
}

.carousel-price .frac {
    font-size: 12px;
    color: #555;
}

.btn-add-cart {
    width: 100%;
    padding: 8px;
    background: #ffd814;
    border: 1px solid #fcd200;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-add-cart:hover {
    background: #f7ca00;
}

.btn-add-cart.added {
    background: #007600;
    border-color: #007600;
    color: #fff;
}

/* 促销横幅 */
.promo-banner-section {
    background: #eaeded;
    padding: 20px 0;
    margin-bottom: 20px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.promo-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.promo-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.promo-content {
    padding: 15px;
}

.promo-content h3 {
    font-size: 16px;
    color: #0f1111;
    margin-bottom: 5px;
}

.promo-content p {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.btn-promo {
    display: inline-block;
    color: #007185;
    font-size: 13px;
}

.btn-promo:hover {
    color: #c7511f;
    text-decoration: underline;
}

/* 推荐阅读文章区 */
.article-recommend-section {
    background: #fff;
    padding: 24px 0;
    margin-bottom: 20px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
}

.article-card-home {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: box-shadow 0.2s;
}

.article-card-home:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.article-card-home h4 {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-card-home h4 a {
    color: #0f1111;
}

.article-card-home h4 a:hover {
    color: #c7511f;
}

.article-card-home p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 畅销商品 */
.bestsellers-section {
    background: #fff;
    padding: 24px 0;
    margin-bottom: 20px;
}

.bestsellers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bestseller-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    position: relative;
}

.bestseller-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #cc0c39;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.bestseller-badge.hot {
    background: #e77600;
}

.bestseller-badge.new {
    background: #007600;
}

.bestseller-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.bestseller-card h4 {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 8px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bestseller-card h4 a {
    color: #0f1111;
}

.bestseller-card h4 a:hover {
    color: #c7511f;
    text-decoration: underline;
}

.bestseller-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 13px;
}

.bestseller-rating .stars {
    color: #ffa41c;
}

.bestseller-rating .count {
    color: #555;
}

.bestseller-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 10px;
}

.bestseller-price .sym {
    font-size: 12px;
    color: #555;
}

.bestseller-price .whole {
    font-size: 24px;
    font-weight: bold;
    color: #0f1111;
}

.bestseller-price .frac {
    font-size: 12px;
    color: #555;
}
    color: #0f1111;
    margin: 12px 0 8px;
}

.rating-mini {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    margin-bottom: 8px;
}

.rating-mini .stars {
    color: #ffa41c;
}

.rating-mini span {
    color: #565959;
}

.price-home {
    font-size: 22px;
    font-weight: bold;
    color: #B12704;
    margin-bottom: 12px;
}

.btn-view {
    display: block;
    text-align: center;
    background: #ffd814;
    color: #131921;
    padding: 10px;
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-view:hover {
    background: #f7ca00;
}

/* 分类导航 */
.categories-home {
    background: #eaeded;
    padding: 40px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.category-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.category-card span {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    color: #0f1111;
    font-weight: 500;
}

/* 优势介绍 */
.features-home {
    background: #232f3e;
    color: #fff;
    padding: 50px 0;
}

.features-home .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-item-home {
    text-align: center;
    padding: 20px;
}

.feature-icon-home {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-item-home h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item-home p {
    opacity: 0.8;
    font-size: 14px;
}

/* ==================== 产品列表页 ==================== */
.main-layout {
    display: flex;
    gap: 20px;
    padding-top: 20px;
}

/* 侧边栏 */
.sidebar {
    width: 220px;
    flex-shrink: 0;
}

.filter-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.filter-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-list a {
    color: #007185;
    font-size: 13px;
}

.filter-list a:hover,
.filter-list a.active {
    color: #c7511f;
    font-weight: bold;
}

/* 产品列表页主体 */
.product-list-page {
    flex: 1;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
}

.sort-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.sort-options {
    display: flex;
    gap: 15px;
}

.sort-options a {
    padding: 5px 12px;
    border-radius: 4px;
    color: #666;
}

.sort-options a:hover,
.sort-options a.active {
    background: #131921;
    color: #fff;
}

/* 亚马逊风格产品卡片 */
.product-grid.amazon-style {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.product-card.amazon {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
}

.product-card.amazon .product-image {
    height: 180px;
    margin-bottom: 12px;
}

.product-card.amazon .product-info {
    flex: 1;
}

.product-card.amazon h3 {
    font-size: 14px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.product-card.amazon h3 a {
    color: #0F1111;
}

.product-card.amazon h3 a:hover {
    color: #c7511f;
    text-decoration: underline;
}

.rating {
    color: #ffa41c;
    font-size: 13px;
    margin-bottom: 8px;
}

.rating span:last-child {
    color: #007185;
}

.price-box {
    margin-bottom: 8px;
}

.price-box .price {
    font-size: 24px;
    color: #B12704;
}

.price-box .original-price {
    color: #565959;
    text-decoration: line-through;
    font-size: 13px;
    margin-left: 8px;
}

.delivery {
    font-size: 12px;
    color: #565959;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pagination a {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #007185;
}

.pagination a:hover,
.pagination a.active {
    background: #131921;
    color: #fff;
    border-color: #131921;
}

/* ==================== 亚马逊风格产品详情页 ==================== */
/* 面包屑 - 亚马逊风格 */
.breadcrumb-amazon {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
}

.breadcrumb-amazon .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-amazon a {
    color: #007185;
}

.breadcrumb-amazon a:hover {
    color: #c7511f;
    text-decoration: underline;
}

.breadcrumb-amazon .separator {
    color: #ccc;
    margin: 0 8px;
}

.breadcrumb-amazon .current {
    color: #565959;
}

/* 产品详情页容器 */
.product-page-container {
    background: #fff;
    padding: 20px;
    margin: 0 auto;
}

/* 产品详情主体 - 三栏布局 */
.product-detail-amazon {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

/* 左侧图片区 */
.product-gallery-amazon {
    position: sticky;
    top: 120px;
}

.main-image-container {
    position: relative;
    margin-bottom: 15px;
}

.main-image-large {
    width: 100%;
    height: 450px;
    background: #f7f7f7;
    border-radius: 8px;
    border: 1px solid #eee;
}

.zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.thumbnail-list-amazon {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.thumbnail-amazon {
    height: 60px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.thumbnail-amazon:hover {
    border-color: #e77600;
}

.thumbnail-amazon.active {
    border-color: #e77600;
    box-shadow: 0 0 3px rgba(231, 118, 0, 0.5);
}

/* 图片缩放效果 */
.main-image-container.zoom-active {
    cursor: crosshair;
}

.main-image-container .main-image-large img {
    transition: transform 0.3s;
}

.main-image-container.zoom-active .main-image-large img {
    transform: scale(1.5);
}


/* 中间信息区 */
.product-info-amazon {
    padding-right: 20px;
}

.product-title-amazon {
    font-size: 20px;
    font-weight: normal;
    color: #0f1111;
    line-height: 1.4;
    margin-bottom: 10px;
}

.rating-section-amazon {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.stars-amazon {
    color: #ffa41c;
}

.rating-link, .qa-link {
    color: #007185;
}

.rating-link:hover, .qa-link:hover {
    color: #c7511f;
    text-decoration: underline;
}

.rating-separator {
    color: #ccc;
}

.answered-questions {
    margin-bottom: 15px;
}

.answered-count {
    color: #565959;
    font-size: 13px;
}

.product-images-small {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.image-skeleton {
    width: 80px;
    height: 80px;
    background: #f7f7f7;
    border-radius: 4px;
}

/* 右侧购买区 - Buy Box */
.buybox-amazon {
    position: relative;
}

.buybox-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
}

.price-block {
    margin-bottom: 15px;
}

.price-label {
    color: #565959;
    font-size: 14px;
}

.price-display {
    display: flex;
    align-items: flex-start;
    gap: 2px;
}

.price-display .price-symbol {
    font-size: 14px;
    color: #0f1111;
    margin-top: 3px;
}

.price-display .price-whole {
    font-size: 32px;
    font-weight: bold;
    color: #0f1111;
    line-height: 1;
}

.price-display .price-fraction {
    font-size: 14px;
    color: #565959;
    margin-top: 3px;
}

.original-price-block {
    font-size: 14px;
    color: #565959;
    margin-bottom: 5px;
}

.old-price {
    text-decoration: line-through;
}

.discount-percent {
    background: #cc0c39;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
}

.deposit-info {
    font-size: 13px;
    margin-bottom: 15px;
}

.deposit-label {
    color: #0f1111;
}

.learn-more {
    color: #007185;
}

.prime-info {
    background: #f0f8ff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prime-logo {
    color: #00a8e1;
    font-weight: bold;
    font-style: italic;
}

.prime-benefit {
    color: #007600;
    font-size: 13px;
}

.delivery-info {
    margin-bottom: 15px;
}

.delivery-row {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.delivery-label {
    color: #565959;
    min-width: 50px;
}

.location-select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 8px;
    background: #fff;
}

.delivery-date-amazon {
    font-size: 14px;
    color: #0f1111;
    margin-bottom: 5px;
}

.delivery-shipping {
    font-size: 14px;
    color: #007600;
}

.stock-status-amazon {
    font-size: 16px;
    margin-bottom: 15px;
}

.stock-status-amazon.in-stock {
    color: #007600;
}

.quantity-selector {
    margin-bottom: 15px;
}

.qty-label {
    font-size: 14px;
    color: #0f1111;
    margin-right: 10px;
}

.qty-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.qty-dropdown select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 25px 5px 10px;
    font-size: 14px;
    background: #fff;
}

/* 数量加减按钮 */
.qty-buttons {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.qty-decrease, .qty-increase {
    width: 30px;
    height: 30px;
    background: #f7f7f7;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: background 0.2s;
}

.qty-decrease:hover, .qty-increase:hover {
    background: #e3e3e3;
}

.qty-input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: none;
    font-size: 14px;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-stock {
    color: #007600;
    font-size: 13px;
}

.buy-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-cart-amazon, .btn-buy-amazon {
    width: 100%;
    padding: 12px;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cart-amazon {
    background: #ffd814;
    border: 1px solid #fcd200;
}

.btn-cart-amazon:hover {
    background: #f7ca00;
}

.btn-buy-amazon {
    background: #fa8900;
    border: 1px solid #e37a00;
}

.btn-buy-amazon:hover {
    background: #e37a00;
}

.buybox-shipping {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-bottom: 15px;
}

.shipping-row {
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
    font-size: 13px;
}

.shipping-label {
    color: #565959;
    min-width: 50px;
}

.shipping-value {
    color: #007185;
}

.gift-options {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.gift-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #0f1111;
    cursor: pointer;
}

.gift-price {
    color: #cc0c39;
    font-weight: bold;
}

/* 产品特性 */
.product-features-amazon {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.features-header h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.features-list {
    margin-left: 20px;
}

.features-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #0f1111;
}

/* 标签页 - 亚马逊风格 */
.product-tabs-amazon {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.tab-headers-amazon {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.tab-header-amazon {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 16px;
    color: #007185;
    cursor: pointer;
    position: relative;
}

.tab-header-amazon.active {
    color: #c7511f;
    font-weight: bold;
}

.tab-header-amazon.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #c7511f;
}

.tab-panels-amazon {
    background: #fff;
}

.tab-panel-amazon {
    display: none;
}

.tab-panel-amazon.active {
    display: block;
}

/* 通用 Tab 切换 */
.product-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    color: #007185;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.product-tab:hover {
    color: #c7511f;
}

.product-tab.active {
    color: #c7511f;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

/* 收藏按钮 */
.wishlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #007185;
    transition: all 0.2s;
}

.wishlist-btn:hover {
    background: #f7f7f7;
}

.wishlist-btn.active {
    color: #e77600;
}

.wishlist-icon {
    font-size: 16px;
}


.tab-content-amazon h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.tab-content-amazon h4 {
    font-size: 16px;
    margin: 20px 0 10px;
}

.tab-content-amazon ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.tab-content-amazon li {
    margin-bottom: 8px;
    color: #0f1111;
}

.tab-content-amazon p {
    line-height: 1.8;
    color: #0f1111;
    margin-bottom: 15px;
}

/* 规格表格 */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table th {
    text-align: left;
    padding: 12px;
    background: #f7f7f7;
    font-weight: bold;
    width: 150px;
}

.specs-table td {
    padding: 12px;
    color: #0f1111;
}

/* 评价区域 */
.reviews-summary {
    display: flex;
    gap: 40px;
}

.rating-overview {
    text-align: center;
    min-width: 200px;
}

.rating-big {
    font-size: 48px;
    font-weight: bold;
    color: #0f1111;
}

.stars-big {
    color: #ffa41c;
    font-size: 24px;
    display: block;
}

.total-reviews {
    color: #565959;
    font-size: 14px;
}

.rating-bars {
    flex: 1;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-bar-row span:first-child {
    min-width: 30px;
    font-size: 14px;
}

.rating-bar {
    flex: 1;
    height: 20px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar .rating-fill {
    height: 100%;
    background: #ffa41c;
}

.rating-bar-row span:last-child {
    min-width: 40px;
    font-size: 13px;
    color: #565959;
}

/* 问答区域 */
.qa-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.qa-search input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.qa-search button {
    padding: 10px 20px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.qa-list {
    max-height: 400px;
    overflow-y: auto;
}

.qa-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.qa-question {
    font-weight: bold;
    color: #0f1111;
    margin-bottom: 10px;
}

.qa-answer {
    padding-left: 15px;
    border-left: 3px solid #007185;
}

.answer-text {
    display: block;
    color: #0f1111;
    margin-bottom: 5px;
}

.answerer {
    font-size: 12px;
    color: #565959;
}

/* 商品图片详情 */
.product-image-detail {
    padding: 20px 0;
}

.product-image-detail h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.detail-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.detail-image {
    height: 400px;
    background: #f7f7f7;
    border-radius: 8px;
}

/* 相关产品 - 亚马逊风格 */
.related-products-amazon {
    background: #f7f7f7;
    padding: 30px 0;
    margin-top: 20px;
}

.related-products-amazon .container {
    max-width: 1400px;
}

.section-title-amazon {
    font-size: 20px;
    margin-bottom: 20px;
    color: #0f1111;
}

.related-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.related-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    transition: box-shadow 0.2s;
}

.related-card:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.related-image {
    width: 100%;
    height: 150px;
    background: #f7f7f7;
    border-radius: 4px;
    margin-bottom: 10px;
}

.related-card h4 {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}

.related-card h4 a {
    color: #0f1111;
}

.related-card h4 a:hover {
    color: #c7511f;
    text-decoration: underline;
}

.rating-small {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 13px;
}

.rating-small .stars {
    color: #ffa41c;
}

.rating-small span {
    color: #565959;
}

.price-small {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 10px;
}

.price-small .sym {
    font-size: 12px;
    margin-top: 2px;
}

.price-small .whole {
    font-size: 24px;
    font-weight: bold;
    color: #0f1111;
}

.price-small .frac {
    font-size: 12px;
    color: #565959;
    margin-top: 2px;
}

.add-cart-small {
    width: 100%;
    padding: 8px;
    background: #ffd814;
    border: 1px solid #fcd200;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
}

.add-cart-small:hover {
    background: #f7ca00;
}


/* ==================== 文章列表页 ==================== */
.article-list-page {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    margin: 20px auto;
}

.page-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #febd69;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-card {
    display: flex;
    gap: 25px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.article-card:last-child {
    border-bottom: none;
}

.article-image {
    width: 280px;
    height: 180px;
    background: #f0f0f0;
    border-radius: 8px;
    flex-shrink: 0;
}

.article-content h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.article-content h2 a {
    color: #131921;
}

.article-content h2 a:hover {
    color: #c7511f;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #565959;
}

.article-excerpt {
    color: #0F1111;
    line-height: 1.8;
    margin-bottom: 15px;
}

.read-more {
    color: #007185;
    font-weight: 500;
}

.read-more:hover {
    color: #c7511f;
}

/* ==================== 文章详情页 ==================== */
.article-detail-page {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    margin: 20px auto;
}

.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #131921;
}

.article-header .article-meta {
    font-size: 14px;
}

.article-cover {
    width: 100%;
    height: 400px;
    background: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #0F1111;
}

.article-body h2 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #131921;
}

.article-body p {
    margin-bottom: 15px;
}

.article-body ul {
    margin: 15px 0;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    background: #f7f7f7;
    border-left: 4px solid #febd69;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
}

.article-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-tags span {
    color: #565959;
    margin-right: 10px;
}

.article-tags a {
    display: inline-block;
    background: #f7f7f7;
    padding: 5px 12px;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 13px;
}

.article-tags a:hover {
    background: #131921;
    color: #fff;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-nav a {
    color: #007185;
}

/* ==================== 亚马逊风格产品列表页 ==================== */
/* 亚马逊风格顶部导航 */
.header-amazon {
    background: #131921;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #131921;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 15px;
}

.logo-section {
    display: flex;
    align-items: flex-end;
    padding: 8px 0;
    border: 1px solid transparent;
    border-radius: 2px;
}

.logo-section:hover {
    border-color: #fff;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    font-family: Arial, sans-serif;
    letter-spacing: -1px;
}

.logo-sub {
    color: #fff;
    font-size: 12px;
    margin-bottom: 5px;
}

.search-section {
    flex: 1;
    max-width: 800px;
}

.search-box {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    font-size: 14px;
}

.search-box input:focus {
    outline: 2px solid #febd69;
}

.search-btn {
    background: #febd69;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-weight: bold;
    color: #131921;
}

.search-btn:hover {
    background: #f3a847;
}

.header-links {
    display: flex;
    gap: 20px;
    color: #fff;
}

.header-link {
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
}

.header-link:hover {
    border-color: #fff;
}

.link-sub {
    font-size: 12px;
    color: #ccc;
}

.link-main {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.header-link.cart {
    flex-direction: row;
    align-items: center;
}

.cart-icon {
    font-size: 24px;
    margin-right: 5px;
}

.cart-count {
    color: #febd69;
    font-weight: bold;
}

/* 二级导航 */
.header-nav {
    background: #232f3e;
    padding: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-links a {
    display: block;
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

/* 菜单切换按钮 */
.menu-toggle {
    cursor: pointer;
}

/* 移动端菜单 */
@media (max-width: 992px) {
    .header-nav {
        position: relative;
    }

    .nav-links {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.mobile-open {
        max-height: 500px;
    }

    .nav-links a {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}


/* 产品列表容器 */
.products-container {
    display: flex;
    gap: 20px;
    padding: 20px 15px;
    background: #eaeded;
    min-height: 100vh;
}

/* 左侧边栏 - 亚马逊风格 */
.sidebar-amazon {
    width: 260px;
    flex-shrink: 0;
}

.prime-banner {
    background: linear-gradient(135deg, #00a8e1 0%, #007185 100%);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prime-logo {
    font-weight: bold;
    font-style: italic;
}

.prime-text {
    font-size: 13px;
}

.filter-group {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.filter-group h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-toggle-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #555;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
}

.filter-toggle-btn:hover {
    color: #333;
}

.filter-options.collapsed,
.filter-group .collapsed {
    display: none;
}


.filter-links {
    list-style: none;
}

.filter-links li {
    margin-bottom: 6px;
}

.filter-links a {
    color: #0f1111;
    font-size: 13px;
}

.filter-links a:hover {
    color: #c7511f;
}

.filter-links a.active {
    color: #b12704;
    font-weight: bold;
}

.price-links li {
    padding-left: 15px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.price-inputs input {
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
}

.price-inputs span {
    color: #565959;
}

.go-btn {
    width: 100%;
    padding: 6px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
}

.go-btn:hover {
    background: #e7e7e7;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #0f1111;
    cursor: pointer;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
}

.star-filter {
    color: #ffa41c;
    margin-right: 5px;
}

/* 右侧产品列表 */
.product-results {
    flex: 1;
    min-width: 0;
}

.results-header {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-count {
    font-size: 14px;
    color: #565959;
}

.result-num {
    font-weight: bold;
    color: #0f1111;
}

.result-total {
    font-weight: bold;
    color: #0f1111;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #565959;
}

.sort-dropdown select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f7f7f7;
    cursor: pointer;
}

/* 赞助商品 */
.sponsored-section {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.sponsored-label {
    font-size: 12px;
    color: #565959;
    margin-bottom: 10px;
}

.sponsored-products {
    display: flex;
    gap: 15px;
}

.product-item-sponsored {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    background: #fff;
}

.product-item-sponsored .product-img {
    width: 100%;
    height: 150px;
    background: #f0f0f0;
    margin-bottom: 10px;
}

.product-item-sponsored h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.product-item-sponsored h3 a {
    color: #0f1111;
}

/* 产品列表 */
.product-list-amazon {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
}

.product-item:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.product-img-large {
    width: 180px;
    height: 180px;
    background: #f7f7f7;
    border-radius: 4px;
    flex-shrink: 0;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-item h2 {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
    margin-bottom: 8px;
}

.product-item h2 a {
    color: #0f1111;
}

.product-item h2 a:hover {
    color: #c7511f;
    text-decoration: underline;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.rating-section .stars {
    color: #ffa41c;
    font-size: 14px;
}

.rating-section .rating-num {
    color: #007185;
    font-size: 13px;
}

.price-section {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 5px;
}

.price-section .price-symbol {
    font-size: 12px;
    color: #565959;
    margin-top: 2px;
}

.price-section .price-whole {
    font-size: 28px;
    font-weight: bold;
    color: #0f1111;
    line-height: 1;
}

.price-section .price-fraction {
    font-size: 12px;
    color: #565959;
    margin-top: 2px;
}

.original-price {
    font-size: 13px;
    color: #565959;
    margin-bottom: 5px;
}

.original-price span {
    text-decoration: line-through;
}

.coupon {
    background: #e7f4e7;
    border: 1px solid #c4e3c4;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 5px;
}

.coupon-text {
    font-size: 12px;
    color: #1a7f1a;
}

.prime-delivery {
    font-size: 13px;
    color: #007600;
    margin-bottom: 5px;
}

.prime-delivery .prime-text {
    font-style: italic;
    font-weight: bold;
}

.delivery-date {
    font-size: 13px;
    color: #565959;
    margin-bottom: 5px;
}

.stock-status {
    font-size: 13px;
    margin-bottom: 10px;
}

.stock-status.in-stock {
    color: #007600;
}

.stock-status.low-stock {
    color: #cc0c39;
}

.deal-badge,
.best-seller {
    display: inline-block;
    background: #cc0c39;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

.add-to-cart {
    background: #ffd814;
    border: 1px solid #fcd200;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.add-to-cart:hover {
    background: #f7ca00;
}

/* 亚马逊风格分页 */
.pagination-amazon {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    margin-top: 15px;
    text-align: center;
}

.pagination-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.prev-disabled,
.next-link {
    padding: 8px 12px;
    font-size: 14px;
    color: #007185;
}

.prev-disabled {
    color: #ccc;
    cursor: default;
}

.next-link:hover {
    color: #c7511f;
    text-decoration: underline;
}

.page-numbers {
    display: flex;
    gap: 3px;
}

.page-numbers a {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #007185;
    font-size: 14px;
}

.page-numbers a:hover {
    background: #f7f7f7;
}

.page-numbers .page-current {
    background: #f7f7f7;
    border-color: #bbb;
    font-weight: bold;
    color: #0f1111;
}

.page-dots {
    padding: 8px 5px;
    color: #565959;
}

.pagination-footer {
    font-size: 13px;
    color: #565959;
}

.page-input {
    width: 50px;
    padding: 5px;
    margin: 0 5px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.go-page {
    padding: 5px 15px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
}

/* 亚马逊风格页脚 */
.footer-amazon {
    margin-top: 40px;
}

.back-to-top {
    background: #37475a;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top a {
    color: #fff;
    font-size: 13px;
}

.back-to-top a:hover {
    text-decoration: underline;
}

/* 滚动淡入动画 */
.fade-in {
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 工具提示 */
.tooltip {
    position: absolute;
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

/* 库存状态 */
.stock-status.out-of-stock {
    color: #b12704;
}

.stock-status.low-stock {
    color: #e47911;
}

.stock-status.in-stock {
    color: #007600;
}

/* 折扣标签 */
.discount-badge {
    background: #cc0c39;
    color: #fff;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 12px;
    margin-left: 8px;
    font-weight: bold;
}


.footer-content {
    background: #232f3e;
    padding: 40px 0;
}

.footer-columns {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #ddd;
    font-size: 13px;
}

.footer-col a:hover {
    text-decoration: underline;
    color: #fff;
}

.footer-copyright {
    background: #131921;
    padding: 20px 0;
    text-align: center;
}

.footer-copyright p {
    color: #ccc;
    font-size: 12px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 992px) {
    .hero-slider {
        height: 280px;
    }

    .hero-content-slider h2 {
        font-size: 28px;
    }

    .icon-nav-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .home-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-carousel {
        grid-template-columns: repeat(3, 1fr);
    }

    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bestsellers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid-home {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .products-container {
        flex-direction: column;
    }

    .sidebar-amazon {
        width: 100%;
    }

    .filter-group {
        display: inline-block;
        width: 48%;
        vertical-align: top;
    }

    .product-item {
        flex-direction: column;
    }

    .product-img-large {
        width: 100%;
        height: 200px;
    }

    .product-detail-amazon {
        grid-template-columns: 1fr 1fr;
    }

    .buybox-amazon {
        grid-column: 1 / -1;
    }

    .footer-columns {
        flex-wrap: wrap;
    }

    .footer-col {
        flex: 1 1 200px;
    }

    .reviews-summary {
        flex-direction: column;
    }

    .related-carousel {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 220px;
    }

    .hero-content-slider {
        padding-left: 20px;
    }

    .hero-content-slider h2 {
        font-size: 22px;
    }

    .hero-content-slider p {
        font-size: 14px;
    }

    .icon-nav-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .icon-nav-img {
        height: 80px;
    }

    .home-grid {
        grid-template-columns: 1fr;
    }

    .products-carousel {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .bestsellers-grid {
        grid-template-columns: 1fr;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .search-section {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .header-links {
        gap: 10px;
    }

    .link-sub {
        display: none;
    }

    .results-header {
        flex-direction: column;
        gap: 10px;
    }

    .product-item h2 {
        font-size: 15px;
    }

    .article-card {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
    }

    .product-detail-amazon {
        grid-template-columns: 1fr;
    }

    .product-gallery-amazon {
        position: static;
    }

    .main-image-large {
        height: 300px;
    }

    .thumbnail-list-amazon {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-info-amazon {
        padding-right: 0;
    }

    .buy-buttons {
        flex-direction: column;
    }

    .tab-headers-amazon {
        flex-wrap: wrap;
        gap: 15px;
    }

    .related-carousel {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .icon-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-carousel {
        grid-template-columns: 1fr;
    }

    .filter-group {
        width: 100%;
        display: block;
    }

    .price-section .price-whole {
        font-size: 24px;
    }

    .pagination-row {
        flex-wrap: wrap;
    }

    .page-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .thumbnail-list-amazon {
        grid-template-columns: repeat(3, 1fr);
    }

    .rating-overview {
        min-width: auto;
    }

    .related-carousel {
        grid-template-columns: 1fr 1fr;
    }
}
