/* =====================================================================
   بسنت | Basant — Salla Custom CSS · v1.3
   Theme: Raed (رائد) — NEW React build (theme 661717374, framework "react")
          version "01/12/2026 – Draft"
   Store: https://basant-sa.com (salla.sa/quitebasant)
   Figma: bassant-store (Copy) › Page 1 › frame "bassant" 1:312 (1440 desktop)
   Mobile: no design — adapted from desktop (section 12)
   Verified against the live store DOM on 2026-12-02 (theme profile 880602880)
   Companion JS snippet: basant-snippet.js (top-bar phone + language chip,
   footer "خدماتنا" + payments columns, footer slogan/heading). Paste both.

   v1.3 (2026-12-02) — brand-story banner full-bleed like the other banners
     (was capped at 1440 → boxed with side gutters on wider screens).
   v1.2 (2026-12-02, rev. after blocks were added) — testimonials rebuilt
     for the React custom-testimonials markup (.testimonial-card): no grey
     section fill, white 30px title, Figma card layout, phone dots; footer
     columns shown on phones (theme hid them → CR/VAT missing); block ids
     updated to the live homepage. Also: page art (calligraphic B swirls, traced from
     Figma 32:1173); 4th trust item drawn in CSS + Figma titles; full
     testimonials design (3 static cards, quote/avatar/name/stars layout,
     Figma title); footer divider inside the container + copyright only;
     no line between the two header rows.
   v1.1 (2026-12-02) — re-checked against Figma with the real blocks:
     header = logo · hamburger (store categories drawer) · search · account ·
     cart like Figma (inline menu hidden on desktop); 2-tone account label;
     50px gap above hero; hero corners square; 4 outline trust icons by
     position; category cards cropped to the card (exports carry the
     drop-shadow margin); brand-story banner pinned by id; product rows
     1344 wide; featured-products hidden; footer 4 Figma columns.

   Author: Khaled Omar <KO />
   Portfolio: https://sunnysapartment.com
   LinkedIn: https://linkedin.com/in/khaledmahmoudomar
   GitHub: SunnysApartment

   ⚠ This React build of Raed does NOT use the classic Raed markup
     (no #app, no custom-salla-product-card, no #mainnav, no component-id).
     Sections are <section class="s-block s-block--TYPE" data-live-block="ID">.
     Per-instance selectors below use data-live-block ids.

   HOME BLOCKS (data-live-block) — live order = Figma order (2026-12-02)
      121916657  fixed-banner       hero
     1361144818  store-features     trust strip (4 items in Figma, 3 live)
     1037529851  square-photos      "تسوقي حسب القسم" 3 cards
     1643251144  fixed-banner       body milk banner
      169715933  products-slider    "مختارات Basant"
      835180255  fixed-banner       bedding banner
       61666776  products-slider    "الاكثر مبيعا"
     1259893028  fixed-banner       brand story (rounded)
      901138995  custom-testimonials "بعض الاراء من عملائنا"

   PALETTE (from Figma; all literal hex live in :root)
     --bs-navy        #15283f  page, header rows, sections
     --bs-navy-deep   #0d2238  footer
     --bs-ink         #0f1e36  dark text on light buttons
     --bs-field       #dbdbdb  search field   · border #1e3048
     --bs-card        rgba(56,79,116,.4) product card · border #a0c8e9
     --bs-btn         #aeb2bb  add-to-cart pill
     --bs-badge       #f87171  cart count
     --bs-accent      #d12148  reviewer names
     --bs-star        #fbbf24  rating stars
     --bs-line        #3b0764 / rgba(88,28,135,.6)  footer lines
     --bs-copy        rgba(216,180,254,.8) copyright text
   FONTS: Figma uses 29LT Kaff + GE SS Unique (commercial, not on Google
     Fonts). The store font PingARLT is used until licensed woff2 files are
     hosted — then fill the @font-face block in §00 and swap the tokens.
   SCOPE: navy page + dark product cards apply to the HOME page only
     (body.index). Header + footer are navy store-wide. Category/product
     pages keep the theme's light layout.
   ===================================================================== */
:root {
  --bs-navy:        #15283f;
  --bs-navy-deep:   #0d2238;
  --bs-ink:         #0f1e36;
  --bs-field:       #dbdbdb;
  --bs-field-border:#1e3048;
  --bs-card:        rgba(56, 79, 116, .4);
  --bs-card-border: #a0c8e9;
  --bs-img-bg:      #f6f5f3;
  --bs-btn:         #aeb2bb;
  --bs-btn-hover:   #c7cad1;
  --bs-badge:       #f87171;
  --bs-accent:      #d12148;
  --bs-star:        #fbbf24;
  --bs-line:        #3b0764;
  --bs-line-soft:   rgba(88, 28, 135, .6);
  --bs-copy:        rgba(216, 180, 254, .8);

  --bs-font:        "PingARLT", var(--font-main), sans-serif;   /* 29LT Kaff in Figma */
  --bs-font-ui:     "PingARLT", var(--font-main), sans-serif;   /* GE SS Unique in Figma */

  /* media ratios (Figma frame sizes) — export uploads at these ratios */
  --bs-r-banner:    1440 / 600;   /* hero 1:571 · 1:702 · 1:769 · 1:827 */
  --bs-r-banner-m:  auto;         /* mobile: natural ratio of the small image */
  --bs-r-cat:       389 / 390;    /* category cards 15:1002 / 15:1017 / 15:1031 */
  --bs-r-product:   4 / 5;        /* product photo slot in the card */

  /* page art — the big calligraphic "B" swirls behind the home page
     (Figma 32:1173, #1e3d65 on navy). Inline SVG traced from the Figma
     vectors, 1440×5807 frame → scales with the page width. none = off. */
  --bs-page-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 5807'%3E%3Cg fill='%231e3d65'%3E%3Cpath d='M2470 2991C2414 3011 2367 3027 2327 3038C2288 3049 2247 3059 2203 3068C2080 3094 1960 3101 1843 3090C1727 3078 1619 3049 1521 3003C1423 2958 1340 2893 1272 2811C1204 2729 1158 2630 1134 2514C1113 2411 1113 2317 1134 2231C1154 2144 1190 2067 1241 2001C1291 1934 1354 1878 1429 1834C1504 1789 1587 1757 1677 1739C1798 1713 1926 1711 2061 1732C2197 1752 2332 1793 2468 1854C2603 1915 2735 1996 2865 2098C2994 2199 3113 2318 3223 2455C3332 2592 3428 2745 3510 2914C3592 3083 3653 3267 3694 3466C3727 3626 3742 3777 3740 3919C3737 4060 3719 4187 3685 4297C3768 4395 3833 4488 3881 4574C3929 4661 3968 4747 4000 4832L3951 4843C3919 4757 3882 4676 3839 4598C3795 4521 3736 4444 3661 4367C3608 4472 3547 4556 3479 4618C3410 4681 3318 4724 3203 4748C3099 4770 3000 4766 2905 4737C2811 4708 2725 4662 2648 4600C2571 4539 2503 4465 2442 4379C2382 4294 2334 4206 2298 4115L2290 4117C2303 4197 2306 4274 2297 4348C2287 4421 2267 4488 2235 4548C2203 4607 2158 4658 2099 4701C2041 4743 1968 4773 1880 4792C1746 4820 1614 4814 1485 4775C1355 4736 1238 4677 1131 4598C1025 4519 935 4426 862 4317C788 4209 740 4098 716 3985C684 3827 692 3694 739 3584C787 3475 862 3409 966 3388C1035 3373 1098 3382 1156 3415C1214 3448 1251 3501 1266 3573C1275 3618 1266 3660 1240 3700C1222 3654 1189 3626 1140 3616C1090 3605 1031 3607 963 3622C889 3637 833 3678 795 3743C757 3809 747 3884 765 3970C791 4097 840 4203 913 4287C986 4371 1073 4436 1174 4481C1274 4526 1384 4553 1503 4561C1622 4570 1740 4562 1858 4537C1945 4519 2015 4488 2068 4445C2121 4403 2159 4351 2184 4291C2209 4231 2221 4165 2220 4092C2220 4018 2211 3941 2194 3861L2244 3851C2269 3975 2313 4084 2375 4176C2437 4268 2512 4342 2600 4399C2689 4455 2788 4493 2898 4512C3007 4531 3121 4528 3239 4503C3302 4490 3361 4465 3416 4427C3471 4390 3517 4344 3555 4290C3412 4182 3240 4087 3038 4007C2836 3927 2623 3849 2399 3773C2175 3697 1951 3619 1725 3538C1500 3457 1292 3362 1102 3253C911 3145 747 3017 612 2869C476 2722 386 2545 344 2337C314 2194 321 2074 364 1979C408 1883 472 1826 557 1809C611 1797 658 1804 696 1829C734 1854 758 1891 767 1938C777 1985 770 2023 746 2052C722 2082 688 2101 644 2110C606 2118 571 2112 540 2091C508 2070 488 2041 481 2002C454 2013 434 2032 419 2058C405 2084 394 2113 388 2145C381 2176 379 2207 381 2239C384 2270 387 2297 391 2319C420 2457 471 2573 544 2667C618 2761 713 2845 829 2917C945 2989 1082 3056 1238 3117C1395 3177 1571 3242 1765 3311C1965 3385 2154 3453 2331 3515C2508 3577 2674 3643 2828 3712C2982 3780 3124 3855 3255 3936C3386 4016 3502 4111 3604 4219C3657 4116 3684 3998 3684 3865C3684 3733 3669 3596 3640 3455C3587 3198 3494 2964 3361 2753C3228 2541 3073 2365 2897 2223C2721 2081 2531 1979 2328 1916C2125 1853 1927 1842 1733 1883C1659 1898 1585 1924 1511 1959C1436 1995 1373 2039 1319 2092C1266 2145 1226 2206 1199 2275C1171 2344 1166 2421 1183 2503C1204 2606 1245 2695 1307 2772C1368 2848 1443 2909 1533 2953C1622 2998 1724 3027 1839 3038C1954 3050 2075 3043 2201 3017C2245 3008 2288 2997 2330 2986C2371 2974 2414 2961 2456 2946L2470 2991Z'/%3E%3Cpath d='M526 1287C555 1300 579 1312 598 1323C617 1334 636 1346 656 1359C713 1397 761 1440 801 1489C841 1538 871 1591 891 1645C911 1700 918 1757 913 1814C908 1871 889 1927 854 1980C823 2027 788 2063 747 2088C707 2113 665 2128 620 2134C576 2140 531 2137 486 2125C441 2113 397 2094 356 2066C300 2030 251 1981 207 1922C163 1862 127 1794 99 1719C70 1644 51 1563 40 1474C29 1386 28 1295 38 1201C48 1107 69 1012 102 917C134 821 180 728 240 637C287 563 338 500 393 447C447 394 501 353 556 324C562 255 571 195 586 144C600 93 618 45 638 0L660 15C640 60 624 105 611 151C598 197 592 249 592 307C651 287 706 279 755 281C805 284 856 303 909 337C957 369 993 409 1018 456C1043 503 1058 554 1064 607C1070 660 1068 714 1059 770C1050 825 1035 877 1014 925L1018 928C1043 892 1071 862 1103 837C1134 813 1167 796 1201 785C1236 775 1272 773 1310 779C1349 785 1388 802 1428 828C1489 869 1537 922 1572 986C1606 1051 1629 1119 1639 1189C1650 1260 1649 1330 1636 1399C1623 1469 1600 1529 1566 1581C1519 1654 1466 1701 1407 1725C1348 1748 1294 1744 1246 1712C1215 1692 1194 1664 1185 1629C1175 1594 1181 1560 1203 1527C1216 1507 1235 1494 1260 1488C1249 1513 1252 1537 1266 1559C1281 1582 1304 1604 1336 1625C1370 1647 1406 1653 1445 1643C1484 1632 1517 1608 1542 1568C1580 1510 1601 1451 1605 1391C1609 1331 1601 1273 1579 1217C1558 1162 1526 1109 1484 1061C1442 1012 1394 970 1340 934C1300 907 1262 892 1226 888C1190 884 1156 889 1124 902C1092 915 1062 936 1035 964C1008 992 982 1025 958 1061L936 1046C973 989 997 932 1008 873C1019 814 1019 757 1006 701C994 646 970 594 936 545C901 495 857 453 803 417C774 398 742 385 707 378C672 371 637 371 603 377C616 473 646 575 692 683C739 791 791 902 847 1016C904 1131 960 1247 1015 1364C1070 1481 1113 1597 1145 1711C1176 1826 1190 1937 1186 2045C1182 2153 1150 2255 1088 2350C1045 2416 997 2459 945 2478C892 2498 847 2495 808 2469C783 2453 768 2432 763 2408C758 2384 762 2361 776 2340C790 2318 807 2306 828 2304C848 2302 868 2308 888 2321C906 2333 917 2349 921 2369C925 2388 921 2407 909 2425C924 2431 938 2432 954 2427C969 2423 984 2416 998 2406C1013 2397 1025 2386 1036 2373C1047 2360 1056 2349 1063 2339C1104 2275 1128 2212 1136 2148C1143 2084 1138 2016 1121 1944C1105 1872 1078 1794 1041 1711C1004 1628 962 1536 915 1435C866 1330 820 1232 776 1141C732 1049 694 961 661 875C629 790 603 707 583 627C564 546 555 465 557 385C498 404 444 438 394 489C344 539 298 597 256 661C179 779 127 904 98 1035C69 1167 61 1293 75 1415C88 1536 122 1648 175 1749C228 1851 300 1931 389 1990C423 2013 461 2031 502 2046C544 2061 585 2069 625 2069C665 2069 703 2062 740 2046C776 2030 807 2003 831 1965C862 1918 880 1868 885 1816C891 1763 885 1711 868 1660C851 1609 823 1559 783 1510C744 1462 696 1418 638 1380C618 1366 598 1354 577 1342C557 1331 536 1319 514 1309L526 1287Z'/%3E%3Cpath d='M-583 3983C-560 4020-542 4052-528 4078C-514 4105-501 4133-487 4163C-450 4248-426 4333-417 4419C-407 4504-410 4586-428 4664C-445 4741-477 4811-525 4873C-572 4935-635 4983-714 5018C-783 5049-849 5064-914 5063C-978 5061-1038 5047-1093 5021C-1148 4995-1197 4958-1240 4911C-1283 4864-1318 4809-1346 4747C-1382 4665-1403 4573-1410 4472C-1416 4371-1408 4267-1386 4160C-1364 4053-1327 3946-1276 3837C-1224 3728-1159 3624-1079 3524C-999 3424-905 3331-799 3246C-692 3161-572 3088-437 3028C-329 2980-225 2945-124 2925C-24 2905 68 2898 152 2906C208 2831 263 2770 317 2722C371 2674 426 2632 481 2596L496 2630C440 2666 389 2705 341 2748C292 2791 247 2846 205 2912C287 2934 356 2965 411 3004C465 3044 510 3103 545 3183C577 3254 589 3326 583 3399C577 3471 558 3540 526 3605C495 3670 453 3731 402 3788C351 3844 296 3893 238 3932L240 3938C295 3916 349 3902 402 3897C456 3893 506 3897 553 3911C600 3925 643 3949 682 3985C721 4020 754 4068 781 4128C821 4221 838 4316 830 4416C822 4515 799 4609 760 4697C721 4786 668 4865 603 4935C538 5005 467 5057 390 5091C284 5139 189 5154 104 5137C19 5120-39 5075-70 5004C-91 4957-94 4910-80 4863C-66 4816-34 4781 15 4759C45 4746 76 4746 108 4758C79 4778 64 4807 64 4844C65 4881 75 4923 96 4970C118 5021 155 5055 208 5072C260 5089 315 5085 373 5059C459 5020 526 4968 574 4903C622 4837 654 4765 671 4685C687 4606 689 4522 676 4436C664 4349 640 4265 604 4184C578 4124 545 4078 507 4047C468 4015 426 3996 380 3987C334 3978 285 3980 233 3992C181 4004 128 4022 74 4046L59 4012C143 3975 213 3927 269 3868C324 3809 365 3743 391 3671C418 3598 429 3521 425 3439C422 3357 402 3276 366 3195C347 3152 320 3113 285 3079C250 3045 211 3019 167 3001C112 3120 72 3258 47 3416C21 3574-1 3740-20 3913C-38 4086-59 4259-82 4434C-104 4609-139 4773-186 4927C-233 5081-298 5219-381 5339C-464 5460-576 5552-716 5615C-813 5658-898 5672-973 5655C-1047 5639-1097 5602-1122 5543C-1139 5506-1141 5471-1129 5440C-1118 5409-1096 5386-1064 5372C-1032 5357-1004 5357-980 5369C-955 5382-936 5403-923 5434C-911 5460-910 5486-920 5512C-930 5538-948 5556-974 5568C-962 5585-946 5597-925 5604C-904 5610-882 5613-859 5613C-836 5613-813 5609-791 5603C-770 5596-751 5590-736 5583C-643 5541-569 5487-514 5419C-459 5352-415 5270-382 5176C-348 5081-323 4972-304 4850C-285 4728-266 4591-248 4441C-227 4285-208 4139-192 4002C-175 3864-154 3735-129 3614C-105 3492-74 3378-37 3271C-1 3165 48 3066 109 2976C28 2954-60 2953-153 2973C-247 2994-341 3026-437 3068C-610 3146-761 3249-890 3378C-1018 3507-1119 3646-1192 3794C-1265 3943-1308 4095-1321 4251C-1334 4407-1311 4552-1252 4685C-1230 4736-1200 4785-1164 4833C-1127 4881-1086 4920-1040 4950C-995 4980-945 5000-892 5009C-839 5018-785 5010-729 4985C-660 4954-603 4910-558 4854C-514 4798-482 4734-465 4663C-447 4592-443 4514-452 4429C-461 4345-485 4259-523 4172C-537 4142-551 4113-565 4085C-580 4056-596 4028-613 3999L-583 3983Z'/%3E%3Cpath d='M-1259 2040C-1216 2021-1180 2007-1151 1996C-1121 1986-1089 1976-1056 1966C-962 1940-869 1928-779 1932C-688 1935-603 1951-525 1982C-447 2012-379 2057-322 2118C-265 2178-225 2252-200 2341C-179 2419-174 2492-186 2560C-198 2628-221 2689-257 2743C-293 2798-339 2844-395 2882C-451 2921-513 2950-582 2969C-674 2994-773 3003-879 2994C-985 2985-1092 2960-1200 2920C-1308 2880-1414 2824-1519 2752C-1624 2680-1723 2594-1815 2493C-1906 2393-1988 2280-2060 2153C-2132 2027-2188 1887-2230 1735C-2264 1613-2283 1497-2288 1387C-2294 1277-2286 1179-2265 1091C-2334 1019-2389 951-2431 887C-2472 822-2507 758-2536 693L-2499 682C-2470 747-2436 808-2399 866C-2362 924-2312 980-2250 1036C-2214 952-2172 884-2122 832C-2072 780-2003 742-1915 717C-1836 695-1759 693-1684 711C-1609 728-1541 759-1478 803C-1415 847-1358 901-1307 964C-1256 1027-1215 1092-1182 1161L-1176 1159C-1191 1098-1196 1038-1193 981C-1189 923-1177 871-1155 823C-1133 775-1101 733-1058 697C-1015 662-960 634-893 616C-790 587-688 585-586 608C-484 632-390 672-304 727C-217 783-143 850-81 931C-18 1011 25 1094 49 1181C82 1301 83 1405 51 1492C20 1579-35 1634-115 1656C-167 1670-217 1667-263 1644C-310 1622-341 1583-356 1528C-365 1494-361 1460-343 1428C-326 1463-299 1483-260 1488C-222 1494-176 1489-124 1474C-68 1459-26 1424 0 1372C26 1319 30 1260 12 1194C-15 1097-58 1018-119 957C-180 895-250 850-330 820C-411 790-497 775-589 775C-682 774-773 787-863 812C-930 830-982 858-1021 893C-1060 929-1087 971-1103 1019C-1119 1066-1125 1118-1121 1175C-1117 1232-1106 1291-1089 1352L-1127 1363C-1153 1268-1192 1186-1245 1118C-1297 1049-1359 996-1431 957C-1502 918-1581 894-1667 885C-1752 876-1840 884-1930 909C-1978 922-2023 945-2063 977C-2104 1008-2138 1046-2164 1090C-2048 1167-1910 1231-1750 1283C-1589 1334-1421 1384-1243 1431C-1066 1478-888 1527-710 1578C-532 1630-366 1692-213 1767C-59 1841 73 1932 186 2039C299 2146 377 2278 420 2437C450 2547 451 2639 422 2716C394 2792 347 2839 282 2857C240 2869 204 2866 173 2848C143 2831 122 2804 112 2768C103 2732 106 2702 123 2678C140 2654 166 2637 199 2628C228 2620 256 2623 281 2637C306 2652 323 2674 331 2704C351 2693 366 2678 376 2657C386 2636 392 2613 396 2588C399 2564 399 2539 396 2515C393 2491 389 2470 384 2454C355 2348 310 2261 248 2192C187 2123 109 2063 15 2013C-78 1963-187 1919-312 1880C-436 1840-575 1799-729 1756C-888 1709-1037 1666-1178 1627C-1318 1588-1449 1546-1572 1501C-1695 1455-1809 1405-1914 1349C-2019 1293-2114 1226-2199 1147C-2235 1230-2249 1323-2243 1425C-2236 1528-2218 1633-2188 1741C-2134 1937-2050 2114-1937 2270C-1823 2427-1694 2556-1550 2657C-1407 2757-1255 2827-1095 2865C-935 2903-780 2902-632 2860C-576 2844-520 2821-464 2789C-409 2758-361 2720-323 2677C-284 2633-256 2584-238 2529C-221 2474-221 2415-238 2351C-259 2273-296 2206-347 2150C-399 2094-460 2051-531 2021C-602 1991-683 1974-773 1971C-863 1968-956 1979-1052 2006C-1085 2015-1118 2026-1150 2037C-1182 2048-1214 2060-1246 2074L-1259 2040Z'/%3E%3C/g%3E%3C/svg%3E");

  --bs-gap-section: 50px;
}

/* ---------------------------------------------------------------------
   00. BASE — overflow guard, fonts, home background
   --------------------------------------------------------------------- */
/* @font-face { font-family: "29LT Kaff"; src: url('…/29LTKaff-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; } */
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body, .app-inner { overflow-x: clip; } }

body.index,
body.index .app-inner { background-color: var(--bs-navy) !important; }
body.index .app-inner {
  background-image: var(--bs-page-art) !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: 100% auto !important;
}
body.index main#main-content { color: #fff; font-family: var(--bs-font); }

/* ---------------------------------------------------------------------
   01. HEADER — top bar (60px) + main bar (108px), navy, sticky
   Desktop row (RTL), as Figma: logo · hamburger · search field ·
   حسابي · السلة. The hamburger opens the theme drawer with the store
   categories (tested on desktop); the inline menu is hidden ≥1024.
   Top bar: links (important-links menu) right · phone + language chip
   left (phone + chip are added by basant-snippet.js).
   Sticky is the theme's own (.site-header__bar → fixed + .is-scrolled).
   --------------------------------------------------------------------- */
.app-inner .site-header__safe-area { background: var(--bs-navy) !important; }

/* top bar */
.app-inner .site-header__topnav {
  background: var(--bs-navy) !important;
  border-bottom: 0 !important;
  color: #fff !important;
}
.app-inner .site-header__topnav-inner { min-height: 60px; }
.app-inner .site-header__topnav-menu .s-menu-topnav-list { gap: 0; }
.app-inner .site-header__topnav-menu a,
.app-inner .site-header__topnav .s-menu-topnav-item {
  color: #fff !important;
  opacity: .75;
  font: 700 14px/14px var(--bs-font-ui) !important;
  padding: 1px 9px !important;
  transition: opacity .2s;
}
.app-inner .site-header__topnav-menu a:hover { opacity: 1; }
.app-inner .site-header__topnav-menu .s-menu-topnav-item + .s-menu-topnav-item,
.app-inner .site-header__topnav-menu .s-menu-topnav-list > * + * {
  border-inline-start: 1px solid rgba(156, 163, 175, .2);
}
.app-inner .site-header__topnav-actions { display: flex; align-items: center; gap: 0; }
.app-inner .site-header__topnav-actions,
.app-inner .site-header__topnav-actions * { color: #fff; }
/* phone + language chip (basant-snippet.js) */
.app-inner .bs-topnav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  padding-inline: 16px 80px;            /* Figma: 80px before the chip */
  color: #fff !important; opacity: .75;
  font: 700 14px/20px var(--bs-font-ui);
  direction: ltr; unicode-bidi: isolate;
  transition: opacity .2s;
}
.app-inner .bs-topnav-phone:hover { opacity: 1; }
.app-inner .bs-topnav-phone i { font-size: 16px; }
.app-inner .bs-lang-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: #e5e7eb;
  border-radius: 6px;
  color: var(--bs-ink) !important;
  font: 700 14px/20px var(--bs-font-ui);
}
.app-inner .bs-lang-chip * { color: var(--bs-ink) !important; }
.app-inner .bs-lang-chip i { font-size: 13px; }

/* main bar (both states) */
.app-inner .site-header__bar,
.app-inner .site-header__bar.is-scrolled {
  background: var(--bs-navy) !important;
  border-color: transparent !important;
  color: #fff;
}
.app-inner .site-header__bar.is-scrolled { box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .55) !important; }

/* icons + burger (all widths) */
.app-inner .site-header__bar .header-action,
.app-inner .site-header__bar .header-action svg,
.app-inner .site-header__actions .s-user-menu-login-btn,
.app-inner .site-header__actions .s-user-menu-trigger { color: #fff !important; }
.app-inner .site-header__burger span { background-color: #fff !important; }
/* logo is navy on a navy bar → render white (Figma logo is white). Remove if a white logo is uploaded. */
.app-inner .site-header__brand img,
.app-inner .store-footer .store-footer__logo img { filter: brightness(0) invert(1); }
.app-inner .site-header__actions .s-user-menu-login-btn:hover { background: transparent !important; }

/* cart badge */
.app-inner .site-header__actions .s-cart-summary-count {
  background: var(--bs-badge) !important;
  border: 2px solid #f9fafb;
  color: #fff !important;
  min-width: 20px; height: 20px;
  border-radius: 9999px;
  font: 500 12px/16px var(--bs-font) !important;
}

@media (min-width: 1024px) {
  .app-inner .site-header__bar-outer { min-height: 108px; }
  .app-inner .site-header__bar-inner {
    min-height: 108px;
    grid-template-columns: auto auto minmax(0, 1fr) !important;   /* RTL: logo · burger · actions */
    gap: 14px;
  }
  .app-inner .site-header__bar.is-scrolled .site-header__bar-inner { min-height: 76px; }

  .app-inner .site-header__brand { order: 0; justify-self: start; }
  .app-inner .site-header__brand img { height: 48px; max-width: 170px; }
  .app-inner .site-header__bar.is-scrolled .site-header__brand img { height: 40px; }

  /* hamburger (Figma 1:352) → theme drawer with the store categories */
  .app-inner .site-header__nav-toggle { order: 1; display: flex !important; }
  .app-inner .site-header__nav-toggle button {
    display: grid !important; place-items: center;
    width: 40px; height: 40px; padding: 0;
    background: transparent !important; border: 0;
    color: #fff !important;
  }
  .app-inner .site-header__nav-toggle .site-header__burger { width: 26px; height: 16px; }
  .app-inner .site-header__nav-toggle .site-header__burger span { width: 100% !important; height: 2px; }
  .app-inner .site-header__nav-toggle .site-header__burger span:nth-child(2) { top: 7px; }
  .app-inner .site-header__nav-toggle .site-header__burger span:nth-child(3) { top: 14px; }

  /* inline categories menu: not in Figma (the drawer carries it) */
  .app-inner .site-header__mainmenu { display: none !important; }

  /* actions row: search field (grows) · account · cart */
  .app-inner .site-header__actions { order: 2; justify-self: stretch; gap: 20px; min-width: 0; }
  .app-inner .site-header__actions > div:has(> salla-user-menu) { order: 1; }
  .app-inner .site-header__actions > div:has(> salla-cart-summary) { order: 2; }

  .app-inner .site-header__actions .header-action.site-header__search {
    order: 0;
    flex: 1 1 auto;
    min-width: 160px;
    height: 46px;
    width: auto;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 16px;
    background: var(--bs-field) !important;
    border: 1px solid var(--bs-field-border) !important;
    border-radius: 6px !important;
    box-shadow: inset 0 0 0 1px #f0f0f0;
    color: var(--bs-field-border) !important;
    cursor: text;
  }
  .app-inner .site-header__actions .header-action.site-header__search svg {
    width: 16px; height: 16px; flex: none;
    color: var(--bs-field-border) !important;
  }
  .app-inner .site-header__actions .header-action.site-header__search::after {
    content: "ادخل كلمة البحث";
    font: 500 14px/1 var(--bs-font);
    color: var(--bs-field-border);
  }

  /* account: icon + "حسابي / تسجيل الدخول" (guest). Theme host is a 40×40 grid → free it */
  .app-inner .site-header__actions salla-user-menu { width: auto !important; height: auto !important; display: flex !important; }
  .app-inner .site-header__actions .s-user-menu-login-btn {
    width: auto !important; height: auto !important;
    display: grid !important;
    grid-template-columns: auto auto;      /* RTL: icon right · labels left */
    grid-template-rows: auto auto;
    column-gap: 12px; row-gap: 4px;
    align-items: center;
    padding: 0 !important;
    background: transparent !important;
  }
  .app-inner .site-header__actions .s-user-menu-login-btn svg { grid-column: 1; grid-row: 1 / 3; width: 30px; height: 30px; fill: currentColor; }
  .app-inner .site-header__actions .s-user-menu-login-btn::before,
  .app-inner .site-header__actions .s-user-menu-login-btn::after {
    grid-column: 2;
    text-align: start;
    font: 500 14px/14px var(--bs-font);
    color: #fff;
    white-space: nowrap;
  }
  .app-inner .site-header__actions .s-user-menu-login-btn::before { content: "حسابي"; grid-row: 1; opacity: .5; }
  .app-inner .site-header__actions .s-user-menu-login-btn::after { content: "تسجيل الدخول"; grid-row: 2; }
  .app-inner .site-header__actions .s-user-menu-login-btn:hover::after { text-decoration: underline; text-underline-offset: 3px; }

  /* cart: icon + "السلة / total" */
  .app-inner .site-header__actions salla-cart-summary { width: auto !important; min-width: 0 !important; display: flex !important; }
  .app-inner .site-header__actions .s-cart-summary-wrapper {
    display: flex !important; align-items: center; gap: 12px;
    position: relative;
    color: #fff !important;
  }
  .app-inner .site-header__actions #s-cart-icon { position: relative; }
  .app-inner .site-header__actions #s-cart-icon svg { width: 30px; height: 30px; color: #fff; }
  .app-inner .site-header__actions .s-cart-summary-count {
    position: absolute !important;
    top: -4px !important; right: -8px !important; left: auto !important;
  }
  .app-inner .site-header__actions .s-cart-summary-content {
    display: flex !important; flex-direction: column; gap: 4px;
    width: auto !important; max-width: none !important; height: auto !important;
    overflow: visible !important; position: static !important;
    clip: auto !important; opacity: 1 !important; visibility: visible !important;
    margin: 0 !important;
    font: 500 14px/14px var(--bs-font) !important;
    color: #fff !important;
  }
  .app-inner .site-header__actions .s-cart-summary-content::before { content: "السلة"; opacity: .5; }
  .app-inner .site-header__actions .s-cart-summary-total {
    display: inline-flex !important; align-items: center; gap: 3px;   /* theme hides it */
    color: #fff !important; font: 500 14px/14px var(--bs-font) !important;
  }
  .app-inner .site-header__actions .s-cart-summary-total i { font-size: 13px; color: #fff !important; }
}

/* mobile bottom bar (phones) */
.app-inner .mobile-bottom-bar,
.mobile-bottom-bar .mobile-bottom-bar__inner { background: var(--bs-navy) !important; border-color: rgba(255, 255, 255, .08) !important; }
.mobile-bottom-bar .mobile-bottom-bar__item { color: rgba(255, 255, 255, .7) !important; }
.mobile-bottom-bar .mobile-bottom-bar__item.is-active { color: #fff !important; }

/* ---------------------------------------------------------------------
   02. SECTION RHYTHM (home)
   --------------------------------------------------------------------- */
body.index main#main-content > section.s-block { margin-top: var(--bs-gap-section) !important; }
body.index main#main-content > section.s-block:first-of-type { margin-top: var(--bs-gap-section) !important; }   /* Figma: 50px navy gap under the header */
/* featured-products (1508491822) is not in Figma — hide it in the editor; this is the fallback */
body.index main#main-content > section[data-live-block="1508491822"] { display: none !important; }

/* ---------------------------------------------------------------------
   03. FIXED BANNERS — hero + 3 wide banners, full-bleed, 1440×600
   Composed exports (text + "تسوقوا الآن" baked in). Link → block field.
   --------------------------------------------------------------------- */
body.index .s-block--fixed-banner > .container { max-width: none !important; padding: 0 !important; }
body.index .s-block--fixed-banner .banner--fixed { display: block; border-radius: 0 !important; }
body.index .s-block--fixed-banner img {
  display: block;
  width: 100% !important; max-width: none !important; height: auto !important;
  aspect-ratio: var(--bs-r-banner);
  object-fit: cover !important; object-position: center;
  border-radius: 0 !important;              /* theme rounds the img 16px */
}
/* brand story banner (Figma 1:827) — same full-bleed width as the other
   banners (Figma: x 0, w 1440), only the corners are rounded (24px).
   Pinned by block id; the link fallback covers a re-created block. */
body.index .s-block--fixed-banner[data-live-block="1259893028"] .banner--fixed,
body.index .s-block--fixed-banner:has(a[href*="page-1353651207"]) .banner--fixed {
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
@media (hover: hover) and (pointer: fine) {
  body.index .s-block--fixed-banner:not(:first-of-type) img { transition: transform 1.2s cubic-bezier(.22, .61, .36, 1); }
  body.index .s-block--fixed-banner:not(:first-of-type) .banner--fixed:hover img { transform: scale(1.03); }
}

/* ---------------------------------------------------------------------
   04. TRUST STRIP — store-features (727704645), right under the hero
   Figma: 4 items, outline icon 40px + title, no description, one row.
   Icons are drawn by POSITION (Figma 15:909 / 15:901 / 15:894 / 15:883),
   whatever sicon is picked in the editor:
     1 home · 2 leaf · 3 shield-check · 4 truck
   Enter the 4 Figma titles in this order (right → left).
   --------------------------------------------------------------------- */
body.index main#main-content > section.s-block--store-features { margin-top: 0 !important; }   /* sits flush under the hero */
body.index .s-block--store-features { padding: 56px 80px; max-width: 1440px; margin-inline: auto; }
body.index .s-block--store-features > div {
  display: grid !important;
  grid-template-columns: none !important;
  grid-auto-flow: column;                 /* one row, as many columns as items */
  grid-auto-columns: minmax(0, 1fr);
  gap: 0 !important;
}
body.index .s-block--store-features .s-block--features__item,
body.index .s-block--store-features .s-block--features__item:first-child {
  grid-column: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 8px 16px !important;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
body.index .s-block--store-features .feature-icon {
  width: 40px !important; height: 40px !important;
  margin: 0 0 14px !important;
  background: transparent !important;
  border-radius: 0 !important;
  display: flex; align-items: center; justify-content: center;
  color: #fff !important;
}
body.index .s-block--store-features .feature-icon i { display: none !important; }
body.index .s-block--store-features .feature-icon::before {
  content: "";
  width: 40px; height: 40px; display: block;
  background: #fff;
  -webkit-mask: var(--bs-ico) center / contain no-repeat;
          mask: var(--bs-ico) center / contain no-repeat;
}
body.index .s-block--store-features .s-block--features__item:nth-child(4n+1) { --bs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.5 12 3.5l8.5 7V20a.5.5 0 0 1-.5.5h-5v-6h-6v6H4a.5.5 0 0 1-.5-.5z'/%3E%3Cpath d='M17 4.5v3'/%3E%3C/svg%3E"); }
body.index .s-block--store-features .s-block--features__item:nth-child(4n+2) { --bs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 5-13.5 15-14.5 0 10.5-5 15.5-13 15.5'/%3E%3Cpath d='M5 19 13.5 10.5'/%3E%3C/svg%3E"); }
body.index .s-block--store-features .s-block--features__item:nth-child(4n+3) { --bs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.2 8.3 7.5 9.5 4.3-1.2 7.5-4.9 7.5-9.5V6z'/%3E%3Cpath d='m8.8 12.2 2.3 2.3 4.3-4.6'/%3E%3C/svg%3E"); }
body.index .s-block--store-features .s-block--features__item:nth-child(4n+4) { --bs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 16.5h5V6.5H6.5'/%3E%3Cpath d='M14 9.5h3.5l3 3.5v3.5h-1.8'/%3E%3Ccircle cx='7.3' cy='16.8' r='1.7'/%3E%3Ccircle cx='17' cy='16.8' r='1.7'/%3E%3Cpath d='M2 9h4M3 12h3'/%3E%3C/svg%3E"); }
body.index .s-block--store-features h2 {
  margin: 0 !important;
  color: #fff !important;
  font: 500 17px/24px var(--bs-font) !important;
  letter-spacing: -.025em;
}
body.index .s-block--store-features p { display: none !important; }   /* design has titles only */
/* Figma copy for the 4 items (the editor only allows 3 → the 4th is drawn
   below). Edit the texts here; editor titles are ignored. */
body.index .s-block--store-features {
  --bs-ft1: "مناسبة لكل أجواء المنزل";
  --bs-ft2: "روائح مميزة وفاخرة";
  --bs-ft3: "جودة عالية مضمونة";
  --bs-ft4: "شحن سريع وآمن";
}
body.index .s-block--store-features .s-block--features__item:nth-child(1) { --bs-ft: var(--bs-ft1); }
body.index .s-block--store-features .s-block--features__item:nth-child(2) { --bs-ft: var(--bs-ft2); }
body.index .s-block--store-features .s-block--features__item:nth-child(3) { --bs-ft: var(--bs-ft3); }
body.index .s-block--store-features .s-block--features__item:nth-child(4) { --bs-ft: var(--bs-ft4); }
body.index .s-block--store-features h2 { font-size: 0 !important; line-height: 0 !important; }
body.index .s-block--store-features h2::after {
  content: var(--bs-ft);
  font: 500 17px/24px var(--bs-font);
  letter-spacing: -.025em;
  color: #fff;
}
/* 4th item (truck) — CSS-only, shown while the block has 3 items */
body.index .s-block--store-features > div::after {
  content: var(--bs-ft4);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 62px 16px 8px;               /* 40 icon + 14 gap + 8 */
  text-align: center;
  font: 500 17px/24px var(--bs-font);
  letter-spacing: -.025em;
  color: #fff;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 16.5h5V6.5H6.5'/%3E%3Cpath d='M14 9.5h3.5l3 3.5v3.5h-1.8'/%3E%3Ccircle cx='7.3' cy='16.8' r='1.7'/%3E%3Ccircle cx='17' cy='16.8' r='1.7'/%3E%3Cpath d='M2 9h4M3 12h3'/%3E%3C/svg%3E") center 8px / 40px 40px no-repeat;
}
body.index .s-block--store-features > div:has(> .s-block--features__item:nth-child(4))::after { display: none; }


/* ---------------------------------------------------------------------
   05. SECTION TITLES — centered, white
   square-photos title: 42px with arrow lines both sides (Figma 15:933)
   --------------------------------------------------------------------- */
body.index .s-block__title { display: flex; justify-content: center; margin-bottom: 40px !important; }
body.index .s-block__title .right-side { display: flex; align-items: center; justify-content: center; gap: 17px; width: 100%; }
body.index .s-block__title h2 {
  margin: 0 !important;
  color: #fff !important;
  font: 500 42px/1.2 var(--bs-font) !important;
  text-align: center;
  white-space: nowrap;
}
body.index .s-block--square-photos .s-block__title .right-side::before,
body.index .s-block--square-photos .s-block__title .right-side::after {
  content: "";
  flex: 0 1 212px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 212 15'%3E%3Cpath d='M1 7.5h210M7.5 1 1 7.5 7.5 14' fill='none' stroke='%23fff' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
body.index .s-block--square-photos .s-block__title .right-side::before { transform: scaleX(-1); }   /* RTL: ::before = right side, arrow points outward */

/* ---------------------------------------------------------------------
   06. SHOP BY CATEGORY — square-photos (1226532600), 3 composed cards
   Each item = composed export (image + gradient + EN title + AR subtitle
   + arrow baked in). Leave the item text EMPTY in the editor.
   The uploaded exports are 466×466: Figma added the card's drop-shadow
   margin (38px sides, 13px top, 63px bottom) around the 389×390 card.
   --bs-cat-crop zooms in on the card only. If you re-export WITHOUT the
   shadow (recommended, @2x 778×780), set --bs-cat-size:cover and
   --bs-cat-pos:center.
   --------------------------------------------------------------------- */
body.index .s-block--square-photos { --bs-cat-size: 119.8% auto; --bs-cat-pos: 50% 17.1%; }
body.index .s-block--square-photos { max-width: 1280px; margin-inline: auto; padding-inline: 32px; }
body.index .s-block--square-photos > .grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}
body.index .s-block--square-photos .banner-entry,
body.index .s-block--square-photos .banner-entry:nth-child(n) {
  position: relative;
  display: block !important;
  align-self: start;
  width: 100%;
  height: 0 !important; min-height: 0 !important;
  padding: 0 0 calc(100% / (var(--bs-r-cat))) 0 !important;   /* height from width = fixed ratio */
  grid-column: auto !important; grid-row: auto !important;
  border: 1px solid rgba(31, 43, 62, .3);
  border-radius: 28px !important;
  overflow: hidden;
  background-color: #0d1624 !important;
  background-size: var(--bs-cat-size) !important;
  background-position: var(--bs-cat-pos) !important;
  background-repeat: no-repeat !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s;
}
body.index .s-block--square-photos .banner-entry::after { display: none !important; }   /* theme hover overlay */
/* if an item DOES get text: caption at the bottom, design type */
body.index .s-block--square-photos h3.text-with-border {
  position: absolute; inset: auto 0 28px 0;
  margin: 0; padding: 0 16px;
  border: 0 !important;
  color: rgba(255, 255, 255, .95) !important;
  font: 500 24px/32px var(--bs-font) !important;
  text-align: center;
  z-index: 1;
}
@media (hover: hover) and (pointer: fine) {
  body.index .s-block--square-photos .banner-entry:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -14px rgba(0, 0, 0, .5); }
}

/* ---------------------------------------------------------------------
   07. PRODUCT SLIDERS — products-slider ×2 (مختارات Basant · الاكثر مبيعا)
   Head: title right 30px · "عرض الكل ←" left. 4 per view, 28px gutter.
   --------------------------------------------------------------------- */
body.index .s-products-carousel__head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding-bottom: 4px;
}
body.index .s-products-carousel__title {
  color: #fff !important;
  font: 500 30px/36px var(--bs-font) !important;
  letter-spacing: -.025em;
  margin: 0;
}
body.index .s-products-carousel .s-block__display-all {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff !important;
  font: 500 16px/24px var(--bs-font) !important;
  opacity: .9; transition: opacity .2s, gap .2s;
}
body.index .s-products-carousel .s-block__display-all:hover { opacity: 1; gap: 12px; }
body.index .s-products-carousel .s-block__display-all i { color: #fff !important; font-size: 16px; }
body.index .s-products-carousel .scroll-carousel__head { margin-bottom: 32px; }
body.index .s-products-carousel .scroll-carousel__nav button {
  width: 40px; height: 40px; border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .35) !important;
  background: transparent !important; color: #fff !important;
}
body.index .s-products-carousel .scroll-carousel__nav button:disabled { opacity: .35; }
body.index .s-products-carousel .scroll-carousel__count { color: rgba(255, 255, 255, .7); }
body.index .carousel-dots__dot { background: rgba(255, 255, 255, .3) !important; }
body.index .carousel-dots__dot.is-active { background: #fff !important; }

body.index .s-products-carousel .scroll-carousel__track { gap: 28px !important; }
@media (min-width: 1440px) {   /* Figma product rows: 1344 wide (48px side padding) */
  body.index .s-block--products-slider { max-width: 1344px; margin-inline: auto; }
  body.index .s-block--products-slider .s-products-carousel,
  body.index .s-block--products-slider .container { max-width: none !important; padding-inline: 0 !important; }
}
@media (min-width: 1024px) {
  body.index .s-products-carousel__slide { flex: 0 0 calc(25% - 21px) !important; width: auto !important; max-width: none !important; }
}

/* ---------------------------------------------------------------------
   08. PRODUCT CARD (home only) — glass navy card, 4:5 photo, pill button
   --------------------------------------------------------------------- */
body.index main .s-product-card.s-product-card-vertical {
  background: var(--bs-card) !important;
  border: 1px solid var(--bs-card-border) !important;
  border-radius: 16px !important;
  padding: 19px 16px !important;
  box-shadow: none !important;
  justify-content: space-between;
  height: 100%;
}
body.index main .s-product-card .s-product-card-image {
  border-radius: 20px !important;
  overflow: hidden;
  background: var(--bs-img-bg);
}
body.index main .s-product-card .s-product-card-image a > div { aspect-ratio: var(--bs-r-product) !important; }
body.index main .s-product-card .s-product-card-image img { width: 100%; height: 100% !important; object-fit: cover !important; }
body.index main .s-product-card .s-product-card-content { padding: 16px 0 0 !important; background: transparent !important; text-align: center; }
body.index main .s-product-card .s-product-card-content-main { justify-content: center; text-align: center; }
body.index main .s-product-card .s-product-card-content-title,
body.index main .s-product-card .s-product-card-content-title a {
  color: #fff !important;
  font: 500 16px/22px var(--bs-font) !important;
  text-align: center !important;
  width: 100%;
}
body.index main .s-product-card .s-product-card-content-sub { justify-content: center !important; margin-top: 8px; }
body.index main .s-product-card .s-product-card-price,
body.index main .s-product-card .s-product-card-sale-price,
body.index main .s-product-card .s-product-card-sale-price h4 {
  color: #fff !important;
  font: 500 20px/28px var(--bs-font) !important;
  justify-content: center;
}
body.index main .s-product-card .s-product-card-price i,
body.index main .s-product-card .s-product-card-sale-price i { font-size: 15px; color: #fff !important; }
body.index main .s-product-card .s-product-card-sale-price span { color: rgba(255, 255, 255, .6) !important; font-size: 14px; }
body.index main .s-product-card .s-product-card-content-footer {
  display: flex !important; align-items: center; gap: 10px !important;
  padding-top: 8px; margin-top: 8px;
}
body.index main .s-product-card .s-product-card-content-footer > div:first-child { flex: 1 1 auto; min-width: 0; }
body.index main .s-product-card salla-add-product-button,
body.index main .s-product-card salla-add-product-button > div,
body.index main .s-product-card salla-add-product-button salla-button { display: block; width: 100%; }
body.index main .s-product-card salla-add-product-button .s-button-btn {
  width: 100%; height: 48px;
  border-radius: 9999px !important;
  background: var(--bs-btn) !important;
  border: 1px solid #fff !important;
  color: var(--bs-ink) !important;
  font: 500 14px/20px var(--bs-font) !important;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  transition: background-color .2s, transform .15s;
}
body.index main .s-product-card salla-add-product-button .s-button-btn:hover { background: var(--bs-btn-hover) !important; }
body.index main .s-product-card salla-add-product-button .s-button-btn:active { transform: scale(.98); }
body.index main .s-product-card .s-product-card-content-footer .s-product-card-wishlist-btn {
  width: 48px !important; height: 48px !important; flex: none;
  border-radius: 9999px !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  color: var(--bs-ink) !important;
  display: flex !important; align-items: center; justify-content: center;
}
body.index main .s-product-card .s-product-card-content-footer .s-product-card-wishlist-btn i { font-size: 20px; color: var(--bs-ink) !important; }
body.index main .s-product-card .s-product-card-content-footer .s-product-card-wishlist-btn.is-added i,
body.index main .s-product-card .s-product-card-content-footer .s-product-card-wishlist-btn[aria-pressed="true"] i { color: var(--bs-accent) !important; }
@media (hover: hover) and (pointer: fine) {
  body.index main .s-product-card.s-product-card-vertical { transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s; }
  body.index main .s-product-card.s-product-card-vertical:hover { transform: translateY(-5px); box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .6) !important; }
  body.index main .s-product-card .s-product-card-image img { transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
  body.index main .s-product-card:hover .s-product-card-image img { transform: scale(1.05); }
}

/* ---------------------------------------------------------------------
   09. TESTIMONIALS — "بعض الاراء من عملائنا" (Figma 1:848)
   Block: custom-testimonials (901138995) — React markup:
   .s-testimonials > .scroll-carousel > __head (h2 + nav) + __track >
   figure.testimonial-card (head: quote svg + stars · blockquote ·
   figcaption: avatar + name).
   Figma: no section fill (page navy shows through), white title 30px
   centred, 3 white cards. Card grid (RTL, col 1 = right):
     row 1: ” (col 1) · text (col 2–3)
     row 2: avatar (col 1) · name (col 2) · stars (col 3, far left),
            under a #f1f5f9 hairline.
   --------------------------------------------------------------------- */
body.index .s-block--custom-testimonials,
body.index .s-block--custom-testimonials.s-block--full-bg {
  --bs-testi-title: "بعض الاراء من عملائنا";
  background: transparent !important;          /* theme full-bg = #f9fafb → Figma has none */
  padding: 52px 0 !important;
}
body.index .s-block--custom-testimonials .s-testimonials { max-width: 1280px; margin-inline: auto; padding-inline: 32px !important; }

/* title — the block's title field can't be trusted to match → Figma text via CSS */
body.index .s-block--custom-testimonials .scroll-carousel__head { justify-content: center !important; margin: 0 0 42px !important; padding: 0 !important; }
body.index .s-block--custom-testimonials .scroll-carousel__heading { flex: 0 1 auto; text-align: center; }
body.index .s-block--custom-testimonials .s-testimonials__title { font-size: 0 !important; line-height: 0 !important; margin: 0 !important; }
body.index .s-block--custom-testimonials .s-testimonials__title::after {
  content: var(--bs-testi-title);
  display: block; font-size: 30px; line-height: 36px; letter-spacing: -.75px;
  font-weight: 500; color: #fff; text-align: center;
}
body.index .s-block--custom-testimonials .scroll-carousel__nav { display: none !important; }

/* track: 3 equal cards, scroll for more */
body.index .s-block--custom-testimonials .scroll-carousel__track { display: flex !important; gap: 24px !important; padding: 0 0 4px !important; margin: 0 !important; scroll-snap-type: x mandatory; }
body.index .s-block--custom-testimonials .testimonial-card { flex: 0 0 calc((100% - 48px) / 3) !important; max-width: none !important; scroll-snap-align: start; }

/* card */
body.index .s-block--custom-testimonials .testimonial-card {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  column-gap: 12px; row-gap: 0;
  margin: 0 !important;
  padding: 25px !important;
  background: #fff !important;
  border: 1px solid rgba(226, 232, 240, .9) !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05) !important;
  min-height: 200px;
  color: #334155;
}
body.index .s-block--custom-testimonials .testimonial-card__head,
body.index .s-block--custom-testimonials .testimonial-card__person { display: contents !important; }

/* row 1 — quote mark + text */
body.index .s-block--custom-testimonials .testimonial-card__quote {
  grid-column: 1; grid-row: 1; justify-self: start; align-self: start;
  width: 12px !important; height: 10px !important; margin-top: 4px;
  color: #94a3b8 !important;
}
body.index .s-block--custom-testimonials .testimonial-card__quote path { fill: currentColor !important; }
body.index .s-block--custom-testimonials .testimonial-card__text {
  grid-column: 1 / 4; grid-row: 1; margin: 0 !important;
  padding: 0 0 16px !important; padding-inline-start: 20px !important;   /* Figma: text sits 8px past the ” */ border: 0 !important; quotes: none;
  font-size: 15px !important; line-height: 24.38px !important; font-weight: 500;
  color: #334155 !important; text-align: start; font-style: normal;
}
body.index .s-block--custom-testimonials .testimonial-card__text::before,
body.index .s-block--custom-testimonials .testimonial-card__text::after { content: none !important; }

/* row 2 — hairline, avatar + name (right) · stars (left) */
body.index .s-block--custom-testimonials .testimonial-card::before {
  content: ""; grid-column: 1 / -1; grid-row: 2; align-self: start;
  border-top: 1px solid #f1f5f9;
}
body.index .s-block--custom-testimonials .testimonial-card__avatar,
body.index .s-block--custom-testimonials .testimonial-card__name,
body.index .s-block--custom-testimonials .testimonial-card__stars { grid-row: 2; align-self: center; margin-top: 17px !important; }
body.index .s-block--custom-testimonials .testimonial-card__avatar {
  grid-column: 1; width: 44px !important; height: 44px !important;
  border-radius: 9999px !important; border: 1px solid #f1f5f9; object-fit: cover; background: #f6f5f3;
}
body.index .s-block--custom-testimonials .testimonial-card__name {
  grid-column: 2; justify-self: start;
  font-size: 14px !important; line-height: 20px; font-weight: 500 !important; color: var(--bs-accent) !important;
}
body.index .s-block--custom-testimonials .testimonial-card__stars { grid-column: 3; justify-self: end; display: flex !important; gap: 2px; }
body.index .s-block--custom-testimonials .testimonial-card__stars svg { width: 16px !important; height: 16px !important; color: var(--bs-star) !important; fill: var(--bs-star) !important; }
@media (max-width: 1023.98px) {
  body.index .s-block--custom-testimonials { padding: 36px 0 !important; }
  body.index .s-block--custom-testimonials .s-testimonials { padding-inline: 16px !important; }
  body.index .s-block--custom-testimonials .scroll-carousel__head { margin-bottom: 24px !important; }
  body.index .s-block--custom-testimonials .s-testimonials__title::after { font-size: 24px; line-height: 32px; }
  body.index .s-block--custom-testimonials .testimonial-card { flex: 0 0 min(85%, 360px) !important; min-height: 0; padding: 20px !important; }
  body.index .s-block--custom-testimonials .carousel-dots { margin-top: 16px !important; }
}
@media (min-width: 1024px) { body.index .s-block--custom-testimonials .carousel-dots { display: none !important; } }
/* ---------------------------------------------------------------------
   10. FOOTER (store-wide) — navy, purple hairlines, 4 Figma columns
   RTL: Brand (logo · slogan · social · SBC + commercial register — kept,
   required) | روابط سريعة (footer menu) | خدماتنا | وسائل الدفع المقبولة.
   "خدماتنا" + the payments column are added by basant-snippet.js; once
   they exist the theme's "تواصل معنا" column and bottom-bar payments are
   hidden (phone moves to the top bar, as in Figma). Without the snippet
   the theme columns stay as they are.
   --------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .app-inner .store-footer .store-footer__inner > .container {
    max-width: 1280px; padding-inline: 32px;
    grid-auto-flow: row !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 32px !important;
  }
  .app-inner .store-footer .store-footer__inner > .container > * { grid-column: auto !important; padding: 0 !important; }
}
.app-inner .store-footer .store-footer__brand { order: 1; }
.app-inner .store-footer .store-footer__links { order: 2; }
.app-inner .store-footer .bs-footer-services { order: 3; }
.app-inner .store-footer .store-footer__contact-list { order: 4; }
.app-inner .store-footer .bs-footer-payments { order: 5; }
.app-inner .store-footer:has(.bs-footer-services) .store-footer__contact-list { display: none !important; }
.app-inner .store-footer:has(.bs-footer-payments) .store-footer__bottom > div:has(salla-payments) { display: none !important; }
.app-inner .store-footer .bs-footer-services ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.app-inner .store-footer .bs-footer-services li,
.app-inner .store-footer .bs-footer-services a { color: #fff !important; font: 500 12px/16px var(--bs-font); }
.app-inner .store-footer .bs-footer-services a:hover { opacity: .75; }
.app-inner .store-footer .bs-footer-payments .s-payments-list { justify-content: flex-start !important; }
.app-inner .store-footer,
.app-inner .store-footer .store-footer__inner {
  background: var(--bs-navy-deep) !important;
  background-image: none !important;
  color: #fff;
}
.app-inner .store-footer { border-top: 1px solid var(--bs-line); margin-top: 64px !important; }
body.index .app-inner .store-footer { margin-top: var(--bs-gap-section) !important; }
.app-inner .store-footer .store-footer__inner {
  border: 0 !important;
  padding-top: 49px !important; padding-bottom: 0 !important;
}
/* Figma divider sits inside the 1280 container, not full width */
.app-inner .store-footer .store-footer__inner > .container {
  padding-bottom: 41px !important;
  border-bottom: 1px solid var(--bs-line-soft);
}
.app-inner .store-footer .store-footer__inner > .container { column-gap: 32px; }
.app-inner .store-footer h3,
.app-inner .store-footer .bs-footer-title {
  color: #fff !important;
  font: 500 14px/20px var(--bs-font) !important;
  margin-bottom: 16px !important;
}
.app-inner .store-footer .store-footer__logo img { height: 48px; max-width: 170px; }
.app-inner .store-footer .store-footer__desc { opacity: 1 !important; margin: 15px 0 !important; }
.app-inner .store-footer .store-footer__desc,
.app-inner .store-footer .store-footer__desc p { color: #fff !important; font: 500 12px/19.5px var(--bs-font) !important; }

.app-inner .store-footer .s-menu-footer-list { display: grid !important; gap: 8px; }
.app-inner .store-footer .s-menu-footer-item,
.app-inner .store-footer .s-contacts-item {
  color: #fff !important;
  font: 500 12px/16px var(--bs-font) !important;
  transition: opacity .2s, padding .2s;
}
.app-inner .store-footer .s-menu-footer-item:hover { opacity: .75; padding-inline-start: 4px; }
.app-inner .store-footer .s-contacts-list { gap: 10px; }
.app-inner .store-footer .s-contacts-icon { color: #fff !important; }

.app-inner .store-footer .s-social-list { display: flex; gap: 12px; }
.app-inner .store-footer .s-social-link a {
  width: 32px; height: 32px;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, .1) !important;
  border: 0 !important;
  display: flex; align-items: center; justify-content: center;
  color: #fff !important;
  transition: background-color .2s;
}
.app-inner .store-footer .s-social-link a:hover { background: rgba(255, 255, 255, .2) !important; }
.app-inner .store-footer .s-social-link svg { width: 14px; height: 14px; fill: #fff; }

/* trust: SBC + commercial register — keep readable */
.app-inner .store-footer .store-footer__trust { margin-top: 8px; }
.app-inner .store-footer .store-footer__trust,
.app-inner .store-footer .store-footer__trust * { color: #fff !important; }
.app-inner .store-footer .s-trust-badges-label { opacity: .7; font-size: 12px; }
.app-inner .store-footer .s-trust-badges-number { font-size: 14px; letter-spacing: .02em; }

/* bottom bar */
.app-inner .store-footer .store-footer__bottom {
  display: flex !important; flex-direction: column-reverse; align-items: center;
  gap: 14px; padding-top: 24px !important; padding-bottom: 32px !important;
  text-align: center;
}
.app-inner .store-footer .copyright-text,
.app-inner .store-footer .copyright-text a { color: var(--bs-copy) !important; font: 500 12px/16px var(--bs-font) !important; }
/* Figma: "جميع الحقوق محفوظة © year" only → hide store-name link + Salla credit */
.app-inner .store-footer .copyright-text > a,
.app-inner .store-footer .copyright-text [data-testid="store-footer-salla-badge"],
.app-inner .store-footer .copyright-text .ms-2 { display: none !important; }
.app-inner .store-footer .store-footer__bottom { max-width: 1280px; padding-inline: 32px !important; border: 0 !important; }
.app-inner .store-footer .s-payments-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.app-inner .store-footer .s-payments-list-item {
  background: #fff !important;
  border-radius: 4px !important;
  height: 24px; min-width: 44px; padding: 3px 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.app-inner .store-footer .s-payments-list-item img { max-height: 16px; width: auto; }

/* ---------------------------------------------------------------------
   11. SCROLL REVEAL (CSS-only; off with reduced motion)
   --------------------------------------------------------------------- */
@supports (animation-timeline: view()) {
  @keyframes bs-reveal { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
  body.index main#main-content > section.s-block:not(:first-of-type):not(.s-block--store-features) {
    animation: bs-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.index *, body.index *::before, body.index *::after { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------------------
   12. TABLET + MOBILE (< 1024px) — no mobile design; adapted from desktop
   Header: theme layout (burger · logo · icons) in navy; search + cart live
   in the theme's bottom bar on phones.
   --------------------------------------------------------------------- */
@media (max-width: 1023px) {
  :root { --bs-gap-section: 36px; }
  .app-inner .site-header__topnav-inner { min-height: 40px; }
  .app-inner .site-header__topnav-menu a { font-size: 12px !important; }
  .app-inner .site-header__brand img { height: 40px; }

  body.index .s-block--store-features { padding: 24px 16px; }
  body.index .s-block--store-features > div { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 20px !important; }
  body.index .s-block--store-features .feature-icon::before { width: 34px; height: 34px; }
  body.index .s-block--store-features h2 { font-size: 15px !important; line-height: 22px !important; }
  body.index .s-block--store-features .feature-icon { margin-bottom: 10px !important; }

  body.index .s-block__title h2 { font-size: 30px !important; }
  body.index .s-block--square-photos .s-block__title .right-side::before,
  body.index .s-block--square-photos .s-block__title .right-side::after { flex-basis: 90px; }
  body.index .s-block--square-photos { padding-inline: 16px; }
  body.index .s-block--square-photos > .grid { gap: 16px !important; }
  body.index .s-block--square-photos .banner-entry,
  body.index .s-block--square-photos .banner-entry:nth-child(n) { border-radius: 20px !important; }

  body.index .s-products-carousel__title { font-size: 24px !important; line-height: 30px !important; }
  body.index .s-products-carousel .s-block__display-all { font-size: 14px !important; }
  body.index .s-products-carousel .scroll-carousel__head { margin-bottom: 20px; }
  body.index .s-products-carousel .scroll-carousel__track { gap: 14px !important; }
  body.index .s-products-carousel__slide { flex: 0 0 calc(33.333% - 10px) !important; max-width: none !important; }

  body.index .s-block--testimonial .s-reviews-header,
  body.index .s-block--testimonial h2 { font-size: 24px !important; margin-bottom: 24px; }
}
@media (max-width: 767px) {
  body.index .s-block--fixed-banner img { aspect-ratio: var(--bs-r-banner-m); }
  body.index .s-block--fixed-banner:has(a[href*="page-1353651207"]) > .container { padding-inline: 16px !important; }
  body.index .s-block--fixed-banner:has(a[href*="page-1353651207"]) .banner--fixed { border-radius: 16px !important; }

  body.index .s-block__title { margin-bottom: 22px !important; }
  body.index .s-block__title h2 { font-size: 24px !important; }
  body.index .s-block__title .right-side { gap: 10px; }
  body.index .s-block--square-photos .s-block__title .right-side::before,
  body.index .s-block--square-photos .s-block__title .right-side::after { flex-basis: 48px; }
  body.index .s-block--square-photos > .grid { grid-template-columns: 1fr !important; max-width: 420px; margin-inline: auto; }

  /* 2 cards per view + a peek of the 3rd */
  body.index .s-products-carousel__slide { flex: 0 0 calc(46% - 7px) !important; }
  body.index main .s-product-card.s-product-card-vertical { padding: 10px !important; border-radius: 14px !important; }
  body.index main .s-product-card .s-product-card-image { border-radius: 12px !important; }
  body.index main .s-product-card .s-product-card-content { padding-top: 10px !important; }
  body.index main .s-product-card .s-product-card-content-title,
  body.index main .s-product-card .s-product-card-content-title a { font-size: 13px !important; line-height: 19px !important; }
  body.index main .s-product-card .s-product-card-price,
  body.index main .s-product-card .s-product-card-sale-price h4 { font-size: 16px !important; line-height: 22px !important; }
  body.index main .s-product-card .s-product-card-content-footer { gap: 6px !important; }
  body.index main .s-product-card salla-add-product-button .s-button-btn { height: 38px; font-size: 12px !important; padding-inline: 6px; }
  body.index main .s-product-card .s-product-card-content-footer .s-product-card-wishlist-btn { width: 38px !important; height: 38px !important; }
  body.index main .s-product-card .s-product-card-content-footer .s-product-card-wishlist-btn i { font-size: 16px; }

  .app-inner .store-footer .store-footer__inner { padding-top: 32px !important; padding-bottom: 28px !important; text-align: center; }
  .app-inner .store-footer .store-footer__brand { display: flex; flex-direction: column; align-items: center; }
  .app-inner .store-footer .store-footer__desc { margin-inline: auto !important; }
  .app-inner .store-footer .store-footer__trust { justify-content: center; }
  .app-inner .store-footer .s-social-list { justify-content: center; }
  .app-inner .store-footer .s-menu-footer-list,
  .app-inner .store-footer .bs-footer-services ul { justify-items: center; }
  .app-inner .store-footer .bs-footer-payments .s-payments-list { justify-content: center !important; }
  .app-inner .store-footer .s-contacts-list { align-items: center; }
  .app-inner .store-footer .store-footer__bottom { padding-bottom: calc(32px + 64px) !important; }   /* clear the mobile bottom bar */
}
/* carousel dots on phones (sliders + testimonials): 24px tap target, small
   dot drawn by ::before; the button itself stays transparent */
body.index .carousel-dots { display: flex; justify-content: center; gap: 2px; background: none !important; }
body.index .carousel-dots__dot { width: 24px !important; height: 24px !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; display: grid !important; place-items: center; }
body.index .carousel-dots__dot::before { content: "" !important; display: block !important; width: 6px !important; height: 6px !important; border-radius: 99px !important; background: rgba(255, 255, 255, .35) !important; transition: width .25s; }
body.index .carousel-dots .carousel-dots__dot.is-active,
body.index .carousel-dots .carousel-dots__dot[aria-current] { background: none !important; }   /* theme paints the active button white */
body.index .carousel-dots__dot.is-active::before { width: 18px !important; background: #fff !important; }

/* footer on phones: the theme hides .store-footer__inner below lg →
   commercial register + VAT + links vanished. Keep it visible. */
@media (max-width: 1023.98px) { .store-footer .store-footer__inner { display: block !important; } }

/* ========================== END v1.0 ========================== */