/* ==========================================================================
   REDVOLT — Custom styles (loaded AFTER css/tailwind.css)
   Sections:
   1. Tokens & base          6. Product cards & filters
   2. Buttons & primitives   7. Sections (stats, why, steps, reviews, faq)
   3. Reveal animations      8. Flash sale, offers, coupons, bundles
   4. Navbar & menus         9. Modal, search, toast, floating buttons
   5. Hero scene             10. Utilities & reduced motion
   ========================================================================== */

/* ---------- 1. Tokens & base ---------- */
:root {
  --ink-950: #050506;
  --ink-900: #0a0a0c;
  --ink-800: #101013;
  --ink-700: #17171c;
  --red: #ef2a3c;
  --red-300: #ff8a95;
  --red-400: #ff5566;
  --red-600: #d81c2e;
  --red-800: #820c17;
  --ember: #ff6a3d;
  --bone: #f6f4f2;
  --ash-300: #c9c9d1;
  --ash-400: #a0a0ab;
  --ash-500: #7c7c88;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --nav-h: 76px;
  --glow: 0 0 0 1px rgba(239, 42, 60, 0.4), 0 18px 60px -14px rgba(239, 42, 60, 0.55);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  background: var(--ink-950);
  color: var(--bone);
  font-family: "IBM Plex Sans Arabic", "Cairo", Tahoma, system-ui, sans-serif;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
::selection { background: var(--red); color: #fff; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: "Cairo", "IBM Plex Sans Arabic", Tahoma, sans-serif; line-height: 1.35; letter-spacing: 0; text-wrap: balance; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--red-400); outline-offset: 3px; border-radius: 10px; }

/* Slim dark scrollbar */
* { scrollbar-width: thin; scrollbar-color: #3a3a44 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #2f2f38; border-radius: 10px; border: 2px solid var(--ink-950); }
::-webkit-scrollbar-thumb:hover { background: var(--red-600); }

.skip-link {
  position: fixed; top: -80px; inset-inline-start: 1rem; z-index: 200;
  background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: 12px; font-weight: 700;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 1rem; }

.section { position: relative; padding-block: clamp(3.25rem, 6.5vw, 5.25rem); }
.section.section--flush-top { padding-top: 2rem; }
.section--tint { background: linear-gradient(180deg, var(--ink-950), var(--ink-800) 18%, var(--ink-800) 82%, var(--ink-950)); }

/* Section heading: title at the start edge, optional action at the end */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.sec-title { font-weight: 800; font-size: clamp(1.75rem, 4.2vw, 2.7rem); position: relative; padding-inline-start: 1.1rem; }
.sec-title::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .28em; bottom: .28em; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--red-400), var(--red-800)); box-shadow: 0 0 18px rgba(239, 42, 60, .8);
}
.sec-sub { color: var(--ash-400); margin-top: .35rem; max-width: 46ch; font-size: 1rem; padding-inline-start: 1.1rem; }
.sec-head--center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.sec-head--center .sec-title { padding-inline-start: 0; }
.sec-head--center .sec-title::before { display: none; }
.sec-head--center .sec-sub { padding-inline-start: 0; }

.text-gradient {
  background: linear-gradient(180deg, #ffffff 10%, #ffd6da 50%, #ff5566 105%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-red-grad { background: linear-gradient(135deg, #ff8a95, #ef2a3c 60%, #ff6a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 2. Buttons & primitives ---------- */
/* :where() keeps specificity at 0 so Tailwind display utilities (hidden, sm:inline-flex...) can override */
:where(.btn) { display: inline-flex; }
:where(.icon-btn) { display: inline-grid; }
.btn {
  position: relative; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.55rem; border-radius: 14px; font-weight: 700; font-size: 1rem; line-height: 1.2;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .35s, background .3s, border-color .3s, color .3s;
}
.btn:active { transform: scale(.96); }
.btn svg { flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(-4px); }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, #ff4457 0%, #e11d2e 48%, #a80f14 100%);
  box-shadow: 0 12px 32px -10px rgba(239, 42, 60, .75), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .38) 50%, transparent 68%);
  transform: translateX(130%); transition: transform .8s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(239, 42, 60, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover::after { transform: translateX(-130%); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .04); border-color: var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(239, 42, 60, .7); transform: translateY(-2px); }
.btn-light { color: #16090b; background: #fff; box-shadow: 0 12px 30px -10px rgba(255, 255, 255, .4); }
.btn-light:hover { transform: translateY(-2px); background: #ffe9eb; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.08rem; border-radius: 16px; }
.btn-sm { padding: .62rem 1rem; font-size: .9rem; border-radius: 12px; }
.btn-block { width: 100%; }
.icon-btn {
  place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #fff; cursor: pointer;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .25s var(--ease);
}
.icon-btn:hover { background: rgba(239, 42, 60, .16); border-color: rgba(239, 42, 60, .6); }
.icon-btn:active { transform: scale(.92); }

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: #141418; }
}
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1.6;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--ash-300);
}
.chip-red { background: rgba(239, 42, 60, .14); border-color: rgba(239, 42, 60, .45); color: var(--red-300); }

/* Cursor spotlight (set by JS through --mx / --my) */
.spot { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(239, 42, 60, .2), transparent 60%);
}
.spot:hover::before { opacity: 1; }

/* ---------- 3. Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.reveal-scale { transform: scale(.94); }
.js .reveal.reveal-fade { transform: none; }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes floaty { 0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); } 50% { transform: translate3d(0, -14px, 0) rotate(var(--r, 0deg)); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseGlow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.2); opacity: 0; } }
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(40px, -30px, 0) scale(1.15); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .55; } }
@keyframes tick { from { transform: translateY(-6px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes gridMove { to { transform: translateY(64px); } }
@keyframes sweep { 0% { transform: translateX(-30%) rotate(18deg); opacity: 0; } 20%, 70% { opacity: .9; } 100% { transform: translateX(30%) rotate(18deg); opacity: 0; } }
@keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drawLineY { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- 4. Navbar & menus ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50; border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 6, .75), transparent); pointer-events: none; transition: opacity .35s; }
.nav.is-scrolled { background: rgba(5, 5, 6, .8); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); border-color: var(--line); box-shadow: 0 14px 40px -24px #000; }
.nav.is-scrolled::before { opacity: 0; }
.nav__inner { position: relative; height: var(--nav-h); transition: height .35s var(--ease); }
.nav.is-scrolled .nav__inner { height: 64px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; font-family: "Cairo", sans-serif; font-weight: 900; font-size: 1.35rem; line-height: 1; }
.logo__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, #ff4457, #a80f14); box-shadow: 0 8px 24px -6px rgba(239, 42, 60, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .4s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo small { display: block; font-family: "IBM Plex Sans Arabic", sans-serif; font-weight: 500; font-size: .66rem; color: var(--ash-400); margin-top: .25rem; }
.nav-link { position: relative; padding: .5rem .1rem; color: var(--ash-300); font-weight: 500; font-size: .98rem; transition: color .25s; }
.nav-link::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent); box-shadow: 0 0 12px var(--red); transform: scaleX(0); transition: transform .35s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.burger { position: relative; }
.burger span { position: absolute; inset-inline: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mmenu { position: fixed; inset: 0; z-index: 70; visibility: hidden; pointer-events: none; transition: visibility 0s .45s; }
.mmenu.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mmenu__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity .4s; }
.mmenu__panel {
  position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(88vw, 370px); padding: 1.25rem; display: flex; flex-direction: column;
  background: radial-gradient(120% 60% at 100% 0%, rgba(239, 42, 60, .22), transparent 60%), #0b0b0e; border-inline-end: 1px solid var(--line-2);
  transform: translateX(105%); transition: transform .5s var(--ease); overflow-y: auto;
}
.mmenu.is-open .mmenu__backdrop { opacity: 1; }
.mmenu.is-open .mmenu__panel { transform: none; }
.mmenu__link {
  display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border-radius: 16px; font-weight: 700; font-size: 1.1rem;
  border: 1px solid transparent; opacity: 0; transform: translateX(28px); transition: opacity .4s, transform .5s var(--ease), background .25s, border-color .25s;
  transition-delay: calc(var(--i, 0) * 45ms + 120ms), calc(var(--i, 0) * 45ms + 120ms), 0s, 0s;
}
.mmenu__link:hover, .mmenu__link.is-active { background: rgba(239, 42, 60, .1); border-color: rgba(239, 42, 60, .4); }
.mmenu.is-open .mmenu__link { opacity: 1; transform: none; }

/* ---------- 5. Hero scene ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + 2rem) 0 6.5rem; }
.hero__bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(52% 55% at 24% 48%, rgba(239, 42, 60, .3), transparent 72%),
    radial-gradient(40% 40% at 88% 8%, rgba(255, 106, 61, .16), transparent 70%),
    radial-gradient(80% 50% at 50% 118%, rgba(168, 15, 20, .65), transparent 72%),
    var(--ink-950);
}
.hero__grain { position: absolute; inset: 0; z-index: -2; opacity: .5; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero__floor { position: absolute; inset-inline: -30%; bottom: -6%; height: 52%; z-index: -2; perspective: 520px; overflow: hidden; -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 92%); mask-image: linear-gradient(to top, #000 15%, transparent 92%); pointer-events: none; }
.hero__plane { position: absolute; inset: 0; transform: rotateX(62deg); transform-origin: 50% 100%; overflow: hidden; }
.hero__plane::before {
  content: ""; position: absolute; inset: -128px 0 0; animation: gridMove 3.2s linear infinite;
  background-image: linear-gradient(rgba(239, 42, 60, .55) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(239, 42, 60, .55) 1.5px, transparent 1.5px);
  background-size: 64px 64px; background-position: center bottom;
}
.hero__beam { position: absolute; z-index: -2; width: 46vmax; height: 130%; top: -15%; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 60, 80, .16) 50%, transparent); animation: sweep 9s ease-in-out infinite; }
.hero__beam--a { inset-inline-start: 4%; }
.hero__beam--b { inset-inline-start: 40%; animation-delay: 4.5s; width: 30vmax; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .7)); }

.hero__title { font-weight: 900; font-size: clamp(2.3rem, 5.6vw, 4.3rem); line-height: 1.25; }
.hero__lead { color: var(--ash-300); font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 34rem; }
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--ash-400); font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: .45rem; }
.trust svg { color: var(--red-400); }

.scene { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1; margin-inline: auto; }
.scene__l { position: absolute; transform: translate3d(calc(var(--px, 0) * var(--z, 0) * 1px), calc(var(--py, 0) * var(--z, 0) * 1px), 0); transition: transform .35s ease-out; }
.scene__glow { inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(239, 42, 60, .55), rgba(168, 15, 20, .18) 48%, transparent 70%); animation: pulseGlow 5s ease-in-out infinite; }
.scene__ring { inset: 6%; border-radius: 50%; border: 1px dashed rgba(255, 90, 105, .45); animation: spin 60s linear infinite; }
.scene__ring--2 { inset: 17%; border: 1px solid rgba(255, 90, 105, .22); animation-duration: 40s; animation-direction: reverse; }
.scene__ring::after { content: ""; position: absolute; top: -5px; inset-inline-start: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--red-400); box-shadow: 0 0 18px 4px rgba(239, 42, 60, .9); }
.float { animation: floaty var(--dur, 6s) ease-in-out var(--delay, 0s) infinite; }
.scene img { user-select: none; -webkit-user-drag: none; }

.fcard {
  display: flex; align-items: center; gap: .7rem; padding: .55rem .8rem .55rem 1rem; border-radius: 18px; min-width: 190px;
  background: linear-gradient(160deg, rgba(30, 30, 38, .85), rgba(14, 14, 18, .75)); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .9), 0 0 40px -12px rgba(239, 42, 60, .45);
}
.fcard img { width: 46px; height: 46px; border-radius: 13px; object-fit: cover; flex: none; }
.fcard b { display: block; font-size: .9rem; line-height: 1.3; font-weight: 700; }
.fcard span { font-size: .78rem; color: var(--ash-400); }
.fcard em { font-style: normal; color: var(--red-300); font-weight: 700; }
.tile {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: #ffd6da;
  background: linear-gradient(150deg, rgba(60, 20, 26, .85), rgba(16, 10, 12, .8)); border: 1px solid rgba(239, 42, 60, .45);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .15), 0 0 34px -8px rgba(239, 42, 60, .6);
}
.pill-live { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: rgba(10, 10, 12, .8); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dot-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34d399; }
.dot-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s ease-out infinite; }

/* ---------- 6. Product cards & filters ---------- */
.pgrid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 262px), 1fr)); transition: opacity .18s ease, transform .18s ease; }
.pgrid.is-swapping { opacity: 0; transform: scale(.985); }
.pcard {
  position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; cursor: pointer; text-align: start;
  background: linear-gradient(180deg, #16161b, #0d0d10); border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; animation: cardIn .55s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 50ms);
}
.pcard:hover, .pcard:focus-within { transform: translateY(-7px); border-color: rgba(239, 42, 60, .6); box-shadow: 0 26px 60px -22px rgba(239, 42, 60, .6); }
.pcard--noanim { animation: none; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0a0a0c; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.09); }
.pcard__media::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 45%; background: linear-gradient(to top, #111115, transparent); pointer-events: none; }
.pcard__badge { display: inline-flex; align-items: center; gap: .3rem; position: absolute; z-index: 2; top: .75rem; inset-inline-start: .75rem; padding: .22rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 800; color: #fff; line-height: 1.7;
  background: linear-gradient(135deg, #ff4457, #b0111f); box-shadow: 0 8px 20px -6px rgba(239, 42, 60, .8); }
.pcard__badge svg { width: 12px; height: 12px; }
.pcard__off { position: absolute; z-index: 2; top: .75rem; inset-inline-end: .75rem; padding: .22rem .6rem; border-radius: 10px; font-size: .78rem; font-weight: 800; color: #fff; background: rgba(5, 5, 6, .72); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); line-height: 1.7; }
.pcard__body { display: flex; flex-direction: column; flex: 1; gap: .55rem; padding: 1.1rem 1.15rem 1.2rem; }
.pcard__name { font-size: 1.12rem; font-weight: 800; line-height: 1.4; }
.pcard__desc { color: var(--ash-400); font-size: .9rem; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.15em; }
.pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.pcard__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .6rem; margin-top: auto; padding-top: .35rem; }
.price { font-family: "Cairo", sans-serif; font-weight: 900; font-size: 1.65rem; line-height: 1.2; color: #fff; }
.price small { font-size: .8rem; font-weight: 700; color: var(--ash-300); margin-inline-start: .25rem; }
.price-old { color: var(--ash-500); text-decoration: line-through; text-decoration-color: rgba(239, 42, 60, .8); font-size: .95rem; }
.price-off { color: #ff8a95; background: rgba(239, 42, 60, .14); border-radius: 8px; padding: .05rem .5rem; font-size: .8rem; font-weight: 800; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.filters::-webkit-scrollbar { display: none; }
.fchip {
  padding: .55rem 1.15rem; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--ash-300); cursor: pointer; white-space: nowrap;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: all .3s var(--ease);
}
.fchip:hover { color: #fff; border-color: rgba(239, 42, 60, .55); }
.fchip.is-active { color: #fff; background: linear-gradient(135deg, #ff4457, #b0111f); border-color: transparent; box-shadow: 0 10px 26px -10px rgba(239, 42, 60, .9); }
.field {
  width: 100%; padding: .95rem 3rem .95rem 1rem; border-radius: 16px; color: #fff; font: inherit; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field::placeholder { color: var(--ash-500); }
.field:focus { outline: none; border-color: var(--red-400); background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 4px rgba(239, 42, 60, .18), 0 0 40px -10px rgba(239, 42, 60, .6); }
select.field { padding: .85rem 1rem; appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0ab' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: left 1rem center; padding-inline-end: 1rem; padding-left: 2.5rem; }
select.field option { background: #111115; color: #fff; }
.empty { display: grid; place-items: center; text-align: center; gap: .75rem; padding: 3.5rem 1rem; border: 1px dashed var(--line-2); border-radius: 24px; background: rgba(255, 255, 255, .02); }

/* Category cards */
.cat { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); background: #0a0a0c; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); z-index: -2; }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(5, 5, 6, .95) 6%, rgba(5, 5, 6, .35) 45%, transparent 75%); }
.cat:hover, .cat:focus-visible { transform: translateY(-9px); border-color: rgba(239, 42, 60, .7); box-shadow: 0 30px 70px -22px rgba(239, 42, 60, .7); }
.cat:hover img { transform: scale(1.1); }
.cat__body { position: absolute; inset-inline: 0; bottom: 0; padding: 1.1rem; }
.cat__icon { position: absolute; top: .9rem; inset-inline-start: .9rem; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; font-size: 1.3rem; background: rgba(5, 5, 6, .6); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- 7. Sections ---------- */
.stats { position: relative; z-index: 5; margin-top: -3.25rem; }
.stats__box { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, rgba(24, 24, 30, .92), rgba(12, 12, 15, .92)); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px #000, 0 0 60px -20px rgba(239, 42, 60, .35); }
.stat { padding: 1.6rem 1rem; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(180deg, transparent, var(--line-2), transparent); }
.stat__num { font-family: "Cairo", sans-serif; font-weight: 900; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.2; direction: ltr; unicode-bidi: isolate; }
.stat__label { color: var(--ash-400); font-weight: 600; }
@media (min-width: 768px) { .stats__box { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .stat:nth-child(3)::before { display: none; } .stat:nth-child(n + 3) { border-top: 1px solid var(--line); } }

.why { padding: 1.6rem; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); border: 1px solid var(--line); transition: transform .45s var(--ease), border-color .45s; }
.why:hover { transform: translateY(-5px); border-color: rgba(239, 42, 60, .5); }
.why__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; font-size: 1.6rem; margin-bottom: 1.1rem; background: radial-gradient(circle at 30% 20%, rgba(239, 42, 60, .35), rgba(239, 42, 60, .06)); border: 1px solid rgba(239, 42, 60, .4); box-shadow: 0 0 30px -8px rgba(239, 42, 60, .6); }

/* Steps timeline: connected circles on md+, stacked cards on mobile */
.steps { position: relative; display: grid; gap: 1.5rem; list-style: none; padding: 0; }
.steps::before { content: ""; position: absolute; z-index: 0; background: linear-gradient(90deg, var(--red), rgba(239, 42, 60, .15)); box-shadow: 0 0 16px rgba(239, 42, 60, .6); transform: scaleX(0); transform-origin: 100% 50%; height: 2px; top: 34px; inset-inline: 16.66% 16.66%; pointer-events: none; }
.steps.is-in::before { animation: drawLine 1.4s var(--ease) .2s forwards; }
.step { position: relative; z-index: 1; padding: 1.6rem; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); }
.step__n { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin-bottom: 1.2rem; font-family: "Cairo", sans-serif; font-weight: 900; font-size: 1.7rem; background: radial-gradient(circle at 30% 25%, #ff4457, #8f0b18); box-shadow: 0 0 0 6px rgba(239, 42, 60, .15), 0 0 40px -4px rgba(239, 42, 60, .8); }
.step__n::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(239, 42, 60, .6); animation: ping 3s ease-out infinite; }
.step:nth-child(2) .step__n::after { animation-delay: 1s; } .step:nth-child(3) .step__n::after { animation-delay: 2s; }
@media (max-width: 767px) { .steps::before { display: none; } .step { display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; align-items: start; } .step__n { grid-row: span 2; margin-bottom: 0; width: 56px; height: 56px; font-size: 1.4rem; } }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } .step { background: none; border: 0; padding: 0 1rem; text-align: center; } .step__n { margin-inline: auto; } .step p { max-width: 30ch; margin-inline: auto; } }

/* Reviews slider */
.slider { overflow: hidden; margin-inline: -.5rem; padding: .5rem; }
.slider__track { --pv: 1; --gap: 1.25rem; display: flex; gap: var(--gap); transition: transform .65s var(--ease); touch-action: pan-y; cursor: grab; }
.slider__track.is-drag { transition: none; cursor: grabbing; }
@media (min-width: 720px) { .slider__track { --pv: 2; } }
@media (min-width: 1080px) { .slider__track { --pv: 3; } }
.slide { flex: 0 0 calc((100% - (var(--pv) - 1) * var(--gap)) / var(--pv)); min-width: 0; }
.review { height: 100%; display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); border: 1px solid var(--line); user-select: none; }
.review__stars { color: var(--ember); letter-spacing: 0; font-size: 1.05rem; text-shadow: 0 0 14px rgba(255, 106, 61, .6); }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-weight: 800; font-size: .95rem; flex: none; background: linear-gradient(135deg, #ff4457, #6d0a13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.dots { display: flex; gap: .45rem; align-items: center; }
.dotb { width: 8px; height: 8px; border-radius: 999px; background: #3a3a44; cursor: pointer; transition: width .4s var(--ease), background .3s; padding: 0; }
.dotb.is-active { width: 28px; background: var(--red); box-shadow: 0 0 14px rgba(239, 42, 60, .8); }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .025); transition: border-color .35s, background .35s; }
.faq.is-open { border-color: rgba(239, 42, 60, .5); background: linear-gradient(180deg, rgba(239, 42, 60, .09), rgba(255, 255, 255, .02)); }
.faq__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; text-align: start; font-weight: 700; font-size: 1.05rem; cursor: pointer; color: #fff; }
.faq__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(239, 42, 60, .14); color: var(--red-300); transition: transform .4s var(--ease), background .3s; }
.faq.is-open .faq__icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq.is-open .faq__body { grid-template-rows: 1fr; }
.faq__body > div { overflow: hidden; }
.faq__body p { padding: 0 1.4rem 1.3rem; color: var(--ash-300); opacity: 0; transform: translateY(-6px); transition: opacity .4s .05s, transform .4s .05s var(--ease); }
.faq.is-open .faq__body p { opacity: 1; transform: none; }

/* CTA slab */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 34px; text-align: center; padding: clamp(2.75rem, 7vw, 5rem) 1.5rem; background: linear-gradient(135deg, #12070a 0%, #4a070d 50%, #b0111f 130%); border: 1px solid rgba(239, 42, 60, .4); box-shadow: 0 40px 120px -40px rgba(239, 42, 60, .6); }
.cta::before, .cta::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.cta::before { width: 70%; aspect-ratio: 1; top: -60%; inset-inline-start: -15%; background: radial-gradient(circle, rgba(255, 68, 87, .5), transparent 65%); animation: drift 12s ease-in-out infinite; }
.cta::after { width: 55%; aspect-ratio: 1; bottom: -55%; inset-inline-end: -10%; background: radial-gradient(circle, rgba(255, 106, 61, .38), transparent 65%); animation: drift 14s ease-in-out infinite reverse; }

.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-950), #08080a); }
.flink { color: var(--ash-400); transition: color .25s, padding .3s var(--ease); display: inline-block; }
.flink:hover { color: #fff; padding-inline-start: .35rem; }

/* ---------- 8. Flash sale, offers, coupons, bundles ---------- */
.flash { position: relative; overflow: hidden; isolation: isolate; border-radius: 34px; border: 1px solid rgba(255, 90, 105, .45); background: linear-gradient(125deg, #0d0507 0%, #3b060c 42%, #c1121f 135%); box-shadow: 0 40px 120px -40px rgba(239, 42, 60, .8), inset 0 1px 0 rgba(255, 255, 255, .12); }
.flash__blob { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 68, 87, .55), transparent 66%); animation: drift 11s ease-in-out infinite; }
.flash__blob--a { width: 60%; aspect-ratio: 1; top: -40%; inset-inline-start: -10%; }
.flash__blob--b { width: 50%; aspect-ratio: 1; bottom: -45%; inset-inline-end: 8%; animation-delay: -5s; background: radial-gradient(circle, rgba(255, 106, 61, .45), transparent 66%); }
.flash__scan { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, .025) 22px 23px); }
.flash__glyph { position: absolute; z-index: -1; inset-inline-end: -2%; bottom: -16%; font-family: "Cairo", sans-serif; font-weight: 900; font-size: clamp(14rem, 34vw, 30rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 120, 130, .18); user-select: none; pointer-events: none; }
.cd { display: flex; align-items: flex-start; gap: .5rem; direction: ltr; min-height: 88px; }
.cd__cell { min-width: 74px; padding: .75rem .4rem .6rem; border-radius: 18px; text-align: center; background: rgba(0, 0, 0, .42); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 30px -10px rgba(239, 42, 60, .8); }
.cd__num { display: block; font-family: "Cairo", sans-serif; font-weight: 900; font-size: 2.35rem; line-height: 1.15; color: #fff; text-shadow: 0 0 22px rgba(255, 68, 87, .9); font-variant-numeric: tabular-nums; }
.cd__num.tick { animation: tick .35s var(--ease); }
.cd__label { display: block; direction: rtl; font-size: .75rem; color: var(--red-300); font-weight: 600; line-height: 1.5; }
.cd__sep { padding-top: 1rem; font-family: "Cairo", sans-serif; font-weight: 900; font-size: 1.8rem; color: var(--red-400); animation: pulseGlow 1s steps(2) infinite; }
.cd--sm { gap: .3rem; min-height: 64px; } .cd--sm .cd__cell { min-width: 52px; padding: .45rem .25rem .35rem; border-radius: 12px; } .cd--sm .cd__num { font-size: 1.4rem; } .cd--sm .cd__label { font-size: .64rem; } .cd--sm .cd__sep { padding-top: .35rem; font-size: 1.2rem; }
.flash > div > * { min-width: 0; }
@media (max-width: 480px) {
  .cd:not(.cd--sm) { gap: .25rem; }
  .cd:not(.cd--sm) .cd__cell { min-width: 52px; padding: .55rem .2rem .45rem; border-radius: 14px; }
  .cd:not(.cd--sm) .cd__num { font-size: 1.6rem; }
  .cd:not(.cd--sm) .cd__label { font-size: .68rem; }
  .cd:not(.cd--sm) .cd__sep { font-size: 1.2rem; padding-top: .7rem; }
  .cd--sm .cd__cell { min-width: 46px; }
  .dealmini img { width: 60px; height: 60px; }
}

.dealmini { display: flex; align-items: center; gap: .9rem; padding: .8rem; border-radius: 20px; background: rgba(0, 0, 0, .38); border: 1px solid rgba(255, 255, 255, .15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; text-align: start; width: 100%; transition: transform .4s var(--ease), border-color .3s, background .3s; }
.dealmini:hover { transform: translateX(-6px); border-color: rgba(255, 138, 149, .8); background: rgba(0, 0, 0, .5); }
.dealmini img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; flex: none; }

/* Offers page */
.neon-text { color: #fff; text-shadow: 0 0 6px rgba(255, 255, 255, .55), 0 0 20px rgba(239, 42, 60, .95), 0 0 46px rgba(239, 42, 60, .75), 0 0 96px rgba(239, 42, 60, .55); }
.neon-flicker { animation: flicker 5s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes angle { to { --ang: 360deg; } }
.neon-border { position: relative; }
.neon-border::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--ang), transparent 0 55%, var(--red) 78%, #fff 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: angle 4.5s linear infinite;
}
.neon-card { border-color: rgba(239, 42, 60, .35) !important; box-shadow: 0 0 0 1px rgba(239, 42, 60, .18), 0 24px 70px -28px rgba(239, 42, 60, .75); }
.badge-hot { position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 800; color: #fff; line-height: 1.7; background: linear-gradient(135deg, #ff4457, #b0111f); box-shadow: 0 0 22px rgba(239, 42, 60, .8); }
.badge-hot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid #ff4457; animation: ping 1.8s ease-out infinite; }
.marquee { overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__item { direction: rtl; display: inline-flex; align-items: center; gap: 1.1rem; padding-inline: 1.4rem; font-family: "Cairo", sans-serif; font-weight: 800; font-size: 1.15rem; white-space: nowrap; color: var(--ash-300); }
.marquee__item i { font-style: normal; color: var(--red); text-shadow: 0 0 12px var(--red); }
.hero-sm { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 3.25rem) 0 3.5rem; }
.hero-sm::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 90% at 50% 0%, rgba(239, 42, 60, .32), transparent 70%), radial-gradient(40% 60% at 90% 90%, rgba(168, 15, 20, .3), transparent 70%), var(--ink-950); }
.hero-sm .hero__floor { height: 70%; opacity: .55; z-index: -1; }

.coupon { position: relative; display: grid; grid-template-columns: 132px 1fr; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, #1b0b0f, #0e0809); border: 1px solid rgba(239, 42, 60, .32);
  --cut: 132px; -webkit-mask: radial-gradient(circle 13px at calc(100% - var(--cut)) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at calc(100% - var(--cut)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 13px at calc(100% - var(--cut)) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at calc(100% - var(--cut)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  transition: transform .4s var(--ease), border-color .3s; }
.coupon:hover { transform: translateY(-5px) rotate(-.4deg); border-color: rgba(239, 42, 60, .75); }
.coupon__val { display: grid; place-items: center; text-align: center; padding: 1rem .5rem; background: linear-gradient(160deg, #ff4457, #a80f14); border-inline-end: 2px dashed rgba(0, 0, 0, .35); }
.coupon__val b { display: block; font-family: "Cairo", sans-serif; font-weight: 900; font-size: 2.3rem; line-height: 1.1; text-shadow: 0 4px 18px rgba(0, 0, 0, .4); }
.coupon__code { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .5rem .35rem .85rem; border-radius: 12px; border: 1px dashed rgba(255, 138, 149, .6); background: rgba(239, 42, 60, .1); font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .06em; direction: ltr; cursor: pointer; transition: background .25s, border-color .25s; color: #fff; }
.coupon__code:hover { background: rgba(239, 42, 60, .22); border-color: var(--red-400); }

.bundle { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #17171c, #0d0d10); border: 1px solid var(--line); transition: transform .45s var(--ease), border-color .45s, box-shadow .45s; }
.bundle:hover { transform: translateY(-7px); border-color: rgba(239, 42, 60, .6); box-shadow: 0 30px 70px -26px rgba(239, 42, 60, .65); }
.bundle__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.bundle__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.bundle:hover .bundle__media img { transform: scale(1.07); }
.bundle__thumb { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; border: 2px solid #0d0d10; margin-inline-end: -10px; background: #0a0a0c; }
.dealcard .cd { justify-content: center; }

/* ---------- 9. Modal, search, toast, floating buttons ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; visibility: hidden; pointer-events: none; transition: visibility 0s .4s; }
.modal.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 3, 4, .8); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); opacity: 0; transition: opacity .4s; }
.modal__panel {
  position: relative; width: min(980px, 100%); max-height: min(92svh, 780px); overflow: auto; overscroll-behavior: contain; border-radius: 28px;
  background: linear-gradient(180deg, #131317, #0b0b0e); border: 1px solid var(--line-2);
  box-shadow: 0 50px 140px -30px #000, 0 0 0 1px rgba(239, 42, 60, .18), 0 0 90px -24px rgba(239, 42, 60, .45);
  opacity: 0; transform: translateY(30px) scale(.95); transition: opacity .35s, transform .55s var(--ease);
}
.modal__panel:focus { outline: none; }
.modal__cta { position: sticky; bottom: 0; z-index: 3; margin: .25rem -1.5rem -1.5rem; padding: 1.25rem 1.5rem 1.5rem; background: linear-gradient(to top, #0b0b0e 65%, transparent); }
@media (min-width: 768px) { .modal__cta { margin: .25rem -2rem -2rem; padding: 1.25rem 2rem 2rem; } }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; z-index: 5; top: .9rem; inset-inline-end: .9rem; background: rgba(5, 5, 6, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal__media { position: relative; background: #0a0a0c; }
.modal__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; }
.modal__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #0b0b0e 0%, transparent 40%); pointer-events: none; }
.modal__trust li { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
@media (min-width: 768px) { .modal__media { position: sticky; top: 0; align-self: start; } }
.modal__info > * { animation: cardIn .5s var(--ease) backwards; }
.modal__info > *:nth-child(2) { animation-delay: .05s; } .modal__info > *:nth-child(3) { animation-delay: .1s; } .modal__info > *:nth-child(4) { animation-delay: .15s; } .modal__info > *:nth-child(5) { animation-delay: .2s; } .modal__info > *:nth-child(6) { animation-delay: .25s; }
.checks li { position: relative; padding-inline-start: 1.9rem; color: var(--ash-300); }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 1.15rem; height: 1.15rem; border-radius: 50%; transform: translateY(-15%); background: rgba(239, 42, 60, .18) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5566' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='m5 12 5 5L20 7'/></svg>") center / 70% no-repeat; }
.infobox { border-radius: 18px; padding: 1rem 1.15rem; background: rgba(239, 42, 60, .07); border: 1px solid rgba(239, 42, 60, .3); }
@media (max-width: 767px) {
  .modal { place-items: end center; padding: 0; }
  .modal__panel { border-radius: 26px 26px 0 0; max-height: 94svh; transform: translateY(60px); }
}

.search { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 1rem 1rem; visibility: hidden; pointer-events: none; transition: visibility 0s .35s; }
.search.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.search__backdrop { position: absolute; inset: 0; background: rgba(3, 3, 4, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s; }
.search__panel { position: relative; width: min(680px, 100%); border-radius: 24px; background: #101013; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px #000, 0 0 70px -20px rgba(239, 42, 60, .5); opacity: 0; transform: translateY(-16px) scale(.97); transition: opacity .3s, transform .45s var(--ease); overflow: hidden; }
.search.is-open .search__backdrop { opacity: 1; } .search.is-open .search__panel { opacity: 1; transform: none; }
.sres { display: flex; align-items: center; gap: .9rem; width: 100%; padding: .7rem 1rem; text-align: start; cursor: pointer; transition: background .2s; border-radius: 14px; }
.sres:hover, .sres:focus-visible { background: rgba(239, 42, 60, .12); }
.sres img { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; flex: none; }

.toast { position: fixed; z-index: 120; bottom: 1.5rem; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100vw - 2rem); padding: .8rem 1.3rem; border-radius: 14px; font-weight: 700; background: #17171c; border: 1px solid rgba(239, 42, 60, .55); box-shadow: 0 20px 60px -20px rgba(239, 42, 60, .6); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .45s var(--ease); }
.toast.is-show { opacity: 1; transform: none; }

.fab { position: fixed; z-index: 45; bottom: 1.25rem; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; cursor: pointer; background: rgba(16, 16, 19, .9); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 16px 40px -14px #000; transition: transform .35s var(--ease), opacity .3s, border-color .3s, background .3s; }
.fab:hover { transform: translateY(-4px); border-color: var(--red-400); }
.fab--wa { inset-inline-start: 1.25rem; color: #25d366; border-color: rgba(37, 211, 102, .45); }
.fab--wa::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(37, 211, 102, .6); animation: ping 2.6s ease-out infinite; }
.fab--wa:hover { border-color: #25d366; background: rgba(37, 211, 102, .12); }
.fab--top { inset-inline-end: 1.25rem; opacity: 0; transform: translateY(20px); pointer-events: none; }
.fab--top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.fab--top.is-show:hover { transform: translateY(-4px); }

/* ---------- 10. Utilities & reduced motion ---------- */
.no-scroll { overflow: hidden; }
.sr-only-2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.divider-glow { height: 1px; background: linear-gradient(90deg, transparent, rgba(239, 42, 60, .6), transparent); }

@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .hero { padding-bottom: 5.5rem; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .fab { bottom: .9rem; width: 48px; height: 48px; }
  .fab--wa { inset-inline-start: .9rem; } .fab--top { inset-inline-end: .9rem; }
}

/* Compact 2-column product cards on phones */
@media (max-width: 639px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .pcard { border-radius: 18px; }
  .pcard__media { aspect-ratio: 1 / 0.9; }
  .pcard__body { padding: .8rem .8rem .9rem; gap: .4rem; }
  .pcard__name { font-size: .95rem; line-height: 1.35; }
  .pcard__desc, .pcard__meta .chip:nth-child(2), .price-off { display: none; }
  .pcard__meta .chip { font-size: .7rem; padding: .15rem .55rem; }
  .price { font-size: 1.3rem; } .price small { font-size: .68rem; }
  .price-old { font-size: .78rem; }
  .pcard__badge { top: .5rem; inset-inline-start: .5rem; font-size: .66rem; padding: .1rem .5rem; }
  .pcard__off { top: .5rem; inset-inline-end: .5rem; font-size: .68rem; padding: .1rem .45rem; }
  .pcard .btn-sm { padding: .55rem .5rem; font-size: .85rem; }
  .dealcard.pcard { grid-column: auto; }
}

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