dialog{color:var(--ink);border:1px solid var(--border);border-radius:20px;padding:28px;max-width:520px;width:calc(100% - 32px);max-height:calc(100dvh - 32px);box-shadow:0 22px 90px #103f3224;overscroll-behavior:contain}dialog::backdrop{background:#102d2566;backdrop-filter:blur(2px)}dialog h2{font-size:24px;margin-bottom:12px}dialog p{font-size:14px;line-height:1.8}dialog .muted{margin:12px 0 20px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.dialog-heading h2{font-size:22px;margin:0}.icon-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--zjy-soft);flex:none}.dialog-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:var(--zjy-soft);border-radius:50%;color:var(--green);font-weight:700;margin-bottom:16px}.sheet-handle{display:none}.filters{display:grid;gap:18px;margin-top:22px}.filters label{display:grid;gap:7px;font-size:14px;color:var(--muted)}.filters select{min-height:48px;width:100%;padding:10px 12px;border:1px solid #c5d5c2;border-radius:10px;background:#fff;color:var(--ink);font-size:16px}.filter-actions{display:flex;gap:12px;margin-top:26px}.filter-actions>*{flex:1}.image-dialog{max-width:960px;padding:20px}.viewer-stage{background:var(--zjy-soft);border-radius:14px;max-height:65dvh;overflow:auto}.viewer-stage img{width:100%;height:55dvh;object-fit:contain}.image-dialog.zoomed .viewer-stage img{width:165%;max-width:none;height:auto;min-height:65dvh}.viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px}.viewer-footer p{font-size:13px;margin:0}body:has(dialog[open]){overflow:hidden}.empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid var(--border);border-radius:20px;min-height:300px;padding:36px 20px;gap:14px;background:#fff}.empty>span>.ui-icon{width:36px;height:36px;color:var(--green)}.empty h2{font-size:24px}.empty p{color:var(--muted)}.empty>a:not(.button){display:flex;align-items:center;min-height:44px;color:var(--green)}.error-page{max-width:720px;margin:30px auto}.error-page>span{font-size:48px;font-weight:700;color:var(--green)}.network-banner{width:calc(100% - 24px);max-width:1280px;margin:12px auto 0;background:#fff3da;color:#624a25;border:1px solid #e3d1a5;padding:10px 14px;border-radius:12px;font-size:14px}.network-banner button{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;margin-left:8px}.image-recovery{position:absolute;left:8px;bottom:8px;z-index:3;padding:4px 6px;background:#fff;border-radius:6px;font-size:12px;color:var(--muted);pointer-events:none}.boot-skeleton{display:none;position:fixed;top:0;left:0;right:0;height:3px;z-index:100;gap:3px;pointer-events:none}.boot-skeleton span{flex:1;background:#a6c486;animation:prepare 1s ease-in-out infinite alternate}body[data-loading] .boot-skeleton{display:flex}main[aria-busy=true] .product-image{opacity:.55}@keyframes prepare{to{opacity:.3}}
@media(max-width:767px){dialog{padding:22px;max-height:calc(100dvh - 24px);width:calc(100% - 24px)}.filter-dialog{position:fixed;left:0;right:0;bottom:0;top:auto;margin:0;width:100%;max-width:none;border-radius:22px 22px 0 0;padding:12px 20px calc(20px + env(safe-area-inset-bottom));max-height:90dvh}.sheet-handle{display:block;width:36px;height:4px;background:#c8d0c4;border-radius:4px;margin:0 auto 10px}.dialog-heading h2{font-size:22px}.image-dialog{padding:16px}.viewer-stage img{height:47dvh}.viewer-footer{align-items:flex-start;gap:10px}.viewer-footer p{flex:1}.viewer-footer .button{padding:8px 12px;font-size:13px}.network-banner{font-size:13px}.network-banner button{margin-left:0}.empty{padding:30px 18px}.empty h2{font-size:22px}.empty p{font-size:14px}}
.image-failed{visibility:hidden}.product-image,.detail-visual,.hero-visual,.viewer-stage,.compare-summary,.want-product>div{position:relative}

