/* ─── PAGE-LOCAL VARIABLES ───────────────────────────────────── */
:root {
  --nav-h: 68px;
  /* Theme-invariant white for text/controls overlaid on the hero
     video — must stay light in both themes since the video itself
     doesn't change, unlike --bg which flips dark in dark mode. */
  --hero-fg: #FFFFFF;
}

/* ─── PAGE LOADER ─────────────────────────────────────────────── */
#pageLoader {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  background: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  overflow: hidden;
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
#pageLoader.wl-exit { opacity: 0; transform: scale(1.06); }
#pageLoader.hidden { visibility: hidden; pointer-events: none; }
.bb-noanim #pageLoader { display: none !important; }
#dataSpinner {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  background: var(--bg);
  pointer-events: none;
  opacity: 0.95;
}
.ds-ring {
  width: 44px;
  height: 44px;
  border: 2px solid var(--surface-alt);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: ds-spin .75s linear infinite;
}
@keyframes ds-spin { to { transform: rotate(360deg); } }

/* Blueprint grid backdrop, quietly pulsing, plus a full-screen power-on
   flash that fires once the corner traces reach the frame. */
.wl-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  animation: wlGridPulse 3.6s ease-in-out infinite;
}
@keyframes wlGridPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.9; } }
.wl-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.9), rgba(1,111,197,0.25) 40%, transparent 70%);
  opacity: 0;
  animation: wlFlash 2.6s ease 1.05s 1;
}
@keyframes wlFlash {
  0%, 100% { opacity: 0; }
  4% { opacity: 1; }
  14% { opacity: 0; }
}

/* Corner circuit traces: a chamfered line runs in from each screen corner
   toward the frame, its node lighting up on arrival like current landing. */
.wl-circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wl-trace {
  fill: none;
  stroke: var(--accent-secondary);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px rgba(1,111,197,0.75));
  animation: wlTraceDraw 1s cubic-bezier(.45,0,.2,1) forwards;
}
.wl-trace-1 { animation-delay: .15s; }
.wl-trace-2 { animation-delay: .3s; }
.wl-trace-3 { animation-delay: .3s; }
.wl-trace-4 { animation-delay: .45s; }
@keyframes wlTraceDraw { to { stroke-dashoffset: 0; } }
.wl-node {
  fill: var(--accent-secondary);
  opacity: 0;
  animation: wlNodeLight .5s ease forwards;
}
.wl-node-1 { animation-delay: 1.1s; }
.wl-node-2 { animation-delay: 1.25s; }
.wl-node-3 { animation-delay: 1.25s; }
.wl-node-4 { animation-delay: 1.4s; }
@keyframes wlNodeLight {
  0% { opacity: 0; r: 4.5; }
  60% { opacity: 1; r: 8; }
  100% { opacity: 0.9; r: 4.5; }
}

.wl-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  z-index: 1;
}

/* ── Frame: a chamfered connector-housing shape around the logo, corner
     brackets that snap into place, and an inner power-up glow ── */
.wl-frame {
  --wl-chamfer: 20px;
  position: relative;
  width: 172px;
  height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wlFrameIn .7s cubic-bezier(.16,1,.3,1) both;
}
@keyframes wlFrameIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}
.wl-frame-glow {
  position: absolute;
  inset: -30px;
  clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 18%);
  background: radial-gradient(circle, rgba(1,111,197,0.5), transparent 72%);
  opacity: 0;
  animation: wlGlowPulse .6s ease 1.05s forwards, wlGlowBreathe 3s ease-in-out 1.65s infinite;
}
@keyframes wlGlowPulse { to { opacity: 1; } }
@keyframes wlGlowBreathe { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.wl-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent-secondary);
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(1,111,197,0.7));
  animation: wlCornerIn .4s ease forwards;
}
.wl-corner-tl { top: -10px; left: -10px; border-width: 2px 0 0 2px; animation-delay: 1.1s; }
.wl-corner-tr { top: -10px; right: -10px; border-width: 2px 2px 0 0; animation-delay: 1.25s; }
.wl-corner-bl { bottom: -10px; left: -10px; border-width: 0 0 2px 2px; animation-delay: 1.25s; }
.wl-corner-br { bottom: -10px; right: -10px; border-width: 0 2px 2px 0; animation-delay: 1.4s; }
@keyframes wlCornerIn {
  from { opacity: 0; transform: scale(1.4); }
  to   { opacity: 1; transform: scale(1); }
}
.wl-frame-inner {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 18%);
  background: #FFFFFF;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(1,15,43,0.45);
  z-index: 1;
}
.wl-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10%;
  box-sizing: border-box;
  opacity: 0;
  animation: wlLogoIn .6s cubic-bezier(.16,1,.3,1) 1.15s forwards;
}
@keyframes wlLogoIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
.wl-shine {
  position: absolute;
  top: -20%; left: -60%;
  width: 40%; height: 140%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.85), transparent);
  animation: wlShineSweep .9s ease 1.5s both, wlShineRepeat 3.6s ease 3.4s infinite;
}
@keyframes wlShineSweep {
  from { left: -60%; }
  to   { left: 140%; }
}
@keyframes wlShineRepeat {
  0% { left: -60%; }
  18% { left: 140%; }
  100% { left: 140%; }
}

/* LED-style power meter — segments light up left to right like a
   voltmeter charging, instead of a plain progress line. */
.wl-meter {
  display: flex;
  gap: 5px;
}
.wl-seg {
  width: 12px;
  height: 7px;
  background: rgba(255,255,255,0.14);
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
  animation: wlSegLight .35s ease forwards;
  animation-delay: calc(1.5s + (var(--i, 0) * 70ms));
}
.wl-seg:nth-child(1) { --i: 0; } .wl-seg:nth-child(2) { --i: 1; } .wl-seg:nth-child(3) { --i: 2; }
.wl-seg:nth-child(4) { --i: 3; } .wl-seg:nth-child(5) { --i: 4; } .wl-seg:nth-child(6) { --i: 5; }
.wl-seg:nth-child(7) { --i: 6; } .wl-seg:nth-child(8) { --i: 7; } .wl-seg:nth-child(9) { --i: 8; }
.wl-seg:nth-child(10) { --i: 9; } .wl-seg:nth-child(11) { --i: 10; } .wl-seg:nth-child(12) { --i: 11; }
@keyframes wlSegLight {
  to { background: var(--accent-secondary); box-shadow: 0 0 8px 1px rgba(1,111,197,0.75); }
}
.wl-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.1em;
  color: rgba(255, 255, 255, 0.65);
  opacity: 0;
  animation: wlTaglineExpand .8s cubic-bezier(.16,1,.3,1) 2.3s forwards;
  text-transform: uppercase;
}
.wl-tagline .wl-dot { color: var(--accent-secondary); padding: 0 2px; }
@keyframes wlTaglineExpand {
  0%   { opacity: 0; letter-spacing: -0.1em; }
  100% { opacity: 1; letter-spacing: .3em; }
}
[dir="rtl"] .wl-frame-glow,
[dir="rtl"] .wl-frame-inner {
  clip-path: polygon(82% 0, 100% 18%, 100% 100%, 0 100%, 0 0);
}
[dir="rtl"] .wl-corner-tl { border-width: 2px 2px 0 0; left: auto; right: -10px; }
[dir="rtl"] .wl-corner-tr { border-width: 2px 0 0 2px; right: auto; left: -10px; }
@media (prefers-reduced-motion: reduce) {
  .wl-grid, .wl-flash, .wl-trace, .wl-node, .wl-frame-glow, .wl-shine, .wl-seg { animation: none; opacity: 1; }
  .wl-trace { stroke-dashoffset: 0; }
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea { font-family: inherit; }

/* ─── UTILITY ───────────────────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: var(--space-3xl) 0; }
.categories-section { padding-top: 48px; padding-bottom: 56px; }

/* ─── AMBIENT BACKGROUND (from Categories section onward) ──── */
.ambient-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ambient-layer {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.ambient-aura {
  position: absolute;
  top: 50%; left: 50%;
  width: 200vw;
  height: 200vw;
  margin: -100vw 0 0 -100vw;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(2,40,102,0.045) 60deg,
    transparent 130deg,
    rgba(1,111,197,0.05) 220deg,
    transparent 300deg,
    transparent 360deg);
  animation: ambientRotate 90s linear infinite;
  opacity: 0.9;
}
html[data-theme="dark"] .ambient-aura { opacity: 0.5; }
@keyframes ambientRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.22;
  will-change: transform, opacity;
}
html[data-theme="dark"] .ambient-blob { opacity: 0.18; }
.ambient-blob-1 {
  top: 4%;
  left: -10%;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle at 30% 30%, var(--accent-secondary), transparent 70%);
  animation: ambientDrift1 22s ease-in-out infinite, ambientPulse 9s ease-in-out infinite;
}
.ambient-blob-2 {
  top: 34%;
  right: -12%;
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle at 60% 40%, var(--accent), transparent 70%);
  animation: ambientDrift2 27s ease-in-out infinite, ambientPulse 11s ease-in-out infinite 1s;
}
.ambient-blob-3 {
  bottom: -8%;
  left: 18%;
  width: 36vw;
  height: 36vw;
  background: radial-gradient(circle at 50% 50%, var(--accent-deepest), transparent 70%);
  animation: ambientDrift3 19s ease-in-out infinite, ambientPulse 8s ease-in-out infinite 2s;
}
.ambient-blob-4 {
  top: 62%;
  left: 46%;
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle at 45% 55%, var(--accent-deep), transparent 70%);
  animation: ambientDrift4 24s ease-in-out infinite, ambientPulse 10s ease-in-out infinite 0.5s;
}
@keyframes ambientDrift1 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(5vw, 6vh) rotate(8deg) scale(1.1); }
  66%  { transform: translate(-3vw, 4vh) rotate(-6deg) scale(0.94); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}
@keyframes ambientDrift2 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  40%  { transform: translate(-6vw, -5vh) rotate(-10deg) scale(1.12); }
  75%  { transform: translate(-2vw, 3vh) rotate(5deg) scale(0.96); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}
@keyframes ambientDrift3 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(4vw, -7vh) rotate(9deg) scale(1.08); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}
@keyframes ambientDrift4 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  30%  { transform: translate(-4vw, 5vh) rotate(-7deg) scale(1.06); }
  70%  { transform: translate(5vw, 2vh) rotate(10deg) scale(0.92); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}
@keyframes ambientPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.ambient-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 14px 3px var(--accent-secondary);
  opacity: 0;
  animation: ambientTwinkle 5s ease-in-out infinite;
}
.ambient-sparkle-1 { top: 14%; left: 62%; width: 5px; height: 5px; animation-delay: 0s; animation-duration: 5.5s; }
.ambient-sparkle-2 { top: 48%; left: 10%; width: 8px; height: 8px; animation-delay: 1.2s; animation-duration: 6.5s; }
.ambient-sparkle-3 { top: 68%; left: 80%; width: 5px; height: 5px; animation-delay: 2.4s; animation-duration: 4.8s; }
.ambient-sparkle-4 { top: 30%; left: 38%; width: 7px; height: 7px; animation-delay: 3.4s; animation-duration: 6s; }
.ambient-sparkle-5 { top: 84%; left: 46%; width: 6px; height: 6px; animation-delay: 0.6s; animation-duration: 5.2s; }
@keyframes ambientTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.4) translateY(0); }
  50% { opacity: 1; transform: scale(1.15) translateY(-10px); }
}
@media (max-width: 768px) {
  .ambient-blob-1, .ambient-blob-2, .ambient-blob-3, .ambient-blob-4 { width: 72vw; height: 72vw; }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-blob, .ambient-sparkle, .ambient-aura { animation: none; }
  .ambient-layer { transition: none; }
}

/* ─── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.22s; }
.reveal-d3 { transition-delay: 0.34s; }
.reveal-d4 { transition-delay: 0.46s; }
.reveal-d5 { transition-delay: 0.58s; }
.animate-up { animation: fadeUp 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ─── HEADER ────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.35s ease;
  color: var(--text-primary);
}
#site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.top-nav { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }

.logo { display: flex; align-items: center; text-decoration: none; line-height: 1; flex-shrink: 0; }
.logo-img { height: 52px; width: auto; display: block; }
.logo-img-light { display: none; }
.logo-img-dark { display: block; }

.nav-pages { display: flex; align-items: center; gap: 32px; flex-shrink: 0; }

.search-wrap { flex: 1 1 auto; min-width: 0; max-width: 420px; margin: 0 auto; position: relative; display: flex; align-items: center; }
.search-icon-lead { position: absolute; left: 18px; color: var(--text-subtle); pointer-events: none; transition: color 0.3s ease; }
.search-wrap input {
  width: 100%;
  height: 44px;
  padding: 0 18px 0 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-primary);
  background: var(--surface);
  transition: all var(--transition);
  outline: none;
}
.search-wrap input::placeholder { color: var(--text-subtle); }
.search-wrap input:focus { border-color: var(--accent-secondary); box-shadow: 0 0 0 2px rgba(1,111,197,0.2); }
[dir="rtl"] .search-icon-lead { left: auto; right: 18px; }
[dir="rtl"] .search-wrap input { padding: 0 44px 0 18px; }
.search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 2000;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
}
.search-dropdown.open { display: block; }
.search-mobile-close { display: none; }
.search-toggle-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition);
  flex-shrink: 0;
}
.search-toggle-btn:hover { background: var(--surface); }
.search-drop-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; border-radius: var(--radius-sm); transition: background var(--transition); }
.search-drop-item:hover { background: var(--surface); }
.search-drop-thumb { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.search-drop-thumb img { width:100%; height:100%; object-fit:cover; }
.search-drop-info { flex:1; min-width:0; }
.search-drop-brand { font-size:10px; color:var(--text-subtle); font-weight:600; letter-spacing:1px; text-transform:uppercase; margin-bottom: 2px; }
.search-drop-name { font-family: var(--font-body); font-size:14px; font-weight:500; color:var(--text-primary); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.search-drop-price { font-size:13px; font-weight: 600; color:var(--accent); flex-shrink:0; font-family: var(--font-mono); }
.search-drop-empty { padding:16px; font-size:13px; color:var(--text-subtle); text-align:center; }

.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background-color: var(--accent-secondary);
  transition: width var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-btn { padding: 5px 9px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 600; color: var(--text-subtle); transition: all var(--transition); letter-spacing: 0.5px; }
.lang-btn:hover { color: var(--text-primary); background: var(--surface); }
.lang-btn.active { color: #fff; font-weight: 700; background: var(--accent); }

.cart-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  color: var(--text-primary);
  background: var(--bg);
}
.cart-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 17px; height: 17px;
  background: var(--danger);
  color: #fff;
  border: 2px solid var(--bg);
  font-size: 9px; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.cart-btn:hover .cart-badge { border-color: var(--accent); }

/* ─── HAMBURGER ─────────────────────────────────────────────── */
.hamburger {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all var(--transition);
}
.hamburger:hover { background: var(--accent); border-color: var(--accent); }
.hamburger:hover span { background: #fff; }
.hamburger span { display: block; width: 18px; height: 1.5px; background: var(--text-primary); border-radius: 1px; transition: transform 0.38s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.28s ease, background 0.3s ease; }
.hamburger.open { background: var(--accent); border-color: var(--accent); }
.hamburger.open span { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─── MOBILE OVERLAY + MENU — full-screen overlay ────────────── */
.mobile-overlay { display: none; position: fixed; inset: 0; width: 100%; max-width: 100vw; background: rgba(11,18,32,0.5); backdrop-filter: blur(8px); z-index: 1099; }
.mobile-overlay.open { display: block; animation: mmOverlayIn 0.35s ease forwards; }
@keyframes mmOverlayIn { from { opacity: 0; } to { opacity: 1; } }

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  background: var(--bg);
  z-index: 1100;
  transform: translateY(-100%);
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}
[dir="rtl"] .mobile-menu { transform: translateY(-100%); }
.mobile-menu.open { transform: translateY(0); }

.mm-hd { display: flex; align-items: center; justify-content: space-between; padding: 28px 24px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.mm-brand { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; font-weight: 700; letter-spacing: 1px; color: var(--text-primary); }
.mm-close { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-muted); font-size: 13px; background: none; cursor: pointer; transition: all 0.22s ease; }
.mm-close:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: rotate(90deg); }

.mm-body { flex: 1; overflow-y: auto; padding: 16px 20px 24px; }
.mm-section { margin-bottom: 8px; }
.mm-section + .mm-section { margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--border); }
.mm-section-label { font-size: 10.5px; font-weight: 700; color: var(--text-subtle); text-transform: uppercase; letter-spacing: 2px; padding: 0 16px; margin-bottom: 10px; }

.mobile-menu .m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; margin-bottom: 4px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  color: var(--text-primary);
  transition: color 0.25s ease, background 0.25s ease;
}
.mobile-menu .m-link:hover, .mobile-menu .m-link.active { color: var(--accent); background: var(--surface); }

.m-cat-item { margin-bottom: 4px; }
.m-cat-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 20px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--text-primary); cursor: pointer; transition: color 0.25s ease, background 0.25s ease; }
.m-cat-toggle svg { width: 13px; height: 13px; transition: transform 0.3s ease; flex-shrink: 0; opacity: 0.4; }
.m-cat-item.open .m-cat-toggle svg { transform: rotate(180deg); opacity: 1; }
.m-cat-item.open .m-cat-toggle, .m-cat-toggle:hover { color: var(--accent); background: var(--surface); }

.m-sub { display: none; padding: 6px 6px 12px 34px; }
[dir="rtl"] .m-sub { padding: 6px 34px 12px 6px; }
.m-cat-item.open .m-sub { display: block; }
.m-sub-link { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; color: var(--text-muted); transition: color 0.2s ease, background 0.2s ease; }
.m-sub-link::before { content: ""; width: 5px; height: 5px; background: var(--border); flex-shrink: 0; transition: background 0.2s ease; }
.m-sub-link:hover { color: var(--accent); background: var(--surface); }
.m-sub-link:hover::before { background: var(--accent-secondary); }
.m-sub-link.m-sub-all { font-weight: 600; color: var(--text-primary); }

.m-subsub-cat-item { margin-bottom: 2px; }
.m-subsub-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.m-subsub-toggle svg { width: 11px; height: 11px; transition: transform 0.3s ease; flex-shrink: 0; opacity: 0.4; }
.m-subsub-cat-item.open .m-subsub-toggle svg { transform: rotate(180deg); opacity: 1; }
.m-subsub { display: none; padding: 4px 6px 8px 20px; }
[dir="rtl"] .m-subsub { padding: 4px 20px 8px 6px; }
.m-subsub-cat-item.open .m-subsub { display: block; }
.m-subsub-link { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; color: var(--text-muted); transition: color 0.2s ease, background 0.2s ease; }
.m-subsub-link::before { content: ""; width: 4px; height: 4px; background: var(--border); flex-shrink: 0; transition: background 0.2s ease; }
.m-subsub-link:hover { color: var(--accent); background: var(--surface); }
.m-subsub-link:hover::before { background: var(--accent-secondary); }
.m-subsub-link.m-subsub-all { font-weight: 600; color: var(--text-primary); }

.mobile-lang { display: flex; gap: 6px; padding: 18px 20px 24px; border-top: 1px solid var(--border); flex-shrink: 0; background: var(--surface); }
.mobile-lang .lang-btn { flex: 1; height: 42px; border: none; border-radius: var(--radius-sm); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--text-subtle); background: transparent; cursor: pointer; transition: all 0.22s ease; }
.mobile-lang .lang-btn.active { color: #fff; background: var(--accent); }
.mobile-lang .lang-btn:hover:not(.active) { color: var(--text-primary); background: var(--surface-alt); }

@keyframes mmItemIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu.open .mm-section { animation: mmItemIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.mobile-menu.open .mm-section:nth-child(1) { animation-delay: 0.08s; }
.mobile-menu.open .mm-section:nth-child(2) { animation-delay: 0.16s; }

/* ─── MARQUEE BANNER ────────────────────────────────────────── */
.marquee-bar { background: var(--accent); color: #fff; overflow: hidden; height: 34px; display: flex; align-items: center; letter-spacing: 1.5px; }
.marquee-track { display: flex; align-items: center; justify-content: center; white-space: nowrap; width: 100%; }
.marquee-item { font-size: 10.5px; font-weight: 500; text-transform: uppercase; }

/* ─── HERO — full-bleed video, blueprint-grid overlay ─────────── */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--accent-deep);
  color: var(--hero-fg);
  text-align: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(1,111,197,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1,111,197,0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(1,15,43,0.55) 0%, rgba(1,15,43,0.3) 45%, rgba(1,15,43,0.68) 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 24px 56px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 20px;
  opacity: 0.95;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7.4vw, 84px);
  line-height: 1.02;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--hero-fg);
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(1,15,43,0.5);
}
.hero-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent-secondary);
}
.hero-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.86);
  max-width: min(520px, 100%);
  margin: 0 auto 36px;
}
.hero-ctas { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
[dir="rtl"] .btn-primary, [dir="rtl"] .btn-outline {
  clip-path: polygon(calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%, 0 0);
}
.btn-primary { background: var(--accent-secondary); color: #fff; border: 1px solid var(--accent-secondary); }
.btn-primary:hover { background: var(--accent-secondary-hover); transform: translateY(-2px); }
.btn-primary svg { transition: transform 0.25s ease; }
.btn-primary:hover svg { transform: translateX(3px); }
[dir="rtl"] .btn-primary:hover svg { transform: translateX(-3px) rotate(180deg); }
.btn-outline { background: transparent; color: var(--hero-fg); border: 1px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--hero-fg); transform: translateY(-2px); }

.hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 52px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.25); }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-display); font-size: 32px; color: var(--hero-fg); font-weight: 700; }
.stat-label { font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ─── CATEGORIES — centered coverflow carousel, chamfered tiles ── */
.category-carousel { position: relative; display: flex; align-items: center; }
.cat-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition);
}
.cat-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cat-arrow-prev { left: 4px; }
.cat-arrow-next { right: 4px; }
[dir="rtl"] .cat-arrow-prev { left: auto; right: 4px; transform: translateY(-50%) scaleX(-1); }
[dir="rtl"] .cat-arrow-next { right: auto; left: 4px; transform: translateY(-50%) scaleX(-1); }

.category-cluster {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  overflow-x: auto;
  padding: 28px 0 36px;
  padding-inline: calc(50% - 88px);
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 50%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-cluster::-webkit-scrollbar { display: none; }
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  width: 176px;
  scroll-snap-align: center;
  color: var(--text-primary);
  transform: scale(0.8);
  opacity: 0.55;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
}
.category-card.active { transform: scale(1.08); opacity: 1; }
.category-card-media {
  position: relative;
  width: 176px; height: 176px;
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
[dir="rtl"] .category-card-media {
  clip-path: polygon(calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%, 0 0);
}
.category-card.active .category-card-media { box-shadow: var(--shadow-accent); border-color: var(--accent-secondary); }
.category-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.category-card:hover .category-card-media img { transform: scale(1.08); }
.category-card-fallback { width: 100%; height: 100%; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%); }
.category-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(1,15,43,0.4) 100%); opacity: 0; transition: opacity 0.3s ease; }
.category-card:hover .category-card-overlay { opacity: 1; }
.category-card-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; text-transform: uppercase; text-align: center; letter-spacing: 0.5px; opacity: 0; transition: opacity 0.3s ease; }
.category-card.active .category-card-name { opacity: 1; }

/* Subcategory pills — reflect the active/centered category, update on swipe.
   Small status-tag scale, so radius-pill is acceptable here per shape rule. */
.subcat-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  min-height: 40px;
}
.subcat-pill {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all var(--transition);
  animation: subcatPillIn 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.subcat-pill:hover { color: #fff; border-color: var(--accent-secondary); background: var(--accent-secondary); }
@keyframes subcatPillIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── VALUE PROPS — technical trust cards ────────────────────── */
.values-section { padding-top: 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
[dir="rtl"] .value-card {
  clip-path: polygon(calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%, 0 0);
}
.value-card:hover { background: var(--bg); border-color: var(--accent-secondary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-icon {
  width: 54px; height: 54px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  color: var(--accent);
  background: var(--bg);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--chamfer-sm) 100%, 0 calc(100% - var(--chamfer-sm)));
}
.value-card:hover .value-icon { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.06); }
.value-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; color: var(--text-primary); margin-bottom: 10px; }
.value-sub { font-size: 12.5px; line-height: 1.6; color: var(--text-muted); }

/* ─── SECTION HEADERS ─────────────────────────────────────── */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.section-header-center { justify-content: center; text-align: center; }
.section-label { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--accent-secondary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.section-title { font-family: var(--font-display); font-size: 34px; font-weight: 700; text-transform: uppercase; color: var(--text-primary); letter-spacing: 0.5px; }
.view-all-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px;
  border: 1px solid var(--border);
  clip-path: polygon(var(--chamfer-sm) 0, 100% 0, 100% 100%, calc(100% - var(--chamfer-sm)) 100%, 0 100%, 0 var(--chamfer-sm));
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-primary);
  background: var(--surface);
  transition: all var(--transition);
  white-space: nowrap;
}
[dir="rtl"] .view-all-link {
  clip-path: polygon(calc(100% - var(--chamfer-sm)) 0, 100% var(--chamfer-sm), 100% 100%, 0 100%, 0 0);
}
.view-all-link:hover { color: #fff; border-color: var(--accent-secondary); background: var(--accent-secondary); }
.view-all-link svg { transition: transform var(--transition); }
.view-all-link:hover svg { transform: translateX(4px); }
[dir="rtl"] .view-all-link:hover svg { transform: translateX(-4px); }

/* ─── PRODUCT FEED — uniform technical grid ──────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
[dir="rtl"] .product-card {
  clip-path: polygon(calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%, 0 0);
}
.product-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent-secondary); transform: translateY(-3px); }
.product-img { position: relative; aspect-ratio: 1; background: var(--surface); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img .img-hover { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.product-card:hover .product-img:has(.img-hover) .img-primary { opacity: 0; }
.product-card:hover .product-img .img-hover { opacity: 1; }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 600; letter-spacing: 1px;
  padding: 5px 11px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
}
[dir="rtl"] .product-badge { left: auto; right: 14px; }
.badge-oos { background: var(--text-subtle); }
.badge-hot { background: var(--danger); }
.badge-new { background: var(--accent-secondary); }
.badge-promo { background: var(--danger); }

.product-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-name {
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 10px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: calc(1.35em * 2);
}
.product-pricing { display: flex; align-items: baseline; gap: 8px; margin-top: auto; margin-bottom: 18px; font-family: var(--font-mono); }
.price { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.price-old { font-size: 12px; color: var(--text-subtle); text-decoration: line-through; }
.price-save { font-size: 10px; font-weight: 600; color: var(--danger); }

.product-actions { display: flex; gap: 8px; }
.btn-cart, .btn-buy {
  flex: 1; height: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  clip-path: polygon(var(--chamfer-sm) 0, 100% 0, 100% 100%, calc(100% - var(--chamfer-sm)) 100%, 0 100%, 0 var(--chamfer-sm));
  transition: all var(--transition);
}
[dir="rtl"] .btn-cart, [dir="rtl"] .btn-buy {
  clip-path: polygon(calc(100% - var(--chamfer-sm)) 0, 100% var(--chamfer-sm), 100% 100%, 0 100%, 0 0);
}
.btn-cart { border: 1px solid var(--text-primary); color: var(--text-primary); background: transparent; }
.btn-cart:hover { background: var(--text-primary); color: var(--bg); }
.btn-buy { border: 1px solid var(--accent); background: var(--accent); color: #fff; }
.btn-buy:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-cart-icon {
  flex: 0 0 44px; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--text-primary);
  background: transparent;
  color: var(--text-primary);
  transition: all var(--transition);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--chamfer-sm) 100%, 0 calc(100% - var(--chamfer-sm)));
}
.btn-cart-icon:hover { background: var(--text-primary); color: var(--bg); }

.view-all-block { display: flex; justify-content: center; margin-top: 48px; }
.btn-view-all {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 42px;
  border: 1px solid var(--accent);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(2, 40, 102, 0.3);
  transition: all var(--transition);
}
[dir="rtl"] .btn-view-all {
  clip-path: polygon(calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%, 0 0);
}
.btn-view-all:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 10px 28px rgba(1, 23, 61, 0.4);
  transform: translateY(-2px);
}
.btn-view-all svg { transition: transform var(--transition); }
.btn-view-all:hover svg { transform: translateX(4px); }
[dir="rtl"] .btn-view-all:hover svg { transform: translateX(-4px); }

/* ─── ORDER STEPS — four connected technical nodes ───────────── */
.steps-section { background: var(--surface); position: relative; overflow: hidden; }

.steps-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.steps-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
}
.steps-blob-1 {
  top: -10%; left: -6%; width: 34vw; height: 34vw;
  background: radial-gradient(circle, rgba(1,111,197,0.4), transparent 70%);
  animation: stepsBlobDrift1 13s ease-in-out infinite;
}
.steps-blob-2 {
  bottom: -14%; right: -8%; width: 38vw; height: 38vw;
  background: radial-gradient(circle, rgba(2,40,102,0.3), transparent 70%);
  animation: stepsBlobDrift2 16s ease-in-out infinite;
}
@keyframes stepsBlobDrift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(3vw,2vh) scale(1.12); } }
@keyframes stepsBlobDrift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-2vw,-3vh) scale(1.08); } }
.steps-sparkle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 10px 2px rgba(1,111,197,0.5);
  opacity: 0;
  animation: stepsSparkle 4.5s ease-in-out infinite;
}
.steps-sparkle-1 { top: 18%; left: 10%; animation-delay: 0s; }
.steps-sparkle-2 { top: 70%; right: 12%; animation-delay: 1.4s; }
.steps-sparkle-3 { top: 40%; left: 50%; animation-delay: 2.6s; }
@keyframes stepsSparkle { 0%, 100% { opacity: 0; transform: scale(0.6); } 50% { opacity: 1; transform: scale(1.2); } }

.steps-section .container { position: relative; z-index: 1; }

.steps-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 28px;
}
.steps-connector {
  position: absolute;
  top: 34px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  color: var(--accent-secondary);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}
.steps-connector path { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 4 6; stroke-linecap: butt; }
[dir="rtl"] .steps-connector { transform: scaleX(-1); }

.step-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.step-circle {
  position: relative;
  width: 64px; height: 64px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  box-shadow: 0 10px 26px rgba(2,40,102,0.08);
  transition: all 0.35s ease;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  transform: rotate(45deg);
}
.step-circle > * { transform: rotate(-45deg); }
.step-item:hover .step-circle {
  border-color: var(--accent-secondary);
  box-shadow: 0 14px 32px rgba(1,111,197,0.25);
  transform: rotate(45deg) translateY(-4px);
}
.step-num {
  position: absolute;
  top: -8px; right: -8px;
  width: 24px; height: 24px;
  background: var(--accent-secondary);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(1,111,197,0.4);
  transform: rotate(-45deg);
}
[dir="rtl"] .step-num { right: auto; left: -8px; }
.step-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--text-primary); }
.step-text { font-size: 13px; line-height: 1.65; color: var(--text-muted); max-width: 240px; }

@media (max-width: 900px) {
  .steps-track { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps-connector { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .steps-blob, .steps-sparkle { animation: none; }
}

/* ─── KIT / BUNDLE FEATURE — technical panel ──────────────────── */
#featuredBannerSection { padding-top: var(--space-3xl); position: relative; overflow: hidden; }

.ritual-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ritual-blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: 0.22; }
.ritual-blob-1 {
  top: -8%; right: -8%; width: 30vw; height: 30vw;
  background: radial-gradient(circle, rgba(1,111,197,0.4), transparent 70%);
  animation: ritualBlobDrift1 15s ease-in-out infinite;
}
.ritual-blob-2 {
  bottom: -14%; left: -6%; width: 26vw; height: 26vw;
  background: radial-gradient(circle, rgba(2,40,102,0.3), transparent 70%);
  animation: ritualBlobDrift2 12s ease-in-out infinite;
}
@keyframes ritualBlobDrift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-2vw,2vh) scale(1.1); } }
@keyframes ritualBlobDrift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(2vw,-2vh) scale(1.08); } }
.ritual-sparkle {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 10px 2px rgba(1,111,197,0.5);
  opacity: 0;
  animation: ritualSparkle 4.2s ease-in-out infinite;
}
.ritual-sparkle-1 { top: 10%; left: 46%; animation-delay: 0s; }
.ritual-sparkle-2 { top: 70%; left: 6%; animation-delay: 1.4s; }
.ritual-sparkle-3 { top: 30%; right: 8%; animation-delay: 2.6s; }
@keyframes ritualSparkle { 0%, 100% { opacity: 0; transform: scale(0.6); } 50% { opacity: 1; transform: scale(1.2); } }

.ritual-card {
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-2xl);
  box-shadow: 0 24px 60px rgba(2,40,102,0.12);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% 100%, 0 100%, 0 0);
}
.ritual-card:hover { box-shadow: 0 30px 76px rgba(2,40,102,0.18); transform: translateY(-3px); }
.ritual-media { position: relative; background: var(--accent-deep); overflow: hidden; }
.ritual-media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--surface) 0%, rgba(1,15,43,0.1) 55%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
[dir="rtl"] .ritual-media-overlay { background: linear-gradient(to left, var(--surface) 0%, rgba(1,15,43,0.1) 55%, transparent 100%); }
.ritual-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 8s ease-out; }
.ritual-card:hover .ritual-media img { transform: scale(1.04); }
.ritual-ring {
  position: absolute;
  top: 24px; left: 24px;
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.4);
  z-index: 2;
  animation: ritualRingSpin 22s linear infinite;
  pointer-events: none;
}
[dir="rtl"] .ritual-ring { left: auto; right: 24px; }
@keyframes ritualRingSpin { to { transform: rotate(360deg); } }
.ritual-chip {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 2;
  padding: 8px 18px;
  background: var(--danger);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  clip-path: polygon(var(--chamfer-sm) 0, 100% 0, 100% 100%, calc(100% - var(--chamfer-sm)) 100%, 0 100%, 0 var(--chamfer-sm));
}
[dir="rtl"] .ritual-chip { left: auto; right: 24px; }
.ritual-content { padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.ritual-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600; color: var(--accent-secondary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px;
}
.ritual-eyebrow-dot {
  position: relative;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-secondary); flex-shrink: 0;
}
.ritual-eyebrow-dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent-secondary);
  opacity: 0; animation: ritualDotPulse 2.4s ease-out infinite;
}
@keyframes ritualDotPulse { 0% { opacity: 0.6; transform: scale(0.7); } 100% { opacity: 0; transform: scale(1.6); } }
.ritual-title { font-family: var(--font-display); font-size: 38px; font-weight: 700; text-transform: uppercase; color: var(--text-primary); margin-bottom: 18px; line-height: 1.1; }
.ritual-title em { font-style: normal; font-weight: 700; color: var(--accent-secondary); }
.ritual-desc { font-size: 14px; line-height: 1.7; color: var(--text-muted); margin-bottom: 30px; max-width: 420px; }
.ritual-btn {
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 26px rgba(2,40,102,0.3);
}
.ritual-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 12px 30px rgba(1,23,61,0.38); }
.ritual-btn::after {
  content: "";
  position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.ritual-btn:hover::after { left: 140%; }

@media (prefers-reduced-motion: reduce) {
  .ritual-blob, .ritual-sparkle, .ritual-ring, .ritual-eyebrow-dot::after { animation: none; }
}

/* ─── FAQ — technical accordion ───────────────────────────────── */
.faq-section { background: var(--bg); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color var(--transition);
  clip-path: polygon(var(--chamfer-sm) 0, 100% 0, 100% 100%, calc(100% - var(--chamfer-sm)) 100%, 0 100%, 0 var(--chamfer-sm));
}
[dir="rtl"] .faq-item {
  clip-path: polygon(calc(100% - var(--chamfer-sm)) 0, 100% var(--chamfer-sm), 100% 100%, 0 100%, 0 0);
}
.faq-item.open { border-color: var(--accent-secondary); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: start;
  background: none;
  cursor: pointer;
}
.faq-chevron { flex-shrink: 0; color: var(--accent-secondary); transition: transform 0.3s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer p {
  overflow: hidden;
  padding: 0 24px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
}
.faq-item.open .faq-answer p { padding: 0 24px 20px; }

/* ─── SCROLL PROGRESS & TOP ───────────────────────────────────── */
#scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--accent-secondary); width: 0%; z-index: 9999; transition: width 0.1s ease-out; }
#scrollTop {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--transition);
  z-index: 900;
  box-shadow: var(--shadow-sm);
  clip-path: polygon(var(--chamfer-sm) 0, 100% 0, 100% 100%, calc(100% - var(--chamfer-sm)) 100%, 0 100%, 0 var(--chamfer-sm));
}
#scrollTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollTop:hover { border-color: var(--accent-secondary); color: var(--accent-secondary); }

.wa-btn {
  position: fixed; bottom: 24px; left: 24px;
  width: 48px; height: 48px;
  background: linear-gradient(145deg, var(--accent-secondary) 0%, var(--accent) 100%);
  border: 1px solid var(--accent-secondary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(1, 111, 197, 0.4);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
.wa-btn svg { width: 21px; height: 21px; fill: #fff; }
.wa-btn::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--accent-secondary);
  opacity: 0;
  animation: waRingPulse 2.6s ease-out infinite;
  pointer-events: none;
  clip-path: inherit;
}
@keyframes waRingPulse {
  0% { opacity: 0.55; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.3); }
}
.wa-btn:hover { transform: scale(1.07); box-shadow: 0 12px 30px rgba(1, 23, 61, 0.48); }
@media (prefers-reduced-motion: reduce) { .wa-btn::after { animation: none; } }

/* ─── ADD TO CART MODAL ──────────────────────────────────────── */
.atc-overlay {
  position: fixed; inset: 0;
  width: 100%;
  max-width: 100vw;
  background: rgba(1, 15, 43, 0.45);
  backdrop-filter: blur(4px);
  z-index: 9990;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.atc-overlay.open { opacity: 1; visibility: visible; }
.atc-modal {
  background: var(--bg);
  border: 1px solid var(--border);
  width: 100%; max-width: 440px;
  padding: 36px;
  position: relative;
  transform: translateY(12px);
  transition: transform var(--transition);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% 100%, 0 100%, 0 0);
}
.atc-overlay.open .atc-modal { transform: translateY(0); }
.atc-close {
  position: absolute; top: 18px; right: 18px;
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-subtle);
  background: var(--surface);
  transition: all var(--transition);
}
.atc-close:hover { color: var(--text-primary); background: var(--surface-alt); }
[dir="rtl"] .atc-close { right: auto; left: 18px; }
.atc-modal-img {
  width: 104px; height: 104px;
  background: var(--surface);
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
  clip-path: polygon(var(--chamfer-sm) 0, 100% 0, 100% 100%, calc(100% - var(--chamfer-sm)) 100%, 0 100%, 0 var(--chamfer-sm));
}
.atc-modal-img img { width: 100%; height: 100%; object-fit: cover; }
.atc-modal-name { font-family: var(--font-body); font-size: 18px; font-weight: 700; text-align: center; color: var(--text-primary); margin-bottom: 8px; }
.atc-modal-price { font-family: var(--font-mono); font-size: 16px; font-weight: 600; text-align: center; color: var(--accent); margin-bottom: 26px; }
.atc-section { margin-bottom: 20px; }
.atc-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-subtle); margin-bottom: 10px; }
.atc-options { display: flex; gap: 8px; flex-wrap: wrap; }
.atc-option { padding: 8px 16px; border: 1px solid var(--border); font-size: 11px; color: var(--text-primary); transition: all var(--transition); clip-path: polygon(var(--chamfer-sm) 0, 100% 0, 100% 100%, calc(100% - var(--chamfer-sm)) 100%, 0 100%, 0 var(--chamfer-sm)); }
.atc-option:hover { border-color: var(--accent-secondary); }
.atc-option.active { border-color: var(--accent-secondary); background: var(--accent-secondary); color: #fff; }
.atc-qty-row { display: inline-flex; align-items: center; border: 1px solid var(--border); overflow: hidden; clip-path: polygon(var(--chamfer-sm) 0, 100% 0, 100% 100%, calc(100% - var(--chamfer-sm)) 100%, 0 100%, 0 var(--chamfer-sm)); }
.atc-qty-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: background var(--transition); }
.atc-qty-btn:hover { background: var(--surface); }
.atc-qty-val { width: 32px; text-align: center; font-size: 13px; font-weight: 500; font-family: var(--font-mono); }
.atc-confirm-btn {
  width: 100%; height: 50px;
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  margin-top: 8px;
  transition: all var(--transition);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
.atc-confirm-btn:hover { background: var(--accent-hover); }

/* ── Wholesale / bulk-order notice (ATC modal + cart drawer) ─── */
#atcBulkNotice, .drawer-bulk-notice {
  display: none;
  margin-top: 8px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
#atcBulkNotice.show, .drawer-bulk-notice.show { display: flex; }
#atcBulkNotice:hover, .drawer-bulk-notice:hover { border-color: var(--accent-secondary); }
.bulk-notice-content { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; width: 100%; }
.bulk-notice-icon {
  width: 30px; height: 30px; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--chamfer-sm) 100%, 0 calc(100% - var(--chamfer-sm)));
}
.bulk-notice-icon svg { width: 16px; height: 16px; }
.bulk-notice-tag { display: block; font-family: var(--font-mono); font-size: 9px; font-weight: 700; color: var(--accent-secondary); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 2px; }
.bulk-notice-msg { font-size: 11.5px; font-weight: 500; color: var(--text-primary); line-height: 1.45; margin: 0; }

/* ─── CART DRAWER ───────────────────────────────────────────── */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 380px;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  z-index: 9995;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% 100%, 0 100%, 0 0);
}
[dir="rtl"] .cart-drawer { right: auto; left: 0; transform: translateX(-100%); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, calc(100% - var(--chamfer)) 100%); }
.cart-drawer.open { transform: translateX(0); }
.cart-overlay { display: none; position: fixed; inset: 0; width: 100%; max-width: 100vw; background: rgba(1, 15, 43, 0.32); backdrop-filter: blur(4px); z-index: 9994; }
.cart-overlay.open { display: block; }
.cart-drawer-hd { padding: 22px 26px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-drawer-title { font-family: var(--font-display); text-transform: uppercase; font-size: 18px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.3px; }
.cart-drawer-count { font-size: 13px; font-weight: 500; color: var(--text-subtle); }
.cart-drawer-x { width: 32px; height: 32px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text-subtle); background: var(--surface); transition: all var(--transition); }
.cart-drawer-x:hover { color: var(--text-primary); background: var(--surface-alt); }

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 24px 26px; }
.cart-row { display: flex; gap: 16px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--surface-alt); position: relative; }
.cart-row-img { width: 68px; height: 68px; background: var(--surface); border: 1px solid var(--border); flex-shrink: 0; overflow: hidden; clip-path: polygon(var(--chamfer-sm) 0, 100% 0, 100% 100%, calc(100% - var(--chamfer-sm)) 100%, 0 100%, 0 var(--chamfer-sm)); }
.cart-row-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-info { flex: 1; min-width: 0; }
.cart-row-name { font-family: var(--font-body); font-weight: 600; font-size: 14.5px; color: var(--text-primary); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-row-meta { font-family: var(--font-mono); font-size: 10px; color: var(--text-subtle); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.4px; }
.cart-row-bot { display: flex; align-items: center; justify-content: space-between; }
.ciq { display: flex; align-items: center; border: 1px solid var(--border); overflow: hidden; }
.ciq-btn { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.ciq-val { width: 26px; text-align: center; font-size: 11px; }
.cart-row-price { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--text-primary); }
.cart-row-del { position: absolute; top: 0; right: 0; color: var(--text-subtle); transition: color var(--transition); }
[dir="rtl"] .cart-row-del { right: auto; left: 0; }
.cart-row-del:hover { color: var(--danger); }

.cart-drawer-ft { padding: 24px 26px; border-top: 1px solid var(--border); background: var(--surface); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cart-total-lbl { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-subtle); }
.cart-total-num { font-family: var(--font-mono); font-size: 17px; font-weight: 700; color: var(--text-primary); }
.cart-checkout {
  width: 100%; height: 50px;
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  transition: all var(--transition);
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
.cart-checkout:hover { background: var(--accent-hover); }

.cart-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--text-subtle); gap: 16px; }
.cart-empty-state p { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* ─── TOAST ─────────────────────────────────────────────────── */
#toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--bg);
  border: 1px solid var(--accent-secondary);
  padding: 14px 26px;
  box-shadow: var(--shadow-md);
  z-index: 10000;
  transform: translateY(48px);
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 10px;
  clip-path: polygon(var(--chamfer-sm) 0, 100% 0, 100% 100%, calc(100% - var(--chamfer-sm)) 100%, 0 100%, 0 var(--chamfer-sm));
}
#toast.show { transform: translateY(0); opacity: 1; visibility: visible; }
.toast-dot { width: 7px; height: 7px; background: var(--accent-secondary); }
#toastMsg { font-size: 12.5px; font-weight: 500; color: var(--text-primary); }

/* ─── RESPONSIVENESS ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero { min-height: 78vh; }
  .ritual-card { grid-template-columns: 1fr; min-height: auto; }
  .ritual-media { height: 320px; }
  .ritual-media-overlay { background: linear-gradient(to bottom, var(--surface) 0%, transparent 40%); }
  .ritual-content { padding: 40px 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .top-nav { gap: 10px; }
  .logo-img { height: 38px; }
  .nav-pages { display: none; }
  .hamburger { display: flex !important; }
  .nav-right { gap: 6px; }
  .nav-right .theme-btn { display: flex !important; }
  .nav-right .lang-switch { display: flex !important; gap: 2px; }
  .mobile-lang { display: none !important; }

  /* Search collapses to an icon button; tapping it opens a full-screen overlay */
  .search-toggle-btn { display: flex; }
  .search-wrap {
    display: none;
    max-width: none;
    margin: 0;
  }
  .search-wrap.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 3000;
    background: var(--bg);
    padding: 24px 20px 0;
    overflow-y: auto;
  }
  .search-wrap.open .search-icon-lead { display: none; }
  .search-wrap.open input {
    order: 2;
    margin-top: 20px;
    height: 52px;
    padding: 0 18px;
    border-color: var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 15px;
  }
  .search-wrap.open input::placeholder { color: var(--text-subtle); }
  .search-mobile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
    align-self: flex-end;
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    background: var(--surface);
    flex-shrink: 0;
  }
  .search-wrap.open .search-dropdown {
    order: 3;
    position: static;
    border: none;
    box-shadow: none;
    margin-top: 20px;
    padding: 0;
    max-height: none;
    flex: 1;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
  #featuredBannerSection { padding-top: 60px; }
  .hero { min-height: 82vh; }
  .hero-content { padding: calc(var(--nav-h) + 24px) 24px 40px; }
  .hero-title { font-size: clamp(34px, 9.5vw, 50px); }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-info { padding: 14px; }
  .product-name { font-size: 13.5px; margin-bottom: 6px; }
  .product-pricing { gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
  .price { font-size: 13px; }
  .price-old { font-size: 10px; }
  .price-save { font-size: 9px; }
  .product-actions { flex-direction: row; gap: 8px; }
  .btn-cart, .btn-buy { height: 44px; font-size: 11px; letter-spacing: 0.6px; }
  .btn-cart-icon { width: 44px; height: 44px; flex: 0 0 44px; }
  .product-badge { font-size: 8px; padding: 4px 8px; top: 10px; left: 10px; }
  .category-card { width: 128px; height: auto; }
  .category-card-media { width: 128px; height: 128px; }
  .category-cluster { padding-inline: calc(50% - 64px); }
  .cat-arrow { width: 38px; height: 38px; }
  .category-card-name { font-size: 12px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .value-card { padding: 26px 18px; }
  .value-icon { width: 46px; height: 46px; margin-bottom: 14px; }
  .value-title { font-size: 14px; }
  .hero-stats { gap: 12px 20px; padding-top: 20px; flex-wrap: nowrap; }
  .stat-num { font-size: 22px; }
  .stat-label { font-size: 9px; letter-spacing: 0.5px; }
  .ritual-content { padding: 32px 24px; }
  .ritual-title { font-size: 26px; }
}

/* ─── ARABIC / RTL ────────────────────────────────────────────── */
body.lang-ar,
body.lang-ar .hero-title,
body.lang-ar .section-title,
body.lang-ar .stat-num,
body.lang-ar .ritual-title,
body.lang-ar .value-title,
body.lang-ar .category-card-name,
body.lang-ar .step-title,
body.lang-ar .mm-brand {
  font-family: var(--font-arabic);
}
[dir="rtl"] .cart-badge { right: auto; left: 2px; }
[dir="rtl"] .wa-btn { left: auto; right: 24px; }
[dir="rtl"] #scrollTop { right: auto; left: 24px; }
