/**
 * Homepage Sections Styles
 * 首页模块统一样式
 *
 * @package Laifen_Russia
 * @since 1.0.0
 */

/* ==========================================================================
   通用区块样式
   ========================================================================== */

.homepage-section {
    padding: var(--laifen-spacing-3xl) 0;
}

.homepage-section--light {
    background-color: var(--laifen-bg-white);
}

.homepage-section--gray {
    background-color: var(--laifen-bg-light);
}

.homepage-section--dark {
    background-color: var(--laifen-bg-dark);
    color: var(--laifen-text-white);
}

.homepage-section__container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.homepage-section__header {
    text-align: center;
    margin-bottom: var(--laifen-spacing-xl);
}

.homepage-section__title {
    font-size: var(--laifen-font-4xl);
    font-weight: var(--laifen-font-bold);
    margin-bottom: var(--laifen-spacing-sm);
    color: var(--laifen-text-primary);
}

.homepage-section--dark .homepage-section__title {
    color: var(--laifen-text-white);
}

.homepage-section__subtitle {
    font-size: var(--laifen-font-lg);
    color: var(--laifen-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   2. Popular Categories - 分类导航
   ========================================================================== */

.popular-categories {
    padding: 60px 0 80px;
    background-color: var(--laifen-bg-light);
}

.popular-categories__header {
    margin-bottom: 48px;
}

.popular-categories__title {
    font-size: 36px;
    font-weight: var(--laifen-font-bold);
    color: var(--laifen-text-primary);
    margin: 0;
    text-align: left;
}

.popular-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-item {
    display: flex;
    flex-direction: column;
}

/* 翻卡容器 */
.category-item__flip-container {
    position: relative;
    aspect-ratio: 1 / 1;
    perspective: 1000px;
}

.category-item__front,
.category-item__back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
}

.category-item__front {
    transform: rotateY(0deg);
    z-index: 2;
}

.category-item__back {
    transform: rotateY(180deg);
}

/* 桌面端：hover触发翻转 */
@media (hover: hover) and (pointer: fine) {
    .category-item:hover .category-item__front {
        transform: rotateY(-180deg);
    }
    
    .category-item:hover .category-item__back {
        transform: rotateY(0deg);
    }
}

/* 移动端：点击触发翻转 */
.category-item.is-flipped .category-item__front {
    transform: rotateY(-180deg);
}

.category-item.is-flipped .category-item__back {
    transform: rotateY(0deg);
}

.category-item__image-link,
.category-item__scene-link {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.category-item__image,
.category-item__scene-image {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-item__image img,
.category-item__scene-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-item__content {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
}

.category-item__name {
    font-size: 20px;
    font-weight: var(--laifen-font-semibold);
    color: var(--laifen-text-primary);
}

.category-item__link {
    font-size: 14px;
    color: var(--laifen-text-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity var(--laifen-transition-base);
    /* 桌面端和移动端都显示 */
    display: inline-block;
}

.category-item__link:hover {
    opacity: 0.7;
}

/* ==========================================================================
   3. Product Showcase - 产品展示区（剃须刀/吹风机/牙刷通用）
   ========================================================================== */

.product-showcase {
    padding: 60px 0 80px;
    background-color: var(--laifen-bg-white);
}

.product-showcase--gray {
    background-color: var(--laifen-bg-light);
}

.product-showcase--white {
    background-color: var(--laifen-bg-white);
}

/* 标题 */
.product-showcase__header {
    margin-bottom: 32px;
}

.product-showcase__title {
    font-size: 36px;
    font-weight: var(--laifen-font-bold);
    color: var(--laifen-text-primary);
    margin: 0;
    text-align: left;
}

/* Banner - 桌面端 */
.product-showcase__banner {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
}

.product-showcase__banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(3, 3, 0, 0.8) 80%);
    pointer-events: none;
    border-radius: 12px;
}

.product-showcase__banner--desktop {
    display: block;
}

.product-showcase__banner--mobile {
    display: none;
}

.product-showcase__banner-image {
    position: relative;
    width: 100%;
    background-color: var(--laifen-bg-light);
    overflow: hidden;
    border-radius: 12px;
}

.product-showcase__banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-showcase__banner-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 1;
}

.product-showcase__banner-title {
    font-size: 28px;
    font-weight: var(--laifen-font-medium);
    color: var(--laifen-text-white);
    margin: 0 0 16px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.product-showcase__banner-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--laifen-text-white);
    font-size: 14px;
    font-weight: var(--laifen-font-medium);
    text-decoration: none;
    border-radius: 6px;
    transition: all var(--laifen-transition-base);
}

.product-showcase__banner-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* 产品卡片容器 */
.product-showcase__products-wrapper {
    position: relative;
    overflow: hidden;
}

.product-showcase__products {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease-in-out;
}

.product-showcase__products .product-card-showcase {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
}

/* 产品卡片 */
.product-card-showcase {
    background-color: #F8F8F8 ;
    border: none;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--laifen-transition-base);
    overflow: hidden;
}

.product-card-showcase:hover {
    box-shadow: none;
}

.product-card-showcase__image {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.product-card-showcase__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #fff;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

/* 桌面端hover放大效果 */
@media (hover: hover) and (pointer: fine) {
    .product-card-showcase:hover .product-card-showcase__image img {
        transform: scale(1.08);
    }
}

/* 移动端点击时的反馈效果 */
@media (hover: none) {
    .product-card-showcase:active .product-card-showcase__image img {
        transform: scale(0.98);
    }
}

.product-card-showcase__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--laifen-primary);
    color: var(--laifen-text-white);
    padding: 4px 10px;
    border-radius: var(--laifen-radius-full);
    font-size: 12px;
    font-weight: var(--laifen-font-medium);
    z-index: 2;
}

.product-card-showcase__content {
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-showcase__name {
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.product-card-showcase__name a {
    color: inherit;
    text-decoration: none;
}

.product-card-showcase__name a:hover {
    color: inherit;
}

.product-card-showcase__description {
    font-size: 15px;
    color: #666666;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.product-card-showcase__price {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
}

.product-card-showcase__price-original {
    text-decoration: line-through;
    color: #999999;
    font-size: 16px;
    font-weight: 400;
    margin-left: 8px;
}

.product-card-showcase__btn {
    display: block;
    padding: 16px 20px;
    background-color: #000000;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--laifen-transition-base);
    box-sizing: border-box;
}

.product-card-showcase__btn:hover {
    background-color: #333333;
    text-decoration: none;
    color: #ffffff;
}

/* 导航箭头 */
.product-showcase__nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 32px;
}

.product-showcase__nav-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #e8e8e8;
    color: #666666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    transition: all var(--laifen-transition-base);
}

.product-showcase__nav-btn img {
    width: 20px;
    height: 20px;
    display: block;
}

.product-showcase__nav-btn:hover:not(:disabled) {
    background-color: #d0d0d0;
    color: #333333;
}

.product-showcase__nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================================================
   4. Product Quiz - 产品推荐引导
   ========================================================================== */

.product-quiz {
    position: relative;
    background-color: transparent;
    padding: 0;
}

.product-quiz__image-desktop,
.product-quiz__image-mobile {
    display: block;
    width: 100%;
    height: auto;
}

.product-quiz__image-mobile {
    display: none;
}

.product-quiz__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
}

.product-quiz__overlay .homepage-section__container {
    width: 100%;
}

.product-quiz__layout {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
}

.product-quiz__content {
    max-width: 450px;
    padding-left: 40px;
}

.product-quiz__title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--laifen-text-primary);
    letter-spacing: -0.02em;
}

.product-quiz__description {
    font-size: 18px;
    color: var(--laifen-text-secondary);
    margin-bottom: 28px;
    line-height: 1.5;
}

.product-quiz__btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--laifen-secondary);
    color: var(--laifen-text-white);
    border-radius: 9999px;
    font-size: 15px;
    font-weight: var(--laifen-font-medium);
    text-decoration: none;
    transition: all var(--laifen-transition-base);
}

.product-quiz__btn:hover {
    color: #fff;
    background-color: var(--laifen-secondary-hover);
    transform: none;
    text-decoration: none;
}

/* ==========================================================================
   5. Awards - 获奖展示
   ========================================================================== */

.awards-section {
    padding: 80px 0;
    background-color: var(--laifen-bg-black);
    overflow: hidden;
}

.awards-section__layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.awards-section__info {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 180px;
}

.awards-section__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: var(--laifen-text-white);
}

.awards-section__icon svg {
    width: 100%;
    height: 100%;
}

.awards-section__title {
    font-size: 28px;
    font-weight: var(--laifen-font-bold);
    color: var(--laifen-text-white);
    margin: 0;
    white-space: nowrap;
}

/* 奖项滑动容器 */
.awards-section__slider-wrapper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.awards-section__slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 24px;
    /* 隐藏默认滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* 鼠标拖动样式 */
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.awards-section__slider::-webkit-scrollbar {
    display: none;
}

/* 拖动状态 */
.awards-section__slider.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.awards-section__slider.is-dragging .award-card {
    pointer-events: none;
    user-select: none;
}

/* 奖项卡片 */
.award-card {
    flex: 0 0 200px;
    min-width: 200px;
    background-color: var(--laifen-bg-white);
    border-radius: 20px;
    padding: 24px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform var(--laifen-transition-base), box-shadow var(--laifen-transition-base);
}

.award-card:hover {
    transform: none;
    box-shadow: none;
}

.award-card__image {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.award-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.award-card__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.award-card__source {
    font-size: 14px;
    font-weight: var(--laifen-font-medium);
    color: var(--laifen-text-primary);
    line-height: 1.3;
}

.award-card__name {
    font-size: 14px;
    color: var(--laifen-text-secondary);
    line-height: 1.3;
}

/* 自定义滚动条指示器 */
.awards-section__scrollbar {
    display: block;
    margin-top: 16px;
    padding: 0 20px;
}

.awards-section__scrollbar-track {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.awards-section__scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    transition: left 0.1s ease-out;
}

/* ==========================================================================
   6. Recommended By - 推荐人展示
   ========================================================================== */

.recommended-section {
    padding: 80px 0;
    background-color: var(--laifen-bg-white);
}

/* 滑动容器 - 桌面端grid布局，移动端滑动 */
.recommended-section__slider-wrapper {
    position: relative;
    overflow: hidden;
}

.recommended-section__slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* 推荐卡片 */
.recommended-card {
    display: flex;
    flex-direction: column;
}

/* 图片包装器 - 包含徽章和图片 */
.recommended-card__image-wrapper {
    position: relative;
    margin-bottom: 24px;
}

/* ADA徽章 */
.recommended-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    width: 80px;
    max-width: 80px;
}

.recommended-card__badge img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* 推荐人图片 */
.recommended-card__image {
    width: 100%;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.recommended-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 卡片内容区域 */
.recommended-card__content {
    display: flex;
    flex-direction: column;
}

/* "Рекомендует" 标签 */
.recommended-card__label {
    font-size: 28px;
    font-weight: var(--laifen-font-bold);
    color: var(--laifen-text-primary);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

/* 推荐人名称 */
.recommended-card__name {
    font-size: 18px;
    font-weight: var(--laifen-font-regular);
    color: var(--laifen-text-primary);
    margin: 0 0 16px 0;
    line-height: 1.4;
}

/* 推荐描述 */
.recommended-card__description {
    font-size: 16px;
    font-weight: var(--laifen-font-regular);
    color: var(--laifen-text-primary);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   7. Brand Stats - 品牌数据展示
   ========================================================================== */

.brand-stats {
    position: relative;
    min-height: 580px;
    /* 渐变背景：从左上深蓝灰色到右下浅灰色 */
    background: linear-gradient(135deg, #6b7b8a 0%, #9ea8b3 40%, #c8ced4 100%);
    color: var(--laifen-text-white);
    overflow: hidden;
}

.brand-stats--has-bg {
    background: none;
}

/* 背景图层 */
.brand-stats__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* 桌面端背景 */
.brand-stats__bg--desktop {
    display: block;
}

/* 移动端背景 */
.brand-stats__bg--mobile {
    display: none;
}

.brand-stats__container {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.brand-stats__layout {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 580px;
}

/* 左侧内容区域 */
.brand-stats__content {
    padding: 60px 0 80px;
}

.brand-stats__header {
    margin-bottom: 48px;
}

.brand-stats__eyebrow {
    font-size: 32px;
    font-weight: var(--laifen-font-bold);
    color: var(--laifen-text-white);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.brand-stats__title {
    font-size: 32px;
    font-weight: var(--laifen-font-bold);
    color: var(--laifen-text-white);
    margin: 0;
    line-height: 1.2;
}

.brand-stats__title span,
.brand-stats__title br + span,
.brand-stats__title strong {
    display: block;
}

/* №1 В Мире 特殊样式 */
.brand-stats__subtitle {
    font-size: 56px;
    font-weight: var(--laifen-font-bold);
    color: var(--laifen-primary);
    margin: 8px 0 0 0;
    line-height: 1.1;
}

/* 数据统计项 */
.brand-stats__items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.brand-stats__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-stats__item-number {
    font-size: 32px;
    font-weight: var(--laifen-font-bold);
    color: var(--laifen-text-white);
    line-height: 1.2;
}

.brand-stats__item-label {
    font-size: 16px;
    font-weight: var(--laifen-font-regular);
    color: var(--laifen-text-white);
    line-height: 1.4;
}

/* ==========================================================================
   8. Sustainability - 环保/可持续发展模块
   ========================================================================== */

.sustainability {
    padding: 60px 0 80px;
    background-color: var(--laifen-bg-white);
}

.sustainability__wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 300px;
    border-radius: 16px;
    overflow: hidden;
}

.sustainability__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.sustainability__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.sustainability__container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 300px;
    padding: 50px 60px;
}

.sustainability__content {
    max-width: 550px;
}

.sustainability__title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.sustainability__title-line {
    display: block;
}

.sustainability__description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    margin: 0;
    max-width: 480px;
}

/* ==========================================================================
   9. Media Logos - 媒体Logo墙
   ========================================================================== */

.media-logos {
    padding: 60px 0 80px;
    background-color: var(--laifen-bg-white);
}

.media-logos__header {
    text-align: center;
    margin-bottom: 40px;
}

.media-logos__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--laifen-text-primary);
    margin: 0 0 16px 0;
}

.media-logos__subtitle {
    font-size: 16px;
    color: var(--laifen-text-secondary);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.media-logos__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 48px;
}

.media-logo {
    height: 28px;
    opacity: 0.7;
    transition: opacity var(--laifen-transition-base);
    filter: grayscale(100%);
    flex-shrink: 0;
}

.media-logo:hover {
    opacity: 1;
    filter: none;
}

.media-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   10. Partners - 合作伙伴
   ========================================================================== */

.partners {
    padding: 60px 0 80px;
    background-color: var(--laifen-bg-white);
}

.partners__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--laifen-text-primary);
    margin: 0 0 48px 0;
    text-align: center;
}

/* 滑动容器 - 无限轮播 */
.partners__slider-wrapper {
    position: relative;
    overflow: hidden;
}

.partners__slider--marquee {
    overflow: hidden;
    padding-bottom: 24px;
}

.partners__track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    cursor: grab;
}

.partners__track.is-dragging {
    cursor: grabbing;
    user-select: none;
}

/* 合作伙伴卡片 */
.partner {
    flex: 0 0 240px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-snap-align: start;
    background-color: #F5F5F5;
    border-radius: 16px;
    padding-bottom: 20px;
}

.partner__logo-wrapper {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    box-sizing: border-box;
    transition: background-color var(--laifen-transition-base);
}

.partner:hover {
    background-color: #EBEBEB;
}

.partner__logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner__name {
    font-size: 16px;
    font-weight: 500;
    color: var(--laifen-text-primary);
    margin: 0;
    text-align: center;
}

/* 自定义滚动条指示器（轮播模式下隐藏） */
.partners__scrollbar {
    display: none;
}

/* ==========================================================================
   响应式设计
   ========================================================================== */

/* 平板 */
@media (max-width: 991px) {
    .homepage-section {
        padding: var(--laifen-spacing-2xl) 0;
    }

    .homepage-section__title {
        font-size: var(--laifen-font-3xl);
    }

    /* Categories */
    .popular-categories {
        padding: 40px 0 60px;
    }

    .popular-categories__header {
        margin-bottom: 32px;
    }

    .popular-categories__title {
        font-size: 28px;
    }

    .popular-categories__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 16px;
        /* 隐藏滚动条但保持可滚动 */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .popular-categories__grid::-webkit-scrollbar {
        display: none;
    }

    .popular-categories__grid .category-item {
        flex: 0 0 75%;
        scroll-snap-align: start;
    }

    .category-item__name {
        font-size: 16px;
    }

    /* 移动端显示Buy now链接 */
    .category-item__link {
        display: block;
    }

    /* Product Showcase - 平板 */
    .product-showcase {
        padding: 48px 0 60px;
    }

    .product-showcase__title {
        font-size: 28px;
    }

    .product-showcase__banner-image {
        border-radius: 12px;
    }

    .product-showcase__banner-title {
        font-size: 24px;
    }

    .product-showcase__products .product-card-showcase {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: calc((100% - 20px) / 2);
    }

    .product-showcase__products {
        gap: 20px;
    }

    /* Awards */
    .awards-section {
        padding: 60px 0;
    }

    .awards-section__layout {
        flex-direction: column;
        gap: 32px;
    }

    .awards-section__info {
        min-width: auto;
    }

    .awards-section__title {
        font-size: 24px;
    }

    .award-card {
        flex: 0 0 180px;
        min-width: 180px;
        padding: 20px;
    }

    .award-card__image {
        width: 100px;
        height: 100px;
        margin-bottom: 12px;
    }

    .awards-section__scrollbar {
        display: block;
    }

    /* Recommended - 平板端保持两列 */
    .recommended-section {
        padding: 60px 0;
    }

    .recommended-section__slider {
        gap: 24px;
    }

    .recommended-card__badge {
        width: 70px;
        top: 12px;
        left: 12px;
    }

    .recommended-card__image-wrapper {
        margin-bottom: 20px;
    }

    .recommended-card__label {
        font-size: 24px;
    }

    .recommended-card__name {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .recommended-card__description {
        font-size: 14px;
    }

    /* Brand Stats - 平板端 */
    .brand-stats {
        min-height: auto;
    }

    .brand-stats__layout {
        min-height: auto;
    }

    .brand-stats__content {
        padding: 60px 0;
    }

    .brand-stats__header {
        margin-bottom: 36px;
    }

    .brand-stats__eyebrow {
        font-size: 26px;
    }

    .brand-stats__title {
        font-size: 26px;
    }

    .brand-stats__subtitle {
        font-size: 44px;
    }

    .brand-stats__items {
        gap: 20px;
    }

    .brand-stats__item-number {
        font-size: 28px;
    }

    .brand-stats__item-label {
        font-size: 14px;
    }

    .product-quiz {
        padding: 0!important;
    }

    /* Quiz */
    .product-quiz.homepage-section {
        padding: 0;
    }

    .product-quiz__image-desktop {
        display: none !important;
    }

    .product-quiz__image-mobile {
        display: block !important;
    }

    .product-quiz__overlay {
        align-items: flex-start;
    }

    .product-quiz__layout {
        justify-content: center;
        padding: 0;
    }

    .product-quiz__content {
        max-width: 100%;
        padding-left: 0;
        padding-top: 20px;
        text-align: center;
    }

    .product-quiz__title {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    .product-quiz__description {
        font-size: 12px;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .product-quiz__btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* 手机 */
@media (max-width: 767px) {
    .homepage-section {
        padding: var(--laifen-spacing-xl) 0;
    }

    .homepage-section__container {
        padding: 0 20px;
    }

    .homepage-section__title {
        font-size: var(--laifen-font-2xl);
    }

    /* Categories */
    .popular-categories {
        padding: 32px 0 48px;
    }

    .popular-categories__header {
        margin-bottom: 24px;
    }

    .popular-categories__title {
        font-size: 18px;
    }

    .popular-categories__grid .category-item {
        flex: 0 0 72%;
    }

    /* 移动端显示 Buy now 链接 */
    .category-item__link {
        display: inline-block;
    }

    .category-item__name {
        font-size: 18px;
    }

    .category-item__content {
        padding-top: 12px;
        gap: 2px;
    }

    .category-item__name {
        font-size: 14px;
    }

    .category-item__link {
        font-size: 12px;
    }

    /* Product Showcase - 手机 */
    .product-showcase {
        padding: 32px 0 48px;
    }

    .product-showcase__title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .product-showcase__header {
        margin-bottom: 20px;
    }

    /* 移动端Banner：背景图铺满，内容叠加 */
    .product-showcase__banner--desktop {
        display: none;
    }

    .product-showcase__banner--mobile {
        display: block;
    }
    .product-showcase__banner::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(3, 3, 0, 0.8) 80%);
        pointer-events: none;
        border-radius: 12px;
    }

    .product-showcase__banner-image {
        border-radius: 8px;
        aspect-ratio: 3 / 4 !important;
    }
    .product-showcase__banner-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .product-showcase__banner-content {
        bottom: 24px;
        left: 24px;
        width: calc(100% - 48px);
    }

    .product-showcase__banner-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .product-showcase__banner-btn {
        font-size: 12px;
        padding: 8px 16px;
    }

    /* 移动端水平滚动 */
    .product-showcase__products-wrapper {
        overflow: visible;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .product-showcase__products {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 8px;
        /* 隐藏滚动条 */
        scrollbar-width: none;
        -ms-overflow-style: none;
        transform: none !important;
    }

    .product-showcase__products::-webkit-scrollbar {
        display: none;
    }

    .product-showcase__products .product-card-showcase {
        flex: 0 0 280px;
        min-width: 280px;
        scroll-snap-align: start;
    }

    .product-card-showcase__image {
        padding: 16px;
    }
    .product-card-showcase__content {
        padding: 16px;
    }

    .product-card-showcase__name {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .product-card-showcase__description {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .product-card-showcase__price {
        font-size: 18px;
        font-weight: 700;
    }

    .product-card-showcase__price-original {
        font-size: 14px;
    }

    .product-card-showcase__btn {
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 500;
    }

    /* 移动端隐藏导航箭头，使用触摸滑动 */
    .product-showcase__nav {
        display: none;
    }

    /* Awards */
    .awards-section {
        padding: 48px 0;
    }

    .awards-section__layout {
        gap: 24px;
    }

    .awards-section__icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .awards-section__title {
        font-size: 20px;
    }

    /* 移动端滑动区域撑满整个容器宽度 */
    .awards-section .homepage-section__container {
        padding-left: 0;
        padding-right: 0;
    }

    .awards-section__layout {
        padding-left: 20px;
        padding-right: 20px;
    }

    .awards-section__slider-wrapper {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .awards-section__slider {
        gap: 16px;
        padding-bottom: 20px;
    }

    /* 最后一个卡片右边留出空间 */
    .awards-section__slider .award-card:last-child {
        margin-right: 20px;
    }

    .award-card {
        flex: 0 0 160px;
        min-width: 160px;
        padding: 16px;
        border-radius: 16px;
    }

    .award-card__image {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
    }

    .award-card__source {
        font-size: 13px;
    }

    .award-card__name {
        font-size: 12px;
    }

    .awards-section__scrollbar {
        padding: 0;
    }

    .awards-section__scrollbar-track {
        height: 3px;
    }

    /* Recommended - 手机端滑动布局 */
    .recommended-section {
        padding: 48px 0;
    }

    .recommended-section__slider-wrapper {
        overflow: visible;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .recommended-section__slider {
        display: flex;
        grid-template-columns: unset;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        /* 隐藏滚动条 */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .recommended-section__slider::-webkit-scrollbar {
        display: none;
    }

    .recommended-card {
        flex: 0 0 85%;
        min-width: 85%;
        scroll-snap-align: start;
        background-color: var(--laifen-bg-white);
    }

    .recommended-card__badge {
        width: 80px;
        top: 16px;
        left: 16px;
    }

    .recommended-card__image-wrapper {
        margin-bottom: 20px;
    }

    .recommended-card__image {
        border-radius: 16px;
        overflow: hidden;
    }

    .recommended-card__label {
        font-size: 24px;
        margin-bottom: 8px;
        font-weight: var(--laifen-font-bold);
    }

    .recommended-card__name {
        font-size: 16px;
        margin-bottom: 12px;
        font-weight: var(--laifen-font-regular);
    }

    .recommended-card__description {
        font-size: 14px;
        line-height: 1.6;
        font-weight: var(--laifen-font-regular);
    }

    /* 最后一个卡片右边留空间 */
    .recommended-section__slider .recommended-card:last-child {
        margin-right: 20px;
    }

    /* Brand Stats - 手机端 */
    .brand-stats {
        min-height: 500px;
        padding: 0;
    }

    /* 移动端显示移动端背景，隐藏桌面端背景 */
    .brand-stats__bg--desktop {
        display: none;
    }

    .brand-stats__bg--mobile {
        display: block;
    }

    .brand-stats__layout {
        min-height: 500px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .brand-stats__content {
        width: auto;
        padding: 40px 0 40px 20px;
    }

    .brand-stats__header {
        margin-bottom: 24px;
    }

    .brand-stats__eyebrow {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .brand-stats__title {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .brand-stats__subtitle {
        font-size: 28px;
        line-height: 1.2;
        margin-top: 4px;
    }

    .brand-stats__items {
        gap: 16px;
    }

    .brand-stats__item {
        gap: 2px;
    }

    .brand-stats__item-number {
        font-size: 24px;
        line-height: 1.2;
    }

    .brand-stats__item-label {
        font-size: 12px;
        line-height: 1.3;
    }

    /* Sustainability - 移动端 */
    .sustainability {
        padding: 40px 20px 60px;
    }

    .sustainability__wrapper {
        min-height: 280px;
    }

    .sustainability__container {
        padding: 40px 24px;
        min-height: 280px;
    }

    .sustainability__content {
        max-width: 100%;
        text-align: center;
    }

    .sustainability__title {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .sustainability__description {
        font-size: 14px;
        max-width: 100%;
    }

    .sustainability__overlay {
        background: rgba(0, 0, 0, 0.3);
    }

    /* Media Logos */
    .media-logos {
        padding: 40px 0 60px;
    }

    .media-logos__header {
        margin-bottom: 32px;
    }

    .media-logos__title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .media-logos__subtitle {
        font-size: 14px;
        padding: 0 20px;
    }

    .media-logos__grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px 24px;
        max-width: 320px;
        margin: 0 auto;
        padding: 0 16px;
    }

    /* 金字塔排列: 第一行3个，第二行2个，第三行1个 */
    .media-logo {
        height: 20px;
        flex: 0 0 auto;
    }

    /* 第一行3个logo */
    .media-logo:nth-child(1),
    .media-logo:nth-child(2),
    .media-logo:nth-child(3) {
        /* 自然排列 */
    }

    /* 第二行2个logo - 添加左右边距使其居中 */
    .media-logo:nth-child(4) {
        margin-left: auto;
    }

    .media-logo:nth-child(5) {
        margin-right: auto;
    }

    /* 第三行1个logo - 占满宽度居中 */
    .media-logo:nth-child(6) {
        flex-basis: 100%;
        display: flex;
        justify-content: center;
    }

    .media-logo:nth-child(6) img {
        height: 20px;
    }

    /* Partners */
    .partners {
        padding: 40px 0 60px;
    }

    .partners__title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    /* 移动端轮播 */
    .partners__track {
        gap: 16px;
    }

    .partner {
        flex: 0 0 200px;
        min-width: 200px;
        padding-bottom: 24px;
    }

    .partner__logo-wrapper {
        width: 180px;
        height: 180px;
        padding: 0 24px;
        border-radius: 12px;
    }

    .partner__name {
        font-size: 14px;
    }
}

/* 小手机 */
@media (max-width: 479px) {
    .popular-categories__grid .category-item {
        flex: 0 0 70%;
    }

    .category-item__content {
        padding-top: 8px;
    }

    .category-item__name {
        font-size: 12px;
    }

    .category-item__link {
        font-size: 10px;
    }

    /* Product Showcase - 小手机 */
    .product-showcase__products .product-card-showcase {
        flex: 0 0 260px;
        min-width: 260px;
    }

    .product-card-showcase__name {
        font-size: 15px;
    }

    .product-card-showcase__description {
        font-size: 12px;
    }

    .product-card-showcase__price {
        font-size: 16px;
    }

    .product-card-showcase__btn {
        font-size: 14px;
        padding: 12px 16px;
    }

    /* Awards - 小手机 */
    .award-card {
        flex: 0 0 140px;
        min-width: 140px;
        padding: 14px;
    }

    .award-card__image {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .award-card__source {
        font-size: 12px;
    }

    .award-card__name {
        font-size: 11px;
    }

    /* Brand Stats - 小手机 */
    .brand-stats {
        min-height: 450px;
    }

    .brand-stats__layout {
        min-height: 450px;
    }

    .brand-stats__content {
        padding: 24px 0 32px 0;
    }

    .brand-stats__header {
        margin-bottom: 10px;
    }

    .brand-stats__eyebrow {
        font-size: 14px;
    }

    .brand-stats__title {
        font-size: 14px;
    }

    .brand-stats__subtitle {
        font-size: 20px;
    }

    .brand-stats__items {
        gap: 6px;
    }

    .brand-stats__item-number {
        font-size: 16px;
    }

    .brand-stats__item-label {
        font-size: 11px;
    }

    /* Recommended - 小手机 */
    .recommended-card {
        flex: 0 0 85%;
        min-width: 85%;
    }

    .recommended-card__badge {
        width: 50px;
        top: 8px;
        left: 8px;
    }

    .recommended-card__label {
        font-size: 18px;
    }

    .recommended-card__name {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .recommended-card__description {
        font-size: 12px;
    }

    /* Partners - 小手机 */
    .partner {
        flex: 0 0 160px;
        min-width: 160px;
    }

    .partner__logo-wrapper {
        width: 120px;
        height: 120px;
        padding: 0 20px;
        border-radius: 10px;
        margin-bottom: 0;
    }

    .partner__name {
        font-size: 13px;
    }
}
