/* 响应式设计 */

/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .nav-list {
        gap: 25px;
    }

    .dropdown-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .dropdown-menu {
        min-width: 500px;
    }

    .collections-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 移动设备 (最大 768px) */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-item {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        display: block;
        padding: 15px 0;
    }

    .nav-item.has-dropdown .dropdown-menu {
        position: static;
        transform: none;
        display: block;
        min-width: 100%;
        margin: 0;
        border: none;
        border-top: 1px solid var(--border-color);
        box-shadow: none;
    }

    .dropdown-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* 小屏移动设备 (最大 480px) */
@media (max-width: 480px) {
    .top-banner {
        font-size: 12px;
        padding: 10px 0;
    }

    .nav-wrapper {
        padding: 15px 0;
    }

    .logo a {
        font-size: 18px;
    }
    
    .logo a span {
        font-size: 0.6em;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-code {
        font-size: 14px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 14px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .top-collections,
    .top-products,
    .testimonials,
    .brand-story,
    .features,
    .newsletter {
        padding: 60px 0;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 250px;
    }

    .collection-card img {
        height: 150px;
    }

    .testimonials-header h2 {
        font-size: 22px;
    }

    .testimonials-header h3 {
        font-size: 18px;
    }

    .brand-story h2 {
        font-size: 28px;
    }

    .brand-story p {
        font-size: 16px;
    }

    .newsletter h2 {
        font-size: 24px;
    }

    .newsletter p {
        font-size: 16px;
    }
}

/* 超小屏设备 */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .nav-actions {
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 18px;
    }
}


