.zoom-hover img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom-hover:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    sl-carousel::part(base) {
        border-radius: 0 !important;
    }

    sl-carousel::part(navigation-button) {
        display: none !important;
    }

    sl-carousel::part(navigation) {
        display: none !important;
    }

    sl-carousel {
        --aspect-ratio: 4/5 !important;
        height: auto !important;
    }

    sl-dialog#fullscreen-viewer::part(close-button) {
        top: 1.25rem !important;
        right: 1.25rem !important;
        font-size: 1.25rem !important;
        padding: 0.4rem !important;
    }

    #fullscreen-carousel sl-carousel-item img {
        width: 100vw !important;
        height: 100vh !important;
        object-fit: cover !important;
    }
}

sl-dialog#fullscreen-viewer::part(panel) {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: 100vw !important;
    height: 100vh !important;
}

sl-dialog#fullscreen-viewer::part(body) {
    padding: 0 !important;
    height: 100vh !important;
    width: 100vw !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

sl-dialog#fullscreen-viewer::part(header) {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    pointer-events: none !important;
    z-index: 1001 !important;
}

sl-dialog#fullscreen-viewer::part(title) {
    display: none !important;
}

sl-dialog#fullscreen-viewer::part(close-button) {
    color: #fff !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
    border-radius: 50% !important;
    font-size: 1.5rem !important;
    padding: 0.5rem !important;
    position: fixed !important;
    top: 2rem !important;
    right: 2rem !important;
    z-index: 1002 !important;
    pointer-events: auto !important;
    transition: background-color 0.3s, transform 0.3s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

sl-dialog#fullscreen-viewer::part(close-button):hover {
    background-color: rgba(0, 0, 0, 0.7) !important;
    transform: scale(1.05) !important;
}

sl-dialog#fullscreen-viewer::part(overlay) {
    background-color: rgba(10, 15, 8, 0.95) !important;
    backdrop-filter: blur(12px) !important;
}

#fullscreen-carousel {
    height: 100vh !important;
    width: 100vw !important;
    --aspect-ratio: none !important;
}

#fullscreen-carousel::part(base) {
    height: 100% !important;
    width: 100% !important;
}

#fullscreen-carousel::part(scroll-container) {
    height: 100% !important;
    width: 100% !important;
}

#fullscreen-carousel sl-carousel-item img {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: contain !important;
}

#fullscreen-carousel::part(navigation-button) {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 3.5rem !important;
    height: 3.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.3s, transform 0.3s !important;
}

#fullscreen-carousel::part(navigation-button):hover {
    background-color: rgba(255, 255, 255, 0.35) !important;
    transform: scale(1.05) !important;
}

#fullscreen-carousel::part(pagination-item) {
    background-color: rgba(255, 255, 255, 0.3) !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    transition: background-color 0.3s, transform 0.3s !important;
}

#fullscreen-carousel::part(pagination-item--active) {
    background-color: #fff !important;
    transform: scale(1.2) !important;
}

#book_calendar_wrapper {
    margin-inline: auto
}
