/* 独立客户收藏与最近浏览组件，沿用参考站的轻量浮层和深色侧边标签。 */
.header-icon-favorites svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.65;transition:fill .2s,transform .2s}.header-icon-favorites:hover svg{fill:#104544;transform:scale(1.06)}
.product-summary-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.product-summary-title-row>div:first-child{min-width:0}.product-summary-title-row h1{margin-bottom:17px}.product-favorite-button{display:inline-flex;flex:0 0 auto;align-items:center;gap:8px;min-height:38px;margin-top:3px;padding:0 11px;color:#155553;border:1px solid #c8d9d5;border-radius:20px;background:#fff;font:500 13px/1 'DM Sans',Arial,sans-serif;cursor:pointer;transition:color .2s,border-color .2s,background .2s,transform .2s}.product-favorite-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.product-favorite-button:hover,.product-favorite-button.is-favorite{color:#fff;border-color:#155553;background:#155553;transform:translateY(-1px)}.product-favorite-button.is-favorite svg{fill:currentColor}.product-favorite-button:disabled{cursor:wait;opacity:.62;transform:none}.product-favorite-button:focus-visible,.favorite-remove-button:focus-visible,.recent-viewed-tab:focus-visible,.recent-viewed-close:focus-visible,.recent-viewed-clear:focus-visible{outline:2px solid #155553;outline-offset:3px}
.favorites-page{min-height:calc(100vh - 330px)}.favorites-empty{display:grid;justify-items:center;gap:24px;max-width:570px;margin:0 auto;padding:56px 26px;color:#6b7776;background:#f6f7f6;text-align:center}.favorites-empty p{max-width:410px;margin:0;font-size:15px;line-height:1.7}.favorites-primary-action{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 24px;color:#fff;background:#155553;border:1px solid #155553;font-size:13px;font-weight:600;transition:color .2s,background .2s}.favorites-primary-action:hover{color:#155553;background:#fff}.favorite-product-card{transition:opacity .18s,transform .18s}.favorite-product-card.is-removing{opacity:0;transform:scale(.96)}.favorite-remove-button{margin-top:15px;padding:0;color:#4f6664;border:0;border-bottom:1px solid currentColor;background:transparent;font:500 12px/1.5 'DM Sans',Arial,sans-serif;cursor:pointer}
.recent-viewed-widget{position:relative;z-index:999998}.recent-viewed-tab{position:fixed;z-index:999999;top:50%;left:0;display:flex;align-items:center;gap:8px;min-height:122px;padding:12px 9px;color:#fff;border:0;border-radius:0 5px 5px 0;background:#1f2527;font:600 13px/1.05 'DM Sans',Arial,sans-serif;cursor:pointer;transform:translateY(-50%);writing-mode:vertical-rl;transition:background .2s,transform .2s}.recent-viewed-tab svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transform:rotate(90deg)}.recent-viewed-tab:hover{background:#104544;transform:translateY(-50%) translateX(2px)}.recent-viewed-overlay{position:fixed;z-index:999998;inset:0;background:rgba(20,27,27,.42);opacity:0;backdrop-filter:blur(2px);transition:opacity .22s ease}.recent-viewed-overlay.is-open{opacity:1}.recent-viewed-panel{position:absolute;top:50%;left:0;width:min(650px,calc(100vw - 52px));max-height:calc(100vh - 64px);padding:28px 30px 32px;overflow-y:auto;color:#104544;background:#fff;box-shadow:0 22px 55px rgba(5,20,20,.26);outline:0;opacity:0;transform:translate(-18px,-50%);transition:opacity .2s ease,transform .3s cubic-bezier(.22,.8,.25,1)}.recent-viewed-overlay.is-open .recent-viewed-panel{opacity:1;transform:translate(0,-50%)}.recent-viewed-panel-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 25px}.recent-viewed-panel-top h2{margin:0;font-size:22px;font-weight:500;letter-spacing:-.035em}.recent-viewed-panel-top>div{display:flex;align-items:center;gap:10px}.recent-viewed-close,.recent-viewed-clear{display:grid;width:34px;height:34px;padding:0;place-items:center;color:#1f2a2a;border:0;background:transparent;cursor:pointer}.recent-viewed-close{font:300 27px/1 Arial,sans-serif}.recent-viewed-clear svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.55}.recent-viewed-close:hover,.recent-viewed-clear:hover{color:#155553;background:#f1f5f4}.recent-viewed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.recent-viewed-grid[aria-busy=true]{min-height:270px;background:linear-gradient(100deg,#f7f8f7 20%,#eef1ef 40%,#f7f8f7 60%);background-size:200% 100%;animation:recent-viewed-loading 1.1s linear infinite}@keyframes recent-viewed-loading{to{background-position:-200% 0}}.recent-viewed-card{min-width:0}.recent-viewed-image{display:block;aspect-ratio:1/1;background:#f6f6f6}.recent-viewed-image img{display:block;width:100%;height:100%;object-fit:contain}.recent-viewed-copy{display:grid;gap:9px;padding-top:11px}.recent-viewed-copy>a:first-child{overflow:hidden;color:#155553;font-size:14px;font-weight:500;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.recent-viewed-copy p{margin:0;color:#e14f39;font-size:14px;font-weight:500}.recent-viewed-copy select{width:100%;height:36px;padding:0 8px;color:#485251;border:1px solid #cbd4d1;border-radius:3px;background:#fff;font:400 12px/1 'DM Sans',Arial,sans-serif}.recent-viewed-action{display:flex;min-height:39px;align-items:center;justify-content:center;color:#155553;border:1px solid #155553;font-size:13px;font-weight:500;transition:color .2s,background .2s}.recent-viewed-action:hover{color:#fff;background:#155553}.recent-viewed-empty{display:grid;min-height:220px;place-content:center;gap:18px;padding:20px;color:#6e7b79;text-align:center}.recent-viewed-empty p{max-width:270px;margin:0;font-size:14px;line-height:1.65}.recent-viewed-empty a{color:#155553;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
@media(max-width:640px){.product-summary-title-row{gap:12px}.product-favorite-button{width:38px;padding:0;justify-content:center}.product-favorite-button span{display:none}.recent-viewed-tab{min-height:108px;padding:10px 7px;font-size:12px}.recent-viewed-panel{width:calc(100vw - 28px);max-height:calc(100vh - 36px);padding:23px 18px 25px}.recent-viewed-panel-top{margin-bottom:19px}.recent-viewed-panel-top h2{font-size:20px}.recent-viewed-grid{gap:15px}.recent-viewed-copy>a:first-child{font-size:13px}.favorites-empty{padding:42px 20px}.favorite-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
