/* Book Detail Page Styles */

.book-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.book-cover-large {
    max-width: 250px;
    border-radius: 8px;
}

.book-meta {
    flex: 1;
}

.book-meta p {
    margin: 6px 0;
}

.purchase-button {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    background-color: #003366;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.purchase-button:hover {
    background-color: #0055aa;
}

.book-description {
    margin-top: 40px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    width: 400px;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
}

.lightbox:target {
    display: flex;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 600px) {
    .lightbox img {
        width: 250px;
        height: 375px;
    }
}