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

/* 平板设备 (768px - 991px) */
@media (max-width: 991.98px) {
    /* 头部调整 */
    .header-container {
        padding: 15px 0;
    }

    .site-logo {
        font-size: 20px;
    }

    .primary-menu {
        gap: 20px;
    }

    .primary-menu a {
        font-size: 11px;
    }

    .header-actions {
        gap: 15px;
    }

    /* Banner 调整 */
    .main-banner {
        height: 500px;
    }

    .banner-slide {
        height: 500px;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .banner-content p {
        font-size: 16px;
    }

    /* 产品类别调整 */
    .category-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    /* 页脚调整 */
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* 移动设备 (576px - 767px) */
@media (max-width: 767.98px) {
    /* 隐藏桌面导航，显示移动菜单按钮 */
    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* 顶部通知栏 */
    .top-notice-slider {
        padding: 6px 0;
    }

    .notice-slide p {
        font-size: 10px;
    }

    /* Banner 调整 */
    .main-banner {
        height: 400px;
    }

    .banner-slide {
        height: 400px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

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

    .banner-prev,
    .banner-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* 产品类别调整 */
    .category-header h2 {
        font-size: 28px;
    }

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

    .category-header h3 {
        font-size: 18px;
    }

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

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

    /* 页脚调整 */
    .footer-top {
        padding: 40px 0;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

/* 小屏幕手机 (小于 576px) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 15px;
    }

    /* 头部调整 */
    .header-container {
        padding: 10px 0;
    }

    .site-logo {
        font-size: 18px;
    }

    .header-actions {
        gap: 10px;
    }

    .search-toggle,
    .header-account a,
    .header-cart a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .mobile-menu {
        width: 280px;
    }

    /* Banner 调整 */
    .main-banner {
        height: 350px;
    }

    .banner-slide {
        height: 350px;
    }

    .banner-content h1 {
        font-size: 24px;
    }

    .banner-content p {
        font-size: 13px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 11px;
    }

    /* 产品类别调整 */
    .product-category {
        padding: 40px 0;
    }

    .category-header h2 {
        font-size: 24px;
    }

    .featured-product {
        padding: 20px;
    }

    .featured-info h4 {
        font-size: 18px;
    }

    .featured-info .price {
        font-size: 28px;
    }

    .everyday-grid,
    .trending-products {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    /* 页脚调整 */
    .footer-middle {
        padding: 40px 0;
    }

    .newsletter h2 {
        font-size: 20px;
    }

    .newsletter p {
        font-size: 14px;
    }

    /* 响应式调整 - 顶部通知栏 */

    /* 平板设备 (768px - 991px) */
    @media (max-width: 991.98px) {
        .top-notice-slider {
            height: 35px;
        }

        .notice-slide {
            height: 35px;
            padding: 0 35px;
        }

        .notice-slide p {
            font-size: 10px;
        }

        .notice-arrow {
            width: 35px;
        }

        .notice-arrow i {
            font-size: 11px;
        }
    }

    /* 移动设备 (576px - 767px) */
    @media (max-width: 767.98px) {
        .top-notice-slider {
            height: 30px;
        }

        .notice-slide {
            height: 30px;
            padding: 0 30px;
        }

        .notice-slide p {
            font-size: 9px;
            letter-spacing: 0.3px;
        }

        .notice-arrow {
            width: 30px;
        }

        .notice-arrow i {
            font-size: 10px;
        }

        /* 在小屏幕上可以隐藏箭头 */
        .top-notice-slider .notice-arrow {
            opacity: 0.7;
        }

        .top-notice-slider:hover .notice-arrow {
            opacity: 1;
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .top-notice-slider {
            height: 28px;
        }

        .notice-slide {
            height: 28px;
            padding: 0 25px;
        }

        .notice-slide p {
            font-size: 8px;
            white-space: normal; /* 允许换行 */
            line-height: 1.2;
        }

        .notice-arrow {
            width: 25px;
        }

        .notice-arrow i {
            font-size: 9px;
        }
    }

    /* 响应式调整 - 顶部通知栏 */

    /* 平板设备 (768px - 991px) */
    @media (max-width: 991.98px) {
        .top-notice {
            height: 35px;
        }

        .notice-text {
            font-size: 11px;
        }

        .notice-arrow {
            width: 18px;
            height: 18px;
        }

        .notice-arrow i {
            font-size: 9px;
        }

        .notice-prev {
            display: none;
            left: calc(50% - 140px);
        }

        .notice-next {
            display: none;
            right: calc(50% - 140px);
        }
    }

    /* 移动设备 (576px - 767px) */
    @media (max-width: 767.98px) {
        .top-notice {
            height: 30px;
        }

        .notice-text {
            font-size: 10px;
            padding: 0 8px;
        }

        .notice-content {
            max-width: 250px;
            padding: 0 15px;
        }

        .notice-arrow {
            width: 16px;
            height: 16px;
        }

        .notice-arrow i {
            font-size: 8px;
        }

        .notice-prev {
            display: none;
            left: calc(50% - 125px);
        }

        .notice-next {
            display: none;
            right: calc(50% - 125px);
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .top-notice {
            height: 28px;
        }

        .notice-text {
            font-size: 9px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 180px;
        }

        .notice-content {
            max-width: 200px;
            padding: 0 10px;
        }

        .notice-arrow {
            width: 15px;
            height: 15px;
        }

        .notice-arrow i {
            font-size: 7px;
        }

        .notice-prev {
            display: none;
            left: calc(50% - 100px);
        }

        .notice-next {
            right: calc(50% - 100px);
        }
    }

    /* 超小屏幕手机 (小于 375px) */
    @media (max-width: 374.98px) {
        .top-notice {
            height: 26px;
        }

        .notice-text {
            font-size: 8px;
            max-width: 150px;
        }

        .notice-content {
            max-width: 160px;
        }

        .notice-prev {
            display: none;
            left: calc(50% - 80px);
        }

        .notice-next {
            right: calc(50% - 80px);
        }
    }

    /* ============================================
       菜单栏响应式设计
       ============================================ */

    /* 平板设备 (768px - 991px) */
    @media (max-width: 991.98px) {
        .main-navigation-bar {
            padding: 15px 0;
        }

        .primary-navigation {
            margin: 0 20px;
        }

        .primary-menu {
            gap: 20px;
        }

        .menu-link {
            font-size: 11px;
        }

        .header-right {
            gap: 20px;
        }

        .header-links {
            gap: 15px;
        }

        .header-link {
            font-size: 11px;
        }

        .header-icons {
            gap: 15px;
        }

        .header-icon {
            width: 35px;
            height: 35px;
            font-size: 14px;
        }
    }

    /* 移动设备 (576px - 767px) */
    @media (max-width: 767.98px) {
        .main-navigation-bar {
            padding: 10px 0;
        }

        .site-logo {
            font-size: 20px;
        }

        /* 隐藏桌面导航和右侧文本链接，显示移动菜单按钮 */
        .primary-navigation,
        .header-links {
            display: none;
        }

        .mobile-menu-toggle {
            display: flex;
            margin-left: 20px;
        }

        .header-right {
            gap: 10px;
        }

        .header-icons {
            gap: 10px;
        }

        .header-icon {
            width: 32px;
            height: 32px;
            font-size: 13px;
        }

        .cart-icon .cart-count {
            font-size: 9px;
            min-width: 16px;
            height: 16px;
            border-radius: 8px;
        }

        .mobile-menu {
            width: 280px;
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .main-navigation-bar {
            padding: 8px 0;
        }

        .site-logo {
            font-size: 18px;
        }

        .header-icon {
            width: 30px;
            height: 30px;
            font-size: 12px;
        }

        .mobile-menu {
            width: 260px;
        }

        .mobile-menu-list a {
            font-size: 15px;
            padding: 12px 0;
        }
    }
    /* ============================================
       手机端轮播栏修复
       ============================================ */

    /* 手机端 (小于 768px) */
    @media (max-width: 767.98px) {
        /* 修复轮播栏容器 */
        .main-banner {
            height: 400px !important;
            margin-top: 0 !important;
            margin-bottom: 30px !important;
        }

        .banner-slide {
            height: 400px !important;
        }

        /* 修复轮播内容 */
        .banner-content {
            padding: 0 15px;
        }

        .banner-content h1 {
            font-size: 24px !important;
            line-height: 1.3;
            margin-bottom: 15px;
            letter-spacing: 1px;
        }

        .banner-content p {
            font-size: 14px !important;
            margin-bottom: 20px;
            line-height: 1.4;
        }

        /* 修复轮播按钮 */
        .banner-nav {
            display: none; /* 手机端隐藏箭头 */
        }

        .banner-prev,
        .banner-next {
            width: 40px;
            height: 40px;
            font-size: 16px;
        }

        /* 修复轮播指示器 */
        .slick-dots {
            bottom: 20px !important;
        }

        .slick-dots li button {
            width: 8px;
            height: 8px;
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .main-banner {
            height: 350px !important;
        }

        .banner-slide {
            height: 350px !important;
        }

        .banner-content h1 {
            font-size: 20px !important;
        }

        .banner-content p {
            font-size: 13px !important;
        }

        .banner-content .btn {
            padding: 10px 20px;
            font-size: 12px;
        }
    }

    /* 超小屏幕手机 (小于 375px) */
    @media (max-width: 374.98px) {
        .main-banner {
            height: 300px !important;
        }

        .banner-slide {
            height: 300px !important;
        }

        .banner-content h1 {
            font-size: 18px !important;
        }

        .banner-content p {
            font-size: 12px !important;
        }
    }


    /* ============================================
       SHOP POPULAR CATEGORIES 响应式设计
       ============================================ */

    /* 平板设备 (768px - 991px) */
    @media (max-width: 991.98px) {
        .popular-categories-section {
            padding: 50px 0;
        }

        .category-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .section-title {
            font-size: 22px;
        }
    }

    /* 移动设备 (576px - 767px) */
    @media (max-width: 767.98px) {
        .popular-categories-section {
            padding: 40px 0;
        }

        .categories-header {
            flex-direction: column;
            align-items: flex-start;
            margin-bottom: 30px;
        }

        .section-title {
            font-size: 20px;
            margin-bottom: 15px;
        }

        .category-tabs {
            position: static;
            transform: none;
            align-self: flex-end;
        }

        .category-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .category-image {
            height: 150px;
        }

        .category-name {
            font-size: 13px;
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .popular-categories-section {
            padding: 30px 0;
        }

        .section-title {
            font-size: 18px;
        }

        .category-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        .category-image {
            height: 120px;
        }

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

        .tab-btn {
            padding: 6px 15px;
            font-size: 11px;
            min-width: 70px;
        }
    }

    /* 超小屏幕手机 (小于 375px) */
    @media (max-width: 374.98px) {
        .category-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .category-image {
            height: 150px;
        }
    }


    /* ============================================
       SHOP POPULAR CATEGORIES 响应式设计 - 6列布局
       ============================================ */

    /* 大屏幕桌面 (1200px 以上) */
    @media (min-width: 1200px) {
        .category-grid {
            gap: 25px;
        }

        .category-image {
            height: 160px;
        }
    }

    /* 中等桌面 (992px - 1199px) */
    @media (min-width: 992px) and (max-width: 1199.98px) {
        .category-grid {
            gap: 18px;
        }

        .category-image {
            height: 140px;
        }

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

    /* 平板设备 (768px - 991px) */
    @media (max-width: 991.98px) {
        .popular-categories-section {
            padding: 50px 0;
        }

        /* 改为4列 */
        .category-grid {
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }

        .section-title {
            font-size: 22px;
        }

        .category-image {
            height: 130px;
        }
    }

    /* 移动设备 (576px - 767px) */
    @media (max-width: 767.98px) {
        .popular-categories-section {
            padding: 40px 0;
        }

        .categories-header {
            flex-direction: column;
            align-items: flex-start;
            margin-bottom: 30px;
        }

        .section-title {
            font-size: 20px;
            margin-bottom: 15px;
        }

        .category-tabs {
            position: static;
            transform: none;
            align-self: flex-end;
        }

        /* 改为3列 */
        .category-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }

        .category-image {
            height: 120px;
        }

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

        .tab-btn {
            padding: 6px 15px;
            font-size: 11px;
            min-width: 70px;
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .popular-categories-section {
            padding: 30px 0;
        }

        .section-title {
            font-size: 18px;
        }

        /* 改为2列 */
        .category-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        .category-image {
            height: 100px;
        }

        .category-name {
            font-size: 11px;
        }
    }

    /* 超小屏幕手机 (小于 375px) */
    @media (max-width: 374.98px) {
        /* 保持2列，减小间距 */
        .category-grid {
            gap: 10px;
        }

        .category-image {
            height: 90px;
        }

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


    /* 响应式调整 - 分类标签 */

    /* 平板设备 (768px - 991px) */
    @media (max-width: 991.98px) {
        .category-tabs {
            gap: 15px;
        }

        .tab-btn {
            font-size: 11px;
            min-width: 50px;
            padding: 6px 0;
        }
    }

    /* 移动设备 (576px - 767px) */
    @media (max-width: 767.98px) {
        .category-tabs {
            gap: 12px;
        }

        .tab-btn {
            font-size: 10px;
            min-width: 45px;
            padding: 5px 0;
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .category-tabs {
            gap: 10px;
        }

        .tab-btn {
            font-size: 9px;
            min-width: 40px;
            padding: 4px 0;
        }

        .tab-btn.active::after {
            height: 1px; /* 在小屏幕上使用更细的下划线 */
        }
    }


    /* ============================================
       YOGA AND TRAINING 响应式设计 - 背景图布局
       ============================================ */

    /* 平板设备 (768px - 991px) */
    @media (max-width: 991.98px) {
        .yoga-background {
            height: 500px;
        }

        .yoga-content {
            max-width: 500px;
            padding: 30px;
        }

        .yoga-title {
            font-size: 40px;
        }

        .discount-text {
            font-size: 18px;
        }

        .btn-shop {
            padding: 14px 35px;
            font-size: 15px;
            min-width: 160px;
        }
    }

    /* 移动设备 (576px - 767px) */
    @media (max-width: 767.98px) {
        .yoga-training-section {
            margin: 0 0 40px 0;
        }

        .yoga-background {
            height: 450px;
        }

        .yoga-content {
            max-width: 90%;
            padding: 25px 20px;
        }

        .yoga-title {
            font-size: 36px;
            margin-bottom: 15px;
        }

        .discount-text {
            font-size: 16px;
            margin-bottom: 30px;
        }

        .shop-buttons {
            gap: 15px;
        }

        .btn-shop {
            padding: 12px 30px;
            font-size: 14px;
            min-width: 140px;
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .yoga-background {
            height: 400px;
        }

        .yoga-content {
            padding: 20px 15px;
        }

        .yoga-title {
            font-size: 32px;
        }

        .discount-text {
            font-size: 15px;
        }

        .shop-buttons {
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }

        .btn-shop {
            width: 100%;
            max-width: 220px;
            padding: 12px 25px;
        }
    }

    /* 超小屏幕手机 (小于 375px) */
    @media (max-width: 374.98px) {
        .yoga-background {
            height: 350px;
        }

        .yoga-title {
            font-size: 28px;
        }

        .discount-text {
            font-size: 14px;
        }

        .btn-shop {
            padding: 10px 20px;
            font-size: 13px;
        }
    }

    /* ============================================
       FITNESS TRAINING ARE BESTSELLERS 响应式设计
       ============================================ */


    /* 平板设备 (768px - 1199px) */
    @media (max-width: 1199.98px) {
        .fitness-training-section {
            padding: 50px 0;
        }
        .category-image{
            height: 280px;
        }

        .fitness-training-section .product-image {
            height: 280px;
        }

        .fitness-training-section .section-title {
            font-size: 22px;
        }
    }

    /* 小平板 (576px - 767px) */
    @media (max-width: 767.98px) {
        .fitness-training-section {
            padding: 40px 0;
        }

        .fitness-training-section .section-header {
            flex-direction: column;
            align-items: flex-start;
            margin-bottom: 30px;
        }

        .fitness-training-section .section-title {
            font-size: 20px;
            margin-bottom: 20px;
            width: 100%;
        }

        .fitness-training-section .slider-nav {
            margin-left: 0;
            align-self: flex-end;
        }


        .fitness-training-section .product-image {
            height: 250px;
        }

        .fitness-training-section .product-title {
            font-size: 13px;
        }

        .fitness-training-section .product-price {
            font-size: 15px;
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .fitness-container{
            width: 78%;
            margin: 0 auto;
        }
        .fitness-training-section {
            padding: 30px 0;
        }

        .fitness-training-section .section-title {
            font-size: 18px;
        }
        .fitness-training-section .shop-now-link{

        }


        .fitness-training-section .product-image {
            height: 330px;
        }

        .fitness-training-section .slider-nav {
            width: 100%;
            justify-content: center;
        }

        .fitness-training-section .slider-prev,
        .fitness-training-section .slider-next {
            width: 35px;
            height: 35px;
        }

        .fitness-training-section .shop-now-link {
            font-size: 11px;
        }

        /* 产品卡片整体调整 */
        .product-card {
            display: flex;
            flex-direction: column;
            height: auto;
            min-height: 350px; /* 确保卡片有足够高度 */
        }

        /* 产品信息容器修复 */
        .product-info {
            display: flex !important;
            flex-direction: column;
            flex-grow: 1;
            padding: 15px 10px;
            background-color: #FFFFFF; /* 确保白色背景 */
            border-top: 1px solid #EEEEEE; /* 可选：添加分隔线 */
        }

        /* 产品标题修复 */
        .product-title {
            display: block !important;
            visibility: visible !important;
            font-size: 14px !important;
            font-weight: 500 !important;
            color: #333333 !important; /* 深灰色，确保可见 */
            text-align: center;
            margin: 0 0 8px 0 !important;
            line-height: 1.4;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* 产品价格修复 */
        .product-price {
            display: block !important;
            visibility: visible !important;
            font-size: 16px !important;
            font-weight: 600 !important;
            color: #000000 !important; /* 黑色，确保可见 */
            text-align: center;
            margin: 0 0 10px 0 !important;
        }

        /* Shop Now链接修复 */
        .shop-now-link {
            display: inline-block !important;
            visibility: visible !important;
            font-size: 12px !important;
            font-weight: 600 !important;
            color: #FF0000 !important; /* 红色，确保可见 */
            text-transform: uppercase;
            text-align: center;
            text-decoration: none;
            padding: 8px 15px;
            border: 1px solid #FF0000;
            border-radius: 4px;
            margin: 5px auto 0 auto;
            min-width: 100px;
            background-color: transparent;
            transition: all 0.3s ease;
        }

        .shop-now-link:hover {
            background-color: #FF0000;
            color: #FFFFFF !important;
        }

        /* 为Fitness Training部分特别修复 */
        .fitness-training-section .product-title,
        .fitness-training-section .product-price,
        .fitness-training-section .shop-now-link {
            color: #000000 !important;
        }

        .fitness-training-section .shop-now-link {
            color: #FF0000 !important;
        }
    }


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

    /* 大桌面 (1400px 以上) */
    @media (min-width: 1400px) {
        .carousel-item {
            -webkit-box-flex: 0;
            -ms-flex: 0 0 16.666667%;
            flex: 0 0 16.666667%;
            max-width: 16.666667%;
            min-width: 16.666667%;
            width: 16.666667%;
        }
    }

    /* 中等桌面 (992px - 1399px) */
    @media (max-width: 1399.98px) {
        .instagram-section {
            padding: 50px 0;
        }

        .instagram-hashtag {
            font-size: 22px;
        }

        .instagram-handle {
            font-size: 15px;
        }
    }

    /* 平板设备 (768px - 991px) */
    @media (max-width: 991.98px) {
        .instagram-section {
            padding: 40px 0;
        }

        .carousel-item {
            -webkit-box-flex: 0;
            -ms-flex: 0 0 25%;
            flex: 0 0 25%;
            max-width: 25%;
            min-width: 25%;
            width: 25%; /* 显示4个 */
        }

        .instagram-hashtag {
            font-size: 20px;
        }

        .instagram-handle {
            font-size: 14px;
        }

        .nav-arrow {
            width: 35px;
            height: 35px;
        }
    }

    /* 小屏幕平板 (576px - 767px) */
    @media (max-width: 767.98px) {
        .instagram-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 20px;
        }

        .instagram-nav {
            align-self: flex-end;
        }

        .carousel-item {
            -webkit-box-flex: 0;
            -ms-flex: 0 0 33.333333%;
            flex: 0 0 33.333333%;
            max-width: 33.333333%;
            min-width: 33.333333%;
            width: 33.333333%; /* 显示3个 */
        }

        .instagram-hashtag {
            font-size: 18px;
        }

        .instagram-handle {
            font-size: 13px;
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .instagram-section {
            padding: 30px 0;
        }

        .carousel-item {
            -webkit-box-flex: 0;
            -ms-flex: 0 0 50%;
            flex: 0 0 50%;
            max-width: 50%;
            min-width: 50%;
            width: 50%; /* 显示2个 */
        }

        .instagram-hashtag {
            font-size: 16px;
        }

        .instagram-handle {
            font-size: 12px;
        }

        .nav-arrow {
            width: 30px;
            height: 30px;
        }

        .image-tag {
            font-size: 10px;
        }
    }

    /* 超小屏幕手机 (小于 375px) */
    @media (max-width: 374.98px) {
        .carousel-item {
            flex: 0 0 100%; /* 显示1个 */
        }

        .instagram-hashtag {
            font-size: 14px;
        }

        .instagram-handle {
            font-size: 11px;
        }
    }

    /* ============================================
       EXCITING ACTIVITIES 满屏布局响应式设计
       ============================================ */

    /* 中等桌面 (1200px 以上) */
    @media (min-width: 1200px) {
        .activities-grid-full {
            grid-template-columns: repeat(3, 1fr);
        }

        .activity-image-full {
            height: 400px;
        }

        .activity-content-full {
            padding: 30px 40px;
        }
    }

    /* 标准桌面 (992px - 1199px) */
    @media (min-width: 992px) and (max-width: 1199.98px) {
        .section-header.full-width {
            padding: 0 30px;
        }

        .activity-image-full {
            height: 350px;
        }

        .activity-content-full {
            padding: 25px 30px;
        }

        .activity-title-full {
            font-size: 16px;
            min-height: 45px;
        }
    }

    /* 平板设备 (768px - 991px) */
    @media (max-width: 991.98px) {
        .exciting-activities-section.full-width {
            padding: 50px 0;
        }

        .section-header.full-width {
            padding: 0 20px;
            margin-bottom: 30px;
        }

        .activities-grid-full {
            grid-template-columns: 1fr;
        }

        .activity-column-full {
            border-bottom: 1px solid #EEEEEE;
        }

        .activity-image-full {
            height: 300px;
        }

        .activity-content-full {
            padding: 20px;
            border-right: none;
            border-left: none;
            border-bottom: none;
        }

        .activities-grid-full .activity-column-full:last-child .activity-content-full {
            border-right: none;
        }

        .activities-grid-full .activity-column-full:first-child .activity-content-full {
            border-left: none;
        }

        .activity-title-full {
            font-size: 18px;
            min-height: auto;
        }

        .activity-description-full {
            font-size: 14px;
        }
    }

    /* 小屏幕平板 (576px - 767px) */
    @media (max-width: 767.98px) {
        .exciting-activities-section.full-width {
            padding: 40px 0;
        }

        .section-header.full-width {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }

        .view-more-link {
            align-self: flex-end;
        }

        .activity-image-full {
            height: 250px;
        }

        .activity-content-full {
            padding: 20px;
        }

        .activity-title-full {
            font-size: 16px;
            margin-bottom: 12px;
        }

        .activity-description-full {
            font-size: 13px;
            margin-bottom: 18px;
        }

        .learn-more-link-full {
            font-size: 12px;
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .exciting-activities-section.full-width {
            padding: 30px 0;
        }

        .section-title {
            font-size: 20px;
        }

        .view-more-link {
            font-size: 13px;
        }

        .activity-image-full {
            height: 220px;
        }

        .activity-content-full {
            padding: 15px;
        }

        .activity-title-full {
            font-size: 16px;
        }

        .activity-description-full {
            font-size: 13px;
        }

        .learn-more-link-full {
            font-size: 12px;
        }
    }

    /* 超小屏幕手机 (小于 375px) */
    @media (max-width: 374.98px) {
        .section-header.full-width {
            padding: 0 15px;
        }

        .section-title {
            font-size: 18px;
        }

        .activity-image-full {
            height: 200px;
        }

        .activity-content-full {
            padding: 12px;
        }

        .activity-title-full {
            font-size: 15px;
        }

        .activity-description-full {
            font-size: 12px;
        }
    }


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

    /* 中等桌面 (992px - 1199px) */
    @media (max-width: 1199.98px) {
        .newsletter-container {
            padding: 0 30px;
            gap: 30px;
        }

        .newsletter-title {
            font-size: 32px;
        }

        .logo-text {
            font-size: 42px;
            letter-spacing: 2px;
        }

        .bg-pattern-left {
            width: 250px;
            height: 250px;
        }

        .bg-pattern-right {
            width: 200px;
            height: 200px;
        }
    }

    /* 平板设备 (768px - 991px) */
    @media (max-width: 991.98px) {
        .newsletter-section {
            padding: 50px 0;
        }

        .newsletter-container {
            flex-direction: column;
            text-align: center;
            gap: 40px;
        }

        .newsletter-text {
            max-width: 100%;
        }

        .newsletter-subtitle {
            max-width: 100%;
        }

        .logo-text {
            font-size: 40px;
            padding-right: 40px;
        }

        .butterfly-wrapper {
            right: -35px;
        }

        .newsletter-form {
            max-width: 100%;
            width: 100%;
        }

        .bg-pattern-left {
            top: auto;
            bottom: -50px;
            left: -100px;
        }

        .bg-pattern-right {
            top: -30px;
            right: -100px;
            bottom: auto;
        }
    }

    /* 小屏幕平板 (576px - 767px) */
    @media (max-width: 767.98px) {
        .newsletter-section {
            padding: 40px 0;
        }

        .newsletter-container {
            padding: 0 20px;
            gap: 30px;
        }

        .newsletter-title {
            font-size: 28px;
            letter-spacing: 1.5px;
        }

        .newsletter-subtitle {
            font-size: 15px;
        }

        .logo-text {
            font-size: 36px;
            padding-right: 35px;
        }

        .butterfly-wrapper {
            width: 35px;
            height: 35px;
            right: -30px;
        }

        .left-wing,
        .right-wing {
            width: 18px;
            height: 25px;
        }

        .form-group {
            flex-direction: column;
            gap: 0;
            background-color: transparent;
            border: none;
        }

        .email-input {
            padding: 14px 20px;
            background-color: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            margin-bottom: 10px;
        }

        .subscribe-btn {
            padding: 14px 20px;
            width: 100%;
        }

        .bg-pattern-left,
        .bg-pattern-right {
            display: none;
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .newsletter-section {
            padding: 30px 0;
        }

        .newsletter-container {
            padding: 0 15px;
            gap: 25px;
        }

        .newsletter-title {
            font-size: 24px;
            letter-spacing: 1px;
        }

        .newsletter-subtitle {
            font-size: 14px;
        }

        .logo-text {
            font-size: 30px;
            padding-right: 30px;
        }

        .butterfly-wrapper {
            width: 30px;
            height: 30px;
            right: -25px;
        }

        .left-wing,
        .right-wing {
            width: 15px;
            height: 20px;
        }

        .email-input {
            font-size: 15px;
        }

        .subscribe-btn {
            font-size: 14px;
            width: 140px;
            line-height: 0px;
        }
    }

    /* 超小屏幕手机 (小于 375px) */
    @media (max-width: 374.98px) {
        .newsletter-title {
            font-size: 22px;
        }

        .logo-text {
            font-size: 26px;
            padding-right: 25px;
        }

        .butterfly-wrapper {
            width: 25px;
            height: 25px;
            right: -20px;
        }

        .email-input {
            padding: 12px 15px;
        }

        .subscribe-btn {
            padding: 12px 15px;
            width: 140px;
            line-height: 0px;
        }

        .subscribe-form input[type="email"] {
            padding: 12px 15px;
            font-size: 14px;
        }
        .subscribe-form button {
            padding: 12px 20px;
            font-size: 14px;
        }
    }


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

    /* 中等桌面 (1200px - 1700px) */
    @media (max-width: 1700px) {
        .footer-container {
            padding: 0 30px;
            gap: 40px;
        }

        .footer-links-container {
            gap: 30px;
        }

        .footer-bottom-container {
            padding: 0 30px;
        }
    }

    /* 标准桌面 (992px - 1199px) */
    @media (max-width: 1199.98px) {
        .footer-container {
            flex-direction: column;
            gap: 40px;
        }

        .footer-promo {
            max-width: 100%;
        }

        .footer-links-container {
            width: 100%;
            justify-content: flex-start;
        }

        .footer-column {
            min-width: 180px;
        }
    }

    /* 平板设备 (768px - 991px) */
    @media (max-width: 991.98px) {
        .footer-container {
            padding: 0 20px;
            gap: 30px;
        }

        .footer-promo {
            min-width: 100%;
        }

        .footer-links-container {
            justify-content: space-between;
            gap: 20px;
        }

        .footer-column {
            min-width: 150px;
        }

        .promo-title {
            font-size: 22px;
        }

        .promo-text {
            font-size: 15px;
        }

        .column-title {
            font-size: 16px;
        }

        .column-link {
            font-size: 15px;
        }

        .footer-bottom-container {
            padding: 0 20px;
        }
    }

    /* 小屏幕平板 (576px - 767px) */
    @media (max-width: 767.98px) {
        .site-footer {
            padding: 40px 0 0 0;
        }

        .footer-container {
            padding: 0 15px;
            gap: 30px;
        }

        .footer-links-container {
            flex-wrap: wrap;
        }

        .footer-column {
            flex: 0 0 calc(50% - 20px);
            min-width: auto;
            margin-bottom: 30px;
        }

        .footer-column.need-help {
            flex: 0 0 100%;
            margin-top: 10px;
        }

        .form-group {
            height: 52px;
        }

        .email-input {
            padding: 0 15px;
            font-size: 15px;
        }

        .subscribe-btn {
            padding: 0 20px;
            font-size: 15px;
            min-width: 130px;
        }

        .payment-methods {
            gap: 15px;
        }

        .payment-icon {
            width: 50px;
            height: 35px;
        }

        .footer-links {
            gap: 15px;
        }

        .footer-link {
            font-size: 13px;
        }

        .footer-bottom {
            padding: 20px 0;
            margin-top: 20px;
        }

        .footer-bottom-container {
            padding: 0 15px;
        }
    }

    /* 小屏幕手机 (小于 576px) */
    @media (max-width: 575.98px) {
        .site-footer {
            padding: 30px 0 0 0;
        }

        .footer-container {
            padding: 0 12px;
            gap: 25px;
        }

        .promo-title {
            font-size: 20px;
        }

        .promo-text {
            font-size: 14px;
            margin-bottom: 20px;
        }

        .subscribe-form {
            margin-bottom: 30px;
        }

        .form-group {
            flex-direction: column;
            height: auto;
            border-radius: 8px;
            overflow: hidden;
            background: #ffffff;
            padding: 10px;
        }

        .email-input {
            padding: 16px 15px;
            font-size: 15px;
            width: 100%;
            border-radius: 8px 8px 0 0;
            margin-top: 5px;
        }

        .subscribe-btn {
            padding: 16px 15px;
            font-size: 15px;
            min-width: auto;
            width: 100%;
            border-radius: 0 0 8px 8px;
        }

        .payment-methods {
            gap: 10px;
            justify-content: center;
        }

        .payment-icon {
            width: 45px;
            height: 30px;
            font-size: 10px;
        }

        .payment-icon.mastercard::after {
            font-size: 8px;
        }

        .payment-icon.paypal::after {
            font-size: 8px;
        }

        .payment-icon.apple-pay::after {
            font-size: 10px;
        }

        .footer-links {
            justify-content: center;
            text-align: center;
            gap: 12px;
        }

        .footer-link {
            font-size: 12px;
        }

        .footer-column {
            flex: 0 0 100%;
            text-align: center;
            margin-bottom: 25px;
        }

        .column-title {
            font-size: 16px;
            margin-bottom: 15px;
        }

        .column-links li {
            margin-bottom: 10px;
        }

        .column-link {
            font-size: 14px;
        }

        .social-icons {
            justify-content: center;
        }

        .social-icon {
            width: 35px;
            height: 35px;
            font-size: 16px;
        }

        .copyright {
            font-size: 12px;
        }
    }

    /* 超小屏幕手机 (小于 375px) */
    @media (max-width: 374.98px) {
        .promo-title {
            font-size: 18px;
        }

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

        .email-input {
            padding: 14px 12px;
            font-size: 14px;
        }

        .subscribe-btn {
            padding: 14px 12px;
            font-size: 14px;
        }

        .footer-link {
            font-size: 11px;
        }

        .column-title {
            font-size: 15px;
        }

        .column-link {
            font-size: 13px;
        }

        .social-icon {
            width: 30px;
            height: 30px;
            font-size: 14px;
        }
    }

}