#wcfc-fab-wrap{position:fixed;left:var(--wcfc-x);bottom:var(--wcfc-y);transform:translate(calc(var(--wcfc-x) * -1),var(--wcfc-y));z-index:99990}
#wcfc-fab-wrap[hidden]{display:none}
#wcfc-fab{position:relative;width:var(--wcfc-size);height:var(--wcfc-size);border-radius:50%;border:0;padding:0;cursor:pointer;background:var(--wcfc-btn);color:var(--wcfc-icon);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.28);transition:transform .15s}
#wcfc-fab:hover{transform:scale(1.08)}
#wcfc-fab svg{width:46%;height:46%}
#wcfc-count{position:absolute;top:-4px;right:-4px;min-width:22px;height:22px;padding:0 5px;border-radius:11px;background:var(--wcfc-badge);color:var(--wcfc-badge-text);font:700 12px/22px sans-serif;text-align:center;box-sizing:border-box}
#wcfc-count.bump{animation:wcfcBump .35s}
@keyframes wcfcBump{50%{transform:scale(1.4)}}
#wcfc-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:99999;display:flex;align-items:center;justify-content:center;padding:16px}
#wcfc-overlay[hidden]{display:none}
#wcfc-modal{background:#fff;color:#222;width:100%;max-width:440px;max-height:85vh;border-radius:14px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.35);font-family:inherit}
.wcfc-head{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid #eee;font-size:17px}
.wcfc-head span{display:flex;align-items:center;gap:12px}
#wcfc-list{list-style:none;margin:0;padding:0;overflow-y:auto;flex:1}
#wcfc-list li{display:flex;gap:12px;align-items:center;padding:12px 18px;border-bottom:1px solid #f1f1f1;margin:0}
#wcfc-list img{width:60px;height:60px;object-fit:cover;border-radius:8px;flex:none}
.wcfc-info{flex:1;min-width:0}
.wcfc-info a{display:block;color:inherit;text-decoration:none;font-weight:600;font-size:14px;line-height:1.4}
.wcfc-empty{padding:30px;text-align:center;color:#777}
.wcfc-foot{padding:14px 18px;border-top:1px solid #eee}
.wcfc-subtotal{display:flex;justify-content:space-between;font-weight:700;margin-bottom:12px}
#wcfc-checkout{display:block;text-align:center;background:var(--wcfc-btn);color:var(--wcfc-icon);padding:13px;border-radius:10px;text-decoration:none;font-weight:700}
#wcfc-checkout:hover{opacity:.9}
#wcfc-list li.loading{opacity:.4;pointer-events:none}

#wcfc-root .wcfc-meta{font-size:13px;color:#666;margin:3px 0 8px}
#wcfc-root .wcfc-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
#wcfc-root .wcfc-qty{display:inline-flex;align-items:center;border:1px solid #d1d5db;border-radius:8px;overflow:hidden;background:#fff}
#wcfc-root .wcfc-qnum{min-width:34px;text-align:center;font-weight:700;font-size:14px;color:#222}
#wcfc-root button.wcfc-qbtn,#wcfc-root button.wcfc-del,#wcfc-root button.wcfc-link,#wcfc-root button#wcfc-close{all:unset !important;box-sizing:border-box !important;cursor:pointer !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;visibility:visible !important;opacity:1 !important;font-family:inherit !important;line-height:1 !important}
#wcfc-root button.wcfc-qbtn{width:32px !important;height:32px !important;background:#f3f4f6 !important;color:#111 !important;font-size:20px !important;font-weight:700 !important}
#wcfc-root button.wcfc-qbtn:hover:not(:disabled){background:#e5e7eb !important}
#wcfc-root button.wcfc-qbtn:disabled{opacity:.35 !important;cursor:not-allowed !important}
#wcfc-root button.wcfc-del{width:36px !important;height:36px !important;border-radius:8px !important;background:#fee2e2 !important;color:#b91c1c !important}
#wcfc-root button.wcfc-del:hover{background:#fca5a5 !important}
#wcfc-root button.wcfc-del svg{display:block !important;width:18px !important;height:18px !important;stroke:#b91c1c !important;fill:none !important}
#wcfc-root button.wcfc-link{color:#b91c1c !important;font-size:13px !important;text-decoration:underline !important;background:transparent !important}
#wcfc-root button#wcfc-close{font-size:28px !important;color:#555 !important;width:30px !important;height:30px !important;background:transparent !important}

#wcfc-root input.wcfc-qnum{all:unset !important;box-sizing:border-box !important;width:48px !important;height:32px !important;text-align:center !important;font-weight:700 !important;font-size:14px !important;color:#222 !important;background:#fff !important;-moz-appearance:textfield !important;appearance:textfield !important;cursor:text !important;font-family:inherit !important}
#wcfc-root input.wcfc-qnum::-webkit-outer-spin-button,#wcfc-root input.wcfc-qnum::-webkit-inner-spin-button{-webkit-appearance:none !important;margin:0 !important}
#wcfc-root input.wcfc-qnum:focus{background:#eff6ff !important;box-shadow:inset 0 0 0 2px var(--wcfc-btn) !important}
