/* CQ shared-store shop engine skin (15 July 2026).
   Palette hooks: --cqshop-accent / --cqshop-ink / --cqshop-deep default to the
   site chassis vars so each storefront keeps its own look. */
.cqshop-setup{max-width:640px;margin:2rem auto;padding:1.4rem 1.6rem;border:1px solid #d8dde6;border-radius:12px;background:#fff}
.cqshop-setup h3{margin:0 0 .5rem}
.cqshop-setup code{background:#f0f2f6;padding:.1em .35em;border-radius:4px}

.cqshop-bar{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center;margin:0 0 1.4rem}
.cqshop-q{flex:1 1 260px;min-width:220px;padding:.65em .9em;font:inherit;border:1px solid #c9cfda;border-radius:10px;background:#fff;color:#14192a}
.cqshop-chips{display:flex;flex-wrap:wrap;gap:.45rem}
.cqshop-chip{font:inherit;font-size:13px;font-weight:600;padding:.4em .85em;border-radius:999px;border:1px solid #c9cfda;background:#fff;color:#333d48;cursor:pointer}
.cqshop-chip.on{background:var(--cqshop-accent,var(--em,#1b2a4a));border-color:var(--cqshop-accent,var(--em,#1b2a4a));color:var(--cqshop-ink,#fff)}

.cqshop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.1rem}
.cqshop-card{display:flex;flex-direction:column;border:1px solid #e2e6ee;border-radius:14px;overflow:hidden;background:#fff}
.cqshop-cardbtn{display:block;width:100%;text-align:left;border:0;background:none;padding:0;cursor:pointer;font:inherit;color:inherit}
.cqshop-media{display:block;aspect-ratio:4/3;background:#f2f4f8;overflow:hidden}
.cqshop-media img{width:100%;height:100%;object-fit:cover;display:block}
.cqshop-noimg{display:flex;align-items:center;justify-content:center;height:100%;font-size:2.4rem;font-weight:700;color:#aab3c5}
.cqshop-cardtx{display:block;padding:.8rem .95rem .4rem}
.cqshop-cardtx b{display:block;font-size:15px;line-height:1.35;color:#14192a}
.cqshop-cardtx i{display:block;font-style:normal;font-weight:700;margin-top:.35rem;color:var(--cqshop-deep,var(--deep,#333d48))}
.cqshop-add{margin:.6rem .95rem .95rem;padding:.55em .9em;font:inherit;font-size:13.5px;font-weight:700;border-radius:9px;border:0;cursor:pointer;background:var(--cqshop-accent,var(--em,#1b2a4a));color:var(--cqshop-ink,#fff)}
.cqshop-add:hover{filter:brightness(1.08)}
.cqshop-out{margin:.6rem .95rem .95rem;font-size:13px;color:#77808f}
.cqshop-more{display:block;margin:1.6rem auto 0;padding:.6em 1.6em;font:inherit;font-weight:700;border-radius:999px;border:1px solid #c9cfda;background:#fff;cursor:pointer;color:#14192a}
.cqshop-empty{grid-column:1/-1;text-align:center;color:#57606f;padding:2rem 0}

.cqshop-overlay{position:fixed;inset:0;z-index:2350;background:rgba(10,14,24,.62);display:flex;align-items:center;justify-content:center;padding:20px}
.cqshop-panel{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;max-width:880px;width:100%;max-height:86vh;overflow:auto;background:#fff;border-radius:16px;padding:1.4rem}
.cqshop-gal img{width:100%;border-radius:10px;margin-bottom:.7rem;display:block}
.cqshop-info h2{margin:0 0 .6rem;font-size:1.35rem;color:#14192a}
.cqshop-desc{font-size:14.5px;line-height:1.6;color:#333d48;max-height:34vh;overflow:auto;margin-bottom:1rem}
.cqshop-lab{display:block;font-size:13px;font-weight:700;margin:0 0 .8rem;color:#333d48}
.cqshop-lab select,.cqshop-lab input{display:block;width:100%;margin-top:.3rem;padding:.5em .7em;font:inherit;border:1px solid #c9cfda;border-radius:8px;background:#fff}
.cqshop-buy{width:100%;padding:.7em 1em;font:inherit;font-weight:700;border-radius:10px;border:0;cursor:pointer;background:var(--cqshop-accent,var(--em,#1b2a4a));color:var(--cqshop-ink,#fff)}
.cqshop-x{position:absolute;top:.6rem;right:.7rem;width:2.1rem;height:2.1rem;border-radius:50%;border:1px solid #c9cfda;background:#fff;font-size:1.15rem;cursor:pointer;line-height:1;color:#14192a}

.cqshop-badge{position:fixed;right:18px;bottom:18px;z-index:2340;display:flex;align-items:center;gap:.45rem;padding:.6em .95em;border-radius:999px;border:0;cursor:pointer;background:var(--cqshop-accent,var(--em,#1b2a4a));color:var(--cqshop-ink,#fff);font:inherit;font-weight:700;box-shadow:0 6px 22px rgba(10,14,24,.28)}
.cqshop-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

.cqshop-drawer{position:fixed;top:0;right:0;bottom:0;z-index:2360;width:min(400px,94vw);background:#fff;box-shadow:-10px 0 34px rgba(10,14,24,.25);transform:translateX(105%);transition:transform .25s ease;display:flex;flex-direction:column;padding:1.1rem 1.2rem}
.cqshop-drawer.open{transform:none}
.cqshop-dhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:.8rem}
.cqshop-dhead h2{margin:0;font-size:1.2rem;color:#14192a}
.cqshop-dhead .cqshop-x{position:static}
.cqshop-lines{flex:1;overflow:auto}
.cqshop-line{display:flex;align-items:center;gap:.7rem;padding:.65rem 0;border-bottom:1px solid #edf0f5}
.cqshop-line img{width:52px;height:52px;object-fit:cover;border-radius:8px}
.cqshop-linetx{flex:1}
.cqshop-linetx b{display:block;font-size:13.5px;line-height:1.35;color:#14192a}
.cqshop-linetx i{display:block;font-style:normal;font-size:12.5px;color:#57606f;margin-top:.15rem}
.cqshop-lineqty{display:flex;align-items:center;gap:.45rem}
.cqshop-lineqty button{width:1.7rem;height:1.7rem;border-radius:50%;border:1px solid #c9cfda;background:#fff;cursor:pointer;font:inherit;color:#14192a}
.cqshop-sub{font-weight:800;margin:.9rem 0 .6rem;color:#14192a}
.cqshop-checkout{display:block;text-align:center;padding:.75em 1em;border-radius:10px;background:var(--cqshop-accent,var(--em,#1b2a4a));color:var(--cqshop-ink,#fff);font-weight:800;text-decoration:none}
.cqshop-note{font-size:12px;color:#77808f;margin:.6rem 0 0}

.cqshop-toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,12px);z-index:2370;background:#14192a;color:#fff;font-weight:700;font-size:14px;padding:.6em 1.1em;border-radius:999px;opacity:0;transition:opacity .2s,transform .2s}
.cqshop-toast.on{opacity:1;transform:translate(-50%,0)}

/* v2: multi-database resource centre */
.cqshop-src{display:inline-block;font-style:normal;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sc,#333);border:1px solid var(--sc,#333);border-radius:999px;padding:.15em .6em;margin:0 0 .45rem}
.cqshop-group{margin-bottom:1.2rem;padding-bottom:.4rem;border-bottom:2px solid #edf0f5}
.cqshop-group h3{margin:.2rem 0 .4rem;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sc,#333)}
.cqshop-group .cqshop-checkout{margin-bottom:.4rem}

@media (max-width:720px){.cqshop-panel{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.cqshop-drawer,.cqshop-toast{transition:none}}
