.checkout-title {
    font-size: 32px;
    margin-bottom: 40px;
}

.checkout-content {
    display: grid;
    grid-template-columns: 2.234fr 1fr;
    gap: 160px;
    margin-bottom: 100px;
}

.checkout-form > p > span {
    font-size: 14px;
    text-transform: uppercase;
}

.checkout-form > p > img {
    height: 20px;
    width: 20px;
}

.checkout-form > p > span:first-child {
    font-weight: 500;
    color: #111;
}

.checkout-form > p > span:last-child {
    font-weight: 400;
    color: #8D8D8D;
}

.checkout-form > p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.checkout-form > form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
}

.checkout-form > form input {
    width: 100%;
    font-size: 14px;
    padding: 14px 16px;
    box-sizing: border-box;
    border: 1px solid #DCDCDC;
    outline: none;
}

.checkout-form > form label {
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.two-column-input {
    grid-column: 1 / 3;
}

.summary-title {
    border: none;
}

.summary-item img {
    width: 76px;
    height: 92px;
}

.summary-item {
    display: flex;
    gap: 16px;
}

.summary-separator {
    height: 1px;
    background: #DCDCDC;
    margin: 20px 0;
}

.summary-info {
    padding-top: 0;
}

.summary-item > div > p,
.summary-item > div > p > span {
    font-size: 14px;
    font-weight: 400;
}

.summary-item .name {
    font-weight: 500;
    margin-bottom: 4px;
}

.summary-item > div > .item-parameters {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.summary-item > div > .item-parameters span {
    font-size: 14px;
}

.summary-item > div > .item-parameters .name {
    color: #8B8B8B;
    padding-right: 4px;
}

.summary-item .price {
    font-weight: 500;
}

.form-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
}

.form-control input {
    max-width: 364px;
    font-size: 14px;
    font-weight: 500;
}

.return-link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    gap: 8px;
}

.return-link span {
    font-size: 16px;
}

.return-link img {
    height: 24px;
    width: 24px;
}

header.header {
    padding-bottom: 0;
    margin-bottom: 40px;
}

@media (min-height: 1560px) {
    .footer {
        position: fixed;
        bottom: 0;
        width: 100%;
    }
}

@media (max-width: 1500px) {
    .checkout-content {
        gap: 80px;
    }
}

@media (max-width: 990px) {
    .checkout-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .checkout-content {
        display: block;
    }

    .checkout-form > p > span {
        font-size: 14px;
    }

    .checkout-form > p > img {
        height: 20px;
        width: 20px;
    }

    .checkout-form > form {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .two-column-input {
        grid-column: 1
    }

    .checkout-form > p {
        gap: 10px;
        margin-bottom: 40px;
    }

    .checkout-form > form label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .checkout-form > form input {
        font-size: 14px;
        padding: 14px 16px;
    }

    .return-link {
        justify-content: start;
        margin-bottom: 32px;
        gap: 8px;
    }

    .return-link img {
        height: 24px;
        width: 24px;
    }

    .return-link span {
        font-size: 16px;
    }

    .page-wrapper {
        display: block;
        padding: 0 16px;
    }

    .page-wrapper div {
        width: 100%;
    }

    .summary-item img {
        width: 76px;
        height: 92px;
    }

    .summary-separator {
        margin: 24px 0;
    }

    .summary-item > div > p, .summary-item > div > p > span {
        font-size: 14px;
    }

    .summary-item .name {
        margin-bottom: 4px;
    }

    .summary-item > div > .item-parameters {
        margin-top: 8px;
        margin-bottom: 12px;
        gap: 16px;
    }

    .summary-item > div > .item-parameters span {
        font-size: 14px;
        font-weight: 300;
    }

    .summary-item {
        gap: 16px;
    }

    .button {
        width: 100%;
        padding: 14px 0;
        font-size: 14px;
        margin-bottom: 120px;
    }

    .summary-title {
        margin-top: 40px;
    }

    .question .question-wrapper {
        height: 20px;
        width: 20px;
    }

    .question .question-wrapper img {
        height: 20px;
        width: 20px;
    }

    div.question {
        margin-top: -32px;
        margin-left: -12px;
    }

    p.summary-title {
        padding-bottom: 0;
    }

    .additional-item > div {
        margin-bottom: 16px;
    }

}
