/* خط IBM Plex Sans Arabic صار مرفوع كخط المتجر بسلة، فمن جوجل بس Amiri للعناوين */
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&display=swap');

/* =========================================================
   قرة QÖRRA · ثيم رائد على سلة
   نسخة الفاتح فقط
   ========================================================= */

/* ---------- ١) الألوان والخطوط ---------- */
:root {
  --q-bg: #F7F2E8;
  --q-alt: #EFE5D3;
  --q-surface: #FFFDF8;
  --q-text: #2B1A1E;
  --q-heading: #5B2333;
  --q-muted: #6B575B;
  --q-primary: #5B2333;
  --q-on-primary: #F7F2E8;
  --q-gold: #A8844F;
  --q-gold-soft: #D8C09A;
  --q-line: rgba(91, 35, 51, .14);
  --q-band: #5B2333;
  --q-band-text: #F3E7D6;

  --color-primary: var(--q-primary);
  --color-primary-dark: #45192A;
  --color-primary-light: #7A3A4E;
  --color-primary-reverse: var(--q-on-primary);
  --main-text-color: var(--q-text);
  --color-text: var(--q-muted);
  --color-grey: var(--q-alt);
  --color-light-grey: var(--q-alt);
  --bg-gray: var(--q-alt);
  --color-surface: var(--q-surface);
  --color-surface-secondary: var(--q-alt);
  --color-surface-disabled: var(--q-alt);
  --color-text-primary: var(--q-text);
  --color-text-secondary: var(--q-muted);
  --color-main: var(--q-text);
  --color-grey-dark: var(--q-muted);
  --color-border: var(--q-line);
  --color-border-light: var(--q-line);
  --color-border-hover: var(--q-gold);
  --color-hover: var(--q-alt);

  --font-main: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --q-font-display: 'Amiri', 'Times New Roman', serif;
  --s-radius: 4px;

  --q-logo-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2931 1491'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M1156 1486C1127 1481 1096 1467 1058 1443C1037 1429 1029 1426 1015 1426C1007 1426 999 1428 991 1432L984 1435L989 1431C991 1429 996 1426 1000 1425C1005 1423 1006 1422 1004 1421C973 1410 952 1386 944 1355C942 1345 942 1325 945 1314C958 1265 1008 1235 1056 1247C1096 1257 1124 1293 1124 1334C1124 1356 1115 1378 1100 1394C1089 1406 1076 1415 1061 1420C1057 1421 1054 1423 1054 1423C1053 1423 1113 1453 1130 1460C1142 1465 1158 1470 1177 1475L1193 1479L1211 1476C1221 1475 1229 1474 1230 1474C1231 1475 1214 1483 1206 1485C1196 1488 1169 1489 1156 1486ZM1337 1424C1312 1422 1287 1407 1272 1385C1267 1379 1261 1365 1259 1356C1256 1345 1256 1324 1259 1312C1269 1273 1302 1246 1342 1244C1370 1243 1393 1253 1412 1273C1426 1287 1433 1304 1436 1323C1439 1346 1432 1372 1417 1390C1398 1415 1369 1427 1337 1424ZM1049 1419C1078 1413 1098 1387 1104 1352C1109 1316 1092 1273 1065 1257C1053 1250 1047 1249 1034 1249C1019 1249 1012 1250 1001 1256C983 1265 971 1283 964 1309C962 1315 962 1319 962 1333C962 1347 962 1351 964 1358C970 1381 983 1400 1000 1411C1015 1421 1030 1424 1049 1419ZM1717 1420C1709 1418 1701 1413 1695 1407C1692 1404 1680 1387 1668 1369L1646 1336L1628 1336L1609 1336L1609 1357C1609 1368 1610 1386 1610 1395L1610 1413L1619 1417C1624 1419 1629 1420 1629 1421C1629 1421 1617 1421 1602 1421C1578 1421 1575 1421 1578 1420C1584 1417 1589 1414 1591 1412C1593 1410 1593 1406 1593 1333C1593 1270 1592 1256 1591 1254C1590 1252 1588 1250 1584 1249C1581 1248 1578 1247 1576 1246C1575 1245 1589 1245 1615 1245C1653 1246 1656 1246 1663 1248C1680 1252 1691 1260 1696 1271C1698 1276 1698 1278 1698 1288C1698 1297 1698 1299 1696 1304C1691 1314 1682 1323 1667 1330L1660 1334L1666 1341C1670 1344 1682 1360 1692 1374C1703 1389 1714 1404 1717 1406C1721 1411 1734 1418 1737 1418C1737 1418 1739 1419 1741 1419L1744 1420L1740 1421C1733 1422 1724 1422 1717 1420ZM1869 1418C1881 1413 1880 1424 1880 1334C1880 1244 1881 1252 1869 1248L1862 1245L1905 1245L1948 1246L1956 1248C1974 1255 1983 1265 1986 1282C1989 1299 1978 1318 1960 1327C1955 1329 1951 1331 1950 1331C1949 1331 1948 1331 1948 1332C1948 1333 2000 1402 2004 1407C2008 1411 2015 1415 2024 1418L2032 1421L2016 1421C1990 1420 1990 1420 1958 1373L1934 1337L1922 1337C1915 1336 1907 1336 1903 1336L1897 1336L1897 1374C1898 1418 1897 1414 1910 1418L1916 1421L1889 1421L1862 1421L1869 1418ZM2140 1419C2144 1417 2147 1415 2150 1412C2155 1407 2157 1403 2192 1325C2212 1280 2229 1243 2229 1243C2229 1243 2246 1280 2266 1326C2286 1371 2303 1410 2304 1411C2305 1413 2309 1415 2320 1420C2322 1421 2316 1421 2294 1421L2266 1421L2272 1419C2279 1416 2284 1412 2284 1411C2284 1410 2279 1398 2273 1383L2263 1357L2222 1357L2182 1357L2171 1383C2166 1397 2161 1409 2161 1411C2161 1413 2165 1416 2173 1419C2176 1419 2178 1420 2178 1421C2178 1421 2168 1421 2156 1421L2134 1421L2140 1419ZM1370 1416C1393 1408 1411 1384 1417 1353C1419 1341 1418 1322 1415 1310C1406 1278 1384 1255 1358 1249C1349 1248 1334 1248 1326 1251C1295 1260 1275 1291 1275 1332C1275 1360 1283 1381 1302 1400C1311 1409 1319 1414 1331 1417C1340 1420 1362 1419 1370 1416ZM2256 1353L2260 1352L2241 1310C2231 1287 2222 1268 2222 1268C2221 1267 2184 1352 2184 1353C2184 1353 2249 1353 2256 1353ZM1651 1330C1671 1324 1681 1309 1680 1287C1679 1271 1672 1260 1660 1254C1647 1247 1632 1246 1615 1249L1609 1250L1609 1262C1609 1268 1609 1287 1610 1303L1610 1332L1614 1332C1622 1333 1645 1332 1651 1330ZM1938 1331C1948 1328 1953 1325 1958 1319C1965 1311 1967 1305 1967 1290C1967 1276 1965 1270 1958 1262C1948 1250 1932 1246 1911 1248C1904 1249 1898 1249 1898 1250C1897 1250 1897 1268 1897 1291L1897 1332L1902 1332C1912 1333 1932 1332 1938 1331ZM476 1252C478 1251 488 1246 499 1240C522 1228 540 1218 554 1209C560 1205 593 1180 629 1153C698 1100 712 1090 740 1071C860 992 968 951 1090 941C1123 939 1183 940 1187 943C1187 944 1179 944 1168 944C1133 944 1093 946 1076 948C980 960 889 993 796 1049C762 1070 742 1083 640 1155C561 1212 565 1209 552 1217C530 1231 509 1241 487 1250C474 1254 472 1255 476 1252ZM1365 1228C1363 1226 1362 1224 1361 1221C1360 1217 1356 1212 1350 1207L1346 1204L1333 1216C1326 1223 1320 1229 1319 1229C1317 1229 1313 1225 1313 1222C1313 1219 1307 1211 1301 1206C1299 1205 1297 1203 1297 1203C1297 1203 1303 1197 1309 1190L1322 1177L1326 1180C1331 1183 1341 1193 1344 1198L1346 1202L1359 1190L1372 1177L1377 1181C1382 1186 1389 1193 1394 1200L1396 1203L1394 1206C1393 1207 1386 1213 1380 1219L1368 1230L1365 1228ZM330 1210C300 1207 276 1199 245 1184C208 1165 173 1142 139 1113C112 1090 70 1046 53 1022C27 986 12 946 6 900C4 885 4 847 6 832C14 774 34 721 67 671C104 616 166 547 237 484C273 452 329 405 331 405C333 406 387 449 398 458C408 467 427 487 436 497C451 517 468 545 475 567C493 621 490 685 465 746C443 801 401 856 352 896C324 919 287 937 254 946C222 953 187 953 161 944C140 937 123 926 108 910C87 889 73 865 67 837C65 824 65 792 68 778C73 756 83 732 97 711C106 697 108 696 105 705C104 709 104 714 104 720C105 736 110 747 125 762C152 790 192 805 246 808C306 811 375 787 419 750C436 735 453 711 453 703C453 694 445 675 436 662C425 646 402 626 383 615C343 591 294 583 247 594C203 603 151 630 112 663C61 706 29 758 17 818C12 839 11 847 12 873C12 893 12 900 14 912C18 936 26 964 34 980C57 1026 106 1059 167 1068C200 1074 249 1075 280 1072C370 1062 468 1031 548 988C589 967 630 940 658 917C677 900 709 864 713 855C715 850 715 822 714 806C710 755 696 713 668 666L666 662L701 614C720 587 736 564 737 564C737 564 738 565 739 567C742 573 755 592 764 602C799 643 856 682 945 726C980 744 1008 756 1040 769C1181 826 1346 867 1526 889C1711 913 1938 917 2144 901C2354 885 2543 849 2689 798C2746 778 2776 762 2808 739C2838 716 2846 706 2855 672C2859 657 2860 657 2857 674C2850 707 2832 743 2805 776C2794 791 2761 824 2742 839C2688 884 2626 922 2557 951C2452 996 2325 1028 2199 1041C2145 1047 2112 1049 2050 1050C1943 1051 1849 1044 1724 1026C1561 1002 1323 950 1132 895C971 850 833 802 765 768C759 765 754 762 754 762C753 762 753 765 753 768C753 793 744 837 732 866C714 913 669 986 625 1042C555 1131 482 1187 414 1205C389 1211 354 1214 330 1210ZM2415 1094C2408 1094 2395 1092 2386 1091C2369 1089 2349 1085 2352 1085C2354 1085 2369 1086 2386 1087C2437 1090 2444 1090 2466 1089C2512 1086 2550 1079 2594 1064C2678 1035 2759 977 2817 905C2845 870 2863 834 2875 790C2884 755 2887 729 2888 692C2888 662 2887 646 2884 622C2874 551 2850 497 2804 444C2769 403 2725 377 2676 369C2664 367 2642 367 2630 369C2602 374 2576 389 2557 411L2551 420L2551 428C2555 484 2633 525 2708 509C2741 502 2769 488 2794 463L2806 451L2808 455C2810 457 2813 463 2817 468C2820 474 2823 479 2823 479C2823 480 2773 549 2761 564C2750 577 2724 603 2711 612C2664 647 2618 654 2575 632C2543 616 2522 587 2515 550C2505 495 2517 435 2549 379C2588 313 2661 254 2718 245C2729 243 2749 243 2760 245C2789 250 2815 266 2839 294C2883 344 2915 434 2926 532C2928 555 2928 618 2926 642C2914 749 2876 844 2814 921C2802 935 2767 971 2754 982C2678 1045 2588 1083 2491 1092C2472 1094 2433 1095 2415 1094ZM236 368L225 360L225 353C225 349 224 344 223 341C222 335 214 323 206 314C198 306 174 286 168 283L164 280L209 232C235 206 256 184 256 184C257 184 272 193 282 200C293 208 316 231 325 243C331 252 344 272 345 274C346 275 367 255 392 230C437 185 438 184 440 185C442 186 446 189 450 192C476 211 499 235 521 267C530 280 531 281 529 282C528 283 507 304 481 328C455 353 433 374 432 375L429 377L416 369L403 360L403 352C402 345 402 342 399 337C396 329 386 317 379 309C372 302 352 286 349 284L346 283L297 330C270 356 247 377 247 377C247 377 242 373 236 368ZM2625 189L2614 181L2614 173C2613 160 2607 148 2594 134C2586 126 2563 106 2557 104C2555 103 2553 101 2553 101C2553 100 2644 5 2645 5C2648 6 2663 15 2671 21C2683 30 2704 51 2714 64C2718 70 2724 80 2728 85L2734 96L2781 50L2827 4L2832 8C2858 25 2886 54 2911 89C2915 95 2919 101 2919 101C2919 101 2896 123 2868 150L2818 198L2805 189L2792 181L2792 173C2791 160 2785 150 2772 135C2766 128 2738 104 2736 104C2735 104 2713 125 2686 150C2660 175 2638 196 2637 197C2636 198 2633 196 2625 189Z'/%3E%3C/svg%3E");
  --q-pattern-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1731 627'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M104 625C70 618 42 574 30 508C27 492 26 455 28 439C33 396 49 353 72 322L78 314L72 306C51 277 37 243 30 203C27 186 26 141 29 124C43 39 83 -8 129 4C161 12 199 51 211 87C217 105 219 129 216 144C210 172 186 189 159 186C136 183 117 168 90 130L75 109L79 103C84 96 84 96 86 99C91 106 108 117 120 121C155 134 197 116 200 89L200 83L193 76C175 57 150 54 121 67C93 78 65 111 54 146C36 200 43 262 73 301L80 311L92 299C125 266 165 245 212 237C233 233 268 233 283 237C286 238 285 238 281 237C278 237 264 237 252 237C232 237 227 237 216 239C168 247 127 269 92 305L83 314L95 326C126 357 165 379 206 387C223 391 234 391 260 391C286 390 287 391 264 393C225 396 181 387 146 369C125 358 100 339 87 323L81 317L77 321C41 363 33 441 60 498C71 521 92 546 111 556C143 574 176 572 196 550C200 545 200 544 200 539C199 527 190 516 175 509C147 496 114 502 90 524L83 531L79 525L75 518L89 499C112 466 124 455 142 446C171 433 204 447 214 477C228 519 204 577 159 609C139 623 121 628 104 625ZM453 625C420 619 381 581 367 542C359 520 357 496 363 478C370 456 390 441 412 441C430 441 452 454 468 472C477 483 502 518 501 519C501 520 499 523 497 526L494 531L486 523C476 514 464 508 452 504C441 501 422 502 412 505C392 512 379 524 377 539C377 543 377 544 381 548C399 570 428 574 459 560C490 545 517 510 527 470C541 416 530 356 501 321L497 317L485 329C440 375 376 398 314 393C290 391 290 390 316 391C344 391 355 390 374 386C415 377 454 355 485 324L494 314L489 308C438 254 373 230 296 237C292 238 292 238 294 237C299 236 317 234 330 234C389 234 445 258 487 300L497 311L503 303C523 278 533 244 533 205C533 158 519 121 490 90C455 54 405 49 381 79C377 84 377 85 377 89C379 101 387 111 401 118C413 124 420 125 434 125C455 125 472 118 488 102L494 97L498 103C500 107 502 110 501 110C496 119 471 152 465 159C446 178 431 186 413 186C397 186 387 182 376 171C366 161 362 151 360 133C355 86 388 32 435 9C454 -1 475 -0 493 11C522 30 545 83 550 143C555 201 537 265 503 308L499 314L506 323C528 353 544 393 549 436C551 450 551 485 549 500C539 564 513 611 479 623C474 625 459 626 453 625ZM683 625C649 619 622 580 609 520C599 474 602 426 618 382C625 361 640 332 652 318L655 314L649 306C609 252 594 176 610 105C619 62 639 26 661 11C670 5 678 3 688 2C704 1 715 5 733 17C763 37 785 69 793 103C795 113 795 135 793 144C786 172 763 189 735 186C712 183 694 168 667 130L652 109L656 103L660 97L666 103C682 118 699 125 720 125C750 125 775 109 777 88L777 83L770 76C752 58 727 54 699 66C678 75 658 94 643 118C621 154 615 205 627 252C631 271 639 287 651 303L657 311L667 301C709 256 769 232 831 234C845 235 864 237 863 238C863 238 854 237 844 237C816 235 796 237 773 243C734 253 699 274 669 304L660 314L668 323C705 360 752 384 802 390C808 391 821 391 837 391C864 390 865 391 840 393C811 395 780 391 752 381C721 371 686 348 665 325L658 317L654 321C617 363 610 445 639 501C660 542 695 568 730 568C747 568 764 561 774 548C777 544 777 543 777 538C775 519 749 502 721 502C701 502 682 510 666 525L660 531L658 527C656 525 655 522 654 521L652 518L665 500C687 470 694 462 710 451C733 436 760 438 778 456C799 477 800 519 782 555C767 585 737 614 711 623C704 625 689 627 683 625ZM1026 625C994 617 957 580 943 540C937 524 935 499 938 484C945 452 976 434 1007 444C1020 449 1039 463 1050 479C1059 490 1078 518 1078 519C1078 519 1077 522 1074 525L1071 531L1065 525C1053 514 1040 507 1025 504C992 497 957 514 954 538C954 543 954 544 958 549C981 578 1030 574 1064 540C1096 508 1112 465 1110 416C1108 378 1098 348 1079 323L1074 317L1062 329C1017 374 953 398 890 393C866 391 868 390 900 390C928 390 932 390 942 388C988 379 1030 356 1063 322L1071 314L1061 304C1026 269 986 247 938 239C927 237 922 237 902 237C890 237 876 237 873 237C869 238 868 238 871 237C886 233 921 233 943 237C990 245 1033 268 1065 302L1074 311L1080 303C1101 275 1109 247 1109 206C1109 183 1108 174 1104 156C1093 116 1064 79 1032 66C1004 54 979 58 961 76L954 83L954 89C956 104 971 119 993 124C1002 126 1018 126 1027 124C1041 120 1058 111 1067 101L1070 97L1072 99C1074 101 1075 104 1077 106L1079 110L1064 130C1037 167 1018 183 996 186C969 189 946 173 939 146C928 102 953 46 999 16C1014 6 1025 2 1039 2C1069 2 1093 25 1110 68C1141 146 1130 239 1082 306L1076 314L1080 320C1123 376 1138 457 1120 530C1106 580 1084 613 1056 623C1049 626 1035 626 1026 625ZM1256 624C1223 616 1195 572 1184 510C1172 443 1188 371 1227 321L1232 314L1229 310C1206 282 1189 240 1182 196C1180 179 1180 143 1183 124C1190 77 1207 40 1230 18C1248 1 1271 -3 1294 8C1331 24 1362 64 1369 104C1371 114 1371 134 1369 144C1362 179 1326 197 1293 180C1282 175 1270 164 1260 152C1256 147 1232 114 1230 110C1229 109 1234 100 1237 97C1237 97 1241 100 1245 104C1254 113 1267 120 1279 123C1312 132 1350 115 1354 89C1354 85 1354 84 1350 79C1333 58 1302 53 1270 68C1259 74 1251 80 1240 92C1213 120 1200 154 1198 198C1197 243 1207 276 1230 306L1234 311L1245 300C1286 258 1342 234 1401 234C1413 234 1432 236 1437 237C1439 238 1439 238 1435 238C1369 231 1314 247 1266 286C1257 293 1237 312 1237 314C1237 316 1263 340 1272 347C1304 370 1340 385 1378 390C1385 391 1397 391 1414 391C1439 390 1439 390 1430 392C1417 394 1384 394 1370 392C1321 384 1276 361 1243 327L1234 317L1231 320C1208 346 1197 383 1198 428C1199 471 1211 503 1236 532C1261 561 1297 575 1324 566C1335 562 1340 558 1348 550L1354 544L1354 539C1352 524 1339 512 1320 505C1309 502 1290 501 1279 504C1267 508 1255 514 1246 523L1237 531L1233 525C1231 522 1229 519 1229 519C1229 518 1254 483 1260 476C1291 438 1329 430 1355 456C1367 468 1371 481 1371 504C1371 530 1362 554 1345 577C1319 612 1283 631 1256 624ZM1603 625C1586 621 1562 604 1546 586C1523 558 1512 529 1513 499C1514 479 1519 467 1529 457C1546 440 1569 437 1590 447C1607 456 1620 468 1641 498L1656 518L1652 525L1648 531L1641 524C1629 513 1616 507 1601 504C1568 497 1533 515 1531 539L1531 545L1538 552C1556 570 1579 573 1608 562C1633 552 1659 524 1673 493C1690 453 1691 396 1675 356C1670 345 1665 335 1657 325L1651 317L1640 328C1594 374 1530 399 1467 393C1444 391 1445 390 1470 391C1497 391 1508 391 1525 387C1556 381 1590 364 1617 343C1627 335 1647 316 1647 314C1647 312 1628 294 1618 285C1591 263 1557 247 1524 240C1505 237 1489 236 1466 237C1454 237 1445 238 1445 238C1444 237 1463 235 1477 234C1495 234 1510 235 1528 239C1570 247 1615 272 1643 302L1650 311L1654 306C1686 268 1696 203 1677 146C1666 110 1637 77 1608 66C1580 54 1556 58 1538 75C1531 82 1531 83 1531 88C1531 99 1541 112 1555 118C1582 131 1612 127 1636 107C1640 104 1644 101 1644 99C1645 98 1646 97 1647 97C1648 97 1655 108 1655 110C1655 110 1648 120 1640 131C1611 171 1591 186 1566 186C1524 186 1503 144 1518 93C1529 54 1567 13 1600 4C1633 -5 1661 13 1681 56C1705 106 1711 170 1696 226C1689 255 1672 290 1655 311L1653 314L1659 322C1681 353 1695 389 1702 428C1704 446 1704 489 1701 506C1687 589 1649 635 1603 625ZM235 342C232 339 231 338 231 335C231 333 230 330 229 328C227 323 216 313 210 309C208 308 206 306 206 306C207 305 243 267 244 266C246 265 259 275 266 282C269 286 275 293 277 297L282 304L301 285L320 266L324 268C333 275 358 302 358 306C358 307 318 346 316 346C316 346 313 344 310 342C306 339 305 339 305 335C305 331 304 329 299 323C295 318 284 308 282 308C281 308 272 316 261 327C251 337 241 346 241 346C240 346 238 344 235 342ZM819 343C817 341 815 339 815 336C813 327 808 320 796 311L789 306L808 286C820 274 828 266 829 266C836 269 851 283 859 295C862 299 865 303 865 303C865 303 873 295 884 285C894 274 903 266 903 266C907 266 925 283 935 297L942 306L930 317C904 342 900 346 900 346C899 346 897 345 894 343C890 340 889 339 889 336C887 328 881 319 869 310L865 307L845 327C834 337 824 346 824 346C824 346 822 345 819 343ZM1396 343C1393 340 1392 338 1391 336C1391 333 1390 330 1389 328C1387 323 1376 313 1370 309C1368 308 1366 306 1366 306C1367 305 1403 267 1404 266C1406 265 1419 275 1426 282C1429 286 1435 293 1437 297L1442 304L1461 285L1480 266L1484 268C1493 275 1518 302 1518 306C1518 307 1478 346 1476 346C1476 346 1473 344 1470 342C1466 339 1465 339 1465 335C1465 329 1460 322 1450 313C1446 310 1443 308 1442 308C1442 308 1432 316 1421 327C1411 337 1401 346 1401 346C1400 346 1398 345 1396 343Z'/%3E%3C/svg%3E");
  --q-pattern-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 577 627'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M104 625C70 618 42 574 30 508C27 492 26 455 28 439C33 396 49 353 72 322L78 314L72 306C51 277 37 243 30 203C27 186 26 141 29 124C43 39 83 -8 129 4C161 12 199 51 211 87C217 105 219 129 216 144C210 172 186 189 159 186C136 183 117 168 90 130L75 109L79 103C84 96 84 96 86 99C91 106 108 117 120 121C155 134 197 116 200 89L200 83L193 76C175 57 150 54 121 67C93 78 65 111 54 146C36 200 43 262 73 301L80 311L92 299C125 266 165 245 212 237C233 233 268 233 283 237C286 238 285 238 281 237C278 237 264 237 252 237C232 237 227 237 216 239C168 247 127 269 92 305L83 314L95 326C126 357 165 379 206 387C223 391 234 391 260 391C286 390 287 391 264 393C225 396 181 387 146 369C125 358 100 339 87 323L81 317L77 321C41 363 33 441 60 498C71 521 92 546 111 556C143 574 176 572 196 550C200 545 200 544 200 539C199 527 190 516 175 509C147 496 114 502 90 524L83 531L79 525L75 518L89 499C112 466 124 455 142 446C171 433 204 447 214 477C228 519 204 577 159 609C139 623 121 628 104 625ZM453 625C420 619 381 581 367 542C359 520 357 496 363 478C370 456 390 441 412 441C430 441 452 454 468 472C477 483 502 518 501 519C501 520 499 523 497 526L494 531L486 523C476 514 464 508 452 504C441 501 422 502 412 505C392 512 379 524 377 539C377 543 377 544 381 548C399 570 428 574 459 560C490 545 517 510 527 470C541 416 530 356 501 321L497 317L485 329C440 375 376 398 314 393C290 391 290 390 316 391C344 391 355 390 374 386C415 377 454 355 485 324L494 314L489 308C438 254 373 230 296 237C292 238 292 238 294 237C299 236 317 234 330 234C389 234 445 258 487 300L497 311L503 303C523 278 533 244 533 205C533 158 519 121 490 90C455 54 405 49 381 79C377 84 377 85 377 89C379 101 387 111 401 118C413 124 420 125 434 125C455 125 472 118 488 102L494 97L498 103C500 107 502 110 501 110C496 119 471 152 465 159C446 178 431 186 413 186C397 186 387 182 376 171C366 161 362 151 360 133C355 86 388 32 435 9C454 -1 475 -0 493 11C522 30 545 83 550 143C555 201 537 265 503 308L499 314L506 323C528 353 544 393 549 436C551 450 551 485 549 500C539 564 513 611 479 623C474 625 459 626 453 625ZM235 342C232 339 231 338 231 335C231 333 230 330 229 328C227 323 216 313 210 309C208 308 206 306 206 306C207 305 243 267 244 266C246 265 259 275 266 282C269 286 275 293 277 297L282 304L301 285L320 266L324 268C333 275 358 302 358 306C358 307 318 346 316 346C316 346 313 344 310 342C306 339 305 339 305 335C305 331 304 329 299 323C295 318 284 308 282 308C281 308 272 316 261 327C251 337 241 346 241 346C240 346 238 344 235 342Z'/%3E%3C/svg%3E");
  --q-watermark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 577 627'%3E%3Cpath fill='%235B2333' fill-opacity='.035' fill-rule='evenodd' d='M104 625C70 618 42 574 30 508C27 492 26 455 28 439C33 396 49 353 72 322L78 314L72 306C51 277 37 243 30 203C27 186 26 141 29 124C43 39 83 -8 129 4C161 12 199 51 211 87C217 105 219 129 216 144C210 172 186 189 159 186C136 183 117 168 90 130L75 109L79 103C84 96 84 96 86 99C91 106 108 117 120 121C155 134 197 116 200 89L200 83L193 76C175 57 150 54 121 67C93 78 65 111 54 146C36 200 43 262 73 301L80 311L92 299C125 266 165 245 212 237C233 233 268 233 283 237C286 238 285 238 281 237C278 237 264 237 252 237C232 237 227 237 216 239C168 247 127 269 92 305L83 314L95 326C126 357 165 379 206 387C223 391 234 391 260 391C286 390 287 391 264 393C225 396 181 387 146 369C125 358 100 339 87 323L81 317L77 321C41 363 33 441 60 498C71 521 92 546 111 556C143 574 176 572 196 550C200 545 200 544 200 539C199 527 190 516 175 509C147 496 114 502 90 524L83 531L79 525L75 518L89 499C112 466 124 455 142 446C171 433 204 447 214 477C228 519 204 577 159 609C139 623 121 628 104 625ZM453 625C420 619 381 581 367 542C359 520 357 496 363 478C370 456 390 441 412 441C430 441 452 454 468 472C477 483 502 518 501 519C501 520 499 523 497 526L494 531L486 523C476 514 464 508 452 504C441 501 422 502 412 505C392 512 379 524 377 539C377 543 377 544 381 548C399 570 428 574 459 560C490 545 517 510 527 470C541 416 530 356 501 321L497 317L485 329C440 375 376 398 314 393C290 391 290 390 316 391C344 391 355 390 374 386C415 377 454 355 485 324L494 314L489 308C438 254 373 230 296 237C292 238 292 238 294 237C299 236 317 234 330 234C389 234 445 258 487 300L497 311L503 303C523 278 533 244 533 205C533 158 519 121 490 90C455 54 405 49 381 79C377 84 377 85 377 89C379 101 387 111 401 118C413 124 420 125 434 125C455 125 472 118 488 102L494 97L498 103C500 107 502 110 501 110C496 119 471 152 465 159C446 178 431 186 413 186C397 186 387 182 376 171C366 161 362 151 360 133C355 86 388 32 435 9C454 -1 475 -0 493 11C522 30 545 83 550 143C555 201 537 265 503 308L499 314L506 323C528 353 544 393 549 436C551 450 551 485 549 500C539 564 513 611 479 623C474 625 459 626 453 625ZM235 342C232 339 231 338 231 335C231 333 230 330 229 328C227 323 216 313 210 309C208 308 206 306 206 306C207 305 243 267 244 266C246 265 259 275 266 282C269 286 275 293 277 297L282 304L301 285L320 266L324 268C333 275 358 302 358 306C358 307 318 346 316 346C316 346 313 344 310 342C306 339 305 339 305 335C305 331 304 329 299 323C295 318 284 308 282 308C281 308 272 316 261 327C251 337 241 346 241 346C240 346 238 344 235 342Z'/%3E%3C/svg%3E");
  --q-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-9-9.2C1.7 7.4 4 4.5 7 4.5c2 0 3.3 1.1 5 3 1.7-1.9 3-3 5-3 3 0 5.3 2.9 4 6.3-2 4.8-9 9.2-9 9.2z' fill='%23000'/%3E%3C/svg%3E");
  color-scheme: light;
}

/* ---------- ٢) الأساس ---------- */
html, body, #app { background-color: var(--q-bg) !important; color: var(--q-text); }
body { font-family: var(--font-main) !important; }
.app-inner {
  background-color: var(--q-bg) !important;
  background-image: var(--q-watermark) !important;
  background-size: 150px auto !important;
  background-repeat: repeat !important;
}
::selection { background: var(--q-primary); color: var(--q-on-primary); }
#app .text-gray-300, #app .text-gray-400, #app .text-gray-500,
#app .text-gray-600, #app .text-gray-700, #app .text-text-grey { color: var(--q-muted) !important; }
#app .text-gray-800, #app .text-gray-900, #app .text-black { color: var(--q-text) !important; }
#app .border-gray-100, #app .border-gray-200, #app .border-gray-300 { border-color: var(--q-line) !important; }
#app .bg-primary { background-color: var(--q-primary) !important; color: var(--q-on-primary) !important; }
#app .text-primary { color: var(--q-heading) !important; }
#app a:focus-visible, #app button:focus-visible { outline: 2px solid var(--q-gold); outline-offset: 3px; }

/* العناوين */
#app h1, #app .s-block__title h2, #app .s-block__title h3, #app .s-slider-block__title h2 {
  font-family: var(--q-font-display); font-weight: 700; color: var(--q-heading); letter-spacing: 0;
}
#app .s-block__title { justify-content: center; text-align: center; }
#app .s-block__title h2, #app .s-block__title h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.3; }
#app .s-block__title h2::after, #app .q-section-title::after {
  content: ""; display: block;
  width: 190px; max-width: 60%; aspect-ratio: 1731 / 627;
  margin: 12px auto 0;
  background-color: var(--q-gold);
  -webkit-mask: var(--q-pattern-svg) center / contain no-repeat;
          mask: var(--q-pattern-svg) center / contain no-repeat;
  clip-path: inset(0 50% 0 50%);
  transition: clip-path 1.4s cubic-bezier(.6, 0, .2, 1) .15s;
}
.q-in .s-block__title h2::after, .q-in.q-section-title::after, .q-in .q-section-title::after { clip-path: inset(0 0 0 0); }

/* ---------- ٣) الهيدر ---------- */
.store-header .top-navbar { display: none !important; }
#mainnav { position: relative; z-index: 40; box-shadow: none !important; }
.main-nav-container, .main-nav-container .inner, .main-nav-container .sub-menu {
  background-color: var(--q-bg) !important; color: var(--q-text) !important; box-shadow: none !important;
}
.main-nav-container .inner { border-bottom: 1px solid var(--q-line); transition: transform .4s cubic-bezier(.3, .7, .3, 1); }
.main-nav-container.fixed-pinned .inner { z-index: 40 !important; }

/* الشعار بالنص */
#mainnav .container > .flex { position: relative; min-height: 76px; align-items: center; }
#mainnav .navbar-brand {
  position: absolute !important; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex !important; align-items: center; margin: 0 !important; z-index: 2;
}
#mainnav .navbar-brand img { display: none !important; }
#mainnav .navbar-brand::before {
  content: ""; display: block; height: 56px; aspect-ratio: 2931 / 1491;
  background-color: var(--q-primary);
  -webkit-mask: var(--q-logo-svg) center / contain no-repeat;
          mask: var(--q-logo-svg) center / contain no-repeat;
  transition: height .35s ease;
}
html.q-scrolled #mainnav .navbar-brand::before { height: 42px; }
@media (max-width: 1023px) {
  #mainnav .container > .flex { min-height: 62px; }
  #mainnav .navbar-brand::before { height: 42px; }
  html.q-scrolled #mainnav .navbar-brand::before { height: 34px; }
}

/* القائمة */
.main-nav-container .main-menu > li > a { color: var(--q-text) !important; font-weight: 500; font-size: .95rem; transition: color .25s; }
.main-nav-container .main-menu > li > a:hover { color: var(--q-gold) !important; }
.main-nav-container .sicon-menu { color: var(--q-primary) !important; }

/* الأيقونات */
.q-head-icon, #mainnav .s-user-menu-login-btn, #mainnav .s-cart-summary-wrapper #s-cart-icon {
  width: 40px; height: 40px; display: inline-grid !important; place-items: center;
  border: 1px solid var(--q-line) !important; border-radius: 50% !important;
  background: transparent !important; color: var(--q-primary) !important;
  transition: border-color .25s, transform .3s;
}
.q-head-icon:hover, #mainnav .s-user-menu-login-btn:hover, #mainnav .s-cart-summary-wrapper:hover #s-cart-icon { border-color: var(--q-gold) !important; }
.q-head-icon { margin-inline-start: 8px; cursor: pointer; }
.q-head-icon svg { width: 18px; height: 18px; }
#mainnav .s-user-menu-login-btn svg, #mainnav .header-btn__icon { color: var(--q-primary) !important; fill: currentColor; font-size: 18px; }
#mainnav .s-cart-summary-content { display: none !important; }
#mainnav .s-cart-summary-wrapper { position: relative; }
#mainnav .s-cart-summary-count {
  position: absolute !important; top: -4px !important; inset-inline-end: -4px !important; left: auto !important;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px !important; font-size: 11px; line-height: 18px; text-align: center;
  background: var(--q-primary) !important; color: var(--q-on-primary) !important; font-family: var(--font-main);
}
#mainnav .container > .flex > .justify-end { gap: 8px; }
#mainnav salla-user-menu, #mainnav salla-cart-summary { margin: 0 !important; }
#mainnav salla-user-menu, #mainnav salla-user-menu * { background-color: transparent !important; box-shadow: none !important; }
#mainnav salla-user-menu [class*="trigger"], #mainnav salla-user-menu [class*="avatar"]:not(img) {
  width: 40px !important; height: 40px !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important;
  border-radius: 50% !important; overflow: hidden !important; display: grid !important; place-items: center;
  border: 1px solid var(--q-line) !important;
}
#mainnav salla-user-menu img {
  width: 100% !important; height: 100% !important; border-radius: 50% !important; object-fit: cover; border: 0 !important; padding: 0 !important; margin: 0 !important;
}
.q-search-mob, .q-wish-mob { display: none !important; }
@media (max-width: 1023px) {
  .q-search-desk, .q-wish-desk { display: none !important; }
  .q-search-mob, .q-wish-mob { display: inline-grid !important; margin-inline-start: 2px; }
  #mainnav salla-user-menu [class*="trigger"], #mainnav salla-user-menu [class*="avatar"]:not(img) { border-color: transparent !important; }
  #mainnav salla-user-menu img { transform: scale(1.14); }
  #mainnav salla-user-menu [class*="trigger"], #mainnav salla-user-menu [class*="avatar"]:not(img) { width: 34px !important; height: 34px !important; }
  #mainnav .container > .flex > .justify-end { gap: 4px; }
}
@keyframes q-bump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.22); } 70% { transform: scale(.94); } }
.q-bump { animation: q-bump .55s ease; }
@media (max-width: 1023px) {
  .q-head-icon, #mainnav .s-user-menu-login-btn, #mainnav .s-cart-summary-wrapper #s-cart-icon { width: 36px; height: 36px; border-color: transparent !important; }
  .q-head-icon { margin-inline-start: 2px; }
}

/* ---------- ٤) الأزرار ---------- */
#app .s-button-solid.s-button-primary, #app .s-button-primary.s-button-btn {
  background-color: var(--q-primary) !important; color: var(--q-on-primary) !important;
  border-color: var(--q-primary) !important; border-radius: 2px !important; font-weight: 600;
}
#app .s-button-outline, #app .s-button-primary-outline {
  border-color: var(--q-primary) !important; color: var(--q-primary) !important;
  background: transparent !important; border-radius: 2px !important;
}
#app .s-button-outline:hover, #app .s-button-primary-outline:hover { background: var(--q-primary) !important; color: var(--q-on-primary) !important; }

/* ---------- ٥) بطاقة المنتج ---------- */
.s-product-card-entry { background: transparent !important; box-shadow: none !important; border: 0 !important; }
.s-product-card-entry .s-product-card-image {
  position: relative; aspect-ratio: 3 / 4 !important;
  height: auto !important; min-height: 0 !important; max-height: none !important;
  flex: none !important; width: 100% !important; overflow: hidden;
  background: var(--q-alt); border-radius: 9999px 9999px 4px 4px !important;
}
.s-product-card-entry .s-product-card-image img {
  width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform .9s ease;
}
.s-product-card-entry .s-product-card-image img.q-card-detail, .s-product-card-entry .s-product-card-image img.q-card-alt { transform: none !important; }

.s-product-card-entry .s-product-card-image > a { position: static; display: block; height: 100%; }
/* إطار ذهبي من جوّا القوس */
.s-product-card-entry .s-product-card-image > a::after {
  content: ""; position: absolute; inset: 9px; z-index: 7; pointer-events: none;
  border: 1px solid rgba(232, 214, 184, .95); border-radius: 9999px 9999px 3px 3px;
  opacity: 0; transform: scale(1.03); transition: opacity .4s, transform .5s;
}
.s-product-card-entry:hover .s-product-card-image > a::after { opacity: 1; transform: scale(1); }
/* لمعة حرير */
.s-product-card-entry .s-product-card-image::after {
  content: ""; position: absolute; inset: 0; z-index: 8; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 248, 235, .38) 50%, transparent 65%);
  transform: translateX(110%);
}
.s-product-card-entry:hover .s-product-card-image::after { transform: translateX(-110%); transition: transform 1.1s cubic-bezier(.3, .1, .3, 1); }
/* شريط "حكايتها" */
.s-product-card-entry .s-product-card-image::before {
  content: "اكتشفي حكايتها"; position: absolute; inset: auto 0 0 0 !important;
  top: auto !important; height: auto !important; width: auto !important; z-index: 8;
  box-sizing: border-box; padding: 11px 8px; text-align: center; line-height: 1.4;
  font-family: var(--q-font-display); font-size: 1.05rem; color: #F7F2E8;
  background: linear-gradient(to top, rgba(58, 22, 34, .88), rgba(58, 22, 34, .55));
  transform: translateY(100%); transition: transform .45s cubic-bezier(.2, .7, .3, 1); pointer-events: none;
}
.s-product-card-entry:hover .s-product-card-image::before { transform: translateY(0); }
/* اسم المنتج */
.s-product-card-content { padding-inline: 2px !important; text-align: center; }
.s-product-card-content-title { position: relative; display: inline-block; }
.s-product-card-content-title, .s-product-card-content-title a { color: var(--q-text) !important; font-weight: 600; font-size: 1rem; }
.s-product-card-content-title::after {
  content: ""; position: absolute; right: 0; bottom: -4px; height: 1px; width: 100%;
  background: var(--q-gold); transform: scaleX(0); transform-origin: right; transition: transform .5s ease .1s;
}
.s-product-card-entry:hover .s-product-card-content-title::after { transform: scaleX(1); }
/* أماكن ثابتة بالبطاقة: الاسم سطرين، البكرات صف، الوصف سطرين، فكل البطاقات بالصف بيصفّوا على نفس الخط */
.s-product-card-content-main { display: flex !important; flex-direction: column; align-items: stretch; }
.s-product-card-content-main .s-product-card-content-title {
  display: flex !important; align-items: center; justify-content: center; margin: 0 !important;
  line-height: 1.6 !important; min-height: 3.2em;
}
.s-product-card-content-main .s-product-card-content-title::after { display: none; }
.s-product-card-content-title a {
  display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  line-height: 1.6 !important; padding-bottom: 2px;
  text-decoration: underline 1px transparent; text-underline-offset: 6px; transition: text-decoration-color .5s ease .1s;
}
.s-product-card-entry:hover .s-product-card-content-title a { text-decoration-color: var(--q-gold); }
.s-product-card-content-main .s-product-card-content-subtitle {
  display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  line-height: 1.7 !important; min-height: 3.4em; margin: 0 !important;
}
.s-product-card-content-main:not(:has(.q-spools)) .s-product-card-content-subtitle { margin-top: 42px !important; }
.s-product-card-content-sub, .s-product-card-content-main { justify-content: center; }
.s-product-card-price, .s-product-card-sale-price h4 { color: var(--q-heading) !important; }
.s-product-card-content-subtitle { color: var(--q-muted) !important; }
.s-product-card-promotion-title { background: var(--q-primary) !important; color: var(--q-on-primary) !important; border-radius: 2px !important; }
.s-product-card-entry button.s-product-card-wishlist-btn { position: static !important; inset: auto !important; }
.s-product-card-entry salla-button.s-product-card-wishlist-btn {
  position: absolute !important; top: auto !important; right: auto !important; bottom: 14px !important; left: 14px !important;
  z-index: 9; transition: bottom .45s cubic-bezier(.2, .7, .3, 1);
}
#app .s-product-card-entry .s-product-card-wishlist-btn button,
#app .s-product-card-entry button.s-product-card-wishlist-btn {
  width: 38px !important; height: 38px !important; border-radius: 50% !important;
  background: rgba(255, 253, 248, .94) !important; border: 1px solid rgba(91, 35, 51, .12) !important;
  color: var(--q-primary) !important; box-shadow: 0 4px 14px rgba(43, 26, 30, .15);
}
.s-product-card-entry .s-product-card-wishlist-btn i { color: var(--q-primary) !important; font-size: 17px; }
/* لما يطلع شريط "حكايتها" القلب بيطلع فوقه */
.s-product-card-entry:hover salla-button.s-product-card-wishlist-btn { bottom: 58px !important; }

/* فيديو البطاقة والصورة القريبة */
.s-product-card-entry .s-product-card-image { isolation: isolate; }
.q-card-video, .q-card-detail {
  position: absolute !important; top: 0 !important; left: 0 !important; z-index: 6 !important; display: block !important;
  visibility: visible !important; max-width: none !important; width: 100% !important; height: 100% !important;
  object-fit: cover !important; opacity: 0; transition: opacity .9s ease; pointer-events: none;
}
/* الخيط الذهبي: خيط بينزل والصورة الجديدة بتظهر وراه */
@keyframes q-wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes q-thread-move { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
/* الطبقة مخفية بالقص من الأساس، فما في أي لحظة بتبيّن فيها قبل الخيط */
.q-card-detail, .q-card-alt { clip-path: inset(0 0 100% 0); }
.q-card-video.is-on, .q-card-detail.is-on {
  opacity: 1 !important; clip-path: inset(0 0 0 0); transition: none !important;
  animation: q-wipe 1.5s cubic-bezier(.45, 0, .25, 1) both;
}
/* الرجوع لصورة الحوش: تلاشي */
.q-card-detail.is-leaving, .q-card-alt.is-leaving { clip-path: inset(0 0 0 0); opacity: 0 !important; transition: opacity .9s ease !important; animation: none !important; }
.q-card-thread {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 7; pointer-events: none; opacity: 0;
  background: #E3CDA4; box-shadow: 0 0 10px rgba(227, 205, 164, .95), 0 0 2px rgba(255, 245, 225, .9);
}
.q-instant, .q-instant.is-on { transition: none !important; animation: none !important; opacity: 0 !important; }
.q-card-thread.run { animation: q-thread-move 1.5s cubic-bezier(.45, 0, .25, 1) both; }

/* لفّة القماش */
@keyframes q-unroll {
  0% { clip-path: inset(0 0 100% 0); transform: perspective(1200px) rotateX(10deg); }
  100% { clip-path: inset(0 0 0 0); transform: none; }
}
@supports (animation-timeline: view()) {
  .s-product-card-entry .s-product-card-image > a {
    transform-origin: top center; animation: q-unroll linear both;
    animation-timeline: view(); animation-range: entry 5% cover 35%;
  }
}

/* ---------- ٦) المفضلة ---------- */
@keyframes q-heart-fill { 0% { transform: scale(1); } 30% { transform: scale(1.35); } 55% { transform: scale(.9); } 100% { transform: scale(1); } }
.s-product-card-wishlist-btn, .btn--wishlist { position: relative; overflow: visible !important; }
.s-product-card-wishlist-btn.s-product-card-wishlist-added i,
.s-product-card-wishlist-btn.is-added i,
.btn--wishlist.is-added i { color: var(--q-primary) !important; }
/* القلب بيتعبّى عنابي من تحت لفوق */
.s-product-card-wishlist-btn .sicon-heart, .btn--wishlist .sicon-heart { position: relative; display: inline-block; }
.s-product-card-wishlist-btn .sicon-heart::after, .btn--wishlist .sicon-heart::after {
  content: ""; position: absolute; inset: 1px 0 0; background: var(--q-primary);
  -webkit-mask: var(--q-heart) center / contain no-repeat; mask: var(--q-heart) center / contain no-repeat;
  clip-path: inset(100% 0 0 0); transition: clip-path .55s cubic-bezier(.5, 0, .2, 1);
}
.s-product-card-wishlist-btn.s-product-card-wishlist-added .sicon-heart::after,
.s-product-card-wishlist-btn.is-added .sicon-heart::after,
.btn--wishlist.is-added .sicon-heart::after { clip-path: inset(0 0 0 0); }
.q-heart-pop { animation: q-heart-fill .6s cubic-bezier(.3, 1.6, .5, 1); }
.q-fly-heart {
  position: fixed; z-index: 99985; width: 22px; height: 22px; pointer-events: none;
  color: var(--q-primary);
  transition: transform .8s cubic-bezier(.5, -0.3, .3, 1), opacity .8s ease;
}

/* ---------- ٧) الإضافة للسلة: الصورة بتطير ---------- */
.q-fly-cart {
  position: fixed; z-index: 99985; object-fit: cover; pointer-events: none;
  border-radius: 9999px 9999px 4px 4px; box-shadow: 0 12px 30px rgba(43, 26, 30, .25);
  transition: transform .85s cubic-bezier(.6, -0.15, .3, 1), opacity .85s ease .1s;
}

/* ---------- ٨) الفوتر ---------- */
.store-footer, .store-footer .store-footer__inner { background-color: var(--q-band) !important; }
.store-footer, .store-footer *:not(img):not(svg):not(path):not(input):not(select):not(textarea) {
  color: var(--q-band-text) !important; border-color: rgba(216, 192, 154, .22) !important;
}
.store-footer { position: relative; padding-top: 0 !important; }
.store-footer::before {
  content: ""; display: block; height: 40px; margin: 0 auto 44px;
  background-color: var(--q-gold-soft); opacity: .45;
  -webkit-mask: var(--q-pattern-tile) center / auto 100% repeat-x; mask: var(--q-pattern-tile) center / auto 100% repeat-x;
}
.store-footer .store-footer__inner { padding: 0 0 10px !important; }
.store-footer .store-footer__inner > .container {
  display: grid !important; grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: 0 !important;
  max-width: 760px !important;
}
.store-footer .store-footer__inner > .container > * { padding: 0 !important; margin: 0 !important; width: 100%; display: flex; flex-direction: column; align-items: center; }
/* ١) الشعار والوصف والسوشال */
.store-footer .store-footer__inner > .container > div:first-child > a h3 { font-size: 0 !important; margin: 0 0 16px !important; }
.store-footer .store-footer__inner > .container > div:first-child > a h3::before {
  content: ""; display: block; height: 70px; aspect-ratio: 2931 / 1491; background-color: var(--q-gold-soft);
  -webkit-mask: var(--q-logo-svg) center / contain no-repeat; mask: var(--q-logo-svg) center / contain no-repeat;
}
.store-footer .max-w-sm { max-width: 36rem !important; margin: 0 auto 20px !important; font-size: .95rem; line-height: 2; opacity: .9; }
.store-footer .hidden.lg\:block { display: block !important; }
.store-footer .contact-social { display: none !important; }
.store-footer .s-social-list, .store-footer .s-social-list li { list-style: none; padding: 0; }
.store-footer .s-social-list { display: flex; justify-content: center; gap: 12px; margin-bottom: 10px !important; }
.store-footer .s-social-link a, .store-footer .s-contacts-icon {
  width: 40px; height: 40px; display: grid !important; place-items: center; border-radius: 50%;
  border: 1px solid rgba(216, 192, 154, .35) !important; transition: background .25s, border-color .25s;
}
.store-footer .s-social-link a:hover { background: rgba(216, 192, 154, .12); border-color: var(--q-gold-soft) !important; }
.store-footer .s-social-icon svg, .store-footer .s-contacts-icon svg { width: 17px; height: 17px; fill: var(--q-gold-soft) !important; }
/* ٢) الروابط والتواصل: كل واحد بسطر مرتب، بينهم فاصل نقشة */
.store-footer .store-footer__inner > .container > div:nth-child(2),
.store-footer .store-footer__inner > .container > div:nth-child(3) {
  flex-direction: row !important; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 22px 0 !important;
  border-top: 1px solid rgba(216, 192, 154, .18);
}
.store-footer h3, .store-footer .s-contacts-title {
  font-family: var(--q-font-display); font-size: 1.1rem !important; margin: 0 !important; color: var(--q-gold-soft) !important; width: 100%;
}
.store-footer .s-menu-footer-list { display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 0; }
.store-footer .s-menu-footer-item { margin: 0 !important; padding: 0 16px !important; line-height: 1.8 !important; position: relative; font-size: .95rem; }
.store-footer .s-menu-footer-item + .s-menu-footer-item::before {
  content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  background: var(--q-gold-soft); transform: rotate(45deg); opacity: .6;
}
.store-footer .s-menu-footer-item:hover { color: var(--q-gold-soft) !important; }
.store-footer salla-contacts { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.store-footer .s-contacts-list { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 10px 24px; }
.store-footer .s-contacts-item { display: inline-flex !important; align-items: center; gap: 10px; direction: ltr; }
.store-footer salla-apps-icons:empty, .store-footer salla-trust-badges:empty { display: none !important; }
/* ٣) الحقوق وطرق الدفع */
.store-footer > div:last-child {
  display: flex !important; flex-direction: column-reverse; align-items: center; gap: 14px; text-align: center;
  padding: 22px 10px 26px !important; border-top: 1px solid rgba(216, 192, 154, .18);
}
.store-footer .copyright-text, .store-footer .copyright-text p { font-size: .85rem !important; opacity: .75; margin: 0 !important; }
.store-footer .s-payments-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.store-footer .s-payments-list-item { background: #FFFDF8; border-radius: 4px; padding: 3px 6px; height: 30px; display: grid; place-items: center; }
.store-footer .s-payments-list-item img { height: 18px; width: auto; }

/* ---------- ٩) شريط الشحن المجاني ---------- */
#free-shipping { background: var(--q-surface) !important; border: 1px solid var(--q-line); box-shadow: none !important; border-radius: 2px !important; }
#free-shipping .rounded-icon { background: var(--q-primary) !important; color: var(--q-on-primary) !important; }
#free-shipping-bar {
  height: 2px !important; margin-top: 30px !important; border-radius: 0 !important; overflow: visible !important;
  background: repeating-linear-gradient(to left, var(--q-line) 0 7px, transparent 7px 11px) !important;
}
#free-shipping-bar .progress-bg { height: 2px !important; border-radius: 0 !important; background: var(--q-gold) !important; transition: width .9s cubic-bezier(.6, 0, .2, 1) !important; }
#free-shipping-bar .progress-bg i { display: none !important; }

/* ---------- ١٠) شاشة التحميل ---------- */
@keyframes q-write { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes q-mark-out { to { opacity: 0; transform: translate(-50%, -50%) scale(.97); } }
@keyframes q-open-r { to { transform: translateX(101%); } }
@keyframes q-open-l { to { transform: translateX(-101%); } }
@keyframes q-gone { to { visibility: hidden; } }
@keyframes q-show { to { opacity: 1; } }
@keyframes q-fade-in { from { opacity: 0; } to { opacity: 1; } }
/* الرئيسية بتضل مخفية لحد ما تجهز صورة الهيرو، وبعدين بتظهر كلها مرة وحدة */
/* (اتشال: إخفاء الرئيسية لحد ما تجهز الصورة كان مأخّر LCP ٦ ثواني) */
html.q-intro body::before, html.q-intro body::after {
  content: ""; position: fixed; top: 0; bottom: 0; width: 50.5%; z-index: 99990; pointer-events: none; background: #5B2333;
}
html.q-intro body::before { right: 0; animation: q-open-r 1s cubic-bezier(.7, 0, .2, 1) 2.05s forwards, q-gone 0s linear 3.1s forwards; }
html.q-intro body::after { left: 0; animation: q-open-l 1s cubic-bezier(.7, 0, .2, 1) 2.05s forwards, q-gone 0s linear 3.1s forwards; }
/* الستارة من CSS مباشرة: بتطلع مع أول رسمة للرئيسية، وما بتأخّر تحميل الصورة الرئيسية */
body.index::before, body.index::after {
  content: ""; position: fixed; top: 0; bottom: 0; width: 50.5%; z-index: 99990; pointer-events: none; background: #5B2333;
}
/* مخففة: بتنفتح بعد ثلث ثانية وبتخلص بأقل من ثانية (كانت ثانية ونص) */
body.index::before { right: 0; animation: q-open-r .5s cubic-bezier(.7, 0, .2, 1) .35s forwards, q-gone 0s linear .9s forwards; }
body.index::after { left: 0; animation: q-open-l .5s cubic-bezier(.7, 0, .2, 1) .35s forwards, q-gone 0s linear .9s forwards; }
html:has(> body.index)::after {
  content: ""; position: fixed; top: 50%; left: 50%; width: min(220px, 52vw); aspect-ratio: 2931 / 1491;
  transform: translate(-50%, -50%); z-index: 99991; pointer-events: none; background-color: #D8C09A;
  -webkit-mask: var(--q-logo-svg) center / contain no-repeat; mask: var(--q-logo-svg) center / contain no-repeat;
  animation: q-mark-in .25s ease both, q-mark-out .25s ease .3s forwards, q-gone 0s linear .9s forwards;
}
/* النسخة القصيرة: كل رجعة للرئيسية بنفس الزيارة */
@keyframes q-mark-in { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%); } }
html.q-intro-short body::before, html.q-intro-short body::after {
  content: ""; position: fixed; top: 0; bottom: 0; width: 50.5%; z-index: 99990; pointer-events: none; background: #5B2333;
}
html.q-intro-short body::before { right: 0; animation: q-open-r .65s cubic-bezier(.7, 0, .2, 1) .6s forwards, q-gone 0s linear 1.3s forwards; }
html.q-intro-short body::after { left: 0; animation: q-open-l .65s cubic-bezier(.7, 0, .2, 1) .6s forwards, q-gone 0s linear 1.3s forwards; }
html.q-intro-short::after {
  content: ""; position: fixed; top: 50%; left: 50%; width: min(200px, 48vw); aspect-ratio: 2931 / 1491;
  transform: translate(-50%, -50%); z-index: 99991; pointer-events: none; background-color: #D8C09A;
  -webkit-mask: var(--q-logo-svg) center / contain no-repeat; mask: var(--q-logo-svg) center / contain no-repeat;
  animation: q-mark-in .35s ease both, q-mark-out .3s ease .5s forwards, q-gone 0s linear 1.3s forwards;
}
html.q-intro::after {
  content: ""; position: fixed; top: 50%; left: 50%; width: min(240px, 55vw); aspect-ratio: 2931 / 1491;
  transform: translate(-50%, -50%); z-index: 99991; pointer-events: none; background-color: #D8C09A;
  -webkit-mask: var(--q-logo-svg) center / contain no-repeat; mask: var(--q-logo-svg) center / contain no-repeat;
  animation: q-write 1.35s cubic-bezier(.5, 0, .3, 1) .2s both, q-mark-out .45s ease 1.75s forwards, q-gone 0s linear 3.1s forwards;
}

/* ---------- ١١) الانتقال بين الصفحات ---------- */
@keyframes q-page-in { from { opacity: 0; } to { opacity: 1; } }
body:not(.index) .app-inner { animation: q-page-in .5s ease both; }
html:has(.container--product-details) body .app-inner { animation: none; }
/* الانتقال بين الصفحات من المتصفح نفسه: بيدمج الصفحتين بنعومة بدل ما تفضى الشاشة (كروم وسفاري الجديدين، الباقي بينفتح عادي) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
html.q-leaving .app-inner { opacity: 0 !important; transition: opacity .28s ease; animation: none !important; }
.q-fly {
  position: fixed; z-index: 99980; object-fit: cover; pointer-events: none;
  transition: top .55s cubic-bezier(.6, 0, .2, 1), left .55s cubic-bezier(.6, 0, .2, 1),
    width .55s cubic-bezier(.6, 0, .2, 1), height .55s cubic-bezier(.6, 0, .2, 1), border-radius .55s cubic-bezier(.6, 0, .2, 1);
}
.container--product-details salla-slider.details-slider:not(.hydrated) { visibility: visible !important; display: block; }
.container--product-details salla-slider.details-slider:not(.hydrated) [slot="items"] > :not(:first-child),
.container--product-details salla-slider.details-slider:not(.hydrated) [slot="thumbs"],
.container--product-details salla-slider.details-slider:not(.hydrated) > :not([slot="items"]) { display: none !important; }
.container--product-details salla-slider.details-slider:not(.hydrated) [slot="items"] > :first-child { display: block; }
/* إذا المنتج فيه فيديو، بنعرض صورة الفيديو من البداية لحتى ما تتبدّل الصورة قدام الزبونة */
.container--product-details salla-slider.details-slider:not(.hydrated) [slot="items"]:has(> .video-entry) > :not(.video-entry) { display: none !important; }
.container--product-details salla-slider.details-slider:not(.hydrated) [slot="items"]:has(> .video-entry) > .video-entry { display: block !important; }
/* بعد ما يجهز المعرض، بنستنى لحظة لحتى يروح للفيديو قبل ما يبيّن */
@keyframes q-pv-show { to { opacity: 1; } }
/* من لحظة ما يجهز سلايدر سلة لحد ما يوصل لشريحة الفيديو: منخفي الشرايح بس، ومنعرض مكانها نفس صورة الفيديو
   (الكود بيحطها بـ --q-pv-poster)، فالصورة ما بتختفي ولا بتتبدل قدام الزبونة */
.container--product-details .details-slider .s-slider-container:not(.s-slider-thumbs-container) .video-entry::before { display: none !important; }
.container--product-details salla-slider.details-slider.hydrated:has(.video-entry):not(.q-pv-ready) .s-slider-container:not(.s-slider-thumbs-container) {
  background: var(--q-pv-poster, none) center / contain no-repeat;   /* بلا لون خلفية: ما بدنا الإطار يبيّن فاضي قبل الصورة */
}
.container--product-details salla-slider.details-slider.hydrated:has(.video-entry):not(.q-pv-ready) .s-slider-container:not(.s-slider-thumbs-container) .swiper-wrapper { visibility: hidden; }
.container--product-details salla-slider.details-slider:not(.hydrated) [slot="items"] img { width: 100%; height: auto; display: block; border-radius: 6px; }
@keyframes q-info-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.container--product-details > .flex > :not(.sidebar) { animation: q-info-in .6s cubic-bezier(.2, .7, .3, 1) .12s both; }
.container--product-details ~ * { animation: q-page-in .6s ease .35s both; }

/* ---------- ١٢) صفحة المنتج ---------- */
.container--product-details h1 {
  font-family: var(--q-font-display); color: var(--q-heading) !important;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem) !important; line-height: 1.6 !important; padding-top: .3em; margin-bottom: .6rem !important;
}
.container--product-details .main-content { padding-top: 4px; }
.container--product-details .product-entry__sub-title { font-family: var(--font-main) !important; color: var(--q-muted) !important; font-size: .95rem !important; }
/* الوصف */
.container--product-details .product__description, .container--product-details .article--main { line-height: 2 !important; color: var(--q-text); }
.container--product-details .product__description h2, .container--product-details .product__description h3,
.container--product-details .article--main h2, .container--product-details .article--main h3 {
  font-family: var(--q-font-display) !important; color: var(--q-heading) !important; font-size: 1.3rem !important; margin: 1.2em 0 .4em !important;
}
.container--product-details .product__description ul li::marker, .container--product-details .article--main ul li::marker { color: var(--q-gold); }
.container--product-details .product__description strong, .container--product-details .article--main strong { color: var(--q-heading); }
/* فيديو المنتج جوّا المعرض */
.q-pv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .7s ease; }
.q-pv.is-on { opacity: 1; }   /* الفيديو بيطلع بهدوء فوق صورته لما يبلّش يشتغل فعلاً */
/* لما يكون الفيديو شغّال بالمعرض، علامة التشغيل ما إلها داعي */
.details-slider .video-entry.q-has-pv::before, .details-slider .video-entry.q-has-pv::after { display: none !important; }
/* على الكمبيوتر: الفيديو أصغر بقوس بالنص بدل ما يعبّي كل الشريحة */
@media (min-width: 1024px) {
  /* المعرض على الكمبيوتر بارتفاع الشاشة، لحتى تشوف الصورة والمعلومات سوا بدون سكرول */
  .container--product-details .details-slider .swiper-wrapper { height: auto !important; }
  .container--product-details .details-slider [slot="items"] .swiper-slide,
  .container--product-details .details-slider .s-slider-container .swiper-slide {
    height: min(78vh, 760px) !important; background: var(--q-alt);
  }
  .container--product-details .details-slider .swiper-slide img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
  /* قبل ما يجهز السلايدر: نفس الإطار والحجم تبع بعد ما يجهز، لحتى ما تقفز الصورة */
  .container--product-details salla-slider.details-slider:not(.hydrated) [slot="items"] > * { height: min(78vh, 760px); background: transparent; }
  .container--product-details salla-slider.details-slider:not(.hydrated) [slot="items"] img { height: 100% !important; object-fit: contain; border-radius: 0; }
  .details-slider .video-entry.q-has-pv { background: var(--q-alt) !important; }
  .details-slider .video-entry.q-has-pv > img { transition: opacity .7s ease; }
  .details-slider .video-entry.q-has-pv.q-pv-on > img { opacity: 0; }
  .q-pv { object-fit: contain; }
}
#app .s-product-options-wrapper, #app .s-product-options-option { background-color: var(--q-surface) !important; }
#app .s-quantity-input-input { background: transparent !important; color: var(--q-text) !important; }
#app .s-comments-product { background: transparent !important; border-top: 1px solid var(--q-line); }
.q-lens {
  position: absolute; z-index: 5; width: 210px; aspect-ratio: 3 / 4; pointer-events: none;
  border: 1.5px solid var(--q-gold); border-radius: 9999px 9999px 4px 4px;
  box-shadow: 0 14px 34px rgba(43, 26, 30, .3), 0 0 0 5px rgba(216, 192, 154, .25);
  background-repeat: no-repeat; background-color: var(--q-bg);
  opacity: 0; transform: scale(.85); transition: opacity .25s ease, transform .3s cubic-bezier(.3, 1.4, .5, 1);
}
.q-lens.is-on { opacity: 1; transform: scale(1); }
.magnify-wrapper .img-magnifier-glass { display: none !important; }

/* ---------- ١٣) الرئيسية: شريط الزنار ---------- */
.s-block--bundle-marquee [component-name="marquee"] { display: none !important; }
.q-belt {
  position: relative; overflow: hidden; background: var(--q-band); color: var(--q-gold-soft);
  height: 62px; padding: 0; display: flex; align-items: center;
}
/* مكان الشريط محجوز من أول لحظة، فلما ينضاف ما بيدفش الأقسام اللي تحته (كان سبب ٩٤٪ من CLS) */
.s-block--bundle-marquee { min-height: 62px; background: var(--q-band); }
.q-belt::before, .q-belt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 8px; opacity: .55;
  background-color: var(--q-gold-soft);
  -webkit-mask: var(--q-pattern-tile) center / auto 100% repeat-x; mask: var(--q-pattern-tile) center / auto 100% repeat-x;
}
.q-belt::before { top: 4px; }
.q-belt::after { bottom: 4px; }
.q-belt__track { display: flex; width: max-content; align-items: center; animation: q-belt 38s linear infinite; }
.q-belt:hover .q-belt__track { animation-play-state: paused; }
.q-belt__item { display: inline-flex; align-items: center; gap: 34px; padding-inline-end: 34px; white-space: nowrap; font-size: 15px; font-weight: 500; letter-spacing: .01em; }
.q-belt__item::after {
  content: ""; width: 22px; height: 10px; flex: none; background: var(--q-gold-soft);
  clip-path: polygon(0 50%, 22.7% 0, 45.4% 50%, 22.7% 100%, 0 50%, 54.6% 50%, 77.3% 0, 100% 50%, 77.3% 100%, 54.6% 50%);
}
@keyframes q-belt { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- ١٤) الرئيسية: الهيرو ---------- */
.s-block--bundle-hero-area .s-block--hero-area { background-color: transparent !important; padding: 40px 0 56px !important; }
.s-block--bundle-hero-area .lp-container { max-width: 1240px !important; gap: 56px !important; }
.s-block--bundle-hero-area .content { gap: 26px !important; align-items: center !important; text-align: center !important; flex: 1; max-width: 560px !important; margin-inline: auto; }
.s-block--bundle-hero-area .content > div:first-child { display: flex; flex-direction: column; align-items: center; }
.s-block--bundle-hero-area .main { text-wrap: balance; }
#app .s-block--bundle-hero-area .content .sub, #app .s-block--bundle-hero-area h3.sub { display: none !important; }
.s-block--bundle-hero-area .sub {
  border-bottom: 0 !important; color: var(--q-gold) !important; font-size: 1.05rem !important; font-weight: 600 !important;
  letter-spacing: .06em; display: inline-flex !important; align-items: center; gap: 14px; margin: 0 auto !important;
}
.s-block--bundle-hero-area .sub::before, .s-block--bundle-hero-area .sub::after {
  content: ""; width: 22px; height: 10px; flex: none; background: var(--q-gold);
  clip-path: polygon(0 50%, 22.7% 0, 45.4% 50%, 22.7% 100%, 0 50%, 54.6% 50%, 77.3% 0, 100% 50%, 77.3% 100%, 54.6% 50%);
}
.s-block--bundle-hero-area .main {
  font-family: var(--q-font-display) !important; color: var(--q-heading) !important;
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.3rem) !important; line-height: 1.25 !important; margin: 14px 0 !important;
}
.s-block--bundle-hero-area .desc { color: var(--q-muted) !important; font-size: clamp(1rem, .9rem + .4vw, 1.2rem) !important; line-height: 1.9; opacity: 1 !important; }
.s-block--bundle-hero-area .cta { display: none; }
.s-block--bundle-hero-area .content:not(:has(.q-hero-cta))::after { content: ""; display: block; height: 54px; }
.q-hero-cta {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 34px; height: 54px; box-sizing: border-box;
  background: var(--q-primary); color: var(--q-on-primary) !important; font-weight: 600; text-decoration: none; border-radius: 2px;
  transition: gap .3s ease, opacity .3s;
}
.q-hero-cta:hover { gap: 18px; opacity: .92; }
/* الواجهة بتوصل من سلة متأخر شوي: منحجزلها مكانها من أول لحظة، ومنعرض فيه صورة الواجهة نفسها بإطار القوس،
   لحتى ما تبيّن الصفحة فاضية ولا يقفز قسم الأبواب. ⚠️ إذا غيّرت صورة الواجهة بسلة، حط رابطها الجديد هون */
:root { --q-hero-img: url("https://cdn.files.salla.network/other/1094262758/58774932-78e4-4d74-95a4-b13b029a67bc-standard.webp"); }
.s-block--bundle-hero-area:not(:has(.media)) { position: relative; min-height: 675px; }
.s-block--bundle-hero-area:not(:has(.media))::before {
  content: ""; position: absolute; top: 40px; left: max(16px, calc((100% - 1240px) / 2 + 16px));
  width: 440px; aspect-ratio: 3 / 4; box-sizing: border-box; padding: 12px;
  border: 1px solid var(--q-gold); border-radius: 9999px 9999px 4px 4px;
  background: var(--q-hero-img) center / cover no-repeat content-box, var(--q-alt) content-box;
}
@media (max-width: 1023px) {
  .s-block--bundle-hero-area:not(:has(.media)) { min-height: calc(min(100vw - 28px, 460px) * 4 / 3 + 30px); }
  .s-block--bundle-hero-area:not(:has(.media))::before { top: 14px; left: 50%; transform: translateX(-50%); width: min(100vw - 28px, 460px); padding: 8px; }
}
/* نص الواجهة بمكانه من أول لحظة، لحد ما يوصل نص سلة الحقيقي فوقه بنفس الشكل.
   ⚠️ إذا غيّرت عنوان أو وصف الواجهة بسلة، غيّرهن هون كمان */
.s-block--bundle-hero-area .twilight-skeleton, .s-block--bundle-marquee .twilight-skeleton { display: none !important; }   /* الشريط الرمادي اللي كان يطلع فوق */
.s-block--bundle-hero-area:not(:has(.media)) > [component-name="hero-area"] {
  position: absolute !important; top: 40px; right: max(16px, calc((100% - 1240px) / 2 + 16px)); left: calc(max(16px, calc((100% - 1240px) / 2 + 16px)) + 496px);
  width: auto !important; height: calc(440px * 4 / 3); display: flex !important; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-bottom: 54px;
}
.s-block--bundle-hero-area:not(:has(.media)) > [component-name="hero-area"]::before {
  content: "تطريزٌ يُحكى، وأناقةٌ تُلبَس"; max-width: 560px; text-wrap: balance;
  font-family: var(--q-font-display); color: var(--q-heading); font-weight: 700; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.3rem); line-height: 1.25; margin: 14px 0;
}
.s-block--bundle-hero-area:not(:has(.media)) > [component-name="hero-area"]::after {
  content: "جلابيات مطرّزة بخامات مختارة، وموديلات جديدة كل أسبوع"; max-width: 560px;
  font-family: var(--font-main); color: var(--q-muted); font-size: clamp(1rem, .9rem + .4vw, 1.2rem); line-height: 1.9;
}
@media (max-width: 1023px) {
  .s-block--bundle-hero-area:not(:has(.media)) > [component-name="hero-area"] {
    top: 22px; left: 50%; right: auto; transform: translateX(-50%); width: calc(min(100vw - 28px, 460px) - 16px) !important; height: auto; aspect-ratio: 3 / 4;
    justify-content: flex-end; padding: 0 26px 90px; z-index: 1; border-radius: 9999px 9999px 3px 3px; box-sizing: border-box !important;
    background: linear-gradient(to top, rgba(40, 14, 22, .86) 0%, rgba(40, 14, 22, .45) 32%, transparent 55%);
  }
  .s-block--bundle-hero-area:not(:has(.media)) > [component-name="hero-area"]::before { color: #F7F2E8; font-size: 2rem; margin: 8px 0 4px; }
  .s-block--bundle-hero-area:not(:has(.media)) > [component-name="hero-area"]::after { color: #E9DCC6; font-size: .95rem; line-height: 1.7; }
}
.s-block--bundle-hero-area .media {
  position: relative; width: min(440px, 100%) !important; flex: none;
  padding: 12px; border: 1px solid var(--q-gold); border-radius: 9999px 9999px 4px 4px;
}
.s-block--bundle-hero-area .media img, .s-block--bundle-hero-area .media .q-hero-video {
  width: 100% !important; aspect-ratio: 3 / 4; height: auto !important; object-fit: cover; display: block;
  border-radius: 9999px 9999px 3px 3px !important;
}
.s-block--bundle-hero-area .media .q-hero-video { position: absolute; inset: 12px; width: calc(100% - 24px) !important; opacity: 0; transition: opacity .8s ease; }
.s-block--bundle-hero-area .media .q-hero-video.is-on { opacity: 1; }
@media (max-width: 1023px) {
  .s-block--bundle-hero-area .s-block--hero-area { padding: 14px 0 26px !important; }
  /* على الجوال: الكلام فوق الفيديو من تحت، كله بشاشة وحدة */
  .s-block--bundle-hero-area .lp-container.row { display: grid !important; gap: 0 !important; padding-inline: 14px !important; }
  .s-block--bundle-hero-area .lp-container.row > * { grid-area: 1 / 1; }
  .s-block--bundle-hero-area .media { width: 100% !important; max-width: 460px; justify-self: center; padding: 8px; }
  .s-block--bundle-hero-area .media .q-hero-video { inset: 8px; width: calc(100% - 16px) !important; }
  .s-block--bundle-hero-area .media::after {
    content: ""; position: absolute; inset: 8px; z-index: 2; pointer-events: none; border-radius: 9999px 9999px 3px 3px;
    background: linear-gradient(to top, rgba(40, 14, 22, .86) 0%, rgba(40, 14, 22, .45) 32%, transparent 55%);
  }
  .s-block--bundle-hero-area .content {
    position: relative; align-self: end; justify-self: center; z-index: 3; gap: 14px !important; padding: 0 26px 30px; max-width: 460px !important;
  }
  .s-block--bundle-hero-area .sub { color: var(--q-gold-soft) !important; font-size: .9rem !important; }
  .s-block--bundle-hero-area .sub::before, .s-block--bundle-hero-area .sub::after { background: var(--q-gold-soft); }
  .s-block--bundle-hero-area .main { color: #F7F2E8 !important; font-size: 2rem !important; margin: 8px 0 4px !important; }
  .s-block--bundle-hero-area .desc { color: #E9DCC6 !important; font-size: .95rem !important; line-height: 1.7; }
  .q-hero-cta { background: #F3E7D6; color: var(--q-primary) !important; padding: 0 26px; height: 46px; }
  .s-block--bundle-hero-area .content:not(:has(.q-hero-cta))::after { height: 46px; }
}

/* ---------- ١٥) الرئيسية: أبواب الأقسام ---------- */
.s-block--banners .grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 26px !important; }
.s-block--banners .grid > * { grid-row: auto !important; grid-column: auto !important; }
.s-block--banners .banner-entry {
  position: relative; display: block; height: auto !important; aspect-ratio: 3 / 4;
  border-radius: 9999px 9999px 4px 4px !important; overflow: hidden;
  background-size: auto 100% !important; background-position: center !important; background-color: var(--q-alt);
  transition: background-size .9s ease;
}
.s-block--banners .banner-entry:hover { background-size: auto 107% !important; }
.s-block--banners .banner-entry::before { content: none !important; display: none !important; }
.s-block--banners .banner-entry::after {
  content: ""; position: absolute; inset: 10px; z-index: 1; pointer-events: none;
  border: 1px solid rgba(232, 214, 184, .75); border-radius: 9999px 9999px 3px 3px;
  opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
.s-block--banners .banner-entry:hover::after { opacity: 1; transform: scale(1); }
.s-block--banners .banner-entry__text {
  position: absolute !important; inset: 0 !important; z-index: 2;
  display: flex !important; flex-direction: column; align-items: center; justify-content: center;
  padding: 18% 14px 0 !important; text-align: center; border: 0 !important; background: none !important;
  opacity: 1 !important; visibility: visible !important; transform: none !important;
}
.s-block--banners .banner-entry__text * { opacity: 1 !important; visibility: visible !important; }
.s-block--banners .banner__title {
  font-family: var(--q-font-display); font-size: clamp(1.35rem, 1rem + 1vw, 2rem) !important; line-height: 1.3;
  color: #F7F2E8 !important; margin: 0 !important; transform: none !important;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1) !important;
}
.s-block--banners .banner__title::after {
  content: ""; display: block; width: 90px; max-width: 70%; aspect-ratio: 1731 / 627; margin: 10px auto 8px;
  background-color: var(--q-gold-soft);
  -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat;
  transition: width .6s cubic-bezier(.2, .7, .3, 1);
}
.s-block--banners .banner__description { color: #E9DCC6 !important; font-size: .9rem; margin: 0; transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
/* مع الماوس: الباب "بينفتح" — ضو من فوق، إطار ذهبي، والعنوان بيطلع والنقشة بتتسع */
.s-block--banners .banner-entry > .q-door-light {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 70% at 50% 0%, rgba(255, 240, 215, .32), transparent 60%);
  transition: opacity .7s ease;
}
.s-block--banners .banner-entry:hover > .q-door-light { opacity: 1; }
.s-block--banners .banner-entry:hover .banner__title { transform: translateY(-6px) !important; }
.s-block--banners .banner-entry:hover .banner__title::after { width: 140px; }
.s-block--banners .banner-entry:hover .banner__description { transform: translateY(-4px); }
@media (max-width: 767px) {
  .s-block--banners .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
  .s-block--banners .banner-entry__text { padding-bottom: 16px !important; }
  .s-block--banners .banner__description { display: none; }
}

/* ---------- ١٦) الرئيسية: المنتجات بالتبويبات ---------- */
#app .s-block--tabs-produtcs { background: transparent !important; }
#app .s-block--tabs-produtcs .tabs {
  display: flex; justify-content: center; gap: 6px 30px; flex-wrap: wrap; margin-bottom: 30px;
  border-bottom: 1px solid var(--q-line);
}
#app .s-block--tabs-produtcs .tab-trigger .s-button-element {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  color: var(--q-muted) !important; font-family: var(--q-font-display); font-size: 1.25rem; font-weight: 700;
  padding: 10px 2px 14px !important; position: relative;
}
#app .s-block--tabs-produtcs .tab-trigger .s-button-element::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--q-gold); transform: scaleX(0); transition: transform .4s ease;
}
#app .s-block--tabs-produtcs .tab-trigger.is-active .s-button-element { color: var(--q-heading) !important; }
#app .s-block--tabs-produtcs .tab-trigger.is-active .s-button-element::after { transform: scaleX(1); }
#app .s-slider-nav-arrow { background: var(--q-surface) !important; border: 1px solid var(--q-line) !important; color: var(--q-primary) !important; }
/* أسهم سلايدر المنتجات (لما ما إله عنوان): سلة بتحطهن بنص الصور، فمنحطهن تحت البطاقات بالنص.
   ما منغيّر ترتيب السلايدر نفسه، بس منزيد مسافة تحته ومنحط الأسهم فيها */
#app salla-products-slider salla-slider.s-slider-v-centered { position: relative !important; padding-bottom: 66px !important; }
#app salla-products-slider salla-slider.s-slider-v-centered .s-slider-block__title-nav {
  top: auto !important; bottom: 0 !important; left: 50% !important; right: auto !important;
  width: auto !important; transform: translateX(-50%) !important; gap: 14px; margin: 0 !important;
}
#app salla-products-slider salla-slider.s-slider-v-centered .s-slider-nav-arrow { position: static !important; width: 42px !important; height: 42px !important; margin: 0 !important; box-shadow: none !important; transition: border-color .3s ease; }
#app salla-products-slider salla-slider.s-slider-v-centered .s-slider-nav-arrow:hover { border-color: var(--q-gold) !important; }
#app salla-products-slider salla-slider.s-slider-v-centered .s-slider-nav-arrow.swiper-button-disabled { opacity: .35; cursor: default; }

/* ---------- ١٧) البانر العريض ---------- */
.s-block--fixed-banner .banner--fixed { display: block; border-radius: 6px; overflow: hidden; }
.s-block--fixed-banner img { transition: transform 1.2s ease; }
.s-block--fixed-banner .banner--fixed:hover img { transform: scale(1.02); }

/* ---------- ١٨) دخول الأقسام مع السكرول ---------- */
.q-reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .5s cubic-bezier(.2, .7, .3, 1); }   /* أقصر وأخف لحتى ما تحس بتأخير وإنت نازل */
.q-reveal.q-in { opacity: 1; transform: none; }

/* ---------- ١٩) زر الرجوع لفوق ---------- */
.q-top {
  position: fixed; bottom: calc(22px + var(--q-lift, 0px)); left: 22px; z-index: 60; width: 48px; height: 48px;
  border: 1px solid var(--q-gold); border-radius: 9999px 9999px 4px 4px; background: var(--q-bg);
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s, transform .35s, bottom .35s ease;
}
.q-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.q-top::before {
  content: ""; width: 12px; height: 12px; margin-top: 6px;
  border-top: 1.5px solid var(--q-primary); border-left: 1.5px solid var(--q-primary); transform: rotate(45deg);
}
.q-top:hover { background: var(--q-alt); }

/* ---------- ٢٠) متفرقات ---------- */
#app [data-testid="store-cart-empty"] { width: 100%; min-height: 55vh; text-align: center; align-items: center; justify-content: center; }
#app [data-testid="store-cart-empty"] .icon { display: none !important; }
#app [data-testid="store-cart-empty"]::before {
  content: ""; display: block; width: 220px; max-width: 70%; aspect-ratio: 1731 / 627; margin: 0 auto 20px;
  background-color: var(--q-gold); -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat;
}
#app [data-testid="store-cart-empty"] p { font-size: 0 !important; color: transparent !important; }
#app [data-testid="store-cart-empty"] p::after { content: "سلتك لسا ما انطرّزت"; font-family: var(--q-font-display); font-size: 1.6rem; color: var(--q-heading); }
.s-modal-body, .s-modal-bg-normal { background-color: var(--q-surface) !important; }
.s-modal-overlay { background-color: rgba(43, 18, 26, .55) !important; }

/* ---------- ٢١) تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html.q-intro::after, html.q-intro body::before, html.q-intro body::after,
  html.q-intro-short::after, html.q-intro-short body::before, html.q-intro-short body::after,
  body.index::before, body.index::after, html:has(> body.index)::after { display: none !important; }
  .q-reveal { opacity: 1 !important; transform: none !important; }
  .q-belt__track { animation: none !important; }
}

/* =========================================================
   المرحلة الأخيرة: أقسام الرئيسية، اللوحة الجانبية، البكرات، السلة، الحساب
   ========================================================= */

/* ---------- ٢٢) شريط عيّنات التطريز ---------- */
.s-block--bundle-html-content { padding: 64px 0 40px; }
.q-swatches { position: relative; }
.q-swatches__title { text-align: center; margin-bottom: 26px; }
.q-swatches__title h2 { font-family: var(--q-font-display) !important; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem) !important; color: var(--q-heading) !important; margin: 0; }
.q-swatches__title h2::after {
  content: ""; display: block; width: 170px; aspect-ratio: 1731 / 627; margin: 10px auto 0; background-color: var(--q-gold);
  -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat;
}
.q-swatches__viewport { overflow: hidden; padding: 30px 0; -webkit-mask: linear-gradient(to left, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(to left, transparent, #000 8%, #000 92%, transparent); }
.q-swatches__track { display: flex; width: max-content; gap: 46px; padding-inline: 23px; animation: q-belt 70s linear infinite; }
.q-swatches:hover .q-swatches__track { animation-play-state: paused; }
.q-swatch { position: relative; flex: none; width: 150px; height: 150px; display: block; }
.q-swatch__img {
  position: absolute; inset: 0; transform: rotate(45deg) scale(.86); overflow: hidden; border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(168, 132, 79, .55), 0 0 0 7px var(--q-bg), 0 0 0 8px rgba(168, 132, 79, .35);
  transition: transform .6s cubic-bezier(.2, .7, .3, 1), box-shadow .5s ease;
}
.q-swatch__img img { position: absolute; inset: -22%; width: 144%; height: 144%; object-fit: cover; transform: rotate(-45deg); transition: transform 1.2s ease; }
.q-swatch:hover .q-swatch__img { transform: rotate(45deg) scale(.94); box-shadow: 0 0 0 1px var(--q-gold), 0 0 0 7px var(--q-bg), 0 0 0 8px var(--q-gold); }
.q-swatch:hover .q-swatch__img img { transform: rotate(-45deg) scale(1.12); }
.q-swatch__name {
  position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); white-space: nowrap;
  font-size: .82rem; color: var(--q-heading); opacity: 0; transition: opacity .4s ease, bottom .4s ease;
}
.q-swatch:hover .q-swatch__name { opacity: 1; bottom: -24px; }
@media (max-width: 767px) {
  .q-swatch { width: 104px; height: 104px; }
  .q-swatches__track { gap: 30px; animation-duration: 55s; }
}

/* ---------- ٢٣) المميزات ---------- */
#app .s-block--features { padding-top: 56px; padding-bottom: 20px; }
#app .s-block--features > .grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0 !important; border-block: 1px solid var(--q-line); }
#app .s-block--features__item {
  background: transparent !important; box-shadow: none !important; border-radius: 0 !important;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 34px 16px !important;
}
#app .s-block--features__item + .s-block--features__item { border-inline-start: 1px solid var(--q-line); }
#app .s-block--features__item .feature-icon {
  width: 64px; height: 64px; display: grid; place-items: center; margin: 0 0 8px !important;
  background: transparent !important; border: 1px solid var(--q-gold); border-radius: 9999px 9999px 4px 4px !important;
  color: var(--q-gold) !important; font-size: 26px; transition: transform .5s cubic-bezier(.2, .7, .3, 1), background .4s;
}
#app .s-block--features__item:hover .feature-icon { transform: translateY(-4px); background: rgba(168, 132, 79, .08) !important; }
#app .s-block--features__item .feature-icon i { color: var(--q-gold) !important; }
#app .s-block--features__item h2 { font-family: var(--q-font-display) !important; font-size: 1.3rem !important; color: var(--q-heading) !important; margin: 0 !important; font-weight: 700; }
#app .s-block--features__item p { color: var(--q-muted) !important; font-size: .92rem; margin: 0; }
#app .s-block--features > .grid > * { grid-column: auto !important; grid-row: auto !important; }
@media (max-width: 767px) {
  /* على الجوال: تلات مميزات جنب بعض، صغار ومرتبين */
  #app .s-block--features { padding-top: 34px; padding-bottom: 6px; }
  #app .s-block--features > .grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  #app .s-block--features__item { padding: 18px 6px !important; gap: 4px; }
  #app .s-block--features__item .feature-icon { width: 42px; height: 42px; font-size: 18px; margin-bottom: 4px !important; }
  #app .s-block--features__item h2 { font-size: .95rem !important; line-height: 1.5; }
  #app .s-block--features__item p { font-size: .75rem; line-height: 1.6; }
}

/* ---------- ٢٤) الأسئلة الشائعة ---------- */
.s-block--bundle-questions .s-block--faqs { background: transparent !important; padding: 56px 0 72px !important; }
.s-block--bundle-questions .lp-container { max-width: 820px !important; }
.s-block--bundle-questions .lp-title__overline { border: 0 !important; width: 170px !important; aspect-ratio: 1731 / 627; height: auto !important; order: 3; margin: 10px auto 0 !important;
  background-color: var(--q-gold); -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat; }
.s-block--bundle-questions .lp-title__main { font-family: var(--q-font-display) !important; color: var(--q-heading) !important; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem) !important; line-height: 1.5 !important; }
.s-block--bundle-questions .lp-title__sub { color: var(--q-muted) !important; order: 2; }
.s-block--bundle-questions .list { border-top: 1px solid var(--q-line); gap: 0 !important; display: flex; flex-direction: column; }
.s-block--bundle-questions .faq-item, .s-block--bundle-questions .faq-item__inner { width: 100% !important; align-self: stretch; }
.s-block--bundle-questions .faq-item__inner, .s-block--bundle-questions .faq-answer { background: transparent !important; box-shadow: none !important; border: 0 !important; }
.s-block--bundle-questions .faq-item { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--q-line) !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 !important; }
.s-block--bundle-questions .faq-item label {
  position: relative; display: block; cursor: pointer; padding: 20px 4px 20px 40px !important;
  font-weight: 600 !important; font-size: 1.02rem !important; color: var(--q-text) !important; background: transparent !important;
}
.s-block--bundle-questions .faq-item label::before, .s-block--bundle-questions .faq-item label::after { display: none !important; }
.s-block--bundle-questions .faq-item__inner > label { background-image: none !important; }
.s-block--bundle-questions .faq-item label .q-plus, .s-block--bundle-questions .faq-item__inner::after { content: none; }
.s-block--bundle-questions .faq-item__inner { position: relative; }
.s-block--bundle-questions .faq-item__inner::before {
  content: ""; position: absolute; left: 6px; top: 27px; width: 14px; height: 14px; pointer-events: none;
  background:
    linear-gradient(var(--q-gold), var(--q-gold)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--q-gold), var(--q-gold)) center / 1.5px 14px no-repeat;
  transition: transform .4s ease;
}
.s-block--bundle-questions .faq-item input:checked + .faq-item__inner::before { transform: rotate(45deg); }
.s-block--bundle-questions .faq-item input:checked + .faq-item__inner label { color: var(--q-heading) !important; }
.s-block--bundle-questions .faq-answer__content { color: var(--q-muted) !important; line-height: 2; padding: 0 4px 22px 18px !important; border-inline-start: 1px solid var(--q-gold); margin-inline-start: 4px; }

/* ---------- ٢٥) بكرات الألوان تحت البطاقة ---------- */
.q-spools { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 9px; margin: 10px 0 4px; min-height: 28px; max-width: 100%; }
.q-spool.q-spool--hide { display: none !important; }
.q-spools__more:empty { display: none; }
.q-spool {
  width: 22px; height: 22px; border-radius: 50%; padding: 0; cursor: pointer; flex: none;
  border: 1px solid rgba(43, 26, 30, .18); background-color: var(--q-alt);
  box-shadow: 0 0 0 2px var(--q-bg); transition: transform .3s ease, box-shadow .3s ease;
}
.q-spool--img { background-size: 320%; background-position: 50% 42%; }
.q-spool--single { cursor: default; }
.q-spool--single:hover { transform: none; box-shadow: none; }
.q-spool:hover, .q-spool:focus-visible, .q-spool.is-active { transform: scale(1.15); box-shadow: 0 0 0 2px var(--q-bg), 0 0 0 3px var(--q-gold); outline: none; }
.q-spools__more { font-size: .78rem; color: var(--q-muted); margin-inline-start: 2px; direction: ltr; unicode-bidi: isolate; }
@media (max-width: 767px) { .q-spool { width: 18px; height: 18px; } .q-spools { gap: 6px; } }

/* ---------- ٢٦) اللوحة الجانبية للسلة ---------- */
salla-add-product-toast, [data-testid="store-add-product-toast"] { display: none !important; }
.q-drawer-veil { position: fixed; inset: 0; z-index: 99970; background: rgba(43, 18, 26, .38); opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.q-drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 99971; width: min(400px, 92vw);
  background: var(--q-bg); box-shadow: 18px 0 50px rgba(43, 18, 26, .18);
  display: flex; flex-direction: column; transform: translateX(-104%);
  transition: transform .55s cubic-bezier(.2, .8, .25, 1); font-family: var(--font-main);
}
html.q-drawer-open .q-drawer { transform: none; }
html.q-drawer-open .q-drawer-veil { opacity: 1; pointer-events: auto; }
.q-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 18px; border-bottom: 1px solid var(--q-line); }
.q-drawer__head h2 { margin: 0; font-family: var(--q-font-display) !important; font-size: 1.45rem !important; color: var(--q-heading) !important; }
.q-drawer__close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--q-line); background: transparent; color: var(--q-primary); font-size: 20px; line-height: 1; cursor: pointer; }
.q-drawer__body { flex: 1; overflow: auto; padding: 22px 24px; display: flex; flex-direction: column; gap: 22px; }
.q-drawer__item { display: flex; gap: 16px; align-items: center; }
.q-drawer__img { width: 84px; aspect-ratio: 3 / 4; flex: none; border-radius: 9999px 9999px 3px 3px; overflow: hidden; background: var(--q-alt); }
.q-drawer__img img { width: 100%; height: 100%; object-fit: cover; }
.q-drawer__name { font-weight: 600; color: var(--q-text); line-height: 1.6; }
.q-drawer__price { color: var(--q-heading); font-weight: 600; margin-top: 4px; }
.q-drawer__added { display: inline-flex; align-items: center; gap: 6px; color: var(--q-gold); font-size: .85rem; margin-top: 6px; }
.q-ship { background: var(--q-surface); border: 1px solid var(--q-line); border-radius: 4px; padding: 16px 16px 20px; }
.q-ship__msg { font-size: .92rem; color: var(--q-text); margin-bottom: 18px; }
.q-ship__msg b { color: var(--q-heading); }
.q-ship__bar { position: relative; height: 2px; background: repeating-linear-gradient(to left, var(--q-line) 0 7px, transparent 7px 11px); }
.q-ship__fill { position: absolute; top: 0; right: 0; height: 2px; width: 0; background: var(--q-gold); transition: width 1s cubic-bezier(.6, 0, .2, 1) .3s; }
.q-ship__fill::after {
  content: ""; position: absolute; top: -10px; left: -27px; width: 28px; height: 12px; background: var(--q-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M3 3.2 L26 10.6' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3Cellipse cx='4.6' cy='3.6' rx='2.6' ry='1.3' transform='rotate(18 4.6 3.6)' fill='none' stroke='%23000' stroke-width='1.1'/%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 28 12'%3E%3Cpath d='M3 3.2 L26 10.6' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3Cellipse cx='4.6' cy='3.6' rx='2.6' ry='1.3' transform='rotate(18 4.6 3.6)' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.q-drawer__total { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.q-drawer__total b { font-family: var(--font-main); font-weight: 600; font-size: 1.3rem; color: var(--q-heading); }
.q-drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--q-line); display: flex; flex-direction: column; gap: 10px; }
.q-drawer__cta, .q-drawer__ghost {
  display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 14px; border-radius: 2px; font-weight: 600; text-decoration: none; cursor: pointer; font-family: inherit; font-size: 1rem;
}
.q-drawer__cta { background: var(--q-primary); color: var(--q-on-primary) !important; border: 1px solid var(--q-primary); }
.q-drawer__ghost { background: transparent; color: var(--q-primary) !important; border: 1px solid var(--q-primary); }
.q-drawer__cta:hover { opacity: .92; }
.q-drawer__ghost:hover { background: var(--q-alt); }

/* ---------- ٢٧) الزر الثابت بصفحة المنتج على الجوال ---------- */
@media (max-width: 1023px) {
  #app .sticky-product-bar { background: var(--q-bg) !important; border-top: 1px solid var(--q-line); box-shadow: 0 -10px 30px rgba(43, 18, 26, .08) !important; }
}

/* ---------- ٢٨) صفحة السلة ---------- */
#app .cart-item { background: var(--q-surface) !important; border: 1px solid var(--q-line); border-radius: 4px !important; box-shadow: none !important; }
#app .cart-item img { border-radius: 9999px 9999px 3px 3px !important; width: 72px !important; height: 96px !important; border: 0 !important; }
#app .cart-item h1, #app .cart-item h1 a { font-family: var(--font-main) !important; font-size: 1rem !important; font-weight: 600; color: var(--q-text) !important; }
#app .cart-item .item-total { color: var(--q-heading); }
#app .cart-item .btn--delete button { background: transparent !important; color: var(--q-primary) !important; border: 1px solid var(--q-line) !important; border-radius: 50% !important; }
#app .s-cart-summary-card, #app .s-cart-summary-card-sheet { background: var(--q-surface) !important; border-radius: 4px !important; }
#app .s-cart-summary-card { border: 1px solid var(--q-line); box-shadow: none !important; }
#app .s-cart-summary-card-sheet-title { font-family: var(--q-font-display) !important; color: var(--q-heading) !important; font-size: 1.3rem !important; }
/* الأرقام بنفس خط الموقع: أرقام Amiri شكلها مختلف عن باقي الأسعار */
#app .s-cart-summary-card-bar-total { font-family: var(--font-main) !important; font-weight: 600 !important; color: var(--q-heading) !important; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
#app .s-cart-summary-card [class*="bar"], #app .s-cart-summary-card-sheet [class*="bar"] { background: transparent !important; }
#app #cart-gifting, #app salla-cart-coupons > div { background: var(--q-surface) !important; border: 1px solid var(--q-line); box-shadow: none !important; }

/* ---------- ٢٩) صفحات الحساب والمفضلة ---------- */
#app .profile-header { background: var(--q-band) !important; background-image: none !important; position: relative; }
#app .profile-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 30px; opacity: .3; background-color: var(--q-gold-soft);
  -webkit-mask: var(--q-pattern-tile) center / auto 100% repeat-x; mask: var(--q-pattern-tile) center / auto 100% repeat-x;
}
#app .profile-header .s-breadcrumb-item, #app .profile-header .s-breadcrumb-item a, #app .profile-header svg { color: var(--q-band-text) !important; fill: var(--q-band-text) !important; }
#app nav.sidebar { background: var(--q-surface) !important; border: 1px solid var(--q-line); box-shadow: 0 14px 34px rgba(43, 18, 26, .08) !important; border-radius: 4px !important; }
#app .s-user-menu-dropdown-item-link { color: var(--q-text) !important; transition: color .25s, background .25s; border-radius: 2px; }
#app .s-user-menu-dropdown-item-link:hover { color: var(--q-heading) !important; background: var(--q-alt) !important; }
#app .s-user-menu-dropdown-item-logout .s-user-menu-dropdown-item-link { color: #9B3B3B !important; }
#app .s-wishlist-actions-page-title, #app .main-content > h1 { font-family: var(--q-font-display) !important; color: var(--q-heading) !important; font-size: 1.6rem !important; line-height: 1.6 !important; }
#app .product-entry--wishlist { background: var(--q-surface) !important; border: 1px solid var(--q-line) !important; border-radius: 4px !important; box-shadow: none !important; padding: 14px 18px !important; }
#app .product-entry--wishlist .product-entry__image { width: 70px !important; height: 94px !important; border-radius: 9999px 9999px 3px 3px !important; overflow: hidden; flex: none; }
#app .product-entry--wishlist h3, #app .product-entry--wishlist h3 a { font-size: 1rem !important; font-weight: 600; color: var(--q-text) !important; }
#app .product-entry--wishlist h4 { color: var(--q-heading) !important; }
#app .product-entry--wishlist .btn--delete button { background: transparent !important; color: var(--q-primary) !important; border: 1px solid var(--q-line) !important; border-radius: 50% !important; }
#app .s-infinite-scroll-last { color: var(--q-muted) !important; font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  .q-swatches__track { animation: none !important; flex-wrap: wrap; justify-content: center; }
  .q-drawer, .q-drawer-veil { transition: none !important; }
}

/* عناوين أقسام المنتجات */
#app .q-sec-title { display: flex; flex-direction: column; align-items: center; margin-bottom: 26px; }
#app .q-sec-title h2 { margin: 0; }
#app .q-sec-all {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 22px;
  font-size: .92rem; font-weight: 600; color: var(--q-primary) !important; text-decoration: none;
  border: 1px solid var(--q-primary); border-radius: 2px; background: transparent;
  transition: background .3s ease, color .3s ease, gap .3s ease;
}
#app .q-sec-all span { transition: transform .3s ease; }
#app .q-sec-all:hover, #app .q-sec-all:focus-visible { background: var(--q-primary); color: var(--q-on-primary) !important; gap: 14px; outline: none; }
/* شريط العيّنات بقسمه */
.s-block--bundle-html-content .q-strip { padding: 0; }

/* ---------- ٣٠) صفحة القسم ونتائج البحث ---------- */
#app .container--products-list > .main-content > .mb-4:first-child,
#app .container--products-list > .main-content > div:first-child {
  flex-direction: column; align-items: center !important; gap: 14px; margin-bottom: 34px !important; text-align: center;
}
#app #page-main-title { font-family: var(--q-font-display) !important; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem) !important; color: var(--q-heading) !important; line-height: 1.5 !important; padding: 0 !important; }
#app #page-main-title::after {
  content: ""; display: block; width: 180px; aspect-ratio: 1731 / 627; margin: 8px auto 0; background-color: var(--q-gold);
  -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat;
}
#app .q-cat-intro { max-width: 720px; margin: 2px auto 0 !important; font-family: var(--font-main); font-size: 1rem; font-weight: 400; line-height: 2; color: var(--q-text); text-align: center; }
#app .q-count { display: block; font-family: var(--font-main); font-size: .9rem; font-weight: 400; color: var(--q-muted); margin-top: 4px; }
#app #product-filter {
  background: transparent !important; border: 1px solid var(--q-line) !important; border-radius: 2px !important;
  padding: 8px 14px 8px 36px !important; color: var(--q-text) !important; font-family: var(--font-main);
}
#app label[for="product-filter"] { color: var(--q-muted); font-size: .9rem; }
#app .s-products-list-vertical-cards { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 40px 26px !important; }
@media (max-width: 1023px) { #app .s-products-list-vertical-cards { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 767px) { #app .s-products-list-vertical-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 30px 14px !important; } }

/* ---------- ٣١) الصفحات الثابتة (المقاسات، السياسات…) ---------- */
#app .content--single-page {
  background: var(--q-surface) !important; border: 1px solid var(--q-line); border-radius: 4px !important; box-shadow: none !important;
  max-width: 860px; padding: clamp(24px, 4vw, 56px) !important;
}
#app .content--single-page > h1 {
  font-family: var(--q-font-display) !important; color: var(--q-heading) !important; text-align: center;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem) !important; line-height: 1.5 !important; margin-bottom: 30px !important;
}
#app .content--single-page > h1::after {
  content: ""; display: block; width: 170px; aspect-ratio: 1731 / 627; margin: 10px auto 0; background-color: var(--q-gold);
  -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat;
}
#app .content-entry { color: var(--q-text); line-height: 2.1; font-size: 1rem; }
#app .content-entry p:empty, #app .content-entry p:has(> br:only-child) { display: none; }
#app .content-entry [style*="color"] { color: inherit !important; }
#app .content-entry ul { list-style: none; padding: 0 !important; margin: 14px 0 !important; }
#app .content-entry ul li { position: relative; padding-inline-start: 22px; margin-bottom: 8px; }
#app .content-entry ul li::before { content: ""; position: absolute; right: 2px; top: .9em; width: 7px; height: 7px; background: var(--q-gold); transform: rotate(45deg); }
#app .content-entry h2, #app .content-entry h3 { font-family: var(--q-font-display) !important; color: var(--q-heading) !important; margin: 1.4em 0 .5em !important; }
#app .content-entry table { width: 100%; border-collapse: collapse; margin: 16px 0; }
#app .content-entry th, #app .content-entry td { border: 1px solid var(--q-line); padding: 10px 12px; text-align: center; }
#app .content-entry th { background: var(--q-alt); color: var(--q-heading); font-weight: 600; }
#app .content--single-page salla-comments { display: none !important; }

/* ---------- ٣٢) دليل المقاسات المرسوم ---------- */
.q-size-art { display: flex; justify-content: center; margin: 0 auto 26px; }
.q-size-art svg { width: min(300px, 80vw); height: auto; overflow: visible; }
.q-size-art .q-sa-body { fill: var(--q-alt); stroke: var(--q-primary); stroke-width: 1.6; stroke-linejoin: round; }
.q-size-art .q-sa-emb { fill: none; stroke: var(--q-gold); stroke-width: 1.4; }
.q-size-art .q-sa-m { stroke: var(--q-gold); stroke-width: 1.3; stroke-dasharray: 4 4; fill: none; }
.q-size-art .q-sa-dot { fill: var(--q-gold); }
.q-size-art text { font-family: var(--font-main); font-size: 11px; fill: var(--q-heading); font-weight: 600; }
.q-size-art .q-sa-m { stroke-dashoffset: 200; animation: q-dash 2.4s ease forwards; }
@keyframes q-dash { to { stroke-dashoffset: 0; } }
.q-size-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 10px; padding: 2px 0;
  background: none; border: 0; border-bottom: 1px dashed var(--q-gold); color: var(--q-gold); font: inherit; font-size: .85rem; cursor: pointer;
}
.q-size-modal-veil { position: fixed; inset: 0; z-index: 99975; background: rgba(43, 18, 26, .45); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .35s ease; }
.q-size-modal-veil.is-on { opacity: 1; }
.q-size-modal {
  position: relative; width: min(560px, 100%); max-height: 88vh; overflow: auto; background: var(--q-bg);
  border-radius: 4px; padding: 34px 28px 28px; box-shadow: 0 30px 70px rgba(43, 18, 26, .3);
  transform: translateY(16px); transition: transform .45s cubic-bezier(.2, .8, .25, 1);
}
.q-size-modal-veil.is-on .q-size-modal { transform: none; }
.q-size-modal h2 { margin: 0 0 18px; text-align: center; font-family: var(--q-font-display) !important; color: var(--q-heading) !important; font-size: 1.6rem !important; }
.q-size-modal .content-entry { font-size: .95rem; }
.q-size-modal__close { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--q-line); background: transparent; color: var(--q-primary); font-size: 20px; cursor: pointer; }

/* ---------- ٣٣) الصفحات الفاضية (طلبات، مفضلة، بحث بدون نتائج) ---------- */
#app .no-content-placeholder { min-height: 40vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
#app .no-content-placeholder .icon { display: none !important; }
#app .no-content-placeholder::before {
  content: ""; display: block; width: 200px; max-width: 70%; aspect-ratio: 1731 / 627; margin: 0 auto 10px; background-color: var(--q-gold);
  -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat;
}
#app .no-content-placeholder p { font-family: var(--q-font-display); font-size: 1.5rem; color: var(--q-heading) !important; margin: 0; }

/* لما الزبونة تختار لون، الإطار الذهبي ما بيرجع ينرسم فوق الصورة */
.s-product-card-entry.q-picked .s-product-card-image > a::after { opacity: 0 !important; transition: none !important; }
.s-product-card-entry.q-picked .s-product-card-image::after { transition: none !important; transform: translateX(110%) !important; }

/* شريط العيّنات انلغى: منخفي العنصر لحد ما ينشال من سلة */
.s-block--bundle-html-content:has(.q-swatches) { display: none !important; }

/* ---------- ٣٤) دليل المقاسات التفاعلي ---------- */
.q-sizer { display: flex; flex-direction: column; align-items: center; gap: 20px; margin: 0 auto 34px; max-width: 640px; }
.q-sizer__lead { margin: 0; font-family: var(--q-font-display); font-size: 1.2rem; color: var(--q-heading); }
.q-sizer__tabs { display: inline-flex; border: 1px solid var(--q-line); border-radius: 2px; overflow: hidden; }
.q-sizer__tabs button {
  min-width: 66px; padding: 10px 16px; background: transparent; border: 0; border-inline-start: 1px solid var(--q-line);
  font-family: var(--font-main); font-weight: 600; color: var(--q-muted); cursor: pointer; transition: background .35s, color .35s;
}
.q-sizer__tabs button:first-child { border-inline-start: 0; }
.q-sizer__tabs button[aria-checked="true"] { background: var(--q-primary); color: var(--q-on-primary); }
.q-sizer__stage { width: 100%; display: flex; justify-content: center; }
.q-sizer__stage svg { width: min(380px, 92vw) !important; height: auto; overflow: visible; }
.q-sizer .q-sa-body { fill: var(--q-alt); stroke: var(--q-primary); stroke-width: 1.4; stroke-linejoin: round; }
.q-sizer .q-sa-emb { fill: none; stroke: var(--q-gold); stroke-width: 1.3; }
.q-ln path { stroke: var(--q-gold); stroke-width: 1.3; stroke-dasharray: 4 4; fill: none; transition: stroke-width .3s, stroke-dasharray .3s; }
.q-ln .q-lead { stroke-dasharray: 2 4; opacity: .6; }
.q-ln circle { fill: var(--q-gold); }
.q-ln.is-hot path:not(.q-lead) { stroke-width: 2.4; stroke-dasharray: none; }
.q-tag { cursor: default; }
.q-tag text { font-family: var(--font-main); }
.q-tn { font-size: 11px; fill: var(--q-muted); }
.q-tv { font-size: 15px; font-weight: 700; fill: var(--q-heading); font-family: var(--q-font-display); }
.q-sizer.q-pulse .q-ln circle { animation: q-dotpulse 1.2s ease; }
@keyframes q-dotpulse { 50% { r: 4.2; } }
.q-sizer__table { display: grid; grid-template-columns: 1.2fr repeat(var(--q-n, 4), 1fr); width: 100%; border: 1px solid var(--q-line); border-radius: 2px; overflow: hidden; background: var(--q-surface); }
.q-sizer__cell { padding: 10px 6px; text-align: center; font-size: .92rem; color: var(--q-text); border-top: 1px solid var(--q-line); transition: background .7s, color .7s; }
.q-sizer__colhead, .q-sizer__table > .q-sizer__rowhead:first-child { border-top: 0; font-weight: 600; color: var(--q-muted); }
.q-sizer__rowhead { color: var(--q-muted); font-size: .85rem; text-align: start; padding-inline-start: 14px; }
.q-sizer__cell.is-on { background: rgba(91, 35, 51, .07); color: var(--q-heading); font-weight: 700; }
.q-sizer__colhead.is-on { background: var(--q-primary); color: var(--q-on-primary); }
.q-sizer__finder { width: 100%; background: var(--q-surface); border: 1px solid var(--q-line); border-radius: 2px; padding: 18px 16px; text-align: center; }
.q-sizer__ask { margin: 0 0 4px; font-weight: 600; color: var(--q-heading); }
.q-sizer__sub { margin: 0 0 14px; font-size: .88rem; color: var(--q-muted); line-height: 1.8; }
.q-sizer__help { margin: 14px 0 0; font-size: .86rem; color: var(--q-muted); }
.q-sizer__help a, .q-sizer__tip a { color: var(--q-heading); text-decoration: underline; text-underline-offset: 3px; }
.q-sizer__tip b + b, .q-sizer__tip b { margin-inline: 2px; }
.q-sizer__howp { margin: 0 0 8px; text-align: center; color: var(--q-text); font-size: .95rem; line-height: 1.9; }
.q-sizer__how ul + .q-sizer__howp { margin: 12px 0 0; }
.q-sizer__howp--soft { color: var(--q-muted); font-size: .9rem; }
@media (max-width: 480px) { .q-sizer__cell { padding: 9px 2px; font-size: .84rem; } .q-sizer__rowhead { padding-inline-start: 8px; } }
.q-sizer__inputs { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.q-sizer__inputs label { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--q-text); }
.q-sizer__inputs input {
  width: 84px; padding: 8px 10px; text-align: center; border: 1px solid var(--q-line) !important; border-radius: 2px;
  background: var(--q-bg) !important; color: var(--q-text) !important; font-family: var(--font-main); font-size: 1rem;
}
.q-sizer__tip { margin: 12px 0 0; min-height: 1.6em; color: var(--q-text); line-height: 1.9; }
.q-sizer__tip b { color: var(--q-heading); font-size: 1.2rem; font-family: var(--q-font-display); }
.q-sizer__tip span { display: block; color: var(--q-muted); font-size: .9rem; }
.q-sizer__how { width: 100%; }
.q-sizer__howt { margin: 0 0 8px; font-family: var(--q-font-display); color: var(--q-heading); font-size: 1.15rem; text-align: center; }
.q-sizer__how ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.q-sizer__how li { position: relative; padding-inline-start: 20px; line-height: 1.9; color: var(--q-text); font-size: .95rem; }
.q-sizer__how li::before { content: ""; position: absolute; right: 2px; top: .85em; width: 7px; height: 7px; background: var(--q-gold); transform: rotate(45deg); }
.q-sizer__how li b { color: var(--q-heading); }
.q-sizer__note { margin: 0; text-align: center; color: var(--q-muted); font-size: .88rem; }

/* شريط الشحن المجاني بصفحة السلة */
.q-ship-page { margin-bottom: 16px; }
#free-shipping { display: none !important; }

/* زر الرجوع بالصفحات الفاضية */
#app .no-content-placeholder a, #app [data-testid="store-cart-back-home"] {
  width: auto !important; height: auto !important; min-width: 0 !important; aspect-ratio: auto !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  padding: 12px 32px !important; margin-top: 10px; border-radius: 2px !important;
  border: 1px solid var(--q-primary) !important; background: transparent !important; color: var(--q-primary) !important;
  font-family: var(--font-main); font-size: .95rem !important; font-weight: 600; text-decoration: none; transition: background .3s, color .3s;
}
#app .no-content-placeholder a:hover, #app [data-testid="store-cart-back-home"]:hover { background: var(--q-primary) !important; color: var(--q-on-primary) !important; }

/* ---------- ٣٥) وصف المنتج على القالب ---------- */
#app .q-desc { font-size: 1rem !important; line-height: 2.05 !important; color: var(--q-text) !important; }
#app .q-desc * { color: inherit; }
#app .q-desc p, #app .q-desc li { font-size: 1rem !important; margin: 0 0 .35em !important; text-align: start !important; }
#app .q-desc .q-d-gap { display: none !important; }
#app .q-desc .q-d-title {
  font-family: var(--q-font-display) !important; font-size: 1.4rem !important; font-weight: 700 !important; line-height: 1.7 !important;
  color: var(--q-heading) !important; margin: 0 0 .6em !important;
}
#app .q-desc .q-d-h {
  position: relative; display: flex; align-items: center; gap: 10px;
  font-family: var(--q-font-display) !important; font-size: 1.25rem !important; font-weight: 700 !important;
  color: var(--q-heading) !important; margin: 1.4em 0 .4em !important;
}
#app .q-desc .q-d-h::after { content: ""; flex: 1; height: 1px; background: var(--q-line); }
#app .q-desc .q-d-h strong { font-weight: 700; color: inherit !important; }
#app .q-desc ul { list-style: none !important; padding: 0 !important; margin: .2em 0 .6em !important; }
#app .q-desc li { position: relative; padding-inline-start: 20px; }
#app .q-desc li::before { content: ""; position: absolute; right: 2px; top: .9em; width: 6px; height: 6px; background: var(--q-gold); transform: rotate(45deg); }
#app .q-desc li::marker { content: none; }
#app .q-desc li strong { color: var(--q-heading) !important; font-weight: 600; }
/* أي خط ملصوق مع الوصف بيرجع لخط المتجر (العنوان والعناوين الفرعية بيضلوا بخط العناوين) */
#app .q-desc, #app .q-desc :is(p, li, span, div, b, strong, em, i, .q-d-p) { font-family: var(--font-main) !important; }
#app .q-desc .q-d-title, #app .q-desc .q-d-title *, #app .q-desc .q-d-h, #app .q-desc .q-d-h * { font-family: var(--q-font-display) !important; }
#app .q-desc .q-d-p { font-size: 1rem !important; font-weight: 400 !important; line-height: 2.05 !important; color: var(--q-text) !important; margin: 0 0 .35em !important; }
/* سطور التفاصيل: التسمية بالبولد، خط نقاط ذهبي، والقيمة عالطرف التاني */
#app .q-desc .q-d-dia { flex: none; color: var(--q-gold); margin-inline-end: 8px; font-size: .75em; }
#app .q-desc li.q-d-row::before, #app .q-desc li.q-d-line::before { content: none !important; }
#app .q-desc li.q-d-row, #app .q-desc li.q-d-line { padding-inline-start: 0 !important; }
#app .q-desc .q-d-row {
  display: grid; grid-template-columns: auto 8.5em minmax(0, 1fr); align-items: baseline; max-width: 640px;
  margin: 0 !important; padding: .5em 0 !important; border-bottom: 1px solid rgba(168, 132, 79, .25);
}
#app .q-desc .q-d-row strong { color: var(--q-heading) !important; font-weight: 600; padding-inline-end: 12px; }
#app .q-desc .q-d-row:not(:has(+ .q-d-row)) { border-bottom: 0; }   /* آخر سطر ما إله خط، لأنو بعده بيبلّش قسم جديد بخطه */
#app .q-desc .q-d-lead { display: none; }
#app .q-desc .q-d-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#app .q-desc .q-d-val { text-align: start !important; }
@media (max-width: 767px) { #app .q-desc .q-d-row { grid-template-columns: auto 7em minmax(0, 1fr); } }
#app .q-desc .q-d-note {
  margin-top: 1.4em !important; padding: 12px 16px; background: var(--q-surface); border: 1px solid var(--q-line);
  border-inline-start: 2px solid var(--q-gold); border-radius: 2px; font-size: .95rem !important; color: var(--q-text) !important;
}
#app .q-size-link { color: var(--q-gold) !important; text-decoration: none; border-bottom: 1px dashed var(--q-gold); font-weight: 600; }
#app .q-size-link:hover { color: var(--q-heading) !important; border-bottom-color: var(--q-heading); }
/* الوسوم تحت الوصف */
#app .container--product-details .mb-3 > a[href*="/tag-"] { color: var(--q-muted) !important; font-size: .85rem; text-decoration: none; border-bottom: 1px solid var(--q-line); }

/* الوصف بيضل مخفي لحظة لحد ما يتنسّق، وبعدين بيظهر بتلاشي (ولو تأخر الكود بيظهر لحاله) */
@keyframes q-desc-show { to { opacity: 1; } }
.container--product-details .article--main:not(.q-desc) { opacity: 0; animation: q-desc-show .3s ease 1.6s forwards; }
.container--product-details .article--main.q-desc { animation: q-desc-show .35s ease both; opacity: 0; }
.container--product-details .article--main p:has(> br:only-child) { display: none; }

/* الطبقات فوق الصورة بتاخد نفس شكل القوس، حتى وهي عم تتحرك مع الشريط */
.s-product-card-entry .s-product-card-image { -webkit-mask-image: -webkit-radial-gradient(white, black); transform: translateZ(0); }
.q-card-video, .q-card-detail { border-radius: 9999px 9999px 4px 4px !important; }

/* سطور المقاسات بنص الصفحة: موجودة لجوجل، ومعروضة بالدليل */
.q-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
/* صفحة المقاسات بتظهر لما يجهز الدليل */
@keyframes q-show2 { to { opacity: 1; } }
#app .content--single-page:has(h1) { animation: q-show2 .35s ease both; }

/* ---------- الفوتر: الروابط والتواصل بعمودين مرتبين ---------- */
.store-footer .store-footer__inner > .container { grid-template-columns: 1fr 1fr !important; max-width: 720px !important; }
.store-footer .store-footer__inner > .container > div:first-child,
.store-footer .store-footer__inner > .container > salla-apps-icons { grid-column: 1 / -1 !important; }
.store-footer .store-footer__inner > .container > div:nth-child(2),
.store-footer .store-footer__inner > .container > div:nth-child(3) {
  flex-direction: column !important; justify-content: flex-start !important; align-items: center !important; gap: 14px !important;
  padding: 24px 12px !important; border-top: 1px solid rgba(216, 192, 154, .18);
}
.store-footer .store-footer__inner > .container > div:nth-child(3) { border-inline-start: 1px solid rgba(216, 192, 154, .18); }
.store-footer h3, .store-footer .s-contacts-title {
  font-family: var(--q-font-display) !important; font-size: 1.15rem !important; color: var(--q-gold-soft) !important; margin: 0 !important; text-align: center;
}
.store-footer .s-menu-footer-list { flex-direction: column !important; gap: 8px !important; }
.store-footer .s-menu-footer-item { padding: 0 !important; font-size: .95rem; }
.store-footer .s-menu-footer-item + .s-menu-footer-item::before { display: none !important; }
.store-footer .s-contacts-list { flex-direction: column !important; align-items: center; }
@media (max-width: 767px) {
  .store-footer .store-footer__inner > .container { grid-template-columns: 1fr !important; }
  .store-footer .store-footer__inner > .container > div:nth-child(3) { border-inline-start: 0; }
}

/* روابط الصفحات داخل أجوبة الأسئلة الشائعة */
.q-faq-link { color: var(--q-heading) !important; font-weight: 600; text-decoration: underline 1px; text-decoration-color: var(--q-gold); text-underline-offset: 5px; transition: color .3s ease, text-decoration-color .3s ease; }
.q-faq-link:hover, .q-faq-link:focus-visible { color: var(--q-primary) !important; text-decoration-color: currentColor; }

/* ---------- ٣٦) المدونة: صفحة المقالة ---------- */
body.blog-single aside[aria-label="Sidebar"]:not(:has(*)) { display: none !important; }
body.blog-single .main-content.blog-category {
  background: transparent !important; max-width: 760px; margin-inline: auto !important; padding: 0 0 20px !important; border-radius: 0 !important;
}
body.blog-single .blog-category > h1 {
  font-family: var(--q-font-display) !important; color: var(--q-heading) !important; text-align: center; font-weight: 700 !important;
  font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem) !important; line-height: 1.55 !important; margin: 10px 0 14px !important;
}
body.blog-single .blog-category > h1::after {
  content: ""; display: block; width: 150px; aspect-ratio: 1731 / 627; margin: 12px auto 0; background-color: var(--q-gold);
  -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat;
}
body.blog-single .blog-category > h1 + div {
  display: flex !important; justify-content: center; flex-wrap: wrap; gap: 6px 22px; width: 100%; margin-bottom: 30px !important;
  color: var(--q-muted) !important; font-size: .85rem !important;
}
body.blog-single .blog-category > h1 + div > * { margin: 0 !important; display: flex; align-items: center; color: inherit !important; }
body.blog-single .blog-category > h1 + div i { color: var(--q-gold); }
body.blog-single .blog-category > img {
  display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 40px !important;
  border-radius: 50% 50% 4px 4px / 26% 26% 4px 4px !important;
  outline: 1px solid var(--q-gold); outline-offset: 7px;
}
body.blog-single .blog-category article {
  font-size: 1.0625rem !important; line-height: 2.1 !important; color: var(--q-text); margin-bottom: 36px !important;
}
body.blog-single .blog-category article p:has(> br:only-child), body.blog-single .blog-category article p:empty { display: none; }
body.blog-single .blog-category article p { margin: 0 0 1.1em; }
body.blog-single .blog-category article [style*="color"] { color: inherit !important; }
body.blog-single .blog-category article h2, body.blog-single .blog-category article h3 {
  position: relative; font-family: var(--q-font-display) !important; color: var(--q-heading) !important; font-weight: 700;
  line-height: 1.6; margin: 1.8em 0 .6em !important; padding-inline-start: 22px;
}
body.blog-single .blog-category article h2 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.6rem); }
body.blog-single .blog-category article h3 { font-size: 1.25rem; }
body.blog-single .blog-category article h2::before, body.blog-single .blog-category article h3::before {
  content: ""; position: absolute; right: 2px; top: .72em; width: 9px; height: 9px; background: var(--q-gold); transform: rotate(45deg);
}
body.blog-single .blog-category article ul, body.blog-single .blog-category article ol { padding-inline-start: 22px; margin: 0 0 1.1em; }
body.blog-single .blog-category article li { margin-bottom: .4em; }
body.blog-single .blog-category article ul { list-style: none; padding-inline-start: 0; }
body.blog-single .blog-category article ul li { position: relative; padding-inline-start: 22px; }
body.blog-single .blog-category article ul li::before { content: ""; position: absolute; right: 3px; top: .95em; width: 6px; height: 6px; background: var(--q-gold); transform: rotate(45deg); }
body.blog-single .blog-category article blockquote { border-inline-start: 2px solid var(--q-gold); padding: 4px 18px; margin: 1.4em 0; font-family: var(--q-font-display); font-size: 1.2rem; color: var(--q-heading); }
body.blog-single .blog-category article img { max-width: 100%; height: auto; border-radius: 4px; margin: 1em auto; }
/* الروابط: باينة دايماً */
body.blog-single .blog-category article a {
  color: var(--q-heading) !important; font-weight: 600; text-decoration: underline 1px; text-decoration-color: var(--q-gold);
  text-underline-offset: 6px; transition: color .3s ease, text-decoration-color .3s ease;
}
body.blog-single .blog-category article a:hover, body.blog-single .blog-category article a:focus-visible { color: var(--q-primary) !important; text-decoration-color: currentColor; text-decoration-thickness: 2px; }
/* الوسوم */
body.blog-single .blog-category article + div { border-color: var(--q-line) !important; justify-content: center; gap: 8px; padding: 22px 0 0 !important; }
body.blog-single .blog-category article + div a, body.blog-index .post-entry > div:last-child a {
  border: 1px solid var(--q-line); border-radius: 999px !important; color: var(--q-muted) !important; background: transparent;
  padding: 6px 16px !important; font-size: .8rem !important; transition: border-color .3s, color .3s;
}
body.blog-single .blog-category article + div a:hover, body.blog-index .post-entry > div:last-child a:hover { border-color: var(--q-gold); color: var(--q-heading) !important; }
/* مربع آخر المقالة */
.q-post-end {
  margin: 44px 0 0; padding: 34px clamp(18px, 4vw, 40px); text-align: center; background: var(--q-surface);
  border: 1px solid var(--q-gold); border-radius: 4px; position: relative;
}
.q-post-end::before {
  content: ""; display: block; width: 110px; aspect-ratio: 1731 / 627; margin: 0 auto 12px; background-color: var(--q-gold);
  -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat;
}
.q-post-end__t { font-family: var(--q-font-display); font-weight: 700; color: var(--q-heading); font-size: 1.5rem; margin: 0 0 4px; }
.q-post-end__s { color: var(--q-muted); font-size: .92rem; margin: 0 0 20px; }
.q-post-end__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.q-post-end__links a {
  border: 1px solid var(--q-primary); color: var(--q-primary) !important; padding: 9px 18px; font-size: .9rem; font-weight: 600; border-radius: 2px;
  transition: background .3s ease, color .3s ease;
}
.q-post-end__links a:hover, .q-post-end__links a:focus-visible { background: var(--q-primary); color: var(--q-on-primary) !important; }
.q-post-end__all { color: var(--q-heading) !important; font-size: .9rem; text-decoration: underline 1px; text-decoration-color: var(--q-gold); text-underline-offset: 6px; }
.q-readtime { display: flex; align-items: center; }

/* ---------- ٣٧) المدونة: قائمة المقالات ---------- */
body.blog-index #blog-home-slider { display: none !important; }
body.q-blog-nocats .cat-filter { display: none !important; }
body.q-blog-nocats #filters-menu { display: none !important; }
body.q-blog-nocats .main-content { grid-column: 1 / -1 !important; }
.q-blog-head { text-align: center; margin: 0 auto 34px; max-width: 640px; }
.q-blog-head h1 { font-family: var(--q-font-display) !important; color: var(--q-heading) !important; font-weight: 700; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); line-height: 1.5; margin: 0; }
.q-blog-head h1::after {
  content: ""; display: block; width: 96px; aspect-ratio: 1731 / 627; margin: 8px auto 10px; background-color: var(--q-gold); opacity: .85;
  -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat;
}
.q-blog-head p { color: var(--q-muted); margin: 0; font-size: .98rem; }
body.blog-index salla-infinite-scroll { gap: 26px !important; }
@media (min-width: 1024px) { body.blog-index salla-infinite-scroll { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
body.blog-index .post-entry {
  background: var(--q-surface) !important; border: 1px solid var(--q-line); border-radius: 4px !important; box-shadow: none !important;
  padding: 14px 14px 0; display: flex !important; flex-direction: column; transition: border-color .4s ease, transform .4s ease !important;
}
body.blog-index .post-entry:hover { border-color: var(--q-gold); transform: translateY(-3px); }
body.blog-index .post-entry__image { height: auto !important; aspect-ratio: 4 / 3; border-radius: 9999px 9999px 3px 3px !important; background: var(--q-alt) !important; }
body.blog-index .post-entry__image img { transition: transform 1.2s ease; }
body.blog-index .post-entry:hover .post-entry__image img { transform: scale(1.05); }
body.blog-index .post-entry > .flex-1 { padding: 18px 6px 20px !important; text-align: center; display: flex; flex-direction: column; align-items: center; }
body.blog-index .post-entry > .flex-1 > div:first-child { color: var(--q-muted) !important; font-size: .8rem !important; justify-content: center; }
body.blog-index .post-entry > .flex-1 > div:first-child i { color: var(--q-gold); }
body.blog-index .post-entry__title { font-family: var(--q-font-display) !important; font-size: 1.3rem !important; line-height: 1.6 !important; margin-bottom: 8px !important; }
body.blog-index .post-entry__title a { color: var(--q-heading) !important; }
body.blog-index .post-entry > .flex-1 > p { color: var(--q-muted) !important; font-size: .9rem !important; line-height: 1.9 !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.q-post-more { margin-top: auto; padding-top: 6px; color: var(--q-heading) !important; font-weight: 600; font-size: .9rem; text-decoration: underline 1px; text-decoration-color: var(--q-gold); text-underline-offset: 6px; }
.q-post-more:hover { text-decoration-color: currentColor; }
body.blog-index .post-entry > div:last-child { border-color: var(--q-line) !important; justify-content: center; padding: 12px 0 14px !important; }

/* المقالة الأولى عريضة: الصورة جنب الكلام */
body.blog-index salla-infinite-scroll { max-width: 1100px; margin-inline: auto; }
body.blog-index .post-entry.q-post-lead { grid-column: 1 / -1; }
@media (min-width: 768px) {
  body.blog-index .post-entry.q-post-lead { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 34px; padding: 18px; }
  body.blog-index .q-post-lead .post-entry__image { grid-row: 1 / span 2; aspect-ratio: 5 / 4; }
  body.blog-index .q-post-lead > .flex-1 { justify-content: center; padding: 20px 10px !important; }
  body.blog-index .q-post-lead .post-entry__title { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem) !important; line-height: 1.55 !important; margin-bottom: 14px !important; }
  body.blog-index .q-post-lead > .flex-1 > p { font-size: 1rem !important; -webkit-line-clamp: 4; max-width: 460px; }
  body.blog-index .q-post-lead .q-post-more { margin-top: 14px; }
  body.blog-index .q-post-lead > div:last-child { border-top: 1px solid var(--q-line); margin-inline: 10px; }
}

/* ---------- ٣٨) زر الواتساب العائم ---------- */
.q-wa {
  position: fixed; right: 22px; bottom: calc(22px + var(--q-lift, 0px)); z-index: 60;
  width: 54px; height: 58px; display: grid; place-items: center;
  background: var(--q-primary); color: var(--q-on-primary) !important; border: 1px solid var(--q-gold);
  border-radius: 9999px 9999px 4px 4px; box-shadow: 0 10px 26px rgba(43, 18, 26, .22);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .45s ease, transform .45s ease, bottom .35s ease, background .3s ease;
}
.q-wa::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(216, 192, 154, .55); border-radius: 9999px 9999px 2px 2px; pointer-events: none; }
.q-wa svg { width: 24px; height: 24px; fill: currentColor; margin-top: 4px; }
.q-wa.is-on { opacity: 1; transform: none; pointer-events: auto; }
.q-wa:hover, .q-wa:focus-visible { background: #6E2B3E; outline: none; }
.q-wa__label {
  position: absolute; right: calc(100% + 10px); top: 50%; white-space: nowrap;
  background: var(--q-surface); color: var(--q-heading); border: 1px solid var(--q-line); border-radius: 2px;
  padding: 6px 12px; font-size: .85rem; font-weight: 600; box-shadow: 0 6px 18px rgba(43, 18, 26, .1);
  opacity: 0; transform: translate(8px, -50%); pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
@media (hover: hover) { .q-wa:hover .q-wa__label, .q-wa:focus-visible .q-wa__label { opacity: 1; transform: translate(0, -50%); } }
html.q-drawer-open .q-wa, html.q-drawer-open .q-top { opacity: 0 !important; pointer-events: none !important; }
@media (max-width: 767px) { .q-wa { right: 16px; width: 50px; height: 54px; } .q-wa svg { width: 22px; height: 22px; } }
@media (prefers-reduced-motion: reduce) { .q-wa { transition: opacity .2s; transform: none; } }
.q-sizer__confirm a { color: var(--q-heading) !important; font-weight: 600; text-decoration: underline 1px; text-decoration-color: var(--q-gold); text-underline-offset: 5px; }

/* فقاعة "محتارة بالمقاس؟" فوق زر الواتساب */
.q-wa-hint {
  position: fixed; right: 22px; bottom: calc(92px + var(--q-lift, 0px)); z-index: 61; max-width: min(240px, calc(100vw - 44px));
  display: flex; align-items: center; gap: 4px; background: var(--q-surface); border: 1px solid var(--q-gold); border-radius: 4px;
  padding: 10px 8px 10px 14px; box-shadow: 0 10px 26px rgba(43, 18, 26, .14);
  opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease, bottom .35s ease;
}
.q-wa-hint.is-on { opacity: 1; transform: none; }
.q-wa-hint::after { content: ""; position: absolute; right: 22px; bottom: -6px; width: 10px; height: 10px; background: var(--q-surface); border-right: 1px solid var(--q-gold); border-bottom: 1px solid var(--q-gold); transform: rotate(45deg); }
.q-wa-hint a { color: var(--q-text) !important; font-size: .9rem; line-height: 1.6; }
.q-wa-hint a b { color: var(--q-heading); text-decoration: underline 1px; text-decoration-color: var(--q-gold); text-underline-offset: 5px; }
.q-wa-hint button { flex: none; width: 26px; height: 26px; border: 0; background: transparent; color: var(--q-muted); font-size: 18px; line-height: 1; cursor: pointer; border-radius: 50%; }
.q-wa-hint button:hover { background: var(--q-alt); }
html.q-drawer-open .q-wa-hint { display: none; }
@media (max-width: 767px) { .q-wa-hint { right: 16px; bottom: calc(84px + var(--q-lift, 0px)); } }

/* ---------- ٣٩) العداد لما يخلص ---------- */
.q-cd-done { padding: 40px 0 8px; }
.q-cd-done__card {
  position: relative; max-width: 1240px; margin-inline: auto; width: calc(100% - 32px); box-sizing: border-box;
  background: #5B2333; color: #F3E7D6; border-radius: 4px; padding: 70px 24px 66px; text-align: center; overflow: hidden;
}
.q-cd-done__card::before, .q-cd-done__card::after {
  content: ""; position: absolute; left: 0; right: 0; height: 9px; opacity: .5; background-color: #D8C09A;
  -webkit-mask: var(--q-pattern-tile) center / auto 100% repeat-x; mask: var(--q-pattern-tile) center / auto 100% repeat-x;
}
.q-cd-done__card::before { top: 18px; } .q-cd-done__card::after { bottom: 18px; }
.q-cd-done__t { font-family: var(--q-font-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); color: #F3E7D6; margin: 0 0 8px; }
.q-cd-done__s { color: #E9DCC6; opacity: .9; margin: 0 0 26px; }
.q-cd-done__btn {
  display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 30px; box-sizing: border-box;
  background: #F3E7D6; color: var(--q-primary) !important; font-weight: 600; text-decoration: none; border-radius: 2px; transition: gap .3s, opacity .3s;
}
.q-cd-done__btn:hover { gap: 18px; opacity: .92; }
@media (max-width: 640px) { .q-cd-done__card { padding: 52px 18px 48px; } }

/* ---------- ٤٠) الفوتر: السجل والرقم الضريبي (عناصر سلة نفسها، بتنسيق بس) ---------- */
.store-footer .q-trust-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px !important; }
.store-footer .q-trust-row salla-trust-badges, .store-footer .q-trust-row .q-vat {
  display: flex !important; align-items: center; gap: 12px; padding: 10px 16px; box-sizing: border-box; min-height: 74px;
  border: 1px solid rgba(216, 192, 154, .38); border-radius: 4px; background: rgba(247, 242, 232, .04);
}
.store-footer .q-trust-row .q-vat { flex-direction: row; align-items: center; }
.store-footer .q-vat__txt { display: flex; flex-direction: column; gap: 2px; }
.store-footer .q-trust-row > .flex:has(> .q-vat) { align-items: stretch !important; }
.store-footer .s-trust-badges-image { width: 46px !important; height: 46px !important; border-radius: 3px; }
#app .store-footer .s-trust-badges-label, #app .store-footer .q-vat p { color: #D8C09A !important; font-size: .8rem !important; margin: 0 !important; opacity: 1 !important; }
/* حقوق النشر: كانت رمادي باهت (وطلعت بتقرير التباين) */
#app .store-footer .text-gray-400, #app .store-footer .text-gray-400 a, #app .store-footer .text-text-grey { color: #E9DCC6 !important; opacity: .85 !important; }
.store-footer .q-trust-row > .flex { display: flex !important; }
.store-footer .q-trust-row .q-vat { width: 100%; }
@media (max-width: 767px) {
  .store-footer .q-trust-row { flex-direction: column; width: 100%; }
  .store-footer .q-trust-row > * { width: 100% !important; margin: 0 !important; }
  .store-footer .q-trust-row salla-trust-badges, .store-footer .q-trust-row .q-vat { justify-content: flex-start; }
}
.store-footer .s-trust-badges-number, .store-footer .q-vat b { color: #F7F2E8 !important; font-size: 1rem !important; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.q-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 99995; transform: translate(-50%, 16px); opacity: 0;
  background: var(--q-surface); color: var(--q-heading); border: 1px solid var(--q-gold); border-radius: 4px;
  padding: 12px 20px; font-size: .9rem; box-shadow: 0 10px 26px rgba(43, 18, 26, .16); transition: opacity .35s ease, transform .35s ease; max-width: calc(100vw - 40px); text-align: center;
}
.q-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- ٤١) ردود العميلات ---------- */
.q-reviews { padding: 56px 16px 20px; }
.q-reviews__head {
  width: fit-content; margin: 0 auto 30px; padding: 14px 70px 10px; text-align: center;
  background: radial-gradient(closest-side, var(--q-bg) 72%, rgba(247, 242, 232, 0));   /* خلفية صافية حوالين العنوان فوق النقشة */
}
.q-reviews__head h2 { font-family: var(--q-font-display) !important; color: var(--q-heading) !important; font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.5rem); margin: 0; }
.q-reviews__head h2::after {
  content: ""; display: block; width: 110px; aspect-ratio: 1731 / 627; margin: 8px auto 8px; background-color: var(--q-gold);
  -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat;
}
.q-reviews__head p { color: var(--q-muted); margin: 0; }
.q-reviews__stage { display: flex; align-items: center; justify-content: center; gap: 18px; }
.q-reviews__phone {
  position: relative; width: min(330px, 78vw); height: min(560px, 68vh); flex: none; box-sizing: border-box;
  padding: 12px; background: var(--q-primary); border-radius: 34px; box-shadow: 0 24px 50px rgba(43, 18, 26, .2);
}
.q-reviews__phone::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(216, 192, 154, .55); border-radius: 30px; pointer-events: none; z-index: 2; }
.q-reviews__phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 54px; height: 5px; margin-left: -27px; border-radius: 9px; background: rgba(216, 192, 154, .6); z-index: 3; }
.q-reviews__screen { height: 100%; border-radius: 24px; overflow: hidden; background: #ECE5DD; }
.q-reviews__track { display: flex; height: 100%; transition: transform .8s cubic-bezier(.65, 0, .25, 1); }
.q-reviews__slide {
  flex: 0 0 100%; height: 100%; margin: 0; display: flex; align-items: center; justify-content: center;
  background: #ECE5DD; border-radius: 24px; overflow: hidden; padding: 30px 10px 14px; box-sizing: border-box;
}
.q-reviews__slide img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; cursor: zoom-in; border-radius: 6px; }
.q-reviews__nav {
  width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--q-gold); background: var(--q-surface);
  color: var(--q-primary); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px;
  transition: background .3s ease, color .3s ease;
}
.q-reviews__nav:hover, .q-reviews__nav:focus-visible { background: var(--q-primary); color: var(--q-on-primary); outline: none; }
.q-reviews__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.q-reviews__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 9px; background: var(--q-line); cursor: pointer; transition: width .4s ease, background .4s ease; }
.q-reviews__dots button[aria-current="true"] { width: 26px; background: var(--q-gold); }
@media (max-width: 600px) {
  .q-reviews__stage { gap: 0; position: relative; }
  .q-reviews__nav { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; font-size: 22px; }
  .q-reviews__prev { right: 2px; } .q-reviews__next { left: 2px; }
}
.q-reviews--fade .q-reviews__track { transition: opacity .5s ease; }
.q-lightbox {
  position: fixed; inset: 0; z-index: 99996; background: rgba(30, 12, 18, .88); display: grid; place-items: center; padding: 24px;
  opacity: 0; transition: opacity .3s ease; cursor: zoom-out;
}
.q-lightbox.is-on { opacity: 1; }
.q-lightbox img { max-width: min(560px, 100%); max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.q-lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(216, 192, 154, .6); background: transparent; color: #F3E7D6; font-size: 26px; cursor: pointer; }

/* ---------- ٤٢) نافذة كود الخصم ---------- */
.q-promo {
  position: fixed; left: 22px; bottom: calc(86px + var(--q-lift, 0px)); z-index: 99980; width: 320px; box-sizing: border-box;
  background: var(--q-surface); border: 1px solid var(--q-gold); border-radius: 4px; padding: 26px 22px 20px; text-align: center;
  box-shadow: 0 18px 44px rgba(43, 18, 26, .2); opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .3, 1);
}
.q-promo.is-on { opacity: 1; transform: none; }
.q-promo::before {
  content: ""; display: block; width: 88px; aspect-ratio: 1731 / 627; margin: 0 auto 10px; background-color: var(--q-gold);
  -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat;
}
.q-promo__x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--q-muted); font-size: 22px; cursor: pointer; border-radius: 50%; }
.q-promo__x:hover { background: var(--q-alt); }
.q-promo__t { font-family: var(--q-font-display); font-weight: 700; font-size: 1.45rem; color: var(--q-heading); margin: 0 0 4px; }
.q-promo__s { color: var(--q-text); margin: 0 0 16px; }
.q-promo__code { display: flex; align-items: stretch; border: 1px dashed var(--q-gold); border-radius: 3px; overflow: hidden; }
.q-promo__code b { flex: 1; display: grid; place-items: center; font-size: 1.15rem; letter-spacing: .14em; color: var(--q-primary); background: var(--q-bg); padding: 10px 8px; }
.q-promo__copy { border: 0; background: var(--q-primary); color: var(--q-on-primary); font: inherit; font-weight: 600; padding: 0 16px; cursor: pointer; transition: background .3s; }
.q-promo__copy.is-done { background: #4F6B3A; }
.q-promo__n { margin: 10px 0 0; font-size: .78rem; color: var(--q-muted); }
@media (max-width: 767px) {
  .q-promo { left: 0; right: 0; bottom: var(--q-lift, 0px); width: auto; border-radius: 14px 14px 0 0; border-width: 1px 0 0; padding: 22px 20px calc(18px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- ٤٣) المنتج المنتهي ---------- */
.s-product-card-out-of-stock .s-product-card-image-cover { filter: saturate(.85); }
.q-oos-veil {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 42%; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; padding-bottom: 18px;
  background: linear-gradient(to top, rgba(247, 242, 232, .97) 0%, rgba(247, 242, 232, .9) 38%, rgba(247, 242, 232, .55) 68%, rgba(247, 242, 232, 0) 100%);
  transition: transform .7s cubic-bezier(.2, .7, .3, 1), opacity .5s ease;
  animation: q-fade-in .5s ease both;
}
.q-oos-veil__k { font-size: .72rem; font-weight: 600; color: var(--q-muted); letter-spacing: .04em; }
.q-oos-veil__t { font-family: var(--q-font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.3; color: var(--q-heading); }
.q-oos-veil__line { display: block; height: 1px; width: 0; margin-top: 6px; background: linear-gradient(90deg, transparent, var(--q-gold) 20%, var(--q-gold) 80%, transparent); }
.q-oos-veil.is-in .q-oos-veil__line { animation: q-veil-line 1.4s cubic-bezier(.4, 0, .2, 1) .25s forwards; }
@keyframes q-veil-line { to { width: 76px; } }
/* مع الماوس: الوشاح بينزل وبتبيّن القطعة كاملة */
@media (hover: hover) { .s-product-card-out-of-stock:hover .q-oos-veil { transform: translateY(101%); opacity: 0; } }
/* بصفحة المنتج: الوشاح CSS بحت، بيطلع مع الصفحة من أول لحظة */
body.product-single:has(.sticky-product-bar salla-add-product-button[product-status^="out"]) .details-slider .s-slider-container:not(.s-slider-thumbs-container)::after {
  content: "ترجع قريباً"; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 6; pointer-events: none; box-sizing: border-box;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 34px;
  font-family: var(--q-font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.3; color: var(--q-heading);
  background:
    linear-gradient(90deg, transparent, var(--q-gold) 20%, var(--q-gold) 80%, transparent) center bottom 24px / 0 1px no-repeat,
    linear-gradient(to top, rgba(247, 242, 232, .97) 0%, rgba(247, 242, 232, .9) 38%, rgba(247, 242, 232, .55) 68%, rgba(247, 242, 232, 0) 100%) 0 0 / 100% 100% no-repeat;
  animation: q-veil-pl 1.4s cubic-bezier(.4, 0, .2, 1) .5s forwards;
}
body.product-single:has(.sticky-product-bar salla-add-product-button[product-status^="out"]) .details-slider .s-slider-container:not(.s-slider-thumbs-container)::before {
  content: "نفدت الكمية"; position: absolute; left: 0; right: 0; bottom: calc(34px + 2.1rem); z-index: 7; pointer-events: none;
  text-align: center; font-size: .78rem; font-weight: 600; color: var(--q-muted); letter-spacing: .04em;
}
@keyframes q-veil-pl { to { background-size: 90px 1px, 100% 100%; } }
@media (prefers-reduced-motion: reduce) { .q-oos-veil.is-in .q-oos-veil__line { animation: none; width: 76px; } }
.s-product-availability-wrap .s-button-element .s-button-text, .s-product-availability-wrap .s-button-element .s-button-text * { color: #F3E7D6 !important; opacity: 1 !important; }
/* شارة سلة جنب السعر مخفية: الوشاح على الصورة بيكفي */
/* زر "أعلمني عند التوفر" بصفحة المنتج: نص فاتح على العنابي */
body.q-oos .s-product-availability-wrap .s-button-solid .s-button-text { color: var(--q-on-primary) !important; }
/* بطاقات "ممكن تعجبك كمان" والمنتجات المشابهة أضيق: الزر بلا أيقونة لحتى يبان النص كامل */
/* بطاقات "حكايات مشابهة": سلة بتحط لها زوايا مربعة بـ !important، فمنرجّع القوس بقاعدة أقوى */
body .out-of-stock-alternative__products .s-product-card-entry .s-product-card-image { border-radius: 9999px 9999px 4px 4px !important; aspect-ratio: 3 / 4 !important; }
.s-block--bundle-out-of-stock-alternative .s-product-card-content-footer .s-button-text i,
.s-block--bundle-similar-products .s-product-card-content-footer .s-button-text i { display: none !important; }
.s-block--bundle-out-of-stock-alternative .s-product-card-content-footer .s-button-element,
.s-block--bundle-similar-products .s-product-card-content-footer .s-button-element { padding-inline: 6px !important; font-size: .85rem !important; }

/* عالكمبيوتر: جوالين باهتين عالجنبين بيعرضوا الرسالة اللي قبل واللي بعد */
.q-reviews__ghost { display: none; }
@media (min-width: 901px) {
  .q-reviews__stage { gap: 26px; }
  .q-reviews__ghost {
    display: block; flex: none; width: 230px; height: 400px; padding: 9px; box-sizing: border-box; cursor: pointer;
    background: var(--q-primary); border: 0; border-radius: 26px; opacity: .45; filter: saturate(.7);
    transition: opacity .4s ease, transform .4s ease, filter .4s ease;
  }
  .q-reviews__ghost:hover { opacity: .75; filter: none; }
  .q-reviews__ghost img { width: 100%; height: 100%; object-fit: contain; background: #ECE5DD; border-radius: 18px; display: block; transition: opacity .25s ease; }
  .q-reviews__ghost.is-swap img { opacity: 0; }
  .q-reviews__ghost--prev { transform: translateX(-10px) rotate(4deg); }
  .q-reviews__ghost--next { transform: translateX(10px) rotate(-4deg); }
  .q-reviews__phone { width: 330px; height: 580px; }
}

.q-hide { display: none !important; }
.q-size-label { display: flex !important; flex-direction: column; align-items: flex-start; gap: 6px; }
.q-size-label .q-size-btn { white-space: nowrap; }

/* ---------- ٤٤) نمط موحد للعناوين: نفس النقشة، نفس الحجم، ومسافة أوسع عن العنوان ---------- */
:root { --q-orn-w: 150px; --q-orn-gap: 18px; }
#app .s-block__title h2::after, #app .q-section-title::after, .q-reviews__head h2::after, .q-blog-head h1::after,
body.blog-single .blog-category > h1::after, #app #page-main-title::after, #app .content--single-page > h1::after {
  width: var(--q-orn-w) !important; max-width: none !important; margin: var(--q-orn-gap) 0 0 !important;
  margin-inline: calc((100% - var(--q-orn-w)) / 2) !important;   /* بالنص حتى لو العنوان أقصر من النقشة */
}
/* كانت النقشة مقصوصة دايماً بأقسام المنتجات: قاعدة الظهور كانت أضعف من قاعدة الإخفاء */
#app .q-in .s-block__title h2::after, #app .q-in.q-section-title::after, #app .q-in .q-section-title::after { clip-path: inset(0 0 0 0); }
.s-block--bundle-questions .lp-title__overline { width: var(--q-orn-w) !important; margin: var(--q-orn-gap) auto 0 !important; }
/* عناوين أقسام سلة اللي ما كان تحتها نقشة (حكايات مشابهة) */
#app .s-block--bundle-out-of-stock-alternative h2:not(.s-block__title h2) {
  font-family: var(--q-font-display) !important; color: var(--q-heading) !important; text-align: center; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem) !important; line-height: 1.3 !important; width: 100%;
}
#app .s-block--bundle-out-of-stock-alternative h2:not(.s-block__title h2)::after {
  content: ""; display: block; width: var(--q-orn-w); max-width: 60%; aspect-ratio: 1731 / 627; margin: var(--q-orn-gap) auto 0; background-color: var(--q-gold);
  -webkit-mask: var(--q-pattern-svg) center / contain no-repeat; mask: var(--q-pattern-svg) center / contain no-repeat;
}
.q-reviews__head { padding-top: 18px; padding-bottom: 14px; }

/* النقشة: نفس حركة الرسم لكل العناوين */
.q-orn::after, .s-block--bundle-questions .lp-title__overline.q-orn { clip-path: inset(0 50% 0 50%); transition: clip-path 1.4s cubic-bezier(.6, 0, .2, 1) .15s; }
.q-orn.q-drawn::after, .s-block--bundle-questions .lp-title__overline.q-orn.q-drawn { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .q-orn::after, .s-block--bundle-questions .lp-title__overline.q-orn { clip-path: none; transition: none; } }
.q-empty-sec { display: none !important; }
/* عالجوال: شريط "أضف للسلة / أعلمني" لازق بأسفل الشاشة، والزر بعرضه كامل */
@media (max-width: 767px) {
  #app .sticky-product-bar salla-add-product-button, #app .sticky-product-bar .s-product-availability-wrap,
  #app .sticky-product-bar .s-product-availability-wrap .s-button-wrap, #app .sticky-product-bar .s-product-availability-wrap .s-button-element { width: 100% !important; flex: 1 1 auto; }
}

/* القطعة المنتهية: زر "أعلمني عند التوفر" بمكانه تحت مربع السعر، مش لازق بأسفل الشاشة (سلة بتثبّته عالجوال) */
#app.product-single:has(.sticky-product-bar salla-add-product-button[product-status^="out"]) .sticky-product-bar {
  position: static !important; inset: auto !important; transform: none !important; width: 100% !important;
  margin: 18px 0 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important;
  box-shadow: none !important; border-radius: 0 !important; z-index: auto !important; display: block !important;
}
#app.product-single:has(.sticky-product-bar salla-add-product-button[product-status^="out"]) .sticky-product-bar salla-add-product-button { margin-top: 0 !important; width: 100% !important; }