/* Approved white footer: aligned columns and a separate legal row. */
body.dom-theme .dom-reference-footer{background:#fff;color:#363333;border-top:1px solid #eee9e5;padding:52px var(--dom-gutter,48px) 24px;font-family:var(--dcf-body,Arial,sans-serif);font-size:13px;line-height:1.65;}
body.dom-theme .dom-reference-footer .dom-reference-grid{display:grid;grid-template-columns:1.15fr .65fr 1.2fr 1.1fr;gap:44px;align-items:start;max-width:none;margin:0 auto;}
body.dom-theme .dom-reference-grid>*{min-width:0;}
body.dom-theme .dom-footer-logo{display:inline-flex;}
body.dom-theme .dom-footer-logo img{display:block;width:136px;height:44px;object-fit:contain;}
body.dom-theme .dom-reference-footer .dom-footer-tagline{font-size:12px;font-weight:400;margin:12px 0 0;line-height:1.5;color:#514b47;}
body.dom-theme .dom-reference-footer .dom-reference-description{font-size:13px;line-height:1.8;color:#77716d;margin:16px 0 0;}
body.dom-theme .dom-footer-column h2{font-family:var(--dcf-heading,Arial,sans-serif)!important;font-size:16px!important;font-weight:400!important;line-height:1.4;letter-spacing:0;text-transform:none;margin:0 0 22px;color:#292626;}
body.dom-theme .dom-footer-column>a,body.dom-theme .dom-footer-directions>a{display:block;font-size:13px;font-weight:400;line-height:1.6;text-decoration:none;color:#514b47;margin:0 0 11px;}
body.dom-theme .dom-footer-directions{display:grid;grid-template-columns:1fr 1fr;column-gap:22px;}
body.dom-theme .dom-reference-contacts p{font-size:12px;margin:0 0 16px;line-height:1.6;color:#77716d;}
body.dom-theme .dom-reference-contacts .dom-footer-phone{font-family:var(--dcf-heading,Arial,sans-serif);font-size:18px;font-weight:300;white-space:nowrap;margin-bottom:8px;}
body.dom-theme .dom-footer-actions{display:flex;gap:12px;align-items:center;margin-top:18px;}
body.dom-theme .dom-footer-write{display:inline-flex;justify-content:center;align-items:center;gap:24px;background:transparent;color:#5e303a;border:1px solid #bba39a;border-radius:999px;padding:10px 18px;font-family:var(--dcf-body,Arial,sans-serif);font-size:12px;font-weight:400;line-height:1.5;cursor:pointer;}
body.dom-theme .dom-footer-vk{display:grid;place-items:center;border:1px solid #d9d1cc;border-radius:50%;width:36px;height:36px;color:#5e303a;font-size:11px;text-decoration:none;}
body.dom-theme .dom-reference-footer .dom-reference-bottom{display:flex;justify-content:space-between;align-items:baseline;gap:20px;flex-wrap:wrap;max-width:none;margin:34px auto 0;padding:18px 0 0;border-top:1px solid #eee9e5;color:#8b827b;font-size:11px;}
body.dom-theme .dom-reference-bottom p{margin:0;font-size:11px;line-height:1.6;}
body.dom-theme .dom-reference-footer .dom-reference-legal{display:flex;justify-content:center;align-items:center;gap:0;max-width:none;margin:0;}
body.dom-theme .dom-reference-legal a{color:#746d68;font-size:11px;font-weight:400;line-height:1.5;text-decoration:none;white-space:nowrap;padding:0 12px;}
body.dom-theme .dom-reference-legal a+a{border-left:1px solid #d5cec8;}
body.dom-theme .dom-reference-footer a:hover{color:#5e303a;text-decoration:underline;}
body.dom-theme .dom-reference-footer :is(a,button):focus-visible{outline:2px solid #5e303a;outline-offset:4px;}
@media(max-width:1100px){body.dom-theme .dom-reference-footer .dom-reference-grid{grid-template-columns:1fr 1fr;gap:32px 44px;}body.dom-theme .dom-reference-footer .dom-reference-legal{flex-wrap:wrap;row-gap:12px;}}
@media(max-width:560px){body.dom-theme .dom-reference-footer{padding:32px var(--dom-gutter,24px) 24px;}body.dom-theme .dom-reference-footer .dom-reference-grid{grid-template-columns:1fr;gap:28px;}body.dom-theme .dom-footer-column h2{margin-bottom:14px;}body.dom-theme .dom-reference-footer .dom-reference-legal{justify-content:flex-start;gap:10px 0;}body.dom-theme .dom-reference-legal a{padding:0 10px;white-space:normal;}body.dom-theme .dom-reference-legal a:first-child{padding-left:0;}}

body.dom-theme .dom-reference-legal a:first-child{padding-left:0;}
body.dom-theme .dom-reference-legal a:last-child{padding-right:0;}

/* Editable navigation in the reference footer, including nested links. */
body.dom-theme .dom-reference-footer .dom-footer-column .dom-menu,
body.dom-theme .dom-reference-footer .dom-footer-column .sub-menu{display:block;position:static;visibility:visible;opacity:1;transform:none;width:auto;min-width:0;max-height:none;overflow:visible;list-style:none;margin:0;padding:0;border:0;box-shadow:none;background:transparent;}
body.dom-theme .dom-reference-footer .dom-footer-column .dom-menu li{display:block;margin:0 0 11px;padding:0;}
body.dom-theme .dom-reference-footer .dom-footer-column .dom-menu a{display:block;padding:0;color:#514b47;font-size:13px;font-weight:400;line-height:1.6;text-decoration:none;white-space:normal;}
body.dom-theme .dom-reference-footer .dom-footer-column .dom-menu a:hover{text-decoration:underline;color:#5e303a;}
body.dom-theme .dom-reference-footer .dom-footer-column .sub-menu{padding:8px 0 0 12px;}
body.dom-theme .dom-reference-footer .dom-footer-directions{display:block;}
body.dom-theme .dom-reference-footer .dom-footer-directions>.dom-menu{display:grid;grid-template-columns:1fr 1fr;column-gap:22px;}

/* Two equally spaced, compact menu columns. Contacts and legal row keep their layout. */
body.dom-theme .dom-reference-footer .dom-footer-column .dom-menu{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;}
body.dom-theme .dom-reference-footer .dom-footer-column .dom-menu li{margin:0;padding:0;min-height:0;}
body.dom-theme .dom-reference-footer .dom-footer-column .dom-menu a{margin:0;padding:0;min-height:0;height:auto;line-height:1.5;letter-spacing:normal;}
body.dom-theme .dom-reference-footer nav.dom-footer-column h2{margin-bottom:16px;}
