/* =====================================================
        GULSHAN PUBLICATION
        BOOK PAGE
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Inter',sans-serif;
    background:#ffffff;
    color:#000;
    line-height:1.7;

}

img{

    width:100%;
    display:block;

}

a{

    text-decoration:none;

}

.container{

    width:90%;
    max-width:1350px;
    margin:auto;

}


/* ====================================
            HEADER
==================================== */

header{

    padding:30px 0;
    border-bottom:1px solid #ececec;

}

.back-btn{

    color:#000;
    font-size:16px;
    font-weight:600;
    transition:.3s;

}

.back-btn:hover{

    opacity:.6;

}


/* ====================================
        BOOK PAGE
==================================== */

.book-page{

    padding:80px 0;

}

.book-wrapper{

    display:grid;
    grid-template-columns:500px 1fr;
    gap:90px;
    align-items:center;

}


/* ====================================
        BOOK IMAGE
==================================== */

.book-image{

    background:#fafafa;
    border:1px solid #ececec;
    border-radius:20px;
    padding:40px;

}

.book-image img{

    transition:.4s;

}

.book-image:hover img{

    transform:scale(1.03);

}


/* ====================================
        CONTENT
==================================== */

.category{

    display:inline-block;

    background:#000;
    color:#fff;

    padding:8px 18px;

    border-radius:50px;

    font-size:14px;

    margin-bottom:20px;

}

.book-content h1{

    font-size:58px;
    margin-bottom:15px;
    line-height:1.2;

}

.rating{

    font-size:18px;
    margin-bottom:25px;

}

.rating span{

    color:#666;
    margin-left:10px;

}

.price{

    font-size:42px;
    margin-bottom:25px;

}

.short-description{

    color:#666;
    font-size:18px;
    max-width:650px;
    margin-bottom:40px;

}


/* ====================================
        FEATURES
==================================== */

.features{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;

    margin-bottom:45px;

}

.features div{

    background:#fafafa;

    border:1px solid #ececec;

    padding:18px;

    border-radius:14px;

    font-weight:500;

}


/* ====================================
        BUTTONS
==================================== */

.buttons{

    display:flex;
    gap:20px;
    flex-wrap:wrap;

}

.buy-btn{

    background:#000;
    color:#fff;

    padding:18px 42px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.buy-btn:hover{

    transform:translateY(-4px);

}

.secondary-btn{

    border:1px solid #000;

    color:#000;

    padding:18px 42px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.secondary-btn:hover{

    background:#000;
    color:#fff;

}


/* ====================================
        RESPONSIVE
==================================== */

@media(max-width:1000px){

.book-wrapper{

grid-template-columns:1fr;
gap:60px;

}

.book-image{

max-width:450px;
margin:auto;

}

.book-content{

text-align:center;

}

.features{

grid-template-columns:repeat(2,1fr);

}

}


@media(max-width:768px){

.book-content h1{

font-size:38px;

}

.price{

font-size:30px;

}

.features{

grid-template-columns:1fr;

}

.buttons{

flex-direction:column;

}

.buy-btn,
.secondary-btn{

text-align:center;

}

}


@media(max-width:500px){

.book-page{

padding:50px 0;

}

.book-image{

padding:25px;

}

.book-content h1{

font-size:30px;

}

.short-description{

font-size:16px;

}

}