.cn-shop-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:14px; min-width:0; }
.cn-browse-mode { display:flex; align-items:stretch; border:2px solid var(--cn-line); box-shadow:3px 3px 0 var(--cn-line); background:var(--cn-lavender); }
.cn-browse-mode button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:42px; padding:8px 13px; border:0; background:transparent; color:var(--cn-line); font:700 11px/1 "CN Mono", "Courier New", monospace; cursor:pointer; }
.cn-browse-mode button + button { border-left:2px solid var(--cn-line); }
.cn-browse-mode button[aria-pressed="true"] { background:var(--cn-lime); }
.cn-browse-mode button:hover:not([aria-pressed="true"]) { background:var(--cn-pink); }
.cn-browse-mode .app-icon { width:16px; height:16px; }
.cn-shop-body.is-desktop .cn-shop-controls { justify-content:flex-end; }
.cn-shop-body.is-desktop .cn-shop-controls>.cn-tabs { display:none; }
.cn-desktop { --desktop-ink:var(--brand-black); position:relative; border:4px solid var(--desktop-ink); background:var(--brand-sky); color:var(--desktop-ink); box-shadow:8px 8px 0 var(--cn-blue); isolation:isolate; }
.cn-desktop-topbar,.cn-desktop-status { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:38px; padding:7px 15px; background:var(--cn-blue); color:var(--cn-lime); font:700 11px/1.2 "CN Mono", "Courier New", monospace; }
.cn-desktop-topbar { border-bottom:3px solid var(--desktop-ink); }
.cn-desktop-status { min-height:33px; border-top:3px solid var(--desktop-ink); background:var(--cn-lime); color:var(--desktop-ink); font-size:10px; }
.cn-desktop-workspace { min-height:680px; padding:42px clamp(20px,4vw,62px) 62px; background:#42b5ef url('/images/storefront/desktop-sky-v1.png') center top / cover no-repeat; }
.cn-desktop-folders { display:grid; grid-template-columns:repeat(auto-fit,minmax(112px,1fr)); gap:16px 10px; align-items:start; max-width:710px; }
.cn-desktop-folder { display:flex; flex-direction:column; align-items:center; min-width:0; min-height:120px; padding:17px 5px 5px; border:2px solid transparent; background:transparent; color:var(--desktop-ink); text-align:center; cursor:pointer; transition:transform .2s steps(3,end); }
.cn-desktop-folder:hover,.cn-desktop-folder:focus-visible { transform:translateY(-5px); }
.cn-desktop-folder.is-active { border-color:var(--desktop-ink); background:#a0d6c6b8; box-shadow:4px 4px 0 var(--desktop-ink); }
.cn-folder-icon { position:relative; display:block; width:65px; height:48px; margin:0 0 10px; border:3px solid var(--desktop-ink); background:var(--cn-lime); box-shadow:4px 4px 0 var(--desktop-ink); }
.cn-folder-icon::before { content:""; position:absolute; left:-3px; top:-13px; width:32px; height:13px; border:3px solid var(--desktop-ink); border-bottom:0; background:inherit; }
.cn-folder-icon::after { content:""; position:absolute; inset:8px 7px auto; height:5px; background:#fff7; }
.cn-desktop-folder:nth-child(4n+2) .cn-folder-icon { background:var(--cn-pink); }
.cn-desktop-folder:nth-child(4n+3) .cn-folder-icon { background:var(--cn-mint); }
.cn-desktop-folder:nth-child(4n+4) .cn-folder-icon { background:var(--cn-lavender); }
.cn-desktop-folder strong { max-width:100%; padding:3px 4px; background:var(--cn-lime); font:700 11px/1.2 "CN Mono", "Courier New", monospace; overflow-wrap:anywhere; }
.cn-desktop-folder small { margin-top:3px; padding:1px 4px; background:var(--cn-blue); color:var(--cn-lime); font:700 9px/1.1 "CN Mono", "Courier New", monospace; }
.cn-desktop-window { width:100%; max-width:1160px; margin:45px auto 0; border:4px solid var(--desktop-ink); background:var(--cn-lavender); box-shadow:9px 9px 0 var(--desktop-ink); animation:cn-desktop-window-in .32s steps(5,end) both; }
.cn-desktop-titlebar { display:flex; align-items:center; justify-content:space-between; min-height:39px; gap:12px; padding:4px 5px 4px 12px; border-bottom:3px solid var(--desktop-ink); background:var(--cn-blue); color:var(--cn-lime); }
.cn-desktop-titlebar>span { display:flex; align-items:center; gap:9px; min-width:0; font:700 12px/1.2 "CN Mono", "Courier New", monospace; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.cn-desktop-window-mark { flex:none; display:block; width:15px; height:15px; border:2px solid var(--desktop-ink); background:var(--cn-pink); box-shadow:2px 2px 0 var(--cn-lime); }
.cn-desktop-titlebar button { flex:none; display:grid; place-items:center; width:29px; height:27px; padding:3px; border:2px solid var(--desktop-ink); background:var(--cn-pink); color:var(--desktop-ink); cursor:pointer; }
.cn-desktop-titlebar button:hover { background:var(--cn-lime); }
.cn-desktop-titlebar button .app-icon { width:15px; height:15px; }
.cn-desktop-path { display:flex; align-items:center; justify-content:space-between; gap:15px; min-height:36px; padding:8px 17px; border-bottom:2px solid var(--desktop-ink); background:var(--cn-mint); font:700 10px/1.2 "CN Mono", "Courier New", monospace; }
.cn-desktop-path>span:last-child { white-space:nowrap; }
.cn-desktop-products { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:26px 18px; padding:27px clamp(16px,3vw,36px) 36px; }
.cn-desktop-product { display:flex; flex-direction:column; align-items:center; min-width:0; padding:7px 7px 10px; border:2px solid transparent; color:var(--desktop-ink); text-align:center; text-decoration:none; transition:transform .18s steps(3,end),background-color .18s; }
.cn-desktop-product:hover,.cn-desktop-product:focus-visible { transform:translateY(-5px); border-color:var(--desktop-ink); background:var(--cn-lime); box-shadow:4px 4px 0 var(--desktop-ink); }
.cn-desktop-thumbnail { display:block; width:min(100%,158px); aspect-ratio:4/5; overflow:hidden; border:3px solid var(--desktop-ink); background:var(--cn-coral); box-shadow:4px 4px 0 var(--cn-blue); }
.cn-desktop-product:nth-child(4n+2) .cn-desktop-thumbnail { background:var(--cn-mint); }
.cn-desktop-product:nth-child(4n+3) .cn-desktop-thumbnail { background:var(--cn-pink); }
.cn-desktop-product img { display:block; width:100%; height:100%; object-fit:cover; }
.cn-desktop-product strong { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; width:100%; min-height:2.5em; margin-top:11px; overflow:hidden; font:700 12px/1.25 "CN Mono", "Courier New", monospace; overflow-wrap:anywhere; }
.cn-desktop-product small { margin-top:6px; padding:3px 6px; background:var(--cn-blue); color:var(--cn-lime); font:700 10px/1.2 "CN Mono", "Courier New", monospace; }
.cn-desktop-empty { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:15px; min-height:170px; padding:25px; font:700 13px "CN Mono", "Courier New", monospace; }
.cn-desktop-empty button { display:inline-flex; align-items:center; gap:7px; padding:9px 13px; border:2px solid var(--desktop-ink); background:var(--cn-lime); color:var(--desktop-ink); cursor:pointer; }
.cn-desktop-empty .app-icon { width:16px; height:16px; }
.cn-shop-body :is(.cn-browse-mode button,.cn-desktop-folder,.cn-desktop-product,.cn-desktop-titlebar button):focus-visible { outline:3px solid var(--cn-pink); outline-offset:3px; }
.cn-shop-body.is-desktop .cn-catalog-note { margin-top:38px; }
@keyframes cn-desktop-window-in { from { transform:translateY(14px); } to { transform:translateY(0); } }
@media(max-width:900px) { .cn-shop-actions { width:100%; justify-content:space-between; } .cn-desktop-products { grid-template-columns:repeat(auto-fill,minmax(135px,1fr)); } }
@media(max-width:700px) { .cn-shop-actions { align-items:stretch; } .cn-shop-actions .cn-search { flex:1 1 100%; } .cn-shop-actions .cn-search input { width:100%; } .cn-browse-mode { width:100%; } .cn-browse-mode button { flex:1; min-width:0; } .cn-desktop { margin-inline:-5px; box-shadow:5px 5px 0 var(--cn-blue); } .cn-desktop-topbar { font-size:9px; } .cn-desktop-topbar>span:last-child { display:none; } .cn-desktop-workspace { min-height:540px; padding:35px 15px 44px; background-size:auto 670px; } .cn-desktop-folders { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 5px; } .cn-desktop-folder { min-height:109px; padding:15px 3px 5px; } .cn-folder-icon { width:52px; height:40px; } .cn-folder-icon::before { width:26px; } .cn-desktop-folder strong { font-size:9px; } .cn-desktop-window { margin-top:32px; box-shadow:5px 5px 0 var(--desktop-ink); } .cn-desktop-titlebar>span { font-size:10px; } .cn-desktop-path { font-size:8px; padding-inline:8px; } .cn-desktop-products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 6px; padding:15px 8px 20px; } .cn-desktop-product { padding:5px 3px 7px; } .cn-desktop-thumbnail { width:min(100%,135px); } .cn-desktop-product strong { font-size:10px; } .cn-desktop-status { font-size:8px; } }
@media(max-width:380px) { .cn-desktop-products { gap:10px 3px; } .cn-desktop-path { flex-wrap:wrap; } }
@media(prefers-reduced-motion:reduce) { .cn-desktop-window { animation:none; } .cn-desktop-product,.cn-desktop-folder { transition:none; } }
