/* JBA v16.12.0 - mobile category, compact timed offer, long home carousels and dynamic floating links */
.jba-v1026-cat-card.jba-v1612-mobile-only-card{display:none}

/* Dynamic floating contact/social controls */
html body .jba-v1612-floating-links{position:fixed;left:12px!important;top:auto!important;bottom:150px!important;width:auto;height:auto;z-index:999760!important;margin:0;padding:0;background:transparent;box-shadow:none;pointer-events:none}
html body .jba-v1612-floating-links .chat-box-right{display:flex;flex-direction:column;align-items:center;gap:7px;max-height:min(52vh,440px);overflow-y:auto;overflow-x:hidden;padding:7px 6px;background:rgba(255,255,255,.96);border:1px solid rgba(5,43,96,.12);border-radius:13px;box-shadow:0 8px 22px rgba(5,30,67,.16);pointer-events:auto;scrollbar-width:thin}
html body .jba-v1612-floating-link{display:flex!important;align-items:center;justify-content:center;width:42px!important;height:42px!important;min-width:42px;margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;background:#fff;text-decoration:none!important;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
html body .jba-v1612-floating-link:hover,html body .jba-v1612-floating-link:focus{transform:translateY(-1px);box-shadow:0 5px 13px rgba(4,36,78,.18)}
html body .jba-v1612-floating-link img{display:block!important;width:42px!important;height:42px!important;max-width:none!important;object-fit:contain!important;margin:0!important;padding:2px!important;border-radius:11px!important;box-sizing:border-box}

@media(max-width:991px){
  /* Six mobile category cards, including Tasbih. */
  .jba-v1026-cat-card.jba-v1612-mobile-only-card{display:block}
  html body .jba-v1026-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
  html body .jba-v1026-cat-card{min-width:0!important}

  /* Compact timed discount: only title + Show all, three products in view. */
  html body .jba-tpd-luxe-shell{margin:12px 0 18px!important;contain-intrinsic-size:760px 360px}
  html body .jba-tpd-luxe{padding:12px 10px 10px!important;border-radius:18px!important}
  html body .jba-tpd-luxe:before{inset:6px!important;border-radius:13px!important}
  html body .jba-tpd-luxe__header{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0 3px 9px!important}
  html body .jba-tpd-luxe__header-right{min-width:0;text-align:right!important}
  html body .jba-tpd-luxe__label,html body .jba-tpd-luxe__subtitle,html body .jba-tpd-luxe__topbtn.is-solid,html body .jba-tpd-luxe__timer,html body .jba-tpd-luxe__dots,html body .jba-tpd-luxe__card-badge{display:none!important}
  html body .jba-tpd-luxe__title{font-size:clamp(17px,3.8vw,23px)!important;line-height:1.25!important;margin:0!important;white-space:nowrap;color:#f6cf84!important}
  html body .jba-tpd-luxe__header-left{width:auto!important;flex:0 0 auto!important;display:block!important}
  html body .jba-tpd-luxe__topbtn.is-outline{display:inline-flex!important;height:34px!important;padding:0 10px!important;border-radius:11px!important;font-size:10px!important;gap:5px!important;white-space:nowrap}
  html body .jba-tpd-luxe__topicon{font-size:11px!important}
  html body .jba-tpd-luxe__content{display:block!important}
  html body .jba-tpd-luxe__slider-side{width:100%!important;min-width:0!important}
  html body .jba-tpd-luxe__viewport{padding:2px 1px!important}
  html body .jba-tpd-luxe__track{gap:6px!important}
  html body .jba-tpd-luxe__card{flex:0 0 calc((100% - 12px)/3)!important;max-width:calc((100% - 12px)/3)!important;padding:5px 5px 6px!important;border-radius:12px!important;box-shadow:0 4px 10px rgba(75,0,0,.08)!important}
  html body .jba-tpd-luxe__card-badge{top:5px!important;right:5px!important;min-height:20px!important;padding:0 5px!important;border-radius:8px!important;font-size:8px!important;max-width:calc(100% - 10px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  html body .jba-tpd-luxe__thumb{margin-bottom:5px!important;border-radius:9px!important}
  html body .jba-tpd-luxe__name{min-height:31px!important;font-size:9px!important;line-height:1.65!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  html body .jba-tpd-luxe__prices{padding:4px 0!important;margin-top:3px!important}
  html body .jba-tpd-luxe__prices del{font-size:7px!important;margin-bottom:2px!important}
  html body .jba-tpd-luxe__prices b{font-size:10px!important;white-space:nowrap}
  html body .jba-tpd-luxe__actions{gap:3px!important;margin-top:5px!important}
  html body .jba-tpd-luxe__btn{height:25px!important;border-radius:7px!important;font-size:8px!important;padding:0 2px!important;gap:2px!important}
  html body .jba-tpd-luxe__btn .glyphicon{font-size:8px!important}
  html body .jba-tpd-luxe__nav{width:30px!important;height:30px!important;font-size:23px!important;top:38%!important}
  html body .jba-tpd-luxe__nav.is-prev{right:-5px!important}
  html body .jba-tpd-luxe__nav.is-next{left:-5px!important}

  /* Home standard product sections: one horizontal track with every fetched product. */
  html body .jba-v1641-fast-carousel.jba-v1612-mobile-carousel{position:relative!important;padding:0 31px!important;overflow:visible!important}
  html body .jba-v1641-fast-carousel.jba-v1612-mobile-carousel .carousel-inner{overflow:visible!important;height:auto!important}
  html body .jba-v1641-fast-carousel.jba-v1612-mobile-carousel .item{display:block!important;position:static!important;transform:none!important;transition:none!important;height:auto!important}
  html body .jba-v1612-mobile-track{display:flex!important;direction:rtl;gap:9px;overflow-x:auto!important;overflow-y:hidden;padding:4px 2px 10px;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;scrollbar-width:thin}
  html body .jba-v1612-mobile-track .item-slider{display:block!important;float:none!important;flex:0 0 calc((100% - 18px)/3)!important;max-width:calc((100% - 18px)/3)!important;width:auto!important;margin:0!important;scroll-snap-align:start;min-width:0!important}
  html body .jba-v1612-mobile-nav{position:absolute;top:42%;z-index:8;display:flex;align-items:center;justify-content:center;width:34px;height:44px;border:1px solid #d8e1ee;border-radius:13px;background:#fff;color:#072e69;font:900 27px/1 Arial;box-shadow:0 5px 16px rgba(4,38,83,.18);cursor:pointer;padding:0}
  html body .jba-v1612-mobile-nav.is-prev{right:-1px}
  html body .jba-v1612-mobile-nav.is-next{left:-1px}
  html body .jba-v1612-mobile-track.is-at-start~.jba-v1612-mobile-nav.is-prev,html body .jba-v1612-mobile-track.is-at-end~.jba-v1612-mobile-nav.is-next{opacity:.42}

  html body .jba-v1612-floating-links{left:8px!important;bottom:132px!important}
  html body .jba-v1612-floating-links .chat-box-right{gap:5px;padding:5px 4px;max-height:42vh}
  html body .jba-v1612-floating-link,html body .jba-v1612-floating-link img{width:38px!important;height:38px!important;min-width:38px}
}

@media(max-width:600px){
  html body .jba-v1026-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body .jba-v1612-mobile-track .item-slider{flex-basis:calc((100% - 8px)/2)!important;max-width:calc((100% - 8px)/2)!important}
}

@media(max-width:390px){
  html body .jba-tpd-luxe{padding-left:7px!important;padding-right:7px!important}
  html body .jba-tpd-luxe__card{padding:4px!important}
  html body .jba-tpd-luxe__name{font-size:8px!important}
  html body .jba-tpd-luxe__btn{font-size:7px!important}
}
