:root{
  --mp-primary:#5d3fd3;
  --mp-primary-dark:#4a2fb0;
  --mp-accent:#ff5c8a;
  --mp-success:#22c55e;
  --mp-bg:#f4f5fa;
  --mp-card:#ffffff;
  --mp-text:#1a1a2e;
  --mp-muted:#7a7a8c;
  --mp-border:#ececf3;
  --mp-radius:16px;
  --mp-shadow:0 4px 18px rgba(20,20,50,.06);
  --mp-shadow-lg:0 10px 30px rgba(20,20,50,.12);
}
*{-webkit-tap-highlight-color:transparent;box-sizing:border-box;min-width:0}
html{scroll-behavior:smooth;overflow-x:clip;-webkit-text-size-adjust:100%}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  background:var(--mp-bg);
  color:var(--mp-text);
  padding-bottom:env(safe-area-inset-bottom);
  overflow-x:clip;
  width:100%;
  min-height:100vh;
  -webkit-overflow-scrolling:touch;
}
img,video,svg{max-width:100%}
a{text-decoration:none;color:inherit}
.text-primary{color:var(--mp-primary)!important}
.bg-primary{background:var(--mp-primary)!important}
.btn-primary{background:var(--mp-primary);border-color:var(--mp-primary)}
.btn-primary:hover,.btn-primary:focus{background:var(--mp-primary-dark);border-color:var(--mp-primary-dark)}
.btn-accent{background:var(--mp-accent);color:#fff}
.shadow-soft{box-shadow:var(--mp-shadow)}

/* ---------- App shell ---------- */
.app-container{width:100%;max-width:100%;margin:0 auto;background:var(--mp-bg);min-height:100vh;position:relative}
@media(min-width:576px){.app-container{max-width:520px}}
@media(min-width:992px){.app-container{max-width:1140px}}

/* ---------- Top bar (mobile-first) ---------- */
.app-header{
  position:sticky;top:0;z-index:1030;
  color:#fff;padding:.55rem .85rem .65rem;
  background:linear-gradient(135deg,var(--mp-primary),#7b5cf0);
  box-shadow:var(--mp-shadow);
}

/* Mobile header row */
.mobile-header-row{
  display:flex;align-items:center;justify-content:space-between;gap:.75rem;
  margin-bottom:.55rem;min-height:36px;
}
@media(min-width:992px){.mobile-header-row{display:none}}
.mobile-logo{
  display:inline-flex;align-items:center;gap:.45rem;
  color:#fff;text-decoration:none;font-weight:900;font-size:1.15rem;
  min-width:0;flex:1;
}
.mobile-logo img{height:32px;width:auto;max-width:140px;object-fit:contain;display:block}
.mobile-logo-icon{font-size:1.25rem;line-height:1;flex-shrink:0}
.mobile-logo-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mobile-header-actions{display:flex;align-items:center;gap:.65rem;flex-shrink:0}
.mobile-header-btn{
  position:relative;color:#fff;opacity:.95;width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;border-radius:50%;
  background:rgba(255,255,255,.12);transition:background .15s;
}
.mobile-header-btn:active,.mobile-header-btn:hover{background:rgba(255,255,255,.22);opacity:1}
.mobile-header-btn i{font-size:1.15rem}
.mobile-cart-badge{
  position:absolute;top:-2px;right:-2px;background:var(--mp-accent);color:#fff;
  font-size:.58rem;font-weight:800;min-width:16px;height:16px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;padding:0 3px;border:1.5px solid var(--mp-primary);
}

.location-bar{display:flex;align-items:center;gap:.45rem;font-size:.82rem;min-width:0}
.location-bar .loc-pin{font-size:1.15rem;flex-shrink:0;line-height:1}
.location-bar .loc-info{flex:1;min-width:0;cursor:pointer}
.location-bar .loc-title{font-weight:700;font-size:.88rem;display:flex;align-items:center;gap:.2rem;line-height:1.25}
.location-bar .loc-sub{opacity:.85;font-size:.7rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:.1rem}
.location-bar .loc-bell{display:none;flex-shrink:0;width:36px;height:36px;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.12)}
.location-bar .loc-bell i{font-size:1.15rem}
@media(min-width:992px){
  .location-bar .loc-bell{display:flex}
  .location-bar .loc-title{font-size:.95rem}
  .location-bar .loc-sub{font-size:.72rem;max-width:none}
}
.search-box{
  margin-top:.55rem;background:#fff;border-radius:30px;display:flex;align-items:center;
  padding:.5rem .85rem;gap:.45rem;box-shadow:var(--mp-shadow);min-width:0;
}
.search-box i{color:var(--mp-primary);flex-shrink:0}
.search-box input{border:0;outline:0;flex:1;font-size:.88rem;background:transparent;min-width:0;width:0}
.search-box .mic{color:var(--mp-accent);flex-shrink:0;cursor:pointer}
@media(min-width:992px){
  .app-header{padding:.65rem 1.25rem .75rem}
  .search-box input{font-size:.9rem}
  .search-box{margin-top:.65rem;padding:.55rem .9rem}
}

/* ---------- Sections ---------- */
.section{padding:1rem .85rem 0}
@media(min-width:992px){.section{padding:1rem 1.25rem 0}}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.7rem;min-width:0}
.section-head h5,.section-head h1,.section-head h2{font-weight:800;margin:0;font-size:1.02rem;min-width:0}
.section-head a{font-size:.8rem;color:var(--mp-primary);font-weight:600;white-space:nowrap;flex-shrink:0}

/* ---------- Banner slider ---------- */
.banner-slide img{width:100%;height:160px;object-fit:cover;border-radius:var(--mp-radius)}
@media(min-width:992px){.banner-slide img{height:300px}}

/* ---------- Category chips ---------- */
.cat-scroll{display:flex;gap:.85rem;overflow-x:auto;padding-bottom:.4rem;scrollbar-width:none}
.cat-scroll::-webkit-scrollbar{display:none}
.cat-item{flex:0 0 auto;width:72px;text-align:center}
.cat-item .cat-ico{
  width:64px;height:64px;border-radius:20px;background:var(--mp-card);
  display:flex;align-items:center;justify-content:center;margin:0 auto .35rem;
  box-shadow:var(--mp-shadow);overflow:hidden
}
.cat-item .cat-ico img{width:100%;height:100%;object-fit:cover}
.cat-item .cat-ico i{font-size:1.6rem;color:var(--mp-primary)}
.cat-item span{font-size:.72rem;font-weight:600;line-height:1.1;display:block}

/* ---------- Categories page (modern) ---------- */
.cat-page-hero{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1.1rem 1.15rem;border-radius:var(--mp-radius);
  background:linear-gradient(135deg,var(--mp-primary),#7b5cf0);
  color:#fff;box-shadow:var(--mp-shadow);
}
.cat-page-hero h1{font-size:1.15rem;margin:0}
.cat-page-hero-ico{
  width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.18);
  display:flex;align-items:center;justify-content:center;font-size:1.45rem;flex-shrink:0;
}
.cat-page-search{
  display:flex;align-items:center;gap:.55rem;background:var(--mp-card);
  border-radius:14px;padding:.65rem .9rem;box-shadow:var(--mp-shadow);
  border:1px solid var(--mp-border);
}
.cat-page-search i{color:var(--mp-primary);font-size:1rem}
.cat-page-search input{border:0;outline:0;flex:1;font-size:.92rem;background:transparent;min-width:0}
.cat-search-clear{
  border:0;background:#f0eef8;color:var(--mp-muted);width:28px;height:28px;
  border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0;
}
.cat-page-pills-wrap{margin:0 -.15rem}
.cat-page-pills{padding:.15rem .15rem .5rem;gap:.65rem}
.cat-pill{
  flex:0 0 auto;display:flex;align-items:center;gap:.5rem;
  background:var(--mp-card);border:1px solid var(--mp-border);border-radius:999px;
  padding:.35rem .85rem .35rem .4rem;font-size:.78rem;font-weight:600;
  box-shadow:var(--mp-shadow);transition:transform .15s,border-color .15s;
}
.cat-pill:active{transform:scale(.97)}
.cat-pill-ico{
  width:32px;height:32px;border-radius:50%;background:#f3efff;
  display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;
}
.cat-pill-ico img{width:100%;height:100%;object-fit:cover}
.cat-pill-ico i{font-size:1rem;color:var(--mp-primary)}
.cat-section{margin-bottom:1.35rem;scroll-margin-top:5.5rem}
.cat-tile-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;
}
@media(min-width:768px){.cat-tile-grid{grid-template-columns:repeat(4,1fr);gap:1rem}}
@media(min-width:992px){.cat-tile-grid{grid-template-columns:repeat(6,1fr)}}
.cat-tile{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  background:var(--mp-card);border-radius:16px;padding:.75rem .45rem .65rem;
  box-shadow:var(--mp-shadow);border:1px solid transparent;
  transition:transform .15s,box-shadow .15s,border-color .15s;
}
.cat-tile:hover,.cat-tile:focus-visible{
  transform:translateY(-2px);box-shadow:var(--mp-shadow-lg);border-color:rgba(93,63,211,.12);
}
.cat-tile:active{transform:scale(.98)}
.cat-tile-ico{
  width:64px;height:64px;border-radius:18px;background:linear-gradient(145deg,#f8f6ff,#fff);
  display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:.45rem;
  box-shadow:inset 0 0 0 1px rgba(93,63,211,.06);
}
@media(min-width:768px){.cat-tile-ico{width:72px;height:72px;border-radius:20px}}
.cat-tile-ico img{width:100%;height:100%;object-fit:cover}
.cat-tile-ico i{font-size:1.65rem;color:var(--mp-primary)}
.cat-tile-name{
  font-size:.72rem;font-weight:600;line-height:1.25;color:var(--mp-text);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
@media(min-width:768px){.cat-tile-name{font-size:.78rem}}
.cat-no-results{
  text-align:center;padding:2.5rem 1rem;color:var(--mp-muted);
  background:var(--mp-card);border-radius:var(--mp-radius);box-shadow:var(--mp-shadow);
}
.cat-no-results i{font-size:2rem;display:block;margin-bottom:.5rem;opacity:.5}

/* ---------- Product grid & cards ---------- */
.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem}
@media(min-width:768px){.product-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:992px){.product-grid{grid-template-columns:repeat(5,1fr)}}
.product-scroll{display:flex;gap:.8rem;overflow-x:auto;scrollbar-width:none;padding-bottom:.3rem}
.product-scroll::-webkit-scrollbar{display:none}
.product-scroll .product-card{flex:0 0 47%}
@media(min-width:768px){.product-scroll .product-card{flex:0 0 200px}}

.product-card{
  background:var(--mp-card);border-radius:14px;overflow:hidden;
  box-shadow:var(--mp-shadow);position:relative;display:flex;flex-direction:column
}
.product-card .pc-img{position:relative;aspect-ratio:1/1;background:#f7f7fb;overflow:hidden}
.product-card .pc-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.product-card:active .pc-img img{transform:scale(.97)}
.pc-badge{position:absolute;top:8px;left:8px;background:var(--mp-accent);color:#fff;
  font-size:.66rem;font-weight:700;padding:.15rem .45rem;border-radius:6px}
.pc-wish{position:absolute;top:6px;right:6px;width:30px;height:30px;border-radius:50%;
  background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;border:0}
.pc-wish.active i{color:var(--mp-accent)}
.pc-body{padding:.55rem .6rem .65rem;display:flex;flex-direction:column;flex:1}
.pc-name{font-size:.8rem;font-weight:600;line-height:1.25;margin:0 0 .25rem;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2em}
.pc-rating{font-size:.68rem;color:#fff;background:var(--mp-success);
  padding:.05rem .3rem;border-radius:5px;display:inline-flex;align-items:center;gap:2px;width:fit-content}
.pc-price{display:flex;align-items:baseline;gap:.35rem;margin-top:.3rem}
.pc-price .now{font-weight:800;font-size:.92rem}
.pc-price .mrp{font-size:.72rem;color:var(--mp-muted);text-decoration:line-through}
.pc-price .off{font-size:.7rem;color:var(--mp-success);font-weight:700}
.pc-add{margin-top:.45rem;border:1px solid var(--mp-primary);color:var(--mp-primary);
  background:#fff;border-radius:9px;font-weight:700;font-size:.78rem;padding:.32rem;width:100%;
  display:flex;align-items:center;justify-content:center;gap:.3rem}
.pc-add:active{background:var(--mp-primary);color:#fff}
.pc-qty{display:flex;align-items:center;justify-content:space-between;margin-top:.45rem;
  border:1px solid var(--mp-primary);border-radius:9px;overflow:hidden}
.pc-qty button{background:var(--mp-primary);color:#fff;border:0;width:30px;height:30px;font-weight:700}
.pc-qty span{font-weight:700;font-size:.85rem}

/* ---------- Skeleton loaders ---------- */
.skeleton{background:linear-gradient(90deg,#eee 25%,#f5f5f5 37%,#eee 63%);
  background-size:400% 100%;animation:sk 1.3s ease infinite;border-radius:8px}
@keyframes sk{0%{background-position:100% 50%}100%{background-position:0 50%}}
.sk-card{background:var(--mp-card);border-radius:14px;overflow:hidden;box-shadow:var(--mp-shadow)}
.sk-card .sk-img{aspect-ratio:1/1}
.sk-line{height:10px;margin:.5rem .6rem;border-radius:5px}

/* ---------- Bottom nav ---------- */
.bottom-nav{
  position:fixed;bottom:0;left:0;right:0;width:100%;max-width:100%;
  margin:0 auto;background:#fff;display:flex;justify-content:space-around;align-items:center;
  padding:.4rem .15rem calc(.4rem + env(safe-area-inset-bottom));z-index:1040;
  box-shadow:0 -4px 18px rgba(20,20,50,.08);border-top:1px solid var(--mp-border)
}
@media(min-width:576px){
  .bottom-nav{left:50%;transform:translateX(-50%);max-width:520px}
}
@media(min-width:992px){.bottom-nav{display:none}}
.bottom-nav a{flex:1;min-width:0;text-align:center;color:var(--mp-muted);font-size:.62rem;font-weight:600;
  display:flex;flex-direction:column;align-items:center;gap:2px;position:relative;padding:.15rem .1rem}
@media(min-width:400px){.bottom-nav a{font-size:.66rem}}
.bottom-nav a i{font-size:1.2rem}
@media(min-width:400px){.bottom-nav a i{font-size:1.25rem}}
.bottom-nav a.active{color:var(--mp-primary)}
.bottom-nav .nav-cart-badge{position:absolute;top:-4px;right:50%;margin-right:-22px;
  background:var(--mp-accent);color:#fff;font-size:.6rem;min-width:16px;height:16px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;padding:0 4px}
.has-bottom-nav{padding-bottom:calc(74px + env(safe-area-inset-bottom))}
@media(min-width:992px){.has-bottom-nav{padding-bottom:0}}

/* ---------- Sticky cart bar ---------- */
.sticky-cart{position:fixed;bottom:calc(78px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);
  width:calc(100% - 1.2rem);max-width:500px;background:var(--mp-primary);color:#fff;
  border-radius:14px;padding:.65rem .9rem;display:flex;align-items:center;justify-content:space-between;
  z-index:1035;box-shadow:var(--mp-shadow-lg)}
@media(min-width:576px){.sticky-cart{width:calc(100% - 1.6rem);padding:.7rem 1rem}}

/* ---------- Floating cart FAB + drawer ---------- */
.float-cart-fab{
  position:fixed;z-index:1045;
  bottom:calc(78px + env(safe-area-inset-bottom));
  right:12px;
  width:52px;height:52px;border-radius:50%;border:0;
  background:linear-gradient(135deg,var(--mp-primary),var(--mp-primary-dark));
  color:#fff;font-size:1.3rem;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(93,63,211,.45);
  transition:transform .15s,box-shadow .15s;
}
@media(min-width:576px){
  .float-cart-fab{right:max(12px,calc(50% - 260px))}
}
.float-cart-fab:active{transform:scale(.94)}
.float-cart-fab-badge{
  position:absolute;top:-2px;right:-2px;background:var(--mp-accent);color:#fff;
  font-size:.65rem;font-weight:800;min-width:20px;height:20px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #fff;
}
@media(min-width:992px){
  .float-cart-fab{bottom:28px;right:28px}
}

.float-cart{position:fixed;inset:0;z-index:1050;pointer-events:none;visibility:hidden}
.float-cart.open{pointer-events:auto;visibility:visible}
.float-cart-backdrop{position:absolute;inset:0;background:rgba(15,15,30,.45);opacity:0;transition:opacity .25s}
.float-cart.open .float-cart-backdrop{opacity:1}
.float-cart-sheet{
  position:absolute;left:50%;bottom:0;transform:translate(-50%,100%);
  width:100%;max-width:520px;max-height:min(78vh,640px);
  background:#fff;border-radius:20px 20px 0 0;
  display:flex;flex-direction:column;
  box-shadow:0 -12px 40px rgba(20,20,50,.18);
  transition:transform .28s cubic-bezier(.32,.72,0,1),opacity .22s;
}
.float-cart.open .float-cart-sheet{transform:translate(-50%,0)}
@media(min-width:992px){
  .float-cart-sheet{
    left:auto;right:28px;bottom:92px;
    transform:translateY(16px) scale(.97);opacity:0;
    max-width:380px;border-radius:18px;
  }
  .float-cart.open .float-cart-sheet{transform:translateY(0) scale(1);opacity:1}
}
.float-cart-handle{width:40px;height:4px;background:#ddd;border-radius:2px;margin:10px auto 0;flex-shrink:0}
@media(min-width:992px){.float-cart-handle{display:none}}
.float-cart-head{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem .5rem;flex-shrink:0}
.float-cart-body{flex:1;overflow-y:auto;padding:0 1rem;-webkit-overflow-scrolling:touch}
.float-cart-foot{padding:.85rem 1rem calc(.85rem + env(safe-area-inset-bottom));border-top:1px solid var(--mp-border);flex-shrink:0;background:#fafafa}
.float-cart-total{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.75rem;padding:0 .15rem}
.float-cart-total-label{font-size:.78rem;color:var(--mp-muted);font-weight:600}
.float-cart-total-amt{font-size:1.15rem;font-weight:800;color:var(--mp-text)}
.float-cart-clear-btn{
  width:100%;padding:.5rem .75rem;border:0;border-radius:10px;
  background:transparent;color:var(--mp-muted);
  font-size:.78rem;font-weight:600;
  display:flex;align-items:center;justify-content:center;gap:.4rem;
  transition:background .15s,color .15s;
}
.float-cart-clear-btn i{font-size:.95rem;opacity:.85}
.float-cart-clear-btn:hover,.float-cart-clear-btn:focus{background:#fee2e2;color:#b91c1c}
.float-cart-clear-btn:active{transform:scale(.98)}
.float-cart-item{display:flex;gap:.65rem;padding:.65rem 0;border-bottom:1px solid var(--mp-border);align-items:center}
.float-cart-item:last-child{border-bottom:0}
.float-cart-item img{width:52px;height:52px;border-radius:10px;object-fit:cover;background:#f7f7fb}
.float-cart-item.unavail{opacity:.65}
.float-cart-item .fc-name{font-size:.82rem;font-weight:600;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.float-cart-item .fc-meta{font-size:.72rem;color:var(--mp-muted)}
.float-cart-empty{text-align:center;padding:2rem 1rem;color:var(--mp-muted)}
.float-cart-empty i{font-size:2.5rem;display:block;margin-bottom:.5rem;opacity:.5}

/* ---------- Desktop top nav ---------- */
.desk-nav{display:none!important}
@media(min-width:992px){
  .desk-nav{
    display:flex!important;align-items:center;justify-content:space-between;
    gap:1.5rem;margin-bottom:.65rem;
  }
}
.desk-logo{
  color:#fff;text-decoration:none;font-weight:900;font-size:1.35rem;
  display:inline-flex;align-items:center;gap:.5rem;flex-shrink:0;
}
.desk-logo img{height:34px;width:auto;max-width:160px;object-fit:contain}
.desk-nav-links{display:flex;align-items:center;gap:1.5rem;flex-shrink:0}
.desk-link{color:#fff;display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap;font-weight:600;font-size:.92rem;opacity:.95;text-decoration:none}
.desk-link:hover{opacity:1;color:#fff}
.desk-link i{font-size:1.15rem}
.desk-ico{position:relative;display:inline-flex}
.desk-cart-badge{position:absolute;top:-7px;right:-9px;background:var(--mp-accent);color:#fff;
  font-size:.62rem;font-weight:800;min-width:17px;height:17px;border-radius:9px;
  display:flex;align-items:center;justify-content:center;padding:0 4px;border:1.5px solid #fff}

/* ---------- Sort / filter chips row ---------- */
.chip-row{
  display:flex;gap:.5rem;overflow-x:auto;padding-bottom:.35rem;margin-bottom:.25rem;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.chip-row::-webkit-scrollbar{display:none}
.chip-row .chip{flex-shrink:0}

/* ---------- Flash sale ---------- */
.flash-card{background:linear-gradient(135deg,#ff5c8a,#ff8f5c);border-radius:var(--mp-radius);
  padding:1rem;color:#fff;margin:0 .9rem}
.flash-timer{display:inline-flex;gap:.3rem;font-weight:800}
.flash-timer span{background:rgba(0,0,0,.25);padding:.1rem .4rem;border-radius:6px}

/* ---------- Generic cards/utility ---------- */
.card-soft{background:var(--mp-card);border-radius:var(--mp-radius);box-shadow:var(--mp-shadow);border:0}
.chip{display:inline-flex;align-items:center;gap:.3rem;background:#fff;border:1px solid var(--mp-border);
  border-radius:30px;padding:.3rem .8rem;font-size:.8rem;font-weight:600}
.chip.active{background:var(--mp-primary);color:#fff;border-color:var(--mp-primary)}
.rating-pill{background:var(--mp-success);color:#fff;border-radius:6px;padding:.1rem .4rem;font-size:.78rem;font-weight:700}

/* ---------- Auth ---------- */
.auth-wrap{max-width:420px;margin:0 auto;padding:1.5rem .9rem}
.auth-logo{font-weight:900;font-size:1.6rem;color:var(--mp-primary);text-align:center}
.auth-body{min-height:100vh;background:var(--mp-bg)}
.auth-shell{display:flex;min-height:100vh}
.auth-hero{display:none}
.auth-panel{flex:1;display:flex;align-items:center;justify-content:center;padding:1.2rem}
.auth-card{width:100%;max-width:430px;background:#fff;border-radius:22px;box-shadow:var(--mp-shadow-lg);padding:2rem 1.8rem}
.auth-logo-badge{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--mp-primary),#7b5cf0);color:#fff;font-size:1.1rem}
.auth-mobile-brand{display:flex;align-items:center;gap:.5rem;justify-content:center;font-weight:900;font-size:1.4rem;color:var(--mp-primary);margin-bottom:1.3rem}
@media(min-width:992px){
  .auth-mobile-brand{display:none}
  .auth-hero{display:flex;flex-direction:column;justify-content:space-between;flex:1;
    padding:3rem;color:#fff;background:linear-gradient(150deg,#4a2fb0,#5d3fd3 45%,#7b5cf0)}
  .auth-brand{display:flex;align-items:center;gap:.6rem;font-weight:900;font-size:1.6rem;color:#fff}
  .auth-headline{font-weight:900;font-size:2.5rem;line-height:1.12;margin:2.2rem 0 1rem}
  .auth-sub{opacity:.9;font-size:1.02rem;max-width:440px;line-height:1.6}
  .auth-features{list-style:none;padding:0;margin:1.8rem 0 0;display:grid;gap:.8rem}
  .auth-features li{display:flex;align-items:center;gap:.7rem;font-weight:600;font-size:.98rem}
  .auth-features li i{width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center}
  .auth-trust{display:flex;gap:2.5rem;margin-top:2rem}
  .auth-trust b{display:block;font-size:1.6rem;font-weight:900}
  .auth-trust span{opacity:.8;font-size:.85rem}
}

/* ---------- PDP ---------- */
.pdp-gallery img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff}
.pdp-thumbs{display:flex;gap:.5rem;overflow-x:auto;padding:.5rem 0}
.pdp-thumbs img{width:54px;height:54px;border-radius:8px;object-fit:cover;border:2px solid transparent}
.pdp-thumbs img.active{border-color:var(--mp-primary)}
.variant-opt{border:1.5px solid var(--mp-border);border-radius:10px;padding:.4rem .7rem;font-size:.82rem;font-weight:600;cursor:pointer}
.variant-opt.active{border-color:var(--mp-primary);background:#f3efff;color:var(--mp-primary)}

/* ---------- Star rating input ---------- */
.star-input{display:flex;align-items:center}
.star-input .star{font-size:1.7rem;color:#dcdce4;cursor:pointer;transition:transform .1s;margin-right:.2rem}
.star-input .star:hover{transform:scale(1.15)}
.star-input .star.on{color:#ffb400}

/* loader spinner */
#infinite-loader{text-align:center;padding:1rem;display:none}
.spinner-dot{width:8px;height:8px;background:var(--mp-primary);border-radius:50%;display:inline-block;animation:bounce .6s infinite alternate;margin:0 2px}
.spinner-dot:nth-child(2){animation-delay:.2s}.spinner-dot:nth-child(3){animation-delay:.4s}
.float-cart-loading{text-align:center}

/* ---------- Global page loader (centered spinner) ---------- */
.mp-loader{
  position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;
  pointer-events:none;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;
}
.mp-loader.is-active{opacity:1;visibility:visible;pointer-events:auto}
.mp-loader-backdrop{
  position:absolute;inset:0;background:rgba(255,255,255,.55);
  backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);
}
.mp-loader-spinner{
  position:relative;z-index:1;width:44px;height:44px;border-radius:50%;
  border:3px solid rgba(93,63,211,.12);
  border-top-color:var(--mp-primary);
  animation:mpSpin .7s linear infinite;
}
@keyframes mpSpin{to{transform:rotate(360deg)}}
@keyframes bounce{to{transform:translateY(-7px);opacity:.5}}

/* fade up */
.fade-up{animation:fadeUp .4s ease both}
@keyframes fadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ---------- Desktop footer (hidden on mobile app view) ---------- */
.desk-footer{display:none}
@media(min-width:992px){
  .desk-footer{display:block;background:#15131f;color:#cfcde0;margin-top:2.5rem}
  .desk-footer-inner{max-width:1140px;margin:0 auto;padding:3rem 1.5rem 1.5rem}
  .desk-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;gap:1.75rem}
  .desk-footer-logo{display:inline-flex;align-items:center;gap:.5rem;font-weight:900;font-size:1.5rem;color:#fff;text-decoration:none}
  .desk-footer-logo img{height:38px;width:auto;max-width:180px;object-fit:contain}
  .desk-footer-tag{margin:.9rem 0 1.1rem;color:#9b98b3;font-size:.92rem;max-width:320px;line-height:1.6}
  .desk-footer-social{display:flex;gap:.6rem}
  .desk-footer-social a{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.05rem;transition:background .15s,transform .15s}
  .desk-footer-social a:hover{background:var(--mp-primary);transform:translateY(-2px)}
  .desk-footer-col h6{color:#fff;font-weight:700;margin-bottom:1rem;font-size:.98rem}
  .desk-footer-col a{display:block;color:#9b98b3;text-decoration:none;font-size:.9rem;margin-bottom:.6rem;transition:color .15s}
  .desk-footer-col a:hover{color:#fff}
  .desk-footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.8rem;
    border-top:1px solid rgba(255,255,255,.08);margin-top:2.2rem;padding-top:1.3rem;font-size:.85rem;color:#8a87a3}
  .desk-footer-pay i{font-size:1.1rem;margin-right:.2rem;vertical-align:middle}
}
@media(min-width:992px) and (max-width:1199px){
  .desk-footer-grid{grid-template-columns:1.2fr 1fr 1fr;gap:1.5rem}
}
