section.price {
    margin-top: 80px;
    margin-bottom: 80px;
    .items {
        .item {
            padding: 30px;
            border: 1px solid #e5e5e5;
            border-bottom: none;
            display: flex;
            justify-content: space-between;
            gap: 20px;
            align-items: center;
            h3 {
                margin-bottom: 10px;
                font-weight: 600;
                font-size: 24px;
                max-width: 640px;
            }
            p {
                max-width: 450px;
                color: var(--dark-gray);
                font-size: 14px;
            }
            .price {
                font-size: 24px;
                font-weight: 600;
                color: var(--c-dark);
                white-space: nowrap;
            }
            &:last-of-type {
                border-bottom: 1px solid #e5e5e5;
            }
        }
    }
}
section.order {
    background: var(--c-light);
    padding: 100px 0 140px;
    .wrapper {
        section.cta-call {
            display: flex;
            gap: 90px;
            background: #505775;
            margin-bottom: 100px;
            justify-content: center;
            align-items: center;
            padding: 40px 0;
            border-radius: 17px;
            h2 {
                color: var(--white);
                font-size: 20px;
                font-weight: 400;
                text-transform: uppercase;
            }
            a {
                color: var(--white);
                font-size: 20px;
                font-weight: 500;
            }
            .social {
                display: flex;
                gap: 10px;
                a {
                    width: 30px;
                    height: 30px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    &::before {
                        font-family: icon;
                        font-size: 20px;
                        color: var(--white);
                        transition: .2s linear;
                    }
                    &.tg {
                        &::before {
                            content: '\e909';
                        }
                    }
                    &.vb {
                        &::before {
                            content: '\e907';
                        }
                    }
                    &.ig {
                        &::before {
                            content: '\e908';
                        }
                    }
                }
            }
        }
        section.calc {
            h2 {
                font-weight: 500;
                font-size: 50px;
                letter-spacing: 1%;
                font-family: drukcyr;
                color: var(--c-dark);
                text-align: center;
                text-transform: uppercase;
                margin-bottom: 50px;
            }
            form {
                display: flex;
                flex-direction: column;
                gap: 60px;
                .row-f {
                    display: flex;
                    gap: 20px;
                    > p {
                        width: 32%;
                        color: #707070;
                        text-transform: uppercase;
                        font-size: 22px;
                        font-weight: 600;
                    }
                    > .content {
                        width: 68%;
                        .row {
                            display: flex;
                            justify-content: space-between;
                            gap: 20px;
                            padding: 20px 0;
                            border-bottom: 1px solid #c5c5c5;
                            .ttl {
                                font-size: 24px;
                                color: var(--c-dark);
                                font-weight: 600;
                            }
                            .box {
                                display: flex;
                                gap: 20px;
                                align-items: center;
                                width: 100%;
                                label {
                                    width: 46%;
                                }
                                span {
                                    width: 40%;
                                    color: var(--dark-gray);
                                    font-size: 14px;
                                }
                            }
                        }
                        .form {
                            .oc {
                                font-size: 14px;
                                color: var(--dark-gray);
                                margin-bottom: 40px;
                                display: block;
                                max-width: 440px;
                            }
                            .per-data {
                                display: grid;
                                grid-template-columns: repeat(2, 1fr);
                                gap: 15px 30px;
                                input, textarea {
                                    width: 100%;
                                    display: flex;
                                    background: rgba(0, 0, 0, 0.04);
                                    border-radius: 20px;
                                    padding: 0 20px;
                                    height: 36px;
                                    color: var(--c-dark);
                                    border: none;
                                    font-size: 16px;
                                    &::placeholder {
                                        color: #7a7a7a;
                                    }
                                    &:focus {
                                        outline: 1px solid var(--dark-gray);
                                    }
                                }
                                > input {
                                    margin-bottom: 15px;
                                }
                                > input:-webkit-autofill,
                                > input:-webkit-autofill:hover,
                                > input:-webkit-autofill:focus,
                                input:-webkit-autofill:active {
                                    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
                                    box-shadow: 0 0 0 1000px transparent inset !important;
                                    -webkit-text-fill-color: var(--c-dark) !important;
                                    transition: background-color 9999s ease-in-out 0s;
                                }
                                textarea {
                                    resize: vertical;
                                    min-height: 140px;
                                    height: 140px;
                                    max-height: 200px;
                                    padding-top: 15px;
                                    padding-bottom: 10px;
                                }
                                .fw {
                                    grid-column: span 2;
                                }
                                .term {
                                    display: flex;
                                    gap: 15px;
                                    align-items: center;
                                    input {
                                        height: 16px;
                                        max-width: 16px;
                                        width: 16px;
                                        padding: 0;
                                        margin: 0;
                                        display: block;
                                        &:focus {
                                            outline: none;
                                        }
                                    }
                                    label {
                                        color: var(--dark-gray);
                                        font-size: 14px;
                                        a {
                                            color: var(--c-danger);
                                        }
                                    }
                                }
                            }
                        }
                        .total {
                            max-width: 560px;
                            display: flex;
                            justify-content: space-between;
                            margin-top: 40px;
                            p {
                                color: var(--c-dark);
                                text-transform: uppercase;
                                font-size: 20px;
                                font-weight: 600;
                            }
                        }
                        .actions {
                            display: flex;
                            gap: 50px;
                            align-items: center;
                            margin-top: 40px;
                            .submit {
                                font-size: 20px;
                                width: 320px;
                                font-weight: 400;
                            }
                            a {
                                color: #707070;
                                font-size: 20px;
                                font-weight: 500;
                                position: relative;
                                display: flex;
                                padding: 2px 2px 4px 0;
                                flex-direction: column;
                                &::after {
                                    content: '';
                                    position: absolute;
                                    width: calc(100% - 4px);
                                    left: 2px;
                                    bottom: 0;
                                    height: 2px;
                                    background: #707070;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
section.compound {
    padding: 70px 0;
    h2 {
        font-weight: 500;
        font-size: 50px;
        letter-spacing: 1%;
        font-family: drukcyr;
        color: var(--c-dark);
        margin-bottom: 20px;
        text-transform: uppercase;
    }
    .notice {
        font-style: italic;
        margin-bottom: 30px;
        color: #333;
    }
    .items {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        .item {
            display: flex;
            flex-direction: column;
            gap: 20px;
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                max-height: 270px;
            }
            p {
                font-weight: 400;
                font-size: 15px;
                color: #333;
            }
            &.w-2 {
                grid-column: span 2;
                img {
                    max-height: unset;
                }
            }
            &.h-2 {
                grid-row: span 2;
                img {
                    max-height: unset;
                }
            }
        }
    }
}
@media screen and (max-width: 1279px) {
    section.price {
        margin: 60px 0;
        width: 100%;
        .items {
            .item {
                border-left: none;
                border-right: none;
                padding: 20px;
                align-items: start;
                .text {
                    max-width: 400px;
                }
            }
        }
    }
    section.order {
        .wrapper {
            section.cta-call {
                flex-direction: column;
                gap: 15px;
                padding: 30px 0;
                h2 {
                    max-width: 390px;
                    text-align: center;
                }
            }
        }
    }
    section.order {
        .wrapper {
            section.calc {
                form {
                    gap: 45px;
                    .row-f {
                        flex-direction: column;
                        > p {
                            width: 100%;
                        }
                        .content {
                            width: 100%;
                            .row {
                                padding: 15px 0;
                                .box {
                                    display: grid;
                                    grid-template-columns: 20px 1fr;
                                    gap: 10px 20px;
                                    span {
                                        grid-column: 2;
                                        width: 100%;
                                        max-width: 500px;
                                    }
                                    label {
                                        width: 100%;
                                        max-width: 500px;
                                        line-height: 1;
                                    }
                                }
                                &:first-of-type {
                                    border-top: 1px solid #c5c5c5;
                                }
                            }
                            .total {
                                max-width: unset;
                            }
                        }
                    }
                }
            }
        }
    }
    section.compound {
        .items {
            gap: 20px;
            .item {
                p {
                    font-size: 14px;
                }    
            }
        }
    }
}
@media screen and (max-width: 767px) {
    section.price {
        margin: 30px 0;
        .items {
            .item {
                padding: 15px 10px;
                align-items: start;
                position: relative;
                .text {
                    max-width: 400px;
                    h3 {
                        font-size: 16px;
                        width: 62%;
                    }
                    p {
                        font-size: 12px;
                    }
                }
                .price {
                    position: absolute;
                    right: 10px;
                    top: 15px;
                    font-size: 16px;
                }
            }
        }
    }
    section.order {
        padding: 80px 0;
        .wrapper {
            section.cta-call {
                margin-bottom: 80px;
                padding: 20px 12px;
                h2 {
                    max-width: unset;
                    font-size: 16px;
                }
                a {
                    font-size: 16px;
                }
            }
        }
    }
    section.order {
        .wrapper {
            section.calc {
                h2 {
                    font-size: 26px;
                    line-height: 1;
                    margin-bottom: 25px;
                }
                form {
                    .row-f {
                        > p {
                            font-size: 18px;
                        }
                        .content {
                            .row {
                                align-items: center;
                                padding: 10px 0;
                                .ttl {
                                    font-size: 14px;
                                }
                                .box {
                                    align-items: center;
                                    gap: 7px 20px;
                                    > input[type="checkbox"] {
                                        grid-row: span 2;
                                        display: block; 
                                    }
                                    span {
                                        font-size: 12px;
                                    }
                                }
                            }
                            .form {
                                .oc {
                                    font-size: 12px;
                                }
                                .per-data {
                                    display: flex;
                                    flex-direction: column;
                                    gap: 15px;
                                    input {
                                        margin-bottom: 0;
                                    }
                                    .term {
                                        label {
                                            font-size: 12px;
                                        }
                                    }
                                }
                            }
                            .total {
                                
                                margin: 25px 0;
                            }
                            .actions {
                                flex-direction: column-reverse;
                                gap: 25px;
                                a {
                                    font-size: 18px;
                                }
                                .btn.submit {
                                    font-size: 18px;
                                    width: 100%;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    section.compound {
        padding: 25px 0;
        h2 {
            max-width: 200px;
            font-size: 24px;
            line-height: 1;
            margin-bottom: 10px;
        }
        .notice {
            font-size: 12px;
        }
        .items {
            gap: 10px;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(6, 1fr);
            .item {
                gap: 10px;
                p {
                    font-size: 12px;
                }
                &.w-2 {
                    grid-column: 1;
                }
                &.h-2 {
                    grid-row: 1 / 4;
                }
                &:nth-of-type(2) {
                    grid-column: 2;
                    grid-row: 1 / 3;
                }
                &:nth-of-type(3) {
                    grid-column: 2;
                    grid-row: 3 / 5;
                }
                &:nth-of-type(4) {
                    grid-column: 1;
                    grid-row: 4 / 6;
                }
                &:nth-of-type(5) {
                    grid-column: 2;
                    grid-row: 5 / 7;
                }
            }
        }
    }
}