/* Color-only overrides: no positioning, sizing, visibility or event changes. */
.ds-color-button,.catalog-app .ds-color-button,.business-shortcuts .shortcut.ds-color-button,.business-shortcuts .shortcut.ds-color-button:hover,.business-shortcuts .shortcut.ds-color-button.is-active{
 background:var(--ds-button-color)!important;color:var(--ds-button-ink)!important;border-color:var(--ds-button-color)!important;
}
.ds-color-button:hover:not(:disabled):not([aria-disabled="true"]){filter:brightness(.94)}
.ds-color-button:active:not(:disabled):not([aria-disabled="true"]){filter:brightness(.86)}
.ds-color-button:focus-visible{outline:3px solid #fff!important;outline-offset:3px;box-shadow:0 0 0 5px #051131!important}
.ds-color-button:disabled,.ds-color-button[aria-disabled="true"]{background:#0e2f8c!important;color:#e1e3e5!important;border-color:#3f568c!important;filter:none;cursor:not-allowed}
.business-shortcuts .shortcut.ds-color-button small,.business-shortcuts .shortcut.ds-color-button strong,.business-shortcuts .shortcut.ds-color-button svg,.catalog-app .ds-color-button strong,.catalog-app .ds-color-button span{color:inherit!important;fill:currentColor}
.business-shortcuts .shortcut.ds-color-button .orders-number{background:#fff!important;color:#9e1421!important}
.ds-color-button[aria-current="page"],.ds-color-button.active{box-shadow:inset 0 0 0 2px currentColor}

/* Cart icon inherits the JavaScript-selected foreground. */
.catalog-app button[data-nav="cart"]{border-color:#ffffff!important}
.catalog-app button[data-nav="cart"] b{background:#020715!important;color:#ffffff!important}
.catalog-app .cart-glyph{width:1.4em;height:1.4em;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Customer screen palette approved from the 16 October reference photo.
   Scope stays in the customer app; category photography and admin are untouched. */
body.catalog-app{
 --ds-reference-gold:#dfbd78;
 --ds-reference-dark:#06143a;
 --ds-reference-ink:#faf6ec;
 --ds-reference-gradient:linear-gradient(115deg,#fff0a4 0%,#f4d16a 48%,#dca83d 100%);
}
.catalog-app .ds-color-button:not(.category):not(.brand){
 background:var(--ds-reference-dark)!important;
 color:var(--ds-reference-ink)!important;
 border-color:var(--ds-reference-gold)!important;
}
.catalog-app :is(#install-app,#push-enable,[data-add],[data-plus],[data-minus],.checkout button[type="submit"],a.gold).ds-color-button:not(:disabled):not([aria-disabled="true"]){
 background:var(--ds-reference-gradient)!important;
 color:#06163f!important;
 border-color:#f5d98f!important;
}
.catalog-app :is(.app-actions,.customer-update-tools) .ds-color-button,
.catalog-app .owner-entry.ds-color-button{
 border-color:var(--ds-reference-gold)!important;
}
.catalog-app .flash-banner.ds-color-button{
 background:linear-gradient(110deg,#ff3f35,#dd2028)!important;
 color:#fffaf2!important;
 border-color:var(--ds-reference-gold)!important;
}
.catalog-app .flash-banner.ds-color-button strong{font-family:inherit}
.catalog-app .shopping-tools .cart-top.ds-color-button{
 background:var(--ds-reference-dark)!important;
 color:#fff!important;
 border-color:var(--ds-reference-gold)!important;
}
.catalog-app .shopping-tools .cart-top.ds-color-button b{
 background:transparent!important;
 color:#fff!important;
}
.catalog-app>nav{
 background:var(--ds-reference-dark)!important;
 border-color:var(--ds-reference-gold)!important;
}
.catalog-app>nav button.ds-color-button{
 background:var(--ds-reference-dark)!important;
 color:var(--ds-reference-ink)!important;
 border-color:var(--ds-reference-gold)!important;
 box-shadow:none;
}
.catalog-app>nav button.ds-color-button.active{
 background:var(--ds-reference-gradient)!important;
 color:#06163f!important;
 box-shadow:none;
}
.catalog-app .filters button.ds-color-button.active,
.catalog-app .subfilters button.ds-color-button.active{
 background:var(--ds-reference-gradient)!important;
 color:#06163f!important;
}
.catalog-app .ds-color-button:disabled,
.catalog-app .ds-color-button[aria-disabled="true"]{
 background:#0b256d!important;
 color:#d3d3ce!important;
 border-color:#47619d!important;
}

/* Private detail pages: reference palette. The multicolor main menu is excluded. */
.admin-view,
.admin-view-toolbar{
 --ds-admin-gold:#dfbd78;
 --ds-admin-dark:#051131;
 --ds-admin-gradient:linear-gradient(115deg,#fff0a4 0%,#f4d16a 48%,#dca83d 100%);
 background:#051131;
 color:#faf6ec;
 border-color:#76613a;
}
.admin-view-toolbar>strong,
.admin-view>h2,
.admin-view>.admin-top h1,
.admin-view>.admin-top h2{color:#e4c277}
.admin-view .ds-color-button:not(:disabled):not([aria-disabled="true"]),
.admin-view-toolbar #admin-back.ds-color-button{
 background:var(--ds-admin-gradient)!important;
 color:#06163f!important;
 border-color:#dfbd78!important;
}
.admin-view :is(.purchase-price-card,.admin-item,.bs-card,.counts-product,.inventory-row,.pos-product,.pos-quick-product,.category-admin-row,.category-control-card,.category-product-choice,.flash-selected-row,.supplier-card,.order-item,.purchase-card,.customer-card){
 background:#fff;
 color:#06143b;
 border-color:#c6a35e;
}
.admin-view :is(.purchase-price-card,.admin-item,.bs-card,.counts-product,.inventory-row,.pos-product,.pos-quick-product,.category-admin-row,.category-control-card,.category-product-choice,.flash-selected-row,.supplier-card,.order-item,.purchase-card,.customer-card) :is(h2,h3,h4,label){color:#06143b}
.admin-view :is(.purchase-price-card,.admin-item,.bs-card,.counts-product,.inventory-row,.pos-product,.pos-quick-product,.category-admin-row,.category-control-card,.category-product-choice,.flash-selected-row,.supplier-card,.order-item,.purchase-card,.customer-card) .muted{color:#334673}
.admin-view .admin-code{
 background:#f7efd9;
 color:#0a2163;
 border-color:#ddc68e;
}
.admin-view :is(.purchase-price-sale,.purchase-price-sale strong,.admin-info>strong,.purchase-price-feedback){color:#0e3191}
.admin-view :is(input,textarea,select){
 background:#051131;
 color:#faf6ec;
 border-color:#455f9b;
 -webkit-text-fill-color:#faf6ec;
 color-scheme:dark;
}
.admin-view :is(input,textarea)::placeholder{
 color:#b9b9b1;
 -webkit-text-fill-color:#b9b9b1;
 opacity:1;
}
.admin-view :is(input,textarea,select):focus-visible{outline-color:#dfbd78;border-color:#dfbd78}
.admin-view :is(th){background:#071948;color:#f0d49b}
.admin-view table{color:inherit}
.admin-view td{border-color:#b3a584}
.admin-view .ds-color-button:disabled,
.admin-view .ds-color-button[aria-disabled="true"]{
 background:#0d2d83!important;
 color:#deded6!important;
 border-color:#48629f!important;
}

/* Keep the basket legible on white, matching the product cards. */
.admin-view .pos-basket{background:#fff;color:#06143b;border-color:#c6a35e}
.admin-view .pos-basket :is(h2,h3,h4,label){color:#06143b}
.admin-view .pos-basket .muted{color:#334673}
.admin-view-toolbar #admin-purchase-list-link.ds-color-button:not(:disabled){background:var(--ds-admin-gradient)!important;color:#06163f!important;border-color:#dfbd78!important}

/* Menu tiles, proposal A "VIVACI" (29 Oct 2026): bright gradient, soft corners, icon above the label.
   Presentation only: links, order, visibility and handlers are unchanged. */
.business-shortcuts .shortcut.ds-color-button{background:linear-gradient(145deg,var(--ds-button-color) 0%,color-mix(in srgb,var(--ds-button-color) 76%,#020715) 100%)!important;color:#fff!important;border:0!important;border-radius:20px!important;box-shadow:0 8px 20px rgba(2,7,21,.30),inset 0 1px 0 rgba(255,255,255,.35)!important;text-shadow:0 1px 2px rgba(2,7,21,.35);font-weight:800!important;letter-spacing:.3px}
.business-shortcuts .shortcut.ds-color-button:not(#orders-shortcut){flex-direction:column;gap:6px;min-height:96px}
.business-shortcuts .shortcut.ds-color-button:not(#orders-shortcut)::before{font-size:26px;line-height:1;text-shadow:none}
.business-shortcuts .shortcut.ds-color-button:hover{filter:brightness(1.08)}
.business-shortcuts .shortcut.ds-color-button:active{filter:brightness(.92);transform:scale(.98)}
.business-shortcuts a[href="#purchase-prices"]::before{content:"💶"}
.business-shortcuts a[href="#purchases"]::before{content:"🛒"}
.business-shortcuts a[href="#inventory"]::before{content:"📦"}
.business-shortcuts a[href="#daily-load"]::before{content:"📋"}
.business-shortcuts a[href="#sottocosto"]::before{content:"🏷️"}
.business-shortcuts a[href="#cassa"]::before{content:"💰"}
.business-shortcuts a[href="#rubrica"]::before{content:"📞"}
.business-shortcuts a[href="#flash-offers"]::before{content:"⚡"}
.business-shortcuts a[href="#store-pos"]::before{content:"🧾"}
.business-shortcuts a[data-open-merce]::before{content:"🗂️"}
.business-shortcuts a[href="#product-counts"]::before{content:"📊"}
.business-shortcuts a[href="#categories-management"]::before{content:"🗃️"}
.business-shortcuts a[href="#products-management"]::before{content:"🍾"}
.business-shortcuts a[href="#customers-history"]::before{content:"👥"}
.business-shortcuts a[href="#app-statistics"]::before{content:"📈"}
.business-shortcuts a[href="#supplier-deals"]::before{content:"📉"}
.business-shortcuts a[href="#advertising"]::before{content:"📣"}
.business-shortcuts a[href="#admin-settings"]::before{content:"⚙️"}
.business-shortcuts a[href="#mega-orders"]:not([data-open-merce])::before{content:"📦"}
