#headerbanner1, #headerbanner2 {
    display: none;
}
.headerbanner-wrapper { 
    min-height: 0 !important;
}
#vykup * {
    box-sizing: border-box;
}
#vykup {
    width: 100%;
    min-height: 1000px;
    max-width: 100%;
    font-family: 'Source Sans Pro';
    --field-bg: #fff;
    --field-border: #ccc;
    --field-inactive: #eee;
    --field-placeholder: #aaa;
    --list-bg: #fff;
    --list-hover: #00adf440;
    --list-selected: #ddd;
    --list-text: #333;
    --choice-text: #000;
    --choice-selected-bg:  #00adf4;
    --choice-selected-fg: #fff;
    --choice-hover-bg:  #ccf1ff;
    --choice-fg: #000;
    --choice-bg: #fff;
    --buttons-fg: #000;
    font-size: 18px;
    color: var(--buttons-fg);
    transition: all .4s ease-in-out;
}
body.night #vykup {
    --field-bg: #ffffff20;
    --field-fg: #ffffff;
    --field-inactive: #888;
    --list-bg: #404044;
    --list-selected: #666;
    --list-text: #fff;
    --choice-text: #fff;
    --choice-fg: #fff;
    --choice-bg: #ffffff10;
    --choice-hover-bg:  hsl(197 100% 21% / 1);
    --buttons-fg: #fff;
}
.tradein-info {
    padding: 20px 100px;
}
h2.selector-title {
    text-align: center;
    margin-bottom: 0;
}
.product-selector {
    width: 100%;
    padding: 50px;
    display: flex;
    justify-content: space-between;
}
.product-selector .scrolling-list {
    padding: 0;
    flex: 1 0 33.33%;
    max-width: calc(33.33% - 15px);
    position: relative;
}
.product-selector .scrolling-list.list-categories {
    flex: 1 0 25%;
    max-width: calc(25% - 15px);
}
.product-selector .scrolling-list.list-vendors {
    flex: 1 0 25%;
    max-width: calc(25% - 15px);
}
.product-selector .scrolling-list.list-models {
    flex: 1 0 50%;
    max-width: calc(50% - 15px);
}
.scrolling-list .list-field {
    display: flex;
    border: 1px solid var(--field-border);
}
.scrolling-list .field-button {
    width: 35px;
    border-left: 1px solid var(--field-border);
    position: relative;
    cursor: pointer;
    background: var(--field-bg);
    transition: background .2s ease-in-out;
}
.scrolling-list .field-button:hover {
    background: var(--field-inactive);
}
.scrolling-list .field-input,
.scrolling-list .field-button {
    background: var(--field-bg);
    transition: background .2s ease-in-out;
}
.scrolling-list .field-button > span {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    will-change: opacity;
    transition: opacity .2s ease-in-out;
}
.scrolling-list .field-button span i.lf-chevron-right {
    transition: transform .2s ease-in-out;
    transform: rotate(90deg) scale(1, 1);
}
.scrolling-list.has-selected span.close,
.scrolling-list:not(.has-selected) span.arrow-down {
    opacity: 1;
}
.scrolling-list:not(.has-selected) span.close,
.scrolling-list.has-selected span.arrow-down {
    opacity: 0;
}
.scrolling-list.menu-open .field-button span i.lf-chevron-right {
    transform: rotate(90deg) scale(-1, 1);
}
.scrolling-list.disabled {
    pointer-events: none;
    opacity: 0.4;
}
.scrolling-list .field-input {
    letter-spacing: 0.2px;
    padding: 20px 28px;
    font-weight: 600;
    font-size: inherit;
    font-family: inherit;
    outline: none;
    margin: 0;
    border: none;
    flex: 1;
    color: inherit;
    min-width: 0;
}
.scrolling-list .field-input::placeholder {
    color: var(--field-placeholder);
    font-weight: normal;
}
.scrolling-list .select-list {
    position: absolute;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    contain: content;
    will-change: opacity;
    box-shadow: 0 5px 5px -3px rgb(0 0 0 / 20%), 0 8px 10px 1px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%);
    max-height: 300px;
    pointer-events: none;
    opacity: 0;
    transform: translateZ(0px);
    transition: opacity .2s ease-in-out;
    background: var(--list-bg);
    z-index: 2000;
}
.scrolling-list.menu-open .select-list {
    opacity: 1;
    pointer-events: auto;
}
.scrolling-list.menu-open .field-button {
    opacity: 1;
    pointer-events: auto;
}
.scrolling-list .list-item {
    padding: 15px 10px 15px 30px;
    transition: background .1s linear;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--list-text);
}
.scrolling-list .item-cont.can-hover .list-item:hover,
.scrolling-list .list-item.hovering {
    background: var(--list-hover);
}
.scrolling-list .list-item.selected {
    background: var(--list-selected);
}
.scrolling-list .list-item.hidden {
    display: none;
}

.color-selector {
    position: relative;
    z-index: 1500;
}
.color-selector .choice-list {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    flex-wrap: wrap;
}
.color-selector .choice {
    width: 100%;
    flex: 1 20%;
    max-width: 20%;
    cursor: pointer;
    margin: 15px;
}
.color-selector .choice img {
    width: 100%;
}
.color-selector .choice .choice-field {
    padding: 20px 0;
}
.color-selector .choice-field {
    font-size: 20px;
    font-weight: 400;
}
.color-selector .choice-field input {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0.0001;
}
.color-selector .choice-field input + span {
    border: 0.1em solid #000;
    border-radius: 50%;
    height: 1em;
    width: 1em;
    display: inline-block;
    vertical-align: middle;
    margin-top: -0.15em;
    margin-right: 0.25em;
    box-shadow: inset 0 0 0 0.5em #fff;
    background: #000;
    transition: all .3s ease-in-out;
}
.night .color-selector .choice-field input + span {
    border-color: #fff;
    background: transparent;
    box-shadow: inset 0 0 0 0.5em transparent;
}
.color-selector .choice-field input:checked + span {
    position: relative;
    box-shadow: inset 0 0 0 0.15em #fff;
}
.night .color-selector .choice-field input:checked + span {
    box-shadow: inset 0 0 0 0.15em #000;
    background: #fff;
}
.color-selector .choice-field label {
    position: relative;
    color: inherit;
}
.color-selector .choice-field label::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    left: 50%;
    bottom: 0px;
    transform: translate(-50%, 0) scale(0.5);
    transition: 0.3s all ease-in-out;
    opacity: 0;
    background: var(--choice-text);
}
.color-selector .choice:hover .choice-field label::after {
    transform: translate(-50%, 0) scaleX(1);
    opacity: 1;
}

.condition-selector input {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;opacity: 0.001;
}

.condition-selector .choice-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.condition-selector .choice {
    margin: 15px;
    padding: 15px;
    background: var(--choice-bg);
    color: var(--choice-fg);
    border: 1px solid var(
            --choice-fg);
    text-align: center;
    width: 250px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all .2s ease-in-out;
}
.condition-selector .choice:hover {
    background: var(--choice-hover-bg);
}
.condition-selector .choice.selected {
    background: var(--choice-selected-bg);
    border-color: var(--choice-bg);
    color: var(--choice-selected-fg);
}
.condition-selector .choice-list {

}
.condition-selector .choice .title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}
.condition-selector .choice .state {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
}
.condition-selector .choice .description {
    font-size: 15px;
    /* flex-grow: 1;
    display: flex;
    align-items: center;
    padding-bottom: 20px; */
}
.condition-selector .choice .price-wrapper {
    margin-top: auto;
}
.condition-selector .choice .price {
    font-weight: 700;
    font-size: 28px;
}
.condition-selector .choice .tooltip {
    font-size: 15px;
    background: #fff;
    color: #000;
    font-weight: 400;
    padding: 10px;
    position: absolute;
    box-shadow: 0 0 5px #000;
    border-radius: 10px;
    width: 130%;
    max-width: 100vw;
    left: -15%;
    top: 41px;
    z-index: 1600;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease-in-out;
    border: 1px solid #000;
}
.condition-selector .choice .tooltip-icon {
    background: #000;
    color: #fff;
    display: inline-block;
    height: 1.2em;
    width: 1.2em;
    border-radius: 50%;
    line-height: 1.4em;
    font-size: 12px;
    user-select: none;
    vertical-align: middle;
    margin-top: -0.4em;
    margin-left: 0.2em;
}
.condition-selector .choice .tooltip-icon::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    background: #fff;
    position: absolute;
    top: 36px;
    transform: rotate(45deg);
    opacity: 0;
    z-index: 1700;
}
.condition-selector .choice .tooltip-icon:hover + .tooltip {
    opacity: 1;
}
.condition-selector .choice .tooltip-icon:hover::after {
    transition: 0.2s all ease-in-out !important;
    opacity: 1;
}

.continue-tradein {
    text-align: center;
    margin: 50px 0;
}
.continue-button {
    text-decoration: none;
    background: var(--choice-selected-bg);
    color: var(--choice-selected-fg);
    padding: 0.5em 2em;
    border-radius: 3em;
    font-weight: 600;
}
.continue-button i {
    margin-left: 0.5em;
    vertical-align: middle;display: inline-block;
}
.continue-tradein:not(.active) .continue-button {
    pointer-events: none;
    background: #888;
    opacity: 0.2;
}
.continue-tradein.hidden {
    display: none;
}

main.page.vykup h1 {
    font-size: 30px;
    margin: 50px 0 0 0;
    text-align: center;
}

section.selectors {
    min-height: 250px;
    margin-bottom: 70px;
}
.spinner-box {
    display: none;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    pointer-events: none;
    opacity: 0;
}
.spinner-box.shown {
    display: flex;
    transition: opacity .2s ease-in-out;
    opacity: 1;
}
.spinner-box svg {
    width: 50px;
    height: 50px;
    transition: filter .4s ease-in-out;
    filter: opacity(0.5);
    opacity: 0.5;
}
body.night .spinner-box svg {
    filter: invert(1);
}

.error-box {
    display: none;
}
.error-box.shown {
    display: block;
}
.error-box p {
    text-align: center;
}
.error-box .error-msg {
    color: #ff0033;
    font-weight: bold;
}
.error-box .error-details {
    display: none;
    color: #888;
    font-family: monospace;
    overflow-wrap: break-word;
    font-size: 0.8em;
    line-height: 1.2;
    letter-spacing: 0;
}
.error-box .error-details.shown {
    display: block;
}

@media (max-width: 818px) {
    #vykup .product-selector {
        padding: 0;
        display: block;
    }
    h2.selector-title {
        margin-bottom: 1em;
    }
    .tradein-info {
        padding: 0;
    }
    .product-selector .scrolling-list,
    .product-selector .scrolling-list.list-categories,
    .product-selector .scrolling-list.list-vendors,
    .product-selector .scrolling-list.list-models {
        display: block;
        max-width: 100%;
        margin-bottom: 20px;
    }
    .color-selector .choice {
        max-width: calc(50% - 20px);
        flex: 1 calc(50% - 20px);
        margin: 10px;
    }
    .condition-selector .choice {
        max-width: 100%;
    }
    main.page.vykup h1 {
        margin: 20px 0 20px 0;
        text-align: center;
    }
}
