.sbfav-product-action{display:inline-flex;vertical-align:middle;margin:0 4px}.sbfav-btn{width:36px;height:36px;border:1px solid #e2e5ea;border-radius:7px;background:#fff;color:#20242b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:border-color .15s ease,color .15s ease,background-color .15s ease;padding:0}.sbfav-btn span{font-size:27px;line-height:1}.sbfav-btn:hover{border-color:#d5dae1;color:#20242b;background:#fff}.sbfav-btn.is-active,.sbfav-btn.is-active:hover{border-color:var(--sbfav-accent,#1877f2);color:var(--sbfav-accent,#1877f2);background:#f5f9ff}.sbfav-btn:disabled{opacity:.55;cursor:wait}
.sbfav-page{direction:rtl;width:100%;padding:0}.sbfav-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 0 18px;margin-bottom:18px;border-bottom:1px solid #edf0f4}.sbfav-head-copy{display:flex;align-items:center;gap:12px}.sbfav-head-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:7px;background:#e8f1fe;color:var(--sbfav-accent,#1877f2);font-size:0}.sbfav-head-icon svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sbfav-head h1{font-size:20px;font-weight:900;color:#172033;margin:0 0 4px}.sbfav-head p{margin:0;color:#7b8796;font-size:12px}.sbfav-clear,.sbfav-remove{border:0;background:#fff1f1;color:#c93636;border-radius:7px;padding:9px 13px;cursor:pointer;font-family:inherit}.sbfav-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sbfav-card{display:flex;gap:14px;border:1px solid #e7ebf0;background:#fff;border-radius:7px;padding:13px;min-width:0;transition:border-color .15s ease,box-shadow .15s ease}.sbfav-card:hover{border-color:#d9e1e9;box-shadow:0 5px 16px rgba(15,23,42,.04)}.sbfav-image{width:112px;flex:0 0 112px;display:flex;align-items:center;justify-content:center}.sbfav-image img{display:block;width:100%;height:112px;object-fit:contain}.sbfav-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:7px}.sbfav-name{color:#202a38!important;font-weight:800;line-height:1.8;font-size:13px}.sbfav-price{font-size:14px;color:#172033}.sbfav-stock{font-size:11px}.sbfav-stock.ok{color:#16834b}.sbfav-stock.no{color:#c62828}.sbfav-actions{margin-top:auto;display:flex;gap:7px;align-items:center}.sbfav-view{background:var(--sbfav-accent,#1877f2);color:#fff!important;border-radius:7px;padding:8px 11px;font-size:12px;font-weight:700}.sbfav-remove{padding:8px 11px;font-size:12px}.sbfav-empty{text-align:center;border:1px dashed #d8dee7;border-radius:7px;padding:48px 20px;background:#fbfcfd}.sbfav-empty .heart{line-height:0;color:#c3ccd6}.sbfav-empty .heart svg{display:inline-block;width:52px;height:52px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sbfav-empty h2{font-size:17px;margin:7px 0}.sbfav-empty p{color:#7b8796}.sbfav-empty a{display:inline-block;margin-top:10px;background:var(--sbfav-accent,#1877f2);color:#fff!important;padding:10px 16px;border-radius:7px}.sbfav-account-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;margin-right:auto;border-radius:7px;background:#e8f1fe;color:#1259ba;font-size:10px;font-weight:800}.sbfav-account-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 30px!important;width:30px!important;height:30px!important;margin:0 0 0 8px!important;color:#4b5563!important;background:#f4f6f8!important;border-radius:7px!important}.sbfav-account-icon svg{display:block;width:18px;height:18px}
body#module-sbfavorites-list .mpa-account-shell #sbfavorites-customer-account-link>.link-item{color:#1259ba!important;background:#e8f1fe!important}
@media(max-width:767px){.sbfav-grid{grid-template-columns:1fr}.sbfav-head{align-items:flex-start}.sbfav-head h1{font-size:18px}.sbfav-card{gap:10px}.sbfav-image{width:92px;flex-basis:92px}.sbfav-image img{height:92px}.sbfav-actions{flex-wrap:wrap}}
/* v1.2 Lists modal */
.sbfav-list-icon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-size:0;line-height:0;color:inherit}.sbfav-list-icon svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
html.sbfav-modal-open{overflow:hidden}.sbfav-modal[hidden]{display:none!important}.sbfav-modal{position:fixed;inset:0;z-index:100050;direction:rtl;display:flex;align-items:center;justify-content:center;padding:18px}.sbfav-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.54);}.sbfav-dialog{position:relative;width:min(440px,100%);max-height:min(680px,calc(100vh - 36px));overflow:auto;background:#fff;border-radius:7px;box-shadow:0 24px 70px rgba(0,0,0,.24);font-family:inherit}.sbfav-dialog header{height:56px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #edf0f3;position:sticky;top:0;background:#fff;z-index:2}.sbfav-dialog h3{font-size:16px;font-weight:900;margin:0;color:#1f2937}.sbfav-x{position:absolute;left:16px;top:11px;width:34px;height:34px;border:0;background:transparent;font-size:27px;line-height:1;color:#374151;cursor:pointer}.sbfav-modal-body{padding:22px}.sbfav-modal-art{width:64px;height:64px;border-radius:7px;background:linear-gradient(145deg,#e8f1fe,#fff);margin:0 auto 12px;display:flex;align-items:center;justify-content:center;color:var(--sbfav-accent,#1877f2);font-size:35px;box-shadow:inset 0 0 0 1px #e5eef7}.sbfav-modal-body>strong{display:block;text-align:center;font-size:14px;color:#202a38}.sbfav-modal-body>p{text-align:center;font-size:11px;color:#8a94a3;margin:6px 0 16px}.sbfav-list-options{display:grid;gap:8px;margin-bottom:13px}.sbfav-list-choice{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:9px;min-height:48px;border:1px solid #e6eaf0;border-radius:7px;padding:7px 11px;cursor:pointer;margin:0}.sbfav-list-choice:hover{border-color:#b9d9ee;background:#f5f9ff}.sbfav-list-choice input{position:absolute;opacity:0;pointer-events:none}.sbfav-list-mark{width:22px;height:22px;border:1.5px solid #cbd3dc;border-radius:7px;display:flex;align-items:center;justify-content:center;color:transparent;font-size:13px}.sbfav-list-choice input:checked+.sbfav-list-mark{background:var(--sbfav-accent,#1877f2);border-color:var(--sbfav-accent,#1877f2);color:#fff}.sbfav-list-name{font-weight:800;font-size:12px;color:#263342}.sbfav-list-choice small{font-size:10px;color:#9aa3af}.sbfav-suggestions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 13px}.sbfav-suggestions button{border:0;border-radius:7px;background:#e8f1fe;color:#28465d;min-height:42px;font:700 11px inherit;cursor:pointer}.sbfav-suggestions button:hover{background:#dceffc}.sbfav-create{display:flex;gap:8px;border-top:1px solid #eef1f4;padding-top:14px}.sbfav-create input{min-width:0;flex:1;height:42px;border:1px solid #dce2e8;border-radius:7px;padding:0 11px;font-family:inherit;font-size:12px;outline:0}.sbfav-create input:focus{border-color:var(--sbfav-accent,#1877f2)}.sbfav-create button{height:42px;border:0;border-radius:7px;background:var(--sbfav-accent,#1877f2);color:#fff;padding:0 14px;font:800 11px inherit;white-space:nowrap;cursor:pointer}.sbfav-loading,.sbfav-no-list{text-align:center;padding:16px;color:#8a94a3;font-size:11px}
@media(max-width:767px){.sbfav-modal{align-items:flex-end;padding:0}.sbfav-dialog{width:100%;max-height:82vh;border-radius:7px 7px 0 0}.sbfav-modal-body{padding:18px 16px calc(18px + env(safe-area-inset-bottom))}.sbfav-suggestions{gap:7px}.sbfav-create{position:sticky;bottom:0;background:#fff;padding-bottom:2px}}

/* v1.3 account lists manager */
.sbfav-account-title{min-width:0;white-space:nowrap}.mpa-account-shell #sbfavorites-customer-account-link>.link-item{padding-left:7px!important}.mpa-account-shell #sbfavorites-customer-account-link .sbfav-account-count{display:inline-flex!important;position:absolute!important;left:31px!important;top:50%!important;transform:translateY(-50%)!important;z-index:2;min-width:22px!important;height:22px!important;padding:0 6px!important;margin:0!important;border-radius:7px!important;background:#1259ba!important;color:#fff!important;font-size:10px!important;font-weight:900!important;line-height:22px!important}.mpa-account-shell #sbfavorites-customer-account-link>.link-item:after{margin-right:auto!important}.sbfav-lists-head{margin-bottom:14px}.sbfav-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.sbfav-account-back{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:38px;border:1px solid #dfe5eb;border-radius:7px;background:#fff;color:#52606f!important;padding:8px 12px;font:800 11px inherit;text-decoration:none!important;white-space:nowrap;transition:border-color .15s ease,background-color .15s ease,color .15s ease}.sbfav-account-back span{font-size:20px;line-height:1;margin-top:-1px}.sbfav-account-back:hover{border-color:#cbd6e0;background:#f7f9fb;color:#263342!important}.sbfav-new-list,.sbfav-back-lists{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:0;border-radius:7px;background:var(--sbfav-accent,#1877f2);color:#fff!important;padding:8px 14px;font:800 12px inherit;cursor:pointer;text-decoration:none!important}.sbfav-page-create{display:flex;gap:8px;padding:12px;margin:0 0 16px;border:1px solid #e5eaf0;border-radius:7px;background:#f9fbfc}.sbfav-page-create[hidden]{display:none!important}.sbfav-page-create input{flex:1;min-width:0;height:40px;border:1px solid #d9e0e7;border-radius:7px;padding:0 11px;font-family:inherit}.sbfav-page-create button{border:0;border-radius:7px;padding:0 15px;background:var(--sbfav-accent,#1877f2);color:#fff;font-family:inherit;font-weight:800;cursor:pointer}.sbfav-page-create .cancel{background:#eef1f4;color:#4b5563}.sbfav-list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.sbfav-list-card,.sbfav-create-card{min-width:0;border:1px solid #e4e9ef;border-radius:7px;background:#fff;overflow:hidden;transition:.16s ease}.sbfav-list-card:hover,.sbfav-create-card:hover{border-color:#cfd9e4;box-shadow:0 7px 22px rgba(15,23,42,.06);transform:translateY(-1px)}.sbfav-list-preview{height:154px;padding:10px;background:#f7f9fb;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:5px}.sbfav-list-preview span{min-width:0;min-height:0;border-radius:7px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}.sbfav-list-preview img{display:block;width:100%;height:100%;object-fit:contain}.sbfav-list-preview .empty-preview{grid-column:1/-1;grid-row:1/-1;color:#c8d0da}.sbfav-list-preview .empty-preview svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sbfav-list-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px}.sbfav-list-meta>div:first-child{min-width:0}.sbfav-list-meta strong{display:block;color:#202a38;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sbfav-list-meta small{display:block;margin-top:4px;color:#8792a1;font-size:10px}.sbfav-list-menu{display:flex;gap:5px;flex:0 0 auto}.sbfav-list-menu button{border:0;background:#f1f5f8;color:#52606f;border-radius:7px;padding:6px 8px;font:700 10px inherit;cursor:pointer}.sbfav-list-menu .danger{background:#fff0f0;color:#c33}.sbfav-create-card{min-height:216px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;font-family:inherit;color:#52606f}.sbfav-create-card>span{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:7px;background:#e8f1fe;color:var(--sbfav-accent,#1877f2);font-size:29px}.sbfav-create-card strong{font-size:13px;color:#263342}.sbfav-create-card small{font-size:10px;color:#929dab}.sbfav-remove-list-item{border:0;background:#fff1f1;color:#c93636;border-radius:7px;padding:8px 11px;font:700 12px inherit;cursor:pointer}
@media(max-width:991px){.sbfav-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575px){.sbfav-head-actions{width:100%;justify-content:flex-start}.sbfav-account-back,.sbfav-new-list,.sbfav-back-lists{min-height:36px}.sbfav-list-grid{grid-template-columns:1fr}.sbfav-list-preview{height:170px}.sbfav-page-create{flex-wrap:wrap}.sbfav-page-create input{flex-basis:100%}.mpa-account-shell #sbfavorites-customer-account-link .sbfav-account-count{left:30px!important}}

/* v1.3.13 - Heart + list identity and inline list feedback */
.sbfav-list-icon svg{overflow:visible}.sbfav-dialog h3{display:flex;align-items:center;justify-content:center;gap:7px}.sbfav-title-icon{display:inline-flex;align-items:center;justify-content:center;color:var(--sbfav-accent,#1877f2);line-height:0}.sbfav-title-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sbfav-modal-art{background:#e8f1fe;color:var(--sbfav-accent,#1877f2);box-shadow:none;font-size:0}.sbfav-modal-art svg{width:34px;height:34px;display:block;overflow:visible;fill:currentColor;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sbfav-list-copy{min-width:0;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.sbfav-list-feedback{display:inline-flex;align-items:center;max-width:0;opacity:0;overflow:hidden;white-space:nowrap;color:#15803d;font-size:9.5px;font-weight:800;transform:translateX(4px);transition:max-width .22s ease,opacity .18s ease,transform .18s ease}.sbfav-list-feedback:before{content:'✓';display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;margin-left:4px;border-radius:4px;background:#dcfce7;color:#15803d;font-size:9px}.sbfav-list-feedback.is-show{max-width:190px;opacity:1;transform:none}.sbfav-list-feedback.is-remove{color:#64748b}.sbfav-list-feedback.is-remove:before{content:'−';background:#f1f5f9;color:#64748b}.sbfav-list-choice:has(input:checked){border-color:#c9defb;background:#f5f9ff}.sbfav-list-choice input:checked+.sbfav-list-mark{background:var(--sbfav-accent,#1877f2);border-color:var(--sbfav-accent,#1877f2)}.sbfav-create input:focus{border-color:var(--sbfav-accent,#1877f2);box-shadow:0 0 0 3px rgba(24,119,242,.1)}
@media(max-width:767px){.sbfav-list-copy{gap:4px}.sbfav-list-feedback{flex-basis:100%;font-size:9px}.sbfav-list-feedback.is-show{max-width:180px}.sbfav-modal-art{width:60px;height:60px}.sbfav-dialog h3{font-size:15px}}

/* Salam Baba compat 1.3.14: html lock safety + gallery slot */
html.sbfav-modal-open:not(:has(.sbfav-modal:not([hidden]))){overflow:visible}
.sbpg__product-action-item--favorites .sbfav-btn,.sbpg__glass-action-slot--favorites .sbfav-btn{background:transparent!important;border-radius:7px}

/* v1.4.0 - Save (bookmark) button, Instagram style: outline = not saved, filled = saved */
.sbfav-list-icon .sbfav-icon-bm{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:fill .15s ease,stroke .15s ease}
.sbfav-btn.is-active .sbfav-icon-bm{fill:var(--sbfav-accent,#1877f2);stroke:var(--sbfav-accent,#1877f2)}
.sbfav-btn:focus-visible{outline:2px solid var(--sbfav-accent,#1877f2);outline-offset:2px}
.sbfav-btn.has-label{width:auto;min-width:36px;padding:0 12px;gap:6px}
.sbfav-btn .sbfav-btn-label{font-size:12px;font-weight:700;line-height:1;white-space:nowrap}
.sbfav-btn.is-pop .sbfav-list-icon{animation:sbfav-pop .32s ease-out}
@keyframes sbfav-pop{0%{transform:scale(.8)}55%{transform:scale(1.22)}100%{transform:scale(1)}}
.sbfav-msg{margin:0 0 12px;padding:9px 12px;border:1px solid #f0c9c9;border-radius:7px;background:#fff1f1;color:#b42318;font-size:11.5px;font-weight:700;text-align:center}
.sbfav-msg[hidden]{display:none}
.sbfav-toast{position:fixed;z-index:100060;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translate(-50%,12px);max-width:min(440px,calc(100vw - 24px));display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;padding:11px 14px;border-radius:7px;background:#172033;color:#fff;font-size:12px;font-weight:700;direction:rtl;box-shadow:0 10px 30px rgba(15,23,42,.28);opacity:0;transition:opacity .2s ease,transform .2s ease}
.sbfav-toast.is-show{opacity:1;transform:translate(-50%,0)}
.sbfav-toast-text{min-width:0;overflow-wrap:anywhere}
.sbfav-toast button,.sbfav-toast a{border:0;background:none;padding:0;color:#8ec0ff!important;font:700 12px inherit;cursor:pointer;text-decoration:none!important;white-space:nowrap}
@media(max-width:767px){.sbfav-toast{bottom:calc(84px + env(safe-area-inset-bottom));width:calc(100vw - 24px);max-width:none}}
@media(prefers-reduced-motion:reduce){.sbfav-btn.is-pop .sbfav-list-icon{animation:none}.sbfav-toast{transition:none}}
/* low-resolution phones: keep the modal and cards inside the viewport */
@media(max-width:360px){.sbfav-modal-body{padding-inline:12px}.sbfav-suggestions{grid-template-columns:1fr}.sbfav-create{flex-wrap:wrap}.sbfav-create input{flex-basis:100%}.sbfav-create button{width:100%}.sbfav-head-copy{min-width:0}}
