.image-slider-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.image-slider {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 15px;
}

.image-slider p {
    margin: 0;
}

.image-slider img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    display: none;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

.image-slider img.zoomed {
    display: block;
    transform: scale(1.1);
}

.image-slider img.show-zoom-icon::after {
    content: '\1F50D';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-slider img.show-zoom-icon:hover::after {
    opacity: 1;
}

.slider-thumbnail-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    position: relative;
}

.slider-thumbnail-navigation {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    width: calc(100% - 60px);
}

.thumbnail {
    margin: 0 5px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 3px;
    overflow: hidden;
    flex: 0 0 auto;
    transition: border 0.2s ease;
}

.thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}

.thumbnail.active {
    border: 2px solid var(--arrow-color, #3333FF);
}

.slider-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.slider-navigation button {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider-navigation button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.prev-slide {
    margin-left: 10px;
}

.next-slide {
    margin-right: 10px;
}

.thumb-prev,
.thumb-next {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
    margin: 0 5px;
}

.thumb-prev:hover,
.thumb-next:hover {
    background: rgba(255, 255, 255, 0.9);
}

.image-slider-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.modal-prev,
.modal-next {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1) translateY(-50%);
}

/* Tablet view */
@media (max-width: 768px) {
    .image-slider-container {
        max-width: 600px;
    }
    .image-slider img {
        max-height: 50vh;
    }
    .thumbnail img {
        width: 50px;
        height: 50px;
    }
}

/* Mobile view */
@media (max-width: 480px) {
    .image-slider-container {
        max-width: 100%;
        padding: 10px;
    }
    .image-slider img {
        max-width: 100%;
        max-height: none;
    }
    .thumbnail img {
        width: 40px;
        height: 40px;
    }
    .slider-navigation button {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}