
.custom-order-section__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.custom-order-section__card {
    padding: 60px;
    border-radius: 60px;
    height: 458px;
    position: relative;
    overflow: hidden;
}
.custom-order-section__card:nth-of-type(1) {
    background: var(--Yellow-gradient, linear-gradient(180deg, #FDEEC7 0%, #FDE4DC 100%));
}
.custom-order-section__card:nth-of-type(2) {
    background: var(--Pink-gradient, linear-gradient(180deg, #FDC7D7 0%, #FDE4DC 100%));
}
.custom-order-section__card-title {
    color: var(--Black, #2E2E2E);
    max-width: 355px;
    position: relative;
    z-index: 2;
}
.custom-order-section__card-subtitle {
    max-width: 50%;
    margin-top: 10px;
    color: var(--Grey, #626262);
    position: relative;
    z-index: 2;
}
.custom-order-section__card-btn {
    margin-top: 30px;
    position: relative;
    z-index: 2;
}
.custom-order-section__card-img {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.custom-order-section__card-plus-icon {
    position: absolute;
    right: 185px;
    bottom: 77px;
    z-index: 4;
}
.custom-order-section__card-ellipse {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.custom-order-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 34, 34, 0.60);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    overflow-y: auto;
    max-height: 100vh;
    flex-wrap: wrap;
}
.custom-order-modal_closed {
    display: none;
}
.custom-order-modal__panel {
    padding: 40px;
    width: 930px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    margin: 20px 0;
    background: var(--Yellow-gradient, linear-gradient(180deg, #FDEEC7 0%, #FDE4DC 100%));
}
.custom-order-modal__panel::before {
    content: url(../assets/img/custom-order-modal-bg.png);
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 100%;
    object-fit: cover;
    z-index: 1;
    display: none;
}
.custom-order-modal__panel::after {
    content: url(../assets/img/custom-order-modal-bg1.png);
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 100%;
    object-fit: cover;
    z-index: 1;
}
.custom-order-modal__close {
    position: absolute;
    top: 40px;
    right: 40px;
    cursor: pointer;
    z-index: 3;
}
.custom-order-modal__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}
.custom-order-modal__content h3 {
    padding-right: 40px;
}
.custom-order-modal__content-subtitle {
    color: var(--Grey, #626262);
    font-feature-settings: 'liga' off, 'clig' off;
}
.custom-order-modal__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 30px;
    align-items: center;
}

@media (max-width: 1439px) {
    .custom-order-section__card-title {
        max-width: 100%;
    }
    .custom-order-section__card {
        height: 670px;
    }
    .custom-order-section__card:nth-of-type(1)::after,
    .custom-order-section__card:nth-of-type(2)::after {
        top: 270px;
    }
}
@media (max-width: 1279px) {
    .custom-order-section__cards {
        grid-template-columns: 1fr;
    }
    .custom-order-section__card {
        padding: 40px;
        border-radius: 30px;
        height: 504px;
    }
    .custom-order-section__card:nth-of-type(2){
        height: 604px;
    }
    .custom-order-modal__panel {
        padding: 20px;
        width: calc(100% - 40px);
        max-width: 930px;
    }
    .custom-order-section__card-subtitle {
        max-width: 100%;
    }
}
@media (max-width: 779px) {
    .custom-order-modal__form {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
    .custom-order-modal__close {
        top: 20px;
        right: 20px;
    }
    .custom-order-modal__panel::before {
        display: block;
    }
    .custom-order-modal__panel::after {
        display: none;
    }
    .custom-order-section__card-btn {
        margin-top: 20px;
        height: 44px;
    }
}