/* The same 90px final clearance now belongs to the new last footer row. */
body.milman-policy-enabled .m-foot{padding-bottom:0!important}
#milman-policy-footer{box-sizing:border-box;position:static;clear:both;direction:rtl;background:#0b1727;color:#fff;padding:22px 0 90px;margin:0;width:100%;font-family:Arial,sans-serif;font-size:14px;line-height:1.6}
#milman-policy-footer *{box-sizing:border-box}
#milman-policy-footer nav.milman-policy-nav{display:block;width:min(1280px,92%);max-width:100%;margin:0 auto;padding:18px 0 0;border-top:1px solid #ffffff38}
#milman-policy-footer ul{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 22px;list-style:none;margin:0;padding:0}
#milman-policy-footer li{display:block;min-width:0;margin:0;padding:0;max-width:100%}
#milman-policy-footer a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:6px 2px;color:#fff!important;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere;white-space:normal;font-size:14px;line-height:1.6}
#milman-policy-footer a:hover{color:#ffd3af!important}
#milman-policy-footer a:focus-visible{outline:3px solid #ffb36b;outline-offset:3px;border-radius:3px}
#milman-policy-footer a[aria-current="page"]{font-weight:700;text-decoration-thickness:2px}
@media(max-width:600px){#milman-policy-footer{padding-top:16px;padding-bottom:calc(90px + env(safe-area-inset-bottom))}#milman-policy-footer ul{gap:4px 16px}#milman-policy-footer li{flex:0 1 calc(50% - 8px);text-align:center}#milman-policy-footer a{width:100%;min-height:44px}}

/* Match each existing branded footer rather than adding a differently colored band. */
body.page-template-milman-rental-product #milman-policy-footer{background:#091727}
body .m-foot>#milman-policy-footer{background:transparent}

/* Enhanced shared footer: brand on the RTL right, eleven links in three left columns. */
body.milman-policy-enabled footer.m-foot.m-footer-columns{padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}
body footer.m-foot .m-wrap.m-footer-layout{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:start;gap:32px;direction:rtl}
body footer.m-foot .m-footer-layout>.m-foot-brand{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;min-width:0;width:auto;margin:0}
body footer.m-foot .m-footer-layout .m-operator{margin:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:right;line-height:1.7}
body footer.m-foot .m-footer-layout>#milman-policy-footer{min-width:0;width:100%;padding:0;margin:0;background:transparent;clear:none}
body footer.m-foot .m-footer-layout #milman-policy-footer nav.milman-policy-nav{width:100%;max-width:100%;padding:0;margin:0;border:0}
body footer.m-foot .m-footer-layout #milman-policy-footer ul{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(44px,auto));grid-auto-flow:column;align-items:stretch;justify-content:stretch;gap:4px 16px}
body footer.m-foot .m-footer-layout #milman-policy-footer li{min-width:0;width:100%;max-width:none;text-align:right}
body footer.m-foot .m-footer-layout #milman-policy-footer a{display:flex;justify-content:flex-start;width:100%;height:100%;min-height:44px;padding:6px 2px;margin:0;text-align:right;white-space:normal;text-decoration:none}
body footer.m-foot .m-footer-layout #milman-policy-footer a:hover{text-decoration:underline}
@media(max-width:700px){body footer.m-foot .m-wrap.m-footer-layout{grid-template-columns:minmax(0,1fr);gap:24px}body footer.m-foot .m-footer-layout>.m-foot-brand{max-width:100%}}
@media(max-width:480px){body footer.m-foot .m-footer-layout #milman-policy-footer ul{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row;gap:4px 16px}}

/* Current home uses equivalent inline-styled brand markup; override only enhanced layout. */
body footer.m-foot .m-wrap.m-footer-layout{align-items:start!important;gap:32px!important}
body footer.m-foot .m-footer-layout>.m-foot-brand{flex:initial!important;flex-wrap:nowrap!important;align-items:flex-start!important;gap:12px!important}
body footer.m-foot .m-footer-layout>.m-foot-brand>p{flex:initial!important;margin:0!important;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:right;line-height:1.7}
@media(max-width:700px){body footer.m-foot .m-wrap.m-footer-layout{gap:24px!important}}

/* Compact footer: existing CTA occupies the right column; original brand closes the footer. */
body footer.m-foot.m-footer-compact .m-wrap.m-footer-layout{row-gap:16px!important}
body footer.m-foot.m-footer-compact .m-footer-layout>#milman-policy-footer{grid-column:1/-1;grid-row:1}
body footer.m-foot.m-footer-compact.m-footer-has-cta .m-footer-layout>#milman-policy-footer{grid-column:2;grid-row:1}
body footer.m-foot.m-footer-compact .m-footer-layout>.m-foot-brand{grid-column:1/-1;grid-row:2;flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important;gap:12px 18px!important;padding-top:12px;border-top:1px solid #ffffff25}
body footer.m-foot.m-footer-compact .m-footer-layout>.m-foot-brand>p{font-size:12px;line-height:1.6}
body footer.m-foot .m-footer-layout>section.m-footer-cta{grid-column:1;grid-row:1;min-width:0;width:100%;max-width:100%;margin:0!important;padding:0!important;border:0;background:transparent;text-align:right}
body footer.m-foot .m-footer-layout>section.m-footer-cta>.m-wrap{display:block!important;width:100%;max-width:100%;padding:0;margin:0}
body footer.m-foot .m-footer-cta h2{font-size:24px!important;line-height:1.35!important;margin:0 0 10px!important;color:#fff;text-align:right}
body footer.m-foot .m-footer-cta p{font-size:14px!important;line-height:1.6!important;margin:0 0 14px!important;color:#d7e0e9;text-align:right}
body footer.m-foot .m-footer-cta a.m-btn{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;max-width:100%;min-height:44px;padding:12px 16px!important;font-size:16px!important;line-height:1.4;gap:8px;white-space:normal;box-sizing:border-box}
@media(max-width:700px){body footer.m-foot.m-footer-compact.m-footer-has-cta .m-footer-layout>#milman-policy-footer{grid-column:1;grid-row:2}body footer.m-foot.m-footer-compact .m-footer-layout>.m-foot-brand{grid-column:1;grid-row:auto}body footer.m-foot .m-footer-layout>section.m-footer-cta{grid-column:1;grid-row:1}body footer.m-foot .m-footer-cta h2{font-size:22px!important}}

/* Preparation only: these brand assets do not imply checkout is active or cards accepted. */
.m-footer-payment-prep{box-sizing:border-box;max-width:100%;min-width:0;margin:12px auto 0;text-align:right;color:#fff}
.m-footer-payment-prep>p{font-size:14px!important;font-weight:700;line-height:1.5!important;color:#fff!important;margin:0 0 4px!important}
.m-footer-payment-brands{display:flex;flex-wrap:nowrap;align-items:center;gap:12px;max-width:100%}
.m-footer-payment-brands>img{display:block;width:64px!important;height:32px!important;max-width:30%!important;object-fit:contain;flex:0 1 64px;margin:0!important;padding:0!important;border:0}
body footer.m-foot .m-footer-layout>.m-foot-brand>.m-footer-payment-prep{margin:0 auto 0 0;flex:0 1 auto}
@media(max-width:700px){body footer.m-foot .m-footer-layout>.m-foot-brand>.m-footer-payment-prep{flex-basis:100%;margin:4px 0 0}}
