/* Live product states follow the existing berry, mint and rounded-card palette. */
[hidden] { display: none !important; }
.pym-availability { display: inline-flex; align-items: center; width: fit-content; color: #156b50; font-size: 10px; font-weight: 650; line-height: 16px; }
.pym-availability::before { content: ''; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
[data-status="low"] .pym-availability { color: #956118; }
[data-status="soldout"] .pym-availability { color: #6f6467; }
[data-status="soldout"] [data-product-photo] { filter: grayscale(.85); opacity: .6; }
[data-status="soldout"] .item-price { color: #8a7172; text-decoration: line-through; }
[data-add-product]:disabled, [data-checkout]:disabled { background: #e0e2ed !important; color: #655a5e !important; box-shadow: none !important; cursor: not-allowed; }
[data-change-weight]:disabled { opacity: .3; cursor: not-allowed; }
[data-navigate][role="link"] { cursor: pointer; }
[data-navigate][role="link"]:focus-visible { outline: 2px solid #a73549; outline-offset: 3px; border-radius: 4px; }
.pym-sync-toast { position: fixed; z-index: 100; top: 90px; left: 20px; right: 20px; padding: 12px 16px; border-radius: 18px; color: #fff; background: #2d3038; box-shadow: 0 6px 20px #181b2320; font-size: 12px; line-height: 18px; text-align: center; pointer-events: none; }
.pym-updated { font-size: 10px; line-height: 16px; color: #766468; margin: 4px 0 0; }
.pym-tray-warning { background: #fff0d8; color: #74501b; border-radius: 20px; padding: 14px 16px; font-size: 12px; line-height: 19px; }
.pym-empty-tray { padding: 24px 16px; text-align: center; font-size: 14px; line-height: 22px; }
.pym-empty-tray button { display: block; margin: 14px auto 0; background: #871c33; color: white; padding: 10px 20px; border-radius: 999px; }
.pym-empty-catalog { padding: 24px; color: #574143; text-align: center; font-size: 13px; line-height: 20px; }
.pym-route-chip { background: #ecedf8; padding: 2px 6px; border-radius: 4px; }
.pym-route-arrow { font-size: 11px; color: #574143; }
#pym-shelf-route { overflow-x: auto; min-width: 0; }
#pym-shelf-route > span { flex-shrink: 0; }

/* Keep the product name and changed shelf legible beside the scoop controls. */
.snack-card > div { flex-wrap: wrap; gap: 8px; }
.snack-card > div > div:first-child { width: 100%; }
.snack-card > div > div:last-child { margin-left: auto; }
.snack-card h3 { font-size: 15px; line-height: 20px; white-space: normal; overflow: visible; text-overflow: clip; }

[data-pym-field="unit-price"] { color: #871c33; }
[data-category-filter][aria-pressed="true"] { color: #fff; }
