.custom-page-content.content {
    display: flex;
    flex-direction: column;
    gap: var(--block-paddings);
}

.methods-block {
    background-color: var(--color-grey-background);
    padding: var(--block-paddings);

    h2 {
        margin-top: 0;
    }
}

.info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
    gap: 15px;

    .prices {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
        padding: 1px;
        margin: 0;
        background-color: var(--border-color);
        list-style: none;
        gap: 1px;

        .price {
            padding: 15px 10px;
            background-color: white;
            display: flex;
            flex-direction: column;
            gap: 5px;

            .title {
                color: var(--main-color);
                font-weight: 500;
            }

            .description {
                font-size: 14px;
            }
        }
    }
}

.delivery-times-block {
    background-color: var(--color-grey-background);
    padding: var(--block-paddings);
    display: flex;
    flex-direction: column;
    gap: 15px;

    h2 {
        margin: 0;
    }

    .delivery-times {
        background: none;
        gap: 20px;

        .delivery-time {
            box-shadow: inset 2px 0 0 0 var(--main-color);

            .description {
                font-size: 15px;
            }
        }
    }
}

.note {
    border: 1px solid rgba(201, 226, 241);
    border-left: 2px solid var(--main-color);
    background-color: rgb(234, 245, 251);
    padding: 10px;
    font-size: 15px;
}

.other-regions-deliveries-block {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));

    h2 {
        margin-top: 0;
    }

    .steps {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 1px 0 0 0;
        background-color: var(--border-color);
        gap: 1px;
        margin: 0;

        .step {
            display: grid;
            grid-template-columns: 50px 1fr;
            background-color: white;
            padding: 10px 0 10px 0;

            .number {
                grid-column: 1;
                grid-row: 1 / 3;
                color: var(--main-color);
                font-weight: 500;
            }

            .title {
                grid-column: 2;
                grid-row: 1;
                font-weight: 500;
            }

            .description {
                grid-column: 2;
                grid-row: 2;
            }
        }
    }
}

@media (width < 950px) {
    .other-regions-deliveries-block .steps .step {
        padding: 10px 10px 10px 10px;
    }
}

.order-check-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--color-grey-background);
    padding: var(--block-paddings);

    h2 {
        margin: 0;
    }

    .steps {
        margin: 0;
        grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));

        .step {
            &:hover {
                transform: translate(-3px, -3px);
                transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-out;
                box-shadow: inset -2px -2px 0 0 var(--main-color), 0 2px 8px 0 rgba(34, 60, 80, 0.12);
            }

            .number {
                font-size: 12px;
                font-weight: 400;
                display: flex;
                justify-content: center;
                align-items: center;
                --size: 25px;
                color: white;
                background-color: var(--main-color);
                width: var(--size);
                height: var(--size);
                border-radius: var(--size);
            }

            .description {
                font-size: 15px;
            }
        }
    }
}

.documents-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(550px, 100%), 1fr));
    gap: 25px;

    h2 {
        margin: 0;
    }

    .customer-types {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
        margin: 0;
        list-style: none;
        padding: 0;
        gap: 20px;

        .customer-type {
            border: 1px solid var(--border-color);
            padding: 15px;
            display: flex;
            gap: 10px;
            flex-direction: column;

            .title {
                font-size: 20px;
                font-weight: 400;
                color: var(--color-title);
            }

            .description {
                color: var(--color-text);
            }
        }
    }
}

.faq-block {
    background-color: var(--color-grey-background);
    padding: var(--block-paddings);

    .faq {
        background-color: var(--border-color);
        list-style: none;
        padding: 1px;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 1px;

        .item {
            background-color: white;
            padding: 15px;
            display: flex;
            flex-direction: column;

            &.active {
                .question .faq-icon {
                    &::after {
                        transform: rotate(90deg);
                        opacity: 0;
                    }
                    &::before {
                        transform: rotate(180deg);
                    }
                }

                .answer {
                    padding-top: 15px;
                    max-height: 1000px;
                    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
                }

            }

            &:hover {
                .question .faq-icon {
                    color: #007bff;
                }
            }

            .question {
                display: flex;
                justify-content: space-between;
                font-size: 18px;
                color: var(--color-title);

                .faq-icon {
                    cursor: pointer;
                    position: relative;
                    width: 16px;
                    height: 16px;
                    flex-shrink: 0;
                    margin-left: 16px;

                    &::before,
                    &::after {
                        content: "";
                        position: absolute;
                        background-color: currentColor;
                        transition: transform 0.25s ease-out;
                    }

                    &::before {
                        top: 7px;
                        left: 0;
                        width: 16px;
                        height: 2px;
                    }

                    &::after {
                        top: 0;
                        left: 7px;
                        width: 2px;
                        height: 16px;
                    }
                }
            }

            .answer {
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
                color: var(--color-text);
            }
        }
    }
}

.to-manager-block {
    padding: var(--block-paddings);
    color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
    background: linear-gradient(to right, rgb(15, 121, 178), rgb(36, 165, 235));
    h2 {
        margin-top: 0;
    }
    .second-part {
        display: grid;
        align-items: center;
        gap: 15px;
        grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
        justify-content: center;
        justify-items: center;
        .button {
            font-weight: 700;
            color: white;
        }

        #to-manager {
            border: 1px solid white;
            border-radius: 2px;
        }
    }
}