/* .book-detail{
padding:50px;
}

.book-wrapper{

display:flex;
gap:50px;
flex-wrap:wrap;
justify-content:center;

}

.book-image img{

width:300px;
height:400px;
object-fit:cover;

}

.book-info{

max-width:500px;

}

.author{

margin:10px 0;
}

.price{

color:#ff2407;
font-size:25px;
font-weight:bold;

}

.desc{

margin-top:15px;
color:#444;

}

.buttons{

margin-top:20px;
display:flex;
gap:15px;

}

.buttons button{

background:#FFC107;
border:none;
padding:10px 15px;
font-weight:bold;
cursor:pointer;

}

.buy{

background:black;
color:white;

}

.buttons button:hover{

opacity:.8;

}


/* RELATED */

/*.related-title{

text-align:center;
margin-top:60px;

}

.related{

display:flex;
justify-content:center;
gap:30px;
flex-wrap:wrap;
margin-top:20px;

}

.related img{

width:150px;
height:200px;
object-fit:cover;

}


.original-price {
    text-decoration: line-through;
    color: gray;
    font-size: 16px;
}

.discount-price {
    color: #e60000;
    font-size: 20px;
    font-weight: bold;
} */

/* MAIN CONTAINER */
.book-detail {
    padding: 80px 120px;
    background: linear-gradient(to bottom, #f9fafc, #f1f3f6);
}

/* WRAPPER */
.book-wrapper {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
    justify-content: center;
    background: #ffffff;
    padding: 60px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* IMAGE AREA */
.book-image {
    position: relative;
    background: #f4eef6;
    padding: 40px;
    border-radius: 16px;
}

.book-image img {
    width: 320px;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    transition: 0.4s ease;
}

.book-image img:hover {
    transform: scale(1.05);
}

/* SALE RIBBON */
.sale-ribbon {
    position: absolute;
    top: 20px;
    left: -15px;
    background: #e60023;
    color: white;
    padding: 8px 18px;
    font-weight: bold;
    font-size: 14px;
    transform: rotate(-10deg);
    border-radius: 4px;
}

/* INFO SECTION */
.book-info {
    max-width: 600px;
}

.book-info h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.author {
    color: #666;
    margin-bottom: 20px;
}

/* PRICE */
.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 18px;
}

.discount-price {
    font-size: 34px;
    font-weight: 700;
    color: #c1121f;
    margin: 8px 0;
}

.off {
    background: #e6f4ea;
    color: #1a7f37;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

/* DESCRIPTION */
.desc {
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    background: #f8f9fb;
    padding: 25px;
    border-radius: 12px;
}

/* BUTTONS */
.buttons {
    margin-top: 35px;
    display: flex;
    gap: 25px;
}

.buttons button {
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.buttons button:first-child {
    background: #FFC107;
}

.buy {
    background: #111;
    color: white;
}

.buttons button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* RELATED SECTION */
.related-title {
    text-align: center;
    margin-top: 100px;
    font-size: 28px;
}

.related {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 30px 0;
    scroll-behavior: smooth;
}

.related::-webkit-scrollbar {
    display: none;
}

.related-card {
    flex: 0 0 220px;
}
.related-card {
    min-width: 220px;
    background: white;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.related-card:hover {
    transform: translateY(-8px);
}

.related img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.related-card button {
    margin-top: 15px;
    padding: 10px 18px;
    background: #FFC107;
    border: none;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

.desc h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

.desc p {
    background: #f8f9fb;
    padding: 20px;
    border-radius: 10px;
}


.related-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.related-card {
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}