/* =====================  TABLET  (max-width: 992px)  ===================== */
@media(max-width: 992px) {

    .featured-wrap {
        padding: 40px 40px;
    }

    .featured-layout {
        gap: 25px;
    }

    /* Grid 3 → 2 columns */
    .design-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero section smaller text */
    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .search-bar-box {
        max-width: 600px;
    }
}


/* =====================  MOBILE  (max-width: 768px)  ===================== */
@media(max-width: 768px) {

    /* Navbar stack */
    .navbar {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .nav-links,
    .search-box {
        display: none; /* simple mobile version */
    }

    /* Hero section */
    .hero {
        height: 70vh;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .search-bar-box {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .search-bar-box select,
    .search-bar-box input,
    .search-btn {
        width: 100%;
    }

    /* Filters side → top collapsible style */
    .featured-layout {
        flex-direction: column;
    }

    .filter-panel {
        width: 100%;
        position: relative;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding-bottom: 15px;
        top: 0;
    }

    .filter-scroll {
        max-height: 250px;
    }

    /* Grid 2 → 1 column */
    .design-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================  VERY SMALL PHONES  (max-width: 480px)  ===================== */
@media(max-width: 480px) {

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .design-card h4 {
        font-size: 16px;
    }

    .price {
        font-size: 15px;
    }
}
