/* ==========================================================================
   FYNEX — Premium Gaming Store
   Palette: White + Black + Purple
   ========================================================================== */
:root {
  --purple: #7c3aed;
  --purple-2: #a855f7;
  --purple-3: #c084fc;
  --purple-soft: #f3eeff;
  --purple-glow: rgba(124, 58, 237, 0.35);
  --black: #0a0a0f;
  --ink: #15151d;
  --ink-2: #23232e;
  --text: #15151d;
  --muted: #6b7280;
  --line: #e7e7ee;
  --bg: #ffffff;
  --bg-soft: #f7f7fb;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(20, 20, 40, 0.08);
  --shadow-purple: 0 14px 40px var(--purple-glow);
  --font: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-display: 'Orbitron', 'Cairo', sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 800; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--purple); color: #fff; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.en { font-family: var(--font-display); letter-spacing: 0.06em; direction: ltr; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap; position: relative; overflow: hidden; line-height: 1.4;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 8px 24px var(--purple-glow); }
.btn-primary:hover { background: #6d2fe0; transform: translateY(-2px); box-shadow: 0 14px 34px var(--purple-glow); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--black); }
.btn-light:hover { background: var(--purple-soft); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--line); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }
.btn-outline-light { border: 2px solid rgba(255, 255, 255, 0.25); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-ghost { color: var(--purple); padding: 8px 12px; }
.btn-ghost:hover { background: var(--purple-soft); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 34px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fb955; transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Announcement + Header
   -------------------------------------------------------------------------- */
.announce {
  background: var(--black); color: #e9e2ff; font-size: 13.5px; text-align: center;
  padding: 8px 12px; border-bottom: 1px solid rgba(124, 58, 237, 0.35);
}
.announce b { color: var(--purple-3); }

.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(10, 10, 20, 0.06); }
.header .container { display: flex; align-items: center; gap: 18px; height: 100%; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img, .logo svg { height: 38px; width: auto; }
.logo-text { font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: 0.12em; color: var(--black); direction: ltr; }
.logo-text span { color: var(--purple); }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 6px; }
.nav a {
  padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink-2);
  position: relative; transition: color 0.2s, background 0.2s;
}
.nav a::after {
  content: ''; position: absolute; inset-inline: 12px; bottom: 4px; height: 2px; background: var(--purple);
  border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--purple); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); transition: background 0.2s, color 0.2s, transform 0.2s; position: relative;
}
.icon-btn:hover { background: var(--purple-soft); color: var(--purple); }
.icon-btn:active { transform: scale(0.92); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count {
  position: absolute; top: 4px; left: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--purple); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform 0.3s var(--ease);
}
.badge-count.show { transform: scale(1); }
.badge-count.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* Search */
.search-form {
  display: flex; align-items: center; background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0 6px 0 14px; height: 42px; width: 300px; transition: border-color 0.2s, box-shadow 0.2s, width 0.3s var(--ease);
}
.search-form:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12); width: 360px; }
.search-form input { flex: 1; border: 0; background: transparent; outline: 0; font-size: 14px; min-width: 0; }
.search-form button { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.search-form button:hover { color: var(--purple); }
.search-form svg { width: 18px; height: 18px; }

.menu-btn { display: none; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10, 10, 15, 0.5); z-index: 199; opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(2px); }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); background: #fff; z-index: 200;
  transform: translateX(100%); transition: transform 0.4s var(--ease); padding: 20px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer .search-form { width: 100%; }
.drawer nav a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; font-weight: 700; color: var(--ink); }
.drawer nav a:hover, .drawer nav a.active { background: var(--purple-soft); color: var(--purple); }
.drawer nav a svg { width: 20px; height: 20px; color: var(--purple); }
.drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; background: var(--black); color: #fff; overflow: hidden;
  padding: clamp(60px, 9vw, 120px) 0 clamp(56px, 8vw, 100px);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; pointer-events: none; animation: float 10s ease-in-out infinite alternate; }
.hero-glow.g1 { width: 520px; height: 520px; background: var(--purple); top: -160px; right: -120px; }
.hero-glow.g2 { width: 420px; height: 420px; background: #4c1d95; bottom: -200px; left: -80px; animation-delay: -4s; }
@keyframes float { from { transform: translateY(0) scale(1); } to { transform: translateY(30px) scale(1.08); } }

.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(124, 58, 237, 0.15); border: 1px solid rgba(168, 85, 247, 0.4); color: #e9d5ff; font-weight: 700; margin-bottom: 20px;
}
.hero-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-3); box-shadow: 0 0 12px var(--purple-3); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-logo { font-family: var(--font-display); font-weight: 900; font-size: clamp(48px, 8vw, 96px); letter-spacing: 0.14em; line-height: 1; direction: ltr; text-align: right; }
.hero-logo span { color: var(--purple-2); text-shadow: 0 0 40px var(--purple-glow); }
.hero h1 { font-size: clamp(26px, 3.4vw, 40px); margin: 18px 0 12px; font-weight: 800; }
.hero p { color: #b8b3c9; font-size: clamp(15px, 1.4vw, 17.5px); max-width: 540px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats div b { font-family: var(--font-display); font-size: 24px; color: #fff; display: block; direction: ltr; }
.hero-stats div span { font-size: 13px; color: #9b95b5; }

.hero-visual { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; }
.hero-visual .orb {
  width: min(420px, 80%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.55), rgba(124, 58, 237, 0.15) 50%, transparent 70%);
  position: absolute; animation: float 7s ease-in-out infinite alternate;
}
.hero-visual img { position: relative; width: min(460px, 100%); filter: drop-shadow(0 30px 60px rgba(124, 58, 237, 0.45)); animation: hover-float 6s ease-in-out infinite; }
@keyframes hover-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(1deg); } }
.hero-card {
  position: absolute; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px);
  padding: 10px 14px; border-radius: 14px; font-size: 13px; display: flex; align-items: center; gap: 10px; animation: hover-float 5s ease-in-out infinite;
}
.hero-card b { color: #fff; display: block; font-size: 13.5px; }
.hero-card span { color: #b8b3c9; font-size: 12px; }
.hero-card svg { width: 22px; height: 22px; color: var(--purple-3); }
.hero-card.c1 { top: 14%; left: 0; animation-delay: -1s; }
.hero-card.c2 { bottom: 14%; right: 0; animation-delay: -3s; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--black); color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(22px, 2.6vw, 32px); position: relative; padding-inline-start: 16px; }
.sec-head h2::before { content: ''; position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px; width: 5px; border-radius: 4px; background: var(--purple); box-shadow: 0 0 14px var(--purple-glow); }
.sec-head p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.sec-head .link { color: var(--purple); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sec-head .link svg { width: 16px; height: 16px; transition: transform 0.25s; }
.sec-head .link:hover svg { transform: translateX(-4px); }
.section.dark .sec-head p { color: #9b95b5; }
.sec-center { text-align: center; }
.sec-center .sec-head { justify-content: center; text-align: center; }
.sec-center .sec-head h2 { padding: 0 0 12px; }
.sec-center .sec-head h2::before { inset-inline: 50%; transform: translateX(50%); top: auto; bottom: 0; width: 56px; height: 4px; }

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s; position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-purple); border-color: rgba(124, 58, 237, 0.35); }
.card-media { position: relative; aspect-ratio: 1; background: var(--bg-soft); overflow: hidden; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge { font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; color: #fff; line-height: 1.6; letter-spacing: 0.02em; direction: ltr; unicode-bidi: isolate; }
.badge-new { background: var(--purple); box-shadow: 0 4px 12px var(--purple-glow); }
.badge-sale { background: var(--black); }
.badge-out { background: #9ca3af; }
/* Custom badge from the admin panel — colour comes from an inline style. */
.badge-custom { background: var(--purple); }
.card.out .card-media img { filter: grayscale(0.7); opacity: 0.75; }
.card-quick {
  position: absolute; bottom: 12px; inset-inline: 12px; z-index: 2; opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.35s var(--ease);
}
.card:hover .card-quick { opacity: 1; transform: translateY(0); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 12px; color: var(--purple); font-weight: 700; }
.card-title { font-size: 15px; font-weight: 800; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.card-title a:hover { color: var(--purple); }
.card-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.price { font-weight: 900; font-size: 17px; color: var(--black); direction: ltr; unicode-bidi: isolate; }
.price small { font-size: 12px; font-weight: 700; color: var(--muted); margin-inline-start: 3px; }
.price-old { text-decoration: line-through; color: var(--muted); font-size: 13.5px; direction: ltr; unicode-bidi: isolate; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stock-dot { font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.stock-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.stock-dot.out { color: var(--danger); }
.stock-dot.out::before { background: var(--danger); }
.stock-dot.low { color: var(--warning); }
.stock-dot.low::before { background: var(--warning); }
.add-btn {
  width: 40px; height: 40px; border-radius: 12px; background: var(--black); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.add-btn:hover { background: var(--purple); box-shadow: 0 6px 18px var(--purple-glow); transform: scale(1.06); }
.add-btn:active { transform: scale(0.94); }
.add-btn svg { width: 19px; height: 19px; }
.add-btn[disabled] { background: #d1d5db; cursor: not-allowed; transform: none; box-shadow: none; }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, #eeeef3 25%, #f7f7fb 50%, #eeeef3 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.card.skeleton { height: 380px; border: 0; }

/* Scroll row (mobile) */
.scroll-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row > * { flex: 0 0 280px; scroll-snap-align: start; }

/* --------------------------------------------------------------------------
   Categories
   -------------------------------------------------------------------------- */
.grid-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--black); color: #fff; aspect-ratio: 1 / 1.05;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.6s var(--ease), opacity 0.3s; z-index: -1; }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 15, 0.9), rgba(10, 10, 15, 0.1) 60%); z-index: -1; }
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-purple); }
.cat-tile:hover img { transform: scale(1.08); opacity: 1; }
.cat-tile h3 { font-size: 17px; }
.cat-tile span { font-size: 12.5px; color: #c4b5fd; }
.cat-tile .cat-icon { position: absolute; top: 14px; inset-inline-start: 14px; width: 40px; height: 40px; border-radius: 12px; background: rgba(124, 58, 237, 0.85); display: flex; align-items: center; justify-content: center; }
.cat-tile .cat-icon svg { width: 22px; height: 22px; }

.grid-cats.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cats.cols-3 .cat-tile { aspect-ratio: 16 / 10; }
.grid-2col { grid-template-columns: 1fr 1fr; }

/* Category chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 13.5px; background: #fff; transition: all 0.2s; }
.chip:hover { border-color: var(--purple); color: var(--purple); }
.chip.active { background: var(--black); color: #fff; border-color: var(--black); }

/* --------------------------------------------------------------------------
   Offers banner
   -------------------------------------------------------------------------- */
.offer-banner {
  position: relative; border-radius: 24px; overflow: hidden; background: linear-gradient(120deg, #1a0b3d, var(--black) 60%);
  color: #fff; padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border: 1px solid rgba(168, 85, 247, 0.25);
}
.offer-banner::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: var(--purple); filter: blur(120px); opacity: 0.45; right: -100px; top: -100px; }
.offer-banner > * { position: relative; }
.offer-banner h2 { font-size: clamp(24px, 3vw, 38px); margin-bottom: 8px; }
.offer-banner p { color: #b8b3c9; max-width: 520px; }
.offer-banner .en { color: var(--purple-3); font-size: 13px; margin-bottom: 10px; display: block; }

/* --------------------------------------------------------------------------
   Why FYNEX / Features
   -------------------------------------------------------------------------- */
.grid-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(124, 58, 237, 0.35); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--purple-soft); color: var(--purple); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: all 0.3s; }
.feature:hover .feature-icon { background: var(--purple); color: #fff; box-shadow: 0 8px 20px var(--purple-glow); }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.grid-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { display: inline-flex; gap: 2px; color: #f59e0b; direction: ltr; }
.stars svg { width: 16px; height: 16px; }
.stars svg.off { color: #d1d5db; }
.review p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.review-user { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--purple-3)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.review-user b { display: block; font-size: 14px; }
.review-user span { font-size: 12px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Trust bar
   -------------------------------------------------------------------------- */
.trust { background: #fff; border-top: 1px solid var(--line); padding: 34px 0; }
.trust .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 14px; justify-content: center; }
.trust-item .ti { width: 54px; height: 54px; border-radius: 16px; background: var(--black); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.trust-item:hover .ti { transform: rotate(-6deg) scale(1.05); box-shadow: 0 8px 20px rgba(10, 10, 15, 0.25); }
.trust-item .ti svg { width: 26px; height: 26px; }
.trust-item b { display: block; font-size: 16px; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--black); color: #b8b3c9; padding: 60px 0 0; position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; width: 500px; height: 300px; background: var(--purple); filter: blur(140px); opacity: 0.18; bottom: -150px; right: -100px; }
.footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .logo-text { color: #fff; }
.footer p { font-size: 14px; max-width: 320px; margin-top: 14px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer li { margin-bottom: 9px; }
.footer li a { font-size: 14px; transition: color 0.2s, padding 0.2s; }
.footer li a:hover { color: var(--purple-3); padding-inline-start: 4px; }
.footer .contact-line { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 10px; }
.footer .contact-line svg { width: 18px; height: 18px; color: var(--purple-3); flex: none; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.3s var(--ease); }
.socials a:hover { background: var(--purple); border-color: var(--purple); transform: translateY(-3px); box-shadow: 0 8px 20px var(--purple-glow); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 44px; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; flex-wrap: wrap; }
.footer-bottom a { color: var(--purple-3); }
/* Studio credit — deliberately quiet, below the copyright line. */
.footer-credit {
  text-align: center;
  padding: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(184, 179, 201, 0.45);
}

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 22px; left: 22px; z-index: 90; display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; padding: 10px 16px 10px 12px; border-radius: 999px; font-weight: 800; font-size: 14px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: ring 2s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.35); opacity: 0; } }

/* Toast */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  background: var(--black); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); border-inline-start: 4px solid var(--purple);
  animation: toast-in 0.4s var(--ease); pointer-events: auto; max-width: 340px;
}
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast svg { width: 20px; height: 20px; flex: none; }
.toast a { color: var(--purple-3); text-decoration: underline; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
.toast.leave { animation: toast-out 0.3s forwards; }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.stagger.in > *:nth-child(7) { transition-delay: 0.47s; }
.stagger.in > *:nth-child(8) { transition-delay: 0.54s; }

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-head { background: var(--black); color: #fff; padding: 44px 0; position: relative; overflow: hidden; }
.page-head::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: var(--purple); filter: blur(120px); opacity: 0.35; top: -200px; right: 10%; }
.page-head .container { position: relative; }
.page-head h1 { font-size: clamp(24px, 3vw, 36px); }
.page-head p { color: #b8b3c9; margin-top: 6px; font-size: 15px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: #9b95b5; margin-bottom: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--purple-3); }
.crumbs span { color: #fff; }

/* --------------------------------------------------------------------------
   Shop layout
   -------------------------------------------------------------------------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: calc(var(--header-h) + 16px); }
.filters h3 { font-size: 15px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.filters .f-group { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.filters .f-group:last-child { border: 0; margin: 0; padding: 0; }
.f-list label { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 14px; font-weight: 600; }
.f-list label:hover { color: var(--purple); }
.f-list input { accent-color: var(--purple); width: 16px; height: 16px; }
.f-list .count { margin-inline-start: auto; font-size: 12px; color: var(--muted); background: var(--bg-soft); padding: 1px 8px; border-radius: 999px; }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { width: 100%; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; outline: 0; font-size: 14px; direction: ltr; }
.price-range input:focus { border-color: var(--purple); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.shop-toolbar .result { font-size: 14px; color: var(--muted); }
.select { padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; font-size: 14px; outline: 0; cursor: pointer; }
.select:focus { border-color: var(--purple); }
.filter-toggle { display: none; }
.shop-grid { grid-template-columns: repeat(3, 1fr); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { width: 64px; height: 64px; color: #d1d5db; margin-bottom: 12px; }
.empty h3 { color: var(--text); margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   Product page
   -------------------------------------------------------------------------- */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease), opacity 0.3s; cursor: zoom-in; }
.gallery-main:hover img { transform: scale(1.04); }
.gallery-main .card-badges { top: 16px; inset-inline-start: 16px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); flex: none; background: var(--bg-soft); padding: 0; transition: border-color 0.2s, transform 0.2s; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--purple); transform: translateY(-2px); }

.p-info .card-cat { font-size: 13px; }
.p-info h1 { font-size: clamp(22px, 2.6vw, 32px); margin: 6px 0 12px; }
.p-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.p-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.p-price .price { font-size: 32px; }
.p-price .price-old { font-size: 17px; }
.p-price .save { background: var(--purple-soft); color: var(--purple); font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.p-desc { color: var(--ink-2); font-size: 15px; margin: 18px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-opt { margin-bottom: 16px; }
.p-opt > b { display: block; font-size: 14px; margin-bottom: 8px; }
.p-opt > b span { color: var(--purple); }
.opt-vals { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-vals button { padding: 8px 16px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; font-size: 13.5px; transition: all 0.2s; background: #fff; }
.opt-vals button:hover { border-color: var(--purple); }
.opt-vals button.active { background: var(--black); color: #fff; border-color: var(--black); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; direction: ltr; }
.qty button { width: 42px; height: 46px; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: background 0.2s; }
.qty button:hover { background: var(--purple-soft); color: var(--purple); }
.qty input { width: 54px; height: 46px; text-align: center; border: 0; border-inline: 1.5px solid var(--line); font-weight: 800; font-size: 16px; outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.p-actions { display: flex; gap: 12px; align-items: center; margin: 20px 0; flex-wrap: wrap; }
.p-actions .btn { flex: 1; min-width: 160px; padding: 14px 20px; }
.p-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.p-trust div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); }
.p-trust svg { width: 20px; height: 20px; color: var(--purple); flex: none; }

.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin: 48px 0 24px; }
.tabs button { padding: 12px 20px; font-weight: 800; color: var(--muted); position: relative; transition: color 0.2s; }
.tabs button::after { content: ''; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; background: var(--purple); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.tabs button.active { color: var(--black); }
.tabs button.active::after { transform: scaleX(1); }
.tab-panel { display: none; animation: fade 0.4s; }
.tab-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.specs { width: 100%; border-collapse: collapse; max-width: 720px; }
.specs td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs td:first-child { font-weight: 800; width: 34%; background: var(--bg-soft); }
.specs tr:first-child td { border-top: 1px solid var(--line); }
.specs tr:first-child td:first-child { border-radius: 0 12px 0 0; }
.specs tr:last-child td:first-child { border-radius: 0 0 12px 0; }
.rich { max-width: 760px; font-size: 15.5px; color: var(--ink-2); white-space: pre-line; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10, 10, 15, 0.92); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 16px; object-fit: contain; transform: scale(0.94); transition: transform 0.35s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox button { position: absolute; top: 20px; right: 20px; color: #fff; }

/* --------------------------------------------------------------------------
   Cart & Checkout
   -------------------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; transition: box-shadow 0.3s, transform 0.3s; animation: fade 0.4s; }
.cart-item:hover { box-shadow: var(--shadow); }
.cart-item.removing { transform: translateX(30px); opacity: 0; transition: all 0.3s; }
.cart-item img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; background: var(--bg-soft); }
.cart-item h3 { font-size: 15px; margin-bottom: 4px; }
.cart-item .opt { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.cart-item .qty { transform: scale(0.88); transform-origin: right; }
.cart-item .qty button { height: 40px; width: 38px; }
.cart-item .qty input { height: 40px; width: 46px; }
.cart-item-end { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.remove-btn { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; transition: color 0.2s; }
.remove-btn:hover { color: var(--danger); }
.remove-btn svg { width: 16px; height: 16px; }

.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary h3 { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.summary .row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 7px 0; }
.summary .row.total { border-top: 2px solid var(--black); margin-top: 10px; padding-top: 14px; font-size: 18px; font-weight: 900; }
.summary .free { color: var(--success); font-weight: 800; }
.summary .hint { font-size: 12.5px; color: var(--muted); background: var(--purple-soft); padding: 8px 12px; border-radius: 10px; margin-top: 10px; }
.summary .btn { margin-top: 16px; }
.summary-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; max-height: 340px; overflow-y: auto; }
.summary-item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.summary-item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--bg-soft); flex: none; border: 1px solid var(--line); }
.summary-item .si-info { flex: 1; min-width: 0; }
.summary-item .si-name { display: block; font-weight: 800; font-size: 13.5px; line-height: 1.45; color: var(--black); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.summary-item .si-meta { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.summary-item .si-price { flex: none; text-align: end; white-space: nowrap; }
.summary-item .si-price .price { font-size: 14.5px; display: inline-flex; align-items: baseline; gap: 3px; }
.summary-item .si-price .price small { font-size: 11px; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.form-card h3 { font-size: 17px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.form-card h3 .num { width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-family: var(--font-display); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.field label i { color: var(--danger); font-style: normal; }
.input, .textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; outline: 0; font-size: 14.5px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus, .textarea:focus, .field select:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12); }
.input.invalid { border-color: var(--danger); }
.textarea { min-height: 100px; resize: vertical; }
.field .err { color: var(--danger); font-size: 12.5px; margin-top: 4px; display: none; }
.field.has-err .err { display: block; }
.field.has-err .input, .field.has-err .textarea { border-color: var(--danger); }
.phone-group { display: flex; align-items: stretch; gap: 8px; }
.phone-group .phone-code { display: inline-flex; align-items: center; justify-content: center; min-width: 74px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--purple-soft, #f3eeff); color: var(--purple); font-weight: 800; font-size: 14.5px; letter-spacing: .02em; white-space: nowrap; }
.phone-group .input { flex: 1; text-align: left; }
.phone-group .input::placeholder { text-align: left; direction: ltr; }
.radio-cards { display: flex; flex-direction: column; gap: 10px; }
.radio-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: all 0.2s; }
.radio-card:hover { border-color: var(--purple); }
.radio-card input { accent-color: var(--purple); margin-top: 4px; width: 18px; height: 18px; }
.radio-card.checked { border-color: var(--purple); background: var(--purple-soft); }
.radio-card b { display: block; font-size: 14.5px; }
.radio-card span { font-size: 12.5px; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* Coupon + coins rows inside the order summary */
.summary .hint.coins { background: #fffbeb; color: #92400e; }
.summary .row .free { color: var(--success); font-weight: 800; }
.promo-box { display: flex; gap: 8px; margin-top: 12px; }
.promo-box .input { flex: 1; text-transform: uppercase; }
.promo-applied {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 700;
}
.promo-applied button { color: #065f46; opacity: 0.7; display: inline-flex; }
.promo-applied button:hover { opacity: 1; }
.promo-applied svg { width: 16px; height: 16px; }
.coins-box {
  margin-top: 12px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 12px;
}
.coins-box .cb-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 800; color: #92400e; }
.coins-box .cb-head b { font-family: var(--font-display); direction: ltr; }
.coins-box label { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 700; cursor: pointer; color: #92400e; }
.coins-box input[type=checkbox] { width: 17px; height: 17px; accent-color: #d97706; }
.coins-box .cb-note { font-size: 12px; color: #b45309; margin-top: 4px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Order tracking
   -------------------------------------------------------------------------- */
.track-wrap { max-width: 720px; margin: 0 auto; }
.track-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.track-pill { padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.track-pill.pending { background: #fef3c7; color: #b45309; }
.track-pill.confirmed { background: #dbeafe; color: #1d4ed8; }
.track-pill.shipped { background: var(--purple-soft); color: var(--purple); }
.track-pill.delivered { background: #dcfce7; color: #15803d; }
.track-pill.cancelled { background: #fee2e2; color: #b91c1c; }

.track-steps { display: flex; flex-direction: column; gap: 0; }
.track-step { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-bottom: 22px; }
.track-step:last-child { padding-bottom: 0; }
.track-step::before {
  content: ''; position: absolute; top: 34px; bottom: 0; inset-inline-start: 16px; width: 2px; background: var(--line);
}
.track-step:last-child::before { display: none; }
.track-step.done::before { background: var(--success); }
.track-step .ts-dot {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; z-index: 1;
  background: var(--bg-soft); color: var(--muted); border: 2px solid var(--line);
}
.track-step .ts-dot svg { width: 16px; height: 16px; }
.track-step.done .ts-dot { background: var(--success); border-color: var(--success); color: #fff; }
.track-step.active .ts-dot { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: 0 0 0 5px var(--purple-soft); }
.track-step .ts-body b { display: block; font-size: 14.5px; }
.track-step .ts-body span { font-size: 12.5px; color: var(--muted); }
.track-step:not(.done):not(.active) .ts-body b { color: var(--muted); }
.track-cancelled { display: flex; align-items: center; gap: 12px; background: #fee2e2; color: #b91c1c; border-radius: 12px; padding: 14px; }
.track-cancelled svg { width: 24px; height: 24px; flex: none; }
.track-cancelled b { display: block; font-size: 15px; }
.track-cancelled span { font-size: 13px; }

/* Success */
.success-box { max-width: 640px; margin: 0 auto; text-align: center; }
.success-icon { width: 96px; height: 96px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; animation: pop 0.6s var(--ease); }
.success-icon svg { width: 48px; height: 48px; }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.order-number { font-family: var(--font-display); font-size: 28px; color: var(--purple); direction: ltr; margin: 10px 0; }
.order-box { text-align: right; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 22px 0; }

/* --------------------------------------------------------------------------
   Content pages
   -------------------------------------------------------------------------- */
.prose { max-width: 800px; font-size: 16px; color: var(--ink-2); }
.prose h2 { font-size: 22px; margin: 28px 0 10px; color: var(--black); }
.prose p { margin-bottom: 14px; white-space: pre-line; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-visual { border-radius: 24px; background: var(--black); padding: 40px; color: #fff; position: relative; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.about-visual::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--purple); filter: blur(100px); opacity: 0.5; top: -100px; left: -50px; }
.about-visual .hero-logo { font-size: 56px; position: relative; }
.about-visual p { color: #b8b3c9; position: relative; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 28px; color: var(--purple); direction: ltr; }
.stat span { font-size: 13.5px; color: var(--muted); }

.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--purple); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-weight: 800; text-align: right; font-size: 15.5px; }
.faq-q svg { width: 20px; height: 20px; color: var(--purple); flex: none; transition: transform 0.3s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a div { padding: 0 20px 18px; color: var(--ink-2); font-size: 14.5px; white-space: pre-line; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all 0.3s var(--ease); }
.contact-card:hover { transform: translateX(-4px); border-color: var(--purple); box-shadow: var(--shadow); }
.contact-card .ci { width: 48px; height: 48px; border-radius: 14px; background: var(--black); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.contact-card .ci svg { width: 22px; height: 22px; }
.contact-card b { display: block; font-size: 14.5px; }
.contact-card span { font-size: 13.5px; color: var(--muted); direction: ltr; display: inline-block; }

.rating-input { display: flex; gap: 4px; direction: ltr; justify-content: flex-end; }
.rating-input button { color: #d1d5db; transition: transform 0.15s, color 0.15s; }
.rating-input button svg { width: 30px; height: 30px; }
.rating-input button.on, .rating-input button:hover { color: #f59e0b; transform: scale(1.15); }

/* 404 */
.notfound { text-align: center; padding: 80px 20px; }
.notfound .en { font-size: 96px; font-weight: 900; color: var(--purple); line-height: 1; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .grid-cats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-form { width: 220px; }
  .search-form:focus-within { width: 260px; }
  .nav a { padding: 8px 9px; font-size: 14px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav, .header .search-form { display: none; }
  .menu-btn { display: inline-flex; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-visual { min-height: 260px; order: -1; }
  .hero-visual img { width: min(320px, 80%); }
  .hero-card { display: none; }
  .grid-features { grid-template-columns: 1fr 1fr; }
  .grid-reviews { grid-template-columns: 1fr 1fr; }
  .trust .container { grid-template-columns: 1fr; gap: 14px; }
  .trust-item { justify-content: flex-start; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; top: auto; z-index: 250; border-radius: 24px 24px 0 0; max-height: 80vh; overflow-y: auto; transform: translateY(100%); transition: transform 0.4s var(--ease); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2); }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .offer-banner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(1240px, 100% - 24px); }
  .grid-products, .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card-title { font-size: 13.5px; }
  .price { font-size: 15px; }
  .add-btn { width: 36px; height: 36px; }
  .grid-cats, .grid-cats.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid-features, .grid-reviews, .grid-2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 76px 1fr; }
  .cart-item img { width: 76px; height: 76px; }
  .cart-item-end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .p-actions .btn { min-width: 100%; }
  .p-trust { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
  .toast-wrap { right: 12px; left: 12px; bottom: 80px; }
  .toast { max-width: 100%; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero-stats { gap: 20px; }
  .hero-stats div b { font-size: 20px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .tabs { overflow-x: auto; }
  .tabs button { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
}


/* ---------------------------------------------------------------- Preloader */
#fx-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: var(--bg);
  opacity: 1; visibility: visible;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
#fx-loader.done { opacity: 0; visibility: hidden; }
#fx-loader .fxl-glow {
  position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, var(--purple-glow), transparent 68%);
  filter: blur(30px); opacity: .55; animation: fxl-pulse 2.4s ease-in-out infinite;
}
#fx-loader .fxl-mark {
  position: relative; font-family: Orbitron, sans-serif; font-weight: 900;
  font-size: clamp(30px, 8vw, 46px); letter-spacing: 4px; color: var(--black);
  animation: fxl-rise .6s cubic-bezier(.2, .8, .3, 1) both;
}
#fx-loader .fxl-mark span { color: var(--purple); }
#fx-loader .fxl-bar {
  position: relative; width: min(200px, 54vw); height: 4px; border-radius: 99px;
  background: var(--line); overflow: hidden;
  animation: fxl-rise .6s .08s cubic-bezier(.2, .8, .3, 1) both;
}
#fx-loader .fxl-bar::after {
  content: ''; position: absolute; inset-block: 0; inset-inline-start: -40%;
  width: 40%; border-radius: 99px;
  background: linear-gradient(90deg, var(--purple), var(--purple-3));
  animation: fxl-slide 1.1s ease-in-out infinite;
}
#fx-loader .fxl-text {
  position: relative; font-size: 12.5px; font-weight: 700; letter-spacing: .5px; color: var(--muted);
  animation: fxl-rise .6s .16s cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes fxl-slide { 0% { inset-inline-start: -40%; } 100% { inset-inline-start: 100%; } }
@keyframes fxl-pulse { 0%, 100% { transform: scale(.92); opacity: .4; } 50% { transform: scale(1.06); opacity: .65; } }
@keyframes fxl-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
body.fx-loading { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  #fx-loader .fxl-glow, #fx-loader .fxl-mark, #fx-loader .fxl-bar, #fx-loader .fxl-text { animation: none; }
  #fx-loader .fxl-bar::after { animation: fxl-slide 1.6s linear infinite; }
}
