.bar-marker-container {
    position: relative;
    position: absolute;
    top: 0;
    height: 100%;
    height: 134px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}
@media (max-width: 768px) {
    .bar-marker-container {
        height: 17.4479vw;
    }
}
.js-palette-new {
    height: 180px;
    position: relative;
    margin: 0 auto 40px;
    width: 90%;
}
@media (max-width: 768px) {
    .js-palette-new {
        height: 23.4375vw;
        margin: 0 auto 5.2083vw;
    }
}
.js-palette-new .bar-over {
    width: 100%;
    height: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
}
@media (max-width: 768px) {
    .js-palette-new .bar-over {
        height: 2.6042vw;
    }
}
.js-palette-new .bar {
    width: 100%;
    height: 20px;
    display: flex;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 20px;
}
@media (max-width: 768px) {
    .js-palette-new .bar {
        height: 2.6042vw;
        height: 2.6042vw;
        border-radius: 2.6042vw;
    }
}
.js-palette-new .bar .js-palette-item {
    height: 100%;
    flex: 1 1 auto;
    cursor: pointer;
}

.js-palette-new .bar-marker {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.js-palette-new .bar-marker .preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.js-palette-new .js-prev-preview {
    width: 24px;
    height: 24px;
    background-image: url(/local/templates/main/assets/img/fluent_ios-arrow-24-filled.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    pointer-events: all;
    /*background-color: blue;*/
}
@media (max-width: 768px) {
    .js-palette-new .js-prev-preview {
        width: 3.125vw;
        height: 3.125vw;
    }
}
.js-palette-new .bar-marker .preview .js-color-preview-color {
    width: 150px;
    height: 138px;
    margin-left: 17px;
    margin-right: 17px;
    position: relative;
    pointer-events: all;
    cursor: grab;
}
@media (max-width: 768px) {
    .js-palette-new .bar-marker .preview .js-color-preview-color {
        width: 19.5313vw;
        height: 17.9688vw;
        margin-left: 2.2135vw;
        margin-right: 2.2135vw;
    }
}
.js-palette-new .bar-marker .preview .js-color-preview-color .preview-id {
    width: 103px;
    height: 36px;
    line-height: 36px;
    border-radius: 20px;
    position: absolute;
    left: 50%;
    bottom: 16px;
    text-align: center;
    background: var(--white);
    font-size: 14px;
    transform: translateX(-50%);
}
@media (max-width: 768px) {
    .js-palette-new .bar-marker .preview .js-color-preview-color .preview-id {
        width: 13.4115vw;
        height: 4.6875vw;
        line-height: 4.6875vw;
        border-radius: 2.6042vw;
        bottom: 2.0833vw;
        font-size: 1.8229vw;
    }
}
.js-palette-new .js-next-preview {
    width: 24px;
    height: 24px;
    background-image: url(/local/templates/main/assets/img/fluent_ios-arrow-24-filled.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    transform: scale(-1);
    pointer-events: all;
}
@media (max-width: 768px) {
    .js-palette-new .js-next-preview {
        width: 3.125vw;
        height: 3.125vw;
    }
}
.js-palette-new .bar-marker .handle {
    position: relative;
    position: absolute;
    bottom: -6px;
    bottom: -52px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 6px solid var(--white);
    background: var(--primary);
    cursor: pointer;
    pointer-events: all;
}
@media (max-width: 768px) {
    .js-palette-new .bar-marker .handle {
        bottom: -0.7813vw;
        bottom: -6.7708vw;
        width: 4.4271vw;
        height: 4.4271vw;
        border: .7813vw solid var(--white);
    }
}
.palette {
    margin: 0 auto !important;
}
.palette__bar-container {
    margin: 20px auto 40px !important;;
}
@media (max-width: 768px) {
    .palette__bar-container {
        margin: 2.6042vw auto 5.2083vw !important;;
    } 
}
.palette .palette--nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.palette .palette--nav ul li {
    flex: auto;
    text-align: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--grey2);
    padding-bottom: 16px;   
    border-bottom: 1px solid var(--grey1); 
}
@media (max-width: 768px) {
    .palette .palette--nav ul li {
        font-size: 3.125vw;
        padding-bottom: 2.0833vw;   
        border-bottom: .1302vw solid var(--grey1); 
    }
}
.palette .palette--nav ul li.active {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}
@media (max-width: 768px) {
    .palette .palette--nav ul li.active {
        border-bottom: .1302vw solid var(--primary);
    }
}
.palette .palette-lists ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 20px 12px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 768px) {
    .palette .palette-lists ul {
        gap: 2.6042vw 1.5625vw;
    }
}
.palette .palette-lists ul li .color {
    display: block;
    margin-bottom: 12px;
    width: 100%;
    height: 100px;
}
@media (max-width: 768px) {
    .palette .palette-lists ul li .color {
        height: 13.0208vw;
        margin-bottom: 1.5625vw;
    }
}
.palette .palette-lists ul li a {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .016em;
    color: var(--primary);
    line-height: 20px;
    text-decoration: none;
    display: block;
}
@media (max-width: 768px) {
    .palette .palette-lists ul li a {
        font-size: 1.8229vw;
        line-height: 2.6042vw;
    }
}
.palette .palette-lists ul li a:hover {
    color: var(--link);
}
.palette .palette-lists ul li .color-name {
    color: var(--grey3);
    font-size: 12px;
    display: block;
    margin-bottom: 12px;
}
@media (max-width: 768px) {
    .palette .palette-lists ul li .color-name {
        font-size: 1.5625vw;
    }
}
.palette-section {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
}
@media (max-width: 768px) {
    .palette-section {
        padding: 5.2083vw 0;
        flex-direction: column-reverse;
        gap: 5.2083vw;
    }
}
.palette-section .palette-section-description {
    max-width: 652px;
    font-size: 16px;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .palette-section .palette-section-description {
        max-width: 84.8958vw;
        font-size: 2.0833vw;
    }
}
.palette-section-search {
    display: flex;
    height: fit-content;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--primary2);    
}
@media (max-width: 768px) {
    .palette-section-search {
        border-bottom: .1302vw solid var(--primary2);  
    }
}
.palette-section-search::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: url("/local/templates/main/assets/img/icons/icon_search.svg") no-repeat;
    background-size: contain;
}
@media (max-width: 768px) {
    .palette-section-search::before {
        width: 2.0833vw;
        height: 2.0833vw;
    }
}
.palette-section-search input {
    font-size: 16px;
    color: var(--primary);
    border: 0;
    width: 317px;
    padding: 14px 0;
    text-align: right;
}
@media (max-width: 768px) {
    .palette-section-search input {
        font-size: 2.0833vw;
        width: 41.276vw;
        padding: 1.8229vw 0;
    }
}
.palette-section-search input::placeholder {
    color: var(--grey1);
}
.palette .palette-lists ul li.active .color{
    border: 2px solid #fff;
}
.palette-lists h3 {
        text-transform: uppercase;
}
.palette-lists h3 a{
    color: var(--primary);
    text-decoration: blink;
}
.palette-lists h3 a:hover {
    color: var(--link);
}
@media (max-width: 768px) {
     .palette-lists p{
        font-size: 2.0833vw;
    }
    .palette-lists h3{
        font-size: 1.8229vw;
        line-height: 2.6042vw;
    }
}
