/* =========================================================
   NextShop — Premium dark 3D digital marketplace
   Structure:
   1. Tokens & base      6. Showcase (robot/banner/categories)
   2. Background FX      7. Benefits
   3. Header & menus     8. Catalog & product cards
   4. Hero & 3D scene    9. Info, footer
   5. Perks              10. Drawer, modals, toasts
                         11. Responsive
   ========================================================= */

/* ---------- 1. Tokens & base ---------- */
:root {
  --bg: #080706;
  --panel: #15100D;
  --panel-2: #1c1511;
  --orange: #FF8A00;
  --amber: #FFB21C;
  --gold: #FFD36A;
  --white: #FFFFFF;
  --muted: #BDB8B2;
  --muted-2: #8d857d;
  --line: rgba(255, 178, 28, .16);
  --line-strong: rgba(255, 178, 28, .38);
  --grad-gold: linear-gradient(180deg, #FFE08A 0%, #FFB21C 45%, #FF8A00 100%);
  --grad-btn: linear-gradient(180deg, #FFC43D 0%, #FF9A0A 55%, #F07A00 100%);
  --glass: linear-gradient(160deg, rgba(36, 27, 21, .78), rgba(14, 10, 8, .86));
  --shadow-deep: 0 24px 60px -18px rgba(0, 0, 0, .9), 0 2px 0 rgba(255, 255, 255, .03) inset;
  --glow: 0 0 24px rgba(255, 138, 0, .45);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --container: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --font: "Vazirmatn", "Vazir", "IRANSans", Tahoma, "Segoe UI", sans-serif;
  --font-latin: "Exo 2", "Vazirmatn", "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.8;
  color: var(--white);
  background: var(--bg);
  overflow-x: clip;
  direction: rtl;
  text-align: right;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--orange); color: #1a0d00; }
[hidden] { display: none !important; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; position: relative; }
.ic { width: 18px; height: 18px; flex: none; }
.ic-xs { width: 13px; height: 13px; }
.ic-lg { width: 22px; height: 22px; }
.ic-xl { width: 46px; height: 46px; }
.muted { color: var(--muted); }

.gold-text {
  background: linear-gradient(180deg, #FFE48F 0%, #FFB21C 45%, #FF9100 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(255, 138, 0, .35));
}

.panel {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.panel::before { /* top edge light reflection */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 210, 120, .32), rgba(255, 138, 0, .06) 40%, rgba(255, 138, 0, 0) 70%, rgba(255, 138, 0, .22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.glass {
  background: linear-gradient(160deg, rgba(34, 25, 19, .92), rgba(12, 9, 7, .96));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Buttons */
.btn {
  --h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { --h: 52px; padding: 0 28px; font-size: 16px; }
.btn-sm { --h: 40px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  color: #2a1300;
  background: var(--grad-btn);
  box-shadow: 0 10px 28px -8px rgba(255, 138, 0, .75), inset 0 1px 0 rgba(255, 245, 210, .7), inset 0 -3px 6px rgba(160, 60, 0, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(255, 138, 0, .9), inset 0 1px 0 rgba(255, 245, 210, .8), inset 0 -3px 6px rgba(160, 60, 0, .35); }
.btn-ghost {
  color: var(--white);
  background: rgba(10, 8, 6, .6);
  border: 1.5px solid rgba(255, 178, 28, .55);
  box-shadow: inset 0 0 18px rgba(255, 138, 0, .12), 0 8px 24px -10px rgba(0, 0, 0, .8);
}
.btn-ghost:hover { border-color: var(--amber); box-shadow: inset 0 0 22px rgba(255, 138, 0, .25), var(--glow); transform: translateY(-2px); }
.btn-outline {
  color: var(--white);
  border: 1.5px solid var(--line-strong);
  background: rgba(255, 138, 0, .04);
}
.btn-outline:hover { border-color: var(--amber); background: rgba(255, 138, 0, .14); color: var(--gold); }
.btn-link { color: var(--muted); font-size: 14px; margin-top: 10px; text-decoration: underline; text-underline-offset: 4px; }
.btn-link:hover { color: var(--amber); }
.shine::after { /* moving light sweep */
  content: "";
  position: absolute;
  inset: -40% auto -40% -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-20deg);
  animation: sweep 3.8s var(--ease) infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes sweep { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  transition: .2s;
}
.icon-btn:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- 2. Background FX ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.bg-glow--1 { width: 620px; height: 420px; left: -160px; top: 60px; background: radial-gradient(circle, rgba(255, 120, 0, .55), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.bg-glow--2 { width: 520px; height: 520px; right: -200px; top: 34%; background: radial-gradient(circle, rgba(255, 150, 20, .32), transparent 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.bg-glow--3 { width: 900px; height: 360px; left: 20%; bottom: -160px; background: radial-gradient(circle, rgba(255, 110, 0, .35), transparent 70%); }
.bg-smoke { position: absolute; inset: 0; background-repeat: no-repeat; opacity: .5; }
.bg-smoke--1 { background: radial-gradient(60% 40% at 15% 30%, rgba(60, 40, 30, .5), transparent 70%), radial-gradient(50% 30% at 85% 70%, rgba(50, 34, 24, .45), transparent 70%); }
.bg-smoke--2 { background: radial-gradient(40% 25% at 70% 10%, rgba(255, 140, 30, .08), transparent 70%); }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.08); } }
.light-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ll { fill: none; stroke: url(#gLine); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 8px #FF8A00); stroke-dasharray: 520 1600; animation: flow 11s linear infinite; opacity: .8; }
.ll--2 { animation-duration: 15s; animation-delay: -4s; stroke-width: 1.6; opacity: .55; }
.ll--3 { animation-duration: 13s; animation-delay: -7s; }
.ll--4 { animation-duration: 9s; stroke-width: 1.4; opacity: .5; }
@keyframes flow { from { stroke-dashoffset: 2120; } to { stroke-dashoffset: 0; } }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- 3. Header ---------- */
.site-header { position: sticky; top: 10px; z-index: 50; margin-top: 10px; }
.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px 0 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(22, 16, 12, .82), rgba(9, 7, 6, .88));
  border: 1px solid rgba(255, 178, 28, .22);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 220, 160, .08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled .header-bar { border-color: rgba(255, 178, 28, .4); box-shadow: 0 18px 50px -10px rgba(0, 0, 0, .95), 0 0 30px -10px rgba(255, 138, 0, .45); }

.logo { display: flex; align-items: center; gap: 4px; flex: none; direction: ltr; }
.logo-mark { position: relative; display: inline-block; width: 40px; height: 36px; }
.logo-n { width: 100%; height: 100%; filter: drop-shadow(0 3px 6px rgba(255, 120, 0, .5)); }
.logo-crown { position: absolute; width: 58%; top: -38%; right: -16%; transform: rotate(14deg); filter: drop-shadow(0 0 6px rgba(255, 170, 0, .6)); }
.logo-word { font-family: var(--font-latin); font-style: italic; font-weight: 800; font-size: 19px; letter-spacing: -.2px; direction: ltr; line-height: 1; }
.logo-word b { color: var(--white); font-weight: 800; }
.logo-word i { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .logo-mark { margin-inline-end: -6px; }
.logo .logo-word { align-self: flex-end; margin-bottom: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 12px;
  font-weight: 600; font-size: 14.5px;
  color: #e9e4de;
  border-radius: 12px;
  transition: color .2s, background .2s;
}
.nav-link .ic { color: var(--muted); }
.nav-link:hover { color: var(--gold); background: rgba(255, 138, 0, .07); }
.nav-link.is-active { color: var(--amber); }
.nav-link.is-active::after {
  content: ""; position: absolute; bottom: -14px; inset-inline: 8px; height: 3px; border-radius: 3px;
  background: var(--grad-gold); box-shadow: 0 0 12px 2px rgba(255, 138, 0, .8);
}
.has-drop { position: relative; }
.nav-drop {
  position: absolute; top: calc(100% + 18px); right: 0; min-width: 230px; padding: 8px;
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(30, 22, 17, .97), rgba(10, 8, 6, .98));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-deep);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right;
  transition: .25s var(--ease);
}
.has-drop.open .nav-drop { opacity: 1; visibility: visible; transform: none; }
.has-drop.open #productsDropBtn .ic { transform: rotate(180deg); }
.nav-drop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 12px; font-size: 14px; text-align: right; }
.nav-drop button:hover { background: rgba(255, 138, 0, .14); color: var(--gold); }
.nav-drop .ic { width: 20px; height: 20px; }

.search { position: relative; flex: 1; max-width: 300px; margin-inline: auto; }
.search input {
  width: 100%; height: 44px;
  padding: 0 18px 0 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 178, 28, .3);
  background: rgba(4, 3, 2, .75);
  font-size: 14px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .7);
  transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--muted-2); }
.search input:focus { outline: none; border-color: var(--amber); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .7), 0 0 0 4px rgba(255, 138, 0, .14), 0 0 22px -4px rgba(255, 138, 0, .6); }
.search input::-webkit-search-cancel-button { filter: invert(.6) sepia(1) hue-rotate(-20deg); }
.search-btn { position: absolute; left: 6px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #efe9e1; transition: .2s; }
.search-btn:hover { color: var(--amber); background: rgba(255, 138, 0, .12); }
.search-suggest {
  position: absolute; top: calc(100% + 10px); inset-inline: 0;
  border-radius: 18px; padding: 6px;
  background: linear-gradient(170deg, rgba(30, 22, 17, .98), rgba(10, 8, 6, .99));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-deep);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease);
  max-height: 360px; overflow: auto;
}
.search-suggest.open { opacity: 1; visibility: visible; transform: none; }
.sg-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 12px; text-align: right; }
.sg-item:hover, .sg-item.is-hl { background: rgba(255, 138, 0, .14); }
.sg-item .cover { width: 46px; height: 34px; border-radius: 8px; flex: none; }
.sg-item b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.sg-item span { font-size: 12.5px; color: var(--amber); }
.sg-empty { padding: 12px; color: var(--muted); font-size: 14px; text-align: center; }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.hdr-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 12px; font-weight: 600; font-size: 14.5px; transition: .2s; }
.hdr-btn:hover { background: rgba(255, 138, 0, .08); color: var(--gold); }
.cart-trigger { position: relative; padding-inline-end: 6px; }
.cart-ico { margin-inline-start: 18px; }
.cart-badge {
  min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--grad-btn);
  color: #2a1300; font-weight: 800; font-size: 12px; line-height: 1;
  box-shadow: 0 0 12px rgba(255, 138, 0, .9);
}
.cart-badge.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.5); } 60% { transform: scale(.9); } }
.menu-btn { display: none; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: .3s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 340px);
  padding: 20px; display: flex; flex-direction: column; gap: 6px;
  border-radius: 24px 0 0 24px;
  transform: translateX(100%); transition: transform .4s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open .mobile-menu__panel { transform: none; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.search--mobile { max-width: none; margin: 0 0 10px; flex: none; }
.m-link { padding: 12px 14px; border-radius: 14px; font-weight: 700; font-size: 16px; }
.m-link:hover { background: rgba(255, 138, 0, .12); color: var(--gold); }
.m-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 10px 8px; }
.m-cats button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.m-cats button:hover { border-color: var(--amber); color: var(--gold); }
.mobile-menu .btn { margin-top: auto; }

/* ---------- 4. Hero ---------- */
.hero { position: relative; padding: 18px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; align-items: center; min-height: 395px; }
.hero-copy { position: relative; z-index: 3; padding-top: 18px; }
.hero-title { font-size: clamp(30px, 3.55vw, 46px); white-space: nowrap; font-weight: 900; line-height: 1.35; letter-spacing: -.5px; text-shadow: 0 4px 30px rgba(0, 0, 0, .8); }
.hero-sub { font-size: clamp(20px, 2.35vw, 29px); font-weight: 800; margin-top: 8px; line-height: 1.5; }
.hero-desc { color: var(--muted); font-size: 16.5px; line-height: 2; margin-top: 18px; max-width: 470px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.play-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); color: #2a1300; box-shadow: 0 0 14px rgba(255, 138, 0, .8); }
.play-dot .ic { transform: translateX(-1px) scaleX(-1); }

.hero-visual { position: relative; height: 420px; margin-inline-start: -10px; }
.hero-halo { position: absolute; left: 4%; right: 0; bottom: 4%; height: 80%; background: radial-gradient(45% 45% at 48% 62%, rgba(255, 128, 0, .6), rgba(255, 100, 0, .16) 55%, transparent 75%); filter: blur(34px); }
.cloud { position: absolute; pointer-events: none; user-select: none; will-change: transform; }
.cloud--a { width: 360px; left: -200px; bottom: -10px; opacity: .9; filter: brightness(.85) saturate(1.05); animation: cloud 26s ease-in-out infinite alternate; z-index: 4; }
.cloud--b { width: 330px; right: 60px; top: 110px; opacity: .85; filter: brightness(.9); transform: scaleX(-1); animation: cloudR 30s ease-in-out infinite alternate; z-index: 1; }
.cloud--c { width: 300px; right: -150px; bottom: 0; opacity: .6; filter: brightness(.55); animation: cloud 34s ease-in-out infinite alternate-reverse; z-index: 4; }
@keyframes cloud { to { transform: translate3d(28px, -6px, 0) scale(1.04); } }
@keyframes cloudR { to { transform: scaleX(-1) translate3d(24px, -8px, 0) scale(1.05); } }
.orbit { position: absolute; left: -4%; top: 0; width: 70%; height: 72%; transform: rotate(-24deg); z-index: 2; overflow: visible; }
.orbit ellipse { fill: none; stroke: url(#gGoldSoft); stroke-width: 2.4; stroke-dasharray: 520 1400; stroke-linecap: round; filter: drop-shadow(0 0 6px #FF8A00) drop-shadow(0 0 14px rgba(255, 138, 0, .6)); animation: orbit 14s linear infinite; }
@keyframes orbit { to { stroke-dashoffset: -1920; } }

.scene { position: absolute; top: 0; left: 50%; width: 640px; height: 420px; translate: -50% 0; transform-origin: 50% 0; perspective: 1500px; transform-style: preserve-3d; z-index: 3; }
.scene-inner { position: absolute; inset: 0; }

/* Platform (stacked discs) — thickness via offset shadows */
.platform { position: absolute; left: 50%; bottom: 30px; width: 580px; height: 160px; translate: -46% 0; }
.platform::before { content: ""; position: absolute; inset: 30% -6% -22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 128, 0, .55), rgba(255, 100, 0, .18) 60%, transparent); filter: blur(14px); }
.disc { position: absolute; left: 50%; border-radius: 50%; translate: -50% 0; }
.disc--3 { width: 100%; height: 104px; bottom: 18px;
  background: radial-gradient(70% 70% at 50% 30%, #2b2018, #0c0907 75%);
  box-shadow: inset 0 2px 0 rgba(255, 190, 90, .55), 0 0 0 1px rgba(255, 150, 40, .35), 0 18px 0 #070504, 0 19px 0 1px rgba(255, 138, 0, .55), 0 22px 26px 2px rgba(255, 120, 0, .45), 0 40px 60px rgba(0, 0, 0, .9); }
.disc--2 { width: 84%; height: 86px; bottom: 44px;
  background: radial-gradient(70% 70% at 50% 30%, #241a13, #080605 75%);
  box-shadow: inset 0 2px 0 rgba(255, 220, 140, .8), 0 0 0 2px rgba(255, 150, 30, .9), 0 0 22px 4px rgba(255, 138, 0, .85), 0 14px 0 #060403, 0 15px 0 1px rgba(255, 150, 30, .8), 0 16px 30px 4px rgba(255, 120, 0, .55); }
.disc--1 { width: 66%; height: 70px; bottom: 66px;
  background: radial-gradient(60% 70% at 50% 35%, #2a2018, #0a0806 80%);
  box-shadow: inset 0 2px 0 rgba(255, 220, 140, .85), 0 0 0 1px rgba(255, 170, 60, .6), 0 10px 0 #070504, 0 11px 0 1px rgba(255, 160, 40, .85), 0 12px 24px rgba(255, 120, 0, .6); }
.disc-ring { position: absolute; inset: 9px 30px; border-radius: 50%; border: 2px solid rgba(255, 175, 50, .9); box-shadow: 0 0 14px rgba(255, 138, 0, .9), inset 0 0 14px rgba(255, 138, 0, .6); animation: pulse 3.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 26px rgba(255, 138, 0, 1), inset 0 0 22px rgba(255, 138, 0, .8); } }

/* Laptop — true CSS 3D */
.laptop-wrap {
  --lw: 300px; --lh: 200px; --dd: 176px;
  position: absolute; left: 50%; bottom: 182px;
  width: var(--lw); height: var(--lh);
  margin-left: calc(var(--lw) / -2 + 6px);
  transform-style: preserve-3d;
  transform: rotateX(-17deg) rotateY(28deg);
  transition: transform .6s var(--ease);
}
.laptop { position: absolute; inset: 0; transform-style: preserve-3d; animation: hover3d 7s ease-in-out infinite; }
@keyframes hover3d { 50% { transform: translateY(-8px); } }
.lid {
  position: absolute; inset: 0;
  transform-origin: 50% 100%;
  transform: rotateX(14deg);
  transform-style: preserve-3d;
  border-radius: 14px 14px 5px 5px;
  background: linear-gradient(160deg, #3a3a40, #121216 40%, #08080a);
  padding: 9px 9px 14px;
  box-shadow: 0 0 0 1px #4b4b52, 0 0 40px rgba(255, 138, 0, .25);
}
.lid-back { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, #c9c9d0, #7d7d85); transform: translateZ(-3px); }
.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 6px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 45%, #2a1d10 0%, #0b0907 60%, #050404 100%);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, .9);
  display: grid; place-items: center;
}
.screen::before { /* subtle tech pattern */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 138, 0, .05) 0 1px, transparent 1px 14px), radial-gradient(40% 40% at 50% 50%, rgba(255, 140, 0, .25), transparent 70%);
}
.screen-glare { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 38%); pointer-events: none; }
.screen-logo { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; direction: ltr; }
.logo-mark--lg { width: 70px; height: 62px; }
.screen-logo .logo-word { font-size: 30px; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.screen-logo small { font-family: var(--font-latin); font-size: 11px; color: #eee; letter-spacing: .3px; }
.deck {
  position: absolute; left: -12px; right: -12px; top: 100%;
  height: var(--dd);
  transform-origin: 50% 0;
  transform: rotateX(90deg);
  border-radius: 4px 4px 20px 20px;
  background: linear-gradient(180deg, #d5d5db, #9b9ba3 60%, #c6c6cd);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
  padding: 16px 24px 0;
}
.keys {
  height: 52%; border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, transparent 0 2px, #1b1b20 2px 22px, transparent 22px 24px),
    #2d2d33;
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 16px, transparent 16px 20px);
  mask: repeating-linear-gradient(180deg, #000 0 16px, transparent 16px 20px);
  box-shadow: 0 0 20px rgba(255, 138, 0, .4);
}
.trackpad { width: 34%; height: 30%; margin: 12px auto 0; border-radius: 8px; background: linear-gradient(180deg, #bfc0c6, #a6a6ae); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.deck-front { position: absolute; left: -12px; right: -12px; top: 100%; height: 9px; transform: translateZ(var(--dd)); border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #8e8e96, #3a3a40); }

.hero-crown { position: absolute; width: 108px; left: 31%; top: -34px; z-index: 5; filter: drop-shadow(0 0 18px rgba(255, 160, 0, .75)); animation: crown 6s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes crown { 0%, 100% { transform: translateY(0) rotate(-8deg) rotateY(0deg); } 50% { transform: translateY(-9px) rotate(-4deg) rotateY(22deg); } }

/* Floating cards */
.float-card { position: absolute; z-index: 6; animation: floaty 6s ease-in-out infinite; }
.fc-face {
  width: 104px; height: 104px;
  border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(150deg, rgba(60, 46, 36, .95), rgba(14, 10, 8, .98) 55%);
  border: 1.5px solid rgba(255, 190, 70, .75);
  box-shadow: 0 0 0 4px rgba(20, 14, 10, .9), 0 0 0 5px rgba(255, 150, 40, .45), 0 0 26px rgba(255, 138, 0, .55), 0 26px 40px -10px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 240, 200, .35);
  transform-style: preserve-3d;
}
.fc-ico { font-family: var(--font-latin); font-weight: 800; font-size: 30px; color: #fff; line-height: 1; text-shadow: 0 0 10px rgba(255, 255, 255, .5); letter-spacing: -1px; }
.fc-label { font-family: var(--font-latin); font-size: 12px; font-weight: 700; color: #f2ede7; direction: ltr; }
.fc-ico--tpl { width: 46px; height: 36px; border: 3px solid #fff; border-radius: 6px; display: grid; grid-template-columns: 1fr 1.3fr; grid-template-rows: 8px 1fr; gap: 3px; padding: 3px; }
.fc-ico--tpl i { background: #fff; border-radius: 2px; }
.fc-ico--tpl i:first-child { grid-column: 1 / -1; }
.fc-ico--img { width: 46px; height: 38px; border: 3px solid #fff; border-radius: 6px; position: relative; overflow: hidden; }
.fc-ico--img i { position: absolute; left: -4px; bottom: -10px; width: 34px; height: 24px; background: #fff; transform: rotate(45deg); }
.fc-ico--img::after { content: ""; position: absolute; right: 6px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.fc--code { left: 6%; top: 42px; --rot: rotateY(28deg) rotateZ(-14deg); animation-delay: -1s; }
.fc--tpl { right: 18%; top: 22px; --rot: rotateY(-24deg) rotateZ(10deg); animation-delay: -3s; }
.fc--design { right: 6%; top: 138px; --rot: rotateY(-26deg) rotateZ(6deg); animation-delay: -2s; }
.fc--design .fc-face { width: 98px; height: 98px; }
.float-card .fc-face { transform: var(--rot); }
@keyframes floaty { 50% { translate: 0 -12px; } }
.chip-cube { position: absolute; width: 16px; height: 16px; border-radius: 4px; background: linear-gradient(145deg, #FFD36A, #FF8A00); box-shadow: 0 0 14px rgba(255, 138, 0, .9); animation: floaty 5s ease-in-out infinite; z-index: 6; }
.chip-cube::after { content: ""; position: absolute; inset: 4px; border-radius: 2px; background: #3a1c00; }
.cc--1 { left: 22%; top: 24px; transform: rotate(18deg); }
.cc--2 { right: 33%; top: 70px; width: 12px; height: 12px; animation-delay: -2s; }
.cc--3 { right: 32%; top: 196px; width: 22px; height: 18px; animation-delay: -3.5s; transform: rotate(-12deg); }

/* ---------- 5. Perks ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px 10px; margin-top: 4px; z-index: 5; }
.perk { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 12px; position: relative; }
.perk + .perk::before { content: ""; position: absolute; right: 0; top: 14%; bottom: 14%; width: 1px; background: linear-gradient(transparent, rgba(255, 178, 28, .35), transparent); }
.perk-ico { width: 48px; height: 48px; flex: none; filter: drop-shadow(0 4px 10px rgba(255, 120, 0, .5)); transition: transform .4s var(--ease); }
.perk:hover .perk-ico { transform: translateY(-4px) rotate(-6deg) scale(1.08); }
.perk b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.6; }
.perk span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ---------- 6. Showcase ---------- */
.showcase { display: grid; grid-template-columns: 234px minmax(0, 1fr) 258px; gap: 22px; margin-top: 26px; align-items: stretch; }

/* Robot card */
.robot-card { padding: 10px; overflow: visible; min-height: 352px; }
.robot-inner {
  position: relative; height: 100%; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 80% at 30% 20%, rgba(255, 140, 0, .35), transparent 55%), linear-gradient(160deg, #2b1a0d, #0d0907 70%);
  border: 1px solid rgba(255, 178, 28, .25);
}
.robot-glow { position: absolute; inset: 30% 10% 0 20%; background: radial-gradient(circle, rgba(255, 138, 0, .5), transparent 65%); filter: blur(20px); }
.robot-title {
  position: absolute; top: 26px; left: 12px; z-index: 3;
  font-size: 21px; font-weight: 900; line-height: 1.45; text-align: center;
  transform: rotate(-10deg);
  background: linear-gradient(180deg, #FFE7A0, #FFB21C 55%, #FF8A00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #5a2600) drop-shadow(0 6px 10px rgba(0, 0, 0, .8));
}
.robot-img { position: absolute; right: -30px; bottom: -30px; width: 104%; max-width: none; z-index: 2; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .85)); transition: transform .6s var(--ease); animation: robotFloat 6.5s ease-in-out infinite; }
@keyframes robotFloat { 50% { translate: 0 -8px; } }
.robot-card:hover .robot-img { transform: scale(1.04) rotate(-1.5deg); }
.robot-btn { position: absolute; bottom: 30px; left: 16px; z-index: 4; --h: 42px; padding: 0 16px; font-size: 14px; }

/* Banner */
.banner {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.08fr 1fr; align-items: center;
  min-height: 352px; padding: 22px 28px 26px;
  border: 1px solid rgba(255, 178, 28, .3);
  box-shadow: var(--shadow-deep), 0 0 40px -16px rgba(255, 138, 0, .6);
  isolation: isolate;
}
.banner-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 75% at 22% 30%, rgba(110, 60, 200, .55), transparent 70%),
    radial-gradient(45% 55% at 30% 95%, rgba(255, 138, 0, .55), transparent 70%),
    radial-gradient(60% 70% at 90% 60%, rgba(255, 138, 0, .22), transparent 70%),
    linear-gradient(115deg, #1a1028 0%, #120c14 40%, #1e1208 75%, #2a1708 100%);
  transition: filter .8s;
}
.banner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 30%); }
.banner-visual { position: relative; height: 300px; }
.mock-stage { position: absolute; inset: 0 0 60px; perspective: 900px; transform-style: preserve-3d; }
.mock {
  position: absolute; bottom: 10px;
  border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, #1d1530, #0e0a1a);
  border: 2px solid #2c2440;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .9), 0 0 18px rgba(130, 90, 255, .35);
  display: flex; flex-direction: column; gap: 5px; padding: 6px;
  transform: rotateY(-24deg) rotateX(6deg);
  transition: transform .8s var(--ease), filter .6s;
  animation: mockFloat 7s ease-in-out infinite;
}
.mock i { display: block; border-radius: 4px; }
.mk-bar { height: 7px; background: linear-gradient(90deg, #4c3d78, #2a2244); }
.mk-hero { flex: 0 0 34%; background: linear-gradient(135deg, var(--mk1, #7b5cff), var(--mk2, #ff7a3c)); box-shadow: inset 0 -12px 20px rgba(0, 0, 0, .35); }
.mk-row { height: 22%; background: repeating-linear-gradient(90deg, #362c56 0 30%, transparent 30% 35%); }
.mk-row--s { height: 10%; background: repeating-linear-gradient(90deg, #2a2244 0 22%, transparent 22% 26%); }
.mk-grid { flex: 1; background: repeating-linear-gradient(90deg, #f1eef8 0 31%, transparent 31% 34.5%); opacity: .9; -webkit-mask: repeating-linear-gradient(180deg, #000 0 44%, transparent 44% 52%); mask: repeating-linear-gradient(180deg, #000 0 44%, transparent 44% 52%); }
.mock--1 { right: 4%; width: 64px; height: 108px; bottom: 74px; opacity: .85; --mk1: #5e8bff; --mk2: #a45cff; animation-delay: -1s; }
.mock--2 { right: 17%; width: 82px; height: 150px; bottom: 50px; --mk1: #ff7a3c; --mk2: #8a4dff; animation-delay: -2.4s; }
.mock--3 { right: 34%; width: 104px; height: 196px; bottom: 24px; z-index: 2; background: linear-gradient(180deg, #fbfaff, #e9e4f5); border-color: #3a3150; --mk1: #ff9b2f; --mk2: #6f4cff; animation-delay: -.5s; }
.mock--3 .mk-bar { background: #2b2140; }
.mock--3 .mk-row, .mock--3 .mk-row--s { background: repeating-linear-gradient(90deg, #d4cde6 0 30%, transparent 30% 35%); }
.mock--3 .mk-grid { background: repeating-linear-gradient(90deg, #6d55c8 0 31%, transparent 31% 34.5%); }
.mock--4 { right: 56%; width: 88px; height: 160px; bottom: 42px; --mk1: #ffb21c; --mk2: #c94bff; background: linear-gradient(180deg, #f6f3ff, #ded7f0); border-color: #3a3150; animation-delay: -3.2s; }
.mock--4 .mk-row { background: repeating-linear-gradient(90deg, #cfc6e6 0 30%, transparent 30% 35%); }
.mock--4 .mk-grid { background: repeating-linear-gradient(90deg, #8a6df0 0 31%, transparent 31% 34.5%); }
.mock--5 { right: 76%; width: 70px; height: 120px; bottom: 66px; opacity: .85; --mk1: #8f5bff; --mk2: #ff6aa8; animation-delay: -4s; }
@keyframes mockFloat { 50% { translate: 0 -7px; } }
.mock-pedestal { position: absolute; left: 4%; right: 0; bottom: 6px; height: 78px; }
.mock-pedestal::before { content: ""; position: absolute; inset: 14px 2% 0; border-radius: 50%; background: linear-gradient(180deg, #1a130e, #040302); box-shadow: 0 16px 30px rgba(0, 0, 0, .9); }
.mock-pedestal span { position: absolute; inset: 0 6% 22px; border-radius: 50%; background: radial-gradient(60% 60% at 50% 40%, #33241a, #0a0706); box-shadow: inset 0 2px 0 rgba(255, 220, 140, .9), 0 0 0 2px rgba(255, 150, 30, .95), 0 0 22px 6px rgba(255, 138, 0, .85), 0 12px 0 #060403, 0 13px 0 1px rgba(255, 150, 30, .7), 0 16px 34px 6px rgba(255, 120, 0, .5); }
.seal { position: absolute; left: 0; bottom: 60px; width: 108px; height: 108px; z-index: 4; animation: sealSpin 10s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(255, 140, 0, .7)) drop-shadow(0 10px 14px rgba(0, 0, 0, .7)); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #3a1800; line-height: 1.05; }
.seal-txt b { font-size: 30px; font-weight: 900; }
.seal-txt span { font-size: 13px; font-weight: 800; }
@keyframes sealSpin { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(6deg) scale(1.05); } }

.banner-copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; padding-inline-start: 8px; }
.pill-tag { position: absolute; top: -4px; left: -8px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: rgba(8, 6, 5, .8); border: 1px solid rgba(255, 178, 28, .35); font-size: 13px; font-weight: 700; }
.banner-title { margin-top: 56px; display: flex; flex-direction: column; line-height: 1.25; }
.banner-title > span { font-size: 25px; font-weight: 800; }
.banner-title strong { font-family: var(--font-latin); font-size: 52px; font-weight: 800; direction: ltr; text-align: right; letter-spacing: -.5px; line-height: 1.15; }
.banner-desc { color: #e8e2dc; font-size: 15px; margin-top: 8px; }
.price-row { display: flex; align-items: baseline; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.price-now { color: var(--amber); font-weight: 900; font-size: 22px; text-shadow: 0 0 18px rgba(255, 138, 0, .45); }
.price-old { color: var(--muted-2); font-size: 14px; }
#bnAdd { margin-top: 14px; }
.banner-dots { position: absolute; bottom: 14px; left: 50%; translate: -50% 0; display: flex; gap: 8px; z-index: 5; direction: ltr; }
.banner-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: .3s var(--ease); }
.banner-dots button.is-active { background: var(--amber); width: 24px; border-radius: 6px; box-shadow: 0 0 10px rgba(255, 138, 0, .9); }
.banner.swap .banner-copy > * { animation: fadeUp .6s var(--ease) both; }
.banner.swap .banner-copy > *:nth-child(2) { animation-delay: .05s; }
.banner.swap .banner-copy > *:nth-child(3) { animation-delay: .1s; }
.banner.swap .banner-copy > *:nth-child(4) { animation-delay: .15s; }
.banner.swap .mock { filter: brightness(1.4); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* Categories */
.cats { padding: 16px 14px 14px; display: flex; flex-direction: column; }
.cats-head { display: flex; align-items: center; gap: 10px; padding: 4px 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.cats-head h3 { font-size: 16.5px; font-weight: 800; }
.cats-list { flex: 1; }
.cat-item {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: #ece6df;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: background .25s, color .25s, padding .25s var(--ease);
}
.cat-item .ic { width: 22px; height: 22px; transition: filter .3s, transform .3s var(--ease); }
.cat-item:hover, .cat-item.is-active { background: linear-gradient(90deg, rgba(120, 50, 0, .25), rgba(255, 120, 0, .28)); color: var(--white); }
.cat-item:hover .ic, .cat-item.is-active .ic { filter: drop-shadow(0 0 6px #FF9A00) drop-shadow(0 0 12px rgba(255, 138, 0, .7)); transform: scale(1.12); }
.cat-item:hover { padding-inline-start: 14px; }
.cat-item .count { margin-inline-start: auto; font-size: 12px; color: var(--muted-2); }
.cats-all { margin-top: 12px; --h: 44px; justify-content: space-between; padding: 0 18px; font-size: 14px; }

/* ---------- 7. Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 18px 20px; margin-top: 30px; }
.benefit {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 108px; padding: 10px 18px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(40, 30, 23, .9), rgba(12, 9, 7, .95));
  border: 1px solid rgba(255, 178, 28, .14);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 220, 160, .06);
  transform-style: preserve-3d;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.benefit:hover { border-color: rgba(255, 178, 28, .45); box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .95), 0 0 30px -8px rgba(255, 138, 0, .55); }
.benefit-txt b { display: block; white-space: nowrap; font-size: 16px; font-weight: 800; line-height: 1.6; }
.benefit-txt span { display: block; color: var(--muted); font-size: 13.5px; }
.benefit-obj { width: 112px; height: 112px; object-fit: contain; margin: -26px 0 -12px -6px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .8)) drop-shadow(0 0 16px rgba(255, 138, 0, .35)); transform: translateZ(40px); transition: transform .5s var(--ease); }
.benefit-obj--rocket { width: 96px; }
.benefit:hover .benefit-obj { transform: translateZ(60px) translateY(-6px) scale(1.06); }
.benefit:hover .benefit-obj--rocket { transform: translateZ(60px) translate(-4px, -12px) rotate(-6deg) scale(1.06); }

/* ---------- 8. Catalog ---------- */
.catalog { margin-top: 70px; scroll-margin-top: 100px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-size: 13.5px; font-weight: 700; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-gold); box-shadow: 0 0 8px var(--orange); }
.section-title { font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.4; }
.section-title--sm { font-size: clamp(22px, 2.4vw, 28px); margin: 4px 0 16px; }
.result-count { color: var(--muted); font-size: 14px; }

.filters { padding: 14px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; z-index: 4; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  font-size: 14px; font-weight: 600; color: #ddd6ce;
  transition: .25s var(--ease);
}
.chip .ic { width: 18px; height: 18px; }
.chip:hover { border-color: var(--line-strong); color: var(--gold); }
.chip.is-active { background: var(--grad-btn); color: #2a1300; border-color: transparent; box-shadow: 0 6px 18px -6px rgba(255, 138, 0, .8); }
.chip.is-active .ic { filter: brightness(.3); }
.filter-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.f-search { flex: 1 1 240px; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .4); }
.f-search:focus-within { border-color: var(--amber); }
.f-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; font-size: 14px; }
.f-search .ic { color: var(--muted); }
.f-select {
  height: 42px; padding: 0 14px 0 34px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(0, 0, 0, .4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23FFB21C' stroke-width='2'/%3E%3C/svg%3E") no-repeat left 12px center / 14px;
  font-size: 14px; appearance: none; cursor: pointer;
}
.f-select:focus { outline: none; border-color: var(--amber); }
.f-select option { background: #15100D; }
.f-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; padding: 0 6px; user-select: none; }
.f-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tg { width: 42px; height: 24px; border-radius: 99px; background: #2a211b; border: 1px solid var(--line); position: relative; transition: .25s; }
.tg::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #8d857d; transition: .3s var(--ease); }
.f-toggle input:checked + .tg { background: rgba(255, 138, 0, .35); border-color: var(--amber); }
.f-toggle input:checked + .tg::after { right: 21px; background: var(--amber); box-shadow: 0 0 10px var(--orange); }
.f-toggle input:focus-visible + .tg { outline: 2px solid var(--amber); outline-offset: 2px; }

.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.p-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 20px; padding: 10px;
  background: linear-gradient(165deg, rgba(36, 27, 21, .92), rgba(12, 9, 7, .96));
  border: 1px solid rgba(255, 178, 28, .13);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .95);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
  transform-style: preserve-3d;
  animation: cardIn .6s var(--ease) both;
}
.p-card:hover { --ty: -6px; border-color: rgba(255, 178, 28, .45); box-shadow: 0 28px 46px -18px rgba(0, 0, 0, .95), 0 0 34px -10px rgba(255, 138, 0, .6); }
.p-card::after { /* light reflection following the cursor */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 190, 90, .14), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.p-card:hover::after { opacity: 1; }
@keyframes cardIn { from { opacity: 0; transform: perspective(900px) translateY(24px) rotateX(8deg); } }
.p-cover-btn { display: block; border-radius: 14px; overflow: hidden; position: relative; }
.p-card .cover { aspect-ratio: 16 / 10.5; transform: translateZ(20px); transition: transform .5s var(--ease); }
.p-card:hover .cover { transform: translateZ(20px) scale(1.04); }
.p-badges { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; z-index: 2; }
.p-badge { padding: 1px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; background: var(--grad-btn); color: #2a1300; box-shadow: 0 4px 12px rgba(255, 138, 0, .5); }
.p-badge--dark { background: rgba(8, 6, 5, .85); color: var(--gold); border: 1px solid var(--line-strong); box-shadow: none; }
.p-body { padding: 12px 6px 4px; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: 12.5px; color: var(--amber); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.p-cat .ic { width: 15px; height: 15px; }
.p-title { font-size: 15.5px; font-weight: 800; line-height: 1.7; margin-top: 2px; text-align: right; }
.p-title:hover { color: var(--gold); }
.p-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.p-meta .rate { display: inline-flex; align-items: center; gap: 3px; color: var(--gold); font-weight: 700; }
.p-meta .rate .ic { width: 14px; height: 14px; }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.p-price b { display: block; color: var(--amber); font-weight: 900; font-size: 16.5px; line-height: 1.4; }
.p-price s { color: var(--muted-2); font-size: 12.5px; }
.add-btn { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-btn); color: #2a1300; box-shadow: 0 8px 20px -6px rgba(255, 138, 0, .8), inset 0 1px 0 rgba(255, 245, 210, .7); transition: transform .25s var(--ease); flex: none; }
.add-btn:hover { transform: translateY(-2px) rotate(-6deg); }
.add-btn.added { animation: added .6s var(--ease); }
@keyframes added { 40% { transform: scale(1.2); } }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state .ic { color: var(--amber); opacity: .7; }
.empty-state b { color: var(--white); font-size: 18px; }

/* Real product image on top of the glow background */
.cover--img img { position: absolute; inset: 6% 0 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .7)); }

/* Small covers (search, cart) drop the decorative text */
.sg-item .cv-bubble, .c-item .cv-bubble, .sg-item .cv-name, .c-item .cv-name { display: none; }
.sg-item .cv-code, .c-item .cv-code { font-size: 0; }

/* Generated product covers (no external images needed) */
.cover {
  --h1: #7b5cff; --h2: #ff8a00;
  position: relative; overflow: hidden; display: block;
  background: radial-gradient(80% 90% at 80% 10%, color-mix(in srgb, var(--h1) 55%, transparent), transparent 70%), radial-gradient(70% 80% at 10% 100%, color-mix(in srgb, var(--h2) 50%, transparent), transparent 70%), #120d0a;
  isolation: isolate;
}
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .12), transparent 40%); pointer-events: none; }
.cv-browser { position: absolute; inset: 14% 12% -8% 12%; border-radius: 8px; background: #f7f4fb; box-shadow: 0 14px 30px rgba(0, 0, 0, .6); transform: perspective(500px) rotateX(16deg) rotateY(-10deg); padding: 6%; display: flex; flex-direction: column; gap: 6%; }
.cv-browser i { display: block; border-radius: 3px; }
.cv-browser i:nth-child(1) { height: 8%; background: #2a2142; }
.cv-browser i:nth-child(2) { height: 36%; background: linear-gradient(120deg, var(--h1), var(--h2)); }
.cv-browser i:nth-child(3) { height: 14%; background: repeating-linear-gradient(90deg, #d8d1ea 0 30%, transparent 30% 35%); }
.cv-bot { position: absolute; left: 50%; top: 54%; width: 34%; aspect-ratio: 1.2; translate: -50% -50%; border-radius: 26%; background: linear-gradient(160deg, #f2f2f6, #a9a9b3); box-shadow: 0 12px 26px rgba(0, 0, 0, .6), inset 0 -6px 10px rgba(0, 0, 0, .2); }
.cv-bot::before { content: ""; position: absolute; inset: 20% 14%; border-radius: 30%; background: #0e0c14; box-shadow: inset 18px 0 0 -12px var(--h2); }
.cv-bot::after { content: ""; position: absolute; top: 40%; left: 30%; width: 12%; height: 18%; border-radius: 50%; background: var(--h2); box-shadow: 0 0 10px var(--h2), 18px 0 0 0 var(--h2); }
.cv-bubble { position: absolute; padding: 3% 6%; border-radius: 10px; font-size: 11px; font-weight: 700; color: #1a0d00; background: var(--gold); box-shadow: 0 6px 14px rgba(0, 0, 0, .5); white-space: nowrap; }
.cv-bubble--a { top: 16%; left: 8%; }
.cv-bubble--b { bottom: 10%; right: 8%; background: #fff; }
.cv-shape { position: absolute; border-radius: 22%; box-shadow: 0 12px 24px rgba(0, 0, 0, .55); }
.cv-shape--a { width: 34%; aspect-ratio: 1; left: 18%; top: 22%; background: linear-gradient(140deg, var(--h1), color-mix(in srgb, var(--h1) 40%, #000)); transform: rotate(-12deg); }
.cv-shape--b { width: 28%; aspect-ratio: 1; right: 20%; top: 18%; border-radius: 50%; background: linear-gradient(140deg, #FFE08A, var(--h2)); }
.cv-shape--c { width: 26%; aspect-ratio: 1; right: 34%; bottom: 10%; background: linear-gradient(140deg, #fff, #c8c2d6); transform: rotate(18deg); border-radius: 14%; }
.cv-code { position: absolute; inset: 16% 12%; border-radius: 10px; background: rgba(6, 5, 8, .85); border: 1px solid rgba(255, 255, 255, .1); padding: 7% 8%; font-family: ui-monospace, Consolas, monospace; font-size: 10.5px; line-height: 1.75; color: #d8d2e8; direction: ltr; text-align: left; box-shadow: 0 12px 26px rgba(0, 0, 0, .6); }
.cv-code em { color: var(--h2); font-style: normal; }
.cv-code u { color: var(--h1); text-decoration: none; }
.cv-icon { position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; translate: -50% -50%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .7)) drop-shadow(0 0 16px rgba(255, 138, 0, .45)); }
.cv-name { position: absolute; bottom: 7%; right: 7%; font-family: var(--font-latin); font-style: italic; font-weight: 800; font-size: 13px; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); direction: ltr; z-index: 2; }

/* ---------- 9. Info & footer ---------- */
.info-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; margin-top: 70px; }
.info-card { padding: 28px; scroll-margin-top: 100px; display: flex; flex-direction: column; }
.info-card .stats { margin-top: auto; padding-top: 22px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 10px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-size: 22px; font-weight: 400; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding: 0 0 12px; animation: fadeUp .4s var(--ease); }
.support-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.about-txt { color: var(--muted); line-height: 2.05; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.stats div { padding: 16px 10px; border-radius: 16px; text-align: center; background: rgba(255, 138, 0, .06); border: 1px solid var(--line); }
.stats b { display: block; font-size: 24px; font-weight: 900; color: var(--amber); text-shadow: 0 0 16px rgba(255, 138, 0, .5); }
.stats span { font-size: 13px; color: var(--muted); }

.site-footer { margin-top: 70px; padding-bottom: 20px; position: relative; }
.footer-box {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr 1.1fr; align-items: center;
  padding: 22px 26px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(20, 15, 11, .94), rgba(6, 5, 4, .97));
  border: 1px solid rgba(255, 178, 28, .3);
  box-shadow: 0 -10px 60px -20px rgba(255, 138, 0, .35), var(--shadow-deep), inset 0 1px 0 rgba(255, 210, 140, .15);
}
.footer-box::before { content: ""; position: absolute; top: -1px; inset-inline: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--amber), transparent); filter: drop-shadow(0 0 6px var(--orange)); }
.f-col { padding: 6px 20px; position: relative; }
.f-col + .f-col::before { content: ""; position: absolute; right: 0; top: 8%; bottom: 8%; width: 1px; background: linear-gradient(transparent, rgba(255, 178, 28, .3), transparent); }
.f-col h4 { font-size: 15.5px; font-weight: 800; margin-bottom: 10px; }
.f-links-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.f-quick { display: flex; flex-direction: column; gap: 2px; }
.f-quick a { color: var(--muted); font-size: 14px; width: fit-content; transition: .2s; }
.f-quick a:hover { color: var(--amber); translate: -4px 0; }
.f-c { display: flex; align-items: center; gap: 10px; color: #ece6df; font-size: 14px; margin-bottom: 6px; width: fit-content; }
.f-c:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: #f2ede7; transition: .25s var(--ease); }
.socials a:hover { background: var(--grad-btn); color: #2a1300; transform: translateY(-3px); box-shadow: 0 8px 18px -6px rgba(255, 138, 0, .8); }
.f-brand { display: flex; flex-direction: column; align-items: center; text-align: center; direction: ltr; }
.logo-mark--xl { width: 76px; height: 66px; margin-bottom: 4px; }
.logo-mark--xl .logo-crown { top: -32%; right: -20%; }
.logo-word--xl { font-size: 32px; }
.tagline { font-family: var(--font-latin); font-size: 13.5px; color: #eee; margin-top: 6px; font-weight: 600; letter-spacing: .3px; }
.tagline em { color: var(--orange); font-style: normal; }
.news-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.news-head p { color: var(--muted); font-size: 13.5px; }
.news-ico { width: 62px; height: 46px; flex: none; filter: drop-shadow(0 6px 14px rgba(255, 120, 0, .5)); animation: floaty 5s ease-in-out infinite; }
.news-form { display: flex; align-items: center; margin-top: 14px; height: 50px; padding: 5px; border-radius: 999px; background: rgba(0, 0, 0, .55); border: 1px solid var(--line-strong); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .7); transition: .2s; }
.news-form:focus-within { border-color: var(--amber); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .7), 0 0 20px -4px rgba(255, 138, 0, .6); }
.news-form.invalid { border-color: #ff5a3c; animation: shake .4s; }
.news-form input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 0 16px; font-size: 14px; }
.news-form input::placeholder { color: var(--muted-2); }
@keyframes shake { 25% { translate: 6px 0; } 50% { translate: -6px 0; } 75% { translate: 3px 0; } }
.form-msg { font-size: 13px; min-height: 22px; margin-top: 6px; }
.form-msg.ok { color: #7be08f; }
.form-msg.err { color: #ff8a6a; }
.form-msg.info { color: var(--gold); }
.copyright { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 18px; }
.heart { color: #ff3b3b; }

.to-top {
  position: fixed; left: 22px; bottom: 22px; z-index: 40;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--amber);
  background: rgba(10, 7, 5, .85);
  border: 2px solid var(--amber);
  box-shadow: 0 0 18px rgba(255, 138, 0, .55), inset 0 0 12px rgba(255, 138, 0, .3);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--grad-btn); color: #2a1300; }

/* ---------- 10. Drawer, modals, toasts ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .62); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: .3s; }
.overlay.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 85;
  width: min(420px, 100vw);
  display: flex; flex-direction: column;
  border-radius: 0 26px 26px 0;
  transform: translateX(-104%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s;
  box-shadow: 20px 0 60px rgba(0, 0, 0, .7);
}
.drawer.open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }
.drawer-head h3 .ic { color: var(--amber); }
.drawer-head .muted { font-size: 14px; font-weight: 500; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.c-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); animation: fadeUp .4s var(--ease); }
.c-item .cover { width: 74px; height: 56px; border-radius: 10px; }
.c-item b { display: block; font-size: 14px; line-height: 1.6; }
.c-item .c-price { color: var(--amber); font-size: 13.5px; font-weight: 700; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); }
.qty button { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; }
.qty button:hover { background: rgba(255, 138, 0, .2); color: var(--amber); }
.qty .ic { width: 14px; height: 14px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.c-remove { align-self: start; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.c-remove:hover { color: #ff7a5a; background: rgba(255, 90, 60, .12); }
.cart-empty { margin: auto; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 0; }
.cart-empty .ic { width: 60px; height: 60px; color: var(--amber); opacity: .6; }
.drawer-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; }
.sum-row { width: 100%; display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); padding: 3px 0; }
.sum-row b { color: var(--white); }
.sum-row--save b { color: #7be08f; }
.sum-row--total { font-size: 16px; color: var(--white); font-weight: 700; margin: 6px 0 14px; padding-top: 10px; border-top: 1px dashed var(--line); }
.sum-row--total b { color: var(--amber); font-size: 19px; }

.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .66); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-card { position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 26px; padding: 28px; box-shadow: var(--shadow-deep), 0 0 60px -20px rgba(255, 138, 0, .5); transform: translateY(24px) scale(.96); transition: transform .4s var(--ease); }
.modal.open .modal-card { transform: none; }
.modal-card--wide { width: min(880px, 100%); }
.modal-card--video { width: min(860px, 100%); padding: 14px; }
.modal-x { position: absolute; top: 14px; left: 14px; z-index: 3; }
.modal-title { font-size: 21px; font-weight: 900; margin-bottom: 4px; }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.pm-grid .cover { border-radius: 18px; aspect-ratio: 4 / 3; }
.pm-grid h3 { font-size: 23px; font-weight: 900; line-height: 1.5; margin: 6px 0; }
.pm-grid p { color: var(--muted); }
.pm-feats { margin: 14px 0; display: grid; gap: 6px; }
.pm-feats li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.pm-feats .ic { color: var(--amber); width: 16px; height: 16px; }
.pm-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.pm-tags span { font-size: 12px; padding: 2px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.pm-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pm-buy .p-price b { font-size: 22px; }

.form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.field span { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.field input { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .45); font-size: 14.5px; transition: .2s; }
.field input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 138, 0, .12); }
.field.has-err input { border-color: #ff6a4a; }
.err { display: block; font-style: normal; color: #ff8a6a; font-size: 12.5px; min-height: 0; }
.co-summary { padding: 12px 14px; border-radius: 14px; background: rgba(255, 138, 0, .07); border: 1px dashed var(--line-strong); font-size: 14px; }
.co-summary div { display: flex; justify-content: space-between; gap: 10px; }
.co-summary .tot { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); font-weight: 800; color: var(--amber); }
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .4); border: 1px solid var(--line); margin-top: 14px; }
.tab { flex: 1; height: 40px; border-radius: 10px; font-weight: 700; color: var(--muted); transition: .25s; }
.tab.is-active { background: var(--grad-btn); color: #2a1300; }
.reg-only { display: none; }
.form.is-register .reg-only { display: block; }

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #050403; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.intro { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: radial-gradient(60% 70% at 50% 60%, rgba(255, 120, 0, .45), transparent 70%), #080605; overflow: hidden; }
.intro .logo-mark { width: 110px; height: 96px; animation: introPop 1.2s var(--ease) both; }
.intro .logo-word { font-size: 46px; display: block; animation: fadeUp 1s .5s var(--ease) both; }
.intro small { display: block; margin-top: 10px; font-family: var(--font-latin); color: #eee; letter-spacing: 4px; animation: fadeUp 1s .9s var(--ease) both; }
.intro p { color: var(--muted); margin-top: 18px; font-size: 13.5px; animation: fadeUp 1s 1.3s var(--ease) both; }
.intro-ring { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 160, 40, .55); box-shadow: 0 0 40px rgba(255, 138, 0, .6), inset 0 0 40px rgba(255, 138, 0, .4); animation: introRing 4s ease-in-out infinite; }
@keyframes introPop { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }
@keyframes introRing { 0% { transform: scale(.6) rotateX(70deg); opacity: 0; } 50% { opacity: 1; } 100% { transform: scale(1.3) rotateX(70deg); opacity: 0; } }

.toasts { position: fixed; bottom: 22px; left: 50%; translate: -50% 0; z-index: 120; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; background: linear-gradient(160deg, rgba(40, 28, 20, .97), rgba(14, 10, 8, .98)); border: 1px solid var(--line-strong); box-shadow: var(--shadow-deep), 0 0 24px -6px rgba(255, 138, 0, .5); font-size: 14px; font-weight: 600; animation: toastIn .45s var(--ease) both; }
.toast .ic { color: var(--amber); }
.toast.out { animation: toastOut .35s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

.fly-dot { position: fixed; z-index: 130; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF1C9, #FFB21C 45%, #FF8A00); box-shadow: 0 0 18px 4px rgba(255, 138, 0, .9); pointer-events: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.benefits.reveal.in .benefit, .perks.reveal.in .perk { animation: fadeUp .7s var(--ease) both; }
.benefits.reveal.in .benefit:nth-child(2), .perks.reveal.in .perk:nth-child(2) { animation-delay: .08s; }
.benefits.reveal.in .benefit:nth-child(3), .perks.reveal.in .perk:nth-child(3) { animation-delay: .16s; }
.benefits.reveal.in .benefit:nth-child(4), .perks.reveal.in .perk:nth-child(4) { animation-delay: .24s; }

/* ---------- 11. Responsive ---------- */
@media (max-width: 1180px) {
  .header-bar { gap: 12px; padding: 0 16px 0 12px; }
  .nav-link { padding: 0 9px; }
  .search { max-width: 240px; }
  .cart-label { display: none; }
  .cart-ico { margin-inline-start: 4px; }
  .showcase { grid-template-columns: 220px minmax(0, 1fr) 236px; gap: 18px; }
  .banner { padding: 20px 20px 26px; }
  .banner-title strong { font-size: 44px; }
  .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits { gap: 14px; padding: 16px; }
  .benefit { padding: 10px 14px; }
  .benefit-obj { width: 92px; height: 92px; }
}

@media (max-width: 1024px) {
  .nav-links, .header-actions #authBtn { display: none; }
  .menu-btn { display: inline-flex; }
  .search { max-width: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .scene { scale: .84; transform-origin: 50% 20%; }
  .showcase { grid-template-columns: 1fr 1fr; }
  .banner { grid-column: 1 / -1; order: -1; }
  .robot-card { min-height: 360px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .footer-box { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .f-brand { grid-column: 1 / -1; order: -1; padding-bottom: 14px; }
  .f-col + .f-col::before { display: none; }
  .f-news::before { display: block !important; }
}

@media (max-width: 820px) {
  .hero-title { white-space: normal; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; padding-top: 28px; }
  .hero-desc { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { height: 400px; width: 100%; max-width: 640px; margin: 10px auto 0; }
  .scene { scale: .92; }
  .perks { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .perk:nth-child(3)::before { display: none; }
  .perk { justify-content: flex-start; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .info-grid { grid-template-columns: 1fr; }
  .pm-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { width: min(100% - 24px, var(--container)); }
  :root { --header-h: 62px; }
  .site-header { top: 8px; margin-top: 8px; }
  .header-bar { padding: 0 12px 0 8px; gap: 6px; border-radius: 20px; }
  .header-bar > .search { display: none; }
  .logo { margin-inline-end: auto; }
  .hero-title { font-size: 31px; }
  .hero-sub { font-size: 19px; }
  .hero-desc { font-size: 15px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-visual { height: 280px; margin-top: 18px; }
  .scene { scale: .6; transform-origin: 50% 0; }
  .robot-img { width: 80%; right: -14px; bottom: -20px; }
  .robot-title { font-size: 24px; top: 30px; left: 22px; }
  .cloud--a { width: 260px; left: -90px; }
  .cloud--b { width: 220px; right: 0; }
  .cloud--c { width: 200px; right: -50px; }
  .orbit { width: 90%; left: -10%; }
  .perks { grid-template-columns: 1fr 1fr; padding: 14px 6px; }
  .perk { flex-direction: column; text-align: center; gap: 6px; justify-content: center; }
  .perk + .perk::before { display: none; }
  .perk b { font-size: 14px; }
  .perk span { font-size: 12.5px; }
  .showcase { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr; padding: 18px 18px 34px; }
  .banner-visual { height: 250px; order: 1; }
  .banner-copy { order: 0; }
  .pill-tag { position: static; }
  .banner-title { margin-top: 14px; }
  .banner-title strong { font-size: 40px; }
  .price-row { margin-top: 16px; }
  .seal { width: 88px; height: 88px; bottom: 40px; }
  .seal-txt b { font-size: 24px; }
  .robot-card { min-height: 400px; }
  .benefits { grid-template-columns: 1fr; padding: 14px; gap: 12px; }
  .grid-products { grid-template-columns: 1fr; }
  .filter-tools .f-select { flex: 1 1 calc(50% - 5px); }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-box { grid-template-columns: 1fr; padding: 22px 16px; }
  .f-col { padding: 14px 4px; }
  .f-news::before { display: none !important; }
  .f-links-wrap { grid-template-columns: 1fr 1fr; }
  .stats b { font-size: 20px; }
  .info-card { padding: 22px 18px; }
  .modal-card { padding: 22px 18px; border-radius: 22px; }
  .to-top { left: 14px; bottom: 14px; width: 46px; height: 46px; }
  .btn { min-height: 44px; }
}

@media (max-width: 380px) {
  .scene { scale: .54; }
  .hero-visual { height: 250px; }
  .logo-word { font-size: 17px; }
  .hdr-btn { padding: 0 8px; }
  .hero-title { font-size: 27px; }
  .banner-title strong { font-size: 34px; }
}

@media (hover: none) {
  .p-card, .benefit { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Mobile and live-search refinements */
@media (min-width: 641px) { .search { max-width: 390px; } .search-suggest { min-width: min(390px, calc(100vw - 24px)); z-index: 120; } }
.sg-item { min-width: 0; }
.sg-item > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; flex: 1; }
.sg-item b { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sg-item > span > span { flex: none; white-space: nowrap; font-weight: 800; }
@media (max-width: 640px) {
  .header-actions { order: -1; }
  .header-bar > .logo { margin-inline-end: 0; margin-inline-start: auto; }
  .user-chip__txt { display: none; }
  .user-chip { padding: 0 3px; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
  .benefit { min-height: 92px; padding: 10px; overflow: hidden; }
  .benefit-obj { width: 58px; height: 58px; inset-inline-end: 4px; opacity: .86; }
  .benefit-txt { position: relative; z-index: 1; max-width: 72%; font-size: 12px; }
  .benefit-txt b { font-size: 13px; }
  .footer-box { gap: 6px; padding: 16px 12px; }
  .f-col { padding: 10px 4px; }
  .f-links-wrap { gap: 12px; }
  .copyright { font-size: 11.5px; line-height: 1.9; padding-inline: 8px; }
  .scene { width: 120%; left: -10%; transform-origin: 50% 10%; }
  .hero-crown { width: 78px; left: 38%; top: -4px; }
  .cloud { animation-duration: 34s; }
}
@media (max-width: 380px) { .header-actions { gap: 2px; } .benefit { min-height: 84px; } .benefit-obj { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: no-preference) {
  .cloud--a { animation: cloud 32s ease-in-out infinite alternate; }
  .cloud--b { animation: cloudR 38s ease-in-out infinite alternate; }
  .cloud--c { animation: cloud 42s ease-in-out infinite alternate-reverse; }
}
.fly-dot { background: radial-gradient(circle, #fff8d9 0 18%, #ffd64f 30%, #ffae00 58%, rgba(255,138,0,.2) 74%); box-shadow: 0 0 12px 5px rgba(255,205,55,.9), 0 0 34px 10px rgba(255,138,0,.58); }

.banner-custom-image { position:absolute; inset:8% 8% 12%; width:84%; height:80%; object-fit:contain; filter:drop-shadow(0 20px 24px rgba(0,0,0,.6)); }
.err-card { position:relative; overflow:hidden; }
body:has(.err-card) .err-page { min-height:80vh; display:grid; place-items:center; }
.maintenance-card { width:min(100%,640px); padding:clamp(28px,7vw,64px); text-align:center; background:radial-gradient(70% 80% at 50% 0%,rgba(255,178,28,.16),transparent 70%),linear-gradient(145deg,rgba(32,23,16,.98),rgba(10,8,6,.99)); border-color:rgba(255,178,28,.3); box-shadow:0 30px 100px rgba(0,0,0,.6),0 0 70px rgba(255,138,0,.12); }
.maintenance-orb { display:grid; place-items:center; width:120px; height:120px; margin:0 auto 24px; border-radius:36px; background:linear-gradient(145deg,rgba(255,178,28,.22),rgba(255,138,0,.04)); box-shadow:inset 0 0 0 1px rgba(255,178,28,.3),0 16px 40px rgba(0,0,0,.4); animation:maintenanceFloat 4s ease-in-out infinite; }
@keyframes maintenanceFloat { 50% { transform:translateY(-8px) rotate(-3deg); } }

@media (max-width:640px) { .grid-products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .p-card { min-width:0; } .p-title { font-size:13px; } .p-foot { gap:5px; } .p-price b { font-size:14px; } .p-price s { font-size:11px; } .add-btn { width:36px; height:36px; } }
/* Single centered notification stack for storefront and admin */
.toasts { position:fixed; left:50%; right:auto; bottom:calc(22px + env(safe-area-inset-bottom,0px)); translate:-50% 0; width:min(92vw,390px); align-items:center; z-index:250; }
.toast { width:auto; max-width:100%; text-align:center; justify-content:center; border-radius:18px; }

@media (min-width:1025px) { .footer-box { grid-template-columns: 1fr 1fr; } }
