.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: #fff;
    z-index: 9999;
}

.lightbox-container {
    position: relative;
    max-width: 99%;
    max-height: 99%;
    /* background: #111; */
    /* padding: 1rem; */
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* max-height: 70vh; */
    overflow: hidden;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    user-select: none;
    will-change: transform;
    transition: transform .15s ease-out;
}

.lightbox-close {
    position: absolute;
    top: .5rem;
    right: .75rem;
    font-size: 2rem;
    cursor: pointer;
    color: #000;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* background: rgba(0, 0, 0, 0.4); */
    color: #000;
    border: none;
    font-size: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
}

.lightbox-prev {
    left: .5rem;
}

.lightbox-next {
    right: .5rem;
}


.lightbox-caption-bar {
    display: inline-block !important;

    margin-top: 16px !important;
    margin-bottom: 16px !important;
    overflow: visible !important;
}

.lightbox-caption {
    margin-top: .5rem;
    color: #000;
    font-size: .875rem;
    text-align: center;
    /* max-width: 100%; */
}

.lightbox-zoom-controls {
    /* margin-top: .5rem;
    display: flex;
    gap: .5rem; */
    float: right !important;
    width: 200px !important;

}

.lightbox-zoom-controls button {
    /* background: #333; */
    float: left;
    color: #000;
    border: 1px solid #ccc;
    padding: .4rem .6rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 3px;
    margin: 5px;
}

.lightbox-zoom-controls button:hover {
    background: #555;
}

/* NEW: For-sale badge styling */
.for-sale-badge {
    /* position: absolute;
    top: .5rem;
    left: .75rem; */
    background-color: #51d917;
    color: #fff;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: .75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: none;
    margin: 16px;
    /* toggled by JS */
}

.for-sale-badge a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 600px) {
    .lightbox-container {
        padding: .5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
    }
}


/* =============================================================================
   PRICE LIST STYLING
   ============================================================================= */

/* Prijslijst specific styling */
.prijslijst-container {
    margin-top: 30px;
}

.prijslijst-intro {
    font-style: italic;
    margin-bottom: 30px;
    color: #666;
}

.prijslijst-table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.prijslijst-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.prijslijst-table thead {
    background-color: #f8f9fa;
}

.prijslijst-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #e9ecef;
}

.prijslijst-table th:first-child {
    width: 200px;
}

.prijslijst-table th:last-child {
    width: 180px;
    text-align: center;
}

.prijslijst-row {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.prijslijst-row:hover {
    background-color: #f8f9fa;
}

.prijslijst-table td {
    padding: 20px;
    vertical-align: top;
}

.for-sale-image-cell {
    width: 200px;
}

.for-sale-image {
    position: relative;
    width: 160px;
    height: 120px;
    overflow: hidden;
    /* border-radius: 6px; */
}

.for-sale-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.for-sale-overlay {
    position: absolute;
    top: 5px;
    right: 5px;
}

.for-sale-overlay .for-sale-badge {
    background-color: #dc3545;
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.for-sale-details-cell {
    padding-right: 30px;
}

.artwork-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.artwork-collection {
    margin: 0 0 10px;
    font-size: 14px;
}

.artwork-collection a {
    color: #003399;
    text-decoration: none;
}

.artwork-collection a:hover {
    text-decoration: underline;
}

.artwork-description {
    margin: 0 0 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.artwork-meta {
    font-size: 13px;
    color: #888;
}

.artwork-dimensions {
    display: inline-block;
}

.price-cell {
    text-align: center;
    width: 230px;
}

.price-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.price-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.contact-btn {
    background-color: #003399;
    color: white;
    padding: 8px 16px;
    /* border-radius: 4px; */
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #002266;
    text-decoration: none;
}

.no-items-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-items-message h2 {
    margin-bottom: 15px;
    color: #333;
}

/* Responsive adjustments for price list */
@media (max-width: 768px) {
    .prijslijst-table-container {
        overflow-x: auto;
    }

    .prijslijst-table {
        min-width: 600px;
    }

    .prijslijst-table th,
    .prijslijst-table td {
        padding: 10px;
    }

    .for-sale-image {
        width: 120px;
        height: 90px;
    }

    .artwork-title {
        font-size: 16px;
    }

    .for-sale-details-cell {
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .prijslijst-table {
        min-width: 500px;
    }

    .prijslijst-table th:first-child,
    .for-sale-image-cell {
        width: 140px;
    }

    .prijslijst-table th:last-child,
    .price-cell {
        width: 120px;
    }

    .for-sale-image {
        width: 100px;
        height: 75px;
    }

    .contact-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

.lightbox-prev.disabled,
.lightbox-next.disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}