configurator {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 98vh;
    padding: 152px 0 30px 0;
}

@media(max-height: 920px) {
    configurator {
        padding-bottom: 16px;
    }
}

configurator.product {
    padding-top: 0;
}


configurator > prestroke {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 152px;
    overflow: hidden;
}

configurator > prestroke > svg {
    position: absolute;
    right: -32px;
    top: 0;
    height: 152px;
    max-width: 500px;
    transform: translate3d(0, 0, 0) rotateZ(180deg) skew(25deg);
    fill: var(--accent-color);
    opacity: .1;
}


configurator > titlewrap {
    position: relative;
    display: block;
    flex-shrink: 0;
    flex-grow: 0;
    padding-top: 52px;
    margin-bottom: 104px;
}

configurator > titlewrap > h1,
configurator > titlewrap > h2,
configurator > titlewrap > h3,
configurator > titlewrap > h4,
configurator > titlewrap > h5,
configurator > titlewrap > h6 {
    position: relative;
    display: block;
    margin: 0;
    color: #363131;
}

@media(min-width: 1300px) {

    configurator > titlewrap > h1,
    configurator > titlewrap > h2,
    configurator > titlewrap > h3,
    configurator > titlewrap > h4,
    configurator > titlewrap > h5,
    configurator > titlewrap > h6 {
        font-size: 56px;
    }
}

@media(min-width: 1700px) {

    configurator > titlewrap > h1,
    configurator > titlewrap > h2,
    configurator > titlewrap > h3,
    configurator > titlewrap > h4,
    configurator > titlewrap > h5,
    configurator > titlewrap > h6 {
        font-size: 74px;
    }
}

@media (max-width: 1070px) {

    configurator > titlewrap > h1,
    configurator > titlewrap > h2,
    configurator > titlewrap > h3,
    configurator > titlewrap > h4,
    configurator > titlewrap > h5,
    configurator > titlewrap > h6 {
        font-size: 38px;
    }
}

@media (max-width: 800px) {

    configurator > titlewrap > h1,
    configurator > titlewrap > h2,
    configurator > titlewrap > h3,
    configurator > titlewrap > h4,
    configurator > titlewrap > h5,
    configurator > titlewrap > h6 {
        font-size: 24px;
    }
}

configurator > titlewrap.center {
    text-align: center;
}



configurator > content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

configurator.product > content {
    flex: 1 1 100%;
    overflow: hidden;
}

configurator > content > modelpicker {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

configurator > content > modelpicker > content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

configurator > content > modelpicker > content > a {
    position: relative;
    display: block;
    width: 100%;
    padding: 32px;
    border: 1px solid transparent;
}

configurator > content > modelpicker > content > a:active {
    opacity: 1;
}

configurator > content > modelpicker > content > a:active > imagewrap > img {
    opacity: 1;
    -webkit-filter: brightness(70%) contrast(120%);
    filter: brightness(70%) contrast(120%);
}

configurator > content > modelpicker > content > a:not(.modlogo):active {
    border-color: var(--accent-color);
    box-shadow: 0px 0px 1px var(--accent-color);
}


configurator > content > modelpicker > content > a > modellogo {
    position: absolute;
    left: -42px;
    top: 16px;
    width: 100%;
    height: auto;
}

configurator > content > modelpicker > content > a > modellogo > svg {
    position: relative;
    display: block;
    width: 85%;
    height: auto;
    fill: #363131;
    opacity: .06;
}


configurator > content > modelpicker > content > a > imagewrap {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    margin: 0;
    overflow: hidden;
}

configurator > content > modelpicker > content > a > imagewrap > badgeswrap {
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    padding-bottom: 32px;
}

configurator > content > modelpicker > content > a > imagewrap > badgeswrap > entry {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #fffffff0;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 2px solid #e0e0e0;
    padding: 4px 10px;
}

configurator > content > modelpicker > content > a > imagewrap > badgeswrap > entry > icon {
    position: relative;
    display: block;
    margin: 0 6px 0 0;
}

configurator > content > modelpicker > content > a > imagewrap > badgeswrap > entry > content {
    position: relative;
    display: inline-block;
}


configurator > content > modelpicker > content > a > imagewrap > badgeswrap > entry > content > p {
    position: relative;
    display: block;
    white-space: nowrap;
    margin: 0;
    color: #202020;
    font-size: 14px;
}

configurator > content > modelpicker > content > a > imagewrap > badgeswrap > entry > content > p:first-of-type:not(:last-of-type) {
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 0px;
    font-weight: 650;
}

configurator > content > modelpicker > content > a > imagewrap > img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    pointer-events: none;
}


configurator > content > modelpicker > content > a > content {
    position: relative;
    display: block;
    width: 100%;
}


configurator > content > modelpicker > content > a > content > titlewrap {
    position: relative;
    display: block;
    width: 100%;
}

configurator > content > modelpicker > content > a > content > titlewrap > h4 {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 8px;
}

configurator > content > modelpicker > content > a > content > titlewrap > p {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    color: #000000;
    font-size: 18px;
}

configurator > content > imageviewer {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    flex: 1 1 100%;
    min-height: 600px;
    overflow: hidden;
}

configurator > content > imageviewer * {
    -webkit-user-select: none;
    user-select: none;
}

configurator > content > imageviewer > productimages,
configurator > content > imageviewer > actionimages {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

configurator > content > imageviewer > actionimages {
    z-index: 4;
}

configurator > content > imageviewer > productimages::before {
    position: absolute;
    left: 0;
    top: 0%;
    bottom: 0%;
    width: 100%;
    content: '';
    background: var(--configurator-product-color);
    transition: background .6s linear;
}

configurator > content > imageviewer > productimages::after {
    position: absolute;
    left: 0;
    top: 0%;
    bottom: 0%;
    right: 0;
    content: '';
    background: linear-gradient(to bottom, #f5f5f5 0%, #f5f5f5f6 25%, #cfcfcf 56%, #fffffffa 68%, #f3f3f3 95%, #f5f5f5);
}


configurator > content > imageviewer > productimages > contentwrap,
configurator > content > imageviewer > actionimages > contentwrap {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    padding: 100px 25% 0;
    z-index: 3;

}

configurator > content > imageviewer > productimages > contentwrap::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/configurator-bg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-mask-image: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 0) 50%);
    content: '';
    z-index: 3;
}

configurator > content > imageviewer > actionimages > contentwrap {
    padding: 0 8%;
    background: #000000;
}



configurator > content > imageviewer > productimages > contentwrap > modellogo {
    position: absolute;
    right: -82px;
    left: -82px;
    bottom: 28%;
    display: block;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: -webkit-linear-gradient(-90deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    mix-blend-mode: overlay;
}

configurator > content > imageviewer > productimages > contentwrap > modellogo > svg {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-width: 1900px;
    margin: 0 auto;
    opacity: .06;
}

configurator > content > imageviewer > productimages > contentwrap > content,
configurator > content > imageviewer > actionimages > contentwrap > content {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    z-index: 5;
}

configurator > content > imageviewer > imagetypepicker {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 0 32px 0;
    z-index: 5;
}

@media(max-height: 920px) {
    configurator > content > imageviewer > imagetypepicker {
        padding-bottom: 16px;
    }
}

configurator > content > imageviewer > imagetypepicker > content {
    position: relative;
    display: inline-flex;
    margin: 0 auto;
    background: #fffffff0;
    border-radius: 50000px;
    padding: 4px;
    border: 2px solid #e0e0e0;
}

configurator > content > imageviewer > imagetypepicker > content > entry {
    position: relative;
    display: block;
    padding: 10px 24px;
    border-radius: 5000px;
    cursor: pointer;
}

configurator > content > imageviewer > imagetypepicker > content > entry:active {
    opacity: .6;
}

configurator > content > imageviewer > imagetypepicker > content > entry.a {
    background: #000000;
}

configurator > content > imageviewer > imagetypepicker > content > entry > p {
    position: relative;
    display: block;
    white-space: nowrap;
    margin: 0;
    color: #0a0a0a;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    pointer-events: none;
}

configurator > content > imageviewer > imagetypepicker > content > entry.a > p {
    color: #ffffff;
}

configuratorimage {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

body > configuratorimage {
    z-index: 30;
}

productimages > contentwrap > content > configuratorimage:not(.a) {
    transform: translate3d(0, 0, 0) scale(.65);
    -webkit-filter: brightness(65%) contrast(125%);
    filter: brightness(65%) contrast(125%);
}

configuratorimage.a {
    pointer-events: none;
}

configuratorimage > img {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    object-fit: contain;
    object-position: center center;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


configurator > bottombar {
    position: relative;
    display: block;
    width: 100%;
    padding: 0 32px;
    max-width: 1600px;
    margin: 0 auto;
}

configurator > bottombar > topwrap {
    position: relative;
    display: flex;
    width: 100%;
    padding: 24px 32px 16px;
    border-top: 2px solid #e0e0e0;
}

@media(max-height: 920px) {
    configurator > bottombar > topwrap {
        padding-top: 16px;
        padding-bottom: 10px;
    }
}


configurator > bottombar > topwrap > titlewrap {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

configurator > bottombar > topwrap > titlewrap > h3 {
    position: relative;
    display: block;
    font-size: 25px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 8px;
}

configurator > bottombar > topwrap > titlewrap > h3:last-child {
    margin-bottom: 0;
}

configurator > bottombar > topwrap > titlewrap > p {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    line-height: 1.4;
}

configurator > bottombar > topwrap > pricing {
    position: relative;
    display: block;
    flex-shrink: 0;
    padding: 0 0 0 16px;
}

configurator > bottombar > topwrap > pricing > h4 {
    position: relative;
    display: block;
    text-align: right;
    margin: 0 0 16px;
}

configurator > bottombar > topwrap > pricing > buttonwrap {
    position: relative;
    display: flex;
    align-items: center;
}

configurator > bottombar > topwrap > pricing > buttonwrap > a {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    margin: 0;
    line-height: 1 !important;
    color: #000000;
}

configurator > bottombar > topwrap > pricing > buttonwrap > a.button {
    padding: 10px 24px;
    color: #ffffff;
    background: #000000;
}

configurator > bottombar > topwrap > pricing > buttonwrap > a:not(:last-child) {
    margin-right: 32px;
}

configurator > bottombar > panels {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    gap: 32px;
}

configurator > bottombar > panels > configuratorpanel {
    position: relative;
    display: block;
    width: 100%;
    background: #ffffff;
    padding: 24px 32px;
}

@media(max-height: 920px) {
    configurator > bottombar > panels > configuratorpanel {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

configurator > bottombar > panels > configuratorpanel::before {
    position: absolute;
    right: 13px;
    top: 0;
    width: 0;
    height: 0;
    transform-origin: top left;
    border-top: 32px solid transparent;
    border-bottom: 32px solid transparent;
    border-left: 32px solid #f5f5f5;
    transform: translate3d(0, 0, 0) rotateZ(-45deg);
    content: '';
}

configurator > bottombar > panels > configuratorpanel > titlewrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px;
}

@media(max-height: 920px) {
    configurator > bottombar > panels > configuratorpanel > titlewrap {
        margin-bottom: 10px;
    }
}

configurator > bottombar > panels > configuratorpanel > titlewrap > h5 {
    position: relative;
    display: block;
    width: 100%;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    margin: 0;
}

configurator > bottombar > panels > configuratorpanel > titlewrap > p {
    position: relative;
    display: block;
    text-transform: uppercase;
    font-size: 16px;
    margin: 0 8px 0 0;
}

configurator > bottombar > panels > configuratorpanel.colors > colorswrap {
    position: relative;
    display: flex;
    width: 100%;
}

configurator > bottombar > panels > configuratorpanel.colors > colorswrap > entry {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 42px;
    height: 42px;
    cursor: pointer;
}


configurator > bottombar > panels > configuratorpanel.colors > colorswrap > entry:not(:last-child) {
    margin-right: 16px;
}

configurator > bottombar > panels > configuratorpanel.colors > colorswrap > entry > inner {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 5000px;
    background: #000000;
}

configurator > bottombar > panels > configuratorpanel.colors > colorswrap > entry.a > inner::before {
    position: absolute;
    left: -3px;
    top: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 5000px;
    border: 2px solid #000000;
    box-shadow: inset 0px 0px 0px 4px #ffffff;
    content: '';
}