.rvcs-colour-switcher {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    text-align: center;
    box-sizing: border-box;
}

.rvcs-colour-switcher *,
.rvcs-colour-switcher *::before,
.rvcs-colour-switcher *::after {
    box-sizing: border-box;
}

.rvcs-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 0 72px;
    width: 100%;
}

.rvcs-main-image {
    display: block;
    margin: 0 auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 180ms ease, transform 180ms ease;
}

.rvcs-main-image.is-changing {
    opacity: 0;
    transform: translateY(4px);
}

.rvcs-arrow,
.rvcs-arrow:hover,
.rvcs-arrow:focus,
.rvcs-arrow:focus-visible,
.rvcs-arrow:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #000 !important;
    cursor: pointer;
    font-size: 0 !important;
    line-height: 0 !important;
    text-align: center;
    text-decoration: none !important;
    transform: translateY(-50%);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-tap-highlight-color: transparent;
}

.rvcs-arrow:focus,
.rvcs-arrow:focus-visible,
.rvcs-arrow:active {
    outline: none !important;
}

.rvcs-arrow-svg {
    display: block;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    overflow: visible;
    pointer-events: none;
}

.rvcs-arrow-prev {
    left: 20%;
}

.rvcs-arrow-next {
    right: 20%;
}

.rvcs-active-name {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 400;
    color: #000;
}

.rvcs-swatches {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

.rvcs-swatch,
.rvcs-swatch:hover,
.rvcs-swatch:focus,
.rvcs-swatch:focus-visible,
.rvcs-swatch:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    color: inherit !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.rvcs-swatch-chip {
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    outline: 0 solid transparent;
    outline-offset: 4px;
    transition: outline-width 160ms ease, box-shadow 160ms ease;
    pointer-events: none;
}

.rvcs-swatch:hover .rvcs-swatch-chip,
.rvcs-swatch:focus-visible .rvcs-swatch-chip,
.rvcs-swatch:active .rvcs-swatch-chip {
    transform: none;
}

.rvcs-swatch.is-active .rvcs-swatch-chip {
    outline-width: 2px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.rvcs-swatch-label {
    display: none !important;
}

.rvcs-empty-notice {
    padding: 14px 16px;
    border: 1px dashed #c4c4c4;
    border-radius: 6px;
    background: #fff;
    color: #444;
    font-size: 13px;
    text-align: left;
}

@media (max-width: 1024px) {
    .rvcs-stage {
        padding-left: 56px;
        padding-right: 56px;
    }

    .rvcs-arrow-prev {
        left: 8%;
    }

    .rvcs-arrow-next {
        right: 8%;
    }
}

@media (max-width: 767px) {
    .rvcs-stage {
        min-height: 110px;
        padding-left: 38px;
        padding-right: 38px;
    }

    .rvcs-main-image {
        width: 100% !important;
        max-height: 180px;
    }

    .rvcs-arrow,
    .rvcs-arrow:hover,
    .rvcs-arrow:focus,
    .rvcs-arrow:focus-visible,
    .rvcs-arrow:active {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .rvcs-arrow-svg {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

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

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

    .rvcs-active-name {
        font-size: 20px;
    }

    .rvcs-swatches,
    .elementor-widget-rola_vehicle_colour_switcher .rvcs-swatches {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 18px;
        touch-action: pan-x;
        padding: 8px 18px 16px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: clamp(16px, 5vw, 28px) !important;
        scrollbar-width: none;
    }

    .rvcs-swatches::-webkit-scrollbar {
        display: none;
    }

    .rvcs-swatch,
    .rvcs-swatch:hover,
    .rvcs-swatch:focus,
    .rvcs-swatch:focus-visible,
    .rvcs-swatch:active {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        min-width: auto !important;
        scroll-snap-align: center;
    }
}
