/* Shared header identity; each template keeps its navigation and fallback branding. */
.site-header .has-site-logo{display:flex;align-items:center;gap:12px;min-width:0;max-width:320px}
.site-header .site-company-logo{display:block;flex-shrink:0;width:auto;height:auto;max-width:120px;max-height:44px;object-fit:contain}
.site-header .site-logo-only .site-company-logo{max-width:220px}
.site-header .has-site-logo>.brand-name,.site-header .has-site-logo>.brand-mark__text,.site-header .has-site-logo>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:991.98px){
 .site-header .has-site-logo{max-width:calc(100% - 104px);gap:8px}
 .site-header .site-company-logo{max-width:100px;max-height:36px}
 .site-header .site-logo-only .site-company-logo{max-width:180px}
 .site-header .has-site-logo>.brand-name{font-size:16px}
}

/* Footer identity. Each template's footer is dark, but the header differs: katalog-produk-1 has a dark header, so a
   logo made for it already suits the footer and is shown as-is. Basic and katalog-produk-2 have a light header, so
   their logo is usually dark artwork; it sits on a white plate in the footer so it stays legible, with no second
   logo file to maintain. */
.footer .has-site-logo,.site-footer .has-site-logo{display:inline-flex;align-items:center;gap:14px;min-width:0;max-width:100%;text-decoration:none}
.footer .site-company-logo,.site-footer .site-company-logo{display:block;flex-shrink:0;width:auto;height:auto;max-width:160px;max-height:48px;object-fit:contain}
.footer .site-logo-only .site-company-logo,.site-footer .site-logo-only .site-company-logo{max-width:220px}
.site-footer .site-company-logo{background:#fff;padding:8px 12px;border-radius:8px;box-sizing:content-box}
.footer .has-site-logo>.brand-name,.site-footer .has-site-logo>.brand-mark__text,.site-footer .has-site-logo>span{min-width:0;color:#fff}
.site-footer .footer-brand{margin-bottom:16px}
.site-footer .footer-brand .site-brand{color:#fff;text-decoration:none;font-weight:700}
@media(max-width:575.98px){.footer .site-company-logo,.site-footer .site-company-logo{max-width:130px;max-height:40px}}
