.ec-product-dialog{width:1120px;max-width:calc(100vw - 100px);padding:32px;position:fixed;font-family:"Noto Sans SC","Microsoft YaHei",sans-serif;color:#333}
.ec-product-dialog::backdrop{background:#0006;backdrop-filter:blur(3px)}
.ec-detail-close{position:absolute;right:16px;top:16px;z-index:1;width:32px;height:32px;padding:7px;border-radius:50%;background:#f5f5f5}
.ec-detail-close>img{width:18px;height:18px}
.ec-detail-close:hover{background:#eaeaea}
.ec-detail-layout{display:grid;grid-template-columns:560px minmax(0,1fr);gap:36px;align-items:center}
.ec-detail-gallery{min-width:0}
.ec-detail-picture{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;border-radius:10px;background:#f8f8f8;overflow:hidden}
.ec-detail-picture>img{display:block;width:100%;height:100%;object-fit:contain}
.ec-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:36px;padding:10px;border-radius:50%;background:#69748c66;transition:background .2s,opacity .2s}
.ec-gallery-prev{left:16px}.ec-gallery-next{right:16px}
.ec-gallery-arrow>img{width:16px;height:16px;filter:brightness(0) invert(1);opacity:.9}
.ec-gallery-arrow:not(:disabled):hover{background:#59657ea6}
.ec-gallery-arrow:disabled{opacity:.45;cursor:default}
.ec-detail-thumbnails{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}
.ec-detail-thumbnails>button{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;height:76px;padding:3px;border:1px solid #e5e5e5;border-radius:7px;background:#fafafa;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.ec-detail-thumbnails>button[aria-pressed="true"]{border-color:#b49b20;box-shadow:0 0 0 1px #b49b20}
.ec-detail-thumbnails>button:not(:disabled):hover{border-color:#b49b20}
.ec-detail-thumbnails>button>img{width:100%;height:100%;object-fit:contain;border-radius:3px}
.ec-detail-thumbnails>button:disabled{opacity:1;color:#999;cursor:default;border-style:dashed}
.ec-detail-thumbnails>button>.ec-gallery-empty-icon{width:18px;height:18px;opacity:.28;border-radius:0}
.ec-detail-thumbnails>button>span:not(.ec-gallery-number){font-size:12px;line-height:20px;text-align:left}
.ec-detail-thumbnails small{display:block;font-size:11px;color:#aaa}
.ec-gallery-number{position:absolute;bottom:3px;right:3px;min-width:18px;padding:0 4px;border-radius:3px;background:#fffc;color:#555;font-size:11px;line-height:18px}
.ec-detail-copy{min-width:0;padding-right:12px}
.ec-detail-breadcrumb{display:flex;align-items:center;gap:7px;margin:0 0 18px;font-size:12px;line-height:20px;color:#999}
.ec-detail-breadcrumb>img{width:12px;height:12px;opacity:.45}
.ec-detail-copy>h2{font-size:28px;line-height:1.5;font-weight:600;margin:0 0 16px}
.ec-detail-description{margin:0;font-size:14px;line-height:1.9;color:#777}
.ec-detail-introduction{margin-top:14px;font-size:13px;color:#666}.ec-detail-introduction summary{cursor:pointer;color:#555}.ec-detail-introduction>div{max-height:220px;overflow:auto;padding-top:8px}.ec-detail-introduction p{white-space:pre-wrap;line-height:1.8;margin:0 0 10px}.ec-detail-introduction img{width:100%;height:auto;margin-top:8px}
.ec-detail-copy>dl{font-size:13px;line-height:22px}
.ec-detail-classification{margin:24px 0 30px;border-top:1px solid #eee;border-bottom:1px solid #eee;padding:18px 0}
.ec-detail-identifiers{margin:0 0 20px;padding:0}
.ec-detail-copy>.ec-detail-identifiers>div+div{margin-top:8px}
.ec-detail-copy>dl>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px}
.ec-detail-copy>dl>div+div{margin-top:12px}
.ec-detail-copy dt{color:#999}.ec-detail-copy dd{margin:0;color:#555}
.ec-detail-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.ec-detail-actions>button{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:5px;background:#f5f5f5;font-size:14px;line-height:20px}
.ec-detail-actions>button:first-child{background:#333;color:#fff;min-width:120px}
.ec-detail-actions>button>img{width:15px;height:15px;opacity:.6}
.ec-detail-actions>button:hover{filter:brightness(.96)}
.ec-cost-status{margin:14px 0 0;color:#8a6a16;font-size:13px;line-height:1.7}
body.fidelity .site-header .header-links>.ecommerce-entry{background:var(--yellow);color:#332a00;font-weight:600;box-shadow:inset 0 0 0 1px #ecd13d,0 3px 8px #c9a51b26;transition:background .2s,box-shadow .2s,transform .2s}
body.fidelity .site-header .header-links>.ecommerce-entry:hover{background:#ffe23a;box-shadow:inset 0 0 0 1px #d5b820,0 4px 10px #c9a51b38;transform:translateY(-1px)}
body.fidelity .site-header .header-links>.ecommerce-entry.active{background:#ffdf32;color:#332a00;box-shadow:inset 0 0 0 1px #d5b820,0 3px 8px #c9a51b30}
@media(max-width:1366px){.ec-product-dialog{width:1000px}.ec-detail-layout{grid-template-columns:500px minmax(0,1fr);gap:28px}}
@media(prefers-reduced-motion:reduce){.ec-product-dialog{animation:none!important}body.fidelity .site-header .header-links>.ecommerce-entry{transition:none}body.fidelity .site-header .header-links>.ecommerce-entry:hover{transform:none}}
