.portal-footer#bottom {
    display: block !important;
    padding: 0 !important;
    margin: 0;
    color: #14202e;
    background: #f0f2f5 !important;
    border-top: 1px solid #dee2e6;
    text-align: left;
}
.portal-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1.5rem;
}
.portal-footer h2 { font-size: 1rem; margin: 0 0 .65rem; color: #14202e; }
.portal-footer a { display: block; color: #195190; margin-bottom: .25rem; }
.portal-footer p { margin: .35rem 0 0; }
.portal-footer-logo { align-self: center; justify-self: end; }
.portal-footer-logo img { max-width: 100%; height: auto; }
.portal-footer-bottom { padding: .65rem 1.5rem; text-align: center; background: #e3e7ed; font-size: .8rem; }
@media (max-width: 600px) {
    .portal-footer-inner { grid-template-columns: 1fr; gap: 1.25rem; }
    .portal-footer-logo { justify-self: start; }
}

/* The public header and footer use the same proportions on every storefront page. */
#wrapwrap .storefront-reference-header .navbar-brand.logo img{width:auto!important;height:38px!important;max-width:34vw;object-fit:contain}
#wrapwrap .storefront-reference-header .o_header_mobile .navbar-brand.logo img{height:24px!important;max-width:48vw}
#wrapwrap .storefront-reference-header .navbar-brand.logo{display:flex;align-items:center}
#wrapwrap .storefront-reference-header input{margin:0;border-radius:0}
.portal-footer#bottom{border-bottom:30px solid #195190}
.portal-footer-inner{grid-template-columns:1fr 2.2fr 2.4fr;max-width:1320px;padding:3rem 24px;gap:2rem}
.portal-footer-logo{justify-self:center}
.portal-footer-bottom{background:#e2e5e9}
@media(max-width:600px){.portal-footer-inner{grid-template-columns:1fr;padding:2rem 1rem;gap:1rem}.portal-footer-logo{justify-self:start}}

/* Use the compact storefront menu where the desktop links no longer fit. */
@media(max-width:1250px){
    #wrapwrap .storefront-reference-header nav.navbar-expand-lg{display:none!important}
    #wrapwrap .storefront-reference-header .o_header_mobile{display:block!important}
}
