/* ================================
   EMAIL MOODBOARD MODAL
   ================================ */
#fh-mb-email-modal .fh-mb-email-dialog {
    width: 80%;
    max-width: 1300px;
    max-height: 80vh;
    padding: 80px 120px;
    border: 0;     /* subtle blue frame like the comp */
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
    position: relative;
}

/* close icon sits on the white panel top-right */
#fh-mb-email-modal .fh-mb-modal__close {
    top: 32px;
    right: 32px;
}

/* Two-column interior layout */
#fh-mb-email-modal .fh-mb-email-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
}

/* LEFT COLUMN — heading + copy */

#fh-mb-email-modal .fh-mb-email-col--intro {
    flex: 0 0 340px;
}

#fh-mb-email-modal .fh-mb-email-heading {
    font-size: 40px;
    font-weight: 400;
    margin: 0 0 20px;
}

#fh-mb-email-modal .fh-mb-email-copy {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* RIGHT COLUMN — Gravity Form wrapper */

#fh-mb-email-modal .fh-mb-email-col--form {
    flex: 1;
    width: 100%;
}
#fh-mb-email-modal .gform_wrapper.gravity-theme .gfield_label{
    font-weight: unset;
    margin: 0;
}
#fh-mb-email-modal #gform_39 input[type="text"],
#fh-mb-email-modal #gform_39 input[type="email"],
#fh-mb-email-modal #gform_39 textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #cfcfcf;
    border-radius: 0;
    padding: 10px 0;
    font-size: 16px;
    font-family: inherit;
    background: transparent;
}

/* hide the literal "(Required)" text */
#fh-mb-email-modal #gform_39 .gfield_required_text {
    display: none;
}

/* show an asterisk instead, right after the label text */
#fh-mb-email-modal #gform_39 .gfield_label .gfield_required::before {
    content: "*";
    margin-left: 4px;
    font-size: 12px;
}

/* ------------------------------------------
   Optional message (only when sharing)
   ------------------------------------------ */
.gchoice.gchoice_39_9_1{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}
.gform_wrapper.gravity-theme .gfield-choice-input+label {
    font-weight: unset;
}

/* hide the legend (heading above checkbox) */
#fh-mb-email-modal #gform_39 .fh-mb-email-share .gfield_label {
    display: none;
}

/* Base checkbox – no blue background, no native style */
#fh-mb-email-modal #gform_39 input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;

    width: 16px;
    height: 16px;
    border: 1px solid #000;
    border-radius: 0;
    background: #fff;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

/* Remove blue focus glow */
#fh-mb-email-modal #gform_39 input[type="checkbox"]:focus {
    outline: none;
    box-shadow: none;
}

/* Custom thin tick */
#fh-mb-email-modal #gform_39 input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    transform: rotate(35deg);
    border-right: 1px solid #000;  /* thinner line */
    border-bottom: 1px solid #000; /* thinner line */
}
#input_39_11_6{
    font-size: 20px;
    padding: 4px 4px !important;
    border: none;
    border-bottom: 1px solid #cfcfcf;
    font-family: 'Antwerp', serif;
}

.gfield_contains_required .ginput_address_line_1 label:after,
.gfield_contains_required .ginput_address_city label:after,
.gfield_contains_required .ginput_address_state label:after,
.gfield_contains_required .ginput_address_zip label:after,
.gfield_contains_required .ginput_address_country label:after{
    content: "*";
    color: #d63638;
    margin-left: 4px;
    font-size: 12px;
}

#field_39_11 legend{
    border-bottom: none;
    display: none;
}
/* ------------------------------------------
   Footer / submit button
   ------------------------------------------ */
.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    display: flex;
    justify-content: flex-end;
}
div.gform_wrapper form .gform_footer input[type="submit"]{
    margin: unset;
}
#fh-mb-email-modal #gform_submit_button_39 {
    padding: 10px 60px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 16px;
    font-family: 'Circular', 'sans-serif';
    cursor: pointer;
    transition: all 0.2s;
    margin: unset;
}

#fh-mb-email-modal #gform_submit_button_39:hover {
    background: white;
    color: black;
}

/* While submitting: lock button styling + prevent hover visual change */
#fh-mb-email-modal .fh-gf-submit-wrap.is-submitting #gform_submit_button_39,
#fh-mb-email-modal .fh-gf-submit-wrap.is-submitting #gform_submit_button_39:hover,
#fh-mb-email-modal .fh-gf-submit-wrap.is-submitting #gform_submit_button_39:focus,
#fh-mb-email-modal .fh-gf-submit-wrap.is-submitting #gform_submit_button_39:active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
    cursor: default !important;
    pointer-events: none;        /* no hover possible */
    transition: none !important; /* optional */
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 768px) {
    #fh-mb-email-modal .fh-mb-email-dialog {
        width: 94%;
        padding: 40px 24px;
    }

    #fh-mb-email-modal .fh-mb-email-layout {
        flex-direction: column;
        gap: 32px;
    }

    #fh-mb-email-modal .fh-mb-email-col--intro {
        flex: none;
    }
    .gchoice.gchoice_39_4_1 {
        justify-content: flex-start;
    }
    #fh-mb-email-modal #gform_39 .gform_footer {
        text-align: left;
        justify-content: flex-start;
    }
    #fh-mb-email-modal #gform_39 .gform_footer .fh-gf-submit-wrap,
    #fh-mb-email-modal #gform_39 .gform_footer #gform_submit_button_39 {
        width: 100%;
    }
}
