/* ================================================
   PARMAAG - Avone Dark Landing Page Style
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --bg: #0a0a12;
  --bg2: #0f0f1a;
  --bg3: #161625;
  --card: #1a1a2e;
  --card-border: rgba(255,255,255,0.06);
  --red: #e95144;
  --orange: #f97316;
  --gradient-text: linear-gradient(90deg, #f97316, #ef4444, #f97316);
  --gradient-btn: linear-gradient(90deg, #ef4444, #f97316);
  --white: #ffffff;
  --gray: #9ca3af;
  --gray2: #6b7280;
  --font: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--gray); font-size: 15px; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ========== INTRO SPLASH ========== */
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.intro-splash.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#introParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Intro flares */
.intro-flare {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.intro-fl-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(239,68,68,0.3), transparent 70%);
  top: -20%; left: 10%;
  animation: flarePulse 5s ease-in-out infinite;
}
.intro-fl-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.25), transparent 70%);
  bottom: -10%; right: 5%;
  animation: flarePulse 6s ease-in-out infinite 2s;
}
.intro-fl-3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(249,115,22,0.2), transparent 70%);
  top: 30%; right: 30%;
  animation: flarePulse 7s ease-in-out infinite 1s;
}

/* Intro floating icons */
.intro-float-icon {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  font-size: 30px;
  opacity: 0;
  animation: introIconIn 0.8s ease forwards, iconFloat 10s ease-in-out infinite;
}
.ifi-1 { top: 12%; left: 10%;  color: rgba(239,68,68,0.15);  font-size: 40px; animation-delay: 0.3s, 0.3s; }
.ifi-2 { top: 8%;  right: 12%; color: rgba(168,85,247,0.12); font-size: 36px; animation-delay: 0.5s, 0.5s; }
.ifi-3 { bottom: 15%; left: 8%; color: rgba(59,130,246,0.12); font-size: 34px; animation-delay: 0.7s, 0.7s; }
.ifi-4 { top: 50%; left: 5%;   color: rgba(236,72,153,0.12); font-size: 28px; animation-delay: 0.4s, 0.4s; }
.ifi-5 { bottom: 20%; right: 10%; color: rgba(239,68,68,0.1); font-size: 42px; animation-delay: 0.6s, 0.6s; }
.ifi-6 { top: 25%; right: 8%;  color: rgba(249,115,22,0.12); font-size: 32px; animation-delay: 0.8s, 0.8s; }
.ifi-7 { bottom: 35%; right: 25%; color: rgba(34,197,94,0.1); font-size: 36px; animation-delay: 0.9s, 0.9s; }
.ifi-8 { top: 40%; left: 25%;  color: rgba(239,68,68,0.08); font-size: 26px; animation-delay: 1.0s, 1.0s; }

@keyframes introIconIn {
  from { opacity: 0; transform: scale(0.5) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Intro content */
.intro-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.intro-logo {
  width: 160px;
  opacity: 0;
  animation: introLogoIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
  filter: drop-shadow(0 0 60px rgba(239,68,68,0.3)) drop-shadow(0 0 120px rgba(249,115,22,0.15));
}

@keyframes introLogoIn {
  0% { opacity: 0; transform: scale(0.6) translateY(20px); filter: blur(10px); }
  60% { opacity: 1; transform: scale(1.08) translateY(-5px); filter: blur(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

.intro-loader {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.6s forwards;
}

.intro-loader-bar {
  width: 0%;
  height: 100%;
  background: var(--gradient-btn);
  border-radius: 10px;
  animation: loaderFill 2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes loaderFill {
  0% { width: 0%; }
  40% { width: 60%; }
  70% { width: 85%; }
  100% { width: 100%; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(30px); }
  to { opacity:1; transform:translateY(0); }
}
[data-anim] { opacity:0; transform:translateY(30px); }
[data-anim].in-view { animation: fadeUp 0.6s cubic-bezier(0.4,0,0.2,1) forwards; }
[data-anim]:nth-child(2) { animation-delay: 75ms; }
[data-anim]:nth-child(3) { animation-delay: 150ms; }
[data-anim]:nth-child(4) { animation-delay: 225ms; }
[data-anim]:nth-child(5) { animation-delay: 300ms; }
[data-anim]:nth-child(6) { animation-delay: 375ms; }

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes flarePulse {
  0%,100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top:0; left:0; width:100%; z-index:1000;
  padding: 16px 0;
  background: rgba(10,10,18,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  transition: 0.3s;
}
.navbar.scrolled { background: rgba(10,10,18,0.95); padding: 10px 0; }
.nav-inner { display:flex; align-items:center; justify-content:space-between; }
.nav-logo img { height: 44px; }
.nav-links { display:flex; gap:8px; }
.nav-link {
  color: var(--gray);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-right { display:flex; align-items:center; gap:12px; }
.nav-icon {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items:center; justify-content:center;
  color: var(--gray); font-size: 18px;
  border-radius: 8px; transition: 0.3s;
}
.nav-icon:hover { color: var(--white); }
.cart-badge {
  position:absolute; top:-2px; right:-2px;
  width:18px; height:18px; border-radius:50%;
  background: var(--red); color: white;
  font-size: 10px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}

/* Buttons */
.btn-red {
  display:inline-flex; align-items:center; gap:6px;
  padding: 10px 24px;
  background: var(--gradient-btn);
  color: white; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; border-radius: 50px;
  border: none; transition: 0.3s;
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(239,68,68,0.35); color: white; }
.btn-lg { padding: 18px 42px; font-size: 15px; }
.btn-outline-white {
  display:inline-flex; align-items:center;
  padding: 16px 36px;
  border: 1px solid rgba(255,255,255,0.3);
  color: white; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; border-radius: 50px;
  background: none; transition: 0.3s;
}
.btn-outline-white:hover { background: white; color: var(--bg); border-color: white; }

.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px; }
.hamburger span { display:block; width:22px; height:2px; background:white; border-radius:2px; transition:0.3s; }

/* Nav User */
.nav-user-menu { position:relative; }
.nav-user-btn { display:flex; align-items:center; gap:8px; padding:6px 14px; background:rgba(255,255,255,0.06); border:1px solid var(--card-border); border-radius:50px; color:white; font-size:13px; cursor:pointer; }
.nav-avatar, .dropdown-avatar { width:28px; height:28px; border-radius:50%; background:var(--gradient-btn); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:11px; color:white; }
.dropdown-avatar { width:38px; height:38px; font-size:14px; }
.nav-username { font-weight:600; }
.nav-dropdown { position:absolute; top:calc(100%+8px); right:0; min-width:230px; padding:16px; background:var(--card); border:1px solid var(--card-border); border-radius:12px; opacity:0; visibility:hidden; transform:translateY(8px); transition:0.3s; z-index:100; }
.nav-dropdown.show { opacity:1; visibility:visible; transform:translateY(0); }
.dropdown-header { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.dropdown-header strong { display:block; font-size:14px; color:white; }
.dropdown-header small { color:var(--gray2); font-size:12px; }
.dropdown-divider { height:1px; background:var(--card-border); margin:8px 0; }
.dropdown-item { display:flex; align-items:center; gap:8px; padding:10px 12px; border-radius:8px; font-size:14px; color:var(--gray); transition:0.3s; }
.dropdown-item:hover { background:rgba(255,255,255,0.05); color:white; }

/* Mobile */
.mobile-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:1000; opacity:0; visibility:hidden; transition:0.3s; }
.mobile-overlay.open { opacity:1; visibility:visible; }
.mobile-drawer { position:fixed; top:0; left:0; width:300px; height:100%; background:var(--bg2); z-index:1001; transform:translateX(-100%); transition:0.3s; overflow-y:auto; }
.mobile-drawer.open { transform:translateX(0); }
.drawer-head { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1px solid var(--card-border); }
.drawer-head img { height:32px; }
.drawer-head button { background:none; border:none; color:white; font-size:20px; }
.drawer-link { display:block; padding:14px 20px; border-bottom:1px solid var(--card-border); font-size:14px; color:var(--gray); font-weight:500; transition:0.3s; }
.drawer-link:hover { color:white; background:rgba(255,255,255,0.03); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 40px;
  overflow: hidden;
  background: var(--bg);
}

/* Particle canvas */
#heroParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Gooey liquid metaballs - behind the 3D object */
#heroGoo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  filter: blur(16px) contrast(9) saturate(1.05);
  transition: opacity 1.4s ease;
}
#heroGoo.ready { opacity: 0.5; }

/* Three.js 3D object canvas - sits between particles and content */
#hero3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
#hero3d.ready { opacity: 1; }

/* Liquid zoom-through fill that floods the screen on scroll-out */
.hero-fill {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.15);
  transform-origin: 50% 44%;
  border-radius: 50%;
  background: radial-gradient(circle, #ff8a3d 0%, #ff6b35 32%, #ef4444 58%, #b3000f 100%);
  will-change: transform, opacity;
}

/* Brand logo that flashes in at the peak of the liquid flood */
.hero-fill-logo {
  position: fixed;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: min(260px, 56vw);
  height: auto;
  z-index: 41;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35));
}

@media (prefers-reduced-motion: reduce) {
  #heroGoo { display: none; }
  .hero-fill,
  .hero-fill-logo { display: none; }
}

/* Light flares - bigger and brighter */
.flare {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.flare-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(239,68,68,0.25), transparent 70%);
  top: -150px; left: 15%;
  animation: flarePulse 6s ease-in-out infinite;
}
.flare-2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%);
  top: 5%; right: 5%;
  animation: flarePulse 7s ease-in-out infinite 2s;
}
.flare-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.18), transparent 70%);
  bottom: 10%; left: 5%;
  animation: flarePulse 8s ease-in-out infinite 4s;
}

/* Floating tech icons */
.hero-float-icon {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  color: rgba(255,255,255,0.06);
  font-size: 28px;
  will-change: transform;
}
/* Idle float lives on the inner icon so GSAP can fly the wrapper without conflict */
.hero-float-icon i {
  display: block;
  animation: iconFloat 10s ease-in-out infinite;
}

.hfi-1  { top: 12%; left: 6%;  font-size: 36px; color: rgba(239,68,68,0.12);  animation-duration: 11s; }
.hfi-2  { top: 8%;  right: 8%; font-size: 32px; color: rgba(168,85,247,0.1);  animation-duration: 13s; animation-delay: 1s; }
.hfi-3  { top: 35%; left: 3%;  font-size: 28px; color: rgba(59,130,246,0.1);  animation-duration: 9s;  animation-delay: 2s; }
.hfi-4  { top: 20%; left: 25%; font-size: 22px; color: rgba(249,115,22,0.08); animation-duration: 14s; animation-delay: 0.5s; }
.hfi-5  { top: 55%; right: 5%; font-size: 30px; color: rgba(236,72,153,0.1);  animation-duration: 12s; animation-delay: 3s; }
.hfi-6  { bottom: 30%; left: 8%; font-size: 34px; color: rgba(34,197,94,0.08); animation-duration: 10s; animation-delay: 1.5s; }
.hfi-7  { top: 18%; right: 22%; font-size: 24px; color: rgba(239,68,68,0.08); animation-duration: 15s; animation-delay: 4s; }
.hfi-8  { bottom: 20%; right: 15%; font-size: 26px; color: rgba(249,115,22,0.1); animation-duration: 11s; animation-delay: 2.5s; }
.hfi-9  { top: 45%; left: 15%; font-size: 38px; color: rgba(239,68,68,0.07); animation-duration: 16s; animation-delay: 0s; }
.hfi-10 { bottom: 40%; right: 25%; font-size: 20px; color: rgba(168,85,247,0.08); animation-duration: 13s; animation-delay: 3.5s; }
.hfi-11 { top: 30%; right: 30%; font-size: 34px; color: rgba(59,130,246,0.07); animation-duration: 12s; animation-delay: 1s; }
.hfi-12 { bottom: 15%; left: 22%; font-size: 26px; color: rgba(236,72,153,0.08); animation-duration: 14s; animation-delay: 5s; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  25% { transform: translateY(-18px) rotate(5deg); opacity: 0.8; }
  50% { transform: translateY(-8px) rotate(-3deg); opacity: 0.6; }
  75% { transform: translateY(-22px) rotate(4deg); opacity: 1; }
}

/* Shimmer lines */
.shimmer-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239,68,68,0.15), rgba(249,115,22,0.1), transparent);
  pointer-events: none;
  z-index: 0;
}
.sl-1 {
  width: 60%;
  top: 30%;
  left: -10%;
  transform: rotate(-5deg);
  animation: shimmerSlide 8s ease-in-out infinite;
}
.sl-2 {
  width: 50%;
  bottom: 25%;
  right: -10%;
  transform: rotate(3deg);
  animation: shimmerSlide 10s ease-in-out infinite 3s;
}
@keyframes shimmerSlide {
  0% { opacity: 0; transform: translateX(-30%) rotate(-5deg); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateX(30%) rotate(-5deg); }
}

.hero-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-h1 {
  font-size: 68px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.hero-p {
  font-size: 19px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Showcase cards */
.hero-showcase {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.float-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  animation: floatY 6s ease-in-out infinite;
}

.showcase-left {
  width: 260px;
  text-align: center;
  animation-delay: 0s;
}
.showcase-left .sc-icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  display: flex; align-items:center; justify-content:center;
  font-size: 28px;
  color: #22c55e;
}
.showcase-left > div:nth-child(2) { font-size: 14px; color: var(--gray); margin-bottom: 16px; line-height: 1.5; }
.text-red { color: var(--red); font-weight: 700; }
.sc-stats { display: flex; gap: 20px; justify-content: center; }
.sc-stats div { font-size: 12px; }
.sc-stats strong, .sc-stats span { display: block; }
.sc-stats small { color: var(--gray2); font-size: 11px; }

.showcase-center {
  width: 420px;
  padding: 0;
  overflow: hidden;
  animation-delay: 1s;
}
.sc-browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: var(--bg3);
  border-bottom: 1px solid var(--card-border);
}
.dot { width:10px; height:10px; border-radius:50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }
.sc-url { margin-left: 12px; font-size: 11px; color: var(--gray2); }
.sc-preview {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg2);
}
.sc-preview-img { width: 100%; height: 180px; object-fit: cover; display: block; }

.showcase-right { display: flex; flex-direction: column; gap: 16px; animation-delay: 2s; }
.sc-card-small {
  display: flex; align-items: center; gap: 14px;
  width: 240px; padding: 16px 20px;
}
.sc-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items:center; justify-content:center;
  font-size: 20px; color: white; flex-shrink: 0;
}
.sc-card-small strong { display: block; font-size: 14px; color: white; }
.sc-card-small small { font-size: 12px; color: var(--gray2); }

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 32px 0;
  /* rise above the liquid flood and wipe over it during the hero transition */
  position: relative;
  z-index: 45;
}
.stats-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.stat-item { display:flex; align-items:center; gap:14px; }
.stat-item i { font-size: 32px; color: var(--red); }
.stat-item strong { display:block; font-size:26px; font-weight:800; color:white; }
.stat-item span { font-size: 14px; color: var(--gray2); }

/* ========== CINEMATIC SLIDE-IN PANEL (templates) — pinned via GSAP ========== */
.slide-stage { position: relative; }
.slide-sticky { height: 100vh; overflow: hidden; }
#templates.slide-panel {
  position: absolute;
  inset: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  background: var(--bg);
  box-shadow: -40px 0 120px rgba(0, 0, 0, 0.6);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .slide-sticky { height: auto; overflow: visible; }
  #templates.slide-panel { position: static; min-height: 0; padding: 70px 0; box-shadow: none; }
}

/* ========== SHOP CATEGORY SECTIONS (6 products each) ========== */
.cat-section { margin-top: 50px; }
.cat-section:first-child { margin-top: 0; }
.cat-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 1px solid var(--card-border);
}
.cat-section-head h3 {
  font-size: 24px; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 12px;
}
.cat-section-head .cat-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
}
.cat-see-all {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 700; color: var(--orange);
  transition: gap 0.25s;
}
.cat-see-all:hover { gap: 12px; }
.cat-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.cat-products-grid .tmpl-img { height: 165px; }
@media (max-width: 992px) { .cat-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-products-grid { grid-template-columns: 1fr; } }

/* extra product details on the home category cards */
.tmpl-desc {
  font-size: 12.5px; color: var(--gray2); line-height: 1.6;
  margin: 4px 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tmpl-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 6px; z-index: 2;
}
[dir="rtl"] .tmpl-badges { left: auto; right: 12px; }
.tmpl-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 9px; border-radius: 50px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px; color: #fff;
}
.tag-new { background: linear-gradient(135deg,#3b82f6,#2563eb); }
.tag-hot { background: linear-gradient(135deg,#f97316,#ef4444); }
.tag-sale { background: linear-gradient(135deg,#22c55e,#16a34a); }
.tmpl-cat-float {
  position: absolute; bottom: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 50px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 11px; font-weight: 600; z-index: 2;
}
[dir="rtl"] .tmpl-cat-float { left: auto; right: 12px; }
.tmpl-cat-float i { color: var(--orange); font-size: 10px; }

/* ========== SECTIONS ========== */
.section-dark { padding: 70px 0; }
.sec-head { text-align:center; margin-bottom: 40px; }
.sec-tag {
  display:inline-flex; align-items:center; gap:6px;
  padding: 6px 16px; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; color: var(--red);
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: 50px; margin-bottom: 16px;
}
.sec-title { font-size: 40px; font-weight: 800; color: white; margin-bottom: 10px; }
.sec-sub { font-size: 17px; color: var(--gray); max-width: 520px; margin: 0 auto; }

/* ========== 3D TILT (cards) ========== */
.cat-grid,
.templatesSwiper { perspective: 1100px; }

/* Cards that receive cursor-tracked 3D tilt */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx,50%) var(--gy,50%), rgba(255,255,255,0.16), rgba(255,255,255,0) 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
}
.tilt:hover .tilt-glare { opacity: 1; }

/* Lift inner content off the card surface for real depth */
.cat-card .cat-body,
.cat-card .cat-img { transform: translateZ(38px); }
.tmpl-card .tmpl-body { transform: translateZ(30px); }
.tmpl-card .tmpl-img { transform: translateZ(18px); }

@media (prefers-reduced-motion: reduce) {
  .tilt { transform: none !important; }
  .tilt-glare { display: none; }
  #hero3d { display: none; }
}

/* ========== CATEGORIES ========== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: 0.35s;
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239,68,68,0.3);
  box-shadow: 0 12px 40px rgba(239,68,68,0.08);
}
.cat-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items:center; justify-content:center;
  font-size: 24px; color: white;
  margin: 0 auto 18px;
}
/* Category card with image */
.cat-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
  opacity: 0.7;
  transition: 0.4s;
}
.cat-card:hover .cat-img { opacity: 1; transform: translateZ(38px) scale(1.03); }
.cat-body { text-align: center; }

.cat-card h4 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 6px; }
.cat-card p { font-size: 14px; color: var(--gray2); }

/* ========== TEMPLATES ========== */
.templates-slider-wrap { position:relative; padding: 0 24px; }
.templatesSwiper { overflow:hidden; padding: 10px 0 20px; }

.tmpl-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.35s;
}
.tmpl-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239,68,68,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.tmpl-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.tmpl-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.tmpl-card:hover .tmpl-img-photo { transform: scale(1.08); }
/* Sticker product images (transparent emoji PNGs): show the whole sticker, centered on a soft pad */
img.is-sticker-img {
  object-fit: contain !important;
  padding: 16% 22%;
  background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.10), rgba(255,255,255,.02) 60%, transparent 75%);
}
.tmpl-card:hover .tmpl-img-photo.is-sticker-img,
.sp-card:hover .sp-img.is-sticker-img { transform: scale(1.12); }
.tmpl-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  color: white;
}
.tmpl-body { padding: 20px; }
.tmpl-cat { font-size: 11px; color: var(--gray2); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.tmpl-body h4 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 8px; }
.tmpl-meta { display:flex; gap:12px; font-size:12px; color:var(--gray2); margin-bottom:10px; }
.tmpl-price { margin-bottom: 14px; }
.tmpl-price .old { text-decoration: line-through; color: var(--gray2); font-size: 14px; margin-right: 8px; }
.tmpl-price .current { font-size: 20px; font-weight: 800; color: var(--red); }
.tmpl-body .btn-red { width: 100%; justify-content: center; padding: 10px 16px; font-size: 12px; border-radius: 8px; }

/* Swiper Nav */
.swiper-nav-row { display:flex; justify-content:center; gap:12px; margin-top:32px; }
.sw-btn {
  width:48px; height:48px; border-radius:50%;
  background:var(--card); border:1px solid var(--card-border);
  color:white; font-size:16px;
  display:flex; align-items:center; justify-content:center;
  transition:0.3s;
}
.sw-btn:hover { background:var(--gradient-btn); border-color:transparent; }

/* ========== PURCHASES - Premium Grid ========== */
.purchases-sec { position: relative; overflow: hidden; }

.purchases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  perspective: 1300px;
}

/* ===== 3D flip card — front: who/when · back: what they bought ===== */
.purch-card {
  position: relative;
  min-height: 188px;
  transform-style: preserve-3d;
  /* continuous gentle 3D float (phase-staggered per card) */
  animation: cardFloat 6s ease-in-out infinite;
  animation-delay: var(--df, 0s);
}
.purch-card.entering {
  animation: cardIn3D 0.75s cubic-bezier(0.22, 1, 0.36, 1) both,
             cardFloat 6s ease-in-out infinite;
  animation-delay: var(--d, 0ms), calc(var(--d, 0ms) + 0.75s);
}
.purch-inner {
  position: relative;
  width: 100%;
  min-height: 188px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.purch-card:hover .purch-inner { transform: rotateY(180deg); }
.purch-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s, border-color 0.4s;
}
.purch-back {
  transform: rotateY(180deg);
  justify-content: center;
  gap: 12px;
  border-color: rgba(255, 255, 255, 0.12);
}
.purch-card:hover .purch-face {
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.16);
}
.purch-flip-hint {
  position: absolute;
  bottom: 14px; right: 16px;
  font-size: 11px;
  color: var(--gray2);
  opacity: 0.45;
}
[dir="rtl"] .purch-flip-hint { right: auto; left: 16px; }
.purch-back-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: var(--gray);
}
.purch-back-meta i { width: 16px; color: var(--orange); margin-inline-end: 7px; }
.purch-front .purch-user { margin-top: 4px; }
.purch-front .purch-time { margin-top: auto; }
@keyframes cardIn3D {
  0%   { opacity: 0; transform: rotateX(-42deg) translateY(45px) translateZ(-90px); }
  100% { opacity: 1; transform: rotateX(0deg) translateY(0) translateZ(0); }
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50%      { transform: translateY(-9px) rotateX(3deg) rotateY(-2.5deg); }
}

/* Just-added (pulse in) animation, then settle into the float */
.purch-card.just-added {
  animation: feedPopIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) both,
             cardFloat 6s ease-in-out infinite;
  animation-delay: 0s, 0.7s;
}
.purch-card.just-added::after {
  content: 'NEW';
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 20px;
  animation: newBadgeFade 3s ease forwards;
  z-index: 2;
}
[dir="rtl"] .purch-card.just-added::after { right: auto; left: 10px; }
@keyframes feedPopIn {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}
@keyframes newBadgeFade {
  0% { opacity: 0; transform: scale(0); }
  15% { opacity: 1; transform: scale(1.1); }
  25% { transform: scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: scale(0.8); }
}

.purch-card:hover {
  /* pause the float so the flip reads cleanly */
  animation-play-state: paused;
  z-index: 3;
}

.purch-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(30px);
}
.purch-back .purch-glow { opacity: 0.16; }

.purch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.purch-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--card-border);
  transition: 0.3s;
}

.purch-card:hover .purch-avatar {
  border-color: rgba(239,68,68,0.4);
  box-shadow: 0 0 16px rgba(239,68,68,0.15);
}

.purch-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.purch-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
  animation: flarePulse 2s ease-in-out infinite;
}

.purch-body {}

.purch-user {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.purch-loc {
  font-size: 14px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.purch-product {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.4;
}

.purch-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.purch-cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}

.purch-cat i {
  font-size: 10px;
}

.purch-time {
  font-size: 11px;
  color: var(--gray2);
}

.purch-time i {
  margin-right: 4px;
  font-size: 10px;
}

/* Currency toggle */
.currency-toggle {
  padding: 6px 14px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 50px;
  color: #f87171;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  letter-spacing: 0.5px;
}
.currency-toggle:hover {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.4);
}

/* ========== REVIEWS ========== */
.reviewsSwiper { overflow:hidden; padding:20px 0; }
.review-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 30px 28px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 2px; left: 24px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 96px; line-height: 1;
  color: var(--orange);
  opacity: 0.14;
  pointer-events: none;
}
[dir="rtl"] .review-card::before { left: auto; right: 24px; }
.review-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), var(--orange), transparent);
  opacity: 0; transition: 0.35s;
}
.review-card:hover {
  border-color: rgba(239,68,68,0.28);
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.35);
}
.review-card:hover::after { opacity: 1; }
.rv-stars { color:#f59e0b; font-size:16px; margin-bottom:18px; position: relative; }
.rv-stars i { margin:0 2px; }
.review-card h4 { font-size:17px; font-weight:800; color:white; margin-bottom:12px; }
.review-card p { font-size:14.5px; color:var(--gray); line-height:1.75; font-style:italic; margin-bottom:24px; min-height:80px; }
.rv-author {
  display:flex; align-items:center; gap:13px; justify-content:center;
  padding-top: 18px;
  border-top: 1px solid var(--card-border);
}
.rv-avatar { width:44px; height:44px; border-radius:12px; background:var(--gradient-btn); display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; color:white; }
.rv-avatar-img {
  width:50px; height:50px; border-radius:50%; object-fit:cover;
  border:2px solid var(--orange);
  box-shadow: 0 4px 14px rgba(249,115,22,0.3);
  flex-shrink:0;
}
.rv-author > div { text-align: start; }
.rv-author strong { display:block; font-size:14px; color:white; }
.rv-author small { color:var(--gray2); font-size:12px; }

/* ========== FOOTER ========== */
.footer { padding:80px 0 0; border-top:1px solid var(--card-border); }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; padding-bottom:40px; }
.footer-logo { height:48px; margin-bottom:14px; }
.footer-brand p { font-size:14px; color:var(--gray); line-height:1.7; margin-bottom:20px; }
.footer-socials { display:flex; gap:10px; }
.footer-socials a { width:38px; height:38px; border-radius:10px; border:1px solid var(--card-border); display:flex; align-items:center; justify-content:center; font-size:15px; color:var(--gray); transition:0.3s; }
.footer-socials a:hover { background:var(--gradient-btn); color:white; border-color:transparent; }
.footer-col h4 { font-size:14px; font-weight:700; color:white; margin-bottom:16px; }
.footer-col a { display:block; font-size:14px; color:var(--gray); padding:4px 0; transition:0.2s; }
.footer-col a:hover { color:white; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--card-border); padding:24px 0; flex-wrap:wrap; gap:12px; }
.footer-bottom p { font-size:13px; color:var(--gray2); }
.payment-icons { display:flex; gap:12px; font-size:24px; color:var(--gray2); }
.powered-by { font-size:12px; color:var(--gray2); display:inline-flex; align-items:center; gap:6px; }
.powered-by a { color:#f97316; font-weight:600; text-decoration:none; transition:color .2s; }
.powered-by a:hover { color:#ef4444; text-decoration:underline; }

/* ========== SCROLL TOP ========== */
/* Scroll progress ring — shows how far down the page you are; click = top */
.scroll-top {
  position: fixed; right: 24px; bottom: 94px;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(18, 18, 32, 0.92);
  border: 1px solid var(--card-border);
  color: white; padding: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 500; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); }

.scroll-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.scroll-ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 3; }
.scroll-ring-bar {
  fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 131.95; stroke-dashoffset: 131.95;
  transition: stroke-dashoffset 0.12s linear;
  filter: drop-shadow(0 0 4px rgba(255, 107, 53, 0.55));
}
.scroll-pct { font-size: 13px; font-weight: 800; color: #fff; line-height: 1; transition: opacity 0.2s; }
.scroll-arrow {
  position: absolute; font-size: 16px; color: var(--orange);
  opacity: 0; transition: opacity 0.2s;
}
.scroll-top:hover .scroll-pct { opacity: 0; }
.scroll-top:hover .scroll-arrow { opacity: 1; }

/* ========== WHATSAPP FLOATING BUTTON ========== */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
[dir="rtl"] .whatsapp-fab { right: auto; left: 24px; }
.whatsapp-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  color: white;
}
.whatsapp-fab i { position: relative; z-index: 2; }

/* Pulse ring */
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.6;
  z-index: 1;
  animation: whatsappPulse 2.4s ease-out infinite;
}
@keyframes whatsappPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.6); opacity: 0;    }
  100% { transform: scale(1.6); opacity: 0;    }
}

/* Position scroll-top above WhatsApp on the same side */
[dir="rtl"] .scroll-top { right: auto; left: 24px; }

/* ========== FOOTER CONTACT ITEMS ========== */
.footer-contact { }
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--gray);
  font-size: 14px;
  transition: 0.2s;
  direction: ltr;
}
[dir="rtl"] .contact-item { direction: rtl; }
.contact-item:hover { color: white; transform: translateX(4px); }
[dir="rtl"] .contact-item:hover { transform: translateX(-4px); }
.contact-item i {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--red);
  flex-shrink: 0;
}
.contact-item:has(.fa-whatsapp) i { color: #25d366; }
.contact-item span { direction: ltr; }

/* ========== TOAST ========== */
.cart-toast {
  position:fixed; bottom:30px; left:50%;
  transform:translateX(-50%) translateY(20px);
  padding:14px 28px; background: var(--red);
  border-radius:12px; color:white; font-size:14px; font-weight:600;
  display:flex; align-items:center; gap:10px; z-index:2000;
  opacity:0; transition:0.3s;
  box-shadow: 0 12px 40px rgba(239,68,68,0.3);
}
.cart-toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width:1024px) {
  .hero-showcase { flex-direction:column; align-items:center; }
  .showcase-left, .showcase-center, .showcase-right { width:100%; max-width:420px; }
  .showcase-right { flex-direction:row; justify-content:center; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .purchases-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width:768px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .btn-red.nav-right-btn { display:none; }
  .hero-h1 { font-size: 36px; }
  .hero-p br { display:none; }
  .hero-showcase { display:none; }
  .cat-grid { grid-template-columns: 1fr; }
  .purchases-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-title { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-fab { width: 52px; height: 52px; font-size: 26px; right: 16px; bottom: 16px; }
  [dir="rtl"] .whatsapp-fab { left: 16px; }
  .scroll-top { bottom: 80px; right: 16px; }
  [dir="rtl"] .scroll-top { left: 16px; }
  .footer-bottom { flex-direction:column; gap:12px; text-align:center; }
  .stats-inner { flex-direction:column; align-items:center; }
  .nav-right .btn-red { display:none; }
}

@media (max-width:480px) {
  .hero-h1 { font-size: 28px; }
  .hero-btns { flex-direction:column; align-items:center; }
}

/* ========== LANGUAGE TOGGLE ========== */
.lang-toggle {
  padding: 6px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Tajawal', 'Inter', sans-serif;
}
.lang-toggle:hover { background: rgba(255,255,255,0.15); }

/* ========== RTL SUPPORT ========== */
[dir="rtl"] body {
  font-family: 'Tajawal', 'Inter', system-ui, sans-serif;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] .nav-link, [dir="rtl"] .btn-red, [dir="rtl"] .btn-outline-white,
[dir="rtl"] .sec-tag, [dir="rtl"] .lang-toggle, [dir="rtl"] .drawer-link,
[dir="rtl"] strong, [dir="rtl"] .pr-name {
  font-family: 'Tajawal', 'Inter', system-ui, sans-serif;
}

[dir="rtl"] .nav-link { letter-spacing: 0; }
[dir="rtl"] .sec-tag { letter-spacing: 0; }
[dir="rtl"] .hero-h1 { letter-spacing: 0; }
[dir="rtl"] .tmpl-badge { letter-spacing: 0; left: auto; right: 12px; }
[dir="rtl"] .tmpl-cat { letter-spacing: 0; }
[dir="rtl"] .pr-cat { letter-spacing: 0; }

/* Flip directional elements */
[dir="rtl"] .hero-btns .fa-play-circle { transform: scaleX(-1); }
[dir="rtl"] .sc-browser-bar { direction: ltr; }
[dir="rtl"] .sc-preview { direction: rtl; }
[dir="rtl"] .pr-meta { text-align: left; }
[dir="rtl"] .footer-bottom { direction: ltr; }
[dir="rtl"] .payment-icons { direction: ltr; }
[dir="rtl"] .cart-badge { right: auto; left: -2px; }
