/* =========================================================
   LITE MODE (smooth on low-end phones)
   The design stays the same; only the effects that make a weak
   phone's screen stutter are swapped for cheaper look-alikes:
   - live "frosted glass" blur behind panels -> a slightly more
     solid colour (the costliest effect while scrolling),
   - the two big blurred background glows -> the same colours as
     soft gradients that do not need a blur on every frame,
   - endless floating loops -> still,
   - very large shadows -> smaller ones.
   Switched on by the small script in <head> (class "ik-lite" on
   <html>) for phones with little memory or "data saver", and by
   assets/lite.js when a phone shows it cannot keep up.
   ?lite=1 / ?lite=0 in the address forces it on / off for that browser.
   ========================================================= */
html.ik-lite *,
html.ik-lite *::before,
html.ik-lite *::after{
  -webkit-backdrop-filter:none !important;
          backdrop-filter:none !important;
}

/* where the blur kept text readable over moving content: a more solid panel */
html.ik-lite header::before{background:rgba(5,8,16,.9)}
html.ik-lite body.light header::before{background:rgba(244,247,250,.95)}
html.ik-lite .overlay{background:rgba(0,0,0,.84)}
html.ik-lite .visual-label{background:rgba(5,8,16,.82)}
html.ik-lite .wishlist,
html.ik-lite .feat-dots,
html.ik-lite .feat-tag,
html.ik-lite .pd-gal .pd-count{background-color:rgba(5,8,16,.78)}
html.ik-lite .pd-gal .pd-nav{background:rgba(10,12,20,.72)}
@media (max-width:900px){
  html.ik-lite .nav-links,
  html.ik-lite .nav-links.open{background:rgba(18,20,28,.93)}
  html.ik-lite body.light .nav-links{background:rgba(255,255,255,.95)}
  html.ik-lite body.water .nav-links{background:rgba(3,34,46,.93)}
}

/* background glows: same colours and place, no live blur, no endless movement */
html.ik-lite .background-orb{
  filter:none;animation:none;width:600px;height:600px;opacity:.3;
  -webkit-mask-image:radial-gradient(closest-side,#000 0%,rgba(0,0,0,.6) 40%,rgba(0,0,0,.18) 72%,transparent 100%);
          mask-image:radial-gradient(closest-side,#000 0%,rgba(0,0,0,.6) 40%,rgba(0,0,0,.18) 72%,transparent 100%);
}
html.ik-lite .orb1{top:-270px;right:-210px}
html.ik-lite .orb2{bottom:-270px;left:-250px}
html.ik-lite .visual-card::before{filter:none;opacity:.12}

/* endless loops that repaint every frame */
html.ik-lite .flower,
html.ik-lite .ik-spot-flower{animation:none}

/* smaller shadows paint much faster */
html.ik-lite{--shadow:0 12px 30px rgba(0,0,0,.38)}
html.ik-lite .product-card:hover{box-shadow:0 12px 28px rgba(0,0,0,.3)}

/* liquid glass drops (tab bar, category bar, admin tabs): the same look without the costly layers.
   The rainbow rim is drawn with plain inner lines instead of a masked, blurred ring, and the blurred
   inner shadows become crisp ones, so the drop glides at full speed even on weak phones. */
html.ik-lite .nav-links::after,
html.ik-lite .filters.lensbar::after,
html.ik-lite .tabs.glass-lens::after{
  -webkit-mask:none;mask:none;filter:none;padding:0;background:none;
  box-shadow:inset 0 1.5px 0 rgba(255,140,175,.85),inset 0 -1.5px 0 rgba(150,140,255,.85),inset 0 0 0 1px rgba(255,255,255,.22);
}
html.ik-lite .nav-links::before,
html.ik-lite .filters.lensbar::before,
html.ik-lite .tabs.glass-lens::before{
  box-shadow:inset 0 1px 1px rgba(255,255,255,.55),inset 0 -1px 1px rgba(255,255,255,.28),0 6px 14px rgba(0,0,0,.28);
}
/* hover droplets that keep changing shape: still */
html.ik-lite .icon-btn:hover,
html.ik-lite .nav-links a:hover::after{animation:none}
