/* ---- picture-led price finder ---- */
.picker{padding-top:16px;padding-bottom:30px}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:.92rem;margin:0 0 12px;min-height:24px;color:var(--muted)}
.crumbs a{color:var(--blue2);font-weight:700;text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.crumbs .sep{color:#a3afbf}
.crumbs [aria-current]{color:var(--text);font-weight:700}
.vh{font-size:1.25rem;font-style:normal;font-weight:800;margin:4px 0 12px;color:var(--text);outline:none}
.vh small{display:block;font-size:.9rem;font-weight:500;color:var(--muted);margin-top:2px}
.subh{font-size:1rem;font-style:normal;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:18px 0 10px}
.tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tiles.brands{grid-template-columns:1fr 1fr}
.tiles.brands li:last-child:nth-child(odd){grid-column:1/-1}
@media (min-width:640px){.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.tiles.brands{grid-template-columns:repeat(3,1fr)}.tiles.brands li:last-child:nth-child(odd){grid-column:auto}}
@media (min-width:960px){.tiles{grid-template-columns:repeat(5,minmax(0,1fr))}.tiles.rep{grid-template-columns:repeat(4,minmax(0,1fr))}}
.tile{width:100%;height:100%;appearance:none;font:inherit;color:var(--text);background:#fff;border:1.5px solid var(--line);border-radius:18px;padding:10px 10px 12px;cursor:pointer;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;box-shadow:var(--shadow);text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}
.tile:hover{border-color:#9cc7f2;box-shadow:0 2px 4px rgba(16,24,40,.06),0 8px 22px rgba(16,24,40,.10)}
.tile:active{transform:scale(.98)}
.tile:focus-visible{border-color:var(--blue)}
.tile img{width:100%;max-width:170px;aspect-ratio:1/1;height:auto;object-fit:contain;border-radius:12px}
.tile b{font-size:1rem;line-height:1.2}
.tile small{color:var(--muted);font-size:.85rem;line-height:1.25}
.tile .from{color:var(--blue2);font-weight:800}
.brands .tile{padding:14px 12px 16px}
.brands .tile b{font-size:1.15rem}
.rep .tile b{font-size:1.02rem}
.tile .stock{margin-top:0}
.detail{display:grid;gap:14px}
.dhead{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;box-shadow:var(--shadow)}
.dhead img{width:96px;height:96px;object-fit:contain;border-radius:12px}
.dhead h2{margin:0;font-size:1.3rem;font-style:normal;font-weight:800;line-height:1.2;outline:none}
.dhead p{margin:2px 0 0;color:var(--muted);font-size:.95rem}
.opts{list-style:none;margin:0;padding:0;display:grid;gap:12px}
@media (min-width:760px){.opts{grid-template-columns:1fr 1fr}}
.ocard{background:#fff;border:1.5px solid var(--line);border-radius:18px;padding:16px;box-shadow:var(--shadow);display:grid;gap:10px}
.otop{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:start}
.ograde{font-weight:700;line-height:1.3}
.oprice{font-size:1.75rem;font-weight:900;color:var(--text);line-height:1;white-space:nowrap}
.oprice.ask{font-size:1.02rem;color:var(--blue2);padding-top:4px}
.otop .stock{grid-column:1/-1;justify-self:start;display:inline-block}
.book{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;border-radius:12px;background:var(--wa);color:#04210f;font-weight:800;text-decoration:none;box-shadow:0 2px 8px rgba(37,211,102,.3);padding:0 12px;text-align:center}
.book .ico{width:20px;height:20px}
.addrow{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.qty button{appearance:none;border:0;background:var(--bg2);color:var(--text);font:inherit;font-weight:800;font-size:1.2rem;width:44px;height:46px;cursor:pointer}
.qty input{width:46px;height:46px;border:0;text-align:center;font:inherit;font-weight:800;font-size:1.05rem;color:var(--text);background:#fff;-moz-appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.addbtn{appearance:none;min-height:50px;border-radius:12px;border:2px solid var(--blue);background:#fff;color:var(--blue2);font:inherit;font-weight:800;cursor:pointer;padding:0 10px}
.addbtn.added{background:var(--blue);color:#fff}
.note{color:var(--muted);font-size:.9rem;margin:0;text-align:center}
.backlink{appearance:none;border:1.5px solid var(--line);background:#fff;color:var(--blue2);font:inherit;font-weight:700;border-radius:999px;padding:8px 16px;min-height:44px;cursor:pointer;justify-self:start;text-decoration:none;display:inline-flex;align-items:center}
.empty{color:var(--muted);text-align:center;margin:14px 0}
/* basket */
body.has-basket{padding-bottom:84px}
.bbar{position:fixed;left:0;right:0;bottom:0;z-index:7;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-top:1px solid var(--line);box-shadow:0 -2px 12px rgba(16,24,40,.10)}
.bbar-btn{width:100%;max-width:640px;margin:0 auto;display:flex;align-items:center;gap:12px;appearance:none;border:0;border-radius:14px;background:var(--blue);color:#fff;font:inherit;min-height:56px;padding:6px 14px;cursor:pointer;text-align:left}
.bbar-ico{position:relative;display:inline-flex}
.bbar-ico .ico{width:28px;height:28px}
.bbar-ico b{position:absolute;top:-6px;right:-8px;min-width:20px;height:20px;border-radius:10px;background:#fff;color:var(--blue2);font-size:.78rem;display:grid;place-items:center;padding:0 5px}
.bbar-txt{flex:1;display:flex;flex-direction:column;line-height:1.2;font-weight:800}
.bbar-txt small{font-weight:600;opacity:.9}
.bbar-go{font-weight:800;white-space:nowrap}
.sheet{position:fixed;inset:0;z-index:20;display:flex;align-items:flex-end;justify-content:center}
.sheet[hidden]{display:none}
.sheet-bg{position:absolute;inset:0;background:rgba(4,7,15,.45)}
.sheet-card{position:relative;width:100%;max-width:640px;max-height:88vh;overflow:auto;background:#fff;border-radius:20px 20px 0 0;padding:16px 16px calc(18px + env(safe-area-inset-bottom));display:grid;gap:12px;box-shadow:0 -6px 30px rgba(4,7,15,.25)}
@media (min-width:760px){.sheet{align-items:center}.sheet-card{border-radius:20px}}
.sheet-head{display:flex;align-items:center;justify-content:space-between}
.sheet-head h2{margin:0;font-size:1.3rem;font-style:normal;font-weight:800}
.x{appearance:none;border:0;background:var(--bg2);color:var(--text);width:44px;height:44px;border-radius:22px;font-size:1.6rem;line-height:1;cursor:pointer}
.blist{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.bline{display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:10px;background:var(--bg)}
.bline img{width:52px;height:52px;border-radius:10px;background:#fff;object-fit:contain}
.bline b{display:block;line-height:1.25}
.bline span{display:block;color:var(--muted);font-size:.88rem;line-height:1.3}
.bctl{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px}
.bctl .qty button,.bctl .qty input{height:40px;width:40px}
.bsum{font-weight:800}
.linkbtn{appearance:none;border:0;background:none;color:var(--muted);font:inherit;text-decoration:underline;cursor:pointer;padding:8px;justify-self:center}
.rm{appearance:none;border:0;background:none;color:#b42318;font:inherit;font-weight:700;cursor:pointer;padding:8px}
.btotal{margin:0;font-size:1.15rem;font-weight:800;text-align:right}
.btotal small{display:block;font-weight:500;font-size:.88rem;color:var(--muted)}

/* ---- price guide notice ---- */
.price-notice{display:flex;align-items:flex-start;gap:8px;margin:14px 0 0;padding:10px 14px;background:#eef6ff;border:1px solid #cfe3fa;border-radius:14px;color:#1d3b5c;font-size:.95rem;font-weight:600;line-height:1.35;max-width:560px}
.price-notice .ico{width:18px;height:18px;flex:0 0 18px;margin-top:1px;color:var(--blue2)}
.oguide{grid-column:1/-1;font-size:.82rem;color:var(--muted);line-height:1.3}
.tile .guide{display:block;font-size:.75rem;color:var(--muted);margin-top:2px}
.btotal .guide{display:block;color:var(--muted);font-weight:600;margin-top:4px}

/* kosher Qin / Fig tabs */
.ktabs{display:flex;gap:8px;margin:4px 0 14px}
.ktab{flex:1;padding:12px 0;border-radius:999px;border:2px solid #1fa3ff;background:#fff;color:#0b2a4a;font-weight:800;font-size:16px;cursor:pointer}
.ktab.on{background:#1fa3ff;color:#021024}
