/* ==========================================================
   TM GAME — Liquid Glass (Apple style) · Light & Dark
   بنفسجي رئيسي + أصفر مخضر ثانوي
   مكانه: لوحة سلة ← تصميم المتجر ← تخصيص ← CSS مخصص
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

@property --tm-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ---------------- الوضع الفاتح ---------------- */
:root {
  --tm-p: #6c3ce0;
  --tm-p-dark: #3e2373;
  --tm-p-light: #a88bff;
  --tm-s: #c6f432;
  --tm-s-dark: #9fcc12;
  --tm-on-s: #1c1233;

  --tm-duo: linear-gradient(100deg, var(--tm-p-dark) 0%, var(--tm-p) 45%, var(--tm-s) 100%);
  --tm-duo-soft: linear-gradient(135deg, rgba(108,60,224,.16), rgba(198,244,50,.10));
  --tm-grad: linear-gradient(120deg, var(--tm-p-dark), var(--tm-p), var(--tm-p-light), var(--tm-p), var(--tm-p-dark));
  --tm-grad-s: linear-gradient(120deg, #e6ff86, var(--tm-s), var(--tm-s-dark), var(--tm-s), #e6ff86);
  --tm-rim: conic-gradient(from var(--tm-angle), var(--tm-p-light), var(--tm-s), var(--tm-p), var(--tm-p-dark), var(--tm-p-light));

  --tm-bg: #f0eef8;
  --tm-aura-1: rgba(108, 60, 224, .45);
  --tm-aura-2: rgba(198, 244, 50, .35);
  --tm-aura-3: rgba(168, 139, 255, .40);
  --tm-aura-4: rgba(62, 35, 115, .22);
  --tm-grid: rgba(62, 35, 115, .07);
  --tm-spot: rgba(108, 60, 224, .20);

  --tm-text: #17122a;
  --tm-text-2: #6b6585;

  --tm-glass: rgba(255, 255, 255, .55);
  --tm-glass-2: rgba(255, 255, 255, .75);
  --tm-glass-3: rgba(255, 255, 255, .40);
  --tm-stroke-b: rgba(255, 255, 255, .55);
  --tm-shine: rgba(255, 255, 255, .85);
  --tm-shadow: 0 10px 30px -8px rgba(62, 35, 115, .22), 0 2px 6px rgba(20, 10, 50, .06);
  --tm-shadow-lg: 0 24px 55px -14px rgba(108, 60, 224, .45), 0 4px 12px rgba(20, 10, 50, .08);
  --tm-glow-s: 0 0 18px rgba(198, 244, 50, .55);

  /* الفوتر */
  --tm-foot: linear-gradient(165deg, rgba(255,255,255,.80) 0%, rgba(241,236,255,.72) 45%, rgba(255,255,255,.70) 100%);
  --tm-foot-mesh-1: rgba(108, 60, 224, .16);
  --tm-foot-mesh-2: rgba(198, 244, 50, .14);

  --tm-blur: blur(22px) saturate(190%);
  --tm-r: 24px;
  --tm-r-sm: 16px;
  --tm-ease: cubic-bezier(.22, 1, .36, 1);
  --tm-spring: cubic-bezier(.34, 1.56, .64, 1);

  --dm-text-main: var(--tm-text);
  --dm-text-sec: var(--tm-text-2);
}

/* ---------------- الوضع الداكن ---------------- */
.dark {
  --tm-bg: #07050f;
  --tm-aura-1: rgba(108, 60, 224, .50);
  --tm-aura-2: rgba(198, 244, 50, .20);
  --tm-aura-3: rgba(168, 139, 255, .30);
  --tm-aura-4: rgba(62, 35, 115, .55);
  --tm-grid: rgba(255, 255, 255, .05);
  --tm-spot: rgba(168, 139, 255, .26);

  --tm-text: #f4f2fb;
  --tm-text-2: #a39dbb;

  --tm-glass: rgba(48, 40, 78, .38);
  --tm-glass-2: rgba(30, 24, 52, .62);
  --tm-glass-3: rgba(60, 50, 95, .28);
  --tm-stroke-b: rgba(255, 255, 255, .10);
  --tm-shine: rgba(255, 255, 255, .16);
  --tm-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7), 0 1px 2px rgba(0, 0, 0, .4);
  --tm-shadow-lg: 0 0 0 1px rgba(168,139,255,.22), 0 24px 60px -12px rgba(108, 60, 224, .6);

  --tm-foot: linear-gradient(165deg, rgba(48,36,86,.72) 0%, rgba(24,18,44,.78) 55%, rgba(16,12,32,.82) 100%);
  --tm-foot-mesh-1: rgba(124, 80, 255, .30);
  --tm-foot-mesh-2: rgba(198, 244, 50, .14);

  --dm-text-main: var(--tm-text);
  --dm-text-sec: var(--tm-text-2);
}

/* ==========================================================
   الحركات
   ========================================================== */
@keyframes tm-aurora {
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(3%,-3%,0) rotate(8deg) scale(1.06); }
  100% { transform: translate3d(-3%,2%,0) rotate(-6deg) scale(1); }
}
@keyframes tm-flow    { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes tm-spin    { to { --tm-angle: 360deg; } }
@keyframes tm-float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes tm-wiggle  { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(11deg); } 60% { transform: rotate(-7deg); } 80% { transform: rotate(4deg); } }
@keyframes tm-pop     { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }
@keyframes tm-jump    { 0%,100% { transform: translateY(0); } 35% { transform: translateY(-6px) rotate(-6deg); } 65% { transform: translateY(1px) rotate(3deg); } }
@keyframes tm-nudge   { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
@keyframes tm-turn    { to { transform: rotate(360deg); } }
@keyframes tm-ping    { 0% { box-shadow: 0 0 0 0 rgba(198,244,50,.7); } 100% { box-shadow: 0 0 0 12px rgba(198,244,50,0); } }
@keyframes tm-twinkle { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.28); opacity: .72; } }
@keyframes tm-grow    { 0%,100% { width: 40px; } 50% { width: 86px; } }
@keyframes tm-sheen   { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes tm-badge-in{ 0% { transform: translateX(50%) translateY(10px) scale(.6); opacity: 0; } 100% { transform: translateX(50%) translateY(0) scale(1); opacity: 1; } }
@keyframes tm-rise {
  0%   { transform: translateY(110vh) scale(.6); opacity: 0; }
  10%, 90% { opacity: .85; }
  100% { transform: translateY(-12vh) scale(1.05); opacity: 0; }
}
@keyframes tm-logo-in    { from { opacity: 0; transform: scale(.7) rotate(-8deg) translateY(6px); } }
@keyframes tm-logo-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes tm-logo-glow {
  0%   { filter: drop-shadow(0 0 0 rgba(108,60,224,0)); }
  50%  { filter: drop-shadow(0 0 10px rgba(108,60,224,.55)); }
  100% { filter: drop-shadow(0 0 9px rgba(198,244,50,.45)); }
}
@keyframes tm-logo-shine { 0%, 55% { background-position: 160% 0; } 100% { background-position: -60% 0; } }

/* ==========================================================
   الخط والخلفية
   ========================================================== */
body, *:not(i):not([class*="sicon"]):not([class*="icon-"]) {
  font-family: "IBM Plex Sans Arabic", -apple-system, "SF Arabic", sans-serif !important;
}
html { background: var(--tm-bg) !important; transition: background .6s var(--tm-ease); }
body, #app, .dark #app, .app-inner, main { background: transparent !important; color: var(--tm-text); -webkit-font-smoothing: antialiased; }

body::before {
  content: "";
  position: fixed; inset: -25%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34% 30% at 10% 14%, var(--tm-aura-1), transparent 70%),
    radial-gradient(30% 28% at 90% 18%, var(--tm-aura-2), transparent 70%),
    radial-gradient(36% 32% at 72% 82%, var(--tm-aura-3), transparent 70%),
    radial-gradient(30% 30% at 18% 88%, var(--tm-aura-4), transparent 70%);
  filter: blur(50px);
  animation: tm-aurora 16s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--tm-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--tm-grid) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask: radial-gradient(ellipse 85% 60% at 50% 0%, #000 25%, transparent 75%);
          mask: radial-gradient(ellipse 85% 60% at 50% 0%, #000 25%, transparent 75%);
}

.tm-orb {
  position: fixed; top: 0; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95) 0 8%, var(--c) 38%, transparent 72%);
  box-shadow: inset 0 0 6px rgba(255,255,255,.6);
  animation: tm-rise linear infinite;
}
.tm-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 100000; pointer-events: none;
  transform-origin: right;
  transform: scaleX(var(--tm-progress, 0));
  background: var(--tm-duo);
  background-size: 300% 100%;
  animation: tm-flow 4s ease-in-out infinite alternate;
  box-shadow: var(--tm-glow-s);
}

/* ==========================================================
   ✦ مكتبة الأيقونات (خطوط رفيعة — مينيمال)
   ========================================================== */
:root {
  --i-search:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E");
  --i-user:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8.5' r='3.8'/%3E%3Cpath d='M4.5 20c1.2-3.6 4-5.5 7.5-5.5s6.3 1.9 7.5 5.5'/%3E%3C/svg%3E");
  --i-bag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.6 8.6h12.8l-1 11.4H6.6z'/%3E%3Cpath d='M9 8.6V7a3 3 0 0 1 6 0v1.6'/%3E%3C/svg%3E");
  --i-menu:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 8h16M4 16h11'/%3E%3C/svg%3E");
  --i-moon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 0 1 9.5 4a8 8 0 1 0 10.5 10.5z'/%3E%3C/svg%3E");
  --i-sun:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2.8v2.2M12 19v2.2M2.8 12H5M19 12h2.2M5.4 5.4l1.5 1.5M17.1 17.1l1.5 1.5M5.4 18.6l1.5-1.5M17.1 6.9l1.5-1.5'/%3E%3C/svg%3E");
  --i-heart:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.3-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.7-7 10-7 10z'/%3E%3C/svg%3E");
  --i-home:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.6 12 3.5l8.5 7.1V20a1 1 0 0 1-1 1h-4.8v-6H9.3v6H4.5a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
  --i-grid:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='2'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='2'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='2'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='2'/%3E%3C/svg%3E");
  --i-tag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3.6 11.3V4.8a1.2 1.2 0 0 1 1.2-1.2h6.5l9 9-7.7 7.7z'/%3E%3Ccircle cx='8' cy='8' r='1.5'/%3E%3C/svg%3E");
  --i-info:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 11v5.2'/%3E%3Ccircle cx='12' cy='7.8' r='.9' fill='%23000' stroke='none'/%3E%3C/svg%3E");
  --i-question:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M9.6 9.3a2.5 2.5 0 1 1 3.3 2.4c-.6.2-.9.8-.9 1.4v.5'/%3E%3Ccircle cx='12' cy='16.6' r='.9' fill='%23000' stroke='none'/%3E%3C/svg%3E");
  --i-chat:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.8c0 3.9-3.8 7-8.5 7-1 0-2-.1-2.9-.4L4 20l1.3-3.4A6.6 6.6 0 0 1 3.5 11.8c0-3.9 3.8-7 8.5-7s8.5 3.1 8.5 7z'/%3E%3C/svg%3E");
  --i-doc:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M13.5 3.5H7a1.5 1.5 0 0 0-1.5 1.5v14A1.5 1.5 0 0 0 7 20.5h10a1.5 1.5 0 0 0 1.5-1.5V8.5z'/%3E%3Cpath d='M13.5 3.5v5h5M8.8 12.5h6.4M8.8 16h4.4'/%3E%3C/svg%3E");
  --i-truck:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M2.8 6.5h10.4v9.8H2.8zM13.2 10h3.6l3.4 3.2v3.1h-7z'/%3E%3Ccircle cx='7' cy='17.8' r='1.8'/%3E%3Ccircle cx='16.6' cy='17.8' r='1.8'/%3E%3C/svg%3E");
  --i-card:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='2.8' y='5.5' width='18.4' height='13' rx='2.5'/%3E%3Cpath d='M2.8 10h18.4M6.5 14.6h3.2'/%3E%3C/svg%3E");
  --i-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 3.2 5 5.8v5.4c0 4.2 2.9 7.6 7 9.6 4.1-2 7-5.4 7-9.6V5.8z'/%3E%3Cpath d='m9.2 12 2 2 3.6-3.8'/%3E%3C/svg%3E");
  --i-box:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 3.2 8 4v9.6l-8 4-8-4V7.2z'/%3E%3Cpath d='m4 7.2 8 4 8-4M12 11.2v9.6'/%3E%3C/svg%3E");
  --i-star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 3.6 2.6 5.3 5.9.9-4.3 4.1 1 5.8-5.2-2.7-5.2 2.7 1-5.8L3.5 9.8l5.9-.9z'/%3E%3C/svg%3E");
  --i-spark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 3.2 13.9 9l5.8 1.9-5.8 1.9L12 18.6l-1.9-5.8L4.3 11 10.1 9z'/%3E%3C/svg%3E");
  --i-game:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M7.5 7.5h9a4.5 4.5 0 0 1 4.4 5.4l-.6 3A2.6 2.6 0 0 1 15.9 17l-1.4-1.6h-5L8.1 17a2.6 2.6 0 0 1-4.4-1.1l-.6-3A4.5 4.5 0 0 1 7.5 7.5z'/%3E%3Cpath d='M7.6 11.2v2.1M6.6 12.2h2.1'/%3E%3Ccircle cx='16' cy='11.6' r='.9' fill='%23000' stroke='none'/%3E%3C/svg%3E");
  --i-mail:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='2.8' y='5' width='18.4' height='14' rx='2.6'/%3E%3Cpath d='m3.4 7 8.6 6 8.6-6'/%3E%3C/svg%3E");
  --i-phone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M8.4 3.8 10.6 8l-2 2a12 12 0 0 0 5.4 5.4l2-2 4.2 2.2v3a1.8 1.8 0 0 1-2 1.8C10 19.6 4.4 14 3.6 5.8a1.8 1.8 0 0 1 1.8-2z'/%3E%3C/svg%3E");
  --i-pin:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 21c4-4.4 6-7.7 6-10a6 6 0 1 0-12 0c0 2.3 2 5.6 6 10z'/%3E%3Ccircle cx='12' cy='10.6' r='2.3'/%3E%3C/svg%3E");
  --i-camera:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3.4' y='3.4' width='17.2' height='17.2' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17' cy='7' r='1' fill='%23000' stroke='none'/%3E%3C/svg%3E");
  --i-note:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M9.6 17.4V5.2l8.2-1.6v10.6'/%3E%3Ccircle cx='7' cy='17.4' r='2.6'/%3E%3Ccircle cx='15.2' cy='14.2' r='2.6'/%3E%3C/svg%3E");
  --i-plane:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M21 4 3.6 10.8l5.6 2.2 2.2 5.6z'/%3E%3Cpath d='M21 4 9.2 13'/%3E%3C/svg%3E");
  --i-play:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='2.8' y='5.5' width='18.4' height='13' rx='4'/%3E%3Cpath d='m10.4 9.4 4.6 2.6-4.6 2.6z'/%3E%3C/svg%3E");
  --i-ghost:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M5.5 19.5V10a6.5 6.5 0 0 1 13 0v9.5l-2.2-1.6-2.2 1.6-2.1-1.6-2.2 1.6z'/%3E%3Ccircle cx='9.8' cy='10' r='.9' fill='%23000' stroke='none'/%3E%3Ccircle cx='14.2' cy='10' r='.9' fill='%23000' stroke='none'/%3E%3C/svg%3E");
  --i-x:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5 5 19'/%3E%3C/svg%3E");
  --i-link:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M10 13.8a4 4 0 0 0 5.7 0l2.8-2.8a4 4 0 1 0-5.7-5.7l-1.4 1.4'/%3E%3Cpath d='M14 10.2a4 4 0 0 0-5.7 0l-2.8 2.8a4 4 0 1 0 5.7 5.7l1.4-1.4'/%3E%3C/svg%3E");
  --i-up:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 14 6-6 6 6'/%3E%3C/svg%3E");
}

/* كلاس عام: أي عنصر عليه data-tm-icon يرسم الأيقونة بالقناع */
[data-tm-icon]::before {
  content: "";
  display: block;
  width: var(--tm-isize, 20px);
  height: var(--tm-isize, 20px);
  background-color: currentColor;
  -webkit-mask: var(--tm-ico) center / contain no-repeat;
          mask: var(--tm-ico) center / contain no-repeat;
  flex: 0 0 auto;
}
[data-tm-icon="search"]  { --tm-ico: var(--i-search); }
[data-tm-icon="user"]    { --tm-ico: var(--i-user); }
[data-tm-icon="bag"]     { --tm-ico: var(--i-bag); }
[data-tm-icon="menu"]    { --tm-ico: var(--i-menu); }
[data-tm-icon="heart"]   { --tm-ico: var(--i-heart); }
[data-tm-icon="home"]    { --tm-ico: var(--i-home); }
[data-tm-icon="grid"]    { --tm-ico: var(--i-grid); }
[data-tm-icon="tag"]     { --tm-ico: var(--i-tag); }
[data-tm-icon="info"]    { --tm-ico: var(--i-info); }
[data-tm-icon="question"]{ --tm-ico: var(--i-question); }
[data-tm-icon="chat"]    { --tm-ico: var(--i-chat); }
[data-tm-icon="doc"]     { --tm-ico: var(--i-doc); }
[data-tm-icon="truck"]   { --tm-ico: var(--i-truck); }
[data-tm-icon="card"]    { --tm-ico: var(--i-card); }
[data-tm-icon="shield"]  { --tm-ico: var(--i-shield); }
[data-tm-icon="box"]     { --tm-ico: var(--i-box); }
[data-tm-icon="star"]    { --tm-ico: var(--i-star); }
[data-tm-icon="spark"]   { --tm-ico: var(--i-spark); }
[data-tm-icon="game"]    { --tm-ico: var(--i-game); }
[data-tm-icon="mail"]    { --tm-ico: var(--i-mail); }
[data-tm-icon="phone"]   { --tm-ico: var(--i-phone); }
[data-tm-icon="pin"]     { --tm-ico: var(--i-pin); }
[data-tm-icon="camera"]  { --tm-ico: var(--i-camera); }
[data-tm-icon="note"]    { --tm-ico: var(--i-note); }
[data-tm-icon="plane"]   { --tm-ico: var(--i-plane); }
[data-tm-icon="play"]    { --tm-ico: var(--i-play); }
[data-tm-icon="ghost"]   { --tm-ico: var(--i-ghost); }
[data-tm-icon="x"]       { --tm-ico: var(--i-x); }
[data-tm-icon="link"]    { --tm-ico: var(--i-link); }
[data-tm-icon="up"]      { --tm-ico: var(--i-up); }
[data-tm-icon="theme"]   { --tm-ico: var(--i-moon); }
.dark [data-tm-icon="theme"] { --tm-ico: var(--i-sun); }

/* ==========================================================
   ✦ البطاقة الموحّدة — المميزات + آراء العملاء + الأسئلة الشائعة
   (الخلفية نفسها تُطبَّق من JS حتى تتغلب على ستايل القالب)
   ========================================================== */
.tm-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .5s var(--tm-ease), box-shadow .5s var(--tm-ease), background .6s var(--tm-ease);
}
/* حافة زجاجية بلوني الهوية */
.tm-card::after,
#mainnav .inner::after,
.main-nav-container.fixed-header .inner::after,
custom-salla-product-card.product-block::after,
.mobile-nav::after,
.store-footer__inner::after {
  content: "";
  position: absolute; inset: 0;
  padding: 1.4px;
  border-radius: inherit;
  pointer-events: none;
  background: var(--tm-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: 3;
  opacity: .34;
  animation: tm-spin 6s linear infinite paused;
  transition: opacity .5s var(--tm-ease);
}
#mainnav .inner::after, .mobile-nav::after, .store-footer__inner::after {
  opacity: .5; animation-duration: 11s; animation-play-state: running;
}
.tm-card:hover::after,
.tm-card:has(input:checked)::after,
custom-salla-product-card.product-block:hover::after { opacity: 1; animation-play-state: running; }

/* إضاءة تتبع الماوس */
.tm-card::before,
custom-salla-product-card.product-block::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, -20%), var(--tm-spot), transparent 65%),
    var(--tm-duo-soft);
  opacity: .5;
  transition: opacity .45s var(--tm-ease);
}
.tm-card:hover::before,
custom-salla-product-card.product-block:hover::before { opacity: 1; }

.tm-card:hover { transform: translateY(-5px); box-shadow: var(--tm-shadow-lg), inset 0 1px 0 var(--tm-shine) !important; }
.tm-card h1, .tm-card h2, .tm-card h3, .tm-card h4, .tm-card h5, .tm-card strong, .tm-card b { color: var(--tm-text) !important; }
.tm-card p, .tm-card small, .tm-card span:not(.tm-quote):not([class*="price"]) { color: var(--tm-text-2) !important; }

/* ---------- المميزات: كبسولة لكل رقم ---------- */
.tm-feature { padding: 26px 20px !important; }
.tm-stat {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  min-width: 120px;
  padding: 16px 24px !important;
  border-radius: 20px !important;
  background: var(--tm-glass-3) !important;
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--tm-stroke-b) !important;
  box-shadow: inset 0 1px 0 var(--tm-shine), 0 6px 18px -8px rgba(62,35,115,.35) !important;
  transition: transform .5s var(--tm-spring), box-shadow .4s var(--tm-ease);
  animation: tm-float-y 5s ease-in-out infinite;
}
.tm-stat:nth-of-type(2) { animation-delay: -1.6s; }
.tm-stat:nth-of-type(3) { animation-delay: -3.2s; }
.tm-stat:hover {
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.05);
  box-shadow: inset 0 1px 0 var(--tm-shine), 0 18px 36px -12px rgba(108,60,224,.6), 0 0 0 1px rgba(198,244,50,.45) !important;
}
.tm-stat:hover .tm-count { animation: tm-pop .6s var(--tm-spring); }
.tm-count {
  display: inline-block;
  color: var(--tm-p) !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums;
  position: relative;
}
.dark .tm-count { color: var(--tm-p-light) !important; }
.tm-count::after {
  content: "";
  position: absolute; left: 12%; right: 12%; bottom: -5px;
  height: 4px; border-radius: 99px;
  background: var(--tm-duo);
  box-shadow: var(--tm-glow-s);
  transform: scaleX(0);
  transition: transform .9s var(--tm-spring) .2s;
}
.tm-count.tm-done::after { transform: scaleX(1); }

/* ---------- الأسئلة الشائعة ---------- */
.faqs-section .faq-item { margin-bottom: 14px !important; }
.question.dm-text-main { font-size: 14px; font-weight: 600; line-height: 24px; height: auto; color: var(--tm-text) !important; }
.faq-item .faq-inner .faq-icon {
  background: var(--tm-p) !important;
  background-image: none !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 6px;
  box-shadow: 0 6px 14px -4px rgba(108,60,224,.55);
  transition: transform .55s var(--tm-spring), background .3s, color .3s;
}
.faq-item:hover .faq-inner .faq-icon { transform: scale(1.12) rotate(-10deg); }
.faq-item input:checked + .faq-inner .faq-icon {
  transform: rotate(135deg);
  background: var(--tm-s) !important;
  color: var(--tm-on-s) !important;
}
.faq-item input:checked + .faq-inner .answer-outer { background: transparent !important; color: var(--tm-text-2) !important; padding-top: 10px; }
.faq-item .answer-outer, .faq-item .answer { color: var(--tm-text-2) !important; }

/* ---------- آراء العملاء ---------- */
.tm-testi { padding: 26px 22px !important; }
.tm-testi:hover { transform: translateY(-6px) rotate(-.4deg); }
.tm-quote {
  position: absolute; top: 4px; inset-inline-end: 18px;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 68px; line-height: 1;
  color: var(--tm-p);
  opacity: .28;
  pointer-events: none;
  transition: transform .6s var(--tm-spring), opacity .4s, color .4s;
}
.dark .tm-quote { color: var(--tm-p-light); }
.tm-testi:hover .tm-quote { transform: rotate(-12deg) scale(1.18); opacity: .8; color: var(--tm-s); }
.tm-star, .tm-star * { color: var(--tm-s) !important; fill: var(--tm-s) !important; }
html:not(.dark) body:not(.dark) .tm-star,
html:not(.dark) body:not(.dark) .tm-star * { color: var(--tm-s-dark) !important; fill: var(--tm-s-dark) !important; }
.tm-star {
  display: inline-block;
  filter: drop-shadow(0 0 6px rgba(198,244,50,.45));
  animation: tm-twinkle 2.4s ease-in-out infinite;
}
.tm-testi:hover .tm-star { animation: tm-jump .6s var(--tm-spring); }

/* ==========================================================
   الهيدر
   ========================================================== */
#app .store-header,
#app.header-is-dark .store-header,
#app.index.header-merged .store-header,
.header-is-dark #mainnav,
#mainnav {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
#mainnav .inner,
.main-nav-container.fixed-header .inner {
  position: relative;
  isolation: isolate;
  max-width: 1240px;
  width: calc(100% - 24px);
  margin: 12px auto 0 !important;
  border-radius: 24px !important;
  background: var(--tm-glass-2) !important;
  background-image: none !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
  border: 0 !important;
  box-shadow: var(--tm-shadow), inset 0 1px 0 var(--tm-shine) !important;
}
#mainnav .inner::before,
.main-nav-container.fixed-header .inner::before {
  content: "";
  position: absolute; left: 28px; right: 28px; bottom: -1px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--tm-p), var(--tm-s), var(--tm-p), transparent);
  background-size: 300% 100%;
  animation: tm-flow 5s ease-in-out infinite alternate;
  box-shadow: 0 0 12px rgba(108,60,224,.7);
  pointer-events: none;
}
.store-header a, .store-header button, .store-header i,
.top-navbar a, .top-navbar i { color: var(--tm-text) !important; }

/* ---------- زر الهيدر: مربع زجاجي موحّد ---------- */
.tm-hbtn {
  box-sizing: border-box !important;
  --tm-hb: 42px;
  --tm-isize: 20px;
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--tm-hb) !important;
  height: var(--tm-hb) !important;
  min-width: var(--tm-hb) !important;
  max-width: var(--tm-hb) !important;
  min-height: var(--tm-hb) !important;
  padding: 0 !important;
  margin: 0 3px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  flex: 0 0 auto !important;
  border-radius: 14px !important;
  color: var(--tm-text) !important;
  overflow: visible !important;
  transition: transform .45s var(--tm-spring), box-shadow .3s, background .3s !important;
}
@media (max-width: 767px) {
  .tm-hbtn { --tm-hb: 38px; --tm-isize: 19px; border-radius: 12px !important; margin: 0 2px !important; }
}
.tm-hbtn:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: inset 0 1px 0 var(--tm-shine), 0 0 0 1px rgba(198,244,50,.5), 0 10px 22px -8px rgba(108,60,224,.55) !important;
}
.tm-hbtn:active { transform: scale(.88); }
.tm-hbtn[data-tm-icon="search"]:hover::before { animation: tm-wiggle .7s var(--tm-ease); }
.tm-hbtn[data-tm-icon="user"]:hover::before,
.tm-hbtn[data-tm-icon="bag"]:hover::before { animation: tm-jump .7s var(--tm-spring); }
.tm-hbtn[data-tm-icon="menu"]:hover::before { animation: tm-nudge .8s var(--tm-ease) infinite; }
.tm-hbtn[data-tm-icon="heart"]:hover::before { animation: tm-pop .6s var(--tm-spring); }
.tm-hbtn[data-tm-icon="theme"]:hover::before,
.tm-hbtn[data-tm-icon="theme"]:active::before { animation: tm-turn .9s var(--tm-spring); }

.tm-hbtn .s-cart-summary-count,
.tm-hbtn .tm-badge {
  position: absolute !important;
  top: -6px !important;
  inset-inline-start: -6px !important;
  inset-inline-end: auto !important;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: grid !important; place-items: center;
  font-size: 10px !important; line-height: 1 !important;
  border-radius: 99px !important;
  background: var(--tm-s) !important;
  color: var(--tm-on-s) !important;
  font-weight: 700;
  animation: tm-ping 2.4s ease-out infinite;
  z-index: 4;
}
.s-cart-summary-count.tm-pop { animation: tm-pop .6s var(--tm-spring), tm-ping 2.4s ease-out infinite; }

/* البحث */
salla-search input, .s-search-input, .s-search-container {
  background: var(--tm-glass) !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
  border: 1px solid var(--tm-stroke-b) !important;
  border-radius: 16px !important;
  color: var(--tm-text) !important;
}
salla-search input:focus { box-shadow: 0 0 0 4px rgba(198,244,50,.35) !important; }
.s-user-menu-toggler.opened .s-user-menu-dropdown {
  border-radius: 20px !important;
  overflow: hidden;
  background: var(--tm-glass-2) !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
}

/* ---------- الشعارات ---------- */
#mainnav a[href^="https://tm-gaming.com"] img,
.store-header a[href^="https://tm-gaming.com"] img,
.store-header .navbar-brand img {
  max-height: 40px !important; height: auto !important; width: auto !important;
}
@media (max-width: 767px) {
  #mainnav a[href^="https://tm-gaming.com"] img,
  .store-header a[href^="https://tm-gaming.com"] img,
  .store-header .navbar-brand img { max-height: 32px !important; }
}
.store-footer .tm-logo img,
.store-footer img[alt*="logo" i],
.store-footer .footer_logo img { max-height: 62px !important; height: auto !important; width: auto !important; }

.tm-logo {
  --tm-src: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
  position: relative;
  display: inline-block;
  line-height: 0;
  vertical-align: middle;
  animation: tm-logo-float 6s ease-in-out infinite, tm-logo-glow 5s ease-in-out infinite alternate;
}
.tm-logo img { animation: tm-logo-in 1.1s var(--tm-spring) backwards; transition: transform .6s var(--tm-spring); }
.tm-logo:hover img { transform: rotate(-4deg) scale(1.06); }
.tm-logo::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.95) 48%, rgba(198,244,50,.9) 53%, transparent 63%) no-repeat;
  background-size: 250% 100%;
  -webkit-mask: var(--tm-src) center / contain no-repeat;
          mask: var(--tm-src) center / contain no-repeat;
  animation: tm-logo-shine 5s ease-in-out infinite;
  opacity: .85;
}

/* ==========================================================
   ✦ القائمة الجانبية — زجاج + أيقونة لكل عنوان
   ========================================================== */
.mm-ocd--open .mm-ocd__content {
  height: calc(100% - 28px);
  margin: 14px;
  border-radius: 30px !important;
  overflow: hidden;
}
#app .mm-ocd .mm-ocd__content,
#app .mm-ocd .mm-ocd__content #mobile-menu {
  background: var(--tm-foot) !important;
  background-image: var(--tm-foot) !important;
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  backdrop-filter: blur(30px) saturate(200%);
  box-shadow: inset 0 1px 0 var(--tm-shine) !important;
  color: var(--tm-text) !important;
}
#app .mm-ocd .mm-ocd__content::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 32% at 20% 0%, var(--tm-foot-mesh-1), transparent 70%),
    radial-gradient(50% 28% at 90% 100%, var(--tm-foot-mesh-2), transparent 70%);
}
#app .mm-ocd .mm-ocd__content > * { position: relative; z-index: 1; }

.mm-spn li {
  background: transparent !important;
  border-bottom: 1px solid var(--tm-stroke-b) !important;
  transition: background .35s var(--tm-ease);
}
.mm-spn li a, .mm-spn li span { color: var(--tm-text) !important; }
.mm-spn li > a, .mm-spn li > span {
  display: flex !important;
  align-items: center;
  gap: 12px;
}
.mm-spn li:hover { background: var(--tm-glass) !important; }
.desk-menu-like-mob .mm-spn li:after { background: var(--tm-duo) !important; }

/* أيقونة العنصر داخل القائمة */
.tm-mi {
  --tm-isize: 19px;
  display: inline-flex !important;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  background: var(--tm-glass-3);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--tm-stroke-b);
  box-shadow: inset 0 1px 0 var(--tm-shine);
  color: var(--tm-p);
  transition: transform .45s var(--tm-spring), background .35s, color .35s, box-shadow .35s;
}
.dark .tm-mi { color: var(--tm-p-light); }
.mm-spn li:hover > a .tm-mi,
.mm-spn li:hover > span .tm-mi,
.tm-mi:hover {
  background: var(--tm-duo);
  color: #fff;
  transform: translateY(-2px) scale(1.07) rotate(-5deg);
  box-shadow: 0 8px 18px -6px rgba(108,60,224,.6);
}

/* ==========================================================
   العناوين
   ========================================================== */
h1, h2, h3, h4, .dm-text-main { color: var(--tm-text) !important; letter-spacing: -.01em; }
.s-block__title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.s-block__title h2, .tm-title { position: relative; padding-bottom: 10px; font-weight: 700; }
.s-block__title h2::after, .tm-title::after {
  content: "";
  position: absolute; bottom: 0; inset-inline-start: 0;
  width: 40px; height: 4px; border-radius: 99px;
  background: var(--tm-duo);
  animation: tm-grow 3.5s var(--tm-ease) infinite;
}
.tm-center::after { inset-inline-start: 50% !important; transform: translateX(50%); }
[dir="ltr"] .tm-center::after { transform: translateX(-50%); }

h3.animated-text-inner {
  display: block; width: fit-content; min-width: 55%;
  margin: 0 auto 18px !important;
  padding: 10px 28px !important;
  border-radius: 999px;
  background: var(--tm-duo) !important;
  background-size: 300% 100% !important;
  animation: tm-flow 7s ease-in-out infinite alternate;
  color: #fff !important;
  text-align: center;
  box-shadow: 0 10px 30px -6px rgba(108,60,224,.55), inset 0 1px 0 rgba(255,255,255,.45);
  position: relative; overflow: hidden;
}
h3.animated-text-inner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: tm-sheen 4.5s var(--tm-ease) infinite;
}

.s-block__display-all {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding-inline: 14px;
  border-radius: 999px !important;
  background: var(--tm-glass) !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
  border: 1px solid var(--tm-stroke-b);
  color: var(--tm-text) !important;
  font-size: 14px; font-weight: 600;
  box-shadow: inset 0 1px 0 var(--tm-shine);
  transition: background .3s, color .3s, transform .4s var(--tm-spring);
}
.s-block__display-all:hover { background: var(--tm-s) !important; color: var(--tm-on-s) !important; transform: translateY(-2px); }
.s-block__display-all:hover i, .s-block__display-all:hover svg { animation: tm-nudge .8s var(--tm-ease) infinite; }

/* ==========================================================
   السلايدر والبانرات
   ========================================================== */
.s-slider-block img, salla-slider .swiper-slide img,
.banner-entry, .banner-entry img, .s-block a > img, .s-block picture img { border-radius: var(--tm-r) !important; }
.banner-entry, .s-block--banners a, .s-block--fixed-banner a {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--tm-r) !important;
  box-shadow: var(--tm-shadow);
  transition: transform .6s var(--tm-spring), box-shadow .55s var(--tm-ease);
}
.banner-entry:hover, .s-block--banners a:hover, .s-block--fixed-banner a:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--tm-shadow-lg);
}
.banner-entry img, .s-block--banners a img { transition: transform 1.2s var(--tm-ease); }
.banner-entry:hover img, .s-block--banners a:hover img { transform: scale(1.07) rotate(.5deg); }
.banner-entry::after, .s-block--banners a::after, .s-block--fixed-banner a::after {
  content: "";
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.4) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 1.1s var(--tm-ease);
}
.banner-entry:hover::after, .s-block--banners a:hover::after, .s-block--fixed-banner a:hover::after { transform: translateX(130%); }

.s-slider-nav-arrow {
  width: 44px !important; height: 44px !important;
  border-radius: 50% !important;
  background: var(--tm-glass-2) !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
  border: 1px solid var(--tm-stroke-b) !important;
  box-shadow: var(--tm-shadow), inset 0 1px 0 var(--tm-shine) !important;
  transition: transform .4s var(--tm-spring), background .3s;
}
.s-slider-nav-arrow svg { fill: var(--tm-text) !important; width: 26px !important; }
.s-slider-nav-arrow:hover { background: var(--tm-p) !important; transform: scale(1.1); }
.s-slider-nav-arrow:hover svg { fill: #fff !important; }
.swiper-pagination-bullet { background: var(--tm-text-2) !important; opacity: .35; transition: all .5s var(--tm-spring); }
.swiper-pagination-bullet-active { background: var(--tm-p) !important; opacity: 1; width: 24px !important; border-radius: 99px !important; }

/* ==========================================================
   بطاقات المنتجات
   ========================================================== */
custom-salla-product-card.product-block {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 8px !important;
  border: 0 !important;
  border-radius: var(--tm-r) !important;
  background: var(--tm-glass) !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
  box-shadow: var(--tm-shadow), inset 0 1px 0 var(--tm-shine) !important;
  transition: transform .5s var(--tm-ease), box-shadow .5s var(--tm-ease);
}
custom-salla-product-card.product-block:hover {
  transition: transform .18s ease-out, box-shadow .5s var(--tm-ease);
  box-shadow: var(--tm-shadow-lg), inset 0 1px 0 var(--tm-shine) !important;
}
custom-salla-product-card .product-block__thumb { border-radius: var(--tm-r-sm) !important; overflow: hidden; background: transparent !important; }
body#app custom-salla-product-card.product-block .product-block__thumb img {
  border-radius: var(--tm-r-sm) !important;
  background: transparent !important;
  transition: transform .8s var(--tm-ease);
}
custom-salla-product-card.product-block:hover .product-block__thumb img { transform: scale(1.08) translateY(-3px); }
custom-salla-product-card .product-block__title a, custom-salla-product-card h3 { color: var(--tm-text) !important; font-weight: 600; }
custom-salla-product-card .price, custom-salla-product-card .total-price,
custom-salla-product-card [class*="price"] h4 { color: var(--tm-p) !important; font-weight: 700; }
.dark custom-salla-product-card .price, .dark custom-salla-product-card .total-price,
.dark custom-salla-product-card [class*="price"] h4 { color: var(--tm-p-light) !important; }

.product-block .badge {
  background: var(--tm-s) !important;
  color: var(--tm-on-s) !important;
  font-weight: 700;
  border-radius: 999px !important;
  padding: 2px 12px !important;
  box-shadow: 0 4px 14px rgba(159,204,18,.45);
  animation: tm-badge-in .7s var(--tm-spring) both;
}
#app salla-add-product-button button.s-button-primary,
#app salla-add-product-button button[product-id].s-button-primary {
  height: 38px;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--tm-duo) !important;
  background-size: 300% 100% !important;
  animation: tm-flow 7s ease-in-out infinite alternate;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 8px 20px -6px rgba(108,60,224,.6), inset 0 1px 0 rgba(255,255,255,.4) !important;
  transition: transform .4s var(--tm-spring), box-shadow .3s, background .3s;
}
#app salla-add-product-button button.s-button-primary:hover {
  background: var(--tm-s) !important;
  color: var(--tm-on-s) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px -6px rgba(159,204,18,.6) !important;
}
#app salla-add-product-button button.s-button-primary:hover i,
#app salla-add-product-button button.s-button-primary:hover svg { animation: tm-jump .7s var(--tm-spring); }
#app salla-add-product-button button.s-button-primary:active { transform: scale(.95); }
.action-btns-small custom-salla-product-card .showPreviewBtn {
  border-radius: 12px !important;
  background: var(--tm-glass-2) !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
  transition: transform .4s var(--tm-spring);
}
.action-btns-small custom-salla-product-card .showPreviewBtn:hover { transform: scale(1.15) rotate(-8deg); }

/* ==========================================================
   ✦ الفوتر — لوحة زجاجية بتفاصيل
   ========================================================== */
.store-footer {
  background: transparent !important;
  background-color: transparent !important;
  padding-top: 40px;
}
.store-footer__inner,
.footer-is-dark .store-footer__inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1240px;
  width: calc(100% - 24px);
  margin-inline: auto;
  padding: 34px 26px 26px !important;
  border: 0 !important;
  border-radius: 32px !important;
  background: var(--tm-foot) !important;
  background-image: var(--tm-foot) !important;
  background-color: transparent !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
  box-shadow: var(--tm-shadow), inset 0 1px 0 var(--tm-shine) !important;
  color: var(--tm-text) !important;
}
/* تفاصيل الفوتر: هالات + شبكة + خط علوي مضيء */
.store-footer__inner::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 40% at 12% 0%, var(--tm-foot-mesh-1), transparent 70%),
    radial-gradient(45% 36% at 88% 10%, var(--tm-foot-mesh-2), transparent 70%),
    radial-gradient(60% 45% at 50% 115%, var(--tm-foot-mesh-1), transparent 70%);
}
.store-footer .tm-foot-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--tm-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--tm-grid) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask: radial-gradient(ellipse 80% 70% at 50% 0%, #000 10%, transparent 80%);
          mask: radial-gradient(ellipse 80% 70% at 50% 0%, #000 10%, transparent 80%);
}
.store-footer .tm-foot-line {
  position: absolute; top: 0; left: 15%; right: 15%;
  height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--tm-p), var(--tm-s), var(--tm-p), transparent);
  background-size: 300% 100%;
  animation: tm-flow 6s ease-in-out infinite alternate;
  box-shadow: 0 0 14px rgba(108,60,224,.7);
}
.store-footer, .store-footer p, .store-footer a, .store-footer span, .store-footer li,
.footer-is-dark .store-footer .text-gray-400 { color: var(--tm-text) !important; }
.store-footer a { transition: color .3s, transform .35s var(--tm-ease); display: inline-block; }
.store-footer a:hover { color: var(--tm-p) !important; }
.dark .store-footer a:hover { color: var(--tm-s) !important; }
.store-footer .footer-list a:hover { transform: translateX(-4px); }

.store-footer h3 {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;
  min-height: 34px;
  padding: 0 18px !important;
  line-height: 34px;
  border-radius: 999px !important;
  background: var(--tm-duo) !important;
  background-size: 300% 100% !important;
  animation: tm-flow 7s ease-in-out infinite alternate;
  color: #fff !important;
  text-align: center;
  font-size: 15px;
  box-shadow: 0 8px 18px -6px rgba(108,60,224,.5), inset 0 1px 0 rgba(255,255,255,.4);
}

/* أيقونات التواصل: مربعات متساوية */
.tm-sq {
  box-sizing: border-box !important;
  --tm-isize: 19px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important; height: 42px !important;
  min-width: 42px !important; max-width: 42px !important;
  padding: 0 !important;
  font-size: 0 !important;
  flex: 0 0 auto !important;
  border-radius: 14px !important;
  background: var(--tm-glass-3) !important;
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--tm-stroke-b) !important;
  box-shadow: inset 0 1px 0 var(--tm-shine) !important;
  color: var(--tm-text) !important;
  transition: transform .45s var(--tm-spring), background .35s, color .35s, box-shadow .35s !important;
}
.tm-sq:hover {
  background: var(--tm-duo) !important;
  color: #fff !important;
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 12px 24px -8px rgba(108,60,224,.65) !important;
}
.s-social-list, .s-contacts-list { display: flex !important; flex-wrap: wrap; gap: 10px !important; justify-content: center; }
.s-contacts-list-vertical { flex-direction: row !important; }
.s-contacts-item { gap: 10px; }

.footer-foot {
  position: relative;
  margin: 18px auto 0;
  padding-block: 16px;
  border: 0 !important;
  border-radius: 26px !important;
  background: var(--tm-glass-3) !important;
  background-image: none !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
  box-shadow: inset 0 1px 0 var(--tm-shine) !important;
}
salla-trust-badges {
  border-radius: 20px !important;
  padding: 8px 14px !important;
  background: var(--tm-glass-3) !important;
  background-image: none !important;
  border: 1px solid var(--tm-stroke-b) !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
}
.s-trust-badges-image { background: #fff; border-radius: 12px; padding: 4px; }
.s-payments-list-item {
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .4s var(--tm-spring);
}
.s-payments-list-item:hover { transform: translateY(-3px) scale(1.08); }

/* ==========================================================
   شريط الجوال السفلي
   ========================================================== */
.mobile-nav {
  position: fixed;
  left: 12px !important; right: 12px !important; bottom: 12px !important;
  width: auto !important;
  border: 0 !important;
  border-radius: 28px !important;
  background: var(--tm-glass-2) !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
  box-shadow: var(--tm-shadow), inset 0 1px 0 var(--tm-shine) !important;
}
.mobile-nav a, .mobile-nav i, .mobile-nav span { color: var(--tm-text) !important; }
.mobile-nav a i { display: inline-block; transition: transform .4s var(--tm-spring); }
.mobile-nav a:hover i { transform: translateY(-3px); }
.mobile-nav a:active i { animation: tm-pop .5s var(--tm-spring); }
.mobile-nav a.active, .mobile-nav a.active i { color: var(--tm-p) !important; }
.dark .mobile-nav a.active, .dark .mobile-nav a.active i { color: var(--tm-s) !important; }

/* ==========================================================
   ألوان متبقية من القالب → لوني الهوية
   ========================================================== */
a.filters-trigger, .filters-trigger { background: var(--tm-p) !important; color: #fff !important; border-radius: 14px !important; }
.s-block__title222 h2 {
  background: var(--tm-duo) !important;
  background-size: 300% 100% !important;
  animation: tm-flow 7s ease-in-out infinite alternate;
  color: #fff !important;
  border-radius: 999px !important;
}
.footer-tax-number, .s-installment-mispay-wrapper, .s-installment-madfu-wrapper,
.s-installment-emkan-wrapper, .s-installment-rajehi-wrapper,
.s-product-options-wrapper, .styles__snipperWrapperBgWhite--e52a2 {
  background: var(--tm-glass) !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
  border: 1px solid var(--tm-stroke-b) !important;
  border-radius: 18px !important;
  color: var(--tm-text) !important;
}
.s-block-tabs button.tab-trigger { border-radius: 999px !important; transition: transform .4s var(--tm-spring); }
.s-block-tabs button.tab-trigger:hover { transform: translateY(-2px); }
.s-block-tabs button.tab-trigger.is-active, .s-block-tabs button.tab-trigger.active {
  background: var(--tm-duo) !important; color: #fff !important;
}

/* الأزرار العائمة */
.tm-fab {
  --tm-isize: 22px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--tm-glass-2) !important;
  -webkit-backdrop-filter: var(--tm-blur);
  backdrop-filter: var(--tm-blur);
  border: 1px solid var(--tm-stroke-b) !important;
  border-radius: 16px !important;
  box-shadow: var(--tm-shadow), inset 0 1px 0 var(--tm-shine) !important;
  color: var(--tm-text) !important;
  transition: transform .45s var(--tm-spring), box-shadow .3s !important;
}
.tm-fab:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 0 0 1px rgba(198,244,50,.5), var(--tm-shadow-lg) !important; }
.tm-fab:hover::before { animation: tm-jump .7s var(--tm-spring); }

/* ==========================================================
   لمسات عامة
   ========================================================== */
::selection { background: rgba(198,244,50,.45); color: var(--tm-on-s); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--tm-p), var(--tm-p-dark)); border-radius: 99px; border: 3px solid var(--tm-bg); }

.tm-ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(198,244,50,.55), transparent 60%);
  transform: scale(0);
  animation: tm-ripple .7s var(--tm-ease) forwards;
  z-index: 5;
}
@keyframes tm-ripple { to { transform: scale(1); opacity: 0; } }

.tm-wipe {
  position: fixed; z-index: 99999;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, transparent 30%, rgba(108,60,224,.35) 55%, rgba(198,244,50,.25) 70%, transparent 80%);
  animation: tm-wipe .9s var(--tm-ease) forwards;
}
@keyframes tm-wipe { from { transform: scale(0); opacity: 1; } to { transform: scale(90); opacity: 0; } }

.tm-reveal { opacity: 0; transform: translateY(30px) scale(.97); }
.tm-reveal.tm-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--tm-ease) var(--tm-d, 0ms), transform .9s var(--tm-spring) var(--tm-d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .tm-orb, .tm-progress { display: none; }
  .tm-reveal { opacity: 1; transform: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --tm-glass: rgba(255,255,255,.92); --tm-glass-2: rgba(255,255,255,.96); --tm-glass-3: rgba(255,255,255,.88); }
  .dark { --tm-glass: rgba(34,28,56,.94); --tm-glass-2: rgba(24,19,42,.97); --tm-glass-3: rgba(44,36,72,.92); }
}

body .s-design-before { display: none; }

/* القائمة الجانبية: بدون نقاط ولا خط تحت الروابط */
.mm-spn, .mm-spn ul, .mm-spn li, .main-menu { list-style: none !important; }
.mm-spn li::marker { content: "" !important; }
.mm-spn li a, .mm-ocd a, #mobile-menu a { text-decoration: none !important; }