/* Swapno Chowa overrides for the Shopingo mobile template (mobile.css). */
body { font-family: 'Hind Siliguri', 'Open Sans', system-ui, sans-serif; }
.top-header { z-index: 1030; }
.top-header .top-right-menu .cart-badge { background-color: #f59e0b; color: #4c0519; font-weight: 700; }
.top-header .brand-logo img { height: 36px; width: auto; }
.wrapper .page-footer { z-index: 1030; background: #fff; }
.wrapper .page-footer .navbar a.nav-link { color: #6b7280; }
.wrapper .page-footer .navbar a.nav-link.active { color: #9f1239; }
.m-drawer { position: fixed; inset: 0 auto 0 0; width: 285px; max-width: 85vw; background: #fff; z-index: 1050; transform: translateX(-100%); transition: transform .3s; overflow-y: auto; }
.m-drawer.open { transform: none; }
.m-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1045; }
.m-drawer .m-head { background: #4c0519; color: #fff; padding: 1rem; display: flex; align-items: center; justify-content: space-between; }
.m-drawer a.m-link { display: block; padding: .8rem 1rem; color: #212529; border-bottom: 1px solid #f1f1f1; }
.m-drawer a.m-link.sub { padding-left: 2rem; color: #6b7280; font-size: 13px; }
.m-hero { position: relative; overflow: hidden; border-radius: .75rem; aspect-ratio: 16/10; background: #4c0519; }
.m-hero img.m-hero-bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(16px) brightness(.9); }
.m-hero .m-hero-photos { position: absolute; inset: 0; display: flex; justify-content: center; gap: 3px; }
.m-hero .m-hero-photos img { height: 100%; width: auto; min-width: 0; flex: 0 1 auto; object-fit: contain; }
.m-hero .m-cap { position: absolute; inset: 0; padding: 1rem; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 65%); }
.m-hero .m-cap h2 { color: #fff; font-size: 1.25rem; font-weight: 700; margin: 0 0 .5rem; }
.m-dots { position: absolute; bottom: 8px; right: 12px; display: flex; gap: 5px; }
.m-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); }
.m-dots button.on { background: #fbbf24; width: 18px; border-radius: 4px; }
.m-prod { position: relative; }
.m-prod img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.m-prod .badge-off { position: absolute; top: 6px; left: 6px; background: #9f1239; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.m-prod .price { color: #9f1239; font-weight: 700; }
.m-prod .price del { color: #9ca3af; font-weight: 400; font-size: 12px; margin-left: 4px; }
.m-wa { position: fixed; right: 14px; bottom: 74px; z-index: 1031; width: 46px; height: 46px; border-radius: 50%; background: #22c55e; color: #fff; display: grid; place-items: center; font-size: 24px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.m-heart { position: absolute; top: 6px; right: 6px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; font-size: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.btn-ecomm.btn-amber { background: #fbbf24; color: #4c0519; border-color: #fbbf24; }
.btn-ecomm.btn-amber:hover { background: #f59e0b; border-color: #f59e0b; color: #4c0519; }
.banner-slider .slick-dots { bottom: -28px; }
.banner-slider .slick-dots li button:before { font-size: 10px; color: #9f1239; }
.m-product-slider .slick-track { display: flex; }
.m-product-slider .slick-slide { height: auto; }
.m-product-slider .slick-slide > div, .m-product-slider .slick-slide { display: flex !important; }
/* Before Slick starts: show only the first banner, and products two per row. */
.banner-slider:not(.slick-initialized) > *:not(:first-child) { display: none; }
.m-product-slider:not(.slick-initialized) { display: flex; overflow: hidden; }
.m-product-slider:not(.slick-initialized) > * { flex: 0 0 50%; max-width: 50%; }
.m-product-slider .slick-track { margin-left: 0; }

/* ---- Phone banner animations: caption from the left, photos with a random effect (data-anim) ---- */
.banner-slider .banner-item .m-cap > *, .banner-slider .banner-item .m-hero-photos img { opacity: 0; }
.banner-slider .banner-item.is-entering .m-cap > * { animation: mTextIn .7s cubic-bezier(.2, .75, .25, 1) both; }
.banner-slider .banner-item.is-entering .m-cap > :nth-child(1) { animation-delay: .1s; }
.banner-slider .banner-item.is-entering .m-cap > :nth-child(2) { animation-delay: .25s; }
.banner-slider .banner-item.is-entering .m-hero-photos img { animation: .9s cubic-bezier(.2, .7, .2, 1) both; }
.banner-slider .banner-item.is-entering[data-anim="right"] .m-hero-photos img { animation-name: mPhotoRight; }
.banner-slider .banner-item.is-entering[data-anim="blur"] .m-hero-photos img { animation-name: mPhotoBlur; animation-duration: 1.2s; }
.banner-slider .banner-item.is-entering[data-anim="zoom"] .m-hero-photos img { animation-name: mPhotoZoom; }
.banner-slider .banner-item.is-entering[data-anim="up"] .m-hero-photos img { animation-name: mPhotoUp; }
.banner-slider .banner-item.is-entering[data-anim="down"] .m-hero-photos img { animation-name: mPhotoDown; }
.banner-slider .banner-item.is-entering .m-hero-photos img:nth-child(2) { animation-delay: .15s; }
.banner-slider .banner-item.is-entering .m-hero-photos img:nth-child(3) { animation-delay: .3s; }
.banner-slider .banner-item.is-entering .m-hero-photos img:nth-child(4) { animation-delay: .45s; }
@keyframes mTextIn { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: none; } }
@keyframes mPhotoRight { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: none; } }
@keyframes mPhotoBlur { from { opacity: 0; filter: blur(16px); } to { opacity: 1; filter: blur(0); } }
@keyframes mPhotoZoom { from { opacity: 0; transform: scale(1.25); } to { opacity: 1; transform: none; } }
@keyframes mPhotoUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: none; } }
@keyframes mPhotoDown { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .banner-slider .banner-item .m-cap > *, .banner-slider .banner-item .m-hero-photos img { animation: none !important; opacity: 1 !important; }
}
.top-header .top-right-menu .lang-switch { font-size: 13px !important; font-weight: 700; border: 1px solid #d1d5db; border-radius: 4px; padding: 1px 6px !important; }
