/* Tablet Styles - E-commerce App */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }

    /* Header adjustments */
    .header-main {
        flex-wrap: wrap;
        gap: 20px;
    }

    .search-bar {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
    }

    .logo {
        font-size: 22px;
    }

    .logo i {
        font-size: 28px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 18px;
    }

    /* Section Title */
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    /* Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .category-card h3 {
        font-size: 18px;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Deals Grid */
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deals-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Navigation */
    .nav-list {
        gap: 30px;
    }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 350px;
    }
}

@media screen and (max-width: 1024px) {
    /* Adjustments for smaller tablets and landscape phones */
    section {
        padding: 50px 0;
    }

    .header-top {
        font-size: 13px;
    }

    .header-contact span {
        margin-right: 15px;
    }

    .header-links a {
        margin-left: 15px;
    }
}

