.product-shortcuts{display:flex;gap:12px;justify-content:space-between;margin:12px 0 -5px}.product-shortcuts button{font-size:13px;color:var(--accent);padding:4px 0}.product-dialog{--picker-height:calc(100dvh - 20px);--picker-offset:10px;position:fixed;margin:0 auto;inset:auto 0 auto;top:var(--picker-offset);height:var(--picker-height);max-height:var(--picker-height);max-width:620px;width:calc(100% - 20px);padding:0;overflow:hidden;background:var(--bg);border-radius:25px;box-shadow:0 20px 80px #000a}.product-dialog[open]{display:flex;flex-direction:column}.picker-top{padding:22px 19px 0;flex-shrink:0;background:var(--bg);z-index:1}.picker-top .dialog-head{margin-bottom:18px}.picker-top .brand{font-size:10px;margin-bottom:5px}.picker-top h2{font-size:25px}.search-bar{display:flex;align-items:center;gap:8px;background:var(--card);border:1px solid #405775;border-radius:19px;padding:3px 5px 3px 12px;box-shadow:0 0 0 3px #85bfff08}.search-bar:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #85bfff15}.search-bar>svg{width:20px;height:20px;flex-shrink:0;color:var(--muted);fill:none;stroke:currentColor;stroke-width:1.6}.search-bar input{background:transparent;border:0;border-radius:0;outline:none;box-shadow:none;width:100%;font-size:16px;padding:9px 0;flex:1;min-width:0}.search-bar input:focus{outline:none}.search-bar button{width:42px;flex-shrink:0;border-radius:13px;min-height:44px;padding:8px;font-size:23px;color:var(--accent)}.search-bar button[hidden]{display:none}.search-bar button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;vertical-align:middle}.search-bar #voice-search{background:#7cbeff12}.search-bar #voice-search[aria-pressed=true]{background:#bc343d;color:#fff;box-shadow:0 0 0 4px #e9777720}.voice-status{margin:10px 0 0;padding:10px 12px;font-size:12px;line-height:1.5;color:var(--accent);background:#82bfff0b;border-radius:13px}.voice-status[hidden]{display:none}.picker-tabs{display:flex;gap:7px;border-bottom:1px solid #71839c25;padding:15px 0 13px}.picker-tabs button{flex:1;font-size:14px;font-weight:600;color:var(--muted);padding:7px 10px;border-radius:12px}.picker-tabs button[aria-pressed=true]{background:#8dbdfb18;color:var(--text)}.picker-tabs span{font-size:11px;color:var(--accent);margin-left:5px;background:#86b8f715;border-radius:7px;padding:2px 5px}.filter-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:12px 0 7px}.filter-chips[hidden]{display:none}.filter-chips button{flex-shrink:0;font-size:12px;white-space:nowrap;padding:6px 12px;min-height:34px;border:1px solid #71839c40;border-radius:20px;color:var(--muted)}.filter-chips button[aria-pressed=true]{background:#d6e8ff;color:#18273d;border-color:#d6e8ff}.picker-scroll{flex:1;overflow:auto;overscroll-behavior:contain;padding:2px 19px 20px;scrollbar-width:thin;min-height:0}.results-heading{display:flex;justify-content:space-between;align-items:center;padding:5px 0 8px;gap:12px}.results-heading p{font-size:12px;color:var(--muted);margin:10px 0}.results-heading>span{font-size:11px;color:var(--muted);background:#71839c18;border-radius:8px;padding:2px 7px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.result-card{border-radius:18px;background:var(--card);overflow:hidden;border:1px solid #71839c18;min-width:0;display:flex;flex-direction:column}.result-select{padding:0;display:flex;flex-direction:column;width:100%;text-align:left;flex:1;min-height:0}.result-select:active{background:#88b5ef12}.result-photo{aspect-ratio:1.38;width:100%;background:#2a3340;position:relative;overflow:hidden;display:grid;place-items:center}.result-photo img{width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .2s}.result-photo.loaded img{opacity:1}.result-photo.image-missing{background:#3b465540;color:var(--muted)}.photo-unavailable{font-size:12px}.photo-placeholder{font-size:36px}.result-photo.from-reference{background-color:#fff;background-image:url('../assets/approved-reference.jpg');background-repeat:no-repeat;background-size:529.5px 1152px}.result-photo.from-reference.banana{background-position:-108px -609px}.result-photo.from-reference.milk{background-position:-108px -769.5px}.result-photo.from-reference.coffee{background-position:-108px -952.5px}.result-details{padding:11px 11px 5px;width:100%;display:flex;flex-direction:column;gap:4px}.result-name{font-size:15px;line-height:1.25;letter-spacing:-.15px;overflow-wrap:anywhere}.result-format{font-size:11px;color:var(--muted);min-height:15px}.result-roast{font-size:10px;color:var(--accent)}.saved-badge{font-size:9px;color:#83dfb0;margin-bottom:1px}.result-actions{display:flex;align-items:center;gap:3px;padding:2px 7px 7px;flex-wrap:wrap}.save-product{color:#adcdf6;min-width:38px;min-height:44px;padding:0;font-size:22px}.save-product[aria-pressed=true]{color:#efca82}.result-add{color:var(--text);font-size:11px;font-weight:600;background:#8dbdfb15;border-radius:11px;min-height:35px;flex:1;padding:6px}.forget-product{font-size:11px;min-height:32px;width:100%;color:var(--muted)}.custom-product{display:flex;align-items:center;gap:12px;text-align:left;padding:14px;width:100%;margin-top:15px;border:1px dashed #71839c55;border-radius:16px;min-height:60px;color:var(--accent);font-size:13px}.custom-product>span:nth-child(2){flex:1;overflow-wrap:anywhere}.custom-plus{background:#8dbdfb15;border-radius:10px;width:32px;height:32px;display:grid;place-items:center;font-size:22px;flex-shrink:0}.catalog-note{font-size:10px;color:var(--muted);line-height:1.6;margin:16px 3px 0}.search-empty{grid-column:1/-1;padding:26px 18px;text-align:center;color:var(--text);border:1px dashed #71839c55;border-radius:16px}.search-empty strong{font-size:16px}.search-empty p{font-size:13px;line-height:1.6;color:var(--muted);margin-bottom:0}.light .result-photo.image-missing{background:#dce4ee}.light .result-roast{color:#285b95}.light .saved-badge{color:#2a7355}@media(min-width:600px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.picker-top{padding-inline:25px}.picker-scroll{padding-inline:25px}}@media(max-height:560px){.picker-top{padding-top:14px}.picker-top .dialog-head{margin-bottom:12px}.picker-top h2{font-size:22px}.picker-tabs{padding-top:9px;padding-bottom:9px}.result-photo{aspect-ratio:1.8}.result-details{padding-top:8px}.filter-chips{padding-top:8px}}@media(prefers-reduced-motion:reduce){.result-photo img{transition:none}}
.photo-tools{display:flex;gap:10px}.photo-tools .photo-picker{flex:1;min-width:0;font-size:13px;text-align:center}.photo-tools input{font-size:10px}.photo-preview{margin:15px 0 0;background:#ffffff08;border-radius:17px;padding:12px;display:grid;place-items:center;max-height:200px;overflow:hidden}.photo-preview[hidden]{display:none}.photo-preview img{max-width:100%;max-height:176px;object-fit:contain;border-radius:10px}.remove-photo{font-size:12px;color:var(--muted);text-align:center;width:100%;min-height:40px}.remove-photo[hidden]{display:none}.primary:disabled{opacity:.5;cursor:wait}.result-photo.reference-wrap{background:#f5f2ec}
.list-option-row{display:flex;align-items:center;gap:8px;margin-bottom:9px}.list-option-row .list-option{margin-bottom:0;flex:1;min-width:0}.delete-list-button{min-width:62px;padding:6px;color:#eeb6b6;font-size:12px;border-radius:12px;background:#dc797909}.deleted-list-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;font-size:14px;color:var(--muted)}.deleted-list-row button{font-size:13px;color:var(--accent);flex-shrink:0}#deleted-lists{margin:18px 0;border-top:1px solid #71839c33;padding-top:10px}#deleted-lists[hidden]{display:none}#deleted-lists summary{cursor:pointer;font-size:14px;color:var(--muted);min-height:44px;padding:10px 0}
.department-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.department-option{display:flex;align-items:center;gap:9px;padding:9px 10px;min-height:52px;border:1px solid #71839c33;border-radius:12px;font-size:13px;cursor:pointer;overflow-wrap:anywhere}.department-option:has(input:checked){background:#8dbdfb10;border-color:#8dbdfb55}.department-option input{appearance:auto;min-height:22px;min-width:22px;height:22px;width:22px;margin:0;padding:0;accent-color:#92bdf3;flex-shrink:0}.department-option span{min-width:0}.department-presets{display:flex;gap:10px;margin-bottom:16px}.department-presets button{flex:1;font-size:13px;border-radius:12px;background:#8dbdfb12;color:var(--accent)}@media(max-width:350px){.department-options{grid-template-columns:1fr}.product-shortcuts{gap:5px}.product-shortcuts button{font-size:11px}}
.department-options{grid-template-columns:1fr}.department-option{justify-content:space-between;cursor:default}.department-option>label{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:44px;flex:1;min-width:0}.department-arrows{display:flex;gap:3px;flex-shrink:0}.department-arrows button{width:44px;min-height:44px;padding:0;border-radius:10px;background:#8dbdfb10;color:var(--accent);font-size:21px}.department-arrows button:disabled{opacity:.2;cursor:default}
.share-list-button{width:100%;margin-top:10px;padding:8px 12px;font-size:13px;color:var(--accent);border:1px solid #71839c33;border-radius:12px}.invitation-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;font-size:12px;color:var(--muted)}.invitation-row button{min-height:44px;color:#edbaba;font-size:12px}.small-heading{font-size:15px;margin-top:24px}.backup-tools{display:flex;flex-direction:column;gap:12px;margin-top:20px}.backup-tools button,.backup-tools label{font-size:13px;min-height:44px;border-radius:13px;padding:11px;background:#8dbdfb10;color:var(--accent)}.backup-tools input{display:block;font-size:11px;width:100%;margin-top:8px}#invite-result[hidden]{display:none}

/* Narrow-phone QA: allow coffee filters to wrap instead of clipping. */
@media(max-width:360px){.filter-chips{flex-wrap:wrap;overflow-x:visible;gap:6px}.filter-chips button{flex:0 0 auto;max-width:100%;white-space:normal}}

.department-position{min-width:58px;width:58px;min-height:44px;border-radius:10px;padding:5px 7px;background:var(--card);color:var(--text);border:1px solid var(--line);font-size:16px}.department-arrows{align-items:center}.department-position option{background:var(--bg);color:var(--text)}

/* Saved items remain visible and can also be reached directly through Mina varor. */


.product-photo{position:relative}.item-credit{position:absolute;bottom:0;left:0;right:0;font-size:8px;line-height:1.15;padding:4px;background:#101722dd;color:#e0eaff;text-decoration:none}.source-link{min-height:24px}.item-copy{touch-action:pan-y}

.save-own-choice{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:14px}.save-own-choice input{appearance:auto;width:22px;height:22px;min-height:22px}
