/*
Theme Name: Taofind Global Shopping Platform
Description: 亚马逊风格全球购物平台主题，支持多语言、多货币、跨境购物
Version: 2.0
Author: Taofind Team
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮基础样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
}

.btn-outline {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.btn-outline:hover {
    background: #ff6b35;
    color: white;
}

/* =========================================
   Portal Style Index CSS (门户风格首页)
   ========================================= */

/* Hero Section */
.portal-hero {
    background-color: #f4f6f8;
    padding: 20px 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 240px 1fr 280px;
    gap: 15px;
    height: 480px;
}

/* 侧边栏导航 */
.hero-sidebar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    padding: 15px 0;
    overflow: hidden;
}

.hero-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-sidebar li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.hero-sidebar li a:hover {
    background-color: #fdf5e6;
    color: #ff6b35;
    padding-left: 25px;
}

.hero-sidebar .icon {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-style: normal;
}

/* 轮播图区域 */
.hero-slider-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero-slides {
    height: 100%;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 60px;
    color: #fff;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.slide-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.primary-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(90deg, #ff6b35, #ff9f43);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: transform 0.2s;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* 右侧栏 */
.hero-extra {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-card,
.promo-box,
.news-ticker {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.user-card {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avatar-area img {
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid #f0f0f0;
}

.welcome-text {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.user-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.action-btn {
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    background: #333;
    color: #fff;
    transition: all 0.2s;
}

.action-btn.outline {
    background: transparent;
    border: 1px solid #333;
    color: #333;
}

.action-btn:hover {
    opacity: 0.8;
}

.promo-box {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border-left: 4px solid #ff6b35;
}

.promo-box h3 {
    color: #d63031;
    font-size: 16px;
    margin-bottom: 5px;
}

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

.promo-link {
    color: #ff6b35;
    font-size: 12px;
    text-decoration: none;
    font-weight: 600;
}

.news-ticker h3 {
    font-size: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.news-ticker ul {
    list-style: none;
    padding: 0;
}

.news-ticker li {
    font-size: 13px;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-ticker .tag {
    background: #ff6b35;
    color: #fff;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 2px;
    margin-right: 5px;
}

/* Service Info */
.portal-services {
    background: #fff;
    padding: 25px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.service-list {
    display: flex;
    justify-content: space-between;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-icon {
    font-size: 32px;
    font-style: normal;
}

.service-info strong {
    display: block;
    font-size: 16px;
    color: #333;
}

.service-info span {
    font-size: 13px;
    color: #999;
}

/* Section Common */
.portal-section {
    margin-bottom: 40px;
}

/* Flash Deals */
.flash-deals .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-left h2 {
    font-size: 24px;
    font-weight: 800;
    color: #333;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    color: #d63031;
}

.timer-box {
    background: #d63031;
    color: #fff;
    padding: 4px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.view-more {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.flash-crousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.flash-item {
    min-width: 200px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* 柔和阴影 */
    position: relative;
    transition: transform 0.2s;
}

.flash-item:hover {
    transform: translateY(-5px);
}

.flash-item .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b35;
    color: #fff;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
    z-index: 2;
}

.flash-item .img-box {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flash-item img {
    max-width: 80%;
    max-height: 80%;
}

.flash-item .info {
    padding: 15px;
}

.flash-item h4 {
    font-size: 14px;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
    font-weight: 500;
}

.flash-item .price {
    margin-bottom: 8px;
}

.flash-item .cur {
    color: #d63031;
    font-size: 18px;
    font-weight: bold;
    margin-right: 8px;
}

.flash-item .old {
    color: #999;
    text-decoration: line-through;
    font-size: 12px;
}

.progress-bar {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-bar .fill {
    height: 100%;
    background: #ff6b35;
}

.sold {
    font-size: 12px;
    color: #999;
}

/* Floor Styles */
.floor-title {
    font-size: 24px;
    margin-bottom: 20px;
    border-left: 5px solid #232f3e;
    padding-left: 15px;
    color: #333;
}

.floor-num {
    color: #ff6b35;
    font-family: Impact, sans-serif;
    margin-right: 10px;
}

.floor-title small {
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin-left: 10px;
}

/* Tech Floor */
.floor-grid-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    height: 540px;
}

.floor-banner.large {
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.floor-banner .banner-txt h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.floor-banner .btn-round {
    display: inline-block;
    border: 2px solid #fff;
    color: #fff;
    padding: 8px 24px;
    border-radius: 20px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s;
}

.floor-banner .btn-round:hover {
    background: #fff;
    color: #333;
}

.floor-banner .banner-img {
    font-size: 150px;
    position: absolute;
    bottom: -20px;
    right: -20px;
    opacity: 0.8;
}

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

.p-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
}

.p-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #ff6b35;
}

.p-card .p-img {
    font-size: 60px;
    margin-bottom: 15px;
}

.p-card .p-name {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.p-card .p-price {
    font-weight: bold;
    color: #d63031;
    font-size: 16px;
}

/* Fashion Floor */
.fashion-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    height: 400px;
}

.fashion-col {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    position: relative;
    transition: box-shadow 0.2s;
}

.fashion-col:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.fashion-col.main-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 40px;
}

.fashion-col.main-col h3 {
    font-size: 32px;
    margin-bottom: 5px;
    color: #555;
}

.fashion-col.main-col .fashion-img {
    font-size: 120px;
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.fashion-col.sub-col {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: transparent;
    gap: 15px;
}

.fashion-col.sub-col .sub-item {
    flex: 1;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fashion-col.sub-col h4 {
    font-size: 18px;
}

.fashion-col.sub-col .img {
    font-size: 40px;
}

.fashion-col.list-col {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.f-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.2s;
}

.f-item:hover {
    background: #f9f9f9;
}

.f-item .pic {
    font-size: 36px;
    width: 60px;
    height: 60px;
    background: #f4f4f4;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f-item .desc .n {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
}

.f-item .desc .p {
    color: #d63031;
    font-weight: bold;
}

/* Recommend */
.recommend-divider {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.recommend-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
    z-index: 1;
}

.recommend-divider span {
    background: #fff;
    /* 假设背景是白色，如果不是需要改为对应颜色 */
    padding: 0 20px;
    position: relative;
    z-index: 2;
    color: #d63031;
    font-weight: bold;
    font-size: 20px;
}

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

.loading-placeholder {
    height: 300px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.lp-img {
    height: 180px;
    background: #eee;
    border-radius: 4px;
    margin-bottom: 15px;
}

.lp-txt {
    height: 12px;
    background: #eee;
    margin-bottom: 8px;
    border-radius: 2px;
}

.w-60 {
    width: 60%;
}

.w-40 {
    width: 40%;
}

.load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 12px 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.load-more-btn:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

/* Newsletter Section */
.portal-newsletter {
    background: #232f3e;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

.nl-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nl-text h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.nl-text p {
    color: #ccc;
    font-size: 14px;
}

.nl-form {
    display: flex;
    gap: 10px;
}

.nl-form input {
    padding: 12px 20px;
    border-radius: 30px;
    border: none;
    width: 300px;
    font-size: 14px;
}

.nl-form button {
    padding: 12px 30px;
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.nl-form button:hover {
    background: #ff9f43;
}

/* 媒体查询 (Responsive) */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-sidebar,
    .hero-extra {
        display: none;
        /* 移动端暂时隐藏侧边栏 */
    }

    .floor-grid-layout,
    .fashion-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .floor-banner.large {
        padding: 30px;
    }

    .nl-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .nl-form {
        flex-direction: column;
    }
}


.hero-container {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
}

.hero-slides {
    position: relative;
    height: 400px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-color: #232f3e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.hero-content {
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    /* 半透明背景增加可读性 */
    border-radius: 8px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.amazon-btn {
    display: inline-block;
    background: #ff9900;
    color: #111;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.amazon-btn:hover {
    background: #e88b00;
}

.hero-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 10px;
}

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

.nav-dot.active {
    background: #fff;
    transform: scale(1.2);
}

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

.amazon-categories h2,
.amazon-products h2,
.amazon-deals h2,
.amazon-brands h2,
.amazon-testimonials h2,
.amazon-news h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

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

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #ff9900;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.category-item span {
    font-weight: 500;
}

/* 商品网格 */
.amazon-products,
.amazon-deals {
    padding: 40px 0;
    background: #eaeded;
    /* 亚马逊灰背景 */
}

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

.product-card,
.deal-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    /* 亚马逊不仅有阴影，很少圆角，但这里稍微圆润一点 */
    overflow: hidden;
    position: relative;
    padding: 15px;
    transition: box-shadow 0.2s;
}

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

.product-image,
.deal-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    /* 就像亚马逊一样，保持比例 */
    margin-bottom: 15px;
    background: #fff;
}

.product-badge,
.deal-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #cc0c39;
    /* 亚马逊红 */
    color: white;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 2px;
}

.product-content h3,
.deal-item h3 {
    font-size: 1rem;
    color: #007185;
    /* 亚马逊链接蓝 */
    margin-bottom: 10px;
    font-weight: normal;
    height: 2.4em;
    /* 限制2行 */
    overflow: hidden;
    line-height: 1.2;
}

.product-price,
.deal-item .price {
    margin-bottom: 10px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 500;
    color: #B12704;
    /* 亚马逊价格红 */
    margin-right: 10px;
}

.original-price {
    color: #565959;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 8px;
    background: #f7ca00;
    border: 1px solid #a88734;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

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

/* 品牌推荐 */
.amazon-brands {
    padding: 40px 0;
    background: #fff;
}

.brands-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 1px solid #eee;
    width: 140px;
}

.brand-logo {
    font-size: 2rem;
    margin-bottom: 5px;
}

/* 优势展示Benefits */
.amazon-benefits {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.benefit-card p {
    color: #666;
    font-size: 0.9rem;
}

/* 用户评价 */
.amazon-testimonials {
    padding: 40px 0;
    background: #f9f9f9;
}

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

.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.testimonial-card .rating {
    color: #ffa41c;
    margin-bottom: 10px;
}

.testimonial-card .content {
    font-style: italic;
    color: #333;
    margin-bottom: 15px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-card .avatar {
    background: #eee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card .tag {
    font-size: 0.8rem;
    color: #007600;
    /* 亚马逊验证购买绿 */
    font-weight: bold;
}

/* 促销活动 */
.amazon-campaigns {
    padding: 40px 0;
    background: #fff;
}

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

.campaign-card {
    background-color: #232f3e;
    color: white;
    border-radius: 4px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.campaign-large {
    grid-column: span 2;
    background: linear-gradient(45deg, #232f3e, #37475a);
}

.campaign-btn {
    margin-top: 15px;
    padding: 8px 15px;
    background: #fff;
    color: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* 统计数据 */
.amazon-stats {
    background: #131921;
    color: white;
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
    gap: 30px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff9900;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* 新闻资讯 */
.amazon-news {
    padding: 40px 0;
    background: #fff;
}

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

.news-card {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.news-image {
    height: 150px;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

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

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

/* APP 下载 */
.amazon-app-download {
    padding: 60px 0;
    background: #f0f2f2;
}

.download-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.download-text {
    flex: 1;
}

.download-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.app-benefits {
    list-style: none;
    margin: 20px 0;
}

.app-benefits li {
    margin-bottom: 10px;
    color: #333;
}

.download-buttons {
    display: flex;
    gap: 15px;
}

.app-btn {
    padding: 12px 24px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.app-btn:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.download-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.download-image svg {
    max-width: 300px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Newsletter */
.amazon-newsletter {
    padding: 50px 0;
    background: #fff;
    border-top: 1px solid #eee;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.subscribe-btn {
    padding: 12px 30px;
    background: #ff9900;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.newsletter-privacy {
    font-size: 0.85rem;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .download-content {
        flex-direction: column;
        text-align: center;
    }

    .campaigns-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .campaign-large {
        grid-column: span 1;
    }

    .hero-slides {
        height: 300px;
    }

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

    .brands-grid {
        justify-content: center;
    }
}

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

    .newsletter-form {
        flex-direction: column;
    }

    .app-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Hot Sales Section */
.hot-sales-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.hot-title {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    color: #333;
}

.fire-icon {
    margin-right: 8px;
    font-size: 24px;
}

.hot-tabs {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.hot-tabs a {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    padding-bottom: 4px;
}

.hot-tabs a.active {
    color: #333;
    font-weight: bold;
}

.hot-tabs a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #FF9900;
    /* Amazon/Theme Orange */
    border-radius: 2px;
}

.hot-tabs a:hover {
    color: #333;
}

.hot-sales-grid {
    display: grid;
    grid-template-columns: 240px repeat(5, 1fr);
    /* 1 Banner + 5 Products per row if wide enough, usually 4 */
    grid-template-columns: 200px repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

/* Banner Card */
.hot-banner-card {
    background: #f5f7fa;
    /* Light background */
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    grid-row: span 2;
    /* 占据两行高度 */
    background: linear-gradient(180deg, #fdfbfb 0%, #ebedee 100%);
}

.phone-mockup {
    font-size: 80px;
    margin-bottom: 20px;
}

.hot-banner-card h3 {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #333;
}

.hot-banner-card .highlight {
    font-size: 13px;
    color: #FCBC32;
    /* Yellowish info text */
    background: #333;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.download-btn {
    display: inline-block;
    background: #232f3e;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    transition: background 0.2s;
}

.download-btn:hover {
    background: #37475a;
}

/* Product Card */
.hot-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
    border: 1px solid transparent;
}

.hot-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.hp-img-box {
    position: relative;
    height: 180px;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.hp-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    background: #fff;
}

.hp-add-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.hp-add-btn:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.hp-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: normal;
}

.hp-price {
    font-weight: bold;
    color: #333;
    font-size: 15px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-icon-svg {
    width: 35px;
    height: 35px;
}

/* Response for Hot Sales */
@media (max-width: 1024px) {
    .hot-sales-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .hot-banner-card {
        grid-row: auto;
        grid-column: span 2;
        /* Make banner wider on small screens or just hidden */
    }
}

@media (max-width: 600px) {
    .hot-tabs {
        width: 100%;
        overflow-x: scroll;
    }

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

    .hot-banner-card {
        grid-column: span 2;
    }
}