/* V12: logos preserve transparency and proportional dimensions without moving the mobile nav. */
.brand-mark{display:inline-flex;align-items:center;max-width:100%;vertical-align:middle;line-height:1.2}
.brand-mark img{display:block;width:auto;max-width:min(180px,42vw);max-height:64px;height:auto;object-fit:contain;object-position:left center}
.admin-top .brand-mark img{max-width:160px;max-height:42px}
.store-footer .brand-mark img{max-width:190px;max-height:72px}
.brand-order-mark{display:flex;justify-content:center;margin:4px auto 18px}
.brand-order-mark img{max-width:180px;max-height:66px}
.brand-settings-form{display:grid;gap:20px}
.brand-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.brand-upload-card{border:1px solid #e5e1de;border-radius:12px;min-width:0;padding:16px;background:#fff}
.brand-upload-card legend{font-weight:700;padding:0 7px}
.brand-admin-preview{background:#f5f2f0;border:1px dashed #c4bcb7;min-height:105px;display:flex;align-items:center;justify-content:center;padding:14px;border-radius:8px;margin:10px 0}
.brand-upload-card:nth-child(3) .brand-admin-preview{background:#292726}
.brand-admin-image{display:block;max-width:100%;max-height:88px;object-fit:contain}
.brand-remove{display:flex;align-items:center;gap:8px;font-size:.88rem;margin-top:9px}
.brand-upload-card input[type=file]{width:100%;max-width:100%;font-size:.87rem}
@media(max-width:740px){.brand-mark img{max-width:132px;max-height:42px}.brand-admin-grid{grid-template-columns:1fr}.admin-top .brand-mark img{max-height:36px}.brand-text{font-size:1rem}}
@media print{.brand-order-mark{break-inside:avoid}.brand-order-mark img{max-height:60px}}
