/* H BRAND — أداء (perf16) */
img,video{max-width:100%;height:auto}

/* 1) قسم الأكثر مبيعاً — حجز دائم لا يعتمد على توقيت تحميل الجافاسكريبت */
.s-block--tabs-produtcs .tabs{min-height:44px}
.s-block--tabs-produtcs .tabs__item.is-active{min-height:134px}
.s-block--tabs-produtcs .tabs__item.is-active salla-products-list{display:block;min-height:134px}

/* 2) حجز مساحة لباقي الأقسام */
.s-block--hero-slider{min-height:300px}
.s-block--hero-slider salla-slider:not(:defined){display:block;min-height:300px}
@media(min-width:1024px){.s-block--hero-slider{min-height:528px}.s-block--hero-slider salla-slider:not(:defined){min-height:528px}}
salla-products-slider:not(:defined){display:block;min-height:300px}
.s-block--categories salla-slider:not(.hydrated){display:block;height:9rem;overflow:hidden}
.s-block--categories salla-slider:not(.hydrated) [slot=items]{display:flex;flex-wrap:nowrap;overflow:hidden}
.s-block--categories salla-slider:not(.hydrated) .swiper-slide{flex:0 0 50%;padding:0 .25rem}
section[data-testid="store-home-main-links"]:not(:has(a)){min-height:130px}
.s-block--bundle-personalized-shoppers-who-bought:not(:has(salla-product-card)){display:none}
#viewed-section:empty{display:none}

/* 3) اللوجو بمقاس ثابت بالبكسل */
img[alt$="logo"]{height:48px!important;width:125px!important;aspect-ratio:400/240;object-fit:contain}

/* 4) لوجو الفوتر */
footer [data-testid="store-footer"] a > h3,footer a > h3{font-size:0!important;line-height:0!important}
footer a > h3{display:block;min-height:56px}
footer a > h3::after{content:"";display:block;width:150px;height:56px;
 background:url("https://cdn.files.salla.network/theme/1915243706/7c154680-680f-47bb-b133-2996ee9a9c90-original.webp") right center/contain no-repeat}

/* 5) صورة غلاف أخف للموبايل */
@media (max-width:820px){
  .s-block--hero-slider [style*="7c45d20c"]{background-image:url("https://cdn.files.salla.network/theme/1915243706/7d87fd89-1d39-4689-9ced-86da11e9eab7-original.webp")!important}
  .home-slider__content h2,.s-block--hero-slider h2{font-size:1.35rem;line-height:1.35}
}

@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}