/* Calculator Head - Start */
.calculator-head {
    padding-bottom: 40px;
}
.calculator-head .h2 + .h3 {
    margin-top: 15px;
    font-weight: 400;
}
/* Calculator Head - End */

/* Calculator Content - Start */
.calculator-content {
    padding-bottom: 120px;
    gap: 30px;
}
.calculator-content .col-left {
    width: calc(60% - 10px);
    padding-right: 15px;
}
.calculator-content .col-right {
    width: calc(40% - 10px);
}

/* Calculator Content Top - Start */
.content-top.block-with-cols {
    justify-content: flex-start !important;
    gap: 20px 90px !important;
}
.attribute-head {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    margin-bottom: 15px;
}
.choose-color .color-content {
    gap: 30px;
    display: flex;
}
.quantity-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    overflow: hidden;
}
.quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ebebeb;
    border: none;
    outline: none;
    border-radius: 100%;
    color: #333;
    font-size: 18px;
    padding: 13px;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.3s;
}
.quantity-btn.plus {
    background: #171515;
}
.quantity-btn:hover {
    opacity: 0.8;
}
.quantity-input {
    width: 53px;
    height: 36px;
    text-align: center;
    border: none;
    font-size: 16px;
    padding: 10px 0;
    -moz-appearance: textfield;
    appearance: none;
    outline: none;
    border-bottom: 1px solid #e2e2e2;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
@media (max-width: 1279px) {
    .form-description {
        max-width: 100% !important;
    }
    .etap.mob {
        display: flex;
        width: 100%;
        padding-top: 5px;
        padding-bottom: 12px;
        border-bottom: 1px solid #acacac;
        font-size: 18px;
        line-height: 22px;
    }
    .choose-color .color-content {
        gap: 20px 60px;
        flex-wrap: wrap;
    }
    .content-top.block-with-cols {
        justify-content: space-between !important;
        gap: 30px 20px !important;
    }
    .details-order > * {
        width: 100%!important;
    }
}
/* Calculator Content Top - End */

/* Calculator Content Middle - Start */
.choose-image {
    display: flex;
    width: 100%;
    margin-top: 20px;
    margin-bottom: -10px;
}
.choose-image p {
    font-size: 23px;
    font-weight: 400;
    line-height: 32px;
}
.image-templates {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    height: 600px;
    overflow-y: auto;
}
.image-templates .image-template-box {
    position: relative;
    width: calc(100% / 5 - 15px);
    cursor: pointer;
}
.image-templates .image-template-box:before {
    content: "";
    background: url(../img/icons/checked.svg) no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 5px;
    right: 5px;
    display: flex;
    width: 19px;
    height: 19px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.image-templates .image-template-box.active:before {
    opacity: 1;
    visibility: visible;
}
.image-templates .image-template-box img {
    border-radius: 5px;
}
.choosed-template img {
    width: 100%;
    border-radius: 5px;
}

@media (max-width: 1279px) {
    .calculator-content {
        padding-bottom: 50px;
        gap: 20px;
    }
    .etap.etap-2.mob {
        padding-top: 20px;
    }
    .calculator-content .col-left {
        width: calc(100% - 0px);
        padding-right: 0px;
    }
    .calculator-content .col-right {
        width: calc(100% - 0px);
    }
    .image-templates {
        gap: 18px;
        height: 550px !important;
    }
    .image-templates .image-template-box {
        position: relative;
        width: calc(100% / 2 - 9px);
        cursor: pointer;
    }
    .etap.etap-3.mob {
        padding-top: 15px;
    }
}
/* Calculator Content Middle - End */

/* Calculator Content Bottom - Start */
.result-of-choise {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}
.panno-square {
    display: flex;
    gap: 10px;
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
    color: #777777;
}
.panno-square > .square-value {
    color: #191919;
    font-family: "Fixel Display";
    font-weight: 500;
}
.panno-price {
    display: flex;
    gap: 10px;
    font-family: "Fixel Display";
    font-size: 23px;
    line-height: 32px;
    font-weight: 500;
    color: #191919;
}
.panno-price del {
    font-size: 18px;
    padding-top: 1px;
}
.inform {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    color: #777;
    max-width: 440px;
}
.inform img {
    min-width: 27px;
    object-fit: contain;
}
.calculator-content .btn-group {
    gap: 15px;
}
.btn-white.call-back-call {
    border: 1px solid #dcdcdc;
}
@media (max-width: 1279px) {
    .result-of-choise {
        margin-top: 10px;
        margin-bottom: 20px;
    }
    .template-name.h3 {
        font-size: 23px;
        line-height: 32px;
    }
    .calculator-content .btn-group {
        flex-direction: column;
    }
    .calculator-content .btn-group a {
        width: 100%;
    }
    .inform {
        font-size: 16px;
        line-height: 20px;
        max-width: 260px;
        align-items: center;
    }
    .inform img {
        margin-bottom: 2px;
    }
}
/* Calculator Content Bottom - End */

/* Calculator Content - End */

/* Calculator Form - Start */
.form-description {
    flex-wrap: wrap;
}
.details-order {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}
.details-order > * {
    display: flex;
    gap: 4px;
    width: calc(100% / 3 - 7px);
    font-family: "Fixel Display";
    font-size: 16px;
}
.details-order > * > span:nth-child(1) {
    font-weight: 600;
}
/* Calculator Form - End */
