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

html {
    height: -webkit-fill-available;
}

body {
    height: 100vh;
    height: var(--app-height);
}

body,
input {
    color: #2C3948;
}

body.calculator header.page-header{
    padding: 15px 38px;
    border-bottom: 2px solid #F0F2F5;
}

body.calculator footer {
    border-top: 2px solid #F0F2F5;
}

body.calculator .main-container {
    height: -webkit-fill-available;
    height: calc(var(--app-height) - 84px);
}

body.calculator .main-container {
    display: grid;
    grid-template-columns: 1fr 674px;
    /* grid-template-columns: 75% 35%; */
}

body.calculator .main-container button {
    background: #00AEEF;
    font: normal normal 700 14px/22px Montserrat;
    border: unset;
    color: #fff;
    cursor: pointer;
}

body.calculator button.go-to-summary {
    text-transform: uppercase;
}

body.calculator button.go-to-summary:disabled {
    opacity: .5;
}

.main-container .picture {
    display: flex;
    align-items: center;
    position: relative;
}

.main-container .options-container {
    /* display: flex;
    flex-direction: column;
    z-index: 1;
    justify-content: space-between; */
    display: grid;
    grid-template-rows: 1fr 168px;
    z-index: 1;
    justify-content: space-between;
    width: 100%;
    height: calc(var(--app-height) - 84px);
    grid-template-columns: 1fr;
}

.main-container .options {
    /* height: calc(100vh - 252px); */
    /* height: calc(100vh - 400px); */
    overflow-y: auto;
    padding: 20px 47px 41px 47px;
}

.price-container {
    height: 168px;
    box-shadow: 0px -5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px 20px 0px 0px;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
}

.price-container button {
    height: 60px;
    width: 100%;
    margin-top: auto;
    justify-self: end;
}

.price-container .wrapper {
    height: calc(100% - 60px);
    padding: 0 47px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.price-container .price-box {
    margin-bottom: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: normal normal 600 18px/24px Montserrat;
}

body.calculator .swiper-wrapper {
    height: auto;
    min-height: 117px;
}

body.calculator .color-swiper .swiper-wrapper {
    min-height: 47px;
}

.options .swiper-container .swiper-slide {
    border: 2px solid transparent;
    cursor: pointer;
}

/* .swiper-container.color-swiper .swiper-slide {
    height: 43px;
    width: 40px;
    box-shadow: inset 2px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
} */

.swiper-container.sc-swiper .swiper-slide,
.swiper-container.sr-swiper .swiper-slide,
.swiper-container.wzor-swiper .swiper-slide,
.swiper-container.grr-swiper .swiper-slide,
.swiper-container.sections_count-swiper .swiper-slide {
    /* width: 164px; */
    display: flex;
    justify-content: center;
    padding: 15px 0;
    border-radius: 10px;
    border: 2px solid #fff;
}

.swiper-container.wzor-swiper .swiper-slide img,
.swiper-container.sr-swiper .swiper-slide img {
    max-height: 100px;
}

.options .swiper-container .swiper-slide:hover,
.options .swiper-container .swiper-slide.active {
    border: 2px solid #00AEEF;
}

.options .swiper-container.color-swiper .swiper-slide:hover,
.options .swiper-container.color-swiper .swiper-slide.active {
    border-color: #fff;
}

.options .swiper-container.color-swiper .swiper-slide:hover .color-box,
.options .swiper-container.color-swiper .swiper-slide.active .color-box {
    border: 2px solid #00AEEF;
}

.options section {
    margin-top: 50px;
    position: relative;
}

.options section.system-types {
    margin-top: unset;
}

.options section .title {
    margin-bottom: 32px;
    font-weight: 700;
}

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

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #E2E5EA;
    border-radius: 0px;
    border: 0px solid #000000;
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #00AFEF;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -9px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #DADCDE;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #DADCDE;
    border-radius: 0px;
    border: 0px solid #000000;
}

input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #00AFEF;
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #00AFEF;
    border: 0px solid #000000;
    border-radius: 0px;
    box-shadow: 0px 0px 0px #000000;
}

input[type=range]::-ms-fill-upper {
    background: #DADCDE;
    border: 0px solid #000000;
    border-radius: 0px;
    box-shadow: 0px 0px 0px #000000;
}

input[type=range]::-ms-thumb {
    margin-top: 1px;
    box-shadow: 0px 0px 0px #000000;
    border: 2px solid #00AFEF;
    height: 18px;
    width: 18px;
    border-radius: 25px;
    background: #FFFFFF;
    cursor: pointer;
}

.options section .max-min-container {
    margin-top: 21px;
    font: normal normal 400 14px/24px Montserrat;
    color: #BDC5D0;
    display: flex;
    justify-content: space-between;
}

.options section .curr-value {
    position: absolute;
    top: 0;
    right: 0;
    border-bottom: 1px solid #2C3948;
    font: normal normal 400 16px/24px Montserrat;
}

.options section.slider input.val {
    border: none;
    font: normal normal 400 16px/24px Montserrat;
    width: min-content;
    text-align: right;
    max-width: 50px;
    background: unset;
}

.options section.list ul{
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}

.options section.list li {
    cursor: pointer;
    border-radius: 10px;
    border: 2px solid transparent;
}

.options section.list li a {
    display: block;
    padding: 20px;
}

.options section.list li:hover,
.options section.list li.active {
    border: 2px solid #00AEEF;
}

.options section.list li .title-container {
    margin-bottom: 23px;
    display: flex;
    justify-content: space-between;
    font: normal normal 700 16px/24px Montserrat;
}

.options section.list li .title {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 10px;
    color: #2C3948;
}

.options section.list li .desc {
    font: normal normal 400 14px/24px Montserrat;
    color: #49535E;
}

.options section.switch ul {
    display: flex;
    border-bottom: 2px solid #F0F2F5;
    gap: 0 5px;
}

.options section.switch ul li {
    cursor: pointer;
    width: 100%;
    text-align: center;
    color: #7A8797;
    font: normal normal 400 14px/22px Montserrat;
}

.options section.switch ul li a {
    display: flex;
    width: 100%;
    padding: 15px 0;
    justify-content: center;
}

.options section.switch ul li:hover a,
.options section.switch ul li.active a {
    font-weight: bold;
    color: #2C3948;
    position: relative;
}

.options section.switch li:hover a::after,
.options section.switch li.active a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #00aeef;
    border-radius: 10px 10px 0px 0px;;
    transition: all .4s ease-in-out;
    display: block;
}

.options section.switch ul[data-count="2"] li {
    width: 50%;
}

.options section.switch ul[data-count="2"] .bar {
    width: 50%;
}


/* summary */

body.calculator.summary,
body.calculator main.summary {
    height: auto;
}

body.calculator.summary main {
    padding: 65px 20px 95px;
}

body.calculator.summary .summary-wrapper {
    display: flex;
    justify-content: center;
}

body.calculator.summary table {
    max-width: 1500px;
}

body.calculator.summary main h1{
    font: normal normal 700 21px/27px Montserrat;
    text-align: center;
}

body.calculator.summary table {
    margin-top: 78px;
}

body.calculator.summary th {
    display: flex;
    align-items: center;
    font: normal normal 400 14px/24px Montserrat;
    color: #7A8797;
}

body.calculator.summary th:last-of-type {
    justify-content: flex-end;
}

body.calculator.summary tr {
    display: grid;
    grid-template-columns: 17.53% 20.6% 23.73% 14.13% auto;
    column-gap: 20px;
    width: 100%;
    border-bottom: 1px solid #E2E5EA;
    margin-top: 48px;
    padding-bottom: 48px;
}

body.calculator.summary tr:first-of-type {
    margin-top: unset;
    padding-bottom: unset;
}

body.calculator.summary tr:first-of-type {
    min-height: 50px;
}

body.calculator.summary td.option img {
    margin-right: 0;
}

body.calculator.summary td {
    color: #2C3948;
}

body.calculator.summary td {
    font: normal normal 400 14px/24px Montserrat;
}

body.calculator.summary td.params-wrapper .bold {
    margin-bottom: 11px;
}

body.calculator.summary td .bold {
    font: normal normal 700 16px/24px Montserrat;
}

.option-wrapper .swiper-nav-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    border: 0;
    display: block;
    width: 9px;
    height: 16px;
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options-swiper-arrow.svg') !important;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    margin-top: 0 !important;
}

.option-wrapper .swiper-button-prev {
    left: auto;
    right: 30px;
}

.grr-swiper .swiper-slide img {
    fill: red;
}

.grr-options {
    position: fixed;
    top: 125px;
    left: 40px;
    background-color: #fff;
    padding: 10px;
}

.grr-options:hover {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.grr-options-wrapper {
    display: flex;
    flex-direction: row;
}

.grr-options > p {
    width: 80px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
}

.grr-options-list {
    display: none;
}

.grr-options:hover .grr-options-list {
    display: flex;
    flex-direction: row;
}

.grr-options-btn,
.m-options-btn,
.grr-option {
    display: flex;
    width: 80px;
    height: 60px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    cursor: pointer;
}

.m-options-btn {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/podglad.svg');
}

.grr-option.komplet {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/komplet.svg');
}

.grr-option.komplet.active,
.grr-option.komplet:hover {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/komplet-hover.svg');
}

.grr-option.furtka {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/furtka.svg');
}

.grr-option.furtka.active,
.grr-option.furtka:hover {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/furtka-hover.svg');
}

.grr-option.brama {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/brama.svg');
}

.grr-option.brama.active,
.grr-option.brama:hover {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/brama-hover.svg');
}

.grr-option.przeslo {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/przeslo.svg');
}

.grr-option.przeslo.active,
.grr-option.przeslo:hover {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/przeslo-hover.svg');
}

.grr-options-btn {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/anim-ico.svg');
}

.grr-option.otworz {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/otwo.svg');
}

.grr-option.otworz.active,
.grr-option.otworz:hover {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/otwo-hover.svg');
}

.grr-option.uchyl {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/uchyl.svg');
}

.grr-option.uchyl.active,
.grr-option.uchyl:hover {
    background-image: url('https://d3go3e0145fp2e.cloudfront.net/img/calculator/options/uchyl-hover.svg');
}

.options-container-mobile-btn {
    display: none;
}

.color-box {
    display: flex;
    height: 43px;
    width: 43px;
    box-shadow: inset 2px 4px 4px rgb(0 0 0 / 25%);
    border-radius: 50%;
    border: 2px solid #fff;
}

.color-box-hover-name {
    display: none;
}

.swiper-container.color-swiper {
    overflow: unset;
}

.option-wrapper.color.swiper {
    overflow: hidden;
}

.options .swiper-container.color-swiper .swiper-slide:hover .color-box-hover-name {
    position: absolute;
    bottom: calc(100% + 5px);
    left: 0;
    display: block;
    display: flex;
    padding: 10px 15px;
    background: #2C3948;
    border-radius: 10px;
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    color: #FFFFFF;
    white-space: nowrap;
    z-index: 99999;
}

.options .swiper-container.color-swiper .swiper-slide:nth-child(7):hover .color-box-hover-name,
.options .swiper-container.color-swiper .swiper-slide:nth-child(8):hover .color-box-hover-name,
.options .swiper-container.color-swiper .swiper-slide:nth-child(9):hover .color-box-hover-name,
.options .swiper-container.color-swiper .swiper-slide:nth-child(10):hover .color-box-hover-name {
    left: auto;
    right: 0;
}

.calculator .loadingIco {
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator .lds-ring div {
    border-color: #000 transparent transparent transparent;
}

.options section.list li .title-section {
    display: flex;
    justify-content: space-between;
}

.options section.list li .prices .value {
    font: normal normal 700 16px/24px Montserrat;
    color: #2C3948;
}

.price-box .price {
    display: flex;
    flex-direction: row;
    justify-self: right;
    align-items: center;
    font: normal normal 600 24px/28px Montserrat;
}

.price-box .price .val {
    margin: 0 5px;
}

.price-info-ico {
    position: relative;
}

.price-info-ico img {
    width: 17px;
    height: 17px;
    margin: 0;
    cursor: pointer;
}

.price-info-ico p {
    display: none;
}

.price-info-ico:hover p {
    display: flex;
    position: absolute;
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
    background: #2C3948;
    border-radius: 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    align-items: center;
    text-align: right;
    color: #FFFFFF;
    padding: 15px 24px;
    width: 50vw;
}

.price-info-ico p::after {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    display: block;
    content: '';
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #2C3948;
}

@media only screen and (max-width: 768px) {
    .price-info-ico:hover p {
        top: unset;
        bottom: calc(100% + 15px);
        right: -40px;
        transform: translateY(0);
        font-size: 10px;
        line-height: 1.5;
        padding: 10px;
    }

    .price-info-ico p::after {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #2C3948;
        border-bottom: unset;
        top: 100%;
        right: 38px;
        left: unset;
        transform: translateY(0);
    }
}

.option-wrapper[data-kind="swiper"] .swiper-slide {
    background-color: #F5F5F5;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    font: normal normal 600 16px/21px Montserrat;
    height: auto;
}

.option-wrapper[data-kind="swiper"] .swiper-slide .desc {
    padding: 16px 10px;
}

.sales-title {
    color: #00AEEF;
    font-size: 14px;
}

.sales-desc {
    font: normal normal 400 10px/14px Montserrat;
}

.price-container .info-wrapper {
    display: flex;
    justify-content: start;
    gap: 7px;
    font: normal normal 400 14px/24px Montserrat;
    color: #000000;
}

.price-container .info-wrapper i {
    background: url('https://d3go3e0145fp2e.cloudfront.net/img/elements/icons/blue/info.svg') no-repeat 50% 50% transparent;
    width: 24px;
    height: 24px;
}

.price-container .info-wrapper img {
    margin: unset;
}

.calculator .picture button.ar-button {
    border-radius: 100vw;
    position: absolute;
    bottom: 10px;
    margin: auto;
    left: 0;
    right: 0;
    width: max-content;
    background: #FFFFFF;
    color: #00AEEF;
    display: flex;
    border: 2px solid #00AEEF;
    padding: 0 15px;
    height: 34px;
    gap: 8px;
    align-items: center;
}