/* Shared footer presentation. Keep native Divi forms, links and accordion behavior. */
body.single-product form.cart input.qty.trss-fixed-quantity {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    appearance: textfield;
    cursor: default;
}
body.single-product form.cart input.qty.trss-fixed-quantity::-webkit-inner-spin-button,
body.single-product form.cart input.qty.trss-fixed-quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 767px) {
    html body #page-container footer.et-l--footer {
        --trss-footer-line: #ffffff24;
        --trss-footer-text: #dce3eb;
    }
    html body #page-container footer.et-l--footer :is(.tm-footer-benefits-section, .tm-footer-newsletter-section, .tm-footer-main-section) {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }
    html body #page-container footer.et-l--footer :is(.tm-footer-benefits, .tm-footer-newsletter, .tm-footer-main, .tm-footer-bottom) {
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-benefits {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px 12px !important;
        padding: 12px 16px !important;
        background: #fff !important;
        border-top: 1px solid #dce2e9 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-benefits > .et_pb_column {
        min-height: 36px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-benefits > .et_pb_column::after {
        display: none !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-benefit .et_pb_blurb_content {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 9px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-benefit .et_pb_main_blurb_image {
        position: static !important;
        flex: 0 0 24px !important;
        width: 24px !important;
        height: 24px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-benefit .et-pb-icon {
        font-size: 23px !important;
        line-height: 24px !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-benefit .et_pb_blurb_container {
        width: auto !important;
        min-width: 0 !important;
        padding: 0 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-benefit .et_pb_module_header {
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        font: 400 14px/18px "Bayon", "Arial Narrow", sans-serif !important;
        color: #405a7e !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-benefit .et_pb_blurb_description {
        display: none !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-newsletter {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 20px 16px !important;
    }
    html body #page-container footer.et-l--footer :is(.tm-footer-newsletter, .tm-footer-main, .tm-footer-bottom) > .et_pb_column {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-basis: auto !important;
    }
    html body #page-container footer.et-l--footer :is(.tm-footer-newsletter-copy, .tm-footer-newsletter-form) {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-newsletter-copy h2 {
        margin: 0 0 6px !important;
        padding: 0 !important;
        font: 400 24px/28px "Bayon", "Arial Narrow", sans-serif !important;
        letter-spacing: .01em !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-newsletter-copy p {
        margin: 0 !important;
        padding: 0 !important;
        font: 400 13px/20px system-ui, sans-serif !important;
        color: var(--trss-footer-text) !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-newsletter-form .et_pb_newsletter_description {
        display: none !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-newsletter-form .et_pb_newsletter_form {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-newsletter-form .et_pb_newsletter_fields {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: start !important;
        gap: 8px !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-newsletter-form :is(.et_pb_newsletter_field, .et_pb_newsletter_button_wrap) {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-basis: auto !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-newsletter-form input[type="email"] {
        box-sizing: border-box !important;
        width: 100% !important;
        height: 46px !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 10px 12px !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 4px !important;
        font: 400 16px/24px system-ui, sans-serif !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-newsletter-form .et_pb_newsletter_button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        min-width: 100px !important;
        height: 46px !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 8px 12px !important;
        border-radius: 4px !important;
        font: 400 16px/22px "Bayon", "Arial Narrow", sans-serif !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-newsletter-form .et_pb_newsletter_button::after {
        display: none !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-main-section {
        border-top: 1px solid var(--trss-footer-line) !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-main {
        padding: 4px 16px 8px !important;
        gap: 0 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-main > .et_pb_column {
        border-bottom: 1px solid var(--trss-footer-line) !important;
        padding: 0 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-main .et_pb_text {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-accordion-heading-wrap {
        margin: 0 !important;
        padding: 0 !important;
        min-height: 44px !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-main h4 {
        position: static !important;
        display: flex !important;
        align-items: center !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 44px 0 0 !important;
        text-align: left !important;
        font: 400 17px/22px "Bayon", "Arial Narrow", sans-serif !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-main h4::after {
        display: none !important;
        content: none !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-accordion-toggle {
        top: 0 !important;
        right: 0 !important;
        width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        transform: none !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-main :is(.footer-links, .contact-list) {
        margin: 0 !important;
        padding: 0 0 8px !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-main :is(.footer-links, .contact-list) a {
        display: flex;
        align-items: center;
        min-height: 40px;
        font: 400 13px/20px system-ui, sans-serif !important;
        overflow-wrap: anywhere;
    }
    html body #page-container footer.et-l--footer .tm-footer-main p:empty {
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        line-height: 0 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-bottom {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 12px 16px 18px !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-bottom .et_pb_text {
        margin: 0 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-bottom .footer-copyright {
        margin: 0 0 8px !important;
        padding: 0 !important;
        font: 500 12px/18px system-ui, sans-serif !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-bottom .footer-disclaimer {
        margin: 0 !important;
        padding: 0 !important;
        font: 400 11px/17px system-ui, sans-serif !important;
        color: var(--trss-footer-text) !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-bottom > .et_pb_column:has(.et_pb_icon) {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 12px !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-bottom .et_pb_icon {
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    html body #page-container footer.et-l--footer .tm-footer-bottom .et_pb_icon .et-pb-icon {
        font-size: 26px !important;
        line-height: 30px !important;
    }
    html body #page-container footer.et-l--footer :is(input, a, button):focus-visible {
        outline: 2px solid #a7c6ef;
        outline-offset: 3px;
    }
}
