
/* Category cards only. Locked Splash/Login/Header/Hero remain untouched. */
:root{color-scheme:light only!important;}
#home .categories-photo .cat{
  background:#fff!important;background-color:#fff!important;background-image:none!important;
  border:1px solid #cddde7!important;border-radius:24px!important;padding:5px!important;
  box-shadow:0 12px 30px rgba(23,72,102,.13),0 2px 7px rgba(23,72,102,.08)!important;
  overflow:hidden!important;forced-color-adjust:none!important;-webkit-print-color-adjust:exact!important;
}
#home .categories-photo .cat-white-surface{
  position:relative!important;isolation:isolate!important;z-index:1!important;
  width:100%!important;min-height:166px!important;box-sizing:border-box!important;
  padding:14px 12px 15px!important;display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:space-between!important;overflow:hidden!important;
  border-radius:19px!important;border:1px solid #edf3f7!important;
  background:#fff!important;background-color:#fff!important;background-image:none!important;
  box-shadow:inset 0 1px 0 #fff, inset 0 0 0 999px #fff!important;
  forced-color-adjust:none!important;-webkit-print-color-adjust:exact!important;
}
/* hard white plate: this is an embedded raster layer, brightened to survive Samsung auto-dark */
#home .categories-photo .cat-white-surface>img.cat-physical-white{
  display:block!important;position:absolute!important;inset:-2px!important;z-index:0!important;
  width:calc(100% + 4px)!important;height:calc(100% + 4px)!important;max-width:none!important;
  object-fit:fill!important;opacity:1!important;background:#fff!important;
  filter:brightness(5) contrast(1.2)!important;mix-blend-mode:normal!important;
  border-radius:19px!important;pointer-events:none!important;
}
#home .categories-photo .cat-white-surface>img:not(.cat-physical-white){
  position:relative!important;z-index:2!important;width:100%!important;height:108px!important;
  object-fit:contain!important;background:transparent!important;background-color:transparent!important;
  filter:drop-shadow(0 9px 8px rgba(20,48,64,.20))!important;mix-blend-mode:normal!important;
}
#home .categories-photo .cat-white-surface>span{
  position:relative!important;z-index:3!important;color:#092f4a!important;
  font-family:Vazirmatn,Vazir,IRANYekanX,IRANYekan,Tahoma,sans-serif!important;
  font-size:17px!important;font-weight:900!important;line-height:1.65!important;
  letter-spacing:-.2px!important;text-align:center!important;background:transparent!important;
  text-shadow:none!important;forced-color-adjust:none!important;
}
