/* ============================================================
   حسم — تصميم 2026 (مطابق للنموذج)
   المكان: تصميم المتجر ← تخصيص ← تخصيص متقدم ← CSS
   كل الأصناف الجديدة تبدأ بـ hs- عشان ما تتعارض مع الثيم.
   ============================================================ */

:root{
  --hs-primary:#9E1F47;
  --hs-primary-dark:#7A1736;
  --hs-pink:#FBEFF2;
  --hs-cream:#FFFBF7;
  --hs-ink:#2B2230;
  --hs-muted:#6B6170;
  --hs-mustard:#F2B33D;
  --hs-mustard-soft:#FFF4DE;
  --hs-line:#F1E6E8;
  --hs-head:'Baloo Bhaijaan 2','IBM Plex Sans Arabic',sans-serif;
}

/* ---------- الخلفية والخطوط ---------- */
body#app{background:var(--hs-cream) !important;color:var(--hs-ink)}
.s-block__title h2,.s-slider-block__title h2,.hs-home h1,.hs-home h2,
.main-content h1.page-title,.page-title h1{font-family:var(--hs-head) !important;color:var(--hs-ink) !important;font-weight:700}
a:hover{color:var(--hs-primary-dark)}

/* ---------- الشريط العلوي: 3 رسائل ---------- */
.store-header .top-nav{background:var(--hs-primary-dark) !important;border:0 !important;min-height:40px}
.store-header .top-nav .top-nav-inner{visibility:hidden;height:40px}
.store-header .top-nav .container{position:relative}
.store-header .top-nav .container::before{
  content:"توصيل سريع لجميع مناطق المملكة     •     ادفع بمدى أو Apple Pay أو قسّطها مع تمارا     •     استبدال واسترجاع سهل";
  white-space:pre;position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:14px;font-weight:500;visibility:visible}
@media (max-width:767px){
  .store-header .top-nav,.store-header .top-nav .top-nav-inner{min-height:32px;height:32px}
  .store-header .top-nav .container::before{content:"توصيل سريع لجميع مناطق المملكة";font-size:13px}
}

/* ---------- الهيدر ---------- */
.store-header .header-mainbar,.store-header .header-mainbar .inner{background:#fff !important}
.store-header .search-bar input,.store-header .search-bar .s-search-input{
  height:52px !important;background:var(--hs-cream) !important;border:1.5px solid #EADCDF !important;
  border-radius:26px !important;font-size:15px !important;color:var(--hs-ink) !important}
.store-header .header-icon-button,.store-header .header-icon-button .text span{color:var(--hs-ink) !important;font-weight:600}
.store-header .login-button .text span:last-child{display:none}
.hs-wa{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 12px;border-radius:22px;
  color:var(--hs-ink) !important;font-size:15px;font-weight:600;white-space:nowrap}
.hs-wa svg{width:22px;height:22px}
.hs-wa:hover{background:var(--hs-pink)}
@media (max-width:1023px){.hs-wa span{display:none}.hs-wa{padding:0 8px}}

/* زر السلة ممتلئ */
.header-mainbar salla-cart-summary .s-cart-summary-wrapper{
  background:var(--hs-primary) !important;color:#fff !important;height:48px;padding:0 18px !important;
  border-radius:24px !important;display:flex !important;align-items:center;gap:10px}
.header-mainbar salla-cart-summary .s-cart-summary-wrapper i,
.header-mainbar salla-cart-summary .s-cart-summary-total,
.header-mainbar salla-cart-summary .s-cart-summary-content{color:#fff !important}
.header-mainbar salla-cart-summary .s-cart-summary-count{background:#fff !important;color:var(--hs-primary) !important;font-weight:700}
@media (max-width:767px){
  .header-mainbar salla-cart-summary .s-cart-summary-wrapper{height:40px;padding:0 12px !important}
  .header-mainbar salla-cart-summary .s-cart-summary-content{display:none !important}
}

/* ---------- القائمة الرئيسية ---------- */
@media (min-width:1024px){
  #mainnav,#mainnav .inner{background:#fff !important;border-top:1px solid #F3EAEC;border-bottom:1px solid var(--hs-line)}
  #mainnav ul.main-menu{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 0}
  #mainnav ul.main-menu > li > a{font-size:15px !important;font-weight:600 !important;color:var(--hs-ink) !important;
    height:44px;display:flex !important;align-items:center;padding:0 12px !important;border-radius:22px;white-space:nowrap}
  #mainnav ul.main-menu > li > a:hover{background:var(--hs-pink);color:var(--hs-primary) !important}
}
/* شفتها في سناب: إطار خردلي */
#mainnav ul.main-menu > li > a[href*="c1626850295"]{
  border:1.5px solid var(--hs-mustard) !important;background:var(--hs-mustard-soft) !important;font-weight:700 !important;gap:6px}
#mainnav ul.main-menu > li > a[href*="c1626850295"]::before{
  content:"";width:16px;height:16px;flex-shrink:0;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m10 8 6 4-6 4Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m10 8 6 4-6 4Z'/%3E%3C/svg%3E") center/contain no-repeat}
/* العروض والهدايا: خلفية خردلية */
#mainnav ul.main-menu > li > a[href*="c1676720865"]{background:var(--hs-mustard) !important;font-weight:700 !important}
/* قائمة الجوال */
@media (max-width:1023px){
  .mainmenu-is-light #mainnav .inner{background:#fff !important}
  #mainnav li > a{color:var(--hs-ink) !important;border-color:var(--hs-line) !important;font-size:16px;font-weight:600}
  #mainnav ul.main-menu > li > a[href*="c1626850295"],#mainnav ul.main-menu > li > a[href*="c1676720865"]{border-radius:14px;margin:6px 12px}
  .mainmenu-is-light .all-cats,#mainnav a.text-gray-200{color:var(--hs-muted) !important}
}

/* ---------- بطاقة المنتج (في كل المتجر) ---------- */
custom-salla-product-card.s-product-card-entry{background:#fff !important;border:1px solid var(--hs-line) !important;
  border-radius:20px !important;overflow:hidden;box-shadow:none !important}
.s-product-card-entry .s-product-card-image{background:#fff !important;border-bottom:1px solid #F6EEF0;border-radius:0 !important}
.s-product-card-entry .s-product-card-image img{object-fit:contain !important;background:#fff}
.s-product-card-entry .s-product-card-content{padding:14px 16px 16px !important}
.s-product-card-entry .s-product-card-content-title a{font-size:16px !important;font-weight:600 !important;line-height:24px !important;
  color:var(--hs-ink) !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:48px}
.s-product-card-entry .s-product-card-price{font-size:22px !important;font-weight:700 !important;color:var(--hs-primary) !important}
.s-product-card-entry .s-product-card-price i{color:var(--hs-primary)}
.s-product-card-entry .s-product-card-sale-price h4{color:var(--hs-primary) !important;font-size:22px !important;font-weight:700}
.s-product-card-entry .s-product-card-sale-price span{color:var(--hs-muted) !important;text-decoration:line-through;font-size:14px}
.s-product-card-entry .s-product-card-rating{font-size:13px;color:var(--hs-muted)}
.s-product-card-entry .s-product-card-rating i{color:var(--hs-mustard) !important}
.s-product-card-entry .s-product-card-content-footer salla-add-product-button .s-button-btn,
.s-product-card-entry .s-product-card-content-footer .s-button-btn,
.product-entry .btn--add-to-cart:not(.deal) button{
  height:44px !important;border-radius:22px !important;background:var(--hs-primary) !important;border:0 !important;
  color:#fff !important;font-size:15px !important;font-weight:600 !important}
.s-product-card-entry .s-product-card-content-footer .s-button-btn:hover{background:var(--hs-primary-dark) !important}
/* شارة واحدة بشكل كبسولة */
.s-product-card-entry .s-product-card-promotion-title{top:12px !important;right:12px !important;left:auto !important;
  border-radius:999px !important;background:#fff !important;border:1px solid var(--hs-line);color:var(--hs-primary) !important;
  font-size:12px !important;font-weight:600 !important;padding:4px 10px !important;clip-path:none !important;width:auto !important}
.s-product-card-entry .s-product-card-promotion-title::before,.s-product-card-entry .s-product-card-promotion-title::after{display:none !important}
.s-product-card-entry .s-product-card-wishlist-btn button{border:1px solid var(--hs-line) !important;background:#fff !important;color:var(--hs-muted) !important;border-radius:20px !important}

/* عناوين أقسام الثيم */
.s-block__title h2,.s-slider-block__title h2{font-size:32px !important;line-height:40px}
.s-block__display-all{color:var(--hs-primary) !important;font-weight:600}
@media (max-width:767px){.s-block__title h2,.s-slider-block__title h2{font-size:22px !important;line-height:30px}}

/* ============================================================
   الصفحة الرئيسية
   ============================================================ */
body.index #main-content{display:flex;flex-direction:column}
body.index #main-content > *{order:5}
body.index #main-content > :has(.hs-home){order:1}
body.index #main-content > .s-block--testimonials{order:6}
/* إخفاء أقسام الثيم القديمة اللي استبدلناها (للاسترجاع: احذف هذا السطر) */
body.index #main-content > .s-block--default-home-slider,
body.index #main-content > .s-block--fixed-banner,
body.index #main-content > .s-block--categories,
body.index #main-content > .s-block--info-blocks,
body.index #main-content > .s-block--best-offers,
body.index #main-content > .s-block--features-list,
body.index #main-content > .s-block--bundle-personalized-shoppers-who-bought,
body.index #main-content > section.s-block.container:has(salla-products-list[source-value="[2073421488]"]),
body.index #main-content > #viewed-section{display:none !important}

.hs-home{--pad:64px;direction:rtl;color:var(--hs-ink);font-family:'IBM Plex Sans Arabic',sans-serif;max-width:1440px;margin:0 auto;width:100%}
.hs-home *{box-sizing:border-box}
.hs-home a{text-decoration:none}
.hs-home svg{flex-shrink:0}
.hs-wrap{padding:0 var(--pad)}
@media (max-width:1279px){.hs-home{--pad:32px}}
@media (max-width:767px){.hs-home{--pad:16px}}

/* أزرار */
.hs-btn{height:48px;padding:0 26px;border-radius:24px;display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:600;white-space:nowrap}
.hs-btn--primary{background:var(--hs-primary);color:#fff !important}
.hs-btn--primary:hover{background:var(--hs-primary-dark)}
.hs-btn--outline{border:1.5px solid var(--hs-primary);background:#fff;color:var(--hs-primary) !important}
.hs-btn--dark{background:var(--hs-ink);color:#fff !important;font-size:15px;padding:0 22px}
.hs-more{display:inline-flex;align-items:center;gap:6px;height:44px;font-size:15px;font-weight:600;color:var(--hs-primary) !important}

/* 1) الواجهة */
.hs-hero{padding-top:28px;display:flex;gap:24px}
.hs-hero__text{flex:1 1 0;padding:40px 48px;border-radius:28px;background:var(--hs-pink);display:flex;flex-direction:column;justify-content:center;gap:14px;min-height:340px}
.hs-pill{align-self:flex-start;padding:5px 14px;border-radius:999px;background:#fff;color:var(--hs-primary);font-size:14px;font-weight:600}
.hs-hero h1{margin:0;font-size:46px;line-height:56px;font-weight:800}
.hs-hero p{margin:0;font-size:17px;line-height:28px;color:var(--hs-muted)}
.hs-hero__btns{display:flex;gap:12px;padding-top:4px;flex-wrap:wrap}
.hs-hero__img{width:560px;flex-shrink:0;border-radius:28px;overflow:hidden;background:#F4DCE3;display:block}
.hs-hero__img img{width:100%;height:100%;min-height:340px;object-fit:cover;display:block}
.hs-hero__m{display:none}
@media (max-width:1100px){.hs-hero__img{width:44%}}
@media (max-width:767px){
  .hs-hero{padding-top:8px}
  .hs-hero__text,.hs-hero__img{display:none}
  .hs-hero__m{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;border-radius:20px;background:var(--hs-pink)}
  .hs-hero__m div{flex-grow:1;display:flex;flex-direction:column;gap:2px}
  .hs-hero__m strong{font-family:var(--hs-head);font-size:20px;line-height:28px;font-weight:800}
  .hs-hero__m span{font-size:13px;color:var(--hs-muted)}
  .hs-hero__m .hs-btn{height:44px;padding:0 16px;font-size:14px}
}

/* 2) صندوق سناب */
.hs-snap-sec{padding-top:32px}
.hs-snap{padding:32px;border-radius:32px;background:var(--hs-mustard-soft);border:2px solid var(--hs-mustard);display:flex;flex-direction:column;gap:24px}
.hs-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.hs-head > div{display:flex;flex-direction:column;gap:8px}
.hs-head h2{margin:0;font-size:36px;line-height:44px;font-weight:800}
.hs-head p{margin:0;font-size:15px;color:var(--hs-muted)}
.hs-tag{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:var(--hs-ink);color:#fff;font-size:13px;font-weight:600}
.hs-snap .hs-more-m{display:none}
@media (max-width:767px){
  .hs-snap-sec{padding-top:16px}
  .hs-snap{padding:16px 0;border-radius:24px;gap:10px;overflow:hidden}
  .hs-snap .hs-head{padding:0 16px;align-items:center}
  .hs-snap .hs-head h2{font-size:22px;line-height:30px}
  .hs-snap .hs-head p,.hs-snap .hs-btn--dark,.hs-snap .hs-tail{display:none}
  .hs-snap .hs-tag{background:transparent;color:var(--hs-muted);padding:0;font-size:11px}
  .hs-snap .hs-more-m{display:inline-flex;color:var(--hs-ink) !important;font-size:14px}
}

/* 3) الأقسام */
.hs-sec{padding-top:56px;display:flex;flex-direction:column;gap:24px}
.hs-sec .hs-head h2{font-size:32px;line-height:40px;font-weight:700}
.hs-cats{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:16px}
.hs-cat{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--hs-ink) !important;text-align:center}
.hs-cat__i{width:128px;height:128px;max-width:100%;aspect-ratio:1;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--hs-primary);transition:transform .15s}
.hs-cat:hover .hs-cat__i{transform:translateY(-3px)}
.hs-cat__i svg{width:52px;height:52px}
.hs-cat__t{font-size:16px;font-weight:600;line-height:24px}
.hs-cat--snap .hs-cat__i{background:var(--hs-mustard-soft);border:2px solid var(--hs-mustard);color:var(--hs-ink)}
@media (max-width:1279px){.hs-cat__i{width:104px;height:104px}.hs-cat__t{font-size:14px;line-height:20px}}
@media (max-width:1023px){.hs-cats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:767px){.hs-sec--cats{display:none}}

/* قوائم المنتجات داخل الرئيسية */
.hs-home salla-products-list .s-products-list-wrapper{display:grid !important;grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:20px !important}
.hs-snap salla-products-list .s-products-list-wrapper{gap:16px !important}
.hs-snap custom-salla-product-card.s-product-card-entry{border:0 !important}
@media (max-width:1279px){.hs-home salla-products-list .s-products-list-wrapper{grid-template-columns:repeat(4,minmax(0,1fr)) !important}
  .hs-home salla-products-list .s-products-list-wrapper > :nth-child(5){display:none !important}}
@media (max-width:1023px){.hs-home salla-products-list .s-products-list-wrapper{grid-template-columns:repeat(3,minmax(0,1fr)) !important}}
@media (max-width:767px){
  .hs-sec{padding-top:28px;gap:14px}
  .hs-sec .hs-head{align-items:center}
  .hs-sec .hs-head h2{font-size:22px;line-height:30px}
  .hs-sec .hs-head p{display:none}
  .hs-home salla-products-list .s-products-list-wrapper{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important}
  .hs-home salla-products-list .s-products-list-wrapper > :nth-child(5){display:none !important}
  /* سناب وأقل من 20: تمرير أفقي */
  .hs-snap salla-products-list .s-products-list-wrapper,.hs-scroll salla-products-list .s-products-list-wrapper{
    display:flex !important;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 16px 4px;gap:12px !important;scrollbar-width:none}
  .hs-snap salla-products-list .s-products-list-wrapper > *,.hs-scroll salla-products-list .s-products-list-wrapper > *{
    width:150px;min-width:150px;flex-shrink:0;scroll-snap-align:start;display:flex !important}
  .hs-scroll{padding-left:0;padding-right:0}
  .hs-scroll .hs-head{padding:0 16px}
  .hs-home .s-product-card-entry .s-product-card-content{padding:10px 12px 12px !important}
  .hs-home .s-product-card-entry .s-product-card-content-title a{font-size:14px !important;line-height:20px !important;min-height:40px}
  .hs-home .s-product-card-entry .s-product-card-price{font-size:18px !important}
  .hs-home .s-product-card-entry .s-product-card-content-footer .s-button-btn{height:40px !important;font-size:14px !important}
}

/* 4) تسوّق حسب */
.hs-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hs-tile{height:140px;padding:20px 28px;border-radius:22px;display:flex;flex-direction:column;justify-content:center;gap:6px;color:var(--hs-ink) !important}
.hs-tile strong{font-family:var(--hs-head);font-size:28px;line-height:36px;font-weight:800;color:var(--hs-primary)}
.hs-tile span{font-size:14px;font-weight:600;text-decoration:underline}
.hs-tile--girls{background:var(--hs-pink)}
.hs-tile--boys{background:var(--hs-primary);color:#fff !important}
.hs-tile--boys strong{color:#fff}
@media (max-width:767px){.hs-tile{height:110px;padding:16px}.hs-tile strong{font-size:22px;line-height:30px}}

/* 5) آراء العملاء (عنصر الثيم) */
body.index .s-block--testimonials{background:transparent !important;padding:56px 0 !important}
body.index .s-block--testimonials .s-block__title h2{font-size:28px !important}
.s-block--testimonials .swiper-slide > div,.s-block--testimonials .testimonial{background:#fff !important;border:1px solid var(--hs-line) !important;border-radius:24px !important;box-shadow:none !important}

/* ---------- الفوتر ---------- */
.store-footer,.footer-is-light .store-footer{background:var(--hs-ink) !important;color:#F3ECEE !important}
.store-footer .store-footer__top{background:var(--hs-ink) !important}
.store-footer .bg-gray-100{background:transparent !important}
.store-footer .footer-title,.store-footer h3{color:#fff !important;font-size:16px;font-weight:700}
.store-footer a,.store-footer p,.store-footer li,.store-footer span,.store-footer .rich-text,.store-footer .s-contacts-item{color:#C9BEC4 !important}
.store-footer a:hover{color:#fff !important}
.store-footer .bg-darker{background:var(--hs-ink) !important;border-top:1px solid #463A49}
.store-footer .text-gray-400{color:#C9BEC4 !important}
.store-footer .py-5,.store-footer .pt-10{background:transparent !important;border-radius:0 !important}
.store-footer .s-social-link,.store-footer .s-contacts-icon{border-color:#5A4E5E !important;color:#fff !important;background:transparent !important}

/* ---------- تصحيحات بعد المعاينة ---------- */
body.index #main-content > :has(.hs-home){margin-top:0 !important;padding-top:0 !important}
body.index #main-content > .s-block--testimonials{margin-top:0 !important}
@media (min-width:1024px){
  #mainnav ul.main-menu{flex-wrap:nowrap !important}
  #mainnav ul.main-menu > li{flex-shrink:1;min-width:0}
  #mainnav.fixed-pinned ul.main-menu > li > a{padding:0 8px !important;font-size:14px !important;height:40px}
  #mainnav salla-cart-summary .s-cart-summary-wrapper{background:var(--hs-primary) !important;color:#fff !important;height:40px;
    padding:0 14px !important;border-radius:20px !important;display:flex !important;align-items:center;gap:8px}
  #mainnav salla-cart-summary .s-cart-summary-wrapper i,#mainnav salla-cart-summary .s-cart-summary-total,
  #mainnav salla-cart-summary .s-cart-summary-content{color:#fff !important}
  #mainnav salla-cart-summary .s-cart-summary-count{background:#fff !important;color:var(--hs-primary) !important}
}
salla-cart-summary #s-cart-icon{background:transparent !important}
.store-footer .footer-logo img{filter:brightness(0) invert(1)}

/* ============================================================
   القائمة: الأقسام الفرعية (تنبني تلقائياً من أقسام سلة)
   ============================================================ */
.hs-sub{display:none}
.hs-sub a{display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;font-size:15px;font-weight:500;
  color:var(--hs-ink) !important;white-space:nowrap;text-decoration:none}
.hs-sub a:hover{background:var(--hs-pink);color:var(--hs-primary) !important}
.hs-sub a.hs-sub__all{font-weight:700;color:var(--hs-primary) !important}
.hs-chev{display:inline-flex;align-items:center;margin-inline-start:4px;opacity:.6;transition:transform .2s}
.hs-sub-t{display:none}
@media (min-width:1024px){
  #mainnav,#mainnav .inner,#mainnav .container,#mainnav ul.main-menu,#mainnav ul.main-menu > li{overflow:visible !important}
  #mainnav ul.main-menu > li.hs-has-sub{position:relative}
  #mainnav li.hs-has-sub > .hs-sub{position:absolute;top:calc(100% + 6px);right:0;z-index:80;min-width:240px;padding:8px;
    background:#fff;border:1px solid var(--hs-line);border-radius:18px;box-shadow:0 14px 34px rgba(43,34,48,.12)}
  #mainnav li.hs-has-sub:nth-last-child(-n+2) > .hs-sub{right:auto;left:0}
  #mainnav li.hs-has-sub > .hs-sub::before{content:"";position:absolute;top:-12px;left:0;right:0;height:12px}
  #mainnav li.hs-has-sub:hover > .hs-sub,#mainnav li.hs-has-sub:focus-within > .hs-sub{display:block}
  #mainnav li.hs-has-sub:hover > a .hs-chev{transform:rotate(180deg)}
  #mainnav.fixed-pinned .hs-chev{display:none}
}
/* شاشات اللابتوب الصغيرة: نصغّر القائمة شوي عشان تجي كلها بسطر واحد */
@media (min-width:1024px) and (max-width:1279px){
  #mainnav ul.main-menu > li > a{padding:0 8px !important;font-size:14px !important}
  #mainnav .hs-chev{display:none}
}
@media (max-width:1023px){
  #mainnav li.hs-has-sub{position:relative}
  #mainnav li.hs-has-sub > a{padding-left:56px !important}
  #mainnav li.hs-has-sub > a .hs-chev{display:none}
  #mainnav .hs-sub-t{display:flex;position:absolute;top:0;left:0;width:52px;height:57px;align-items:center;justify-content:center;
    border:0;background:transparent;color:var(--hs-muted);z-index:2;cursor:pointer}
  #mainnav li.hs-has-sub > a[href*="c1676720865"] ~ .hs-sub-t{top:6px;left:12px}
  #mainnav .hs-sub-t svg{width:18px;height:18px;transition:transform .2s}
  #mainnav li.hs-open > .hs-sub-t svg{transform:rotate(180deg)}
  #mainnav li.hs-open > .hs-sub{display:block;padding:6px 10px;margin:0 12px 10px;background:var(--hs-pink);border-radius:14px}
  #mainnav li.hs-open > .hs-sub a{min-height:44px;font-size:15px;border:0 !important}
}

/* ============================================================
   صفحة القسم
   ============================================================ */
body.product-index header.page-header{background:transparent !important;color:var(--hs-muted) !important;height:auto !important;min-height:0 !important}
body.product-index header.page-header a,body.product-index header.page-header span,
body.product-index header.page-header i,body.product-index header.page-header li{color:var(--hs-muted) !important}
body.product-index .main-content h1{font-family:var(--hs-head) !important;font-size:32px !important;line-height:42px !important;
  font-weight:700 !important;color:var(--hs-ink) !important}
@media (max-width:767px){body.product-index .main-content h1{font-size:24px !important;line-height:32px !important}}
.hs-tagrow{margin-bottom:6px}
.hs-ctag{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;background:var(--hs-mustard-soft);
  border:1.5px solid var(--hs-mustard);color:#8A5A00;font-size:13px;font-weight:700}
.hs-cat-top{display:flex;flex-direction:column;gap:12px;margin:-4px 0 20px}
.hs-cat-sub{margin:0;font-size:15px;color:var(--hs-muted)}
.hs-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.hs-chips::-webkit-scrollbar{display:none}
.hs-chips a{flex-shrink:0;height:40px;padding:0 16px;border-radius:20px;border:1.5px solid #EADCDF;background:#fff;
  color:var(--hs-ink) !important;font-size:14px;font-weight:600;display:inline-flex;align-items:center;white-space:nowrap;text-decoration:none}
.hs-chips a:hover{border-color:var(--hs-primary);color:var(--hs-primary) !important}
.hs-chips a.is-on{background:var(--hs-primary);border-color:var(--hs-primary);color:#fff !important}
/* الترتيب والتصفية بشكل كبسولة */
body.product-index select#product-filter{height:44px !important;border-radius:22px !important;border:1.5px solid #EADCDF !important;
  background-color:#fff !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:16px !important;font-size:14px;font-weight:600;color:var(--hs-ink)}
@media (max-width:1023px){
  body.product-index #open-filters-menu{height:44px;margin-top:0 !important;padding:0 14px;border-radius:22px;border:1.5px solid #EADCDF;
    background:#fff !important;display:inline-flex;align-items:center;color:var(--hs-ink) !important}
}
body.product-index label[for="product-filter"],body.product-index .main-content .center-between label{white-space:nowrap}
@media (max-width:767px){
  body.product-index .main-content > div.mb-4{flex-wrap:wrap;gap:12px}
  body.product-index .main-content > div.mb-4 > h1{flex:1 0 100%}
}
body.product-index #open-filters-menu i{margin:0 !important;color:var(--hs-ink) !important}
body.product-index #filters-menu .s-filters-widget,body.product-index salla-filters .s-filters-widget{background:#fff;border:1px solid var(--hs-line);border-radius:18px;padding:6px 14px;margin-bottom:12px}
body.product-index salla-filters .s-filters-apply,body.product-index salla-filters .s-button-primary{border-radius:22px !important;background:var(--hs-primary) !important}

/* ============================================================
   صفحة المنتج
   ============================================================ */
body.product-single .main-content h1{font-family:var(--hs-head) !important;font-size:32px !important;line-height:44px !important;
  font-weight:700 !important;color:var(--hs-ink) !important}
@media (max-width:767px){body.product-single .main-content h1{font-size:24px !important;line-height:34px !important}}
.hs-pricebar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0 16px}
.hs-pricebar > .hs-price-top{display:flex !important;align-items:center;gap:12px}
.hs-price-top .price_is_on_sale:not(.hidden){display:flex !important;align-items:center;gap:12px}
.hs-price-top .total-price{font-size:34px !important;line-height:44px !important;font-weight:700 !important;color:var(--hs-primary) !important}
.hs-price-top .before-price{font-size:18px !important;color:var(--hs-muted) !important}
@media (max-width:767px){.hs-price-top .total-price{font-size:28px !important;line-height:36px !important}}
.hs-save{padding:4px 12px;border-radius:999px;background:var(--hs-mustard-soft);color:#8A5A00;font-size:14px;font-weight:700}
.hs-save[hidden]{display:none !important}
body.product-single form.product-form .hs-price-form{display:none !important}
.hs-tamara{margin:0 0 14px !important}
.hs-tamara .mb-5{margin:0 !important}
.hs-trust{display:flex;flex-direction:column;gap:12px;padding:16px 18px;margin-bottom:20px;border-radius:16px;background:#fff;border:1px solid var(--hs-line)}
.hs-trust__row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;color:var(--hs-muted)}
.hs-trust__row b{font-size:15px;font-weight:600;color:var(--hs-ink)}
.hs-trust__row svg{width:22px;height:22px;color:var(--hs-primary);flex-shrink:0;margin-inline-end:4px}
.hs-trust__row.hs-ok b,.hs-trust__row.hs-ok svg{color:#2F6F73}
/* الكمية + زر الإضافة */
body.product-single form.product-form .s-quantity-input-container{height:56px !important;border:1.5px solid #EADCDF !important;
  border-radius:28px !important;background:#fff !important;overflow:hidden}
body.product-single form.product-form .s-quantity-input-button{width:48px !important;height:100% !important;background:transparent !important;color:var(--hs-ink) !important;border:0 !important}
body.product-single form.product-form .s-quantity-input-input{font-size:18px !important;font-weight:700 !important;background:transparent !important;border:0 !important}
body.product-single #add-to-cart-btn .s-button-element,body.product-single #add-to-cart-btn .s-button-btn{
  height:56px !important;border-radius:28px !important;background:var(--hs-primary) !important;border:0 !important;
  font-size:17px !important;font-weight:700 !important;color:#fff !important}
body.product-single #add-to-cart-btn .s-button-element:hover{background:var(--hs-primary-dark) !important}
body.product-single #add-to-cart-btn .s-add-product-button-main{height:auto !important;min-height:56px;gap:10px !important;align-items:stretch}
body.product-single #add-to-cart-btn salla-mini-checkout-widget{height:56px !important;min-height:56px;border-radius:28px !important;
  border:1.5px solid var(--hs-primary) !important;overflow:hidden}
body.product-single #add-to-cart-btn salla-quick-buy{display:block;margin-top:10px}
body.product-single #add-to-cart-btn apple-pay-button{--apple-pay-button-height:52px;--apple-pay-button-border-radius:26px;
  height:52px !important;border-radius:26px;overflow:hidden}
.hs-ask{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;margin-top:14px;padding:0 16px;border-radius:26px;
  border:1.5px solid var(--hs-primary);background:#fff;color:var(--hs-ink) !important;font-size:15px;font-weight:600;text-decoration:none;text-align:center}
.hs-ask:hover{background:var(--hs-pink)}
.hs-ask svg{width:20px;height:20px;color:var(--hs-primary);flex-shrink:0}
.hs-desc{margin-top:22px;padding:22px 24px;border-radius:24px;background:#fff;border:1px solid var(--hs-line)}
.hs-desc h2{margin:0 0 10px;font-size:20px;line-height:28px;font-weight:700;color:var(--hs-ink)}
.hs-desc .product__description{margin:0 !important;font-size:15px;line-height:28px}
/* المعرض */
body.product-single .details-slider-wrapper .s-slider-container:not(.s-slider-thumbs-container){border-radius:24px;border:1px solid var(--hs-line);background:#fff;overflow:hidden}
body.product-single .details-slider-wrapper .s-slider-thumbs .swiper-slide{border-radius:14px !important;border:1px solid var(--hs-line) !important;overflow:hidden;background:#fff}
body.product-single .details-slider-wrapper .s-slider-thumbs .swiper-slide-thumb-active{border:2px solid var(--hs-primary) !important}
/* التقييمات */
body.product-single #product-tabs .tab-trigger{font-family:var(--hs-head);font-size:20px;font-weight:700}
body.product-single #product-tabs .tab-trigger.is-active{color:var(--hs-primary) !important;border-color:var(--hs-primary) !important}
body.product-single salla-comments .s-comments-item,body.product-single salla-comment-item,body.product-single .s-comments-product .s-comment-item{
  background:#fff;border:1px solid var(--hs-line) !important;border-radius:20px;padding:16px 18px;margin-bottom:12px}
/* أضفها لطلبك */
.hs-addon{--pad:0px;max-width:none}
.hs-addon .hs-sec{padding-top:8px}
@media (max-width:767px){
  .hs-addon .hs-scroll .hs-head{padding:0}
  .hs-addon .hs-scroll salla-products-list .s-products-list-wrapper{padding:0 0 4px !important}
}
/* شريط الإضافة الثابت (جوال) */
.hs-sticky{position:fixed;bottom:0;left:0;right:0;z-index:70;display:none;align-items:center;gap:14px;
  padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--hs-line);box-shadow:0 -6px 20px rgba(43,34,48,.08)}
.hs-sticky__p{display:flex;flex-direction:column;line-height:1.2;white-space:nowrap}
.hs-sticky__p small{font-size:12px;color:var(--hs-muted)}
.hs-sticky__p b,.hs-sticky__p b *{font-size:20px !important;font-weight:700;color:var(--hs-primary) !important;margin:0}
.hs-sticky__btn{flex:1;height:50px;border:0;border-radius:25px;background:var(--hs-primary);color:#fff;font:inherit;font-size:16px;font-weight:700;cursor:pointer}
@media (max-width:767px){
  body.hs-sticky-on .hs-sticky{display:flex}
  body.hs-sticky-on{padding-bottom:76px}
}

/* ---------- تصحيحات بعد الإطلاق ---------- */
/* «شاهدتها مؤخراً» يطلع برا main-content، فنخفيه من الرئيسية هنا */
body.index #viewed-section{display:none !important}
/* «عرض الكل» يبقى بسطر واحد بالجوال */
.hs-more{white-space:nowrap;flex-shrink:0}