/* Extracted from approved DEV presentation, source 2ad00bbdadc070f5d9e1dcca6bf224653c7df181.
 * Page scope is deliberate: no global tokens, buttons, forms or dashboard layout. */
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .page-id-29475, .page-id-29488, .page-id-29496, .page-id-9, .emuwing-legal-competition, .emuwing-cart-page) {
    --emuwing-page-heading-font: var(--wd-text-font, "Cabin", Arial, Helvetica, sans-serif);
    --emuwing-page-heading-size: 30px;
    --emuwing-page-heading-line: 40px;
    --emuwing-page-heading-weight: 600;
    --emuwing-page-title-padding: 60px;
    --emuwing-page-content-start-gap: 60px;
    --emuwing-page-section-gap: 40px;
    --emuwing-page-section-inner-gap: 16px;
    --emuwing-page-list-gap: 10px;
    --emuwing-page-zone-gap: 24px;
    --emuwing-page-zone-heading-size: 20px;
    --emuwing-page-zone-label-gap: 8px;
    --emuwing-page-heading-color: #242424;
    --emuwing-page-band-color: #111;
    --emuwing-page-band-background:
        radial-gradient(55% 120% at 52% 135%, rgba(245, 147, 33, 0.2) 0%, rgba(245, 147, 33, 0) 70%),
        radial-gradient(40% 90% at 38% -10%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 70%),
        radial-gradient(70% 160% at 100% 100%, rgba(245, 147, 33, 0.34) 0%, rgba(245, 147, 33, 0) 60%),
        linear-gradient(105deg, #111 0%, #1b1b1b 30%, #241f1a 60%, #2e2116 100%) var(--emuwing-page-band-color);
    --emuwing-page-band-heading-color: #fff;
    --emuwing-page-divider-color: #e5e5e5;
    --emuwing-page-accent-color: #f59321;
}

/* Native Woodmart title shells. */
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .page-id-9, .emuwing-legal-competition, .emuwing-cart-page) .wd-page-title {
    --wd-align: start;
    background: var(--emuwing-page-band-background) !important;
    padding: var(--emuwing-page-title-padding) 0;
    margin-bottom: 0;
    text-align: left;
}
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .page-id-9, .emuwing-legal-competition, .emuwing-cart-page) .wd-page-title .container {
    align-items: flex-start;
    text-align: left;
}
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .page-id-9, .emuwing-legal-competition, .emuwing-cart-page) .wd-page-title :is(.wd-page-title-bg, .wd-breadcrumbs) {
    display: none;
}
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .page-id-9, .emuwing-legal-competition, .emuwing-cart-page) .wd-page-title .entry-title {
    font-family: var(--emuwing-page-heading-font);
    font-size: var(--emuwing-page-heading-size);
    font-weight: var(--emuwing-page-heading-weight);
    line-height: var(--emuwing-page-heading-line);
    color: var(--emuwing-page-band-heading-color) !important;
    text-align: left;
    margin: 0;
    overflow-wrap: anywhere;
}
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .page-id-9, .emuwing-legal-competition, .emuwing-cart-page) .wd-page-title .entry-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 8px;
    background: var(--emuwing-page-accent-color);
}
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .page-id-9, .emuwing-legal-competition, .emuwing-cart-page) #main-content {
    padding-top: var(--emuwing-page-content-start-gap);
    padding-bottom: var(--emuwing-page-title-padding);
}
body.page-id-9 .wd-page-title .entry-title { text-transform: capitalize; }
body.page-id-9:not(.logged-in) #main-content .wd-registration-page .wd-login-title {
    font-family: var(--emuwing-page-heading-font);
    font-size: var(--emuwing-page-heading-size);
    font-weight: var(--emuwing-page-heading-weight);
    line-height: var(--emuwing-page-heading-line);
}
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .emuwing-legal-competition) #main-content { display: block; }

/* Elementor legal title shells, not their content widgets. */
body:is(.page-id-29475, .page-id-29488, .page-id-29496) #main-content {
    padding-top: 0;
    display: block;
    padding-bottom: var(--emuwing-page-title-padding);
}
body:is(.page-id-29475, .page-id-29488, .page-id-29496) #main-content > .elementor > .e-con:first-child {
    background: var(--emuwing-page-band-background) !important;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 15px;
    text-align: left;
}
body:is(.page-id-29475, .page-id-29488, .page-id-29496) #main-content > .elementor > .e-con:first-child > .e-con-inner { padding-block: var(--emuwing-page-title-padding); }
body:is(.page-id-29475, .page-id-29488, .page-id-29496) #main-content > .elementor > .e-con:first-child .title-wrapper { text-align: left !important; }
body:is(.page-id-29475, .page-id-29488, .page-id-29496) #main-content > .elementor > .e-con:first-child .title-wrapper::after { content: none; }
body:is(.page-id-29475, .page-id-29488, .page-id-29496) #main-content > .elementor > .e-con:first-child .liner-continer { position: relative; padding-bottom: 10px; }
body:is(.page-id-29475, .page-id-29488, .page-id-29496) #main-content > .elementor > .e-con:first-child .liner-continer::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--emuwing-page-accent-color);
}
body:is(.page-id-29475, .page-id-29488, .page-id-29496) #main-content > .elementor > .e-con:first-child .woodmart-title-container {
    font-family: var(--emuwing-page-heading-font);
    font-size: var(--emuwing-page-heading-size) !important;
    font-weight: var(--emuwing-page-heading-weight) !important;
    line-height: var(--emuwing-page-heading-line) !important;
    color: var(--emuwing-page-band-heading-color) !important;
    text-align: left;
    margin: 0;
    overflow-wrap: anywhere;
}
body:is(.page-id-29475, .page-id-29488, .page-id-29496) #main-content > .elementor > .e-con + .e-con { margin-top: var(--emuwing-page-content-start-gap); }
body.page-id-29488 #main-content .liner-continer:has(> .woodmart-title-container:empty) { display: none; }
body.page-id-29496 #main-content > .elementor > .e-con:not(:first-child) .woodmart-title-container { margin-top: 0; }

/* Legal body content only, excluding account controls and the footer. */
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .emuwing-legal-competition) #main-content :is(h1, h2, h3, h4),
body:is(.page-id-29475, .page-id-29488, .page-id-29496) #main-content > .elementor > .e-con:not(:first-child) :is(h1, h2, h3, h4) {
    font-family: var(--emuwing-page-heading-font);
    font-size: var(--emuwing-page-heading-size) !important;
    font-weight: var(--emuwing-page-heading-weight) !important;
    line-height: var(--emuwing-page-heading-line) !important;
    color: var(--emuwing-page-heading-color);
    margin-top: var(--emuwing-page-section-gap);
    margin-bottom: var(--emuwing-page-section-inner-gap);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--emuwing-page-divider-color);
}
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .page-id-29475, .page-id-29488, .page-id-29496, .emuwing-legal-competition) #main-content :is(ul, ol) { margin-bottom: var(--emuwing-page-zone-gap); }
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .page-id-29475, .page-id-29488, .page-id-29496, .emuwing-legal-competition) #main-content li { margin-bottom: var(--emuwing-page-list-gap); }
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .page-id-29475, .page-id-29488, .page-id-29496, .emuwing-legal-competition) #main-content :is(p, li, .wd-text-block, .emuwing-policy-document) { font-size: 16px; line-height: 1.6 !important; }
body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .page-id-29475, .page-id-29488, .page-id-29496, .emuwing-legal-competition) #main-content p { margin-bottom: 20px; }
body:is(.page-id-3, .page-id-1898) #main-content .emuwing-policy-document { max-width: none !important; }
body.page-id-1884 #main-content .entry-content > p:first-of-type,
body.page-id-1907 #main-content > p:first-of-type { font-weight: 600; }
body.page-id-1884 #post-1884 > h1.wp-block-heading:first-child,
body.page-id-1907 #main-content > h1.wp-block-heading:first-of-type { display: none; }
/* Original PROD Privacy markup has a preceding element. Hide only its first
 * direct body title; retain later headings and the title-band h1. No text edits. */
body.page-id-3 #post-3 > h1.wp-block-heading:first-of-type { display: none; }
body.page-id-29496 #main-content .title-after_title > p:has(> strong) {
    font-size: var(--emuwing-page-zone-heading-size);
    font-weight: var(--emuwing-page-heading-weight);
    margin-top: var(--emuwing-page-zone-gap);
    margin-bottom: var(--emuwing-page-zone-label-gap);
    padding-top: 20px;
    border-top: 1px solid var(--emuwing-page-divider-color);
}
@media (max-width: 767px) {
    body:is(.page-id-3, .page-id-1898, .page-id-1884, .page-id-1907, .page-id-29475, .page-id-29488, .page-id-29496, .page-id-9, .emuwing-legal-competition, .emuwing-cart-page) {
        --emuwing-page-heading-size: 26px;
        --emuwing-page-heading-line: 34px;
        --emuwing-page-title-padding: 36px;
        --emuwing-page-content-start-gap: 36px;
        --emuwing-page-section-gap: 32px;
    }
}

/* Cart uses its existing native progress header and commerce markup. */
body.emuwing-cart-page .wd-checkout-steps {
    justify-content: flex-start;
    font-family: var(--emuwing-page-heading-font);
    font-size: 16px;
    font-weight: var(--emuwing-page-heading-weight);
    line-height: 1.5;
    text-transform: none;
    color: rgba(255, 255, 255, .72);
}
body.emuwing-cart-page .wd-checkout-steps a {
    color: inherit;
    text-transform: none;
}
body.emuwing-cart-page .wd-checkout-steps .step-active > a {
    display: inline-block;
    text-decoration: none;
    font-size: var(--emuwing-page-heading-size);
    line-height: var(--emuwing-page-heading-line);
    color: var(--emuwing-page-band-heading-color);
}
body.emuwing-cart-page .wd-checkout-steps .step-active > a::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    margin-top: 8px;
    background: var(--emuwing-page-accent-color);
}
body.emuwing-cart-page #main-content {
    font-family: var(--emuwing-page-heading-font);
}
body.emuwing-cart-page #main-content :is(h2, h3, h4) {
    font-family: var(--emuwing-page-heading-font);
    text-transform: none;
}

/* Preserve the native Edit Account layout, fields and password controls. */
body.woocommerce-edit-account form.woocommerce-EditAccountForm {
    font-family: var(--wd-text-font, "Cabin", Arial, Helvetica, sans-serif);
    box-sizing: border-box;
    max-width: 880px;
    padding: 32px;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    background: #fff;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .form-row {
    margin-bottom: 24px;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .form-row label {
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.5;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm input:is([type="text"], [type="email"], [type="password"]) {
    font-family: inherit;
    font-size: 16px;
    height: 44px;
    padding: 0 12px;
    border-width: 1px;
    border-color: #d9d9d9;
    border-radius: 3px;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm input:is([type="text"], [type="email"], [type="password"]):focus {
    border-color: var(--emuwing-button-primary-ink, #b85600);
}
body.woocommerce-edit-account .woocommerce-EditAccountForm input:is([type="text"], [type="email"], [type="password"]):focus-visible {
    outline: 2px solid var(--emuwing-button-primary-ink, #b85600);
    outline-offset: 2px;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm button.show-password-input {
    color: #666;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm button.show-password-input:is(:hover, :focus-visible) {
    color: #242424;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm button.show-password-input:focus-visible {
    outline: 2px solid var(--emuwing-button-primary-ink, #b85600) !important;
    outline-offset: 2px;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .form-row > span > em {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-style: normal;
    line-height: 1.5;
    color: #666;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm fieldset {
    clear: both;
    min-width: 0;
    margin: 32px 0;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    background: #f7f7f7;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm legend {
    padding: 0 8px;
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    color: #242424;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm fieldset > .form-row:last-child {
    margin-bottom: 0;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm > p:has(> button[name="save_account_details"]) {
    clear: both;
    margin: 8px 0 0;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .formio-form {
    min-height: 0;
}
/* Password editing stays in the native form, presented in an accessible dialog. */
body.woocommerce-edit-account .woocommerce-EditAccountForm .emuwing-password-entry {
    clear: both;
    margin: 8px 0 24px;
    font-weight: 600;
    color: var(--wd-title-color, #242424);
}
body.woocommerce-edit-account .woocommerce-EditAccountForm :is(.emuwing-password-trigger, .emuwing-password-cancel, .emuwing-password-close) {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    color: var(--emuwing-button-primary-ink, #b85600);
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .emuwing-password-trigger {
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm :is(.emuwing-password-trigger, .emuwing-password-cancel, .emuwing-password-close):focus-visible {
    outline: 2px solid var(--emuwing-button-primary-ink, #b85600) !important;
    outline-offset: 2px;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .emuwing-password-dialog {
    box-sizing: border-box;
    width: 560px;
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 32px;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    background: #fff;
    color: #242424;
    overflow-y: auto;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .18);
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .emuwing-password-dialog::backdrop {
    background: rgba(0, 0, 0, .5);
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .emuwing-password-dialog > h2 {
    margin: 0 40px 24px 0;
    font-family: inherit;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .emuwing-password-dialog .emuwing-password-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    font-size: 30px;
    font-weight: 400;
    color: #666;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .emuwing-password-dialog fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .emuwing-password-dialog legend {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .emuwing-password-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-top: 28px;
}
body.woocommerce-edit-account .woocommerce-EditAccountForm .emuwing-password-save {
    min-height: 44px;
    border-radius: 3px;
    font-family: inherit;
    text-transform: none;
}
@media (max-width: 767px) {
    body.woocommerce-edit-account form.woocommerce-EditAccountForm {
        max-width: 100%;
        padding: 20px;
    }
    body.woocommerce-edit-account .woocommerce-EditAccountForm fieldset {
        margin: 28px 0;
        padding: 16px;
    }
    body.woocommerce-edit-account .woocommerce-EditAccountForm .emuwing-password-dialog {
        padding: 24px;
    }
}
