/* ===== Hamada Bioderma – السلة: أزرار الإضافة + عدّاد الكمية + درج السلة ===== */
html.hbiodc-lock{overflow:hidden}
.hbiodc-cartctl{margin-top:6px;min-height:44px}
.hbiodc-add,.hbiodc-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:0 14px;border:0!important;border-radius:10px!important;background:#1597A5!important;color:#fff!important;font-size:14px!important;font-weight:800!important;text-decoration:none!important;cursor:pointer;box-sizing:border-box;font-family:inherit;opacity:1!important}
.hbiodc-add:active,.hbiodc-btn:active{filter:brightness(.92)}
.hbiodc-btn.alt{background:#fff!important;color:#12263A!important;border:2px solid #C9D4DF!important}
.hbiodc-btn:disabled,.busy{opacity:.55!important;pointer-events:none}
/* عدّاد الكمية */
.hbiodc-step{display:flex;align-items:stretch;gap:6px;direction:ltr;min-height:44px}
.hbiodc-step b{flex:1;min-width:34px;display:grid;place-items:center;font-size:16px;color:#12263A;background:#EAF0F5;border-radius:10px}
.hbiodc-step button{flex:none;width:44px;height:44px;border:0!important;border-radius:10px!important;font-size:22px!important;font-weight:800!important;line-height:1;cursor:pointer;padding:0!important;font-family:inherit;opacity:1!important}
.hbiodc-step .hbiodc-inc{background:#12804A!important;color:#fff!important}
.hbiodc-step .hbiodc-dec{background:#fff!important;color:#12263A!important;border:2px solid #C9D4DF!important}
.hbiodc-step .hbiodc-del{background:#E4EFFC!important;color:#087F91!important;font-size:18px!important}
/* زر السلة في الأعلى */
.hbiodc-cartbtn{position:relative;flex:none;width:44px;height:44px;border:0!important;border-radius:50%!important;background:#EAF0F5!important;color:#12263A!important;font-size:20px!important;cursor:pointer;padding:0!important;opacity:1!important}
.hbiodc-cnt{position:absolute;top:-4px;left:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#087F91;color:#fff;font-size:12px;font-style:normal;font-weight:800;line-height:20px;text-align:center;box-sizing:border-box}
.hbiodc-cnt[hidden]{display:none}
.hsc-ph{gap:8px}
.hbiodc-ph-logo{height:22px;width:auto;flex:none;display:block}
.hbiodc-ph-sp{flex:1}
/* درج السلة */
#hbiodccart{position:fixed;inset:0;z-index:2147483647;display:none;color:#12263A;font-family:inherit}
#hbiodccart.on{display:block}
#hbiodccart .hbiodccart-bd{position:absolute;inset:0;background:rgba(8,18,32,.6)}
#hbiodccart .hbiodccart-p{position:absolute;left:0;right:0;bottom:0;max-height:92vh;display:flex;flex-direction:column;background:#fff;border-radius:22px 22px 0 0;box-shadow:0 -12px 34px rgba(0,0,0,.35)}
@media(min-width:700px){#hbiodccart .hbiodccart-p{left:auto;right:3vw;width:440px;bottom:3vh;border-radius:22px}}
#hbiodccart .hbiodccart-h{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:3px solid #087F91}
#hbiodccart .hbiodccart-h img{height:18px;width:auto}
#hbiodccart .hbiodccart-h b{font-size:17px}
#hbiodccart .hbiodccart-n{flex:1;color:#556677;font-size:14px}
#hbiodccart .hbiodccart-x{width:42px;height:42px;border:0!important;border-radius:50%!important;background:#EAF0F5!important;color:#12263A!important;font-size:26px!important;line-height:1;cursor:pointer;padding:0!important}
#hbiodccart .hbiodccart-b{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:6px 14px}
#hbiodccart .hbiodccart-r{display:flex;gap:10px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #EEF2F6}
#hbiodccart .hbiodccart-im{flex:0 0 72px;width:72px;height:72px;border:1px solid #EEF2F6;border-radius:10px;overflow:hidden;background:#fff;display:block}
#hbiodccart .hbiodccart-im img{width:100%;height:100%;object-fit:contain;display:block}
#hbiodccart .hbiodccart-i{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
#hbiodccart .hbiodccart-nm{font-size:13.5px;font-weight:700;line-height:1.4;color:#12263A!important;text-decoration:none!important}
#hbiodccart .hbiodccart-u{font-size:12px;color:#556677}
#hbiodccart .hbiodccart-l{flex:none;color:#087F91;font-size:14px;white-space:nowrap}
#hbiodccart .hbiodccart-empty{text-align:center;padding:36px 10px;color:#556677}
#hbiodccart .hbiodccart-empty span{font-size:46px;display:block}
#hbiodccart .hbiodccart-empty p{font-size:18px;font-weight:800;color:#12263A;margin:8px 0 4px}
#hbiodccart .hbiodccart-f{padding:12px 14px 16px;border-top:1px solid #DCE5EE;display:flex;flex-direction:column;gap:8px;background:#fff;border-radius:0 0 22px 22px}
#hbiodccart .hbiodccart-t{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:700}
#hbiodccart .hbiodccart-t b{font-size:21px;color:#087F91}
#hbiodccart .hbiodccart-note{font-size:13px;font-weight:800;color:#8A4B00;background:#FFF0D6;border-radius:10px;padding:9px 12px;text-align:center}
#hbiodccart .hbiodccart-2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#hbiodccart .hbiodccart-f>.hbiodc-btn:not(.alt){background:#087F91!important}
/* رسالة قصيرة */
.hbiodc-toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,20px);z-index:2147483647;max-width:90vw;padding:11px 18px;border-radius:12px;background:#12263A;color:#fff;font-size:14px;font-weight:700;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center}
.hbiodc-toast.on{opacity:1;transform:translate(-50%,0)}
.hbiodc-toast.ok{background:#12804A}.hbiodc-toast.warn{background:#B26A00}.hbiodc-toast.err{background:#087F91}

/* حالة التوفر */
.hbpc-st{display:inline-block;font-size:11.5px;font-weight:800;font-style:normal;padding:2px 8px;border-radius:8px;white-space:nowrap}
.hbpc-st.in{background:#E5F5EA;color:#12663A}
.hbpc-st.pend{background:#FFF0D6;color:#8A4B00}
.hbpc-pr{flex-wrap:wrap}
.hbpc-foot{margin:0;padding:12px 14px;background:#FFF8E1;color:#5B3A00;font-size:12.5px;line-height:1.6}
#hbx .hbx-pi .hbpc-st{align-self:flex-start}
/* شاشة الفحص وقائمة المنتجات بملء الشاشة */
#hbx .hbx-p{top:0;bottom:0;max-height:none;height:100vh;height:100dvh;border-radius:0}
#hbx .hbx-h{border-radius:0}
@media(min-width:700px){#hbx .hbx-p{width:640px;bottom:0;border-radius:0}}
.hsc-panel{height:100vh!important;height:100dvh!important;max-height:none!important;border-radius:0!important}

/* رأس الصفحة: لوجو نظيف على خلفية بيضاء */
.hsc-ph{background:#fff;border-bottom:3px solid #087F91;padding:12px 14px!important}
