.awv-trigger-container {
    display: inline-block;
    margin-right: 15px;
}

.awv-show-on-wall-link {
    cursor: pointer;
    font-weight: 500;
    text-decoration: underline;
    /* User can optionally style this globally */
}

.awv-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.awv-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
}

.awv-modal-content {
    position: relative;
    z-index: 10;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.awv-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    line-height: 1;
}

.awv-modal-close:hover {
    color: #000;
}

.awv-controls {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: inherit;
    font-size: 14px;
}

.awv-controls .awv-slider {
    width: 200px;
}

.wall-mockup {
    position: relative;
    display: inline-block;
}

.room-image {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    object-fit: contain;
}

.art-image {
    position: absolute;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: top 0.1s ease-out; /* Smooth slide for height adjust */
}

/* Apply Visualizer shadow to the actual Native Artwork on the host page!
   (This file dynamically only loads on posts featuring visualizer dimensions, guaranteeing safety) */
.p1-slide img,
.entry-content .wp-block-image:first-of-type img,
.post-thumbnail img,
.entry-hero img,
.wp-post-image {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    filter: drop-shadow(0px 10px 30px rgba(0,0,0,0.2)) !important;
}

/* Erase the strict slider cropping bounds so the artwork shadow can bleed over the edge onto the neighboring specs column! */
.p1-slider {
    overflow: visible !important;
}

/* 2x Darker Artwork Shadows explicitly requested for Dark Mode view */
html.dark .art-image,
html.dark .p1-slide img,
html.dark .entry-content .wp-block-image:first-of-type img,
html.dark .post-thumbnail img,
html.dark .entry-hero img,
html.dark .wp-post-image {
    box-shadow: 0 10px 30px rgba(0,0,0,0.6) !important;
    filter: drop-shadow(0px 10px 30px rgba(0,0,0,0.4)) !important;
}
