/* =====================================================
   MUSKAAN BAKERS
   ALL CAKES PAGE
===================================================== */


/* ================= PAGE HERO ================= */

.cakes-page-hero {

    padding-top: 170px;
    padding-bottom: 85px;

    background:
        linear-gradient(135deg,
            #fffaf5 0%,
            #f8eee5 100%);

    text-align: center;

    border-bottom: 1px solid var(--border);

}


.cakes-page-hero .container {

    max-width: 800px;

}


.cakes-page-hero h1 {

    font-family: var(--heading-font);

    font-size: clamp(3rem,
            6vw,
            5rem);

    line-height: 1;

    color: var(--brown);

    margin-bottom: 20px;

}


.cakes-page-hero h1 span {

    display: inline;

}


.cakes-page-hero p:not(.eyebrow) {

    max-width: 600px;

    margin: auto;

    color: var(--muted);

    font-size: 1rem;

}


/* ================= ALL CAKES ================= */

.all-cakes-section {

    padding: 80px 0 110px;

    background: var(--white);

}


/* ================= SEARCH ================= */

.cake-search {

    display: flex;

    justify-content: center;

    margin-bottom: 25px;

}


.search-box {

    width: min(550px,
            100%);

    height: 54px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 0 18px;

    background: var(--cream);

    border: 1px solid var(--border);

    border-radius: 50px;

    transition: 0.3s ease;

}


.search-box:focus-within {

    border-color: var(--pink-dark);

    box-shadow:
        0 0 0 4px rgba(217, 139, 145, 0.10);

}


.search-box i {

    color: var(--pink-dark);

    font-size: 15px;

}


.search-box input {

    width: 100%;

    height: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--brown);

    font-family: var(--body-font);

    font-size: 0.85rem;

}


.search-box input::placeholder {

    color: var(--muted);

}


/* ================= CATEGORIES ================= */

.all-cake-categories {

    justify-content: center;

    margin-bottom: 25px;

}


/* ================= RESULT COUNT ================= */

.cake-result-info {

    margin-bottom: 25px;

}


.cake-result-info p {

    color: var(--muted);

    font-size: 0.78rem;

}


.cake-result-info strong {

    color: var(--brown);

}


/* ================= GRID ================= */

.all-cakes-grid {

    min-height: 200px;

}


/* ================= CARD ANIMATION ================= */

.all-cakes-grid .cake-card {

    animation:

        cakeCardAppear 0.4s ease both;

}


@keyframes cakeCardAppear {

    from {

        opacity: 0;

        transform:
            translateY(15px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* ================= NO RESULT ================= */

.no-search-result {

    display: none;

    padding: 80px 20px;

    text-align: center;

}


.no-search-result.show {

    display: block;

}


.no-result-icon {

    width: 70px;

    height: 70px;

    display: grid;

    place-items: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: var(--pink-light);

    color: var(--pink-dark);

    font-size: 25px;

}


.no-search-result h3 {

    font-family: var(--heading-font);

    font-size: 1.5rem;

    margin-bottom: 7px;

}


.no-search-result p {

    color: var(--muted);

    font-size: 0.85rem;

}


/* ================= CTA ================= */

.cakes-page-cta {

    margin-top: 0;

}


/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .cakes-page-hero {

        padding-top: 125px;

        padding-bottom: 60px;

    }


    .cakes-page-hero h1 {

        font-size: 3rem;

    }


    .all-cakes-section {

        padding-top: 55px;

        padding-bottom: 80px;

    }


    .cake-search {

        margin-bottom: 18px;

    }


    .search-box {

        height: 50px;

    }


    .all-cake-categories {

        justify-content: flex-start;

    }


    .cake-result-info {

        margin-top: 5px;

    }

}


@media (max-width: 480px) {

    .cakes-page-hero h1 {

        font-size: 2.65rem;

    }


    .cakes-page-hero p:not(.eyebrow) {

        font-size: 0.85rem;

    }

}