.gallery-container {
    position: relative;
    width: 100%;
}

.thumbnails {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: calc(100% - 6rem);
    margin: 0 auto;
}

.thumbnails .thumbnails-inner {
    width: 100%;
    max-width: 100%;
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* For Firefox */
}

.thumbnails .thumbnails-inner::-webkit-scrollbar {
    height: 0; /* Hide scrollbar */
}

.thumbnails .thumbnails-inner a {
    display: inline-block;
    flex: 1 0 50%;
    margin-right: 5px;
    user-select: none;
}

.thumbnails .thumbnails-inner a.active img {
    box-shadow: 0px 0px 8px #000000b8;
    pointer-events: none;
    user-select: none;
}

.thumbnails .thumbnails-inner a img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: bottom center;
    cursor: pointer;
}

.arrow {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
}

.arrow.left-arrow,
.arrow.right-arrow {
    position: absolute;
    top: 50%;
    z-index: 100;
    font-size: 48px;
    color: #000000;
    margin-top: -24px;
    -webkit-transition: all .2s ease-in-out;
    background-color: #ffffff;
    transition: all .2s ease-in-out;
}
  
.arrow.left-arrow {
    left: -3rem;
}

.arrow.right-arrow {
    right: -3rem;
}

.arrow.left-arrow::after,
.arrow.right-arrow::after {
    font-family: ETmodules !important;
    speak: none;
    color: #000000;
    font-style: normal;
    font-weight: 400;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 0 0;
    direction: ltr;
}

.arrow.left-arrow::after {
    content: '4';
}

.arrow.right-arrow::after {
    content: '5';
}

.arrow.left-arrow span,
.arrow.right-arrow span {
    display: none;
}

@media all and (max-width:768px) {
    .arrow.left-arrow,
    .arrow.right-arrow {
        font-size: 2rem;
    }

    .arrow.left-arrow {
        left: -2rem;
    }

    .arrow.right-arrow {
        right: -2rem;
    }

    .thumbnails {
        max-width: calc(100% - 4rem);
    }
}

@media all and (max-width:480px) {
    .arrow.left-arrow, .arrow.right-arrow {
        padding: 0;
    }

    .arrow.left-arrow {
        left: 0;
    }

    .arrow.right-arrow {
        right: 0;
    }

    .thumbnails {
        max-width: 100%;
    }
}

.dot-navigation {
    text-align: center;
    margin-top: 10px;
}

.dot-navigation .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.dot-navigation .dot.active {
    background-color: #000;
}

@media all and (max-width: 768px) {
    .thumbnails .thumbnails-inner img {
        width: clamp(100px, 75vw, 400px);
        aspect-ratio: 1/1;
        object-fit: cover;
    }
}