/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', 'Hiragino Kaku Gothic ProN', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #ff6b6b;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #ff6b6b, #ff9e9e);
    border-radius: 10px;
    z-index: -1;
    transform: skewX(-20deg);
}

h3 {
    font-size: 1.8rem;
}

/* 链接样式 */
a {
    color: #4ecdc4;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: #45b7aa;
}

a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 0;
    background-color: #ffe66d;
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ffe66d;
    color: #292f36;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn:hover {
    background-color: #ffd166;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn:hover::before {
    left: 100%;
}

/* 卡片样式 */
.card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: #ffe66d;
    border-radius: 0 0 0 50px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* 导航栏样式 */
.header {
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
}

.logo i {
    color: #ff6b6b;
    margin-right: 10px;
    font-size: 2.5rem;
    animation: rotate 5s linear infinite;
}

.logo-text {
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-desktop li a {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.nav-desktop li a:hover {
    color: #ff6b6b;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* 英雄区域样式 */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #fff, #f5f5f5);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background-color: #ffe66d;
    border-radius: 50%;
    opacity: 0.2;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background-color: #ff6b6b;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-content {
    max-width: 50%;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ff6b6b;
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #666;
}

.hero-btn {
    font-size: 1.2rem;
    padding: 15px 30px;
}

.hero-image {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 产品展示区域样式 */
.products-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 产品分类标签样式 */
.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.category-btn {
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-btn:hover {
    background-color: #ffd166;
    border-color: #ffd166;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 209, 102, 0.4);
}

.category-btn.active {
    background-color: #06d6a0;
    border-color: #06d6a0;
    color: #fff;
    box-shadow: 0 5px 15px rgba(6, 214, 160, 0.4);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    text-align: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    margin-bottom: 20px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 15px;
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.product-image img:hover {
    transform: scale(1.1);
}

/* 产品徽章样式 */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ff6b6b;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: bold;
    z-index: 10;
    animation: bounce 2s infinite;
}

.product-badge.new {
    background-color: #06d6a0;
}

.product-badge.sale {
    background-color: #118ab2;
}

.product-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.product-description {
    color: #666;
    margin-bottom: 15px;
    height: 60px;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(255, 107, 107, 0.3);
}

/* 产品操作按钮 */
.product-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.product-actions .btn {
    flex: 1;
    max-width: 150px;
}

.add-to-cart {
    background-color: transparent;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
}

.add-to-cart:hover {
    background-color: #ff6b6b;
    color: white;
}

.center-button {
    text-align: center;
}

/* 产品详情模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 1200px;
    position: relative;
    animation: slideDown 0.4s ease;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-modal:hover {
    color: #ff6b6b;
    transform: rotate(90deg);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.product-detail-left {
    position: relative;
}

.detail-image-container {
    background-color: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    padding-top: 100%;
    position: relative;
    margin-bottom: 1rem;
}

.detail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: pulse 3s infinite;
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail-item {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    padding-top: 100%;
    position: relative;
}

.thumbnail-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-item:hover, .thumbnail-item.active {
    border-color: #06d6a0;
    transform: scale(1.05);
}

.product-detail-right {
    padding: 1rem;
}

.detail-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.detail-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b6b;
    margin: 1.5rem 0;
    text-shadow: 1px 1px 3px rgba(255, 107, 107, 0.3);
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    color: #ffd166;
    font-size: 1.25rem;
}

.detail-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.detail-features {
    margin-bottom: 2rem;
}

.detail-features h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.detail-features ul {
    list-style-type: none;
    padding: 0;
}

.detail-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.detail-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #06d6a0;
}

.detail-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.quantity-btn {
    background-color: #f8f9fa;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background-color: #e9ecef;
}

.quantity-input {
    width: 80px;
    padding: 0.75rem;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
}

.detail-actions .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.buy-now {
    background-color: #ff6b6b;
    color: white;
}

.buy-now:hover {
    background-color: #ff5252;
}

.detail-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e9ecef;
}

.detail-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-align: center;
}

.detail-info i {
    color: #06d6a0;
    font-size: 1.25rem;
}

/* 新动画定义 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 关于我们区域样式 */
.about-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background-color: #4ecdc4;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    z-index: 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 50%;
    position: relative;
    z-index: 1;
}

.about-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #666;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    color: #666;
}

.about-image {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 活动信息区域样式 */
.events-section {
    padding: 100px 0;
    background-color: #fff;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    gap: 30px;
    align-items: center;
}

.event-date {
    background-color: #ff6b6b;
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    min-width: 120px;
    font-weight: bold;
}

.event-day {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 1.2rem;
    margin-top: 5px;
}

.event-content {
    flex: 1;
}

.event-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.event-location {
    color: #666;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.event-location i {
    color: #ff6b6b;
    margin-right: 10px;
}

.event-description {
    color: #666;
}

/* 联系我们区域样式 */
.contact-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #ffe66d, #ffd166);
    opacity: 0.1;
    z-index: 0;
}

.contact-content {
    display: flex;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 1.5rem;
    color: #ff6b6b;
    background-color: #ffe6e6;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #ffe66d);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-logo i {
    color: #ff6b6b;
    margin-right: 10px;
    font-size: 2.5rem;
}

.footer-logo .logo-text {
    color: #fff;
}

.footer-description {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 15px;
}

.footer-nav a {
    color: #ccc;
    font-size: 1.1rem;
}

.footer-nav a:hover {
    color: #ff6b6b;
}

.footer-nav a::after {
    background-color: #ff6b6b;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #ff6b6b;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

/* 动画效果 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* 响应式设计 - 增强版 */

/* 移动优先基础样式 */
@media (max-width: 1400px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    /* 英雄区域响应式 */
    .hero {
        padding: 150px 0 100px;
    }
    
    .hero-image,
    .about-image {
        position: static;
        transform: none;
        max-width: 100%;
        margin-top: 30px;
    }
    
    .hero-content,
    .about-content {
        max-width: 100%;
    }
    
    .hero {
        text-align: center;
    }
    
    .about-section {
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* 产品展示响应式 */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
    
    /* 产品分类按钮响应式 */
    .product-categories {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    /* 导航响应式 */
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    #nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 9999;
    }
    
    #nav-menu.active {
        left: 0;
    }
    
    /* 联系我们区域响应式 */
    .contact-content {
        flex-direction: column;
    }
    
    /* 页脚响应式 */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    /* 产品详情模态框响应式 */
    .product-modal-content {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .modal-thumbnails {
        display: flex;
        flex-direction: row;
        gap: 15px;
        margin-top: 20px;
    }
    
    .modal-thumbnail {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    /* 通用文本响应式 */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    /* 英雄区域文本响应式 */
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    /* 活动信息响应式 */
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    /* 产品展示响应式 */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
    
    /* 按钮响应式 */
    .btn {
        padding: 12px 24px;
        font-size: 1.1rem;
    }
    
    /* 特色区块响应式 */
    .feature-items {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    /* 移动端优化 - 确保触摸区域足够大 */
    a, button {
        touch-action: manipulation;
    }
    
    /* 确保表单输入在移动设备上更容易使用 */
    input, textarea, select {
        font-size: 16px;
        /* 防止iOS缩放 */
    }
    
    /* 产品详情模态框按钮响应式 */
    .product-actions {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    /* 英雄区域进一步优化 */
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    /* 容器响应式 */
    .container {
        padding: 0 20px;
    }
    
    /* 按钮进一步响应式 */
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* 统计数字响应式 */
    .about-stats {
        gap: 15px;
        justify-content: center;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* 产品卡片响应式 */
    .product-card {
        padding: 20px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    /* 产品分类按钮响应式 */
    .category-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
    
    /* 页脚进一步响应式 */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* 产品详情模态框响应式 */
    .product-modal-content {
        padding: 20px;
    }
    
    .modal-thumbnails {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .modal-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    /* 购物车数量控制响应式 */
    .quantity-control {
        width: 120px;
    }
    
    /* 移动端导航优化 */
    .mobile-menu {
        padding: 40px 20px;
    }
    
    .mobile-menu a {
        font-size: 1.3rem;
        padding: 15px 0;
    }
    
    /* 确保联系表单在移动设备上更好用 */
    .form-group input,
    .form-group textarea {
        padding: 12px;
    }
}

@media (max-width: 375px) {
    /* 极小屏幕设备优化 */
    .hero-title {
        font-size: 1.8rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
    }
    
    .product-categories {
        justify-content: center;
    }
    
    .category-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}