/* Category view (the new store layout): the chip row, the "All" menu, the heading with sort, the type pills. The product cards are the store's own. */
.cv{position:relative}
.cv-nav{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);margin-bottom:6px}
.cv-all{flex:none;display:flex;align-items:center;gap:8px;border:0;background:var(--bg2);color:var(--ink);border-radius:10px;padding:9px 14px;font-weight:700;cursor:pointer}.cv-all.on{background:var(--pri);color:#fff}
.cv-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px;cursor:grab;-webkit-user-select:none;user-select:none}.cv-chips.drag{cursor:grabbing}.cv-chips.drag .cv-chip{pointer-events:none}.cv-chips .cv-chip{-webkit-user-drag:none}.cv-chips::-webkit-scrollbar{display:none}
.cv-strip{position:relative;flex:1;min-width:0}.cv-arr{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:var(--bg);color:var(--ink);font-size:20px;line-height:1;cursor:pointer;box-shadow:0 3px 10px rgba(0,0,0,.18);z-index:2;display:flex;align-items:center;justify-content:center;padding:0}.cv-arr.l{left:2px}.cv-arr.r{right:2px}.cv-strip .cv-chips{padding:2px 40px}.cv-arr[hidden]{display:none}.cv-arr:hover{background:var(--pri);color:#fff;border-color:var(--pri)}
.cv-chip{flex:none;display:flex;align-items:center;gap:7px;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:999px;padding:7px 13px;white-space:nowrap;font-weight:500;text-decoration:none}.cv-chip:hover{border-color:var(--pri)}.cv-chip.on{background:var(--pri);border-color:var(--pri);color:#fff}
.cv-mega{position:absolute;left:0;right:0;top:56px;z-index:30}.cv-mega[hidden]{display:none}
.cv-mbox{display:grid;grid-template-columns:250px 1fr;max-width:1060px;background:var(--bg);border:1px solid var(--line);border-radius:0 0 14px 14px;box-shadow:0 18px 50px rgba(0,0,0,.2);min-height:360px;max-height:70vh;overflow:hidden}
.cv-ml{border-right:1px solid var(--line);overflow:auto;padding:6px 0}.cv-ml button{display:flex;width:100%;justify-content:space-between;align-items:center;border:0;background:transparent;color:var(--ink);padding:11px 18px;text-align:left;font-weight:500;font-size:15px;font-family:inherit;cursor:pointer}.cv-ml button:hover,.cv-ml button.on{background:var(--bg2);color:var(--ok);font-weight:700}
.cv-mr{padding:18px 24px;overflow:auto}.cv-mr h3{margin:0 0 6px;display:flex;justify-content:space-between;align-items:center;font-size:20px}.cv-mr h3 a{color:var(--ok);font-size:13px;font-weight:800;letter-spacing:.5px;text-decoration:none}
.cv-t{display:block;padding:9px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}.cv-t:hover{color:var(--pri)}.cv-t em,.cv-sub em{color:var(--mut);font-style:normal;font-size:12px;margin-left:6px}
.cv-close{display:none}
.cv-empty{display:grid;place-items:center;height:100%;color:var(--mut);text-align:center;padding:40px}
.cv-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 0 6px}.cv-head h1{margin:0;font-size:24px;text-transform:uppercase}.cv-head p{margin:2px 0 0;font-size:13px}
.cv-ctl{display:flex;gap:8px;flex-wrap:wrap}.cv-ctl select{padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit;width:auto}
.cv-subs{display:flex;gap:8px;flex-wrap:wrap;padding:6px 0 10px}.cv-sub{border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:999px;padding:6px 13px;font-size:13px;text-decoration:none}.cv-sub:hover{border-color:var(--pri)}.cv-sub.on{background:var(--bg2);border-color:var(--pri);color:var(--pri);font-weight:700}
@media(max-width:760px){.cv-mega{position:fixed;left:0;right:0;top:0;bottom:72px;z-index:1100;background:var(--bg)}.cv-mbox{display:block;height:100%;max-width:none;max-height:none;border:0;border-radius:0;box-shadow:none;overflow:auto}.cv-close{position:sticky;top:0;z-index:2;display:block;width:100%;border:0;border-bottom:1px solid var(--line);background:var(--bg2);color:var(--ink);padding:13px 16px;text-align:right;font-weight:700;font-size:15px;font-family:inherit;cursor:pointer}.cv-ml{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;border:0;max-height:none;overflow:visible}.cv-ml button{border:1px solid var(--line);border-radius:10px;padding:11px 12px;font-size:14px}.cv-ml button.on{border-color:var(--ok)}.cv-mr{padding:6px 16px 20px;overflow:visible}.cv-subs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.cv-subs::-webkit-scrollbar{display:none}.cv-sub{white-space:nowrap;flex:none}.cv-head h1{font-size:20px}}

/* ---- category layout home page: "Shop by Category" tiles (with the banner above) ---- */
.cvh{padding:18px 0 8px}
.cvh-h{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:0 0 14px}.cvh-h h1{margin:0;font-size:24px}.cvh-h p{margin:2px 0 0}
.cvh-pill{background:var(--bg2);color:var(--pri);border:1px solid var(--line);border-radius:999px;padding:3px 12px;font-size:12px;font-weight:700;white-space:nowrap}
.cvh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}
.cvh-tile{position:relative;display:block;background:var(--bg);border:1px solid var(--line);border-radius:20px;padding:16px 12px 14px;text-align:center;text-decoration:none;color:var(--ink);box-shadow:0 4px 14px rgba(10,34,96,.06);transition:transform .2s,box-shadow .2s,border-color .2s;opacity:0;transform:translateY(10px);animation:cvhIn .5s var(--d,0ms) forwards}
.cvh-tile:hover,.cvh-tile:focus-visible{transform:translateY(-4px);box-shadow:0 14px 28px rgba(23,87,201,.18);border-color:var(--pri)}
@keyframes cvhIn{to{opacity:1;transform:none}}
.cvh-ic{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;margin:0 auto 10px;font-size:30px;background:#e8f0ff}
.cvh-tile.c1 .cvh-ic{background:#e6f7ee}.cvh-tile.c2 .cvh-ic{background:#fff1e0}.cvh-tile.c3 .cvh-ic{background:#f1eaff}.cvh-tile.c4 .cvh-ic{background:#ffe9ef}.cvh-tile.c5 .cvh-ic{background:#e2f6f6}
.cvh-ph{display:block;aspect-ratio:1/1;border-radius:14px;overflow:hidden;border:1px solid var(--line);background:#fff;margin:0 auto 10px}.cvh-ph img{display:block;width:100%;height:100%;object-fit:contain}
.cvh-tile b{display:block;font-size:14px;color:var(--ink)}.cvh-tile small{display:block;color:var(--mut);font-size:12px}
.cvh-sub{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;max-height:0;overflow:hidden;margin-top:0;transition:max-height .25s,margin .25s}
.cvh-tile:hover .cvh-sub,.cvh-tile:focus-visible .cvh-sub{max-height:72px;margin-top:8px}
.cvh-sub i{font-style:normal;font-size:10.5px;background:var(--bg2);border-radius:99px;padding:1px 8px;color:var(--mut)}
@media(max-width:620px){.cvh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cvh-ic{width:52px;height:52px;font-size:26px}.cvh-ph{border-radius:12px}.cvh-sub{display:none}}
@media(prefers-reduced-motion:reduce){.cvh-tile{animation:none;opacity:1;transform:none}}

/* alignment fixes 2026-11-27: the section and sort lists share the row on a phone */
@media(max-width:560px){.cv-ctl{width:100%}.cv-ctl select{flex:1 1 100%;min-width:0}}

/* category tiles: the list of types over the picture (hover on a computer, tap on a phone/tablet), design B and M3 chosen 2026-11-27 */
.cvh-cell{position:relative;min-width:0}.cvh-cell .cvh-tile{height:100%}.cvh-sub{display:none!important}
.cvh-ov{position:absolute;inset:0;z-index:4;border-radius:20px;background:#0b1b4d;color:#fff;padding:14px 12px 10px;text-align:left;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .22s,transform .22s,visibility .22s;overflow:auto;overscroll-behavior:contain}
.cvh-ov h4{margin:0 26px 6px 0;font-size:14px;color:#fff}.cvh-ov a{display:flex;justify-content:space-between;gap:8px;color:#fff;font-size:13px;padding:7px 0;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.14)}.cvh-ov a em{font-style:normal;opacity:.65;font-size:12px}
.cvh-ov a:hover,.cvh-ov a:focus-visible{color:#9cc2ff}.cvh-ov .cvh-all{margin-top:8px;border:0;border-radius:10px;background:#fff;color:#0b1b4d;justify-content:center;padding:9px;font-weight:700}
.cvh-x{display:none;position:absolute;right:6px;top:4px;width:36px;height:36px;border:0;background:none;color:#fff;font-size:24px;line-height:1;cursor:pointer}
@media(hover:hover){.cvh-cell.has-ov:hover .cvh-ov,.cvh-cell.has-ov:focus-within .cvh-ov{opacity:1;visibility:visible;transform:none}}
@media(hover:none){.cvh-cell.has-ov.open .cvh-ov{opacity:1;visibility:visible;transform:none}.cvh-x{display:block}.cvh-ov a{padding:10px 0}}
@media(max-width:620px){.cvh-ov{border-radius:16px;padding:12px 10px 8px}}
