/* Fruitiers Bio PRO — Phase 5 homepage and authentication presentation. */
:root {
    --fb-pro-navy: #2e356c;
    --fb-pro-navy-deep: #20264f;
    --fb-pro-green: #46b712;
    --fb-pro-ink: #252a45;
    --fb-pro-muted: #646a7d;
    --fb-pro-line: #dfe2ea;
    --fb-pro-soft: #f6f7f4;
}

body.page-id-297513,
body.page-id-297575,
body.page-id-297576,
body.page-id-297578 {
    background: var(--fb-pro-soft);
}

/* The two gateway headers (42826 and 297584 share the same structure). */
body.page-id-297513 .et-l--header .et_pb_section,
body.page-id-297575 .et-l--header .et_pb_section,
body.page-id-297576 .et-l--header .et_pb_section {
    position: relative;
    min-height: 290px;
    display: flex;
    align-items: center;
    padding: 0 !important;
    overflow: hidden;
    background-position: center 46% !important;
    background-size: cover !important;
}

body.page-id-297513 .et-l--header .et_pb_section::before,
body.page-id-297575 .et-l--header .et_pb_section::before,
body.page-id-297576 .et-l--header .et_pb_section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 37, 79, .46), rgba(46, 53, 108, .25));
    pointer-events: none;
}

body.page-id-297513 .et-l--header .et_pb_row,
body.page-id-297575 .et-l--header .et_pb_row,
body.page-id-297576 .et-l--header .et_pb_row {
    position: relative;
    z-index: 1;
    width: calc(100% - 48px) !important;
    max-width: 1180px !important;
    padding: 24px 0 22px !important;
}

body.page-id-297513 .et-l--header .et_pb_image,
body.page-id-297575 .et-l--header .et_pb_image,
body.page-id-297576 .et-l--header .et_pb_image {
    width: 205px !important;
    max-width: 46vw !important;
    margin: 0 auto 13px !important;
}

body.page-id-297513 .et-l--header .et_pb_image img,
body.page-id-297575 .et-l--header .et_pb_image img,
body.page-id-297576 .et-l--header .et_pb_image img {
    display: block;
    width: 100% !important;
    height: auto !important;
}

body.page-id-297513 .et-l--header h1,
body.page-id-297575 .et-l--header h1,
body.page-id-297576 .et-l--header h1 {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: clamp(48px, 4.35vw, 64px) !important;
    font-weight: 600 !important;
    line-height: .98 !important;
    letter-spacing: .015em !important;
    text-transform: none;
    text-shadow: 0 2px 16px rgba(15, 20, 49, .34);
}

/* Body rhythm and typography. */
body.page-id-297513 #main-content,
body.page-id-297575 #main-content,
body.page-id-297576 #main-content,
body.page-id-297578 #main-content {
    background: var(--fb-pro-soft);
}

body.page-id-297513 #main-content > .et_builder_inner_content > .et_pb_section,
body.page-id-297575 #main-content > .et_builder_inner_content > .et_pb_section,
body.page-id-297576 #main-content > .container {
    padding-top: 64px !important;
    padding-bottom: 72px !important;
}

body.page-id-297513 #main-content .et_pb_row,
body.page-id-297575 #main-content .et_pb_row {
    width: calc(100% - 48px) !important;
    max-width: 1120px !important;
}

body.page-id-297513 #main-content h2,
body.page-id-297575 #main-content h2,
body.page-id-297576 #main-content h1.entry-title {
    color: var(--fb-pro-navy) !important;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-size: 42px !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: .01em !important;
    text-transform: none;
}

body.page-id-297513 #main-content p,
body.page-id-297575 #main-content p,
body.page-id-297576 #main-content p {
    color: var(--fb-pro-muted);
    line-height: 1.6;
}

body.page-id-297578 #main-content > .et_builder_inner_content > .et_pb_section {
    padding-top: 58px !important;
    padding-bottom: 68px !important;
    background: var(--fb-pro-soft) !important;
}

/* Existing WooCommerce/Profile Builder components remain intact; only their skin changes. */
body.page-id-297513 .woocommerce-form-login,
body.page-id-297575 #wppb-register-user,
body.page-id-297576 #wppb-loginform,
body.page-id-297578 #wppb-recover-password {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 760px;
    margin: 22px auto 38px !important;
    padding: 34px 36px !important;
    border: 1px solid var(--fb-pro-line) !important;
    border-top: 3px solid var(--fb-pro-green) !important;
    border-radius: 3px !important;
    background: #fff;
    box-shadow: 0 16px 46px rgba(30, 37, 79, .08);
}

body.page-id-297576 #wppb-loginform {
    max-width: 620px;
    margin-left: 0 !important;
}

body.page-id-297578 #wppb-recover-password {
    max-width: 620px;
    margin-left: 0 !important;
}

body.page-id-297575 #wppb-register-user ul,
body.page-id-297576 #wppb-loginform ul,
body.page-id-297578 #wppb-recover-password ul {
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-297575 #wppb-register-user li,
body.page-id-297576 #wppb-loginform li,
body.page-id-297578 #wppb-recover-password li {
    margin: 0 0 17px !important;
    padding: 0 !important;
    list-style: none !important;
}

body.page-id-297513 .woocommerce-form-login label,
body.page-id-297575 #wppb-register-user label,
body.page-id-297576 #wppb-loginform label,
body.page-id-297578 #wppb-recover-password label {
    display: block;
    float: none !important;
    width: 100% !important;
    margin-bottom: 7px;
    color: var(--fb-pro-ink) !important;
    font-family: Raleway, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

body.page-id-297513 .woocommerce-form-login input[type="text"],
body.page-id-297513 .woocommerce-form-login input[type="email"],
body.page-id-297513 .woocommerce-form-login input[type="password"],
body.page-id-297575 #wppb-register-user input[type="text"],
body.page-id-297575 #wppb-register-user input[type="email"],
body.page-id-297575 #wppb-register-user input[type="tel"],
body.page-id-297575 #wppb-register-user input[type="password"],
body.page-id-297575 #wppb-register-user select,
body.page-id-297576 #wppb-loginform input[type="text"],
body.page-id-297576 #wppb-loginform input[type="email"],
body.page-id-297576 #wppb-loginform input[type="password"],
body.page-id-297578 #wppb-recover-password input[type="text"],
body.page-id-297578 #wppb-recover-password input[type="email"] {
    box-sizing: border-box;
    width: 100% !important;
    min-height: 50px;
    padding: 10px 14px !important;
    border: 1px solid #cfd4df !important;
    border-radius: 2px !important;
    background: #fff !important;
    color: var(--fb-pro-ink) !important;
    font-size: 16px !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

body.page-id-297513 .woocommerce-form-login input:focus,
body.page-id-297575 #wppb-register-user input:focus,
body.page-id-297575 #wppb-register-user select:focus,
body.page-id-297576 #wppb-loginform input:focus,
body.page-id-297578 #wppb-recover-password input:focus {
    border-color: var(--fb-pro-navy) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 53, 108, .10);
}

body.page-id-297513 .woocommerce-form-login button,
body.page-id-297513 #main-content .et_pb_button,
body.page-id-297575 #register,
body.page-id-297575 #main-content .et_pb_button,
body.page-id-297576 #wppb-submit,
body.page-id-297578 #wppb-recover-password-button {
    min-height: 48px;
    padding: 13px 24px !important;
    border: 1px solid var(--fb-pro-green) !important;
    border-radius: 2px !important;
    background: var(--fb-pro-green) !important;
    color: #fff !important;
    font-family: Raleway, Helvetica, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase;
    box-shadow: none !important;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

body.page-id-297513 .woocommerce-form-login button:hover,
body.page-id-297513 #main-content .et_pb_button:hover,
body.page-id-297575 #register:hover,
body.page-id-297575 #main-content .et_pb_button:hover,
body.page-id-297576 #wppb-submit:hover,
body.page-id-297578 #wppb-recover-password-button:hover {
    border-color: var(--fb-pro-navy) !important;
    background: var(--fb-pro-navy) !important;
    transform: translateY(-1px);
}

body.page-id-297513 .woocommerce-LostPassword a,
body.page-id-297576 #wppb-loginform a,
body.page-id-297576 #main-content a[href*="password-reset"],
body.page-id-297576 #main-content a[href*="lostpassword"] {
    color: var(--fb-pro-green) !important;
    font-weight: 600;
}

body.page-id-297513 .woocommerce-error,
body.page-id-297575 .wppb-error,
body.page-id-297575 .wppb-warning,
body.page-id-297576 .wppb-error,
body.page-id-297576 .wppb-warning,
body.page-id-297578 .wppb-error,
body.page-id-297578 .wppb-warning {
    border: 1px solid #c94c4c !important;
    border-left: 4px solid #c94c4c !important;
    border-radius: 2px !important;
    background: #fff6f6 !important;
    color: #7a2424 !important;
}

/* Replace the old dashed information block with a professional card. */
body.page-id-297513 #main-content .et_pb_section > .et_pb_row:last-child,
body.page-id-297575 #agri-pros {
    margin-top: 42px !important;
    padding: 38px 42px !important;
    border: 1px solid var(--fb-pro-line) !important;
    border-top: 3px solid var(--fb-pro-navy) !important;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 16px 46px rgba(30, 37, 79, .06);
}

body.page-id-297513 #main-content h3,
body.page-id-297575 #agri-pros h3 {
    color: var(--fb-pro-navy) !important;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif !important;
    font-weight: 600 !important;
}

/* Keep both dedicated footers visually connected to the approved PRO system. */
body.page-id-297513 .et-l--footer,
body.page-id-297575 .et-l--footer,
body.page-id-297576 .et-l--footer {
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: var(--fb-pro-navy);
}

body.page-id-297513 .et-l--footer .et_pb_section,
body.page-id-297575 .et-l--footer .et_pb_section,
body.page-id-297576 .et-l--footer .et_pb_section {
    background-color: var(--fb-pro-navy) !important;
}

body.page-id-297513 .et-l--footer .et_pb_section_0_tb_footer,
body.page-id-297513 .et-l--footer .et_pb_section_1_tb_footer,
body.page-id-297575 .et-l--footer .et_pb_section_0_tb_footer,
body.page-id-297575 .et-l--footer .et_pb_section_1_tb_footer,
body.page-id-297576 .et-l--footer .et_pb_section_0_tb_footer,
body.page-id-297576 .et-l--footer .et_pb_section_1_tb_footer {
    display: none !important;
}

@media (max-width: 980px) {
    body.page-id-297513 .et-l--header .et_pb_section,
    body.page-id-297575 .et-l--header .et_pb_section,
    body.page-id-297576 .et-l--header .et_pb_section {
        min-height: 230px;
        background-position: 55% 46% !important;
    }

    body.page-id-297513 .et-l--header .et_pb_image,
    body.page-id-297575 .et-l--header .et_pb_image,
    body.page-id-297576 .et-l--header .et_pb_image {
        width: 175px !important;
    }

    body.page-id-297513 .et-l--header h1,
    body.page-id-297575 .et-l--header h1,
    body.page-id-297576 .et-l--header h1 {
        font-size: 48px !important;
    }

    body.page-id-297513 #main-content > .et_builder_inner_content > .et_pb_section,
    body.page-id-297575 #main-content > .et_builder_inner_content > .et_pb_section,
    body.page-id-297576 #main-content > .container {
        padding-top: 48px !important;
        padding-bottom: 58px !important;
    }

    body.page-id-297578 #main-content > .et_builder_inner_content > .et_pb_section {
        padding-top: 46px !important;
        padding-bottom: 56px !important;
    }
}

@media (max-width: 767px) {
    body.page-id-297513 .et-l--header .et_pb_section,
    body.page-id-297575 .et-l--header .et_pb_section,
    body.page-id-297576 .et-l--header .et_pb_section {
        min-height: 190px;
        background-position: 61% 46% !important;
    }

    body.page-id-297513 .et-l--header .et_pb_row,
    body.page-id-297575 .et-l--header .et_pb_row,
    body.page-id-297576 .et-l--header .et_pb_row,
    body.page-id-297513 #main-content .et_pb_row,
    body.page-id-297575 #main-content .et_pb_row {
        width: calc(100% - 36px) !important;
    }

    body.page-id-297513 .et-l--header .et_pb_image,
    body.page-id-297575 .et-l--header .et_pb_image,
    body.page-id-297576 .et-l--header .et_pb_image {
        width: 135px !important;
        margin-bottom: 8px !important;
    }

    body.page-id-297513 .et-l--header h1,
    body.page-id-297575 .et-l--header h1,
    body.page-id-297576 .et-l--header h1 {
        font-size: 38px !important;
        line-height: 1 !important;
    }

    body.page-id-297513 #main-content h2,
    body.page-id-297575 #main-content h2,
    body.page-id-297576 #main-content h1.entry-title {
        font-size: 34px !important;
    }

    body.page-id-297513 .woocommerce-form-login,
    body.page-id-297575 #wppb-register-user,
    body.page-id-297576 #wppb-loginform,
    body.page-id-297578 #wppb-recover-password {
        margin: 18px auto 30px !important;
        padding: 25px 20px !important;
    }

    body.page-id-297513 #main-content .et_pb_section > .et_pb_row:last-child,
    body.page-id-297575 #agri-pros {
        padding: 28px 20px !important;
    }
}
