html.car-no-scroll,
html.car-no-scroll body {
    overflow: hidden !important;
}

.car-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.car-main {
    position: relative;
    width: 100%;
}

.car-main:hover>.car-btn {
    opacity: 0.4;
}

.car-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .2s ease-in;
    z-index: 0;
}

.car-img > img {
    position: absolute;
    inset: 0;
	width: 100%;
	height: 100%;
    object-fit: contain;
}

.car-img-active {
    opacity: 1;
    z-index: 1;
}

.car-img-description {
    position: absolute;
    display: flex;
    justify-content: center;
    bottom: 0;
    width: 100%;
}

.car-img-description > span {
    padding: 10px 10px;
}

.car-btn {
    position: absolute;
    top: 50%;
    height: 40px;
    width: 40px;
    z-index: 2;
    color: #fff;
    background-color: black;
    border: 1px solid gray;
    opacity: 0;
    transition: opacity .2s ease-in, border-color .2s ease-in;
    cursor: pointer;
}

.car-btn:hover {
    opacity: 1 !important;
    background-color: black;
    border-color: white !important;
}

.car-btn:active {
    border-color: white !important;
}

.car-btn:focus {
    background-color: black !important;
    border-color: white !important;
}

.car-btn-left {
    left: 0;
    transform: translateY(-50%) translateX(30%);
}

.car-btn-right {
    right: 0;
    transform: translateY(-50%) translateX(-30%);
}

#svg-left {
    transform: translateX(4px);
}

#svg-right {
    transform: translateX(6px);
}

.car-previews {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
}

.car-preview-img {
	position: relative;
	aspect-ratio: 1/1;
    opacity: .5;
    transition: opacity .2s ease-in;
    cursor: pointer;
}

.car-preview-img > img {
    position: absolute;
    inset: 0;
	width: 100%;
	height: 100%;
    object-fit: cover;
}

.car-preview-img-active {
    opacity: 1;
}

.car-preview-caption {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 0;
    bottom: 0;
}

.car-preview-caption > span {
    padding: 2px 8px;
}

.car-fullscreen {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,.8);
    overscroll-behavior: contain;
    touch-action: none;
}

.car-fullscreen img {
    max-height: 97%;
    max-width: 97%;
    animation-name: fullscreen-open;
    animation-duration: .2s;
}

@keyframes fullscreen-open {
    from {scale: .7}
    to {scale: 1}
}