*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#eef5e6;
    color:#333;
}

.header{
    background:#d5edb3;
    text-align:center;
    padding:20px;
    position:relative;
}

.header img{
    height:60px;
}

.header h1{
    color:#2d5a27;
    margin-top:10px;
    font-size:34px;
}

.header p{
    color:#555;
    font-size:18px;
}

.date{
    background:#5c743d;
    color:#fff;
    text-align:center;
    padding:8px;
    font-weight:bold;
}

.container{
    width:1100px;
    max-width:95%;
    margin:25px auto;
    background:#fff;
    border-radius:8px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    overflow:hidden;
}

.book{
    display:flex;
    flex-wrap:wrap;
    padding:30px;
    gap:40px;
    align-items:flex-start;
}

.book-image{
    flex:1;
    min-width:50px;
    text-align:left;
}

.book-image img{
    width:200px;
    max-width:100%;
    border-radius:8px;
    box-shadow:0 4px 15px rgba(0,0,0,.3);
    transition:.3s;
}

.book-image img:hover{
    transform:scale(1.03);
}

.book-details{
    flex:2;
}

.book-details h2{
    color:#0066cc;
    font-size:32px;
}

.book-details h3{
    color:#0088cc;
    margin:8px 0 20px;
    font-weight:normal;
}

.author{
    color:#cc0000;
    font-size:20px;
    margin-bottom:20px;
}

.publish{
    font-size:18px;
    margin-top:20px;
}

.publisher{
    background:#f8f8f8;
    padding:12px 18px;
    margin-top:20px;
    border-top:1px solid #ddd;
    font-size:14px;
    line-height:1.5;
}

.publisher h4{
    color:#128623;
    margin:0 0 8px;
    font-size:18px;
}

.publisher p{
    margin:4px 0;
}

.publisher a{
    color:#0066cc;
    text-decoration:none;
}

.publisher a:hover{
    text-decoration:underline;
}

.footer{
    background:#5c743d;
    color:white;
    text-align:center;
    padding:15px;
}

.book-card{
    margin:25px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,.1);
}

@media(max-width:768px){

.book{
    flex-direction:column;
    text-align:center;
}

.book-details{
    text-align:center;
}

}

.price{
    font-size:22px;
    color:#128623;
    font-weight:bold;
    margin:15px 0;
}

.buttons{
    margin-top:20px;
}

.cart-btn,
.buy-btn{
    display:inline-block;
    padding:12px 24px;
    text-decoration:none;
    color:#fff;
    border-radius:5px;
    margin-right:10px;
    font-weight:bold;
}

.cart-btn{
    background:#ff9800;
}

.buy-btn{
    background:#28a745;
}

.cart-btn:hover{
    background:#f57c00;
}

.buy-btn:hover{
    background:#1e7e34;
}
.cart-icon{
    position:absolute;
    top:100px;
    right:30px;
    background:#ff9800;
    color:white;
    padding:10px 18px;
    border-radius:30px;
    text-decoration:none;
    font-weight:bold;
}
.table{
    width:100%;
    border-collapse:collapse;
    margin:20px 0;
    background:#fff;
}

.table th{
    background:#5c743d;
    color:#fff;
    padding:12px;
}

.table td{
    padding:12px;
    border:1px solid #ddd;
    text-align:center;
}

.table img{
    border-radius:5px;
}

.table tr:hover{
    background:#f8f8f8;
}