/* BazarMemo style.css — v7 clean */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',Arial,sans-serif;background:#f0f4f0;color:#1a1a1a;font-size:15px}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer}
img{display:block;max-width:100%}

/* ── Variables ── */
:root{
  --hh:57px;   /* header height desktop */
  --green:#2e7d32;
  --green-d:#1b5e20;
  --green-l:#e8f5e9;
}

/* ══════════════════════════════════════════
   ANNOUNCE BAR
══════════════════════════════════════════ */
.ann-bar{background:#1b5e20;color:#fff;text-align:center;font-size:12px;padding:7px 12px;line-height:1.5;z-index:50;position:relative}
.ann-bar strong{color:#a5d6a7}


/* ══════════════════════════════════════════
   APP DOWNLOAD
══════════════════════════════════════════ */

.app-banner{
  width:100%;
  background:#fff;
  color:#1a1a1a;
  padding:10px;
  border-bottom:1px solid #e0ece0;
}





/* App banner সাদা হলে text কালো */
.app-banner .app-info h3 { color: #1a1a1a; }
.app-banner .app-info p { color: #666; }
.app-btn:hover { background: #1b5e20; }


.app-banner-inner{
  max-width:1200px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.app-btn{
  background: #2e7d32;
  color:#fff;
  padding:6px 12px;
  border-radius:20px;
  text-decoration:none;
}



/* ══════════════════════════════════════════ HEADER */

.hdr{background:#2e7d32;border-bottom:1px solid #1b5e20;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(0,0,0,.07);transition:transform .3s cubic-bezier(.4,0,.2,1);will-change:transform}







/* Header সবুজ হলে icon ও text সাদা */
.hdr .logo-text { color: #fff; }
.hdr .logo-tagline { color: rgba(255,255,255,.75); }
.hdr .ico-btn { background: rgba(255,255,255,.15); color: #fff; }
.hdr .ico-btn:hover { background: rgba(255,255,255,.25); }
.hdr .zone-btn { color: #fff; }
.hdr .zone-btn svg { color: #fff; }
.hdr .zone-btn.zone-active { background: rgba(255,255,255,.2); color: #fff; }
.hdr .srch-wrap { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.hdr .srch-wrap input { color: #fff; }
.hdr .srch-wrap input::placeholder { color: rgba(255,255,255,.6); }
.hdr .srch-back { color: #fff; }
.hdr .srch-back:hover { background: rgba(255,255,255,.15); }















.hdr.hidden{transform:translateY(-100%)}
.hdr-inner{width:100%;max-width:1280px;min-width:0;margin:auto;height:var(--hh);padding:0 16px;display:flex;align-items:center;gap:10px}
.logo{display:flex;align-items:center;gap:7px;min-width:0;flex:1 1 auto;overflow:hidden}
.logo-icon{flex:0 0 auto;font-size:24px;line-height:1}
.logo-info{display:flex;flex-direction:column;justify-content:center;min-width:0;overflow:hidden}
.logo-text{font-size:18px;line-height:18px;font-weight:700;color:var(--green);white-space:nowrap}
.logo-tagline{font-size:10px;line-height:13px;color:#777;white-space:nowrap}

.hdr-icons{display:flex;align-items:center;gap:6px;margin-left:auto;flex:0 0 auto;min-width:0}
.ico-btn{position:relative;width:40px;height:40px;flex:0 0 40px;display:flex;align-items:center;justify-content:center;border:0;background:#f3f7f3;border-radius:10px;color:var(--green);padding:0;overflow:hidden;transition:background .2s,transform .15s}
.ico-btn:hover{background:var(--green-l)}
.ico-btn:active{transform:scale(.94)}

.zone-btn{width:auto!important;min-width:40px;height:40px;flex:0 1 auto!important;padding:0 10px!important;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:20px;white-space:nowrap;overflow:hidden}
.zone-btn svg{flex:0 0 auto;width:16px;height:16px;color:#888}
.zone-btn-label{display:block!important;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500}
.zone-btn.zone-active{background:#e8f5e9;color:var(--green)}
.zone-btn.zone-active svg{color:var(--green)}

.avatar-ico{display:none!important}

.cbadge{position:absolute;top:-4px;right:-4px;background:#e53935;color:#fff;font-size:10px;font-weight:700;min-width:17px;height:17px;border-radius:9px;display:none;align-items:center;justify-content:center;padding:0 3px}
.cbadge.show{display:flex}

/* Search mode */
.hdr-search-mode{display:none;align-items:center;gap:10px;padding:0 12px;height:var(--hh);animation:srchIn .2s ease}
@keyframes srchIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.hdr.search-open .hdr-inner{display:none}
.hdr.search-open .hdr-search-mode{display:flex}
.srch-back{width:38px;height:38px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:none;background:none;color:var(--green);cursor:pointer;border-radius:50%;transition:background .2s}
.srch-back:hover{background:var(--green-l)}
.srch-wrap{flex:1;display:flex;align-items:center;gap:9px;background:#f3f7f3;border:1.5px solid #c8e6c9;border-radius:24px;padding:0 14px;transition:border-color .2s,box-shadow .2s}
.srch-wrap:focus-within{border-color:var(--green);box-shadow:0 0 0 3px rgba(46,125,50,.12);background:#fff}
.srch-wrap input{flex:1;border:none;background:transparent;font-size:15px;padding:10px 0;outline:none;font-family:inherit;color:#1a1a1a}
.srch-wrap input::placeholder{color:#aaa}
.srch-clear{background:#ddd;border:none;width:20px;height:20px;border-radius:50%;font-size:11px;color:#555;flex-shrink:0;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}
.srch-clear:hover{background:#bbb}








/* ══════════════ FLOATING CART */
.floating-cart{position:fixed;right:0;top:50%;transform:translateY(-50%);width:50px;height:50px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #d8e8d8;border-right:0;border-radius:14px 0 0 14px;background:#fff;color:var(--green);box-shadow:0 4px 16px rgba(0,0,0,.16);z-index:120;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s}
.floating-cart:hover{background:var(--green-l);transform:translateY(-50%) translateX(-2px);box-shadow:0 6px 20px rgba(0,0,0,.2)}
.floating-cart:active{transform:translateY(-50%) scale(.94)}
.floating-cart .cbadge{position:absolute;top:4px;right:4px;min-width:17px;height:17px;display:none;align-items:center;justify-content:center;padding:0 3px;background:#e53935;color:#fff;font-size:10px;font-weight:700;border-radius:50%}
.floating-cart .cbadge.show{display:flex}









/* ══════════════════════════════════════════
   SLIDE-IN SIDE MENU
══════════════════════════════════════════ */
.menu-mask{display:none;position:fixed;inset:0;z-index:150;background:rgba(0,0,0,.35)}
.menu-mask.show{display:block}

.side-menu{
  position:fixed;top:0;right:-290px;width:270px;height:100vh;
  background:#fff;z-index:151;
  box-shadow:-4px 0 24px rgba(0,0,0,.15);
  transition:right .28s cubic-bezier(.4,0,.2,1);
  display:flex;flex-direction:column;
  overflow-y:auto;
}
.side-menu.show{right:0}

.side-menu-top{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 18px 12px;border-bottom:1px solid #f0f0f0;
}

.menu-user{display:flex;align-items:center;gap:12px;padding:14px 18px 10px}
.menu-av{width:44px;height:44px;border-radius:50%;background:var(--green);color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.menu-name{font-size:15px;font-weight:600;line-height:1.2}
.menu-phone{font-size:12px;color:#888}

.menu-div{height:1px;background:#f0f0f0;margin:6px 0}

.menu-link{
  display:flex;align-items:center;gap:12px;
  padding:13px 18px;font-size:14px;font-weight:500;color:#333;
  border:none;background:none;width:100%;text-align:left;
  font-family:inherit;transition:background .15s;cursor:pointer;
}
.menu-link:hover{background:#f5f7f5;color:var(--green)}
.menu-link.logout{color:#e53935}
.menu-link.login-l{color:var(--green)}
.menu-link.reg-l{color:#1565c0}





/* ══════════════════════════════════════════
   HERO SLIDER (বড় ইমেজ ও পাশাপাশি কমপ্যাক্ট লেআউট)
══════════════════════════════════════════ */
.hero{
  width:100%;
  position:relative;
  overflow:hidden;
  background:#1b5e20;
}

.slider{
  position:relative;
  width:100%;
  /* ডেস্কটপে দৃষ্টিনন্দন ৩৫০px হাইট */
  height:350px;
  overflow:hidden;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transform:translateX(20px);
  transition:opacity .4s ease, transform .4s ease;
  pointer-events:none;
  display:flex;
  align-items:center;
}
.slide.active{
  opacity:1;
  transform:translateX(0);
  pointer-events:auto;
}

.slide-in{
  width:100%;
  max-width:1200px;
  margin:auto;
  padding:0 24px;
  height:100%;
  /* সবসময় পাশাপাশি (Side-by-Side) */
  display:flex;
  flex-direction:row !important;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  color:#fff;
  position:relative;
}



/* বাম পাশের টেক্সট কলাম */
.sl-copy{
  flex: 1 1 54%;
  max-width: 540px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* যাতে বাটন পুরোটা প্রসারিত না হয় */
}

.sl-pill{
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  margin-bottom: 8px;
  width: fit-content;
  align-self: flex-start;
}

.sl-btn{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  color: #1b5e20;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 8px;
  width: fit-content; /* লেখার সমান ব্যাকগ্রাউন্ড */
  align-self: flex-start;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
}







.sl-copy h1{
  font-size:clamp(18px, 2.5vw, 32px);
  font-weight:700;
  line-height:1.22;
  margin-bottom:8px;
}
.sl-copy h1 em{font-style:normal;color:rgba(255,255,255,.9)}
.sl-copy p{
  font-size:clamp(12px, 1.1vw, 14px);
  line-height:1.5;
  color:rgba(255,255,255,.88);
  max-width:400px;
  margin-bottom:14px;
}

.sl-btn:hover{transform:translateY(-2px);box-shadow:0 5px 16px rgba(0,0,0,.22)}





/* ── Right Image Box: .slider-এর সমান হাইট ও উপরে 10px মার্জিন ── */
.sl-img-box{
  flex: 0 0 46%;
  max-width: 480px;
  /* পুরো স্লাইডারের উচ্চতার সমান (উপরে 10px মার্জিন বাদ দিয়ে) */
  height: calc(100% - 10px);
  margin-top: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  z-index: 1;
}

.sl-img-box img{
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.26));
  transition: transform .3s ease;
}
.sl-img-box:hover img{
  transform: scale(1.03);
}



.sl-stats{
  position:absolute;
  bottom:6px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(0,0,0,.35);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.25);
  border-radius:10px;
  padding:4px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}
.ss{display:flex;flex-direction:column;align-items:center}
.ss b{font-size:11px;font-weight:700;color:#fff}
.ss span{font-size:8.5px;color:rgba(255,255,255,.8)}
.ss-d{width:1px;height:16px;background:rgba(255,255,255,.3)}

.sl-badge{
  position:absolute;
  top:10px;
  right:10px;
  background:#fff;
  color:#e65100;
  font-size:12px;
  font-weight:800;
  padding:4px 10px;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
  white-space:nowrap;
  transform:rotate(3deg);
}

.sl-dots{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);display:flex;gap:6px;z-index:10}
.dot{width:7px;height:7px;border-radius:4px;background:rgba(255,255,255,.45);border:none;cursor:pointer;transition:all .25s;padding:0}
.dot.active{background:#fff;width:20px}
.sl-arr{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.2);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:20px;width:32px;height:32px;border-radius:50%;cursor:pointer;z-index:10;display:flex;align-items:center;justify-content:center;transition:background .2s}
.sl-arr:hover{background:rgba(255,255,255,.4)}
.sl-prev{left:10px}.sl-next{right:10px}






/* ══════════════════════════════════════════
   USP
══════════════════════════════════════════ */
.usp-row{background:#fff;border-bottom:1px solid #e0ece0;display:flex;flex-wrap:wrap;justify-content:center}
.usp{display:flex;align-items:center;gap:10px;padding:13px 22px;border-right:1px solid #e0ece0}
.usp:last-child{border-right:none}
.usp>span{font-size:20px}
.usp b{display:block;font-size:13px;font-weight:600;color:#1a1a1a}
.usp small{font-size:11px;color:#888}

/* ══════════════════════════════════════════
   STICKY CATEGORY BAR
   top = var(--hh) by default
   JS sets top:0 when header is hidden
══════════════════════════════════════════ */

.cat-tabs-wrap,
.sub-chips {
  scroll-behavior: smooth;
}

.cat-tabs-wrap,
.sub-chips {
  cursor: grab;
}

.cat-tabs-wrap.active,
.sub-chips.active {
  cursor: grabbing;
}


.cat-tabs-wrap,
.sub-chips {
  scroll-behavior: smooth;
  user-select: none;
}


.cat-bar{
  position:sticky;
  top:0;
  z-index:90;
  background:#fff;
  border-bottom:1.5px solid #e0ece0;
  box-shadow:0 2px 6px rgba(0,0,0,.05);
  transition:top .3s cubic-bezier(.4,0,.2,1);
}

.cat-tabs-wrap{
  max-width:1280px;margin:auto;
  padding:8px 14px 6px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.cat-tabs-wrap::-webkit-scrollbar{display:none}
.cat-tabs{display:flex;gap:8px;width:max-content}

.cat-tab{
  padding:8px 18px;border:1.5px solid #dde8dd;
  background:#fff;border-radius:8px;
  font-size:14px;font-weight:500;color:#555;
  white-space:nowrap;transition:all .2s;
}
.cat-tab:hover{border-color:#4caf50;color:var(--green);background:var(--green-l)}
.cat-tab.active{background:var(--green);color:#fff;border-color:var(--green)}

/* Sub chips */
.sub-bar{background:#f5f7f5;border-top:1px solid #e0ece0}
.sub-chips{
  max-width:1280px;margin:auto;
  padding:7px 14px;
  display:flex;gap:7px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;
  min-width:100%;
}
.sub-chips::-webkit-scrollbar{display:none}
.sub-chip{
  padding:5px 14px;border:1.5px solid #dde8dd;
  background:#fff;border-radius:20px;
  font-size:13px;font-weight:500;color:#555;
  font-family:inherit;cursor:pointer;white-space:nowrap;flex-shrink:0;
  transition:all .18s;
}
.sub-chip:hover{border-color:#4caf50;color:var(--green);background:var(--green-l)}
.sub-chip.active{background:var(--green);color:#fff;border-color:var(--green)}

/* ══════════════════════════════════════════
   MAIN / FLASH / GRID
══════════════════════════════════════════ */
.main{max-width:1280px;margin:18px auto;padding:0 14px}

.flash-bar{background:linear-gradient(90deg,#fff8e1,#fff3cd);border:1.5px solid #ffe082;border-radius:10px;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.fl-left{display:flex;align-items:center;gap:10px}
.fl-tag{background:#ff6f00;color:#fff;font-size:11px;font-weight:600;padding:3px 9px;border-radius:5px}
.fl-left span:last-child{font-size:13px;font-weight:500;color:#5d4037}
.fl-timer{font-size:17px;font-weight:700;color:#e53935;font-variant-numeric:tabular-nums}

.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:12px;margin-bottom:8px}

/* Skeleton */
.skel{height:280px;background:#e4ece4;border-radius:14px;animation:pulse 1.2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}

.empty{text-align:center;padding:50px 20px;color:#aaa}
.empty span{font-size:36px;display:block;margin-bottom:10px}

















/* ==========================================
   CART ITEM ACTIONS
========================================== */

.ci-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}


.ci-edit,
.ci-rm {
  width: 30px;
  height: 30px;

  border: 0;
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  line-height: 1;

  cursor: pointer;

  transition:
    transform .15s ease,
    background .15s ease;
}


.ci-edit {
  background: #eef6f0;
  color: #1a6b3c;
}


.ci-rm {
  background: #fff0f0;
  color: #d32f2f;
}


.ci-edit:hover,
.ci-rm:hover {
  transform: scale(1.08);
}


.ci-edit:active,
.ci-rm:active {
  transform: scale(.94);
}




/* ── CARD ── */

.card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #e0ece0;
  overflow: hidden;

  transition:
    transform .2s,
    box-shadow .2s;

  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(46,125,50,.12);
}


/* ─────────────────────────
   PRODUCT IMAGE
───────────────────────── */

.prod-img {
  position: relative;
  cursor: pointer;
  overflow: hidden;

  background: #f7faf7;
}

.prod-img img {
  width: 100%;
  height: 150px;

  object-fit: contain;

  background: #f7faf7;

  transition: transform .3s;

  display: block;
}

.prod-img:hover img {
  transform: scale(1.04);
}


/* ─────────────────────────
   BADGE
───────────────────────── */

.pbadge {
  position: absolute;

  top: 8px;
  left: 8px;

  background: #e53935;
  color: #fff;

  font-size: 10px;
  font-weight: 600;

  padding: 3px 7px;

  border-radius: 5px;

  z-index: 5;
}


/* ─────────────────────────
   FAVORITE
   Favorite + Tick একই জায়গায়
───────────────────────── */

.card-fav {
  position: absolute;

  top: 8px;
  right: 8px;

  width: 34px;
  height: 34px;

  border: none;
  border-radius: 0;

  background: transparent !important;

  color: #777;

  font-size: 25px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin: 0;

  cursor: pointer;

  z-index: 8;

  box-shadow: none !important;

  transition:
    transform .15s,
    color .15s;
}

.card-fav:hover {
  color: #e53935;
}

.card-fav:active {
  transform: scale(.88);
}


/* Cart-এ থাকলে Favorite hide */
.card-fav.hide {
  display: none;
}

/* ─────────────────────────
   CART CHECK
   Favorite-এর একই জায়গায়
───────────────────────── */

.card-cart-status {
  position: absolute;

  top: 8px;
  right: 8px;

  width: 34px;
  height: 34px;

  border: none;
  border-radius: 0;

  background: transparent !important;

  color: #079447;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 0;
  margin: 0;

  font-size: 24px;
  font-weight: 800;
  line-height: 1;

  z-index: 8;

  box-shadow: none !important;

  pointer-events: none;

  transition:
    opacity .18s,
    transform .18s;
}


/* Cart-এ থাকলে Tick show */
.card-cart-status.active {
  display: flex;
}

/* ─────────────────────────
   IMAGE HINT
───────────────────────── */

.img-hint {
  position: absolute;

  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;

  transition: background .2s;

  pointer-events: none;
}

.prod-img:hover .img-hint {
  background: rgba(46,125,50,.07);
}

.img-hint span {
  background: rgba(255,255,255,.94);

  border-radius: 6px;

  font-size: 11px;

  padding: 3px 8px;

  font-weight: 600;

  color: var(--green);

  opacity: 0;

  transition: opacity .2s;

  white-space: nowrap;
}

.prod-img:hover .img-hint span {
  opacity: 1;
}


/* ─────────────────────────
   FLOATING ADD
───────────────────────── */

.floating-add {
  position: absolute;

  right: 8px;
  bottom: 8px;

  width: 42px;
  height: 42px;

  border: none;
  border-radius: 50%;

  background: var(--green);

  color: #fff;

  font-size: 28px;
  font-weight: 400;

  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  z-index: 10;

  box-shadow: 0 4px 10px rgba(0,0,0,.16);

  transition:
    transform .15s,
    background .15s;
}

.floating-add:hover {
  background: var(--green-d);
  transform: scale(1.05);
}

.floating-add:active {
  transform: scale(.88);
}


/* ─────────────────────────
   FLOATING QUANTITY
───────────────────────── */

.floating-qty {
  position: absolute;

  right: 8px;
  bottom: 8px;

  height: 40px;

  padding: 3px;

  display: flex;
  align-items: center;

  background: #fff;

  border-radius: 22px;

  box-shadow: 0 4px 12px rgba(0,0,0,.18);

  z-index: 10;
}

.floating-qty button {
  width: 34px;
  height: 34px;

  border: none;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 21px;

  cursor: pointer;

  flex-shrink: 0;
}

.floating-dec {
  background: #fff0f0;
  color: #e53935;
}

.floating-dec:hover {
  background: #ffcdd2;
}

.floating-inc {
  background: var(--green);
  color: #fff;
}

.floating-inc:hover {
  background: var(--green-d);
}

.floating-num {
  min-width: 28px;

  text-align: center;

  font-size: 14px;
  font-weight: 700;

  color: #222;
}


/* ─────────────────────────
   CARD BODY
───────────────────────── */

.card-body {
  padding: 10px;

  display: flex;
  flex-direction: column;
}

.prod-name {
  font-size: 14px;
  font-weight: 600;

  color: #1a1a1a;

  line-height: 1.3;

  margin-bottom: 3px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prod-price {
  font-size: 14px;
  font-weight: 700;

  color: var(--green);

  display: flex;
  align-items: baseline;

  flex-wrap: wrap;

  gap: 3px;

  margin-bottom: 8px;
}

.current-price {
  font-size: inherit;
  font-weight: 800;
  color: var(--green);
}

.price-unit {
  font-size: 12px;
  font-weight: 600;
  color: #333;
}

.price-old {
  font-size: 11px;
  color: #bbb;

  text-decoration: line-through;

  font-weight: 400;

  margin-left: 2px;
}









/* ── CARD ──

.card{background:#fff;border-radius:14px;border:1.5px solid #e0ece0;overflow:hidden;transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}
.card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(46,125,50,.12)}

.prod-img{position:relative;cursor:pointer;overflow:hidden;background:#f3f7f3}
.prod-img img{width:100%;height:150px;object-fit:contain;background:#f3f7f3;transition:transform .3s;display:block}
.prod-img:hover img{transform:scale(1.04)}

.pbadge{position:absolute;top:8px;left:8px;background:#e53935;color:#fff;font-size:10px;font-weight:600;padding:3px 7px;border-radius:5px}

.img-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:transparent;transition:background .2s}
.prod-img:hover .img-hint{background:rgba(46,125,50,.1)}
.img-hint span{background:rgba(255,255,255,.92);border-radius:6px;font-size:11px;padding:3px 8px;font-weight:600;color:var(--green);opacity:0;transition:opacity .2s;white-space:nowrap}
.prod-img:hover .img-hint span{opacity:1}

.card-body{padding:10px;display:flex;flex-direction:column}
.prod-name{font-size:14px;font-weight:600;color:#1a1a1a;line-height:1.3;margin-bottom:3px}
.prod-price{font-size:14px;font-weight:700;color:var(--green);display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;margin-bottom:8px}
.price-old{font-size:11px;color:#bbb;text-decoration:line-through;font-weight:400}

 */

/* qty controls */
.qty-wrap{display:none;flex-direction:column;gap:6px}
.qty-wrap.show{display:flex}

.unit-sel{
  width:100%;padding:5px 28px 5px 8px;
  border:1.5px solid #dde8dd;border-radius:7px;
  font-size:12px;font-family:inherit;
  background:#f3f7f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
  appearance:none;outline:none;cursor:pointer;color:#1a1a1a;
}
.unit-sel:focus{border-color:#4caf50}

.qty-ctrl{display:flex;align-items:center;border:1.5px solid #dde8dd;border-radius:8px;overflow:hidden}
.qty-dec,.qty-inc{width:36px;height:36px;border:none;font-size:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .15s}
.qty-dec{background:#fff0f0;color:#e53935}
.qty-dec:hover{background:#ffcdd2}
.qty-inc{background:var(--green-l);color:var(--green)}
.qty-inc:hover{background:#c8e6c9}
.qty-num{flex:1;text-align:center;font-size:14px;font-weight:600;background:#fff;border-left:1.5px solid #dde8dd;border-right:1.5px solid #dde8dd;height:36px;display:flex;align-items:center;justify-content:center}

.add-btn{width:100%;padding:9px;background:var(--green);color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:600;transition:background .2s;margin-top:0}
.add-btn:hover{background:var(--green-d)}

/* ══════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════ */
.pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;padding:20px 0 30px}
.pgb{min-width:38px;height:38px;padding:0 10px;border:1.5px solid #dde8dd;background:#fff;border-radius:8px;font-size:14px;font-weight:500;color:#555;transition:all .18s}
.pgb:hover:not(.dis){border-color:#4caf50;color:var(--green);background:var(--green-l)}
.pgb.act{background:var(--green);color:#fff;border-color:var(--green)}
.pgb.dis{opacity:.4;cursor:not-allowed}
.pgdots{color:#aaa;font-size:16px;line-height:38px;padding:0 2px}



/* ══════════════════════════════════════════
   rider
══════════════════════════════════════════ */

.rider-app-link {
  text-align: center;
  padding: 12px 10px;
  color: #fff;
  font-size: 14px;
}

.rider-app-link a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 5px;
}

.rider-app-link a:hover {
  opacity: .8;
}

/* ══════════════════════════════════════════
   REVIEWS / FOOTER
══════════════════════════════════════════ */
.rv-sec{background:#fff;padding:44px 20px;border-top:1px solid #e0ece0}
.rv-inner{max-width:1280px;margin:auto}
.rv-inner h2{font-size:20px;font-weight:600;margin-bottom:18px}
.rv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.rv-card{background:#f3f7f3;border-radius:12px;padding:18px;border:1px solid #e0ece0}
.stars{color:#ffb300;margin-bottom:8px}
.rv-card p{font-size:13px;line-height:1.7;color:#555;margin-bottom:12px}
.rv-user{display:flex;align-items:center;gap:10px}
.av{width:34px;height:34px;border-radius:50%;background:#c8e6c9;color:#1b5e20;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.rv-user b{display:block;font-size:13px}
.rv-user small{font-size:11px;color:#888}

.ftr{background:#1a1a1a;color:#ccc;padding:40px 20px 0}
.ftr-inner{max-width:1280px;margin:auto;display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px;padding-bottom:32px;border-bottom:1px solid #2d2d2d}
.ftr-col{display:flex;flex-direction:column}
.ftr-col h4{color:#fff;font-size:13px;font-weight:600;margin-bottom:10px}
.ftr-col a{font-size:13px;color:#aaa;margin-bottom:7px;transition:color .2s}
.ftr-col a:hover{color:#a5d6a7}
.pay-row{display:flex;flex-wrap:wrap;gap:6px}
.pay{background:#2d2d2d;color:#ccc;font-size:11px;font-weight:600;padding:5px 9px;border-radius:5px;border:1px solid #3a3a3a}
.ftr-btm{max-width:1280px;margin:auto;text-align:center;font-size:12px;color:#555;padding:14px 0}

/* ══════════════════════════════════════════
   CART SIDEBAR
══════════════════════════════════════════ */
.mask{display:none;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:200}
.mask.show{display:block}

.cart{position:fixed;top:0;right:-420px;width:380px;height:100vh;background:#fff;z-index:201;display:flex;flex-direction:column;transition:right .3s ease;box-shadow:-4px 0 24px rgba(0,0,0,.15)}
.cart.show{right:0}

.cart-hd{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #eee;flex-shrink:0}
.cart-hd h3{font-size:16px;font-weight:600}
.cart-hd button{background:#f3f3f3;border:none;width:30px;height:30px;border-radius:50%;font-size:15px}


/* ═══════════════════════════════════════
   CUSTOM ADD BOX
══════════════════════════════════════ */

.custom-add{
  padding:10px 14px 12px;
  background:#f5fdf5;
  border-bottom:1.5px solid #c8e6c9;
  flex-shrink:0;
}

.custom-title{
  font-size:12px;
  font-weight:600;
  color:var(--green);
  margin-bottom:8px;
}

.custom-row{
  display:flex;
  gap:6px;
  margin-bottom:8px;
}

.custom-row input{
  flex:1;
  padding:8px 10px;
  min-width:0;
  border:1.5px solid #c8e6c9;
  border-radius:7px;
  font-size:13px;
  font-family:inherit;
  outline:none;
  background:#fff;
  transition:border-color .2s;
}

.custom-row input:focus{
  border-color:#4caf50;
}

.custom-add-btn{
  width:100%;
  padding:9px;
  background:var(--green);
  color:#fff;
  border:none;
  border-radius:7px;
  font-size:13px;
  font-weight:600;
  font-family:inherit;
  transition:background .2s;
}

.custom-add-btn:hover{
  background:var(--green-d);
}


/* ═══════════════════════════════════════
   CART ITEMS
══════════════════════════════════════ */

.cart-items{
  flex:1;
  overflow-y:auto;
  padding:10px 14px;
}

.cart-empty{
  text-align:center;
  color:#aaa;
  font-size:14px;
  padding:30px 0;
}


/* ═══════════════════════════════════════
   NORMAL + CUSTOM CART ITEM
══════════════════════════════════════ */

.ci{
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 0;
  border-bottom:1px solid #f3f3f3;
}

.ci img{
  width:48px;
  height:48px;
  object-fit:cover;
  border-radius:8px;
  flex-shrink:0;
}

.ci-info{
  flex:1;
  min-width:0;
}

.ci-name{
  font-size:13px;
  font-weight:500;
  line-height:1.3;
  margin-bottom:2px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ci-sub{
  font-size:12px;
  color:var(--green);
  font-weight:600;
}

.ci-actions{
  display:flex;
  align-items:center;
  gap:2px;
  flex-shrink:0;
}

.ci-edit,
.ci-rm{
  background:none;
  border:none;
  padding:4px;
  flex-shrink:0;
}

.ci-edit{
  color:var(--green);
  font-size:16px;
}

.ci-rm{
  color:#e53935;
  font-size:16px;
}


/* ═══════════════════════════════════════
   CUSTOM CART ITEM
══════════════════════════════════════ */

.custom-ci{
  background:#f9fff9;
  border:1px solid #e0ece0;
  border-radius:8px;
  padding:8px;
  margin-bottom:4px;
}


/* Custom product placeholder */
.ci-custom-img{
  width:48px;
  height:48px;
  flex:0 0 48px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:#f1f5f2;
  border-radius:8px;

  font-size:23px;
}


/* Custom product name */
.custom-ci .ci-name-text{
  line-height:1.35;
}


/* Custom quantity / description */
.custom-ci .ci-sub{
  margin-top:3px;
  font-size:12px;
  color:var(--green);
  font-weight:600;
}


/* ═══════════════════════════════════════
   CART FOOTER
══════════════════════════════════════ */

.cart-ft{
  padding:12px 16px;
  border-top:1px solid #eee;
  flex-shrink:0;
}

.cart-total-row{
  display:flex;
  justify-content:space-between;
  font-size:14px;
  margin-bottom:10px;
}

.cart-total-row strong{
  font-size:19px;
  color:var(--green);
}

.order-btn{
  width:100%;
  padding:13px;
  background:var(--green);
  color:#fff;
  border:none;
  border-radius:10px;
  font-size:15px;
  font-weight:600;
  transition:background .2s;
}

.order-btn:hover{
  background:var(--green-d);
}
/* ══════════════════════════════════════════
   AUTH / LOGIN PAGE
══════════════════════════════════════════ */
.auth-page{background:linear-gradient(135deg,#1b5e20,#388e3c);min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}
.auth-wrap{background:#fff;border-radius:18px;padding:36px 28px;width:100%;max-width:420px;box-shadow:0 20px 60px rgba(0,0,0,.2)}
.auth-logo{display:block;font-size:22px;font-weight:700;color:var(--green);text-align:center;margin-bottom:4px}
.auth-tagline{text-align:center;font-size:13px;color:#888;margin-bottom:22px}
.auth-tabs{display:flex;border:1.5px solid #e0ece0;border-radius:10px;overflow:hidden;margin-bottom:22px}
.auth-tab{flex:1;padding:10px;border:none;background:#f5f7f5;font-size:14px;font-weight:600;color:#555;cursor:pointer;transition:all .2s}
.auth-tab.active{background:var(--green);color:#fff}
.auth-form{display:block}
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;font-weight:500;color:#444;margin-bottom:5px}
.field input,.field textarea,.field select{width:100%;padding:10px 14px;border:1.5px solid #dde8dd;border-radius:9px;font-size:14px;font-family:inherit;outline:none;transition:border-color .2s;background:#fff;resize:vertical}
.field input:focus,.field textarea:focus{border-color:#4caf50}
.auth-err{background:#fff5f5;border:1px solid #ffcdd2;border-radius:8px;padding:10px 14px;font-size:13px;color:#c62828;margin-bottom:12px;display:none}
.auth-submit{width:100%;padding:13px;background:var(--green);color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:600;font-family:inherit;cursor:pointer;transition:background .2s;margin-top:4px}
.auth-submit:hover{background:var(--green-d)}
.auth-submit:disabled{background:#aaa;cursor:not-allowed}
.auth-switch{text-align:center;font-size:13px;color:#888;margin-top:12px}
.auth-switch a{color:var(--green);font-weight:600;cursor:pointer}
.auth-links{display:flex;justify-content:center;gap:20px;margin-top:16px;padding-top:14px;border-top:1px solid #eee}
.auth-links a{font-size:13px;color:var(--green);font-weight:500}

/* ══════════════════════════════════════════
   CHECKOUT PAGE
══════════════════════════════════════════ */
.checkout-page{background:#f0f4f0}
.co-wrap{max-width:1000px;margin:24px auto;padding:0 14px;display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.co-box{background:#fff;border-radius:14px;padding:22px;border:1.5px solid #e0ece0;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.co-box h2{font-size:17px;font-weight:600;margin-bottom:16px}
.co-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #f3f3f3}
.co-item img{width:48px;height:48px;object-fit:cover;border-radius:8px;flex-shrink:0}
.co-item-info{flex:1}
.co-item-name{font-size:13px;font-weight:500}
.co-item-sub{font-size:12px;color:#888}
.co-item-total{font-size:13px;font-weight:700;color:var(--green);flex-shrink:0}
.co-totals{margin-top:12px}
.co-row{display:flex;justify-content:space-between;font-size:13px;padding:5px 0;border-bottom:1px solid #f3f3f3}
.co-grand{font-size:15px;font-weight:700;border-bottom:none;padding-top:8px;color:var(--green)}
.pay-opts{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
.pay-opt{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1.5px solid #dde8dd;border-radius:9px;font-size:14px;cursor:pointer;transition:all .2s}
.pay-opt.active{border-color:#4caf50;background:#f0fff0}
.pay-opt input{accent-color:var(--green)}
.modal-ov{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:999;padding:20px}
.modal{background:#fff;border-radius:18px;padding:30px 22px;max-width:380px;width:100%;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.modal-ico{font-size:48px;margin-bottom:10px}
.modal h2{font-size:20px;font-weight:700;margin-bottom:6px}
.modal p{font-size:14px;color:#555}
.track-code{background:#e8f5e9;border:2px dashed #4caf50;border-radius:10px;padding:12px;font-size:20px;font-weight:700;color:var(--green);letter-spacing:2px;margin:12px 0}
.modal-note{font-size:12px;color:#888;margin-bottom:16px}
.modal-btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.mbtn{padding:10px 18px;background:var(--green);color:#fff;border-radius:9px;font-size:14px;font-weight:600;transition:background .2s}
.mbtn:hover{background:var(--green-d)}
.mbtn-out{background:#fff;color:var(--green);border:1.5px solid var(--green)}
.mbtn-out:hover{background:var(--green-l)}


/* =========================================================
   CENTER MAP PIN
========================================================= */

#mapPicker {
  position: relative;
}


/* =========================================================
   CENTER PIN
========================================================= */

#centerPin {

  position: absolute;

  left: 50%;
  top: 50%;

  /* Pin-এর নিচের tip ঠিক map-এর center-এ থাকবে */
  transform: translate(-50%, -100%);

  z-index: 1000;

  font-size: 34px;
  line-height: 1;

  pointer-events: none;

  filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));

  /*
   * Drag শুরু হলে ধীরে ধীরে উপরে উঠবে
   * cubic-bezier দিয়ে movement smooth করা হয়েছে
   */
  transition:
    transform .32s cubic-bezier(.22,.61,.36,1);

}


/* =========================================================
   DRAG START
   Pin ধীরে এবং বেশি উপরে উঠবে
========================================================= */

#centerPin.pin-dragging {

  /*
   * Normal অবস্থায়: -100%
   * Drag অবস্থায়:   -165%
   *
   * অর্থাৎ Pin আরও বেশি উপরে উঠবে
   */
  transform: translate(-50%, -165%);

}


/* =========================================================
   DRAG END
   Pin নিচে এসে bounce করবে
========================================================= */

#centerPin.pin-bounce {

  animation:
    centerPinBounce .55s cubic-bezier(.22,.61,.36,1);

}


/* =========================================================
   PIN BOUNCE ANIMATION
========================================================= */

@keyframes centerPinBounce {

  /* Drag শেষ — Pin এখনও উপরে */
  0% {

    transform:
      translate(-50%, -165%);

  }


  /* দ্রুত নিচে নামবে */
  30% {

    transform:
      translate(-50%, -92%);

  }


  /* একটু উপরে bounce */
  48% {

    transform:
      translate(-50%, -112%);

  }


  /* আবার নিচে */
  65% {

    transform:
      translate(-50%, -96%);

  }


  /* ছোট final bounce */
  82% {

    transform:
      translate(-50%, -103%);

  }


  /* একদম center position */
  100% {

    transform:
      translate(-50%, -100%);

  }

}



/* ══════════════════════════════════════════
   TRACK PAGE
══════════════════════════════════════════ */
.track-page{background:#f0f4f0;min-height:100vh}
.track-wrap{max-width:800px;margin:24px auto;padding:0 14px}
.track-box{background:#fff;border-radius:14px;padding:24px;border:1.5px solid #e0ece0;margin-bottom:18px;text-align:center}
.track-box h1{font-size:20px;font-weight:700;margin-bottom:6px}
.track-box p{font-size:13px;color:#666;margin-bottom:16px}
.track-row{display:flex;gap:8px}
.track-row input{flex:1;padding:11px 14px;border:1.5px solid #dde8dd;border-radius:9px;font-size:14px;font-family:inherit;outline:none}
.track-row input:focus{border-color:#4caf50}
.track-row button{padding:11px 18px;background:var(--green);color:#fff;border:none;border-radius:9px;font-size:14px;font-weight:600;font-family:inherit;white-space:nowrap}
.ord-card{background:#fff;border-radius:14px;padding:20px;border:1.5px solid #e0ece0;margin-bottom:14px}
.ord-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;flex-wrap:wrap;gap:8px}
.ord-code{font-size:16px;font-weight:700;color:var(--green)}
.ord-date{font-size:12px;color:#888;margin-top:2px}
.ord-badge{font-size:12px;font-weight:600;padding:5px 11px;border-radius:7px}
.steps{display:flex;align-items:center;margin-bottom:16px;overflow-x:auto;padding-bottom:2px}
.step{display:flex;flex-direction:column;align-items:center;flex-shrink:0}
.step-dot{width:28px;height:28px;border-radius:50%;border:2px solid #dde8dd;background:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;color:#bbb}
.step.done .step-dot{background:var(--green);border-color:var(--green);color:#fff}
.step-lbl{font-size:9px;color:#888;margin-top:4px;white-space:nowrap}
.step.done .step-lbl{color:var(--green);font-weight:600}
.step-line{flex:1;height:2px;background:#e0ece0;min-width:12px}
.ti-head{font-size:13px;font-weight:600;color:#555;margin-bottom:6px;padding-bottom:5px;border-bottom:1px solid #f3f3f3}
.ti{display:flex;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid #f9f9f9}
.ti-n{flex:1;font-size:13px}
.ti-q{font-size:12px;color:#888;min-width:55px}
.ti-p{font-size:13px;font-weight:600;color:var(--green)}
.ord-foot{margin-top:12px;padding-top:12px;border-top:1px solid #f0f0f0;font-size:13px;color:#555;display:flex;flex-direction:column;gap:3px}
.ord-total{font-size:15px;font-weight:700;color:var(--green);margin-top:4px}




/* ══════════════════════════════════════════
   Zone
══════════════════════════════════════════ */


/* ── Zone button ── */
.zone-btn { display:flex;align-items:center;gap:5px;width:auto;padding:0 10px;font-size:12px;color:#555; }
.zone-btn svg { flex-shrink:0;color:#888; }
.zone-btn-label { max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.zone-btn.zone-active { background:#e8f5e9;color:var(--green); }
.zone-btn.zone-active svg { color:var(--green); }

/* ── Zone modal ── */
.zone-overlay { display:none;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:300; }
.zone-overlay.show { display:block; }

.zone-modal {
  position:fixed;bottom:-110%;left:0;right:0;
  background:#fff;border-radius:20px 20px 0 0;z-index:301;
  max-height:80vh;display:flex;flex-direction:column;
  transition:bottom .3s cubic-bezier(.4,0,.2,1);
  box-shadow:0 -4px 32px rgba(0,0,0,.15);
  visibility:hidden;
  pointer-events:none;
}
.zone-modal.show {
  bottom:0;
  visibility:visible;
  pointer-events:auto;
}

@media(min-width:600px){
  .zone-modal {
    top:50%;left:50%;bottom:auto;right:auto;
    transform:translate(-50%,-50%) scale(.96);
    width:420px;max-height:70vh;border-radius:16px;
    opacity:0;
    transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s,visibility 0s .25s;
  }
  .zone-modal.show {
    transform:translate(-50%,-50%) scale(1);
    opacity:1;
    transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s,visibility 0s 0s;
  }
}


.zone-modal-hd { display:flex;align-items:center;justify-content:space-between;padding:18px 20px 12px;border-bottom:1px solid #f0f0f0;flex-shrink:0; }
.zone-modal-hd h3 { font-size:16px;font-weight:600; }
.zone-modal-hd button { background:#f3f3f3;border:none;width:30px;height:30px;border-radius:50%;font-size:14px;cursor:pointer; }
.zone-modal-body { padding:16px 20px;overflow-y:auto;flex:1; }
.zone-hint { font-size:13px;color:#888;margin-bottom:14px; }
.zone-gps-btn {
  width:100%;display:flex;align-items:center;justify-content:center;gap:8px;
  padding:11px;background:#e8f5e9;border:1.5px solid #c8e6c9;border-radius:10px;
  font-size:14px;font-weight:600;color:var(--green);font-family:inherit;cursor:pointer;
  transition:all .2s;margin-bottom:16px;
}
.zone-gps-btn:hover { background:#c8e6c9; }
.zone-gps-btn:disabled { opacity:.6;cursor:not-allowed; }
.zone-divider { text-align:center;position:relative;margin-bottom:14px; }
.zone-divider::before { content:'';position:absolute;top:50%;left:0;right:0;height:1px;background:#e0e0e0; }
.zone-divider span { background:#fff;padding:0 12px;font-size:12px;color:#aaa;position:relative; }
.zone-list { display:flex;flex-direction:column;gap:6px; }
.zone-loading { text-align:center;color:#aaa;font-size:13px;padding:20px; }
.zone-item {
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 14px;border:1.5px solid #e0ece0;border-radius:10px;
  background:#fff;font-size:14px;font-weight:500;color:#333;
  font-family:inherit;cursor:pointer;text-align:left;transition:all .18s;
}
.zone-item span { font-size:12px;color:#aaa;font-weight:400; }
.zone-item:hover { border-color:#4caf50;background:#f5fdf5;color:var(--green); }
.zone-item.active { border-color:var(--green);background:#e8f5e9;color:var(--green);font-weight:600; }
.zone-item.active::after { content:'✓';color:var(--green);font-weight:700; }










/* =========================================================
   DELIVERY DIALOG
========================================================= */

.delivery-dialog-overlay {
  display: none;

  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.55);

  z-index: 99999;

  align-items: center;
  justify-content: center;

  padding: 15px;
}


.delivery-dialog-overlay.active {
  display: flex;
}


.delivery-dialog {
  width: 100%;
  max-width: 460px;

  max-height: 90vh;

  overflow-y: auto;

  background: #fff;

  border-radius: 18px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.25);

  padding: 20px;
}


.delivery-dialog-header {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  margin-bottom: 20px;
}


.delivery-dialog-title {
  font-size: 20px;

  font-weight: 700;

  color: #222;
}


.delivery-dialog-subtitle {
  font-size: 12px;

  color: #777;

  margin-top: 4px;
}


.delivery-dialog-close {
  width: 34px;

  height: 34px;

  border: 0;

  border-radius: 50%;

  background: #f3f3f3;

  font-size: 25px;

  line-height: 30px;

  cursor: pointer;
}


.delivery-field {
  margin-bottom: 16px;
}


.delivery-field > label {
  display: block;

  font-size: 14px;

  font-weight: 600;

  margin-bottom: 8px;

  color: #333;
}


.delivery-radio-group {
  display: flex;

  gap: 10px;
}


.delivery-radio {
  flex: 1;

  display: flex;

  align-items: center;

  gap: 7px;

  padding: 12px;

  border: 1px solid #ddd;

  border-radius: 10px;

  cursor: pointer;

  font-size: 14px;

  background: #fafafa;
}


.delivery-radio input {
  margin: 0;
}


.delivery-field input[type="number"] {
  width: 100%;

  box-sizing: border-box;

  padding: 12px;

  border: 1px solid #ddd;

  border-radius: 10px;

  font-size: 15px;

  outline: none;
}


.delivery-field input[type="number"]:focus {
  border-color: #4caf50;
}


.delivery-checkbox {
  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 14px;

  cursor: pointer;
}


.delivery-checkbox input {
  width: 18px;

  height: 18px;
}


.delivery-help {
  font-size: 11px;

  color: #888;

  margin-top: 5px;
}


.delivery-fee-box {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 15px;

  margin-top: 5px;

  border-radius: 12px;

  background: #f5fdf5;

  border: 1px solid #d9efd9;
}


.delivery-fee-box span {
  font-size: 14px;

  font-weight: 600;
}


.delivery-fee-box strong {
  font-size: 22px;

  color: #2e7d32;
}


.delivery-condition-box {
  margin-top: 12px;

  padding: 12px;

  background: #f7f7f7;

  border-radius: 10px;

  font-size: 12px;

  line-height: 1.7;

  color: #555;
}


.delivery-confirm-btn {
  width: 100%;

  border: 0;

  border-radius: 11px;

  padding: 13px;

  margin-top: 15px;

  background: #2e7d32;

  color: #fff;

  font-size: 15px;

  font-weight: 700;

  cursor: pointer;
}


.delivery-confirm-btn:active {
  transform: scale(.98);
}








/* ══════════════════════════════════════════
   মোবাইল রেসপনসিভ (ছবি বড় এবং পাশাপাশি)
══════════════════════════════════════════ */

/* ট্যাবলেট (৭৬৯px - ১০২৪px) */
@media(max-width: 1024px){
  .slider{ height: 280px; }
  .slide-in{ padding: 0 18px; gap: 14px; }
  .sl-copy{ flex: 1 1 54%; }
  .sl-img-box{
    flex: 0 0 44%;
    max-width: 380px;
    height: calc(100% - 10px);
    margin-top: 10px;
    align-self: stretch;
  }
  .sl-img-box img{
    height: 100%;
    max-height: 100%;
  }
}


/* ══════════════════════════════════════════
   মোবাইল ও ছোট স্ক্রিন (৭৬৮px বা তার নিচে)
══════════════════════════════════════════ */
@media(max-width:768px){
  .slider{
    /* কোনো বাড়তি খালি জায়গা দখল করবে না, টাইট ১৬০px হাইট */
    height: 160px !important;
    min-height: 160px !important;
  }
  .slide{
    height: 100% !important;
    display: flex !important;
    align-items: stretch !important;
  }
  .slide-in{
    flex-direction: row !important;
    /* উপরে ও নিচে বাড়তি কোনো প্যাডিং থাকবে না */
    padding: 0 10px !important;
    gap: 8px !important;
    align-items: stretch !important;
    text-align: left !important;
    height: 100% !important;
  }
  
  
  
  .sl-copy{
    flex: 1 1 52% !important;
    max-width: 53% !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important; /* বামে এলাইন */
    padding-bottom: 6px !important;
  }
  .sl-pill{
    font-size: 9.5px !important;
    padding: 2px 7px !important;
    margin-bottom: 3px !important;
    width: fit-content !important;
    align-self: flex-start !important;
  }
  .sl-copy h1{
    font-size: 14px !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
  }
  .sl-copy p{
    display: none !important;
  }
  .sl-btn{
    font-size: 10.5px !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    width: fit-content !important; /* মোবাইলেও লেখার সমান সাইজ */
    align-self: flex-start !important;
    white-space: nowrap !important;
    display: inline-flex !important;
  }
  
  

  /* ডানদিকের ইমেজ: একদম .slider-এর পুরো হাইটের সমান ও উপরে ঠিক ১০px মার্জিন */
  .sl-img-box{
    display: flex !important;
    flex: 0 0 48% !important;
    max-width: 48% !important;
    height: calc(100% - 10px) !important;
    max-height: calc(100% - 10px) !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    align-self: flex-end !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0 !important;
  }
  .sl-img-box img{
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    margin: 0 !important;
  }

  .sl-stats{
    display: none !important;
  }
  .sl-badge{
    top: 4px !important;
    right: 4px !important;
    font-size: 9px !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
  }
  .sl-arr{ display: none !important; }
  .sl-dots{ bottom: 3px !important; left: 14px !important; transform: none !important; }
  .dot{ width: 5px !important; height: 5px !important; }
  .dot.active{ width: 14px !important; }
}

/* অতিরিক্ত ছোট স্ক্রিন (৩৬০px বা নিচে) */
@media(max-width:360px){
  .slider{ height: 150px !important; min-height: 150px !important; }
  .sl-copy h1{ font-size: 12.5px !important; }
  .sl-btn{ font-size: 9.5px !important; padding: 3px 8px !important; }
  .sl-img-box{
    flex: 0 0 48% !important;
    max-width: 48% !important;
    height: calc(100% - 10px) !important;
    margin-top: 10px !important;
  }
  .sl-img-box img{
    height: 100% !important;
    max-height: 100% !important;
  }
}









@media(max-width:900px) and (min-width:601px){
  .grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
  .usp{padding:11px 14px}
  .sl-copy h1{font-size:28px}
}

@media(max-width:600px){
  .hdr-inner{height:58px;padding:7px 8px;gap:5px}
  .logo{gap:5px}
  .logo-icon{font-size:21px}
  .logo-text{font-size:16px;line-height:17px}
  .logo-tagline{font-size:9px;line-height:11px}
  .hdr-icons{gap:3px}
  .hdr-icons>.ico-btn:not(.zone-btn){width:35px;height:35px;flex:0 0 35px}
  .zone-btn{min-width:0!important;width:auto!important;height:35px;padding:0 7px!important;gap:4px;flex:0 1 auto!important}
  .zone-btn-label{max-width:70px;font-size:11px}
  .floating-cart{width:46px;height:46px;border-radius:13px 0 0 13px}

  .slider{height:auto;min-height:200px}
  .slide-in{flex-direction:column;padding:20px 14px 44px;text-align:center;gap:12px}
  .sl-copy p{max-width:100%;font-size:13px}
  .sl-arr{display:none}

  .usp{flex:1 1 45%;border-right:none;border-bottom:1px solid #e0ece0;padding:10px 12px;justify-content:center}
  .usp:last-child{border-bottom:none}

  .main{padding:0 10px;margin:14px auto}
  .grid{grid-template-columns:repeat(2,1fr);gap:9px}
  .prod-img img{height:120px}
  .prod-name{font-size:13px}
  .prod-price{font-size:13px}

  .card-fav,.card-cart-status{width:30px;height:30px;top:8px;right:8px;background:transparent!important;border:none;box-shadow:none!important}
  .card-fav{font-size:22px}
  .card-cart-status{font-size:21px}

  .floating-add{width:38px;height:38px;font-size:25px;right:7px;bottom:7px}
  .floating-qty{height:36px;right:7px;bottom:7px}
  .floating-qty button{width:30px;height:30px;font-size:19px}
  .floating-num{min-width:25px;font-size:13px}

  .qty-dec,.qty-inc{width:30px;height:32px;font-size:18px}
  .qty-num{height:32px;font-size:12px}
  .add-btn{font-size:12px;padding:8px}

  .ftr-inner{grid-template-columns:1fr;gap:20px}
  .cart{width:100%;right:-100%}
  .cart.show{right:0}
  .custom-row{flex-direction:column}
  .track-row{flex-direction:column}
  .auth-wrap{padding:24px 16px}
}

@media(max-width:360px){
  .hdr-inner{padding:6px;gap:3px}
  .logo{gap:4px}
  .logo-icon{font-size:19px}
  .logo-text{font-size:15px;line-height:16px}
  .logo-tagline{font-size:8px;line-height:10px}
  .hdr-icons{gap:2px}
  .hdr-icons>.ico-btn:not(.zone-btn){width:33px;height:33px;flex-basis:33px}
  .zone-btn{height:33px;padding:0 5px!important;gap:3px}
  .zone-btn svg{width:14px;height:14px}
  .zone-btn-label{max-width:58px;font-size:10px}
  .floating-cart{width:43px;height:43px}
  .grid{grid-template-columns:1fr 1fr;gap:7px}
  .prod-img img{height:100px}
  .card-body{padding:8px}
}