
/* =================================
   GROWTHBYRONAK - SHOP PAGE CSS
================================= */


/* Shop Page Heading */
.shop-heading {
    text-align: center;
    padding: 80px 20px 40px;
}

/* Main Heading */
.shop-heading h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Heading Description */
.shop-heading p {
    color: #aab5c8;
    font-size: 16px;
}


/* =================================
   SEARCH AND CATEGORY FILTER
================================= */

/* Search and Filter Container */
.shop-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 8%;
}

/* Input and Dropdown Design */
.shop-controls input,
.shop-controls select {
    padding: 14px;
    background: #111c30;
    color: white;
    border: 1px solid #263550;
    border-radius: 7px;
    outline: none;
    font-size: 14px;
}

/* Search Input Width */
.shop-controls input {
    width: 350px;
}

/* Dropdown Width */
.shop-controls select {
    width: 150px;
    cursor: pointer;
}


/* =================================
   BOOKS DISPLAY SECTION
================================= */

/* Main Books Container */
.shop-books {
    padding: 40px 8% 80px;
    min-height: 300px;
}

/* Books Grid Layout */
.shop-books .books-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* =================================
   INDIVIDUAL BOOK CARD
================================= */

/* Book Card Design */
.shop-books .book-card {
    background: #111c30;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #263550;
    transition: 0.3s;
}

/* Book Card Hover Effect */
.shop-books .book-card:hover {
    transform: translateY(-8px);
    border-color: #4385ff;
}


/* =================================
   BOOK COVER DESIGN
================================= */

/* Common Book Cover */
.shop-books .book-cover {
    height: 230px;
    border-radius: 8px;
    margin-bottom: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Blue Cover */
.shop-books .cover-one {
    background: linear-gradient(135deg, #163d77, #4385ff);
}

/* Purple Cover */
.shop-books .cover-two {
    background: linear-gradient(135deg, #40256f, #9161dc);
}

/* Green Cover */
.shop-books .cover-three {
    background: linear-gradient(135deg, #145c54, #36a88b);
}

/* Cover Title */
.shop-books .book-cover h3 {
    color: white;
    font-size: 25px;
    text-align: center;
}


/* =================================
   BOOK INFORMATION
================================= */

/* Book Title */
.shop-books .book-card h3 {
    margin-bottom: 12px;
}

/* Book Description */
.shop-books .book-card p {
    color: #aab5c8;
    margin-bottom: 15px;
}

/* Book Price */
.shop-books .book-card h4 {
    color: #65a0ff;
    font-size: 22px;
    margin-bottom: 15px;
}


/* =================================
   NO RESULTS MESSAGE
================================= */

/* Hide Message When Books Are Available */
#noResults {
    display: none;
    text-align: center;
    color: #aab5c8;
    font-size: 20px;
    padding: 40px;
}


/* =================================
   MOBILE RESPONSIVE DESIGN
================================= */

@media (max-width: 768px) {

    /* Search and Filter Vertical Layout */
    .shop-controls {
        flex-direction: column;
    }

    /* Full Width Search */
    .shop-controls input,
    .shop-controls select {
        width: 100%;
    }

    /* One Book Per Row */
    .shop-books .books-container {
        grid-template-columns: 1fr;
    }

    /* Smaller Heading */
    .shop-heading h1 {
        font-size: 30px;
    }

}
