/* Marphil Product Section v0.1.7
 * Visual styles are scoped to this module only.
 * iqitcustomform is not modified.
 */
.marphil-product-section {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    min-height: 540px;
    margin: 45px 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    overflow: hidden;
    background-color: #c8c0ba;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
}

.marphil-product-section,
.marphil-product-section * {
    box-sizing: border-box;
}

.marphil-product-section--no-image {
    background-color: #c8c0ba;
}

.marphil-product-section__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, .10);
    pointer-events: none;
}

.marphil-product-section__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    min-height: 540px;
    margin: 0 auto;
    padding: 48px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.marphil-product-section__content-column {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 560px;
}

.marphil-product-section__content {
    max-width: 560px;
    padding: 20px 0;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.marphil-product-section__title {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.08;
    font-weight: 700;
    text-transform: uppercase;
}

.marphil-product-section__subtitle {
    margin: 0 0 22px;
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    text-transform: uppercase;
}

.marphil-product-section__description {
    margin: 0 0 20px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.marphil-product-section__phone-label {
    margin: 0 0 7px;
    color: #fff;
    font-size: 12px;
    line-height: 1.3;
}

.marphil-product-section__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 34px;
    padding: 8px 20px;
    border-radius: 20px;
    background: rgba(195, 165, 145, .95);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    text-shadow: none;
    transition: opacity .2s ease;
}

.marphil-product-section__phone:hover,
.marphil-product-section__phone:focus {
    color: #fff;
    text-decoration: none;
    opacity: .88;
}

/* The form is an existing iqitcustomform instance. These rules only
 * constrain that instance inside this module; iqitcustomform itself is untouched.
 */
.marphil-product-section__form-column {
    flex: 0 0 450px;
    width: 450px;
    max-width: 450px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.marphil-product-section__form-column .custom-taller-wrapper {
    width: 450px;
    max-width: 450px;
    margin: 0;
    padding: 20px 32px 22px;
    box-sizing: border-box;
}

.marphil-product-section__form-column .custom-taller-form {
    width: 100%;
    max-width: 100%;
}

.marphil-product-section__form-column input,
.marphil-product-section__form-column textarea,
.marphil-product-section__form-column select {
    max-width: 100%;
}

.marphil-product-section__form-column textarea {
    min-height: 72px;
}

.marphil-product-section__form-column .g-recaptcha {
    max-width: 100%;
}

@media (max-width: 1100px) {
    .marphil-product-section__inner {
        gap: 35px;
        padding-left: 28px;
        padding-right: 28px;
    }

    .marphil-product-section__content-column {
        max-width: calc(100% - 400px);
    }

    .marphil-product-section__form-column,
    .marphil-product-section__form-column .custom-taller-wrapper {
        width: 400px;
        max-width: 400px;
    }

    .marphil-product-section__form-column {
        flex-basis: 400px;
    }
}

@media (max-width: 900px) {
    .marphil-product-section__inner {
        gap: 25px;
    }

    .marphil-product-section__content-column {
        max-width: calc(100% - 350px);
    }

    .marphil-product-section__form-column,
    .marphil-product-section__form-column .custom-taller-wrapper {
        width: 350px;
        max-width: 350px;
    }

    .marphil-product-section__form-column {
        flex-basis: 350px;
    }
}

@media (max-width: 767px) {
    .marphil-product-section {
        min-height: 0;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .marphil-product-section__inner {
        min-height: 0;
        padding: 40px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .marphil-product-section__content-column {
        max-width: none;
    }

    .marphil-product-section__content {
        max-width: none;
    }

    .marphil-product-section__title {
        font-size: 28px;
        line-height: 1.1;
    }

    .marphil-product-section__form-column,
    .marphil-product-section__form-column .custom-taller-wrapper {
        width: 100%;
        max-width: 450px;
        flex-basis: auto;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .marphil-product-section__inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .marphil-product-section__form-column,
    .marphil-product-section__form-column .custom-taller-wrapper {
        max-width: 100%;
    }
}
