/* ============================================================
   Multi-image detail page layout
   For pages that display multiple images per artwork
   ============================================================ */


/* ===== PAGE CONTAINER ===== */
.artwork-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0 40px 0;
}


/* ===== ARTWORK TITLE ===== */
.artwork-title {
    text-align: center;
    font-family: Garamond, "Times New Roman", Times, serif;
    font-size: 36px;
    font-weight: bold;
    color: #cc3300;
    margin-bottom: 20px;
    letter-spacing: 1px;
}


/* ===== ARTWORK DETAILS (description, comment, price, status) ===== */
.artwork-details {
    text-align: center;
    font-family: Garamond, "Times New Roman", Times, serif;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 30px;
}

.artwork-details p {
    margin-bottom: 12px;
}

.artwork-details .description {
    /* font-size: 20px; */
    margin-bottom: 48px;  /* Extra space after description */    
    margin-left: 240px;
    max-width: 420px;     /* I added this */
    text-align: left;     /* I added this */
}

.artwork-details .comment {
    /* font-style: italic; */
    /* color: #ffffff; */
    font-size: 18px;
    margin-bottom: 12px;
    margin-top: 12px;     /* Extra space before comment */
    margin-left: 240px;
    text-align: left;     /* I added this */
    max-width: 420px;     /* I added this */

}

.artwork-details.bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #333333;
}

/* ===== STATUS BADGES ===== */
.artwork-status {
    display: inline-block;
    padding: 4px 14px;
    font-family: Garamond, "Times New Roman", Times, serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 2px;
    margin-top: 10px;
}

.artwork-status.sold {
    background-color: #cc3300;
    color: #ffffff;
}

.artwork-status.nfs {
    background-color: #666666;
    color: #ffffff;
}


/* ===== NAVIGATION (Prev/Next arrows) ===== */
.artwork-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.artwork-nav.bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333333;
}

.artwork-nav-arrow {
    display: inline-block;
}

.artwork-nav-arrow img {
    display: block;
    width: 40px;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.artwork-nav-arrow img:hover {
    transform: scale(1.15);
    opacity: 1.0;
}

.artwork-nav-arrow a.disabled img {
    opacity: 0.4;
    cursor: default;
}

.artwork-nav-arrow a.disabled img:hover {
    transform: none;
}


/* ===== DETAIL IMAGES ===== */
.detail-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
    align-items: start;   /* Prevents stretching — each item keeps its own height */
}

.detail-image-block {
    text-align: center;
}

.detail-image-block img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border: 1px solid #333333;
    border-radius: 2px;
    background-color: #000000;
}

/* Vertical images: limit height so they don't dominate the page */
.detail-image-block img.vertical {
    height: 500px; /* max-height: 700px; */
    width: auto;
    max-width: 100%;
}


/* ===== IMAGE CAPTIONS ===== */
.image-caption {
    margin-top: 6px; /*12px */
    font-family: Garamond, "Times New Roman", Times, serif;
    font-size: 18px;
    color: #ffffff;
    /* font-style: italic; */
    line-height: 1.2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


/* ===== LOADING / ERROR STATES ===== */
.loading {
    text-align: center;
    font-family: Garamond, "Times New Roman", Times, serif;
    font-size: 18px;
    color: #888888;
    padding: 40px 0;
}

.error {
    text-align: center;
    font-family: Garamond, "Times New Roman", Times, serif;
    font-size: 18px;
    color: #cc3300;
    padding: 40px 0;
}