/* Add custom CSS styles below */ 
/* Spider Store - A2HS Banner */
#ss-a2hs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2147483647;
  direction: rtl;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 10px;
  background: linear-gradient(90deg, #f7faff, #dce9ff);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  -webkit-tap-highlight-color: transparent;
}

#ss-a2hs * { box-sizing: border-box; }

#ss-a2hs .ss-a2hs__row {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

#ss-a2hs .ss-a2hs__close {
  position: absolute;
  top: -6px;
  inset-inline-start: auto;
inset-inline-end: 0; /* في RTL هذا = أقصى اليسار */
  width: 24px;
  height: 24px;
  border: 0;
  margin-left:-10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.65);
  font-size: 24px;
  line-height: 24px;
  cursor: pointer;
}

#ss-a2hs .ss-a2hs__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  padding-inline-end: 34px; /* مساحة زر الإغلاق */
}

#ss-a2hs .ss-a2hs__logoWrap {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

#ss-a2hs .ss-a2hs__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

#ss-a2hs .ss-a2hs__text {
  min-width: 0;
}

#ss-a2hs .ss-a2hs__title {
  font-weight: 800;
  font-size: 16px;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#ss-a2hs .ss-a2hs__subtitle {
  margin-top: 2px;
  font-size: 12.5px;
  color: rgba(0,0,0,0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#ss-a2hs .ss-a2hs__btn {
  border: 0;
  border-radius: 20px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 14px;
  margin-left:20px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #1a73ff, #2fb7ff);
  box-shadow: 0 10px 20px rgba(26, 115, 255, 0.25);
  flex: 0 0 auto;
}

#ss-a2hs .ss-a2hs__hint {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 44px;
  inset-inline-end: 0;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 12px 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

#ss-a2hs.ss-a2hs--show-hint .ss-a2hs__hint { display: block; }

#ss-a2hs .ss-a2hs__hintTitle {
  font-weight: 800;
  font-size: 13.5px;
  color: #111;
  margin-bottom: 6px;
}

#ss-a2hs .ss-a2hs__hintLine {
  font-size: 13px;
  color: rgba(0,0,0,0.78);
  line-height: 1.55;
}

#ss-a2hs .ss-a2hs__kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 8px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.08);
  font-weight: 800;
  font-size: 12px;
}

@media (min-width: 768px) {
  #ss-a2hs { display: none !important; }
}