:root {
    --thessie-slider-dark: #303944;
    --thessie-slider-light: #dcdcdc;
    --thessie-slider-lighter: #F5F5F9;
    --thessie-slider-white: #ffffff;
}

.thessie-slider--container {
    font-size: 16px;
}

.thessie-slider--container .ths-hidden {
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.thessie-slider--container .thessie-slider--inputs_single {
    width: 100%;
    padding: 13px 15px;
    border-radius: 8px;
    font-size: 16px;
    background: var(--thessie-slider-white);
    /*box-shadow: 0 0 15px 0 var(--thessie-slider-lighter);*/
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    color: var(--thessie-slider-dark);
    border: 1px solid var(--thessie-slider-light);
}

.thessie-slider--container .thessie-slider--inputs_single:focus:not(:focus-visible) {
    box-shadow: none;
    border: none;
    outline: none;
}

.thessie-slider--container .thessie-slider--inputs_single:focus-visible {
    outline: none;
    border-color:  var(--thessie-slider-dark);
}

.thessie-slider--errors {
    margin-top: 10px;
    text-align: center;
    color: var(--thessie-slider-accent);
}

.thessie-slider--container .thessie-slider--row {
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
}

@media screen and (max-width: 767px) {
    .thessie-slider--container .thessie-slider--row {
        gap: 0;
        margin-bottom: 15px;
    }
}

.thessie-slider--container .thessie-slider--inputs {
    justify-content: space-between;
    gap: 30px;
}

@media screen and (max-width: 767px) {
    .thessie-slider--container .thessie-slider--inputs {
        flex-direction: column;
        gap: 15px;
    }
}

.thessie-slider--container .thessie-slider--slide .thessie-slider--slide-info-box {
    width: 200px;
}

.thessie-slider--container.thessie-slider--dropdown-layout .thessie-slider--slide .thessie-slider--slide-info-box {
    width: 100%;
}

@media screen and (max-width: 767px) {
    .thessie-slider--container .thessie-slider--slide .thessie-slider--slide-info-box {
        width: 100%;
    }
}

.thessie-slider--container .thessie-slider--slide {
    flex-direction: column;
}

.thessie-slider--container .thessie-slider--frequencies {
    justify-content: space-between;
    gap: 30px;
}

@media screen and (max-width: 767px) {
    .thessie-slider--container .thessie-slider--frequencies {
        justify-content: space-between;
        gap: 10px;
    }
}

@media screen and (min-width: 768px) {
    .thessie-slider--container.thessie-slider--dropdown-layout .thessie-slider--frequencies {
        margin-top: 30px;
    }
}

@media screen and (max-width: 767px) {
    .thessie-slider--container .thessie-slider--frequencies {
        flex-wrap: wrap;
    }
}

.thessie-slider--container .thessie-slider--frequencies .thessie-slider--frequencies_single {
    width: 100%;
    text-align: center;
}

.thessie-slider--container .thessie-slider--frequencies .thessie-slider--frequencies_single .thessie-slider--frequencies_single-discount {
    font-size: 12px;
    line-height: 1;
    padding: 5px 0 0;
    border: 0;
    color: var(--thessie-slider-accent);
    font-weight: 800;
}

@media screen and (max-width: 767px) {
    .thessie-slider--container .thessie-slider--frequencies .thessie-slider--frequencies_single {
        flex-basis: calc(50% - 5px);
    }
}

.thessie-slider--container .thessie-slider--frequencies .thessie-slider--frequencies_single > span:first-of-type {
    padding: 15px;
    font-size: 14px;
    border-radius: 8px;
    transition: 0.2s all;
    line-height: 1.2;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: var(--thessie-slider-white);
    border: 2px solid var(--thessie-slider-lighter);
    color: var(--thessie-slider-dark);
    /*box-shadow: 0 0 15px 0 var(--thessie-slider-lighter);*/
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
    height: 100%;
    justify-content: center;
}

@media screen and (max-width: 767px) {
    .thessie-slider--container .thessie-slider--frequencies .thessie-slider--frequencies_single > span:first-of-type {
        padding: 10px;
    }
}

.thessie-slider--container .thessie-slider--frequencies .thessie-slider--frequencies_single input {
    display: none;
}

.thessie-slider--container .thessie-slider--frequencies .thessie-slider--frequencies_single input:checked + span {
    background: var(--thessie-slider-white);
    border-color: var(--thessie-slider-accent);
    color: var(--thessie-slider-accent);
}

.thessie-slider--container .thessie-slider--button {
    margin-bottom: 0;
    flex-direction: column;
}

.thessie-slider--container .thessie-slider--button button {
    width: 100%;
    background: var(--thessie-slider-accent);
    cursor: pointer;
    color: var(--thessie-slider-white);
    border: none;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.2s all;
    position: relative;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.thessie-slider--container .thessie-slider--button button > span:first-of-type {
    font-weight: 400;
}

.thessie-slider--container .thessie-slider--button button:disabled {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

@media screen and (max-width: 767px) {
    .thessie-slider--container .thessie-slider--button button {
        font-size: 16px;
    }
}

.thessie-slider--container .thessie-slider--button button:hover {
    background: var(--thessie-slider-dark);
}

@media screen and (min-width: 768px) {
    .thessie-slider--container .thessie-slider--slide {
        flex-direction: row;
        align-items: flex-start;
    }
}

.thessie-slider--container.thessie-slider--dropdown-layout .thessie-slider--slide {
    flex-direction: column;
    gap: 0;
}

.thessie-slider--container.thessie-slider--dropdown-layout .thessie-slider--selectors {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.thessie-slider--container.thessie-slider--dropdown-layout .thessie-slider--selectors > div {
    flex: calc(50% - 20px);
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {

    .thessie-slider--container.thessie-slider--dropdown-layout .thessie-slider--selectors {
        gap: 0;
    }

    .thessie-slider--container.thessie-slider--dropdown-layout .thessie-slider--selectors > div {
        flex: 100%;
        margin-bottom: 30px;
    }
}

.thessie-slider--loading-state {
    padding: 18px;
    background: var(--thessie-slider-lighter);
    border-radius: 8px;
    text-align: center;
}

.thessie-slider--form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thessie-slider--acceptance {
    display: flex;
    gap: 8px;
    color: var(--thessie-slider-dark);
    font-size: 14px;
    justify-content: center;
}

.thessie-slider--label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--thessie-slider-dark);
}

.thessie-slider--range-value {
    color: var(--thessie-slider-dark);
    font-size: 14px;
}

.thessie-slider--select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--thessie-slider-light);
    border-radius: 8px;
    padding: 0 12px;
    background: var(--thessie-slider-white);
    color: var(--thessie-slider-dark);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
}

.thessie-slider--container input[type='range'] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 42px;
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
    --thessie-range-progress: 0%;
    --thessie-range-track: linear-gradient(
        to right,
        var(--thessie-slider-light) 0%,
        var(--thessie-slider-light) var(--thessie-range-progress),
        #ececec var(--thessie-range-progress),
        #ececec 100%
    );
    padding: 0;
}

.thessie-slider--container input[type='range']::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: var(--thessie-slider-light);
}

.thessie-slider--container input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 34px;
    height: 34px;
    border-radius: 5px;
    border: none;
    background-color: var(--thessie-slider-accent);
    background-image: repeating-linear-gradient( to bottom, transparent 0 5px, rgba(255, 255, 255, 0.95) 2px 3px, transparent 7px 1px );
    background-position: 10px 8px;
    background-size: 14px 15px;
    background-repeat: no-repeat;
    box-shadow: none;
    margin-top: -13px;
}

.thessie-slider--container input[type='range']::-moz-range-track {
    height: 8px;
    border: none;
    border-radius: 999px;
    background: var(--thessie-slider-light);
}

.thessie-slider--container input[type='range']::-moz-range-progress {
    height: 8px;
    border-radius: 999px;
    background: var(--thessie-slider-light);
}

.thessie-slider--container input[type='range']::-moz-range-thumb {
    width: 34px;
    height: 34px;
    border-radius: 5px;
    border: none;
    background-color: var(--thessie-slider-accent);
    background-image: repeating-linear-gradient( to bottom, transparent 0 5px, rgba(255, 255, 255, 0.95) 2px 3px, transparent 7px 1px );
    background-position: 10px 8px;
    background-size: 14px 15px;
    background-repeat: no-repeat;
    box-shadow: none;
}

.thessie-slider--container input[type='range']::-ms-track {
    width: 100%;
    height: 8px;
    border: none;
    color: transparent;
    background: transparent;
}

.thessie-slider--container input[type='range']::-ms-fill-lower {
    border-radius: 999px;
    background: var(--thessie-slider-light);
}

.thessie-slider--container input[type='range']::-ms-fill-upper {
    border-radius: 999px;
    background: #ececec;
}

.thessie-slider--container input[type='range']::-ms-thumb {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    border: none;
    background-color: var(--thessie-slider-accent);
    background-image: repeating-linear-gradient( to bottom, transparent 0 5px, rgba(255, 255, 255, 0.95) 2px 3px, transparent 7px 1px );
    background-position: 10px 8px;
    background-size: 14px 15px;
    background-repeat: no-repeat;
    box-shadow: none;
}
