.thumb-nav,
.main-image-nav {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    transition: background-color 0.2s ease;
}

.thumb-nav:hover,
.main-image-nav:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.thumb-nav svg,
.main-image-nav svg {
    width: 24px;
    height: 24px;
    color: #333;
}

.scarf-thumbs {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    width: 230px;
    height: 100%;
}

.scarf-thumbs img {
    width: 120px;
    height:120px;
    object-fit: cover; 
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.scarf-thumbs img.active {
    border-color: #333;
}

.thumbs-wrapper {
padding-top: 40px;
    max-height: calc(100% - 30px);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    height: 100%;
}

.thumbs-wrapper::-webkit-scrollbar {
    display: none;
}

.thumb-nav-prev {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.thumb-nav-next {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 30px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.scarf-main-image {
    position: relative;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eeeeee;
}

.scarf-main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
}

.main-image-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.main-image-nav-prev {
    left: 10px;
}

.main-image-nav-next {
    right: 10px;
}
