@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .designers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header-main .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-box {
        max-width: 100%;
        width: 100%;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .nav-list {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .style-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .designers-grid {
        grid-template-columns: 1fr;
    }
    
    .health-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .header-top {
        display: none;
    }
    
    .header-main {
        padding: 15px 0;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .nav-menu {
        overflow-x: auto;
    }
    
    .nav-list {
        min-width: 600px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .category-name {
        font-size: 12px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .style-grid {
        grid-template-columns: 1fr;
    }
    
    .style-card {
        height: 250px;
    }
    
    .health-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter h2 {
        font-size: 28px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .filter-options {
        width: 100%;
    }
    
    .filter-option {
        padding: 5px 10px;
        font-size: 13px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        overflow-x: auto;
    }
    
    .tab {
        padding: 10px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .spec-list {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        font-size: 14px;
    }
    
    .stepper {
        flex-direction: column;
        gap: 20px;
    }
    
    .stepper::before {
        display: none;
    }
    
    .step {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }
    
    .step-number {
        margin: 0;
        flex-shrink: 0;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .counter {
        gap: 8px;
    }
    
    .counter-btn {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .counter-value {
        min-width: 30px;
        font-size: 14px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .header-action {
        font-size: 11px;
    }
    
    .header-action i {
        font-size: 20px;
    }
    
    .nav-list {
        min-width: 500px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .price-current {
        font-size: 20px;
    }
    
    .price-original {
        font-size: 12px;
    }
    
    .style-card {
        height: 200px;
    }
    
    .style-card-title {
        font-size: 20px;
    }
    
    .designer-avatar {
        width: 80px;
        height: 80px;
    }
    
    .designer-name {
        font-size: 18px;
    }
    
    .health-image {
        height: 150px;
    }
    
    .health-title {
        font-size: 16px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .brand-item {
        padding: 20px;
    }
    
    .newsletter {
        padding: 40px 0;
    }
    
    .newsletter h2 {
        font-size: 24px;
    }
    
    .newsletter p {
        font-size: 14px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .breadcrumb {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-footer {
        padding: 15px;
        flex-direction: column;
    }
    
    .modal-footer button {
        width: 100%;
    }
    
    .stat-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-info h3 {
        font-size: 24px;
    }
    
    .list-group-item {
        padding: 12px 15px;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .feature-list {
        gap: 10px;
    }
    
    .help-card {
        padding: 20px;
    }
    
    .help-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .help-title {
        font-size: 18px;
    }
    
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 400px) {
    .header-action span {
        display: none;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .hero h1 {
        font-size: 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .style-card {
        height: 180px;
    }
    
    .designer-avatar {
        width: 60px;
        height: 60px;
    }
    
    .health-image {
        height: 120px;
    }
    
    .newsletter h2 {
        font-size: 20px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-header p {
        font-size: 14px;
    }
}

@media print {
    .header,
    .footer,
    .nav-menu,
    .hero-buttons,
    .product-actions,
    .quick-view,
    .scroll-to-top,
    .cookie-banner {
        display: none !important;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
    }
    
    .product-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .product-image img {
        transform: none;
    }
    
    .footer-grid {
        display: block;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #1a1a1a;
        --text-color: #e0e0e0;
        --text-light: #b0b0b0;
        --border-color: #404040;
    }
    
    body {
        background-color: var(--background-color);
        color: var(--text-color);
    }
    
    .header,
    .card,
    .list-group,
    .price-table,
    .comparison-table {
        background-color: #2a2a2a;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        background-color: #2a2a2a;
        border-color: var(--border-color);
        color: var(--text-color);
    }
}
