/* Maa Vyapar – responsive & UI fixes (Nov 2026)
   Loaded after the main stylesheet. Holds utility classes used by the updated
   pages that were not in the original Tailwind build, plus global mobile fixes. */

/* ---------- global mobile fixes ---------- */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:hidden;-webkit-tap-highlight-color:transparent}
img{max-width:100%}
.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}
.no-scrollbar::-webkit-scrollbar{display:none}
.safe-area-bottom{padding-bottom:max(.25rem,env(safe-area-inset-bottom))}
/* iOS zooms the page when a focused field is under 16px; keep 16px on phones. */
@media (max-width:47.99rem){
  input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}
  /* dialogs/sheets never taller than the screen */
  [role=dialog]{max-height:calc(100dvh - 1.5rem);overflow-y:auto;overscroll-behavior:contain}
}

/* Utility classes live in mv-utilities.css (generated by Tailwind in breakpoint order). Never add utilities here: this file is unlayered and would override every breakpoint. */
/* ===================== Maa Vyapar storefront theme & motion ===================== */
.mv-page{background-image:radial-gradient(1100px 420px at 50% -140px,rgba(99,102,241,.14),transparent 70%),radial-gradient(700px 300px at 100% 0,rgba(217,70,239,.08),transparent 70%)}
.mv-page h1,.mv-page h2,.mv-display{font-family:Poppins,Inter,system-ui,sans-serif;letter-spacing:-.01em}
.mv-header{background:linear-gradient(100deg,#4338ca 0%,#6d28d9 45%,#a21caf 100%);background-size:180% 180%;animation:mvGrad 14s ease infinite}
.mv-gradient-move{background-size:200% 200%!important;animation:mvGrad 9s ease infinite}
.mv-text-gradient-warm{background:linear-gradient(90deg,#fde047,#fb923c,#f472b6);-webkit-background-clip:text;background-clip:text;color:transparent}
.mv-ig{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fd5949 45%,#d6249f 60%,#285AEB 90%)}

/* reveal on scroll (class mv-in added by an IntersectionObserver) */
.mv-reveal{opacity:0}
.mv-reveal.mv-in{animation:mvRise .65s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--d,0ms)}
.mv-rise{animation:mvRise .7s cubic-bezier(.2,.8,.2,1) both}
.mv-d1{animation-delay:.08s}.mv-d2{animation-delay:.2s}.mv-d3{animation-delay:.32s}

.mv-float{animation:mvFloat 7s ease-in-out infinite}
.mv-float-slow{animation:mvFloat 11s ease-in-out infinite reverse}
.mv-twinkle{animation:mvTwinkle 2.6s ease-in-out infinite}
.mv-pulse{animation:mvPulse 1.4s ease-in-out infinite}
.mv-pop{animation:mvPop .35s cubic-bezier(.2,1.6,.4,1) both}
.mv-marquee{animation:mvMarquee 38s linear infinite}
.mv-marquee:hover{animation-play-state:paused}
.mv-shimmer{background:linear-gradient(90deg,#eef0f6 25%,#f8f9fc 37%,#eef0f6 63%);background-size:400% 100%;animation:mvShimmer 1.3s ease infinite}
.mv-fade{animation:mvFadeIn .2s ease both}
.mv-sheet{animation:mvSheet .32s cubic-bezier(.2,.9,.2,1) both}
@media(min-width:40rem){.mv-sheet{animation:mvZoom .22s cubic-bezier(.2,.9,.2,1) both}}

@keyframes mvGrad{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@keyframes mvRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes mvFloat{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(-10px,14px,0) scale(1.06)}}
@keyframes mvTwinkle{0%,100%{opacity:.2;transform:scale(.6)}50%{opacity:1;transform:scale(1.2)}}
@keyframes mvPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.25)}}
@keyframes mvPop{from{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes mvMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes mvShimmer{0%{background-position:100% 50%}100%{background-position:0 50%}}
@keyframes mvFadeIn{from{opacity:0}to{opacity:1}}
@keyframes mvSheet{from{transform:translateY(100%)}to{transform:none}}
@keyframes mvZoom{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
  .mv-reveal{opacity:1}
  .mv-reveal.mv-in,.mv-rise,.mv-float,.mv-float-slow,.mv-twinkle,.mv-pulse,.mv-marquee,.mv-header,.mv-gradient-move,.mv-shimmer,.mv-sheet,.mv-fade{animation:none!important}
}
