/* Add custom CSS styles below */ 

/* BC dark-mode fixes START — ByteCard, 2026-11-12. Rollback: delete from START to END and save. */
/* Every dark rule is scoped to html.dark (Raqami adds it on dark OS / toggle). Light mode untouched except §5 (mobile how-to, both modes). */
html.dark {
  --bc-page: #1e1b1c;
  --bc-surface: #181516;
  --bc-raised: #2a2526;
  --bc-line: rgba(255,255,255,.10);
  --bc-muted: #bdb6b8;
}

/* 1. Header logo: dark variant (white «Byte»), hosted on Salla CDN */
html.dark img[src*="b6393f67-3002-4e6f-beb6-23197f9e5b31"] {
  content: url("https://cdn.files.salla.network/homepage/862808551/b8cf554d-e428-4b17-b47a-812b78d3e004-standard.webp");
  object-fit: contain;
}

/* 2. Homepage brand grids (shadow-DOM bundle, hard-coded white host bg) → page colour */
html.dark .s-block--bundle-category-grid,
html.dark .s-block--bundle-category-grid > * {
  --brand-bg: var(--bc-page);
  --brand-text: #ffffff;
  --brand-text-light: var(--bc-muted);
  background-color: var(--bc-page) !important;
}

/* 3. Primary buttons contrast in dark (white on #D51A00 = 5.2:1) */
html.dark .s-button-solid.s-button-primary:not(.btn--main--white):not(.s-button-disabled) {
  background-color: var(--color-primary-dark, #d51a00);
  border-color: var(--color-primary-dark, #d51a00);
}
html.dark .s-button-solid.s-button-primary.s-button-disabled {
  opacity: 1 !important;
  background-color: var(--bc-raised) !important;
  border-color: var(--bc-line) !important;
  color: var(--bc-ink3) !important;
}

/* 4. Cashback banner + search overlay legibility in dark */
html.dark .s-cashback-banner-container { background-color: rgba(251,64,37,.08) !important; border-color: var(--bc-line) !important; }
html.dark .s-cashback-banner-value, html.dark .s-cashback-banner-value .sicon-sar { color: #ff664b !important; }
html.dark .s-search-most-searched-item { color: var(--bc-muted) !important; }
html.dark .s-search-idle-category-chip { background-color: var(--bc-raised) !important; color: #fff !important; border: 1px solid var(--bc-line); }

/* 5. «طريقة تفعيل البطاقة» compact on mobile: one row of 3 small steps (both modes) */
@media (max-width: 1023px) {
  .s-block--features.cards-view .s-block__title { margin-bottom: 12px; }
  .s-block--features.cards-view .s-block__title h2 { font-size: 1.05rem; }
  .s-block--features.cards-view .s-block__title p { font-size: .8rem; margin-top: 2px; }
  .s-block--features.cards-view > .flex { flex-direction: row !important; align-items: flex-start !important; gap: 8px !important; }
  .s-block--features.cards-view img.arrow { display: none !important; }
  .s-block--features.cards-view .s-block--features__item { flex: 1 1 0; min-width: 0; padding: 0 !important; text-align: center; }
  .s-block--features.cards-view .s-block--features__item img { width: 44px !important; height: 44px !important; margin-bottom: 6px !important; }
  .s-block--features.cards-view .s-block--features__item h2 { font-size: .85rem !important; line-height: 1.3; margin: 0 0 2px; }
  .s-block--features.cards-view .s-block--features__item p { font-size: .7rem !important; line-height: 1.35; margin: 0; }
}
/* BC dark-mode fixes END */

/* BC landing fixes START — ByteCard, 2026-11-14 (CHANGELOG #99). Mobile product pages: name + price + player-ID/add-to-cart in the first screen for ad traffic. Rollback: delete from START to END and save. */
@media (max-width: 767px) {
  body.product-single .container--breadcrumbs { display: none; }
  body.product-single .container--product-details { padding-top: 12px; }
  body.product-single .container--product-details .sidebar { margin-bottom: 8px; }
  body.product-single .details-slider .swiper-wrapper,
  body.product-single .details-slider .swiper-slide { height: 220px !important; max-height: 220px; }
  body.product-single .details-slider .swiper-slide img { height: 100% !important; width: 100%; object-fit: contain; }
  body.product-single .container--product-details .main-content { display: flex; flex-direction: column; align-items: stretch; }
  body.product-single .container--product-details .main-content > * { order: 20; }
  body.product-single .container--product-details .main-content > h1 { order: 1; margin-bottom: 8px; }
  body.product-single .container--product-details .main-content > .product-entry__sub-title { order: 2; }
  body.product-single .container--product-details .main-content > .product-form { order: 3; margin-bottom: 16px; }
  body.product-single .container--product-details .main-content > salla-cashback-banner { order: 4; }
  body.product-single .container--product-details .main-content > .product-brand { order: 30; }
  body.product-single .container--product-details .main-content > .product__description { order: 31; }
}
/* BC landing fixes END */

/* BC card add-to-cart START — 2026-11-17: product-card button was gray and read as disabled; now solid primary. Undo: delete this block. */
salla-add-product-button.btn--main--gray[product-status="sale"] .s-button-element {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #fff !important;
}
salla-add-product-button.btn--main--gray[product-status="sale"] .s-button-element:hover {
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
}
/* BC card add-to-cart END */

/* BC v2 START — ByteCard redesign C, DRAFT theme version 869720136 only (never on live 1075715151). Source: redesign-c-clean/salla-draft/bc-v3.css (round 3: adaptive mobile <768 / tablet 768–1023 / desktop ≥1024 / wide ≥1280, content ≤1280 centred). Rollback: paste changes/127-salla-draft-v3/before_css.txt. Spacing 8 12 16 24 32 48. */
:root{--bc-brand:#fb4025;--bc-brand-t:#d0280e;--bc-ink:#1b1412;--bc-ink2:#645853;--bc-bg:#fff6f2;--bc-card:#ffffff;--bc-tint:#fef0ec;--bc-glass:rgba(255,246,242,.94);--bc-hair:rgba(84,44,28,.09);--bc-line:rgba(84,44,28,.16);--bc-g:16px;--bc-hh:56px;--bc-max:1280px;--bc-ease:cubic-bezier(.23,1,.32,1);--bc-brand-2:#ff7a2b;--bc-fill:#d0280e;--bc-on:#fff;--bc-ink3:#766a66;--bc-raised:#ffffff;--bc-sunk:#f9ede9;--bc-field:#928682;--bc-focus:#fb4025;--bc-ok:#0a7a3e;--bc-warn:#965802;--bc-danger:#b6143f;--bc-info:#1d60bc;--bc-star:#c46a06;--bc-inkcard:#1b1412;--bc-inkcard-t:#fe7b58;--bc-pill:rgba(27,20,18,.86);--bc-scrim:rgba(27,16,12,.45);--bc-sh:60,30,18;--bc-glow:251,64,37;--bc-grad:linear-gradient(135deg,#fb4025,#ff7a2b)}
/* #149 (2026-11-21) dark neutrals = warm B1 (redesign-c-clean/palette/B1.css); was cool #0e0f14/#181a22/#24262d — rollback changes/149-dark-warm-b1/before_css.txt */
html.dark{--bc-brand-t:#fe7b58;--bc-ink:#f7f3f2;--bc-ink2:#b2aaa8;--bc-bg:#130e0d;--bc-card:#1e1918;--bc-tint:#3a292c;--bc-glass:rgba(19,14,13,.94);--bc-hair:rgba(255,236,228,.08);--bc-line:rgba(255,236,228,.16);--bc-ink3:#a59d9b;--bc-raised:#2a2523;--bc-sunk:#130e0d;--bc-field:#7a7270;--bc-focus:#fe7b58;--bc-ok:#4ad08a;--bc-warn:#f9b64f;--bc-danger:#f87584;--bc-info:#79b6f4;--bc-star:#f5b84a;--bc-inkcard:#2a2523;--bc-scrim:rgba(0,0,0,.6);--bc-sh:0,0,0;--bc-glow:254,110,74;--bc-grad:linear-gradient(135deg,#d2361c,#d9652a);--bc-page:#130e0d;--bc-surface:#1e1918;--bc-muted:#b2aaa8}
html.dark .s-search-icon-wrap{color:var(--bc-ink3)} /* #149 Salla gray-400 → warm */
body.theme-digital{background-color:var(--bc-bg)!important}
.sicon-sar{font-size:.9em}
.bc-pr{white-space:nowrap;unicode-bidi:isolate}

/* ---------- header ≤1024 (Raqami's mobile header; its desktop bar starts at 1025): ONE fixed bar. #mainnav reserves 160px (py-4 + 80px search row) and pins .inner as a 2nd fixed bar → the blurred band on scroll. ---------- */
@media (max-width:1024px){
 .store-header .top-navbar{display:none}
 .store-header{position:fixed!important;top:0;left:0;right:0;z-index:40}
 .store-header #mainnav{min-height:0!important;padding:env(safe-area-inset-top) 0 0!important;background:var(--bc-glass)!important;backdrop-filter:saturate(1.6) blur(12px);-webkit-backdrop-filter:saturate(1.6) blur(12px);box-shadow:0 1px 0 var(--bc-hair);transition:background-color .2s,box-shadow .2s}
 .store-header #mainnav .inner{position:static!important;height:var(--bc-hh);background:transparent!important;box-shadow:none!important;animation:none!important;transform:none!important}
 .store-header #mainnav .inner>.container{height:100%;padding-inline:var(--bc-g)}
 .store-header #mainnav .inner__inner{height:100%}
 .store-header #mainnav .navbar-brand img{max-height:36px;width:auto}
 #mainnav .header-btn__icon{background:var(--bc-card)!important;box-shadow:0 0 0 1px var(--bc-hair)}
 .container{padding-left:var(--bc-g)!important;padding-right:var(--bc-g)!important}
}
/* mobile <768: transparent header over a full-bleed hero, search row on inner pages, dock */
@media (max-width:767px){
 body:not(.index) .store-header #mainnav{padding-bottom:52px!important}
 body:not(.index) .store-header .header-search{display:block!important;width:auto!important;top:calc(var(--bc-hh) + env(safe-area-inset-top))!important;left:var(--bc-g)!important;right:var(--bc-g)!important;min-width:0!important;height:44px}
 body:not(.index) .store-header .s-search-input-wrapper,body:not(.index) .store-header .s-search-input{height:44px!important;min-height:44px!important;border-radius:12px!important}
 body{padding-top:calc(108px + env(safe-area-inset-top))}
 body.index{padding-top:0}
 body.index .store-header .header-search{display:none!important}
 body.index:not(.bc-solid) .store-header #mainnav{background:transparent!important;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
 body.index:not(.bc-solid) #mainnav .navbar-brand img{background:#fff;border-radius:14px;padding:4px 10px}
 html.dark body.index:not(.bc-solid) #mainnav .navbar-brand img{background:rgba(19,14,13,.78)} /* #149 B1 warm */ /* dark logo variant = white «Byte» → dark pill */
 body.index:not(.bc-solid) #mainnav .header-btn__icon{background:rgba(255,255,255,.22)!important;box-shadow:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
 body.index:not(.bc-solid) #mainnav .sicon-menu,body.index:not(.bc-solid) #mainnav .header-btn,body.index:not(.bc-solid) #mainnav salla-cart-summary{color:#fff!important}
 /* page sheet over the hero: 24px curve + 36×4 handle */
 body.index .s-block--bundle-html-content:not(:has(>[config*=bc-hero])){position:relative;z-index:2;margin-top:-24px!important;background:var(--bc-bg);border-radius:24px 24px 0 0;padding-top:8px}
 body.index .s-block--bundle-html-content:not(:has(>[config*=bc-hero])):before{content:"";display:block;width:36px;height:4px;border-radius:2px;background:var(--bc-line);margin:0 auto}
 body.index .s-block:not(.s-block--bundle-html-content){margin-top:32px!important}
 .store-footer{margin-top:32px!important}
 body:not(.product-single):not(.cart){padding-bottom:calc(96px + env(safe-area-inset-bottom))}
 .wa-s-n{bottom:calc(84px + env(safe-area-inset-bottom))!important;right:var(--bc-g)!important;left:auto!important;z-index:44!important;transition:opacity .2s}
 /* reserve space for client-rendered blocks (HTML bundle + rails hydrate seconds after first paint → CLS 1.18 measured) */
 body.index .s-block--bundle-html-content:not(:has(>[config*=bc-hero])){min-height:calc(200vw + 316px)} /* 18 tiles = 6 rows + 4-col trust strip */
 body.index .s-block--best-offers{height:calc((100vw - 56px) / 2.25 + 130px);overflow:hidden}
 /* rails: 2 cards + peek, 12 gap, bleed to the screen edge */
 .s-products-slider-wrapper .swiper{margin:0 calc(-1 * var(--bc-g))!important;padding:0 var(--bc-g) 2px!important}
 .s-products-slider-wrapper .swiper-slide{width:calc((100vw - 56px) / 2.25)!important;padding:0!important;margin-left:12px!important;height:auto!important}
 .s-products-slider-wrapper .swiper-slide:last-child{margin-left:0!important}
 .s-products-slider-wrapper .s-slider-nav-arrow,.s-products-slider-wrapper .s-slider-block__title-nav{display:none!important}
}
/* tablet 768–1024: solid 64px bar with the search inline, no dock */
@media (min-width:768px) and (max-width:1024px){
 :root{--bc-hh:64px}
 body{padding-top:calc(var(--bc-hh) + env(safe-area-inset-top))}
 .store-header .header-search{display:block!important;position:static!important;flex:1 1 auto;min-width:0!important;max-width:520px;height:44px;margin-inline:auto;transform:none!important;opacity:1!important;visibility:visible!important}
 .store-header .s-search-input-wrapper,.store-header .s-search-input{height:44px!important;min-height:44px!important;border-radius:12px!important}
}

/* Swiper CSS arrives ~10 s late on slow 3G → slides would stack vertically before init. Row layout from the first paint. */
.s-products-slider-wrapper .swiper{overflow:hidden}
.s-products-slider-wrapper .swiper-wrapper{display:flex}
.s-products-slider-wrapper .swiper-slide{flex-shrink:0}
.bc-side{display:none}
/* #133 light hero: our scroll-snap carousel from the «محتوى HTML» components 79742458 (ar) / 545915844 (en) — languages filter server-side. Twilight renders bundles seconds late → BC JS renders the code itself and hides Twilight's copy; slide 1 = the section's :before background from the first paint (LCP, size reserved → CLS 0). Salla's 4 photos_sliders hidden (rollback #133). */
body.index .s-block:has(>[config*=bc-hero]){display:grid;position:relative;margin:0!important;padding:0!important;max-width:none}
body.index .s-block:has(>[config*=bc-hero])>:not(.bc-hero):not(.bc-side){display:none} /* Twilight's own render (renamed salla-html-content-*) */
body.index .s-block:has(>[config*=bc-hero]):before{content:"";grid-area:1/1;aspect-ratio:1;background:#14172a url(https://cdn.files.salla.network/homepage/862808551/3fb4c338-6a2b-450f-9fc6-5d0996b35149-standard.webp) top/100% auto no-repeat} /* #137 one sprite for both devices: phone square on top, desktop band below (Salla preloads only this URL) */
body.index .s-block:has(>[config*=bc-hero-en]):before{background-image:url(https://cdn.files.salla.network/homepage/862808551/5634893d-8373-4dd1-a758-e801b33c5655-standard.webp)}
.bc-hero .bc-hero-1{object-position:top}
.bc-hero{grid-area:1/1/2/2;position:absolute;inset:0;overflow:hidden} /* the :before alone sizes the cell */
.bc-hero-t{display:flex;height:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none}
.bc-hero-t::-webkit-scrollbar{display:none}
.bc-hero-s{flex:0 0 100%;scroll-snap-align:start} /* no snap-stop: it also stops programmatic jumps (dots, autoplay wrap) one slide in */
.bc-hero-s a,.bc-hero picture{display:block;height:100%}
.bc-hero img{display:block;width:100%;height:100%;object-fit:cover}
.bc-hero-s a:focus-visible{outline:3px solid #fff;outline-offset:-3px}
.bc-hero-d{position:absolute;inset-inline:0;bottom:32px;display:flex;justify-content:center}
.bc-hero-d button{display:grid;place-items:center;width:20px;height:24px;padding:0;border:0;background:none;cursor:pointer}
.bc-hero-d button:after{content:"";width:6px;height:6px;border-radius:3px;background:rgba(255,255,255,.55);box-shadow:0 0 0 .5px rgba(0,0,0,.12);transition:width .3s var(--bc-ease),background-color .3s}
.bc-hero-d [aria-current=true]:after{width:18px;background:#fff}
.bc-hero-a{display:none}
@media (prefers-reduced-motion:reduce){.bc-hero-t{scroll-behavior:auto}.bc-hero-d button:after{transition:none}}
@media (min-width:768px){
 body.index .s-block:has(>[config*=bc-hero]){max-width:var(--bc-max);margin:16px auto 0!important;padding:0 var(--bc-g)!important}
 body.index .s-block:has(>[config*=bc-hero]):before{aspect-ratio:1280/500;border-radius:20px;background-position:bottom}
 .bc-hero .bc-hero-1{object-position:bottom}
 .bc-hero{border-radius:20px;transform:translateZ(0)}
 .bc-hero-d{bottom:10px}
}
@media (min-width:1024px){
 body.index .s-block:has(>[config*=bc-hero]){grid-template-columns:minmax(0,1fr) 264px;gap:16px;margin-top:24px!important}
 .bc-hero-a{display:grid;place-items:center;position:absolute;top:50%;width:44px;height:44px;margin-top:-22px;padding:0;border:0;border-radius:50%;background:var(--bc-card);box-shadow:0 2px 12px rgba(15,18,34,.16);cursor:pointer;opacity:0;transition:opacity .2s var(--bc-ease),transform .16s var(--bc-ease)}
 .bc-hero-a:before{content:"";width:10px;height:10px;border:solid var(--bc-ink);border-width:2px 2px 0 0;transform:translateX(-2px) rotate(45deg)}
 .bc-hero-a.p:before,.bc-hero[dir=rtl] .bc-hero-a.n:before{transform:translateX(2px) rotate(-135deg)}
 .bc-hero[dir=rtl] .bc-hero-a.p:before{transform:translateX(-2px) rotate(45deg)}
 .bc-hero-a.p{inset-inline-start:16px}.bc-hero-a.n{inset-inline-end:16px}
 .bc-hero:hover .bc-hero-a,.bc-hero:focus-within .bc-hero-a{opacity:1}
 .bc-hero-a:active{transform:scale(.97)}
 .bc-hero-a:focus-visible{outline:2px solid var(--bc-focus);outline-offset:2px}
}
/* tap targets ≥44 without changing the 40px visuals */
#mainnav .header-btn{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
#mainnav .sicon-menu{padding:10px;margin:-10px}

/* section titles 18/700, «عرض الكل» = small text link */
.s-block .s-block__title,.s-slider-block__title{margin-bottom:12px!important;align-items:center}
.s-block--bundle-personalized-shoppers-who-bought:not(:has(custom-salla-product-card)){display:none}
.s-block .s-block__title h2,.s-slider-block__title h2{font-weight:700!important;font-size:18px!important;line-height:1.4!important;padding:0!important;margin:0!important}
.s-slider-block__display-all{display:inline-flex!important;align-items:center;line-height:24px!important;border:0!important;background:none!important;padding:10px 0!important;margin:-10px 0!important;height:auto!important;min-height:0!important;font-size:13px!important;font-weight:500!important;color:var(--bc-brand-t)!important}
.s-products-slider-wrapper{margin-bottom:0!important}

/* home: trust strip + brand tiles (HTML bundle) */
.bc-home{max-width:var(--bc-max);margin:0 auto;padding:12px var(--bc-g) 0;color:var(--bc-ink)}
.bc-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:var(--bc-card);border:1px solid var(--bc-hair);border-radius:16px;padding:12px 8px;font-size:12px;font-weight:500;color:var(--bc-ink)}
.bc-trust span{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;white-space:nowrap;min-width:0}
.bc-trust svg{width:28px;height:28px;flex:0 0 auto;stroke:var(--bc-brand);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bc-trust svg,.bc-trust svg *{fill:none!important}
.bc-h{font-size:18px;font-weight:700;line-height:1.4;margin:24px 0 12px;text-wrap:balance}
.bc-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 12px}
.bc-t{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font-size:12px;line-height:1.35;color:var(--bc-ink)!important;min-width:0;border-radius:20px;outline-offset:4px}
.bc-t b{font-weight:600}
.bc-t img{width:100%;height:auto;aspect-ratio:1;display:block;clip-path:inset(.7% round 21%);transition:transform .2s var(--bc-ease)} /* tile art has a white matte in its baked ~20% corners + 1px top edge → clip it (white ring in dark mode) */
.bc-t:active img{transform:scale(.97)}
.bc-t:focus-visible{outline:2px solid var(--bc-focus)}

/* product cards (rails, category, search): white, hairline, 18 radius, square art r13, 2-line name, bold price, round + */
custom-salla-product-card.product-entry{display:flex!important;flex-direction:column!important;height:100%;position:relative;background:var(--bc-card)!important;border:1px solid var(--bc-hair)!important;border-radius:18px!important;padding:7px 7px 10px!important;box-shadow:none!important;overflow:hidden;cursor:pointer;transition:transform .2s var(--bc-ease),box-shadow .2s var(--bc-ease),border-color .2s}
custom-salla-product-card.product-entry .product-entry__image{position:relative;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;aspect-ratio:1;flex:0 0 auto!important;padding:0!important;border:0!important;border-radius:13px!important;overflow:hidden;margin:0!important;background:var(--bc-tint)!important}
custom-salla-product-card.product-entry .product-entry__image a{position:absolute!important;inset:0;display:block;width:100%!important;height:100%!important}
custom-salla-product-card.product-entry .product-entry__image img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;border-radius:0!important}
custom-salla-product-card.product-entry .product-entry__content{display:flex!important;flex-direction:column;flex:1 1 auto;padding:0!important;margin:0!important;text-align:start;gap:0!important;min-width:0}
custom-salla-product-card.product-entry .text-info{gap:0!important}
custom-salla-product-card.product-entry .text-info>a,custom-salla-product-card.product-entry .product-entry__title{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px!important;font-weight:500!important;line-height:1.45!important;min-height:2.9em;margin:8px 4px 4px!important;color:var(--bc-ink)!important;text-wrap:balance}
custom-salla-product-card.product-entry .price-wrapper{margin:auto 44px 0 4px!important;padding:0!important;min-height:36px;display:flex;align-items:center}
[dir=rtl] custom-salla-product-card.product-entry .price-wrapper{margin:auto 4px 0 44px!important}
custom-salla-product-card.product-entry .price-wrapper p,custom-salla-product-card.product-entry .price-wrapper span{font-size:16px!important;font-weight:700!important;line-height:1.2!important;color:var(--bc-ink)!important;white-space:nowrap}
custom-salla-product-card.product-entry:after{content:"+";position:absolute;inset-inline-end:8px;bottom:8px;width:36px;height:36px;border-radius:50%;background:var(--bc-fill);color:var(--bc-on);font:400 24px/34px system-ui,sans-serif;text-align:center;pointer-events:none;transition:transform .2s var(--bc-ease)}
custom-salla-product-card.product-entry .btn--wishlist,custom-salla-product-card.product-entry salla-add-product-button,custom-salla-product-card.product-entry salla-rating-stars,custom-salla-product-card.product-entry .product-entry__sub-title,custom-salla-product-card.product-entry .product-checkbox,custom-salla-product-card.product-entry .product-checkbox+label,custom-salla-product-card.product-entry .text-info>.flex.h-6{display:none!important}
custom-salla-product-card.product-entry:active{transform:scale(.98)}
custom-salla-product-card.product-entry:focus-within{outline:2px solid var(--bc-focus);outline-offset:2px}
@media (hover:hover) and (pointer:fine){
 custom-salla-product-card.product-entry:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(var(--bc-sh),.10)!important;border-color:var(--bc-line)!important}
 custom-salla-product-card.product-entry:hover:after{transform:scale(1.08)}
 .bc-t:hover img{transform:translateY(-4px)}
}
/* category / search listing: grid 2 → 3 (768) → 4 (1024) → 5 (1280) */
.s-products-list-wrapper.s-products-list-horizontal-cards,.s-products-list-wrapper{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
/* category image column: phones keep the image (corners matched to the art: transparent 8.5% radius, no white box/border in dark); its «أضف إلى السلة» bulk-add is dead (checkboxes hidden) → hidden; ≥768 the column goes so the grid is full width */
body.product-index .cat-col .product-entry__image{position:relative;border:0!important;background:transparent!important;border-radius:20px!important;overflow:hidden;box-shadow:none!important}
body.product-index .cat-col .product-entry__image{aspect-ratio:12/5;height:auto!important;margin-bottom:16px!important} /* compact banner so the first packs show in the first screen */
body.product-index .cat-col .product-entry__image img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;border-radius:0!important}
body.product-index .cat-col .card-shape,body.product-index .cat-col .product-entry__content{display:none!important}
@media (min-width:768px){body.product-index .cat-col{display:none!important}}
body.product-index .main-content{width:100%!important;flex:1 1 100%}
body.product-index #page-main-title{font-size:20px;font-weight:700}
body.product-index .sub-categories .subcats-label{font-size:13px;font-weight:500;color:var(--bc-ink2);margin-bottom:8px;border:0!important;padding:0!important}
body.product-index .sub-categories .cats-wrap{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px}
body.product-index .sub-categories .cats-wrap li{flex:0 0 auto;margin:0!important}
body.product-index .sub-categories .selected-cat-item{display:block;cursor:pointer;margin:0!important}
body.product-index .sub-categories .selected-cat-item>span{display:inline-flex!important;align-items:center;gap:8px;min-height:44px;padding:0 16px!important;border-radius:22px!important;border:1px solid var(--bc-line)!important;background:var(--bc-card)!important;color:var(--bc-ink)!important;font-size:14px;font-weight:500;white-space:nowrap;transition:border-color .15s,background-color .15s}
body.product-index .sub-categories .selected-cat-item>span img{width:24px!important;height:18px!important;border-radius:4px}
body.product-index .sub-categories .selected-cat-item input:checked+span{border-color:var(--bc-brand)!important;background:var(--bc-tint)!important;color:var(--bc-brand-t)!important}
body.product-index .sub-categories .selected-cat-item input:focus-visible+span{outline:2px solid var(--bc-focus);outline-offset:2px}
body.product-index #product-filter{height:44px;border-radius:12px;border:1px solid var(--bc-line);background-color:var(--bc-card);color:var(--bc-ink);cursor:pointer}
@media (hover:hover){body.product-index .sub-categories .selected-cat-item>span:hover{border-color:var(--bc-brand)!important}}

/* floating dock 62px — phones only */
.bc-dock{position:fixed;bottom:calc(10px + env(safe-area-inset-bottom));left:var(--bc-g);right:var(--bc-g);height:62px;border-radius:31px;background:var(--bc-glass);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--bc-hair);box-shadow:0 8px 24px rgba(var(--bc-sh),.10);display:flex;justify-content:space-around;align-items:center;z-index:45;direction:rtl}
.bc-dock a{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;font-weight:500;color:var(--bc-ink2)!important;position:relative;min-width:64px;min-height:48px;justify-content:center}
.bc-dock a.on{color:var(--bc-brand-t)!important}
.bc-dock .bc-i{width:24px;height:24px;transition:transform .35s cubic-bezier(.34,1.56,.64,1),fill .2s}
.bc-dock a.on .bc-i{fill:rgba(var(--bc-glow),.15)}
.bc-dock a:active .bc-i{transform:scale(.86)}
.bc-dock em{position:absolute;top:2px;right:16px;min-width:18px;height:18px;border-radius:9px;background:var(--bc-fill);color:var(--bc-on);font:700 11px/18px inherit;font-style:normal;text-align:center;padding:0 4px}
@media (min-width:768px){.bc-dock{display:none}}
/* #133 (iPhone review): phones get ONE cart entry = the dock (header bag + total hidden wherever the dock exists; product/cart pages keep it), and a page-colour band under the floating dock so page content doesn't read as a dark strip below it */
@media (max-width:767px){
 body:has(.bc-dock) .store-header salla-cart-summary{display:none!important}
 body:has(.bc-dock):after{content:"";position:fixed;left:0;right:0;bottom:0;height:calc(41px + env(safe-area-inset-bottom));background:linear-gradient(transparent,var(--bc-bg) 45%);z-index:44;pointer-events:none}
}
body.bc-open .wa-s-n,body.product-single .wa-s-n{opacity:0;pointer-events:none}

/* quick sheet — phone: bottom sheet; tablet: side drawer; desktop: centred two-column modal */
.bcq-scrim{position:fixed;inset:0;background:var(--bc-scrim);opacity:0;pointer-events:none;transition:opacity .25s;z-index:60;touch-action:none}
.bcq{position:fixed;left:0;right:0;bottom:0;z-index:61;background:var(--bc-card);color:var(--bc-ink);border-radius:24px 24px 0 0;padding:0 18px;max-height:92vh;overflow-y:auto;overscroll-behavior:contain;transform:translateY(105%);visibility:hidden;transition:transform .35s cubic-bezier(.32,.72,0,1),visibility 0s .35s;direction:rtl;max-width:640px;margin:0 auto}
body.bc-open .bcq-scrim{opacity:1;pointer-events:auto}body.bc-open .bcq{transform:none;visibility:visible;transition-delay:0s}
.bcq-grab{position:sticky;top:0;z-index:3;margin:0 -18px;background:var(--bc-card);padding:12px 0 8px;touch-action:none}
.bcq-grab:before{content:"";display:block;width:36px;height:4px;border-radius:2px;background:var(--bc-line);margin:0 auto}
.bcq :focus-visible{outline:2px solid var(--bc-focus);outline-offset:2px}
.bcq button{cursor:pointer}.bcq button:disabled{cursor:not-allowed}
.bcq-x{position:absolute;top:12px;left:12px;width:44px;height:44px;border-radius:50%;border:0;background:var(--bc-tint);color:var(--bc-ink);font-size:15px;z-index:4}
.bcq-h{position:sticky;top:24px;z-index:2;display:flex;gap:12px;align-items:center;background:var(--bc-card);margin:0 -18px;padding:8px 18px 16px 64px;box-shadow:0 1px 0 var(--bc-hair)}
.bcq-h img{width:112px;height:112px;border-radius:18px;object-fit:cover;flex:0 0 auto;transition:width .25s var(--bc-ease),height .25s var(--bc-ease);box-shadow:0 8px 20px rgba(var(--bc-sh),.12)}
.bcq.mini .bcq-h img{width:64px;height:64px;border-radius:14px;box-shadow:none}
.bcq-h b{display:block;font-size:18px;line-height:1.35;text-wrap:balance}.bcq.mini .bcq-h b{font-size:16px}
.bcq-pick{display:block;font-size:16px;font-weight:700;color:var(--bc-brand-t);margin-top:4px;unicode-bidi:plaintext}
.bcq-h small{display:block;color:var(--bc-ok);font-size:12px;margin-top:4px}
html.dark .bcq-h small{color:var(--bc-ok)}
.bcq-lbl{font-size:13px;font-weight:500;color:var(--bc-ink2);margin:16px 0 8px}
.bcq-seg{display:flex;gap:4px;padding:4px;margin-top:16px;border-radius:14px;background:var(--bc-tint)}
.bcq-seg button{flex:1;min-width:0;height:44px;border:0;border-radius:10px;background:none;color:var(--bc-ink2);font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.bcq-seg button.on{background:var(--bc-card);color:var(--bc-ink);box-shadow:0 1px 3px rgba(var(--bc-sh),.12)}
.bcq-seg img,.bcq-seg svg{width:20px;height:15px;border-radius:3px;object-fit:cover;flex:0 0 auto}
.bcq-seg svg{height:18px;width:18px;stroke:currentColor;fill:none;stroke-width:1.8}
.bcq-in{width:100%;height:52px;border-radius:14px;border:1.5px solid var(--bc-line);padding:0 16px;font-size:17px;direction:ltr;text-align:right;background:var(--bc-card);color:var(--bc-ink);unicode-bidi:plaintext}
.bcq-in:focus{outline:none;border-color:var(--bc-brand);box-shadow:0 0 0 3px rgba(var(--bc-glow),.18)}
.bcq-hint{font-size:12px;color:var(--bc-ink2);margin-top:8px}
.bcq-dn{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.bcq-dn button{font-weight:700;font-size:16px;line-height:1.2;min-height:56px;padding:8px 4px;border-radius:14px;border:1.5px solid var(--bc-hair);background:var(--bc-card);color:var(--bc-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;overflow-wrap:anywhere;transition:border-color .15s,background-color .15s}
.bcq-dn button small{font-weight:500;font-size:12px;color:var(--bc-ink2);white-space:nowrap}
.bcq-dn button.on{border-color:var(--bc-brand);color:var(--bc-brand-t);background:var(--bc-tint)}
.bcq-dn button:disabled{opacity:.4}
.bcq-qty{display:flex;align-items:center;gap:16px}.bcq-qty button{width:44px;height:44px;border-radius:12px;border:1px solid var(--bc-hair);background:var(--bc-card);font-size:20px;color:var(--bc-ink)}
.bcq-ds{margin-top:24px;font-size:14px;line-height:1.75}.bcq-ds h3{font-weight:700;font-size:16px;margin-bottom:8px}
.bcq-ds img{height:auto!important;max-width:100%!important;object-fit:contain}.bcq-ds>div>img:first-child,.bcq-ds>div>p:first-child>img:only-child{display:none}
.bcq-buy{position:sticky;bottom:0;z-index:2;display:flex;flex-wrap:wrap;gap:8px;background:var(--bc-card);margin:16px -18px 0;padding:12px 18px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -1px 0 var(--bc-hair)}
.bcq-buy button{flex:1;height:var(--bc-btn-h);border-radius:var(--bc-btn-r);border:0;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;transition:filter .15s,transform .1s}
.bcq-buy .a{background:var(--bc-fill);color:var(--bc-on)}.bcq-buy .o{background:var(--bc-tint);color:var(--bc-brand-t)}
.bcq-buy button:disabled{opacity:.45}
.bcq-buy button:active,.bcq-dn button:active,.bcq-seg button:active{transform:scale(.97)}
.bcq-msg{flex-basis:100%;text-align:center;font-size:12px;font-weight:500;color:var(--bc-brand-t);min-height:1em}
.bcq-msg:empty{display:none}
.bcq-load{padding:40px 0;text-align:center;color:var(--bc-ink2)}
@media (hover:hover) and (pointer:fine){.bcq-dn button:not(:disabled):hover{border-color:var(--bc-brand)}.bcq-buy button:not(:disabled):hover{filter:brightness(.94)}.bcq-x:hover,.bcq-qty button:hover{filter:brightness(.95)}}
@media (min-width:768px) and (max-width:1024px){
 :root{--bc-g:24px}
 .bcq{top:0;bottom:0;left:0;right:auto;width:min(440px,100vw);max-width:none;max-height:none;margin:0;border-radius:0 24px 24px 0;transform:translateX(-105%)}
 .bcq-grab{padding:8px 0 4px}.bcq-grab:before{display:none}
 .bcq-h{top:12px}
}
@media (min-width:1025px){
 .bcq{top:50%;left:50%;right:auto;bottom:auto;width:min(760px,calc(100vw - 48px));max-width:none;max-height:min(88vh,860px);margin:0;padding:60px 28px 0;border-radius:24px;opacity:0;transform:translate(-50%,-48%) scale(.98);transition:opacity .2s var(--bc-ease),transform .25s var(--bc-ease),visibility 0s .25s;display:grid;grid-template-columns:minmax(0,1fr) 248px;grid-template-areas:"opt media" "buy media" "ds ds";column-gap:28px;align-content:start;box-shadow:0 24px 64px rgba(var(--bc-sh),.24)}
 body.bc-open .bcq{opacity:1;transform:translate(-50%,-50%)}
 .bcq-grab{display:none}
 .bcq-body{display:contents}
 .bcq-h,.bcq.mini .bcq-h{grid-area:media;position:static;flex-direction:column;align-items:stretch;gap:12px;margin:0;padding:0;box-shadow:none;align-self:start}
 .bcq-h img,.bcq.mini .bcq-h img{width:100%;height:auto;aspect-ratio:1;border-radius:18px;box-shadow:none}
 .bcq-h b,.bcq.mini .bcq-h b{font-size:18px}
 .bcq-opt{grid-area:opt;min-width:0}.bcq-opt>:first-child{margin-top:0}
 .bcq-buy{grid-area:buy;position:static;margin:20px 0 0;padding:0;box-shadow:none;align-self:start}
 .bcq-ds{grid-area:ds;margin-top:24px;padding:20px 0 28px;border-top:1px solid var(--bc-hair)}
 .bcq-scrim{background:var(--bc-scrim)}
}
@media (prefers-reduced-motion:reduce){.bcq,.bcq-scrim,.bc-t img,custom-salla-product-card.product-entry{transition:none!important}}

/* product page (direct visitors): same look as the sheet */
body.product-single .product-form{background:var(--bc-card);border:1px solid var(--bc-hair);border-radius:20px;padding:16px}
body.product-single .product-form>section:not(.sticky-product-bar),body.product-single .product-form .s-product-options-wrapper{padding:0!important;background:none!important;border-radius:0!important}
body.product-single .product-form>section:not(.sticky-product-bar)+section:not(.sticky-product-bar){margin-top:12px}
body.product-single .sticky-product-bar{gap:8px;padding:12px var(--bc-g) calc(12px + env(safe-area-inset-bottom))!important}
body.product-single .s-product-options-wrapper input[type=text],body.product-single .s-product-options-wrapper input:not([type]){height:52px;border-radius:14px!important;border:1.5px solid var(--bc-line)!important;font-size:17px;padding-inline:16px}
body.product-single .product-form button.s-button-primary,body.product-single salla-add-product-button button{border-radius:var(--bc-btn-r)!important;height:var(--bc-btn-h);font-size:15px;font-weight:700}
body.product-single .product__description{font-size:14px;line-height:1.75}
body.product-single .product__description img{height:auto!important;max-width:100%!important}
body.product-single .s-button-primary,body.product-single .btn--primary{background-color:var(--bc-fill)}
/* CardZone's internal UUID SKU row («رقم الموديل») is noise for shoppers — hidden visually only (the SKU itself is untouched) */
body.product-single .main-content>div:has(>div>.sicon-barcode){display:none}
/* ≥768: two columns — image sticky, buy box right under the price, long description after it (it sat 4,000 px above «أضف للسلة») */
@media (min-width:768px){
 body.product-single .container--product-details .main-content{display:flex;flex-direction:column}
 body.product-single .container--product-details .product__description{order:20;margin-top:24px}
 body.product-single .container--product-details salla-quick-order{order:19}
 body.product-single .container--product-details h1{font-size:26px!important;line-height:1.35!important;margin-bottom:12px!important}
 body.product-single .container--product-details .sidebar{top:96px}
 body.product-single .details-slider{border-radius:20px;overflow:hidden}
}

/* ---------- ≥768: contained layout (tablet + desktop) ---------- */
@media (min-width:768px){
 body.index .s-block.container,body.index .s-block--bundle-html-content{max-width:var(--bc-max)!important;margin-inline:auto!important;padding-inline:var(--bc-g)!important}
 body.index .s-block:not(:has(>[config*=bc-hero])){margin-top:48px!important}
 body.index .s-block--bundle-html-content:not(:has(>[config*=bc-hero])){margin-top:24px!important;min-height:calc(3 * ((min(100vw - 17px, var(--bc-max)) - 2 * var(--bc-g) - 100px) / 6 + 27px) + 200px)}
 .bc-home{padding:0}
 .bc-trust{padding:14px 24px;font-size:14px}
 .bc-trust span{flex-direction:row;justify-content:center;gap:10px}
 .bc-h{font-size:22px;margin:40px 0 16px}
 .bc-tiles{grid-template-columns:repeat(6,1fr);gap:24px 20px}
 .bc-t{font-size:14px}
 .s-block .s-block__title h2,.s-slider-block__title h2{font-size:22px!important}
 /* rails: % of the swiper width (no 100vw → no scrollbar overflow); tablet 3.4 visible (peek = swipeable), desktop 5, ≥1280 6 */
 .s-products-slider-wrapper .swiper{margin:-6px 0 -14px!important;padding:6px 0 14px!important}
 .s-products-slider-wrapper .swiper-slide{width:calc((100% - 3 * 16px) / 3.4)!important;margin-left:16px!important;padding:0!important;height:auto!important}
 [dir=ltr] .s-products-slider-wrapper .swiper-slide{margin-left:0!important;margin-right:16px!important}
 body.index .s-block--best-offers{height:auto;--bc-rh:calc((min(100vw - 17px, var(--bc-max)) - 2 * var(--bc-g) - 48px) / 3.4 + 148px);min-height:var(--bc-rh);max-height:calc(var(--bc-rh) + 40px);overflow:clip;overflow-clip-margin:16px} /* min = final height (no growth), max stops the pre-init vertical stack (2,781 px measured) */
 .s-products-list-wrapper.s-products-list-horizontal-cards,.s-products-list-wrapper{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
 .store-footer{margin-top:64px!important}
}
/* ---------- desktop ≥1024 ---------- */
@media (min-width:1024px){
 /* hero bento (#133 block): banner + 2 promo cards */
 .bc-side{display:grid;grid-template-rows:1fr 1fr;gap:16px;min-height:0}
 .bc-side a{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:16px 20px;border-radius:20px;overflow:hidden;text-decoration:none!important;transition:transform .2s var(--bc-ease),box-shadow .2s var(--bc-ease)}
 .bc-side svg{width:28px;height:28px;flex:0 0 auto;margin-bottom:4px;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .bc-side b{font-size:17px;line-height:1.35;font-weight:700;text-wrap:balance}
 .bc-side span{font-size:13px;line-height:1.5}
 .bc-side em{font-style:normal;font-size:13px;font-weight:700;margin-top:4px}
 .bc-side .s1{background:var(--bc-card);border:1px solid var(--bc-hair);color:var(--bc-ink)}
 .bc-side .s1 svg{stroke:var(--bc-brand-t)}.bc-side .s1 span{color:var(--bc-ink2)}.bc-side .s1 em{color:var(--bc-brand-t)}
 .bc-side .s2{background:var(--bc-inkcard);color:#fff}
 .bc-side .s2 svg{stroke:var(--bc-inkcard-t)}.bc-side .s2 span{color:rgba(255,255,255,.8)}.bc-side .s2 em{color:var(--bc-inkcard-t)}
 html.dark .bc-side .s2{background:var(--bc-raised)}
 .bc-side a:focus-visible{outline:2px solid var(--bc-focus);outline-offset:2px}
 @media (hover:hover){.bc-side a:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(var(--bc-sh),.12)}}
 /* rails: 5 cards + arrows (Raqami's own nav buttons, restyled to 44px circles) */
 .s-products-slider-wrapper .swiper-slide{width:calc((100% - 4 * 16px) / 5)!important}
 body.index .s-block--best-offers{--bc-rh:calc((min(100vw - 17px, var(--bc-max)) - 2 * var(--bc-g) - 64px) / 5 + 160px)}
 .s-slider-block__title-nav{display:flex!important;gap:8px}
 .s-products-slider-wrapper .s-slider-nav-arrow{width:44px!important;height:44px!important;min-width:44px;border-radius:50%!important;border:1px solid var(--bc-line)!important;background:var(--bc-card)!important;color:var(--bc-ink)!important;display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer;transition:background-color .15s,border-color .15s,opacity .15s}
 .s-products-slider-wrapper .s-slider-nav-arrow:hover:not(:disabled){border-color:var(--bc-brand)!important;background:var(--bc-tint)!important}
 .s-products-slider-wrapper .s-slider-nav-arrow:disabled,.s-products-slider-wrapper .s-slider-nav-arrow.swiper-button-disabled{opacity:.35;cursor:default}
 .s-products-slider-wrapper .s-slider-nav-arrow:focus-visible{outline:2px solid var(--bc-focus);outline-offset:2px}
 .s-products-list-wrapper.s-products-list-horizontal-cards,.s-products-list-wrapper{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px 16px!important}
 body.product-index #page-main-title{font-size:26px}
}
/* desktop header ≥1025 */
@media (min-width:1025px){
 /* header: native Raqami desktop bar (logo · inline category nav · wide search · account · cart+count), tightened */
 .store-header .top-navbar{min-height:0;padding:6px 0!important;font-size:12px;background:var(--bc-card)!important;border-bottom:1px solid var(--bc-hair)}
 .store-header .top-navbar a,.store-header .top-navbar button{color:var(--bc-ink2)!important}
 .store-header #mainnav{min-height:72px!important;padding:0!important;background:var(--bc-card)!important;box-shadow:0 1px 0 var(--bc-hair)}
 .store-header #mainnav .inner{height:72px;background:var(--bc-card)!important;box-shadow:0 1px 0 var(--bc-hair)}
 .store-header #mainnav .inner>.container,.store-header #mainnav .inner__inner{height:100%}
 .store-header #mainnav .navbar-brand img{max-height:40px;width:auto}
 .store-header .main-menu>li>a{min-height:44px;display:inline-flex;align-items:center;font-size:15px;font-weight:600;color:var(--bc-ink)!important;border-radius:10px;padding-inline:10px!important;transition:color .15s,background-color .15s}
 .store-header .main-menu>li>a:hover,.store-header .main-menu>li:focus-within>a{color:var(--bc-brand-t)!important;background:var(--bc-tint)}
 .store-header .header-search{flex:1 1 auto;max-width:560px;min-width:240px!important}
 .store-header .s-search-input-wrapper,.store-header .s-search-input{height:44px!important;min-height:44px!important;border-radius:12px!important;background:var(--bc-tint)!important;border-color:transparent!important;cursor:text}
 .store-header .header-btn:hover .header-btn__icon,.store-header salla-cart-summary:hover .header-btn__icon{background:var(--bc-tint)!important}
 .store-header a:focus-visible,.store-header button:focus-visible{outline:2px solid var(--bc-focus);outline-offset:2px;border-radius:10px}
}
/* 1025–1279: the native bar is tight (4 menu groups + search + account + cart) → smaller menu, narrower search, no cart total */
@media (min-width:1025px) and (max-width:1279px){
 .store-header #mainnav .inner__inner{gap:16px!important}
 .store-header #mainnav .inner__inner>div:first-child{gap:12px!important;min-width:0}
 .store-header .main-menu>li>a{font-size:14px;padding-inline:6px!important}
 .store-header .header-search{min-width:160px!important;max-width:320px}
 .store-header .s-cart-summary-content{display:none!important}
}
/* 1024–1279: short bento cards */
@media (min-width:1024px) and (max-width:1279px){
 body.index .s-block:has(>[config*=bc-hero]){grid-template-columns:minmax(0,1fr) 248px}
 .bc-side a{padding:12px 16px}
 .bc-side svg{width:22px;height:22px;margin:0}
 .bc-side b{font-size:15px}
 .bc-side span{display:none}
}
@media (min-width:1280px){
 body.index .s-block:has(>[config*=bc-hero]){grid-template-columns:minmax(0,1fr) 300px}
 .s-products-slider-wrapper .swiper-slide{width:calc((100% - 5 * 16px) / 6)!important}
 body.index .s-block--best-offers{--bc-rh:calc((min(100vw - 17px, var(--bc-max)) - 2 * var(--bc-g) - 80px) / 6 + 160px)}
 .s-products-list-wrapper.s-products-list-horizontal-cards,.s-products-list-wrapper{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 .bc-side b{font-size:19px}
}
/* thank-you page (Salla components, light DOM): cards on --bc-card, clear heading, tidy meta row; + our cashback nudge & re-order tiles (.bc-ty, JS) */
salla-thank-you-page{color:var(--bc-ink)}
salla-thank-you-page .s-thank-you-header-title{color:var(--bc-ink)!important;font-size:22px!important;font-weight:700!important;line-height:1.45!important;text-wrap:balance}
salla-thank-you-page .s-thank-you-header-subtitle{color:var(--bc-ink2)!important;font-size:14px!important}
salla-thank-you-page .s-thank-you-header-store{display:none!important}
salla-thank-you-page hr,salla-thank-you-page .s-thank-you-header-divider,salla-thank-you-page .s-order-rewards-divider{border-color:var(--bc-hair)!important;background:var(--bc-hair)!important;opacity:1}
salla-thank-you-page .s-thank-you-header-meta{display:flex!important;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 12px;color:var(--bc-ink2)!important;font-size:13px}
salla-thank-you-page .s-thank-you-header-reference,salla-thank-you-page .s-thank-you-header-date{display:inline-flex!important;align-items:center;gap:6px;min-height:44px;padding:0 12px;border-radius:18px;background:var(--bc-card);border:1px solid var(--bc-hair);color:var(--bc-ink)!important}
salla-thank-you-page .s-thank-you-header-reference{cursor:pointer;font-weight:600}
salla-thank-you-page .s-order-items-card,salla-thank-you-page .s-order-payment-wrapper,salla-thank-you-page .s-order-rewards-card{background:var(--bc-card)!important;border:1px solid var(--bc-hair)!important;border-radius:18px!important;color:var(--bc-ink)!important;box-shadow:none!important}
salla-thank-you-page .s-order-items-header,salla-thank-you-page .s-order-items-item{color:var(--bc-ink)!important}
salla-thank-you-page .s-order-items-thumb,salla-thank-you-page .s-order-items-image{background:var(--bc-tint)!important;color:var(--bc-brand-t)!important;border:0!important;border-radius:10px!important;font-weight:700}
salla-thank-you-page .s-order-payment-row dt{color:var(--bc-ink2)!important}
salla-thank-you-page .s-order-payment-row dd,salla-thank-you-page .s-order-payment-total dt{color:var(--bc-ink)!important}
salla-thank-you-page .s-order-payment-row+.s-order-payment-row{border-top:1px solid var(--bc-hair)!important}
salla-thank-you-page .s-order-payment-logo img{background:#fff;border-radius:6px;padding:2px}
salla-thank-you-page .s-order-rewards-copy b{color:var(--bc-ink)!important}
salla-thank-you-page .s-order-rewards-copy span{color:var(--bc-ink2)!important}
salla-thank-you-page .s-order-rewards-icon{color:var(--bc-brand-t)!important;background:var(--bc-tint)!important}
salla-thank-you-page .s-contacts-introduction{color:var(--bc-ink2)!important}
.bc-ty{margin:24px 0 8px;color:var(--bc-ink)}
.bc-ty-cb{display:flex;align-items:center;gap:12px;padding:16px;border-radius:18px;background:var(--bc-tint);border:1px solid var(--bc-hair);color:var(--bc-ink)!important;text-decoration:none!important;min-height:64px}
.bc-ty-cb svg{width:28px;height:28px;flex:0 0 auto;fill:none;stroke:var(--bc-brand);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bc-ty-cb b{display:block;font-size:15px;font-weight:700}.bc-ty-cb span{display:block;font-size:13px;color:var(--bc-ink2);margin-top:2px}
.bc-ty-cb em{font-style:normal;font-size:13px;font-weight:700;color:var(--bc-brand-t);margin-inline-start:auto;white-space:nowrap}
.bc-ty h2{font-size:18px;font-weight:700;margin:24px 0 12px}
@media (min-width:768px){.bc-ty .bc-tiles{grid-template-columns:repeat(6,1fr);gap:20px 16px}}
/* loading feedback: skeletons (same boxes as the final chips/switch → no jump), button states, page-nav progress bar */
.bcq-sk{display:block;background:linear-gradient(90deg,var(--bc-tint) 30%,var(--bc-hair) 50%,var(--bc-tint) 70%);background-size:300% 100%;animation:bcsk 1.1s linear infinite;border-radius:14px}
@keyframes bcsk{from{background-position:100% 0}to{background-position:0 0}}
.bcq-sks{height:52px;margin-top:16px}.bcq-skb{height:56px}.bcq-skl{height:12px;margin:10px 0;border-radius:6px}.bcq-skl:nth-child(odd){width:72%}
.bcq-pick .bcq-skl{display:inline-block;width:96px;height:16px;margin:4px 0 0}
.bcq-buy .ld{position:relative;color:transparent!important}.bcq-buy .ld:after{content:"";position:absolute;width:20px;height:20px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:bcsp .7s linear infinite}
@keyframes bcsp{to{transform:rotate(360deg)}}
.bcq-buy .ok{animation:bctk .2s var(--bc-ease)}@keyframes bctk{50%{transform:scale(1.04)}}
.bcq-msg a{text-decoration:underline;color:inherit}
.bcq-in.err{border-color:var(--bc-danger);box-shadow:0 0 0 3px color-mix(in srgb,var(--bc-danger) 18%,transparent)}
.bc-pb{position:fixed;top:0;left:0;right:0;height:3px;z-index:99;background:var(--bc-brand);transform-origin:right;transform:scaleX(0);pointer-events:none}
.bc-pb.go{transform:scaleX(.85);transition:transform 2.5s cubic-bezier(.1,.7,.3,1)}
custom-salla-product-card.product-entry:active,.bc-t:active{transform:scale(.97)}
@media (prefers-reduced-motion:reduce){.bcq-sk{animation:none}.bcq-buy .ok{animation:none}.bc-pb.go{transition:none}}
/* #128 trust icons: brand glow on hover (fine pointer) / brief glow on tap; transform+opacity+filter only, halo = ::before under the icon (net size 0, no CLS) */
.bc-trust>span::before{content:"";flex:0 0 28px;width:28px;height:28px;margin-bottom:-34px;border-radius:50%;background:radial-gradient(closest-side,rgba(var(--bc-glow),.3),rgba(var(--bc-glow),0));opacity:0;transform:scale(1.9);pointer-events:none;transition:opacity .2s cubic-bezier(.2,.8,.2,1),transform .2s cubic-bezier(.2,.8,.2,1)}
.bc-trust>span>svg{position:relative;transition:transform .2s cubic-bezier(.2,.8,.2,1),filter .2s cubic-bezier(.2,.8,.2,1)}
.bc-trust>span.bc-on>svg{transform:translateY(-2px);filter:drop-shadow(0 0 6px rgba(var(--bc-glow),.55)) drop-shadow(0 0 14px rgba(var(--bc-glow),.25))}
.bc-trust>span.bc-on::before{opacity:1;transform:translateY(-2px) scale(1.9)}
@media (hover:hover) and (pointer:fine){
 .bc-trust>span:hover>svg{transform:translateY(-2px);filter:drop-shadow(0 0 6px rgba(var(--bc-glow),.55)) drop-shadow(0 0 14px rgba(var(--bc-glow),.25))}
 .bc-trust>span:hover::before{opacity:1;transform:translateY(-2px) scale(1.9)}
 html.dark .bc-trust>span:hover>svg{filter:drop-shadow(0 0 6px rgba(var(--bc-glow),.5)) drop-shadow(0 0 14px rgba(var(--bc-glow),.22))}
}
html.dark .bc-trust>span.bc-on>svg{filter:drop-shadow(0 0 6px rgba(var(--bc-glow),.5)) drop-shadow(0 0 14px rgba(var(--bc-glow),.22))}
html.dark .bc-trust>span::before{background:radial-gradient(closest-side,rgba(var(--bc-glow),.28),rgba(var(--bc-glow),0))}
@media (min-width:1024px){.bc-trust>span::before{margin:0;margin-inline-end:-38px}}
@media (prefers-reduced-motion:reduce){.bc-trust>span>svg,.bc-trust>span::before{transform:none!important}.bc-trust>span::before{transform:scale(1.9)!important}}
/* #128 Bayt mascot (live SVG from mascot/v2/bayt_glyph.svg): mobile/tablet perched on the trust strip corner, desktop in the «الكود يوصلك فورًا» card */
.bc-trust{position:relative}
.bc-bayt{position:absolute;left:6px;bottom:calc(100% - 10px);width:44px;height:57px;z-index:1;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.bc-bayt svg{display:block;width:100%!important;height:100%!important;margin:0!important;stroke:none!important;overflow:visible;transform-origin:50% 100%;filter:drop-shadow(0 3px 3px rgba(var(--bc-glow),.4));animation:bcbr 4s ease-in-out infinite}
.bc-bayt svg>*{fill:#1e1b1c!important}
.bc-bayt ellipse{fill:#fff!important}
.bc-bayt .bc-hp{fill:none!important;stroke:#fff!important;stroke-width:30;stroke-linecap:round;opacity:0}
.bc-ey>g{transform-box:fill-box;transform-origin:center;animation:bcbl 5s infinite}
html.dark .bc-bayt svg{filter:drop-shadow(0 0 1px rgba(255,255,255,.5)) drop-shadow(0 3px 4px rgba(var(--bc-glow),.45))}
.bc-bayt.pop .bc-ey{opacity:0}.bc-bayt.pop .bc-hp{opacity:1}
.bc-bayt.pop svg{animation:bcpop .35s cubic-bezier(.3,1.6,.5,1)}
.bc-bayt p{position:absolute;left:calc(100% + 4px);top:0;margin:0;padding:4px 10px;border-radius:12px 12px 12px 2px;background:var(--bc-fill);color:var(--bc-on);font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap;opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.bc-bayt.pop p{opacity:1;transform:none}
.bc-bayt i{position:absolute;left:50%;top:40%;width:6px;height:6px;margin:-3px;border-radius:50%;background:var(--bc-brand);opacity:0;pointer-events:none}
.bc-bayt i:nth-of-type(2n){background:var(--bc-brand-2)}
.bc-bayt.pop i{animation:bcsp .6s cubic-bezier(.2,.8,.2,1)}
.bc-bayt i:nth-of-type(1){--x:-30px;--y:-26px}.bc-bayt i:nth-of-type(2){--x:28px;--y:-30px}.bc-bayt i:nth-of-type(3){--x:-34px;--y:4px}.bc-bayt i:nth-of-type(4){--x:32px;--y:2px}.bc-bayt i:nth-of-type(5){--x:0;--y:-40px}
@keyframes bcsp{0%{opacity:1;transform:none}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(.4)}}
@keyframes bcpop{0%{transform:scale(1)}30%{transform:scale(1.1,.88)}65%{transform:scale(.94,1.08)}100%{transform:scale(1)}}
@keyframes bcbr{0%,100%{transform:scale(1)}50%{transform:scale(1.015,.985)}}
@keyframes bcbl{0%,94%,100%{transform:scaleY(1)}96%{transform:scaleY(.1)}}
@media (min-width:1024px){
 .bc-trust .bc-bayt{display:none}
 .bc-side .s1{position:relative;padding-left:88px}
 .bc-side .bc-bayt{left:16px;bottom:12px;width:56px;height:72px}
 .bc-side .bc-bayt p{left:0;top:auto;bottom:calc(100% + 6px);border-radius:12px 12px 12px 2px}
}
@media (min-width:1024px) and (max-width:1279px){.bc-side .s1{padding-left:72px}.bc-side .bc-bayt{left:12px;width:44px;height:57px}}
@media (prefers-reduced-motion:reduce){.bc-bayt svg,.bc-bayt.pop svg,.bc-ey>g,.bc-bayt.pop i{animation:none}.bc-bayt p{transition:none}}
/* #130 Bayt: arm + wave (idle 7s), cycling lines with happy/excited/wink, peek on non-home pages (fixed, inline-end edge, ≤3/session). transform/opacity only */
.bc-bayt .bc-arm{transform-box:fill-box;transform-origin:50% 100%;transform:rotate(168deg)}
.bc-bayt.wv .bc-arm{animation:bcwv 2.2s cubic-bezier(.4,0,.3,1)}
@keyframes bcwv{0%,100%{transform:rotate(168deg)}14%,44%,74%{transform:rotate(28deg)}29%,59%,86%{transform:rotate(-8deg)}}
.bc-bayt .bc-wk{fill:none!important;stroke:#fff!important;stroke-width:30;stroke-linecap:round;opacity:0}
.bc-bayt.pop.wk .bc-ey{opacity:1}.bc-bayt.pop.wk .bc-ey ellipse:first-child{opacity:0}.bc-bayt.pop.wk .bc-hp{opacity:0}.bc-bayt.pop.wk .bc-wk{opacity:1}
.bc-bayt.pop.ex .bc-ey{opacity:1}.bc-bayt.pop.ex .bc-hp{opacity:0}.bc-bayt.pop.ex .bc-ey>g{animation:none;transform:scale(1.18)}
.bc-bayt p{max-width:calc(100vw - 72px);width:max-content;white-space:normal}
.bc-bayt p a{color:#fff;text-decoration:underline;pointer-events:auto}
.bc-bayt.pop p{pointer-events:auto}
.bc-bayt:focus-visible{outline:2px solid var(--bc-focus);outline-offset:2px;border-radius:12px}
.bc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.bc-bayt.bc-pk{position:fixed;left:0;right:auto;bottom:auto;width:52px;height:67px;z-index:30;transform:translateX(-105%) rotate(16deg);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.bc-bayt.bc-pk.in{transform:translateX(-42%) rotate(14deg)}
.bc-bayt.bc-pk::after{content:"";position:absolute;inset:-8px -18px}
.bc-bayt.bc-pk p{left:calc(100% + 2px);top:8px}
[dir=ltr] .bc-bayt.bc-pk,html[lang^=en] .bc-bayt.bc-pk{left:auto;right:0;transform:translateX(105%) rotate(-16deg)}
[dir=ltr] .bc-bayt.bc-pk.in,html[lang^=en] .bc-bayt.bc-pk.in{transform:translateX(42%) rotate(-14deg)}
[dir=ltr] .bc-bayt.bc-pk svg,html[lang^=en] .bc-bayt.bc-pk svg{scale:-1 1}
[dir=ltr] .bc-bayt.bc-pk p,html[lang^=en] .bc-bayt.bc-pk p{left:auto;right:calc(100% + 2px);border-radius:12px 12px 2px 12px}
@media (prefers-reduced-motion:reduce){.bc-bayt.wv .bc-arm{animation:none}.bc-bayt.bc-pk,[dir=ltr] .bc-bayt.bc-pk,html[lang^=en] .bc-bayt.bc-pk{opacity:0;transition:opacity .3s}.bc-bayt.bc-pk.in{opacity:1}.bc-bayt.bc-pk{transform:translateX(-42%) rotate(14deg)}html[lang^=en] .bc-bayt.bc-pk{transform:translateX(42%) rotate(-14deg)}}
/* #130 thank-you Bayt (replaces Salla's check icon; box reserved by CSS → no CLS) */
salla-thank-you-page .s-thank-you-header-success{position:relative;display:inline-flex;align-items:center;justify-content:center;width:96px;height:124px}
salla-thank-you-page .s-thank-you-header-success:has(.bc-tyb) .s-thank-you-header-success-icon{display:none}
salla-thank-you-page .s-thank-you-header-success:has(.bc-tyb){background:none!important;box-shadow:none!important;border:0!important}
.bc-bayt.bc-tyb{position:absolute;inset:0;left:0;bottom:auto;width:96px;height:124px;cursor:default}
.bc-bayt.bc-tyb svg{filter:drop-shadow(0 6px 8px rgba(var(--bc-glow),.35))}
.bc-bayt.bc-tyb.hy .bc-ey{opacity:0}.bc-bayt.bc-tyb.hy .bc-hp{opacity:1}
.bc-bayt.bc-tyb p{left:50%;top:auto;bottom:calc(100% + 4px);transform:translate(-50%,4px)}.bc-bayt.bc-tyb.pop p{transform:translate(-50%,0)}
.bc-ck{position:absolute;right:2px;bottom:10px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--bc-brand);box-shadow:0 0 0 3px var(--bc-page,#fff);text-decoration:none}
.bc-bayt .bc-ck svg>*{fill:none!important}
.bc-ck svg{width:16px!important;height:16px!important;fill:none!important;stroke:#fff!important;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;animation:none!important;filter:none!important}
@media (prefers-reduced-motion:reduce){.bc-bayt.bc-tyb.wv .bc-arm{animation:none}}
/* #130 «الأقسام» sheet (bottom sheet <768, centred modal ≥768); tiles reuse .bc-tiles/.bc-t */
.bc-cs{position:fixed;inset:0;z-index:70;background:var(--bc-scrim);opacity:0;visibility:hidden;transition:opacity .25s var(--bc-ease),visibility 0s .25s}
.bc-cs.on{opacity:1;visibility:visible;transition-delay:0s}
.bc-cs-p{position:absolute;left:0;right:0;bottom:0;height:calc(100% - 24px);display:flex;flex-direction:column;background:var(--bc-bg,#fff);color:var(--bc-ink);border-radius:24px 24px 0 0;transform:translateY(100%);transition:transform .35s cubic-bezier(.32,.72,0,1)}
.bc-cs.on .bc-cs-p{transform:none}
.bc-cs-h{display:grid;grid-template-columns:1fr 44px;gap:12px;align-items:center;padding:16px 16px 12px;border-bottom:1px solid var(--bc-hair);touch-action:none}
.bc-cs-h::before{content:"";grid-column:1/-1;justify-self:center;width:40px;height:4px;margin:-6px 0 2px;border-radius:2px;background:var(--bc-hair)}
.bc-cs-h b{font-size:20px;font-weight:700}
.bc-cs-x{width:44px;height:44px;border:0;border-radius:50%;background:var(--bc-card);color:var(--bc-ink);font-size:16px;cursor:pointer}
.bc-cs-h input{grid-column:1/-1;width:100%;height:44px;padding:0 16px;border:1px solid var(--bc-hair);border-radius:14px;background:var(--bc-card);color:var(--bc-ink);font:inherit;font-size:16px;outline-offset:2px}
.bc-cs-b{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:16px 16px calc(24px + env(safe-area-inset-bottom))}
.bc-cs section{margin-bottom:24px}
.bc-cs h3{margin:0 0 12px;font-size:16px;font-weight:700;color:var(--bc-ink)}
.bc-cs .bc-t{position:relative}
.bc-cs .bc-t img{background:var(--bc-card);border-radius:21%}
.bc-cs .bc-t em{position:absolute;top:6px;inset-inline-start:6px;padding:2px 8px;border-radius:10px;background:var(--bc-pill);color:#fff;font-style:normal;font-size:10px;font-weight:700;line-height:1.5}
.bc-cs-0{text-align:center;color:var(--bc-ink2);padding:24px 0}
.bc-cs-all{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:24px;background:var(--bc-fill);color:var(--bc-on)!important;font-weight:700}
@media (min-width:768px){
 .bc-cs-p{left:50%;top:50%;right:auto;bottom:auto;width:min(1040px,calc(100vw - 48px));height:min(84vh,820px);border-radius:24px;opacity:0;transform:translate(-50%,-48%) scale(.98);transition:opacity .2s var(--bc-ease),transform .25s var(--bc-ease)}
 .bc-cs.on .bc-cs-p{opacity:1;transform:translate(-50%,-50%)}
 .bc-cs-h{padding:20px 24px 16px}.bc-cs-h::before{display:none}.bc-cs-b{padding:20px 24px 28px}
 .bc-cs .bc-tiles{grid-template-columns:repeat(6,1fr);gap:20px 16px}
}
@media (prefers-reduced-motion:reduce){.bc-cs,.bc-cs-p{transition:opacity .2s!important}.bc-cs-p,.bc-cs.on .bc-cs-p{transform:none}@media (min-width:768px){.bc-cs-p,.bc-cs.on .bc-cs-p{transform:translate(-50%,-50%)}}}
/* #132 cart page: own item rows (cards on --bc-card, 64px r12 art, flag + short name, chosen ID + «تعديل», 44px stepper), «يكمّل طلبك», trust + payment marks, Salla's summary/bar restyled; desktop «الأقسام» nav; «من …» in the sections sheet */
body.bc-cart .main-content>form{display:none!important}
.bc-cl{display:flex;flex-direction:column;gap:12px;margin:16px 0 0}
.bc-ch{margin:0 0 4px;font-size:20px;font-weight:700;color:var(--bc-ink)}
.bc-ch span{font-size:15px;font-weight:500;color:var(--bc-ink2)}
.bc-ci{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:start;padding:16px;background:var(--bc-card);border:1px solid var(--bc-hair);border-radius:20px;color:var(--bc-ink);transition:opacity .2s var(--bc-ease)}
.bc-ci.out{opacity:.35;pointer-events:none}
.bc-ci-im img{display:block;width:64px;height:64px;border-radius:12px;object-fit:cover}
.bc-ci-n{display:flex;gap:6px;align-items:center;font-size:15px;font-weight:600;line-height:1.5;color:var(--bc-ink)!important;text-wrap:balance}
.bc-fl{flex:none;width:20px;height:14px;border-radius:3px;object-fit:cover;display:inline-block;vertical-align:-2px}
.bc-ci-o{margin-top:4px;font-size:13px;color:var(--bc-ink2)}
.bc-ci-o bdi{unicode-bidi:plaintext;font-weight:600;color:var(--bc-ink)}
.bc-ci-e{display:inline-flex;align-items:center;min-height:44px;margin:-8px 0;padding:0 2px;border:0;background:none;color:var(--bc-brand-t);font:inherit;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bc-ci-p{display:block;margin-top:6px;font-size:16px;font-weight:700}
.bc-ci-a{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:8px;align-self:stretch}
.bc-ci-d{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-10px 0 0;margin-inline-end:-10px;border:0;border-radius:50%;background:none;color:var(--bc-ink2);cursor:pointer}
.bc-ci-d svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bc-st{display:flex;align-items:center;height:44px;border:1px solid var(--bc-line);border-radius:22px;overflow:hidden}
.bc-st button{width:44px;height:44px;border:0;background:none;color:var(--bc-ink);font-size:20px;line-height:1;cursor:pointer}
.bc-st button:disabled{opacity:.3;cursor:default}
.bc-st b{min-width:20px;text-align:center;font-weight:700}
.bc-up{margin:24px 0 8px}
.bc-up h2{margin:0 0 12px;font-size:18px;font-weight:700;color:var(--bc-ink)}
.bc-ul{display:grid;grid-auto-flow:column;grid-auto-columns:140px;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(-1*var(--bc-g));padding:0 var(--bc-g) 4px;scrollbar-width:none}
.bc-ul::-webkit-scrollbar{display:none}
.bc-uc{position:relative;scroll-snap-align:start;padding:8px 8px 12px;background:var(--bc-card);border:1px solid var(--bc-hair);border-radius:20px}
.bc-uc.bcq-sk{height:236px;border:0}
.bc-uc a{display:flex;flex-direction:column;gap:6px;color:var(--bc-ink)!important}
.bc-uc a>img{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:12px;object-fit:cover}
.bc-uc span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em;font-size:13px;font-weight:600;line-height:1.4}
.bc-uc span .bc-fl{margin-inline-end:4px}
.bc-uc b{font-size:15px;font-weight:700;line-height:44px}
.bc-uc em{position:absolute;top:14px;inset-inline-start:14px;padding:2px 8px;border-radius:10px;background:var(--bc-card);color:var(--bc-brand-t);font-style:normal;font-size:11px;font-weight:700;line-height:1.6;box-shadow:0 0 0 1px var(--bc-hair)}
.bc-uc button{position:absolute;bottom:12px;inset-inline-end:8px;width:44px;height:44px;border:0;border-radius:50%;background:var(--bc-fill);color:var(--bc-on);font-size:22px;line-height:1;cursor:pointer;transition:transform .15s var(--bc-ease),background-color .2s}
.bc-uc button:active{transform:scale(.94)}
.bc-uc.ok button{background:#1a7f45}
.bc-tr{margin-top:16px;padding:16px;background:var(--bc-card);border:1px solid var(--bc-hair);border-radius:20px}
.bc-tr p{display:flex;gap:8px;align-items:center;margin:0 0 12px;font-size:14px;font-weight:600;color:var(--bc-ink)}
.bc-tr svg{width:18px;height:18px;fill:var(--bc-brand);stroke:none}
.bc-tr ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.bc-tr li{display:flex;align-items:center;justify-content:center;width:52px;height:34px;padding:4px;background:#fff;border:1px solid var(--bc-hair);border-radius:8px}
.bc-tr li img{max-width:100%;max-height:100%;object-fit:contain}
.cart .s-cart-summary-card--desktop{background:var(--bc-card)!important;border:1px solid var(--bc-hair);border-radius:20px;box-shadow:none!important;color:var(--bc-ink)}
.cart .s-cart-summary-card .s-button-element{height:var(--bc-btn-h);min-height:0;border-radius:var(--bc-btn-r)!important;font-size:15px;font-weight:700}
.s-cart-summary-card--mobile{background:var(--bc-card)!important;color:var(--bc-ink);border-top:1px solid var(--bc-hair);border-radius:20px 20px 0 0;box-shadow:0 -8px 24px rgba(15,18,34,.08)!important}
.s-cart-summary-card--mobile .s-cart-summary-card-action::before{content:"⚡ الكود يوصلك فورًا بعد الدفع";display:block;margin-bottom:8px;text-align:center;font-size:12px;font-weight:500;color:var(--bc-ink2)}
@media (max-width:1023px){.bc-tr p{display:none}.bc-tr{padding:12px 16px}body.cart .wa-s-n{bottom:calc(156px + env(safe-area-inset-bottom))!important}}
@media (min-width:768px){.bc-ul{grid-auto-flow:row;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));overflow:visible;margin-inline:0;padding-inline:0}.bc-cl{margin-top:24px}}
@media (min-width:1025px){.cart .sticky.top-24{top:128px}}
@media (max-width:1024px){.store-header .bc-nav{display:none!important}}
.bc-cs .bc-t small{margin-top:-4px;font-size:11px;font-weight:500;color:var(--bc-ink2)}
@media (prefers-reduced-motion:reduce){.bc-ci,.bc-uc button{transition:none}}
/* #132 rounded icon set (dock, header, sheet close): one stroke weight, round caps/joins */
.bc-i{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.store-header .bc-ii::before{content:none!important;display:none!important}
.store-header i.bc-ii{display:inline-flex!important;align-items:center;justify-content:center;font-size:0!important}
.store-header .sicon-menu.bc-ii .bc-i{width:26px;height:26px}
.s-search-icon .bc-i{width:20px;height:20px}
.bcq-x,.bc-cs-x{display:flex;align-items:center;justify-content:center}
.bcq-x .bc-i,.bc-cs-x .bc-i{width:20px;height:20px}
.s-search-icon .bc-i,.s-search-icon .bc-i *{fill:none!important}
/* #132 one button token on PDP / quick sheet / cart: 48px phone, 52px ≥1024, radius 14, 15/700, gap 8 (Salla's add/buy-now/Apple Pay had 52/40/40) */
:root{--bc-btn-h:48px;--bc-btn-r:14px}
@media (min-width:1024px){:root{--bc-btn-h:52px}}
body.product-single .s-add-product-button-mini-checkout{--salla-fast-checkout-button-height:var(--bc-btn-h);--salla-fast-checkout-button-border-radius:var(--bc-btn-r);--salla-fast-checkout-button-width:100%}
body.product-single .s-add-product-button-mini-checkout-content{font-size:15px;font-weight:700;font-family:inherit}
body.product-single apple-pay-button{--apple-pay-button-height:var(--bc-btn-h);--apple-pay-button-border-radius:var(--bc-btn-r);--apple-pay-button-box-sizing:border-box}
body.product-single .s-add-product-button-with-apple-pay,body.product-single .s-add-product-button-main{column-gap:8px;align-items:center}
body.product-single .s-add-product-button-with-apple-pay salla-quick-buy apple-pay-button{margin-top:0}
@media (min-width:640px){body.product-single .s-add-product-button-with-apple-pay salla-quick-buy apple-pay-button{margin-top:8px}}
/* #134 palette (2026-11-21): Raqami/Salla colours onto BC tokens — primary fills = brand-600 (white text 5.3:1), brand text = 600 light / 400 dark, cool-neutral dark surfaces, warm light neutrals, inputs ≥3:1 */
html:root{--color-primary:var(--bc-fill);--color-primary-dark:#b21a01;--color-primary-light:var(--bc-brand);--color-primary-reverse:#fff}
html.dark{--color-primary-dark:var(--bc-fill)}
.s-cart-summary-count{background:var(--bc-fill)!important;color:var(--bc-on)!important}
.promotion-badge{background:var(--bc-fill)!important;color:var(--bc-on)!important}
.bc-cs .bc-t[href*="topup"] em{background:var(--bc-fill)}
.bcq-ds a,.product__description a,.store-footer h2.text-primary,.store-footer .text-primary,.s-add-product-button-mini-checkout,.btn-outline-primary,.s-add-product-button-mini-checkout *{color:var(--bc-brand-t)!important}
html.dark .text-primary:not(.sicon-menu),html.dark .s-slider-block__display-all{color:var(--bc-brand-t)}
.s-block--features__item .feature-icon>span{background:var(--bc-tint)!important;opacity:1}
.s-block--features__item .feature-icon>div{background:var(--bc-fill)!important;color:var(--bc-on)}
.s-block--features__item .details p,.s-block__title .right-side p,.s-block__title p{color:var(--bc-ink2)!important;opacity:1!important}
.s-search-input{background:var(--bc-tint)!important;color:var(--bc-ink)!important;border:1px solid var(--bc-field)!important}.store-header .s-search-input-wrapper,.store-header .s-search-input{background:var(--bc-sunk)!important}html.dark .store-header .s-search-input-wrapper,html.dark .store-header .s-search-input,html.dark .s-search-input{background:var(--bc-raised)!important}
.s-breadcrumb-arrow svg{fill:var(--bc-ink3)!important}.s-search-input::placeholder{color:var(--bc-ink3)!important}
.s-search-icon,.s-search-icon svg{color:var(--bc-ink2)!important;fill:var(--bc-ink2)!important}
.bc-cs-h input,.bcq-in,select.form-input,.form-input,.s-form-control{border-color:var(--bc-field)!important}
.s-slider-button-icon svg,.s-slider-nav-arrow svg{fill:var(--bc-ink2)!important}
.s-rating-stars-btn-star svg,.s-rating-stars-selected{fill:var(--bc-star)!important}
footer.store-footer,.store-footer__inner{background-color:var(--bc-sunk)!important}
html.dark footer.store-footer{background-color:var(--bc-card)!important}html.dark .store-footer__inner{background-color:var(--bc-raised)!important}
.testimonial__text{background-color:var(--bc-card)!important}
html.dark .dark\:bg-dark{background-color:var(--bc-raised)!important}html.dark .dark\:bg-darker{background-color:var(--bc-card)!important}
html.dark .s-cashback-banner-value,html.dark .s-cashback-banner-value .sicon-sar{color:var(--bc-brand-t)!important}
.s-cashback-banner-icon{background:var(--bc-fill)!important}.s-cashback-banner-icon svg,.s-cashback-banner-inner-icon svg{fill:#fff!important;color:#fff!important}
/* BC v2 END */

/* BC qa-fixes START — #136 QA sweep (21 Nov 2026), draft 869720136. Rollback: delete START..END and save. */
body.menu-is-open .store-header{z-index:1000!important}
body.menu-is-open #mainnav{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.menu-is-open .bc-dock,body.menu-is-open .wa-s-n{visibility:hidden}
@media (max-width:1024px){body:not(.menu-is-open) #mobile-menu{visibility:hidden;transition:transform .3s cubic-bezier(.55,0,.1,1),visibility 0s .3s}body:not(.menu-is-open) #mobile-menu a,body:not(.menu-is-open) #mobile-menu button{visibility:hidden}}
salla-products-list:not(:has(custom-salla-product-card,.s-products-list-placeholder)){display:block;min-height:100vh}
salla-cashback-banner:not(.hydrated){display:block;min-height:60px}
.breadcrumbs:has(salla-breadcrumb:not(.hydrated)){min-height:100px}
body.cart main{min-height:100vh}
@media (max-width:767px){#page-main-title{min-height:56px}body.product-single salla-slider.details-slider:not(.hydrated){display:block;height:234px;overflow:hidden}}
.bc-t[hidden]{display:none!important}
.bc-hero-d button{width:24px}
/* BC qa-fixes END */
/* BC pdp-cls START — #137 (21 Nov 2026) PDP CLS: Salla's bought-together / OOS-alternative skeletons pushed the page down for ~0.3 s; the cashback banner is inserted late (+60 px: after the form on phones, before it on desktop); the wishlist/share row grows 20→60. Rollback: delete START..END and save. */
body.product-single salla-bought-together:not(.hydrated),body.product-single salla-bought-together .s-bought-together-skeleton,body.product-single .s-block--bundle-out-of-stock-alternative .twilight-skeleton{display:none!important}
body.product-single .main-content>.flex.space-x-3{min-height:60px}
@media (max-width:767px){body.product-single .main-content:not(:has(>salla-cashback-banner))>.product-form{margin-bottom:76px!important}}
@media (min-width:768px){body.product-single .main-content:not(:has(>salla-cashback-banner))>.product-form{margin-top:60px}}
/* BC pdp-cls END */

/* BC reorder START — #135/#138 home card «طلبك السابق» / «كمّل من حيث وقفت», cart bar, saved-ID chip, one-tap reorder. Rollback: delete START..END */
.bcr{max-width:var(--bc-max);margin:0 auto;padding:4px var(--bc-g) 12px;color:var(--bc-ink)}
.bcr-cart{display:flex;align-items:center;gap:10px;height:52px;padding:0 16px;border:1px solid var(--bc-hair);border-radius:16px;background:var(--bc-card);color:var(--bc-ink);font-size:14px;font-weight:600;text-decoration:none}
.bcr-cart .bc-i{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bcr-cart span{flex:1}
.bcr-cart b{color:var(--bc-brand-t)}
.bcr-ch{position:relative;display:inline-block;margin-top:6px}
.bcr-ch>button{height:30px;padding:0 14px;border:1px solid var(--bc-line);border-radius:999px;background:var(--bc-card);color:var(--bc-ink);font-family:inherit;font-size:12px;font-weight:600}
.bcr-ch>div{position:absolute;z-index:5;top:36px;inset-inline-start:0;min-width:210px;padding:6px;border:1px solid var(--bc-hair);border-radius:14px;background:var(--bc-card);box-shadow:0 8px 24px rgba(15,18,34,.12)}
.bcr-ch>div button{display:block;width:100%;min-height:40px;padding:0 10px;border:0;border-radius:10px;background:none;color:var(--bc-ink);font-family:inherit;font-size:14px;font-weight:600;text-align:start}
.bcr-ch>div [data-x]{min-height:36px;font-size:12px;font-weight:500;color:var(--bc-ink2);text-decoration:underline}
.bcr-ch [hidden]{display:none!important}
.bcr-note{margin:12px var(--bc-g);padding:12px 14px;border:1px solid rgba(213,26,0,.35);border-radius:14px;background:var(--bc-tint);color:var(--bc-brand-t);font-size:14px;font-weight:600}
.bc-nt salla-add-product-toast{display:none!important}
@media (hover:hover) and (pointer:fine){.bcr-ch>div button:hover{background:var(--bc-tint)}.bcr-k .bcr-all:hover,.bcr-k .bcr-c:hover{opacity:.92}}
@media (min-width:768px){.bcr{padding:16px 16px 12px}.bcr-k{max-width:720px}}
.bcr-ics{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin-top:4px;padding:0 16px;border:0;background:none;color:var(--bc-brand-t);font-family:inherit;font-size:14px;font-weight:600;cursor:pointer}
.bcr-ics svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bc-ty .bcr-ics{margin-top:8px}
.bcr-k{display:flex;align-items:center;gap:12px;box-sizing:border-box;height:96px;padding:0 12px;border:1px solid var(--bc-hair);border-radius:18px;background:var(--bc-card)}
.bcr-th{position:relative;display:flex;flex:none;padding:4px 2px}
.bcr-th img{position:relative;width:44px;height:44px;border:2px solid var(--bc-card);border-radius:12px;object-fit:cover;background:var(--bc-tint);box-shadow:0 2px 6px rgba(var(--bc-sh),.14)}
.bcr-th img+img{margin-inline-start:-30px}
.bcr-th img:nth-child(1){z-index:3;transform:rotate(-5deg)}
.bcr-th img:nth-child(2){z-index:2;transform:translateY(-3px) rotate(4deg)}
.bcr-th img:nth-child(3){z-index:1;transform:rotate(10deg)}
.bcr-th em{position:absolute;z-index:4;bottom:-2px;inset-inline-end:-6px;min-width:22px;height:20px;padding:0 5px;box-sizing:border-box;border-radius:999px;background:var(--bc-ink);color:var(--bc-card);font-size:11px;font-style:normal;font-weight:700;line-height:20px;text-align:center;direction:ltr}
.bcr-tx{flex:1;min-width:0;display:flex;flex-direction:column}
.bcr-tx b{font-size:15px;font-weight:700;line-height:22px}
.bcr-tx>span,.bcr-tx small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:18px;color:var(--bc-ink2)}
.bcr-tx small{display:flex;align-items:center;gap:4px;height:20px;color:var(--bc-ink);font-size:13px;font-weight:700}
.bcr-tx .bcq-sk{display:inline-block;width:44px;height:12px;border-radius:6px}
.bcr-ac{display:flex;flex:none;flex-direction:column;align-items:center}
.bcr-k .bcr-all,.bcr-k .bcr-c{display:flex;align-items:center;height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--bc-fill);color:#fff;font-family:inherit;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer;transition:transform .16s var(--bc-ease),opacity .16s}
.bcr-k .bcr-all:active,.bcr-k .bcr-c:active{transform:scale(.97)}
.bcr-k .bcr-all:disabled{opacity:.8}
.bcr-k .bcr-ics{width:auto;min-height:26px;margin:2px 0 0;padding:0 4px;gap:4px;font-size:12px}
.bcr-k .bcr-ics svg{width:14px;height:14px}
/* BC reorder END */

/* BC empty-states START — #138 Bayt on Salla's empty states (CSS-only, draft 869720136): category «لا توجد منتجات» (peeking), search no results (thinking), empty cart + other .no-content-placeholder (sad). Salla's 404/410 page is its own app (no theme CSS) → not reachable. Rollback: delete START..END and save. */
:root{--bc-by-t:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='232 120 690 750'%3E%3Cg fill='%231E1B1C'%3E%3Cpath d='M646 164 592 262 650 283 606 360 470 360 522 300 466 281z' stroke='%231E1B1C' stroke-width='10' stroke-linejoin='round'/%3E%3Cpath d='M776 585 775 649 768 700 752 744 729 774 695 798 657 813 604 822 530 825 437 824 381 818 333 803 299 782 272 752 253 711 244 665 242 585 245 531 256 479 275 441 301 408 338 380 379 362 438 348 498 345 575 348 626 358 670 375 708 401 739 434 762 479 773 531z'/%3E%3Crect x='366' y='812' width='76' height='50' rx='20'/%3E%3Crect x='578' y='812' width='76' height='50' rx='20'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cellipse cx='440' cy='540' rx='40' ry='72'/%3E%3Cellipse cx='636' cy='540' rx='40' ry='72'/%3E%3C/g%3E%3Cpath d='M512 716q34-14 64 4' stroke='%23fff' stroke-width='16' stroke-linecap='round' fill='none'/%3E%3Cg fill='%23fb4025'%3E%3Ccircle cx='790' cy='330' r='18'/%3E%3Ccircle cx='836' cy='262' r='26'/%3E%3Ccircle cx='880' cy='178' r='36'/%3E%3C/g%3E%3C/svg%3E");--bc-by-s:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='232 150 560 720'%3E%3Cg fill='%231E1B1C'%3E%3Cpath d='M646 164 592 262 650 283 606 360 470 360 522 300 466 281z' stroke='%231E1B1C' stroke-width='10' stroke-linejoin='round'/%3E%3Cpath d='M776 585 775 649 768 700 752 744 729 774 695 798 657 813 604 822 530 825 437 824 381 818 333 803 299 782 272 752 253 711 244 665 242 585 245 531 256 479 275 441 301 408 338 380 379 362 438 348 498 345 575 348 626 358 670 375 708 401 739 434 762 479 773 531z'/%3E%3Crect x='366' y='812' width='76' height='50' rx='20'/%3E%3Crect x='578' y='812' width='76' height='50' rx='20'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cellipse cx='411' cy='585' rx='42' ry='66'/%3E%3Cellipse cx='611' cy='585' rx='42' ry='66'/%3E%3C/g%3E%3Cpath d='M362 488l86-26M660 488l-86-26M472 730q40-34 80 0' stroke='%23fff' stroke-width='16' stroke-linecap='round' fill='none'/%3E%3Cpath d='M372 672q-16 26 0 40 16-14 0-40z' fill='%236ec3ff'/%3E%3C/svg%3E");--bc-by-p:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='232 150 560 488'%3E%3Cg fill='%231E1B1C'%3E%3Cpath d='M646 164 592 262 650 283 606 360 470 360 522 300 466 281z' stroke='%231E1B1C' stroke-width='10' stroke-linejoin='round'/%3E%3Cpath d='M776 585 775 649 768 700 752 744 729 774 695 798 657 813 604 822 530 825 437 824 381 818 333 803 299 782 272 752 253 711 244 665 242 585 245 531 256 479 275 441 301 408 338 380 379 362 438 348 498 345 575 348 626 358 670 375 708 401 739 434 762 479 773 531z'/%3E%3C/g%3E%3Cg fill='%231E1B1C' stroke='%23fff' stroke-width='10'%3E%3Crect x='318' y='574' width='104' height='56' rx='28'/%3E%3Crect x='602' y='574' width='104' height='56' rx='28'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cellipse cx='420' cy='505' rx='40' ry='62'/%3E%3Cellipse cx='604' cy='505' rx='40' ry='62'/%3E%3C/g%3E%3C/svg%3E")}
.s-products-list-placeholder,.no-content-placeholder{display:flex!important;flex-direction:column;align-items:center;max-width:440px;margin:16px auto 32px!important;padding:28px 20px 24px!important;border:1px solid var(--bc-hair);border-radius:24px;background:var(--bc-card);color:var(--bc-ink);text-align:center;box-shadow:none!important}
.s-products-list-placeholder>span,.no-content-placeholder>i{display:none!important}
.s-products-list-placeholder::before,.no-content-placeholder::before{content:"";width:104px;height:134px;margin-bottom:12px;background:var(--bc-by-s) 50%/contain no-repeat;animation:bcbob 3.2s ease-in-out infinite}
.product-index-search .s-products-list-placeholder::before{width:124px;background-image:var(--bc-by-t)}
.product-index .s-products-list-placeholder::before{width:132px;height:110px;margin:-4px 0 14px;padding-bottom:3px;border-bottom:3px solid var(--bc-line);background-image:var(--bc-by-p);background-position:50% 0;animation:bcpk 3.2s ease-in-out 3}
html.dark .s-products-list-placeholder::before,html.dark .no-content-placeholder::before{filter:drop-shadow(0 0 1px rgba(255,255,255,.6)) drop-shadow(0 4px 10px rgba(var(--bc-glow),.25))}
@keyframes bcbob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes bcpk{0%,100%{background-position:50% 6px}50%{background-position:50% 0}}
.s-products-list-placeholder p,.no-content-placeholder p{margin:0!important;font-size:17px!important;font-weight:700;line-height:26px;color:var(--bc-ink)}
.product-index .s-products-list-placeholder p,.product-index-search .s-products-list-placeholder p,.cart .no-content-placeholder p{font-size:0!important;line-height:0}
.s-products-list-placeholder p::before,.s-products-list-placeholder p::after,.cart .no-content-placeholder p::before,.cart .no-content-placeholder p::after{display:block;font-size:17px;font-weight:700;line-height:26px}
.s-products-list-placeholder p::after,.cart .no-content-placeholder p::after{margin-top:4px;font-size:14px;font-weight:500;line-height:22px;color:var(--bc-ink2)}
.product-index .s-products-list-placeholder p::before{content:"القسم هذا فاضي الحين"}
.product-index .s-products-list-placeholder p::after{content:"باقي البطاقات تلقاها في الأقسام"}
.product-index-search .s-products-list-placeholder p::before{content:"ما لقيت شي…"}
.product-index-search .s-products-list-placeholder p::after{content:"جرّب اسم اللعبة بالعربي أو الإنقليزي"}
.cart .no-content-placeholder p::before{content:"سلتك فاضية، خلنا نعبيها 🎮"}
.cart .no-content-placeholder p::after{content:"الكود يوصلك فورًا بعد الدفع"}
:lang(en) .product-index .s-products-list-placeholder p::before{content:"Nothing here yet"}
:lang(en) .product-index .s-products-list-placeholder p::after{content:"Find every other card in Categories"}
:lang(en) .product-index-search .s-products-list-placeholder p::before{content:"Nothing found…"}
:lang(en) .product-index-search .s-products-list-placeholder p::after{content:"Try the game’s name in English or Arabic"}
:lang(en) .cart .no-content-placeholder p::before{content:"Your cart is empty, let’s fill it 🎮"}
:lang(en) .cart .no-content-placeholder p::after{content:"Your code arrives right after payment"}
/* no link in Salla's list placeholder → visual cue only (dock «الأقسام» below on phones, header search/«الأقسام» above on desktop) */
.product-index .s-products-list-placeholder::after,.product-index-search .s-products-list-placeholder::after{content:"↓ الأقسام";margin-top:14px;padding:6px 14px;border-radius:999px;background:var(--bc-tint);color:var(--bc-brand-t);font-size:13px;font-weight:700;line-height:20px}
.product-index-search .s-products-list-placeholder::after{content:"↑ ابحث من جديد"}
:lang(en) .product-index .s-products-list-placeholder::after{content:"↓ Categories"}
:lang(en) .product-index-search .s-products-list-placeholder::after{content:"↑ Search again"}
@media (min-width:1024px){.product-index .s-products-list-placeholder::after{content:"↑ الأقسام"}:lang(en) .product-index .s-products-list-placeholder::after{content:"↑ Categories"}}
.no-content-placeholder .btn{display:inline-flex!important;align-items:center;justify-content:center;height:48px!important;min-height:48px;line-height:1!important;margin-top:18px!important;padding:0 28px!important;border:0!important;border-radius:999px!important;background:var(--bc-fill)!important;color:#fff!important;font-size:15px!important;font-weight:700;transition:transform .16s var(--bc-ease)}
.no-content-placeholder .btn:active{transform:scale(.97)}
@media (prefers-reduced-motion:reduce){.s-products-list-placeholder::before,.no-content-placeholder::before{animation:none}}
/* BC empty-states END */

/* BC trust-color START — #138 trust icons: own colour on a soft tinted circle (28px glyph, 40px circle), hover/tap glow in the icon's colour; WhatsApp = official simple-icons glyph #25D366. Markup: components 333108152 (AR) / 673929299 (EN). Rollback: delete START..END and save + restore comp_*_before.html. */
/* #140 Option C «تدرّج الغروب» (board redesign-c-clean/palette/trust-options.html): every icon a vertical gradient --c→--c2 from the brand sunset on a very light tint (color-mix 10% light / 16% dark); glow = --c. Gradient ids per component: bcg1a–4a AR 333108152, bcg1e–4e EN 673929299 (section lang=en). WhatsApp viewBox -3 -3 30 30 + overflow:visible kept (iPhone clip fix). */
.bc-i1{--c:#e5300f;--c2:#d96a00;--t:10%;--bc-glow:229,48,15}
.bc-i2{--c:#d0280e;--c2:#e05a00;--t:10%;--bc-glow:208,40,14}
.bc-i3{--c:#e0364f;--c2:#b8174f;--t:10%;--bc-glow:224,54,79}
.bc-i4{--c:#16a34a;--c2:#128c3e;--t:10%;--bc-glow:22,163,74}
html.dark .bc-i1{--c:#ff5a36;--c2:#ffa23a;--t:16%;--bc-glow:255,90,54}
html.dark .bc-i2{--c:#ff7a2b;--c2:#ffb020;--t:16%;--bc-glow:255,122,43}
html.dark .bc-i3{--c:#ff8a7a;--c2:#ff5c8a;--t:16%;--bc-glow:255,138,122}
html.dark .bc-i4{--c:#3ee07c;--c2:#25d366;--t:16%;--bc-glow:62,224,124}
.bc-trust>span>svg{box-sizing:content-box;padding:6px;border-radius:50%;overflow:visible;background:color-mix(in srgb,var(--c) var(--t,10%),var(--bc-card));color:var(--c);stroke:none}
.bc-trust stop{stop-color:var(--c)}.bc-trust stop+stop{stop-color:var(--c2)}
.bc-trust .bc-i1 .g{fill:url(#bcg1a)!important}.bc-trust .bc-i2 .g{fill:url(#bcg2a)!important}.bc-trust .bc-i3 .g{fill:url(#bcg3a)!important}.bc-trust .bc-i4 .g{fill:url(#bcg4a)!important}
[lang=en] .bc-trust .bc-i1 .g{fill:url(#bcg1e)!important}[lang=en] .bc-trust .bc-i2 .g{fill:url(#bcg2e)!important}[lang=en] .bc-trust .bc-i3 .g{fill:url(#bcg3e)!important}[lang=en] .bc-trust .bc-i4 .g{fill:url(#bcg4e)!important}
.bc-trust>span>svg .s{fill:none!important;stroke:url(#bcg2a);stroke-width:2.2;stroke-linecap:round}
[lang=en] .bc-trust>span>svg .s{stroke:url(#bcg2e)}
.bc-trust>span>svg .k{fill:none!important;stroke:var(--bc-card);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bc-trust>span>svg .h{fill:var(--bc-card)!important}
.bc-trust>span::before{flex-basis:40px;width:40px;height:40px;margin-bottom:-46px}
@media (min-width:1024px){.bc-trust>span::before{margin:0;margin-inline-end:-50px}}
/* BC trust-color END */
/* BC reviews START — #142 (21 Nov 2026) customer reviews (home «آراء العملاء», component 1206150797) + product questions/comments (.s-comments-product) styled as cards; CSS only, Salla's native server-rendered markup, no JS. Rollback: delete this block. */
:root{--bc-av:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='20' fill='%23fef0ec'/%3E%3Cg fill='none' stroke='%23d0280e' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='20' cy='16' r='5.5'/%3E%3Cpath d='M10.5 30.5c1.6-5 5.2-7.5 9.5-7.5s7.9 2.5 9.5 7.5'/%3E%3C/g%3E%3C/svg%3E")}
html.dark{--bc-av:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='20' fill='%233a292c'/%3E%3Cg fill='none' stroke='%23fe7b58' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='20' cy='16' r='5.5'/%3E%3Cpath d='M10.5 30.5c1.6-5 5.2-7.5 9.5-7.5s7.9 2.5 9.5 7.5'/%3E%3C/g%3E%3C/svg%3E")}
/* Salla's generic cartoon avatars → one quiet brand glyph (real photos untouched) */
.s-block--testimonials .avatar img[data-src*="/avatar_"],.s-comments img[data-src*="/avatar_"]{content:var(--bc-av);object-fit:cover}
/* home: one white card per review; rail on phones (next card peeks), 3 across from 768 */
.s-block--testimonials{padding-bottom:8px}
.s-block--testimonials .swiper-slide{width:min(84%,340px)!important;height:auto!important}
.s-block--testimonials .swiper-slide:only-child{width:100%!important}
.s-block--testimonials .swiper-button-lock{display:none!important}
@media (min-width:768px){.s-block--testimonials .swiper-slide,.s-block--testimonials .swiper-slide:only-child{width:calc((100% - 32px)/3)!important}}
.s-block--testimonials .testimonial,.s-block--testimonials .testimonial__inner{height:100%}
.s-block--testimonials .testimonial__inner{background:var(--bc-card);border:1px solid var(--bc-hair);border-radius:22px;padding:20px;gap:16px;color:var(--bc-ink)}
.s-block--testimonials .testimonial__text{background:none!important;padding:0!important;margin:0!important;box-shadow:none!important;border:0!important}
.s-block--testimonials .testimonial__text::before,.s-block--testimonials .testimonial__text::after{content:none!important;display:none!important}
.s-block--testimonials .testimonial__text>div:first-child{justify-content:flex-start!important;align-items:flex-start!important;margin-bottom:10px!important}
.s-block--testimonials .testimonial__text p{opacity:1!important;color:var(--bc-ink)!important;font-size:15px!important;line-height:1.75!important;text-align:start}
.s-block--testimonials .testimonial__inner>.flex{align-items:center;gap:12px!important;margin:0!important;padding-top:14px;border-top:1px solid var(--bc-hair)}
.s-block--testimonials .avatar{width:40px!important;height:40px!important;flex:none;border-radius:50%;overflow:hidden;margin:0!important;border:0!important;box-shadow:none!important}
.s-block--testimonials .testimonial h4{font-size:15px!important;font-weight:700!important;line-height:1.4;color:var(--bc-ink)}
/* Raqami repeats the name in the span → honest «طلب موثّق» (store ratings come only from completed orders) */
.s-block--testimonials .testimonial h4+span{font-size:0!important;opacity:1!important;display:flex;align-items:center;gap:4px;color:var(--bc-ok)}
.s-block--testimonials .testimonial h4+span::before{content:"";width:14px;height:14px;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='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%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='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
.s-block--testimonials .testimonial h4+span::after{content:"طلب موثّق";font-size:12px;font-weight:500}
html[lang=en] .s-block--testimonials .testimonial h4+span::after{content:"Verified order"}
/* product: questions/comments as one card in the page rhythm; store replies as a tinted bubble */
.s-comments-product{padding-block:8px 24px}
.s-comments-product>.container{background:var(--bc-card);border:1px solid var(--bc-hair);border-radius:22px;padding:20px!important;width:auto!important;max-width:none!important;margin-inline:var(--bc-g)!important}
@media (min-width:1025px){.s-comments-product>.container{max-width:calc(var(--bc-max) - 2 * var(--bc-g))!important;margin-inline:auto!important;padding:28px 32px!important}}
.s-comments-product h2{opacity:1!important;color:var(--bc-ink);font-size:18px!important;font-weight:700!important;margin-bottom:16px!important;unicode-bidi:plaintext}
.s-comments-product .list-block{border-color:var(--bc-hair)!important;margin-bottom:20px!important;padding-bottom:20px!important}
.s-comments-product .list-block:last-child{margin-bottom:0!important;padding-bottom:0!important}
.s-comments-product .comment h3{font-size:15px!important;color:var(--bc-ink);margin-inline-end:12px!important}
.s-comments-product .comment p.opacity-70{opacity:1!important;color:var(--bc-ink3);font-size:12px!important}
.s-comments-product .prose{opacity:1!important;color:var(--bc-ink2)!important;font-size:14px!important;line-height:1.75!important;max-width:none}
.s-comments-product .prose p{color:inherit!important;margin:0!important}
.s-comments-product .comment img{width:40px!important;height:40px!important}
.s-comments-product .reply{margin-top:12px!important;margin-inline-start:16px!important;padding:12px 14px!important;background:var(--bc-sunk);border-radius:16px;gap:10px}
html.dark .s-comments-product .reply{background:var(--bc-raised)}
@media (min-width:768px){.s-comments-product .reply{margin-inline-start:52px!important}}
.s-comments-product .reply>.sicon-reply{display:none!important}
.s-comments-product .reply>.flex-none{display:none!important}
.s-comments-product .reply h3::after{content:"رد المتجر";margin-inline-start:8px;padding:2px 8px;border-radius:999px;background:var(--bc-tint);color:var(--bc-brand-t);font-size:11px;font-weight:600;vertical-align:middle;display:inline-block;white-space:nowrap;line-height:1.6}
html[lang=en] .s-comments-product .reply h3::after{content:"Store reply"}
/* BC reviews END */

/* BC riyal-after START — #143: riyal sign always AFTER the number. Native Salla prices: the sicon-sar glyph is a strong-LTR char, so after Latin text («VIP 130») it jumped to the right in RTL → isolate it (acts as neutral, both engines). Our .bc-pr inside the always-RTL quick sheet followed RTL on /en → LTR on English pages. */
.sicon-sar{unicode-bidi:isolate}
:lang(en) .bc-pr{direction:ltr}
/* BC riyal-after END */
/* BC hero-ios START — #146 iPhone: GTA slide shifted + doubled (RTL scroll-snap track on iOS WebKit) → LTR track, slide order and JS unchanged (JS uses |scrollLeft| + rect deltas); WhatsApp float hidden on home until the header turns solid (scrollY>230), 48px. Rollback: delete START..END and save. */
.bc-hero-t{direction:ltr}  /* #148: AR slides reversed by flex order (JS), dots + arrows back to RTL */
@media (max-width:767px){
 .wa-s-n{width:48px!important;height:48px!important;line-height:48px!important}
 body.index:not(.bc-solid) .wa-s-n{opacity:0;pointer-events:none}
}
/* BC hero-ios END */

/* BC fixes-148 START — #148 (live 869720136): cart <1024 → WhatsApp float hidden (it sat on the payment marks above the sticky checkout bar); help link .bc-wa (JS, trust card) instead. Hero AR RTL feel: see edited «BC hero-ios» block + JS; hero fallback layers below. Rollback: delete START..END + restore before_css.txt hero-ios lines. */
.bc-wa{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:8px 0 -4px;font-size:14px;font-weight:600;color:var(--bc-ink);text-decoration:none}
.bc-wa:before{content:"";flex:0 0 18px;height:18px;background:#25D366;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%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'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E") center/contain no-repeat}
.bc-wa:active{opacity:.7}
@media (min-width:1024px){.bc-wa{display:none}}
@media (max-width:1023px){body.cart .wa-s-n{display:none!important}}
/* #148 hero fallback (components 79742458/545915844 carry .bc-hf per slide): every slide is opaque — brand gradient + real headline/subline (Rubik, white) + short shimmer under its image,
   so the section's GTA ::before (#137 first paint) can only show before JS renders the slides; slide 1 also keeps the GTA sprite above its text layer (same URL as its img). */
.bc-hero-s a{position:relative;isolation:isolate;overflow:hidden}
.bc-hero picture,.bc-hero img{position:relative;z-index:2}
.bc-hero img{color:transparent;text-indent:100%;overflow:hidden;white-space:nowrap}  /* no alt text / broken icon while loading */
.bc-hero img:not([src]){visibility:hidden}  /* slides 2–6 park their src until idle (JS) → no empty-image box */
.bc-hero[dir=rtl] .bc-hf{direction:rtl}  /* the track is LTR since #146 */
.bc-hf{position:absolute;inset:0;z-index:0;display:flex;flex-direction:column;align-items:center;gap:8px;padding:17% 18px 0;text-align:center;color:#fff;font-family:inherit;background:linear-gradient(160deg,var(--a),var(--b))}
.bc-hf b{font-size:21px;line-height:1.25;font-weight:700;text-wrap:balance}
.bc-hf small{font-size:12.5px;line-height:1.45;font-weight:500;opacity:.92;text-wrap:balance}
.bc-hf .sicon-sar{font-size:.9em}
.bc-hf.h5,.bc-hf.h6{align-items:flex-start;text-align:start;padding:22% 22px 0}
.bc-hf.h5 b,.bc-hf.h6 b{font-size:24px;max-width:72%}.bc-hf.h5 small,.bc-hf.h6 small{font-size:14px;max-width:72%}
.bc-hf:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.10) 50%,transparent 65%);transform:translateX(-100%);animation:bc-hf 1.6s ease-in-out 6}
@keyframes bc-hf{to{transform:translateX(100%)}}
@media (prefers-reduced-motion:reduce){.bc-hf:after{animation:none;display:none}}
.bc-hf.h1{--a:#2a1446;--b:#1d1030}.bc-hf.h2{--a:#1f3a26;--b:#0f1a14}.bc-hf.h3{--a:#04392a;--b:#050607;background:radial-gradient(120% 70% at 20% 100%,rgba(1,210,89,.35),transparent 70%),radial-gradient(120% 70% at 85% 90%,rgba(2,156,248,.35),transparent 70%),#050607}
.bc-hf.h4{--a:#6b2016;--b:#521711}.bc-hf.h5{--a:#3a1620;--b:#141a2e;background:radial-gradient(90% 60% at 15% 0,rgba(251,64,37,.45),transparent 70%),#141a2e}.bc-hf.h6{--a:#D51A00;--b:#B84300}
.bc-hero-s:first-child a:before{content:"";position:absolute;inset:0;z-index:1;background:url(https://cdn.files.salla.network/homepage/862808551/3fb4c338-6a2b-450f-9fc6-5d0996b35149-standard.webp) top/100% auto no-repeat}
.bc-hero[lang=en] .bc-hero-s:first-child a:before{background-image:url(https://cdn.files.salla.network/homepage/862808551/5634893d-8373-4dd1-a758-e801b33c5655-standard.webp)}
@media (min-width:768px){
 .bc-hf,.bc-hf.h5,.bc-hf.h6{align-items:flex-start;justify-content:center;text-align:start;padding:0 48px}
 .bc-hf b,.bc-hf.h5 b,.bc-hf.h6 b{font-size:28px;max-width:50%}.bc-hf small,.bc-hf.h5 small,.bc-hf.h6 small{font-size:15px;max-width:50%}
 .bc-hero-s:first-child a:before{background-position:bottom}
}
/* BC fixes-148 END */