* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    background-color: #FFFFFF;
    color: #333333;
    line-height: 1.6;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 导航栏 */
header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: transform 0.3s ease;
}
header.hidden {
    transform: translateY(-100%);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}
.search-box {
    background-color: #FFFFFF;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    width: 150px;
    transition: all 0.3s;
}
.search-box:hover {
    background-color: #FFFFFF;
    border-color: #333;
}
.search-box input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: 13px;
    color: #333;
}
.search-box input::placeholder {
    color: #999;
}
.search-box img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    margin-right: 30px;
}
.logo img {
    height: 35px;
    width: auto;
    object-fit: contain;
}
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.3s;
}
.header-icon-img:hover {
    opacity: 0.7;
}
.cart-icon {
    display: flex;
    align-items: center;
    gap: 5px;
}
.cart-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    cursor: pointer;
}
.cart-badge {
    color: #000;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* 导航分类 */
.nav-categories {
    background-color: #FFFFFF;
    border-top: 1px solid #E0E0E0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.category-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
}
.category-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}
.category-item:hover {
    color: #2E8B8A;
}
.nav-arrow {
    width: 10px;
    height: 10px;
    object-fit: contain;
    position: absolute;
    right: -15px;
}

/* 轮播图区 */
.carousel-section {
    margin-top: 20px;
}
.carousel-container {
    position: relative;
    overflow: hidden;
}
.carousel-slides {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 40%;
    overflow: hidden;
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding-bottom: 20px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #CCCCCC;
    cursor: pointer;
    transition: all 0.3s;
}
.dot:hover {
    background-color: #999;
}
.dot.active {
    background-color: #2E8B8A;
    transform: scale(1.2);
}

/* 新品日曆 */
.new-calendar-section {
    padding: 50px 0 30px;
}
.calendar-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}
.calendar-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #666;
    text-align: center;
    text-decoration: underline;
    margin-bottom: 25px;
    position: relative;
    display: block;
}
.calendar-subtitle::after {
    content: '>';
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
}
.calendar-dates {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 35px;
    padding-left: calc((100% - (200px * 5 + 20px * 4)) / 2);
    position: relative;
}
.date-item {
    font-size: 18px;
    font-weight: 500;
}
.date-dark {
    color: #333;
}
.date-light {
    color: #999;
}
.date-line {
    width: 80px;
    height: 1px;
    background-color: #CCCCCC;
}
.calendar-arrows-new {
    position: absolute;
    right: 10%;
    display: flex;
    gap: 10px;
}
.arrow-left, .arrow-right {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.arrow-left {
    background-color: #E8E8E8;
    color: #666;
}
.arrow-right {
    background-color: #ccc;
    color: white;
}
.arrow-left:hover, .arrow-right:hover {
    transform: scale(1.1);
}
.calendar-products {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.calendar-product-card {
    width: 220px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
    padding: 15px;
    text-align: center;
}
.calendar-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.calendar-product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}
.calendar-product-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.calendar-product-card .price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

/* 重要通知 */
.notice-section {
    padding: 30px 0 50px;
}
.notice-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}
.notice-items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.notice-card {
    padding: 0.72917vw 1.5625vw;
    background: #f5f5f5;
    border-radius: 1.82292vw;
    font-size: 0.83333vw;
    font-family: DINPro-Regular, sans-serif;
    font-weight: 400;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
    max-width: 500px;
}
.notice-card:hover {
    background: #e8e8e8;
    transform: translateY(-3px);
}

/* Tab切换区 */
.tabs-section {
    padding: 60px 0;
    background-color: #F9F9F9;
}
.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #333;
    margin-bottom: 40px;
}
.tabs-list {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #E0E0E0;
}
.tab-item {
    font-size: 18px;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s;
}
.tab-item:hover {
    color: #2E8B8A;
}
.tab-item.active {
    background-color: #ccc;
    color: white;
}
.tabs-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.tab-product-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}
.tab-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.tab-product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}
.tab-product-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.tab-product-card .price {
    font-size: 20px;
    font-weight: 800;
    color: #FF6B35;
}

/* SHOP MORE */
.shop-more-section {
    padding: 40px 0;
    background-color: #F9F9F9;
}
.shop-more-tags {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.shop-tag {
    padding: 10px 30px;
    background-color: white;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #ccc;
    margin-top: 10px;
}
.shop-tag:hover {
    background-color: #2E8B8A;
    color: white;
    border-color: #2E8B8A;
}

/* 為你推薦 */
.recommend-section {
    padding: 60px 0 80px;
}
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.recommend-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}
.recommend-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.recommend-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 10px;
    background-color: #F9F9F9;
}
.recommend-info {
    padding: 15px;
    text-align: center;
}
.recommend-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.recommend-info .price {
    font-size: 16px;
    font-weight: 800;
    color: #FF6B35;
}
.add-cart-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background-color: #2E8B8A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: all 0.3s;
}
.recommend-card:hover .add-cart-btn {
    opacity: 1;
}
.load-more-btn {
    display: block;
    margin: 0 auto;
    padding: 15px 50px;
    background-color: white;
    color: #333333;
    border: 1px solid #333333;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 170px;
}
.load-more-btn:hover {
    background-color: #2E8B8A;
    color: white;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .tabs-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .recommend-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .category-list {
        gap: 30px;
    }
}
@media (max-width: 992px) {
    .tabs-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .recommend-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .category-list {
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .header-content {
        gap: 15px;
    }
    .search-box {
        width: 200px;
    }
    .logo img {
        height: 40px;
    }
    .header-icons {
        gap: 15px;
    }
    .header-icon-img, .cart-icon img {
        width: 25px;
        height: 25px;
    }
    .category-list {
        gap: 15px;
        font-size: 13px;
    }
    .category-item {
        white-space: nowrap;
    }
    .carousel-slides {
        padding-bottom: 60%;
    }
    .tabs-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .recommend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
    }
    .search-box {
        width: 100%;
    }
    .category-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .tabs-products-grid {
        grid-template-columns: 1fr;
    }
    .recommend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}