/* ===== Loader ===== */
#av-loader{position:fixed;inset:0;z-index:99999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:rgba(15,15,20,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
#av-loader.on{opacity:1;visibility:visible}
#av-loader .av-ring{width:58px;height:58px;border-radius:50%;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px rgba(0,0,0,.25)}
#av-loader .av-ring i{width:30px;height:30px;border-radius:50%;border:3px solid rgba(91,61,245,.2);border-top-color:var(--dk-brand,#5b3df5);animation:avspin .8s linear infinite}
#av-loader .av-txt{padding:7px 16px;border-radius:20px;background:#fff;color:#222;font-weight:700;font-size:13px;box-shadow:0 6px 20px rgba(0,0,0,.2)}
#av-bar{position:fixed;top:0;left:0;height:3px;width:0;z-index:100000;background:var(--dk-brand,#5b3df5);transition:width .3s}
@keyframes avspin{to{transform:rotate(360deg)}}
body.av-leaving main{opacity:.4;transition:opacity .2s}

/* ===== Header hamburger ===== */
.av-burger{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:0;border-radius:12px;background:rgba(0,0,0,.05);color:inherit;cursor:pointer}
.av-burger svg{width:22px;height:22px;stroke:currentColor;stroke-width:2;stroke-linecap:round;fill:none}
.av-burger .x{display:none}
.av-burger.is-open .b{display:none}
.av-burger.is-open .x{display:block}
@media(min-width:992px){.av-burger{display:none!important}}

/* drawer close (X) */
.dina-side-nav .mclosebtn{display:flex!important;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(0,0,0,.07);font-size:20px}

/* ===== Mobile bottom bar ===== */
@media(max-width:991.98px){
  html body .mobile-footer{position:fixed;left:0;right:0;bottom:0;z-index:9990;padding:0 6px env(safe-area-inset-bottom,0);background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid rgba(0,0,0,.07);box-shadow:0 -8px 24px -14px rgba(0,0,0,.3)}
  html body .mobile-footer>ul{display:flex;align-items:stretch;justify-content:space-around;margin:0;padding:0;list-style:none;width:100%}
  html body .mobile-footer>ul>li{flex:1 1 0;min-width:0;display:flex;padding:0;margin:0;cursor:pointer;position:relative;border:0}
  html body .mobile-footer>ul>li>a,html body .mobile-footer>ul>li:not(:has(a)){flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:58px;padding:6px 2px;text-decoration:none;color:#6b7280}
  html body .mobile-footer .f-icon{position:relative;display:flex!important;align-items:center;justify-content:center;width:26px;height:26px;margin:0!important;font-size:21px!important;line-height:1;color:inherit!important;background:none!important;box-shadow:none!important;border-radius:0!important}
  html body .mobile-footer .mf-title{display:block;margin:0;font-size:11px;line-height:1.2;font-weight:600;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  html body .mobile-footer li.av-active,html body .mobile-footer li.av-active a{color:var(--dk-brand,#5b3df5)}
  html body .mobile-footer li.av-active .f-icon::after{content:"";position:absolute;bottom:-6px;width:18px;height:3px;border-radius:3px;background:currentColor}
  html body .mobile-footer .dina-cart-amount,html body .mobile-footer .wish-amount,html body .mobile-footer .compare-amount{position:absolute;top:-5px;inset-inline-start:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--dk-brand,#5b3df5);color:#fff;font:700 10px/16px sans-serif;text-align:center}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0))}
}
