.flow.modal .modal-wrap {
    height: 100%;
}

.flow.modal .modal-content {
    height: 100%;
    overflow: hidden;
}

.flow.modal .flow-form {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow [data-step] {
    width: 100%;
    max-height: 100%;
    flex-direction: column;
}

.flow [data-status="inactive"] {
    display: none;
}

.flow .intro {
    margin-bottom: 2em;
}

.flow .intro .title {
    font-family: var(--font-gilroy);
    font-size: 2.75em;
    color: var(--text-green);
}

.flow .intro .description {
    margin-top: 1em;
    font-size: var(--font-size-regular);
    color: var(--text-green);
}

.flow .description-box {
    margin-top: 2em;
    padding: 1.4em;
    border-radius: var(--round-default);
    background: var(--text-green);
}

.flow .description-box-title {
    margin-bottom: 0.5em;
    font-family: var(--font-gilroy);
    font-size: 1.1em;
    font-weight: 900;
}

.flow .description-box ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 1em;
    grid-row-gap: 0px;
}

.flow .description-box li {
    font-size: 0.94em;
    display: flex;
    align-items: center;
    margin-top: 0.3em;
    color: var(--text-white);
    text-align: left;
}

.flow .description-box li::before {
    content: '\e876';
    display: inline-block;
    font-family: 'Material Icons';
    margin-right: 0.88em;
}

.flow .field-wrap {
    margin-bottom: 2em;
    text-align: left;
}

.flow .field-wrap label:not([for]):not(.small-label) {
    display: block;
    margin-bottom: 0.8em;
    font-family: var(--font-gilroy);
    font-weight: 900;
    font-size: 1.25em;
    color: var(--text-green);
}

.flow .field-wrap label[for] {
    display: block;
    padding: var(--flow-input-padding);
    border: 1px solid rgba(28, 50, 43, 0.2);
    text-align: left;
    color: var(--text-green);
    border-radius: var(--round-default);
    cursor: pointer;
}

.flow .field-wrap label[for]:not(:last-child) {
    margin-bottom: 0.75em;
}

.flow .field-wrap label[for] input[type="checkbox"] {
    display: none;
}

.flow .field-wrap label[for]:has(input[type="checkbox"]:checked) {
    outline: 3px solid rgba(13, 86, 79, 0.2);
}

.flow .label + .small-label {
    margin-bottom: 0.8em;
}

.flow label:not([for]).small-label {
    display: block;
    font-size: var(--font-size-regular);
    font-weight: 400;
    color: var(--text-green);
}

.flow .field-wrap .field-box:not(:last-child) {
    display: flex;
    gap: 1.5em;
    margin-bottom: 1.5em;
}

.flow .field-wrap input[type="text"], input[type="number"] {
    font-size: 1em;
    font-family: var(--font-gilroy);
    width: 100%;
    padding: var(--flow-input-padding);
    border: 1px solid rgba(28, 50, 43, 0.2);
    color: var(--text-green);
    border-radius: var(--round-default);
}

.flow .field-wrap .select-wrapper {
    position: relative;
}

.flow .field-wrap select {
    font-size: 1em;
    font-family: var(--font-gilroy);
    width: 100%;
    padding: var(--flow-input-padding);
    border: 1px solid rgba(28, 50, 43, 0.2);
    color: var(--text-green);
    border-radius: var(--round-default);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.flow .field-wrap .select-wrapper::after {
    position: absolute;
    right: -8px;
    top: 0.6em;
    font-size: 1.4em;
    content: '\e5cf';
    display: inline-block;
    font-family: 'Material Icons';
    margin-right: 0.88em;
}

.flow .field-wrap .select-wrapper:has(select:focus)::after {
    content: '\e5ce';
}

.flow .buttons > *:not(:last-child) {
    margin-right: 1.4em;
}

.flow .button.previous {
    cursor: pointer;
}

.flow .button.outline {
    color: var(--text-orange);
    border-color: var(--bgd-orange);
}

.flow .button.next {
    cursor: pointer;
}

.flow [data-step="5"] .buttons {
    margin-top: 1.4em;
}

.flow .holder {
    flex: 1;
    overflow-y: auto;
}

.flow .products-holder {
    flex: 1;
    gap: 1.5em;
    padding-right: 1.5em;
    overflow-y: auto;
}

.flow .product-box-item {
    flex: auto;
    max-width: 100%;
    text-align: left;
    width: calc(50% - 0.75em);
    cursor: pointer;
}

.flow .product-box-item .inner-box {
    padding: 1.25em;
    background: var(--bgd-white);
    outline-offset: -2px;
}

.flow .product-box-item.activated .inner-box {
    outline: 2px solid var(--text-green);
}

.flow .product-box-item .title {
    font-size: 1em;
}

.flow .product-box-item .button {
    width: 100%;
    justify-content: center;
}

.field-row {
    display: flex;
    gap: 1.5em;
    margin-bottom: 1.5em;
}

.field-cell {
    text-align: left;
}

.field-cell label {
    display: block;
    margin-bottom: 0.2em;
    font-size: 14px;
    color: var(--text-green);
}

.field-cell .field {
    width: 100%;
    padding: 1.2em;
    border: 1px solid rgba(13, 86, 79, 0.1);
    border-radius: 0.375em;
    color: var(--text-green);
    transition: border-color 0.35s ease-in-out;
}

.field-cell .field:focus {
    outline: 1px solid rgba(13, 86, 79, 0.1);
}

.field-cell textarea.field {
    font-family: var(--font-gilroy);
    height: 10em;
}

.wpcf7 form .wpcf7-response-output {
    margin-top: 0.7em;
}

@media all and (max-width: 1200px) {
    .flow .intro .title {
        font-size: 2.2em;
    }
    .flow .intro .description {
        font-size: 0.9em;
    }
    .flow .field-wrap label:not([for]):not(.small-label) {
        font-size: 1em;
    }
    .flow label:not([for]).small-label {
        font-size: 0.9em;
    }
    .flow .description-box {
        margin-top: 1.4em;
        padding: 1.4em 2em;
    }
    .flow .description-box-title {
        font-size: 1.1em;
    }
    .flow .description-box li {
        font-size: 0.9em;
    }
}

@media all and (max-width: 700px) {
    .flow .intro .title {
        font-size: 1.7em;
    }
    .flow .field-wrap label:not([for]):not(.small-label) {
        font-size: 0.9em;
        font-weight: 700;
    }
    .flow .field-wrap label[for] {
        font-size: 0.9em;
    }
    .flow .field-wrap input[type="text"], input[type="number"] {
        font-size: 0.9em;
    }
    .flow label:not([for]).small-label {
        font-size: 0.82em;
    }
}

@media all and (max-width: 600px) {
    .field-row {
        flex-direction: column;
    }
    .field-row .field-cell.w-1\/2 {
        width: 100%;
    }
}

@media all and (max-width: 500px) {
    .flow .intro .title {
        font-size: 1.2em;
    }
    .flow .intro .description {
        font-size: 0.82em;
    }
    .flow .description-box {
        display: none;
    }
    .flow .field-wrap label:not([for]):not(.small-label) {
        font-size: 0.82em;
    }
    .flow .field-wrap label[for] {
        font-size: 0.82em;
    }
    .flow .field-wrap input[type="text"], input[type="number"] {
        font-size: 0.82em;
    }
    .flow .products-holder {
        flex-wrap: wrap;
        gap: 0;
        padding-right: 0;
    }
    .flow .product-box-item {
        width: 100%;
    }
    .flow .product-box-item:not(:last-child) {
        margin-bottom: 1em;
    }
}

@media all and (max-height: 800px) {
    .field-row {
        display: flex;
        gap: 1em;
        margin-bottom: 1em;
    }
    .flow.modal .modal-content {
        overflow-y: auto;
    }
}
