.payment-brand img,.admin-brand-mark img,.customer-brand-mark img,.tracking-brand img,.public-brand-mark img,.lumviom-pickup-mark img{object-fit:contain!important;background:transparent}
#store-branding .brand-logo-editor{display:flex;align-items:center;gap:16px;margin:16px 0}
#store-branding .brand-logo-editor>img{width:64px;height:64px;object-fit:contain;border-radius:10px;background:#faf8f5}
#store-branding .brand-upload{display:grid;gap:6px;min-width:0;flex:1}
#store-branding .brand-upload input{max-width:100%;font-size:13px}
#store-branding .brand-color-row{display:flex;align-items:center;gap:10px;min-width:0}
#store-branding .brand-color-row input[type=color]{width:48px;min-width:48px;height:44px;min-height:44px;padding:3px;cursor:pointer}
#store-branding .brand-color-row input[type=text]{width:100%;min-width:0;font-family:ui-monospace,monospace;text-transform:uppercase}
#store-branding .brand-preview-figure{margin:16px 0}
#store-branding [data-brand-preview]{display:block;width:100%;max-width:420px;height:auto;border:1px solid #d8dedb;border-radius:12px}
#store-branding .brand-neutral{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin:14px 0}
#store-branding .brand-neutral input[type=checkbox]{appearance:auto;width:18px;min-width:18px;height:18px;min-height:18px;margin:0;padding:0;flex:0 0 18px;accent-color:#28734a}
#store-branding .brand-save-actions{margin:14px 0}
#store-branding .brand-reset{border-top:1px solid #e3e4e2;padding-top:12px;margin:16px 0}
#store-branding .brand-reset summary{cursor:pointer;color:#56605e;font-size:14px}
#store-branding .brand-reset p{font-size:13px;max-width:600px}
/* Important declarations in the existing tokens layer outrank legacy component-layer !important rules. */
@layer tokens{
body.brand-custom :is(.public-site .cart-bar,.public-site .product-confirm,.public-site .add,.public-site button[data-add],.public-site [data-add-upsell],.public-site .welcome-choice-primary,.public-site .welcome-submit,.payment-page button[data-pay],.payment-page button[data-pix-create]),body.brand-custom #cart-overlay .checkout-next{background:var(--store-primary,#e51d2a)!important;border-color:var(--store-primary,#e51d2a)!important;color:var(--store-on-primary,#fff)!important}
body.brand-custom :is(.public-site .cart-bar,.public-site .product-confirm,.public-site .add,.public-site button[data-add],.public-site [data-add-upsell],.public-site .welcome-choice-primary,.public-site .welcome-submit,.payment-page button[data-pay],.payment-page button[data-pix-create]):hover,body.brand-custom #cart-overlay .checkout-next:hover{background:var(--store-primary,#e51d2a)!important;color:var(--store-on-primary,#fff)!important;filter:brightness(.94)}
}
@media(max-width:600px){#store-branding .operations-fields{grid-template-columns:minmax(0,1fr)}#store-branding .brand-logo-editor{align-items:flex-start}#store-branding .brand-upload input{font-size:12px}#store-branding .brand-neutral{font-size:14px}}

/* Uploaded logos are complete artwork, never the legacy mascot sprite. */
body[data-custom-logo="1"][data-store-name] :is(.admin-brand-mark,.public-brand-mark,.tracking-brand .brand-icon,.customer-brand-mark,.payment-brand .lumviom-mascot-mark,.lumviom-pickup-mark){position:relative;display:inline-flex;align-items:center;justify-content:center;isolation:auto;overflow:hidden;box-sizing:border-box;flex-shrink:0;border-radius:10px;background:#fffdfa;border:1px solid #e4dfd9;box-shadow:none}
body[data-custom-logo="1"][data-store-name] :is(.admin-brand-mark,.public-brand-mark,.tracking-brand .brand-icon,.customer-brand-mark,.payment-brand .lumviom-mascot-mark){width:96px;height:48px;min-width:0;max-width:32vw;flex-basis:96px;padding:4px}
body[data-custom-logo="1"][data-store-name] .admin-brand-mark{width:88px;height:44px;max-width:88px;flex-basis:88px}
body[data-custom-logo="1"][data-store-name] .lumviom-pickup-mark{width:88px;height:64px;padding:5px}
body[data-custom-logo="1"][data-store-name] :is(.admin-brand-mark img,.public-brand-mark img,.tracking-brand img,.customer-brand-mark img,.payment-brand img,.lumviom-pickup-mark img){position:static;display:block;width:100%;max-width:100%;height:100%;max-height:100%;inset:auto;margin:0;transform:none;object-fit:contain!important;object-position:center;border:0;border-radius:0;background:transparent}
body[data-custom-logo="1"][data-store-name] .admin-brand{gap:10px;min-width:0}
body[data-custom-logo="1"][data-store-name] .admin-brand strong{min-width:0;overflow-wrap:anywhere}
body[data-custom-logo="1"][data-store-name] .brand-logo-editor>img{width:96px!important;height:56px!important;object-fit:contain;background:#fffdfa;flex:0 0 96px}
@media(max-width:600px){body[data-custom-logo="1"][data-store-name] :is(.public-brand-mark,.tracking-brand .brand-icon,.customer-brand-mark,.payment-brand .lumviom-mascot-mark){width:80px;height:42px;flex-basis:80px}body[data-custom-logo="1"][data-store-name] .tracking-brand{max-width:100%;overflow-wrap:anywhere}}
body[data-custom-logo="1"][data-store-name] .payment-brand>img{width:96px;height:48px;max-width:32vw;flex:0 0 96px;padding:4px;box-sizing:border-box;border:1px solid #e4dfd9;border-radius:10px;background:#fffdfa}
@media(max-width:600px){body[data-custom-logo="1"][data-store-name] .payment-brand>img{width:80px;height:42px;flex-basis:80px}}

body[data-store-name] #cart-overlay .checkout-progress button.active{color:#175b91!important;background:#edf5fc!important}
body[data-store-name] #cart-overlay .checkout-progress button.active span{background:#175b91!important;border-color:#175b91!important;color:#fff!important}
/* R53: neutral artwork surfaces; rules scoped to logo/route assets only. */
body[data-custom-logo="1"][data-store-name] :is(.admin-brand-mark,.public-brand-mark,.tracking-brand .brand-icon,.customer-brand-mark,.payment-brand>img,.brand-logo-editor>img){background:#fff!important}
body[data-custom-logo="1"] #cart-overlay .pickup-card .lumviom-pickup-mark{background:#fff!important;border:1px solid #e4dfd9;box-shadow:none}
body[data-custom-logo="1"][data-store-name] :is(.admin-brand-mark img,.public-brand-mark img,.tracking-brand img,.customer-brand-mark img,.payment-brand img,.lumviom-pickup-mark img,.brand-logo-editor>img){filter:none!important;opacity:1;mix-blend-mode:normal}
body[data-store-name] :is(.pickup-route-pin,.tracking-route img){display:inline-block!important;width:22px!important;height:28px!important;min-width:22px;max-width:22px;max-height:28px;flex:0 0 22px;object-fit:contain!important;filter:none!important;opacity:1!important;mix-blend-mode:normal;transform:none;vertical-align:middle}
body[data-brand-display="logo"] .brand-display-name{display:none!important}
body[data-brand-display="name"] :is(.admin-brand-mark,.public-brand-mark,.tracking-brand .brand-icon,.customer-brand-mark,.payment-brand>img){display:none!important}

/* R54: the final order-received panel is distinct from the pickup step. */
body[data-store-name] #cart-overlay .success-pickup .store-logo-small{display:flex;align-items:center;justify-content:center;width:88px;height:56px;box-sizing:border-box;padding:5px;background:#fff!important;color:#222;border:1px solid #e4dfd9;border-radius:10px;box-shadow:none;overflow:hidden}
body[data-store-name] #cart-overlay .success-pickup .store-logo-small img{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center;filter:none!important;opacity:1;mix-blend-mode:normal;transform:none;background:transparent}
body[data-store-name] #cart-overlay .success-pickup a{display:inline-flex;align-items:center;gap:6px;color:#1874c5;text-decoration:none}
body[data-store-name] #cart-overlay .success-pickup a:hover{text-decoration:underline}
body[data-store-name] #cart-overlay .success-pickup .success-route-pin{display:inline-block;width:22px;height:28px;min-width:22px;max-width:22px;max-height:28px;flex:0 0 22px;object-fit:contain!important;filter:none!important;opacity:1;mix-blend-mode:normal;transform:none;background:transparent}
@media(max-width:600px){body[data-store-name] #cart-overlay .success-pickup .store-logo-small{width:76px;height:50px}}

/* R55: restrict cart red to the menu's View cart action. */
@layer tokens {
body[data-store-name] #cart-bar{background:#fff!important;color:#19232f!important}
body[data-store-name] #cart-bar .cart-summary-action{background:#e51d2a!important;color:#fff!important}
body[data-store-name] #cart-overlay :is(.checkout-next,.b-complement-add,.quantity button){background:#f4f4f3!important;color:#19232f!important;border:1px solid #d8d8d5!important;box-shadow:none!important}
body[data-store-name] #cart-overlay .checkout-next{background:#24323d!important;color:#fff!important;border-color:#24323d!important}
body[data-store-name] #cart-overlay :is(.b-complement-copy span,.cart-item-total b,.b-complement-hint,.checkout-card-icon){color:#24323d!important}
body[data-store-name] #cart-overlay .checkout-card-icon{background:#f4f4f3!important}
body[data-store-name] #cart-overlay :is(.choice-card.active,.saved-address-card.active,.address-save-options button.active){border-color:#66727c!important;background:#f4f5f5!important;color:#24323d!important;box-shadow:inset 0 0 0 1px #66727c!important}
body[data-store-name] #cart-overlay .choice-card.active>i{background:#24323d!important;border-color:#24323d!important;color:#fff!important}
}
body[data-store-name] #cart-bar .cart-summary-preview{position:relative;display:block;flex-shrink:0;width:48px;height:48px}
body[data-store-name] #cart-bar .cart-summary-photo{width:48px;height:48px;background:#f5f4f1;color:#24323d}
body[data-store-name] #cart-bar #cart-count{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 4px;box-sizing:border-box;border:2px solid white;border-radius:12px;background:#24323d;color:white;font-size:11px;font-weight:800;line-height:1}
body[data-store-name] #cart-overlay .b-complement-track{scrollbar-color:#b9bdc1 transparent}
body[data-store-name] #cart-overlay .b-complement-track::-webkit-scrollbar-thumb{background:#b9bdc1}

/* R56: product amount is independent from a pending delivery quote. */
body[data-store-name] #cart-bar .cart-summary-values{display:grid;min-width:0;gap:3px}
body[data-store-name] #cart-bar .cart-summary-amounts{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px;min-width:0}
body[data-store-name] #cart-bar .cart-summary-amounts strong{font-size:16px;line-height:1.2;color:#19232f;white-space:nowrap}
body[data-store-name] #cart-bar .cart-summary-amounts small{font-size:11px;line-height:1.2;color:#27623a;white-space:normal;overflow-wrap:anywhere}
body[data-store-name] #cart-bar [data-cart-summary-shipping]{font-size:11px;line-height:1.2;color:#616b74;white-space:normal;overflow-wrap:anywhere}
body[data-store-name] #cart-bar .cart-summary-free{color:#27623a}
@layer tokens {
body[data-store-name] #cart-overlay #cart-final{color:#24323d!important}
body[data-store-name] #cart-overlay .pickup-card strong .icon{color:#616b74!important}
}
