/* ===== عبو - ستايل قريب من الريفرنس ===== */
:root{--abbo-red:#e4002b;--abbo-black:#111;--abbo-gray:#f4f4f4;--abbo-line:#ececec}

/* الشريط الإعلاني */
.s-advertisement{background:#000!important}
.s-advertisement,.s-advertisement *{color:#fff!important;font-size:13px!important}

/* الهيدر */
.store-header,.store-header .top-navbar,#mainnav,#mainnav .inner{background:#fff!important}
#mainnav{box-shadow:none!important;border-bottom:1px solid var(--abbo-line)}
.store-header .s-search-placeholder-wrapper,
.store-header .s-search-input,
.store-header salla-search input{background:var(--abbo-gray)!important;border:0!important;border-radius:10px!important;box-shadow:none!important}

/* موبايل: البحث في نفس صف اللوجو والسلة */
@media (max-width:1023px){
  body,.app-inner,main#main-content{background:#fff!important}
  .store-header .top-navbar{display:none!important}
  #mainnav .abbo-search{flex:1;min-width:0;margin:0 10px;display:flex;align-items:center}
  #mainnav .abbo-search salla-search{width:100%}
  #mainnav salla-user-menu,#mainnav .mburger{display:none!important}
}

/* شريط الأقسام (بيتبني بالجافاسكريبت) */
.abbo-tabs{display:flex;gap:22px;overflow-x:auto;white-space:nowrap;padding:12px 16px 0;background:#fff;border-bottom:1px solid var(--abbo-line);scrollbar-width:none;-webkit-overflow-scrolling:touch}
.abbo-tabs::-webkit-scrollbar{display:none}
.abbo-tabs a{flex:0 0 auto;font-size:14px;color:#666;padding-bottom:10px;border-bottom:2px solid transparent;text-decoration:none}
.abbo-tabs a.active{color:#000;font-weight:700;border-color:#000}
@media (min-width:1024px){.abbo-tabs{display:none}}

/* السلايدر الرئيسي */
.s-block--photos-slider .swiper-slide img,.s-block--photos-slider img{border-radius:0!important}

/* دواير الأقسام */
.s-block--categories .s-slider-block__title h2{font-size:17px;font-weight:700;color:#000}
.s-block--categories .slide--cat-entry{background:transparent!important;box-shadow:none!important;border:0!important;padding:4px 0!important;min-height:0!important}
.s-block--categories .slide--cat-entry img{width:64px!important;height:64px!important;border-radius:50%!important;object-fit:cover;margin:0 auto 6px!important}
.s-block--categories .slide--cat-entry h2{font-size:12px!important;font-weight:500!important;color:#222!important;line-height:1.3;text-align:center}
@media (max-width:767px){
  .s-block--categories .swiper-slide{width:76px!important}
  .s-block--categories .s-slider-block__title-nav{display:none}
}

/* هيدر عروض فلاش (بيتضاف بالجافاسكريبت) */
.abbo-flash{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 10px}
.abbo-flash__right{display:flex;align-items:center;gap:10px}
.abbo-flash__title{color:var(--abbo-red);font-size:19px;font-weight:800;margin:0}
.abbo-flash__timer{background:#000;color:#fff;font-size:12px;font-weight:700;padding:3px 8px;letter-spacing:1px;direction:ltr;font-variant-numeric:tabular-nums}
.abbo-flash__all{font-size:13px;color:#666;text-decoration:none}

/* كروت المنتجات */
.s-products-list-vertical-cards{gap:12px!important}
custom-salla-product-card.s-product-card-entry,
.s-product-card-entry{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.s-product-card-image{position:relative;background:var(--abbo-gray)!important;border-radius:0!important;aspect-ratio:3/4;overflow:hidden}
.s-product-card-image img{width:100%;height:100%;object-fit:cover;border-radius:0!important}
salla-button.s-product-card-wishlist-btn{position:absolute!important;bottom:10px!important;left:10px!important;top:auto!important;right:auto!important;z-index:2;width:auto!important;height:auto!important;background:transparent!important;box-shadow:none!important;padding:0!important}
button.s-product-card-wishlist-btn{width:32px!important;height:32px!important;min-width:0!important;border-radius:50%!important;background:#fff!important;opacity:1!important;box-shadow:0 1px 4px rgba(0,0,0,.15)!important;border:0!important;display:flex!important;align-items:center;justify-content:center;padding:0!important;color:#000!important}
.s-product-card-content{padding:8px 2px 4px!important}
.s-product-card-content-title,.s-product-card-content-title a{font-size:13px!important;font-weight:400!important;color:#333!important;line-height:1.45!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.s-product-card-price,.s-product-card-sale-price h4,.s-product-card-sale-price{color:var(--abbo-red)!important;font-weight:800!important;font-size:15px!important}
.s-product-card-sale-price span,.s-product-card-price del{color:#999!important;font-weight:400!important;font-size:12px!important}
.s-product-card-promotion-title{background:var(--abbo-red)!important;color:#fff!important;border-radius:0!important;font-size:11px!important}
.abbo-badge{position:absolute;top:8px;right:8px;z-index:2;background:var(--abbo-red);color:#fff;font-size:11px;font-weight:700;padding:2px 6px;direction:ltr}
@media (max-width:767px){
  .s-products-list-vertical-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .s-product-card-content-footer{display:none!important}
}

/* الأزرار */
.s-button-primary,.s-button-btn.s-button-primary{background:#000!important;border-color:#000!important;border-radius:0!important}
.s-button-primary-outline{border-color:#000!important;color:#000!important;border-radius:0!important}

/* أيقونة الواتساب بتنبض */
@keyframes abbo-pulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.6)}70%{box-shadow:0 0 0 16px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
@keyframes abbo-beat{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
.wa-s-n{border-radius:50%!important;animation:abbo-pulse 1.8s infinite,abbo-beat 1.8s infinite}

/* شريط التنقل السفلي للموبايل */
.abbo-bottom-nav{display:none}
@media (max-width:1023px){
  .abbo-bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--abbo-line);padding:6px 0 calc(6px + env(safe-area-inset-bottom))}
  .abbo-bottom-nav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;color:#666;text-decoration:none}
  .abbo-bottom-nav a i{font-size:20px;line-height:1}
  .abbo-bottom-nav a.active{color:#000;font-weight:700}
  body{padding-bottom:64px}
  .wa-s-n,salla-chat,[class*=whatsapp-float]{bottom:76px!important}
}