:root {
    --app-height: 100%;
}

.options-btns-mobile {
    display: none;
}

@media only screen and (max-width : 1100px) {
    .options-btns-mobile {
        display: flex;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        height: 96px;
        position: relative;
        z-index: 9999999;
        background-color: #fff;
        justify-content: center;
    }

    body.calculator {
        padding: 0;
        overflow: hidden;
    }

    body.calculator .main-container {
        position: relative;
        grid-template-columns: 1fr;
        height: calc(var(--app-height) - 58px);
    }

    .main-container .options-container {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        height: 226px;
    }

    .main-container .picture{
        height: auto;
        max-height: calc(var(--app-height) - 311px);
        align-items: flex-start;
        margin: 0;
    }

    .main-container .options {
        height: auto;
        width: 100%;
        position: absolute;
        padding: 30px 0 0 0;
        top: 0;
        background: #fff;
        z-index: 99999;
        box-shadow: unset;
        border-radius: 20px 20px 0px 0px;
    }

    .main-container .options.active {
        top: calc(-100vh + 300px);
        max-height: calc(var(--app-height) - 300px);
        box-shadow: 0px -5px 20px rgb(0 0 0 / 10%);
    }

    /* that is just temporary */
    body.calculator footer div,
    body.calculator footer {
        flex-direction: column;
    }

    .options section.slider .title{
        margin-left: 0;
    }

    .options section .curr-value {
        right: 16px;
    }

    .options section.active {
        display: block;
    }

    .grr-options {
        position: absolute;
        top: 10px;
        left: auto;
        right: 0;
        padding: 0;
        background-color: #fff;
        box-shadow: none;
        z-index: 99;
    }

    .grr-options:hover {
        box-shadow: unset;
    }

    .price-container {
        position: relative;
        z-index: 9999999;
        height: 130px;
    }

    body.calculator .main-container .options-container-mobile-btn {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        width: 100%;
        height: 30px;
        align-items: center;
        justify-content: center;
        background-color: #fff;
    }

    body.calculator .options-container-mobile-btn span {
        display: flex;
        background-color: #2C3948;
        border-radius: 2px;
        width: 20px;
        height: 4px;
    }

    .grr-options-btn, .grr-option {
        width: 60px;
        height: 40px;
    }

    .grr-options-btn {
        order: 1;
    }

    .grr-options > p {
        display: none;
    }

    .options section.switch ul li a {
        white-space: nowrap;
    }

    .options section.system-types::-webkit-scrollbar,
    .options-btns-mobile::-webkit-scrollbar {
        display: none;
    }

    .options-btns-mobile ul {
        display: flex;
        flex-direction: row;
    }

    .options-btns-mobile ul li {
        display: none;
        margin: 0 5px;
    }

    body.calculator .main-container .options-btns-mobile button {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #fff;
        padding: 10px;
        height: 96px;
        position: relative;
        z-index: 1000000000;
    }

    body.calculator .main-container .options-btns-mobile button figure {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50px;
    }

    body.calculator .main-container .options-btns-mobile button span {
        display: flex;
        font-weight: 400;
        font-size: 11px;
        line-height: 13px;
        text-align: center;
        color: #49535E;
        align-items: flex-start;
    }

    .options section {
        margin: 0 auto;
        padding: 10px 10px;
        max-width: 500px;
    }

    .options section.swiper {   
        padding: 10px 0;
    }

    .options section.system-types {
        width: 100%;
        overflow-x: auto;
    }

    .options section.unactive {
        display: none;
    }

    .options section.active {
        display: block;
    }

    .options section.switch ul {
        border: 0;
    }

    .options section.switch ul li a {
        display: flex;
        border: 1px solid #f5f5f5;
        background: #F5F5F5;
        border-radius: 10px;
        padding: 10px 0;
    }

    .options section.switch ul li.active a {
        border-color: #00aeef;
    }
    
    .options section.switch li:hover a::after, .options section.switch li.active a::after {
        display: none;
    }

    .options section .title {
        font-weight: 800;
    }

    .options section.swiper .title {
        padding: 0 16px;
    }

    .options section .title .color-name {
        display: inline;
        font-weight: 400;
    }

    .option-wrapper .swiper-button-prev {
        right: 46px;
    }

    .option-wrapper .swiper-button-next {
        right: 16px;
    }

    .option-wrapper .swiper-nav-button {
        top: 10px;
    }

    .option-wrapper.sc .swiper-container {
        margin: 0 16px;
    }
}

@media only screen and (max-width : 550px) {
    .options-btns-mobile {
        justify-content: flex-start;
    }

    .price-container .wrapper {
        padding: 0 16px;
    }

    .price-box .price,
    .price-container .price-box {
        font: normal normal 600 16px/21px Montserrat;
    }

    .price-container .info-wrapper {
        font: normal normal 400 12px/15px Montserrat;
    }

    .price-container .info-wrapper i {
        width: 15px;
        height: 15px;
    }
}