        /* =========================================
           GLOBAL
        ========================================= */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: #faf9f5;
            color: #073b36;
            font-family: "DM Sans", sans-serif;
        }

        .books-section {
            width: 100%;
            padding: 70px 5%;
        }

        .books-container {
            width: 100%;
            max-width: 1450px;
            margin: auto;
        }


        /* =========================================
           SECTION HEADER
        ========================================= */

        .books-heading {
            text-align: center;
            margin-bottom: 45px;
        }

        .books-heading .small-title {
            color: #e88b00;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .books-heading h2 {
            font-family: "Playfair Display", serif;
            font-size: 42px;
            line-height: 1.15;
            color: #063b36;
        }


        /* =========================================
           BOOK GRID
        ========================================= */

        .books-grid {
            display: grid;

            /* Desktop = 4 books */
            grid-template-columns: repeat(5, minmax(0, 1fr));

            gap: 34px;
        }


        /* =========================================
           BOOK CARD
        ========================================= */

        .book-card {
            min-width: 0;
			cursor: pointer;
        }


        /* =========================================
           BOOK COVER
        ========================================= */

        .book-cover {
            position: relative;

            width: 100%;

            /* Portrait book ratio */
            aspect-ratio: 0.70 / 1;

            overflow: hidden;

            background: #16483e;

            box-shadow:
                0 15px 30px rgba(0, 0, 0, 0.12);

            transition:
                transform 0.35s ease,
                box-shadow 0.35s ease;
        }


        .book-card:hover .book-cover {
            transform: translateY(-8px);

            box-shadow:
                0 25px 45px rgba(0, 0, 0, 0.18);
        }


        /* Orange left border like reference */

        .book-cover::before {
            content: "";

            position: absolute;

            left: 0;
            top: 0;
            bottom: 0;

            width: 5px;

            background: #f28c00;

            z-index: 5;
        }


        /* =========================================
           COVER BACKGROUND
        ========================================= */

        .cover-bg {
            position: absolute;

            inset: 0;

            background:
                radial-gradient(
                    circle at 85% 10%,
                    rgba(239, 137, 0, 0.95),
                    rgba(239, 137, 0, 0.35) 20%,
                    transparent 45%
                ),
                linear-gradient(
                    145deg,
                    #245548,
                    #07362e 75%
                );
        }


        /* Different cover colors */

        .book-card:nth-child(2) .cover-bg {
            background:
                radial-gradient(
                    circle at 90% 10%,
                    rgba(225, 157, 74, 0.8),
                    transparent 42%
                ),
                linear-gradient(
                    145deg,
                    #a95b24,
                    #713719
                );
        }


        .book-card:nth-child(3) .cover-bg {
            background:
                radial-gradient(
                    circle at 90% 10%,
                    rgba(215, 177, 100, 0.8),
                    transparent 42%
                ),
                linear-gradient(
                    145deg,
                    #786946,
                    #48402f
                );
        }


        .book-card:nth-child(4) .cover-bg {
            background:
                radial-gradient(
                    circle at 90% 10%,
                    rgba(219, 143, 38, 0.85),
                    transparent 42%
                ),
                linear-gradient(
                    145deg,
                    #6a3c27,
                    #35251e
                );
        }


        /* =========================================
           DECORATIVE CIRCLE
        ========================================= */

        .cover-circle {
            position: absolute;

            width: 170px;
            height: 170px;

            right: -55px;
            top: -50px;

            border: 1px solid rgba(255, 255, 255, 0.25);

            border-radius: 50%;
        }


        .cover-circle::after {
            content: "";

            position: absolute;

            width: 125px;
            height: 125px;

            right: 20px;
            top: 20px;

            border: 1px solid rgba(255, 255, 255, 0.12);

            border-radius: 50%;
        }


        /* =========================================
           COVER CONTENT
        ========================================= */

        .cover-content {
            position: relative;

            z-index: 2;

            height: 100%;

            padding: 38px 30px 28px;

            display: flex;
            flex-direction: column;
        }


        /* Brand */

        .book-brand {
            color: white;

            font-size: 14px;

            font-weight: 700;

            letter-spacing: 5px;

            text-transform: uppercase;
        }


        .book-type {
            display: inline-block;

            width: fit-content;

            margin-top: 95px;

            padding: 9px 13px;

            border: 1px solid rgba(255, 255, 255, 0.45);

            color: white;

            font-size: 9px;

            font-weight: 700;

            letter-spacing: 2px;

            text-transform: uppercase;
        }


        .book-cover h3 {
            color: white;

            font-family: "Playfair Display", serif;

            font-size: clamp(22px, 2vw, 31px);

            line-height: 1.15;

            margin-top: 25px;

            max-width: 90%;
        }


        /* Orange separator */

        .cover-line {
            width: 60px;

            height: 2px;

            background: #f28c00;

            margin-top: 25px;
        }


        .cover-description {
            color: rgba(255, 255, 255, 0.8);

            font-size: 10px;

            letter-spacing: 1px;

            margin-top: 17px;
        }


        /* Author at bottom */

        .cover-author {
            margin-top: auto;

            padding-top: 20px;

            border-top: 1px solid rgba(255, 255, 255, 0.2);

            color: white;

            font-size: 10px;

            font-weight: 700;

            letter-spacing: 2px;

            text-transform: uppercase;
        }


        /* =========================================
           BOOK INFORMATION
        ========================================= */

        .book-info {
            padding: 25px 5px 0;
        }


        .book-category {
            color: #e98300;

            font-size: 10px;

            font-weight: 600;

            letter-spacing: 2px;

            margin-bottom: 8px;
        }


        .book-info h4 {
            color: #063b36;

            font-family: "Playfair Display", serif;

            font-size: 21px;

            line-height: 1.25;

            margin-bottom: 12px;
        }


        .book-author {
            color: #555;

            font-size: 13px;

            margin-bottom: 8px;
        }


        .book-author strong {
            color: #222;
        }


        .book-isbn {
            color: #999;

            font-size: 12px;

            margin-bottom: 25px;
        }


        /* =========================================
           VIEW DETAILS
        ========================================= */

        .book-link {
            display: inline-flex;

            align-items: center;

            gap: 14px;

            padding-bottom: 10px;

            border-bottom: 1px solid #c9c9c9;

            color: #073b36;

            text-decoration: none;

            font-size: 12px;

            font-weight: 700;

            transition: gap 0.25s ease;
        }


        .book-link span {
            font-size: 20px;

            font-weight: 400;

            line-height: 10px;
        }


        .book-link:hover {
            gap: 20px;
        }


        /* =========================================
           TABLET
           3 BOOKS
        ========================================= */

        @media (max-width: 1199px) {

            .books-section {
                padding: 60px 4%;
            }

            .books-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));

                gap: 28px;
            }

            .cover-content {
                padding: 30px 24px 24px;
            }

            .book-type {
                margin-top: 75px;
            }

            .book-cover h3 {
                font-size: 25px;
            }

        }


        /* =========================================
           MOBILE
           2 BOOKS
        ========================================= */

        @media (max-width: 767px) {

            .books-section {
                padding: 50px 20px;
            }

            .books-heading {
                margin-bottom: 35px;
            }

            .books-heading h2 {
                font-size: 32px;
            }

            .books-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));

                gap: 30px 18px;
            }

            .cover-content {
                padding: 25px 20px 20px;
            }

            .book-brand {
                font-size: 11px;
                letter-spacing: 3px;
            }

            .book-type {
                margin-top: 55px;

                padding: 7px 9px;

                font-size: 7px;

                letter-spacing: 1.5px;
            }

            .book-cover h3 {
                font-size: 21px;

                margin-top: 18px;
            }

            .cover-line {
                margin-top: 18px;

                width: 45px;
            }

            .cover-description {
                font-size: 8px;
            }

            .book-info {
                padding-top: 18px;
            }

            .book-info h4 {
                font-size: 18px;
            }

            .book-isbn {
                margin-bottom: 18px;
            }

        }


        /* =========================================
           SMALL MOBILE
           1 BOOK
        ========================================= */

        @media (max-width: 479px) {

            .books-section {
                padding: 40px 18px;
            }

            .books-heading h2 {
                font-size: 28px;
            }

            .books-grid {
                grid-template-columns: 1fr;

                gap: 45px;
            }

            .book-cover {
                aspect-ratio: 0.70 / 1;
            }

            .cover-content {
                padding: 35px 30px 28px;
            }

            .book-brand {
                font-size: 13px;
                letter-spacing: 4px;
            }

            .book-type {
                margin-top: 90px;

                font-size: 9px;

                padding: 9px 12px;
            }

            .book-cover h3 {
                font-size: 29px;
            }

            .cover-description {
                font-size: 10px;
            }

            .book-info h4 {
                font-size: 22px;
            }

        }
		
/* =========================================
   BOOK MODAL
========================================= */

.book-modal {
    position: fixed;
    inset: 0;

    background: rgba(4, 25, 22, 0.78);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    backdrop-filter: blur(6px);
}


/* Modal Open */

.book-modal.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   MODAL BOX
========================================= */

.book-modal-content {
    position: relative;

    width: 100%;
    max-width: 850px;

    max-height: 90vh;

    overflow-y: auto;

    background: #faf9f5;

    display: grid;

    grid-template-columns: 320px 1fr;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);

    transform: translateY(30px) scale(0.97);

    transition: transform 0.3s ease;
}


.book-modal.active .book-modal-content {
    transform: translateY(0) scale(1);
}


/* =========================================
   MODAL COVER
========================================= */

.modal-book-cover {
    min-height: 480px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(239, 137, 0, 0.9),
            transparent 40%
        ),
        linear-gradient(
            145deg,
            #245548,
            #07362e
        );
}


/* Orange left line */

.modal-book-cover::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 5px;

    background: #f28c00;
}


.modal-cover-content {
    position: relative;

    height: 100%;

    padding: 40px 30px;

    display: flex;

    flex-direction: column;

    color: white;
}


.modal-brand {
    font-size: 14px;

    font-weight: 700;

    letter-spacing: 5px;
}


.modal-category {
    margin-top: 100px;

    width: fit-content;

    padding: 8px 12px;

    border: 1px solid rgba(255,255,255,0.45);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.modal-cover-content h3 {
    font-family: "Playfair Display", serif;

    font-size: 30px;

    line-height: 1.15;

    margin-top: 22px;
}


.modal-cover-line {
    width: 60px;

    height: 2px;

    background: #f28c00;

    margin-top: 25px;
}


.modal-cover-author {
    margin-top: auto;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.2);

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================
   MODAL DETAILS
========================================= */

.modal-book-details {
    padding: 55px 50px;
}


.modal-book-details .modal-small-title {
    color: #e98300;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 12px;
}


.modal-book-details h2 {
    color: #063b36;

    font-family: "Playfair Display", serif;

    font-size: 38px;

    line-height: 1.15;

    margin-bottom: 25px;
}


.modal-book-meta {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

    padding: 20px 0;

    border-top: 1px solid #ddd;

    border-bottom: 1px solid #ddd;

    margin-bottom: 25px;
}


.modal-meta-item span {
    display: block;

    color: #999;

    font-size: 10px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    margin-bottom: 5px;
}


.modal-meta-item strong {
    color: #073b36;

    font-size: 14px;
}


.modal-description {
    color: #555;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 25px;
}


/* =========================================
   CLOSE BUTTON
========================================= */

.book-modal-close {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 40px;
    height: 40px;

    border: none;

    border-radius: 50%;

    background: #073b36;

    color: white;

    font-size: 25px;

    line-height: 40px;

    cursor: pointer;

    z-index: 20;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.book-modal-close:hover {
    background: #e98300;

    transform: rotate(90deg);
}


/* =========================================
   MODAL RESPONSIVE
========================================= */

@media (max-width: 767px) {

    .book-modal {
        padding: 15px;
    }

    .book-modal-content {
        max-height: 92vh;

        grid-template-columns: 1fr;
    }

    .modal-book-cover {
        min-height: 250px;
    }

    .modal-cover-content {
        padding: 30px 25px;
    }

    .modal-category {
        margin-top: 55px;
    }

    .modal-cover-content h3 {
        font-size: 26px;
    }

    .modal-book-details {
        padding: 30px 25px 35px;
    }

    .modal-book-details h2 {
        font-size: 29px;
    }

}


@media (max-width: 479px) {

    .book-modal {
        padding: 10px;
    }

    .modal-book-cover {
        min-height: 280px;
    }

    .modal-cover-content {
        padding: 25px 20px;
    }

    .modal-brand {
        font-size: 11px;
    }

    .modal-category {
        margin-top: 45px;
    }

    .modal-cover-content h3 {
        font-size: 23px;
    }

    .modal-book-details {
        padding: 25px 20px 30px;
    }

    .modal-book-details h2 {
        font-size: 25px;
    }

    .modal-book-meta {
        grid-template-columns: 1fr;
    }

}

/* =========================================
   MODAL ACTIONS
========================================= */

.modal-actions {
    margin-top: 30px;
}


/* Share Button */

.share-book-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 22px;

    border: 1px solid #073b36;

    background: #073b36;

    color: #fff;

    font-family: "DM Sans", sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.3px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.share-book-btn:hover {
    background: #e98300;

    border-color: #e98300;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);
}


.share-icon {
    font-size: 18px;

    line-height: 1;

    font-weight: 400;
}


/* Mobile */

@media (max-width: 479px) {

    .share-book-btn {
        width: 100%;

        padding: 14px 20px;
    }

}