/* Save to list */
li.product{position:relative}
.ypcm-heart,.ypcm-heart:hover,.ypcm-heart:focus{appearance:none;-webkit-appearance:none;position:absolute;z-index:3;top:10px;right:10px;width:36px;height:36px;padding:0;margin:0;border:0;border-radius:50%;background:#fff!important;box-shadow:0 1px 6px rgba(0,0,0,.2);display:flex!important;align-items:center;justify-content:center;cursor:pointer;line-height:1}
.ypcm-heart svg,.ypcm-save-pd svg,.ypcm-save-head svg{fill:none;stroke:#5a635e;stroke-width:2}
.ypcm-heart.is-on svg,.ypcm-save-pd.is-on svg{fill:#c8102e;stroke:#c8102e}
.ypcm-heart:focus-visible,.ypcm-save-pd:focus-visible,.ypcm-save-head:focus-visible{outline:2px solid #1b4033;outline-offset:2px}
.ypcm-save-pd,.ypcm-save-pd:hover,.ypcm-save-pd:focus{appearance:none;-webkit-appearance:none;display:inline-flex!important;align-items:center;gap:7px;margin:10px 0 2px;padding:6px 12px 6px 9px;border:1.5px solid #dfe5e1;border-radius:20px;background:#fff!important;color:#13201b!important;font:inherit;font-size:14px;font-weight:700;cursor:pointer;text-transform:none;letter-spacing:normal;line-height:1.2}
.ypcm-save-pd .h{display:inline-flex;width:18px;height:18px}
.ypcm-save-pd .h::before{content:"";width:18px;height:18px;background:no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.4 8 3.4 4.5 6.9 4.5c2 0 3.3 1.1 5.1 3 1.8-1.9 3.1-3 5.1-3 3.5 0 5.5 3.5 4.2 6.8-1.8 4.6-9.3 9.2-9.3 9.2z' fill='none' stroke='%235a635e' stroke-width='2'/%3E%3C/svg%3E")}
.ypcm-save-pd.is-on .h::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.3-9.2C1.4 8 3.4 4.5 6.9 4.5c2 0 3.3 1.1 5.1 3 1.8-1.9 3.1-3 5.1-3 3.5 0 5.5 3.5 4.2 6.8-1.8 4.6-9.3 9.2-9.3 9.2z' fill='%23c8102e' stroke='%23c8102e' stroke-width='2'/%3E%3C/svg%3E")}
.ypcm-save-pd.is-on{border-color:#c8102e}
.ypcm-save-head,.ypcm-save-head:hover,.ypcm-save-head:focus{appearance:none;-webkit-appearance:none;position:relative;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0 6px 0 0;padding:0;border:0;border-radius:50%;background:transparent!important;cursor:pointer;line-height:1}
.ypcm-save-head[hidden]{display:none!important}
.ypcm-save-slot{display:inline-flex;align-items:center;gap:6px;flex:none}
.ypcm-save-head svg{width:24px;height:24px;stroke:currentColor;color:#1b4033}
.ypcm-save-head b{position:absolute;top:2px;right:0;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#c8102e;color:#fff;font-size:10.5px;font-weight:800;line-height:17px;text-align:center}
.ypcm-save-toast{position:fixed;z-index:9995;left:50%;bottom:22px;transform:translate(-50%,20px);width:min(420px,calc(100vw - 24px));display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border-radius:12px;background:#13201b;color:#fff;font-size:14px;box-shadow:0 8px 22px rgba(0,0,0,.28);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s}
.ypcm-save-toast.is-on{opacity:1;visibility:visible;transform:translate(-50%,0)}
.ypcm-save-toast button,.ypcm-save-toast button:hover,.ypcm-save-toast button:focus{appearance:none;border:0;background:none!important;color:#9be15d!important;font:inherit;font-weight:800;cursor:pointer;padding:4px;text-transform:none}
@media(max-width:768px){body.ypcm-mbar-on .ypcm-save-toast{bottom:calc(74px + env(safe-area-inset-bottom))}}
.ypcm-save-dim{position:fixed;inset:0;z-index:2147482998;background:rgba(0,0,0,.4);opacity:0;visibility:hidden;transition:opacity .2s}
.ypcm-save-dim.is-open{opacity:1;visibility:visible}
.ypcm-save-sheet{position:fixed;z-index:2147482999;left:50%;top:50%;width:min(560px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 48px));transform:translate(-50%,-46%);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s;background:#fff;color:#13201b;border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.3);display:flex;flex-direction:column;overflow:hidden;font-family:inherit}
.ypcm-save-sheet.is-open{opacity:1;visibility:visible;transform:translate(-50%,-50%)}
.ypcm-save-sheet *{box-sizing:border-box}
.ypcm-save-top{display:flex;align-items:center;justify-content:space-between;padding:14px 18px 10px;border-bottom:1px solid #eef1ee}
.ypcm-save-top strong{font-size:17px;text-transform:none}
.ypcm-save-x,.ypcm-save-x:hover,.ypcm-save-x:focus{appearance:none;border:0;background:none!important;color:#5a635e!important;font-size:26px;line-height:1;cursor:pointer;padding:0 4px}
.ypcm-save-body{overflow-y:auto;padding:8px 18px 16px}
.ypcm-save-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #eef1ee}
.ypcm-save-row .im{flex:0 0 64px;height:64px;display:flex;align-items:center;justify-content:center;border:1px solid #eef1ee;border-radius:8px;background:#fff}
.ypcm-save-row .im img{max-width:58px;max-height:58px;object-fit:contain;margin:0!important}
.ypcm-save-row .tx{flex:1;min-width:0}
.ypcm-save-row .nm{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:700;font-size:14px;line-height:1.3;color:#13201b!important;text-decoration:none!important}
.ypcm-save-row .ln{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px;flex-wrap:wrap}
.ypcm-save-row .pr{font-weight:900;font-size:15px}
.ypcm-save-row .out{font-weight:600;font-size:12.5px;color:#6b746f}
.ypcm-save-row .buy{padding:7px 11px;border-radius:8px;background:#9be15d;color:#13201b!important;font-weight:900;font-size:12.5px;text-decoration:none!important;white-space:nowrap}
.ypcm-save-row .rm,.ypcm-save-row .rm:hover,.ypcm-save-row .rm:focus{appearance:none;flex:0 0 auto;border:0;background:none!important;color:#8a958f!important;font-size:22px;line-height:1;cursor:pointer;padding:4px}
.ypcm-save-empty{text-align:center;color:#4a544f;padding:28px 6px;margin:0!important}
.ypcm-save-note{font-size:11.5px;color:#6b746f;text-align:center;margin:12px 0 0!important}
.ypcm-save-wait{display:flex;gap:6px;justify-content:center;padding:30px 0}
.ypcm-save-wait span{width:9px;height:9px;border-radius:50%;background:#8a958f;animation:ypcmSaveDot 1s infinite}
.ypcm-save-wait span:nth-child(2){animation-delay:.15s}.ypcm-save-wait span:nth-child(3){animation-delay:.3s}
@keyframes ypcmSaveDot{0%,80%,100%{opacity:.3}40%{opacity:1}}
body.ypcm-save-lock{overflow:hidden}
@media(max-width:600px){
	.ypcm-heart,.ypcm-heart:hover,.ypcm-heart:focus{top:8px;right:8px;width:32px;height:32px}
	.ypcm-save-sheet{left:0;right:0;top:auto;bottom:0;width:100%;max-height:85vh;max-height:85dvh;border-radius:18px 18px 0 0;transform:translateY(30px)}
	.ypcm-save-sheet.is-open{transform:none}
	.ypcm-save-body{padding:6px 14px calc(16px + env(safe-area-inset-bottom))}
	.ypcm-save-head,.ypcm-save-head:hover,.ypcm-save-head:focus{width:36px;height:36px;margin:0}
	.ypcm-save-slot.has-items>:not(.ypcm-save-head){display:none!important}
}
