:root{--navy:#071a4a;--blue:#1748a8;--gold:#f5b400;--bg:#f6f8fc;--text:#101827;--muted:#687386;--line:#e5e9f0}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;padding-bottom:80px}.top{height:70px;position:sticky;top:0;z-index:20;background:#fffffff2;backdrop-filter:blur(15px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:10px clamp(14px,4vw,60px)}.brand{display:flex;align-items:center;gap:9px;color:var(--navy);text-decoration:none;min-width:190px}.mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,var(--navy),#245bd2);color:white;display:grid;place-items:center;font-size:24px;font-weight:950}.brand b{display:block;font-size:16px}.brand small{display:block;color:var(--gold);font-size:9px;font-weight:950;letter-spacing:1.3px}.search{flex:1;max-width:700px;background:#f0f3f8;border:1px solid var(--line);border-radius:15px;display:flex;overflow:hidden}.search input{flex:1;border:0;background:none;outline:0;padding:13px 15px;font-size:14px}.search button{width:50px;border:0;background:var(--gold);font-size:22px}.support{background:var(--navy);color:white;text-decoration:none;padding:11px 14px;border-radius:12px;font-weight:850;font-size:13px}.cart{border:0;background:none;font-size:22px;position:relative;cursor:pointer}.cart i{position:absolute;right:-8px;top:-4px;background:#e11d48;color:white;font-style:normal;font-size:9px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center}.hero{max-width:1320px;margin:18px auto;padding:50px clamp(22px,6vw,80px);border-radius:28px;background:radial-gradient(circle at 90% 10%,#f8cc49 0,transparent 22%),linear-gradient(120deg,#061747,#1c51b3);color:white;display:flex;align-items:center;justify-content:space-between;min-height:350px}.hero label{font-size:11px;font-weight:900;letter-spacing:1.3px;background:#ffffff18;border:1px solid #ffffff2d;padding:8px 11px;border-radius:20px}.hero h1{font-size:clamp(45px,7vw,78px);line-height:.95;margin:18px 0 12px}.hero em{color:var(--gold);font-style:normal}.hero p{max-width:590px;color:#dbe7ff;font-size:16px}.hero button{border:0;background:var(--gold);color:#121c37;padding:14px 19px;border-radius:13px;font-weight:950;cursor:pointer}.hero-art{width:250px;height:230px;border:1px solid #ffffff32;background:#ffffff13;border-radius:28px;display:flex;flex-direction:column;align-items:center;justify-content:center}.hero-art div{font-size:70px}.hero-art b{font-size:22px}.hero-art span{font-size:12px;color:#dce7ff}.categories,#products{max-width:1320px;margin:30px auto;padding:0 clamp(14px,4vw,40px)}.section-title{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:14px}.section-title h2{margin:0;font-size:23px}.section-title span,.section-title small{color:var(--muted);font-size:12px}.cats{display:flex;gap:10px;overflow:auto;padding-bottom:4px;scrollbar-width:none}.cats button{white-space:nowrap;border:1px solid var(--line);background:white;border-radius:14px;padding:11px 15px;font-weight:800;cursor:pointer}.cats button.active{background:var(--navy);color:white;border-color:var(--navy)}#grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product{background:#fff;border:1px solid var(--line);border-radius:19px;overflow:hidden;box-shadow:0 4px 18px #071a4a08;transition:.2s}.product:hover{transform:translateY(-3px);box-shadow:0 14px 35px #071a4a16}.product .pic{aspect-ratio:1;background:#edf1f6;position:relative;overflow:hidden}.product img{width:100%;height:100%;object-fit:cover}.tag{position:absolute;top:9px;left:9px;background:#fff;padding:5px 8px;border-radius:8px;font-size:9px;font-weight:900}.info{padding:13px}.info h3{font-size:15px;margin:0 0 4px}.info p{font-size:11px;color:var(--muted);min-height:30px}.price{font-size:20px;font-weight:950;color:var(--navy);margin:9px 0}.buy{width:100%;border:0;background:var(--navy);color:white;padding:11px;border-radius:11px;font-weight:900;cursor:pointer}.trust{max-width:1320px;margin:40px auto 20px;padding:0 4%;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.trust div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px;display:grid;grid-template-columns:32px 1fr;column-gap:7px}.trust div:first-letter{font-size:20px}.trust b{font-size:13px}.trust span{grid-column:2;color:var(--muted);font-size:11px}.bottom{display:none}.modal{position:fixed;inset:0;background:#04102caa;z-index:80;display:none;align-items:flex-end;justify-content:center;padding:14px}.modal.show{display:flex}.sheet{background:#fff;width:min(600px,100%);max-height:92vh;overflow:auto;border-radius:25px;padding:23px;position:relative}.close{position:absolute;right:13px;top:11px;border:0;background:#eef2f7;border-radius:50%;width:37px;height:37px;font-size:22px}.form{display:grid;gap:8px}.form label{font-size:11px;font-weight:900;color:var(--muted)}.form input,.form select{padding:13px;border:1px solid var(--line);border-radius:11px}.summary{background:#f5f7fb;padding:13px;border-radius:13px}.row{display:flex;justify-content:space-between;padding:6px 0}.pay{border:0;background:var(--navy);color:#fff;border-radius:12px;padding:13px;font-weight:900}.whats{display:block;background:#20b45b;color:#fff;text-align:center;text-decoration:none;padding:13px;border-radius:12px;font-weight:900}.toast{position:fixed;z-index:100;bottom:90px;left:50%;transform:translateX(-50%) translateY(15px);background:#111827;color:#fff;padding:12px 16px;border-radius:11px;opacity:0;transition:.2s}.toast.show{opacity:1;transform:translateX(-50%)}@media(max-width:1050px){#grid{grid-template-columns:repeat(3,1fr)}.support{display:none}}@media(max-width:720px){.top{height:auto;flex-wrap:wrap;padding:9px 12px}.brand{min-width:auto}.search{order:3;flex-basis:100%;max-width:none}.hero{margin:10px;border-radius:23px;min-height:360px;padding:32px 21px}.hero-art{display:none}.hero h1{font-size:48px}.hero p{font-size:13px}.categories,#products{margin:24px auto}.cats{margin-right:-4px}.section-title h2{font-size:19px}#grid{grid-template-columns:repeat(2,1fr);gap:10px}.product{border-radius:15px}.info{padding:9px}.info h3{font-size:13px}.info p{font-size:10px}.price{font-size:17px}.buy{padding:10px}.trust{grid-template-columns:1fr;margin-bottom:20px}.bottom{position:fixed;z-index:50;bottom:0;left:0;right:0;background:#fffffff7;backdrop-filter:blur(15px);border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:8px 6px calc(8px + env(safe-area-inset-bottom))}.bottom a,.bottom button{border:0;background:none;text-decoration:none;color:#5d6777;display:flex;flex-direction:column;align-items:center;font-size:18px}.bottom small{font-size:9px;font-weight:800}.bottom .active{color:var(--navy)}}
.search-wrap{position:relative;flex:1;max-width:700px}.search-wrap .search{max-width:none;width:100%}.search input{min-width:0}.clear-search{display:none;width:38px;border:0;background:none;color:#687386;font-size:23px;cursor:pointer}.clear-search.show{display:block}.search-suggestions{display:none;position:absolute;top:calc(100% + 7px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px #071a4a18;overflow:hidden;z-index:60}.search-suggestions.show{display:block}.suggest-item{width:100%;border:0;background:#fff;display:flex;align-items:center;gap:10px;text-align:left;padding:11px 13px;cursor:pointer}.suggest-item:hover{background:#f5f7fb}.suggest-icon{width:30px;height:30px;border-radius:9px;background:#f0f3f8;display:grid;place-items:center}.suggest-item b{display:block;font-size:12px;color:var(--text)}.suggest-item small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.suggest-empty{padding:14px;color:var(--muted);font-size:12px}.empty-search{grid-column:1/-1;background:#fff;border:1px dashed var(--line);border-radius:18px;padding:45px 20px;text-align:center;color:var(--muted)}.empty-search div{font-size:34px}.empty-search h3{margin:8px 0 4px;color:var(--text)}.empty-search p{margin:0;font-size:12px}
@media(max-width:720px){.search-wrap{flex-basis:100%;max-width:none;order:3}.search-suggestions{max-height:55vh;overflow:auto}.clear-search{width:35px}}
/* interactive polish */
button,a{transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}button:hover,a:hover{transform:translateY(-1px)}button:active,a:active{transform:translateY(1px)}button:disabled{opacity:.65;cursor:wait}.product{opacity:0;transform:translateY(12px)}.product.in{opacity:1;transform:none;transition:opacity .35s ease,transform .35s ease,box-shadow .2s ease}.buy{display:flex;align-items:center;justify-content:center;gap:8px}.buy span,.pay span{font-size:18px}.pay{display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 10px 25px #071a4a24}.pay:hover{box-shadow:0 14px 32px #071a4a32}.pulse{animation:softPulse 2.2s infinite}@keyframes softPulse{0%,100%{box-shadow:0 8px 20px #071a4a20}50%{box-shadow:0 12px 30px #1748a844}}.checkout-head{display:flex;align-items:center;gap:12px;padding-right:40px}.checkout-head small{font-size:10px;color:var(--blue);font-weight:950;letter-spacing:1px}.checkout-head h2{margin:3px 0 0}.mini-bag{width:46px;height:46px;border-radius:14px;background:#f3f5fa;display:grid;place-items:center;font-size:24px}.muted{color:var(--muted)}.qty-row{display:grid;grid-template-columns:46px 1fr 46px;gap:8px}.qty-row button{background:#eef2f7;color:var(--navy);font-size:22px}.qty-row input{text-align:center;margin:0}.secure-note{text-align:center;color:var(--muted);font-size:10px;margin-top:2px}.return-sheet{text-align:center}.result-icon{width:72px;height:72px;border-radius:50%;background:#e9f8ef;color:#0b8b5b;display:grid;place-items:center;margin:5px auto 12px;font-size:38px;font-weight:950}.secondary-btn{width:100%;margin-top:10px;background:#eef2f7;color:var(--navy)}

/* BASSE MARKET mobile-first refinements */
.hero{min-height:190px;padding:26px clamp(18px,5vw,55px);margin:14px auto;border-radius:20px}
.hero h1{font-size:clamp(32px,6vw,54px);margin:10px 0}.hero p{font-size:13px;max-width:520px}.hero-art{width:150px;height:135px;border-radius:18px}.hero-art div{font-size:44px}.hero-art b{font-size:15px}
.cats button{width:70px;height:70px;min-width:70px;border-radius:50%;padding:8px;font-size:10px;display:grid;place-items:center;text-align:center}.cats button.active{box-shadow:0 8px 20px #071a4a22}
#grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.product{cursor:pointer}.product .pic{aspect-ratio:1}.product .info{padding:10px 11px}.product .info h3{font-size:13px;margin:0}.product .price{font-size:16px;margin:5px 0}.product .info p,.product .buy{display:none}
.account-top{border:0;background:#eef2f8;border-radius:12px;width:40px;height:40px;cursor:pointer;font-size:18px}
.product-sheet{max-width:720px}.product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:22px}.gallery>img{width:100%;max-height:330px;object-fit:contain;background:#f4f6fa;border-radius:18px}.thumbs{display:flex;gap:8px;margin-top:10px;overflow:auto}.thumbs button{width:58px;height:58px;min-width:58px;border:2px solid transparent;border-radius:10px;padding:0;overflow:hidden;background:#f1f3f7}.thumbs button.active{border-color:var(--gold)}.thumbs img{width:100%;height:100%;object-fit:cover}.detail-info h2{font-size:25px;margin:6px 0}.tagline{font-size:10px;font-weight:900;color:var(--blue);text-transform:uppercase}.detail-price{font-size:25px;font-weight:950;color:var(--navy);margin:8px 0}.stock-note{font-size:11px;color:#138a4a;margin:10px 0}.account-sheet,.form-sheet{max-width:500px}.account-hero{text-align:center;padding:10px 0 18px}.account-avatar{width:64px;height:64px;margin:auto;border-radius:50%;background:#edf2fa;display:grid;place-items:center;font-size:30px}.account-option{width:100%;display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);background:#fff;border-radius:14px;margin:9px 0;text-align:left;cursor:pointer}.account-option>span{flex:1}.account-option b,.account-option small{display:block}.account-option small{color:var(--muted);margin-top:3px}.vendor-option{border-color:#f0d98b}.guest-note{text-align:center;color:var(--muted);font-size:11px;margin:16px 0}.form textarea{min-height:90px;resize:vertical;border:1px solid var(--line);border-radius:12px;padding:11px;font:inherit}.secondary-btn{border:1px solid var(--line);background:#fff;color:var(--navy);padding:12px 15px;border-radius:12px;font-weight:900;cursor:pointer;width:100%;margin-top:10px}
@media(max-width:760px){.top{height:auto;flex-wrap:wrap;padding:9px 12px;gap:8px}.brand{min-width:auto}.brand b{font-size:14px}.brand small{font-size:8px}.cart{margin-left:auto}.support{display:none}.search-wrap{order:3;flex-basis:100%;max-width:none}.hero{margin:10px 10px;min-height:150px;padding:20px 18px}.hero-art{display:none}.hero h1{font-size:34px}.hero p{font-size:12px;margin:8px 0}.hero button{padding:11px 14px;font-size:11px}#grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.categories,#products{margin:20px auto;padding:0 12px}.section-title h2{font-size:18px}.section-title span{display:none}.product{border-radius:14px}.product .pic{aspect-ratio:1.05}.bottom{height:68px}.bottom a,.bottom button{font-size:18px}.bottom small{font-size:9px}.product-detail{grid-template-columns:1fr;gap:14px}.gallery>img{max-height:260px}.detail-info h2{font-size:21px}.sheet{width:calc(100% - 18px);padding:18px}.thumbs button{width:52px;height:52px;min-width:52px}}
@media(min-width:761px){.bottom{display:none}}

/* PRODUCT DETAIL REDESIGN — clean, quiet, mobile-first */
.product-sheet-modern{
  width:min(760px,100%);
  max-height:min(90vh,760px);
  padding:18px;
  border-radius:28px;
  box-shadow:0 28px 80px rgba(7,26,74,.24);
}
.modern-close{
  z-index:4;
  width:42px;
  height:42px;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 24px rgba(7,26,74,.12);
  color:var(--navy);
}
.product-detail{
  grid-template-columns:minmax(0,1.12fr) minmax(250px,.88fr);
  align-items:center;
  gap:24px;
}
.main-photo-wrap{
  aspect-ratio:1/1;
  max-height:430px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#f7f8fb,#eef1f6);
  border-radius:22px;
  overflow:hidden;
}
.main-photo-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.thumbs{
  padding:10px 2px 2px;
  margin-top:0;
}
.thumbs button{
  width:54px;
  height:54px;
  min-width:54px;
  border-radius:13px;
  border:2px solid transparent;
  box-shadow:0 4px 14px rgba(7,26,74,.07);
}
.thumbs button.active{
  border-color:var(--blue);
  box-shadow:0 5px 16px rgba(23,72,168,.18);
}
.modern-detail-info{
  padding:4px 3px 3px;
}
.modern-detail-info h2{
  font-size:clamp(25px,4vw,34px);
  line-height:1.05;
  letter-spacing:-.5px;
  margin:8px 0 6px;
}
.modern-detail-info .detail-price{
  font-size:clamp(25px,4vw,34px);
  margin:8px 0 12px;
}
.modern-detail-info .muted{
  font-size:13px;
  line-height:1.6;
  margin:0;
}
.modern-detail-info .stock-note{
  margin:15px 0 20px;
  font-weight:750;
}
.stock-note.out{color:#c62828}
.detail-actions{margin-top:8px}
.buy-now-modern{
  width:100%;
  min-height:58px;
  border:0;
  border-radius:17px;
  padding:0 18px;
  background:linear-gradient(135deg,#071a4a,#1748a8);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:15px;
  letter-spacing:.2px;
  cursor:pointer;
  box-shadow:0 14px 30px rgba(7,26,74,.22);
}
.buy-now-modern:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(7,26,74,.28);
}
.buy-now-modern:active{transform:translateY(0)}
.buy-now-modern .arrow{
  margin-left:auto;
  font-size:23px;
  line-height:1;
}
.buy-now-modern:disabled{background:#aeb6c4;box-shadow:none}
.product-hint{
  text-align:center;
  color:var(--muted);
  font-size:10px;
  margin-top:10px;
}
/* Quiet live updates: never animate/reflow the catalog when background data changes. */
.product,.product.in{
  opacity:1!important;
  transform:none!important;
  transition:box-shadow .2s ease, border-color .2s ease!important;
}
.product.reveal{animation:none!important}
@media(max-width:720px){
  .product-sheet-modern{
    width:calc(100% - 8px);
    max-height:calc(100vh - 28px);
    padding:13px;
    border-radius:25px;
  }
  .product-detail{
    display:block;
  }
  .main-photo-wrap{
    aspect-ratio:1.08/1;
    max-height:none;
    border-radius:19px;
  }
  .thumbs{
    margin-top:8px;
    padding-bottom:3px;
  }
  .thumbs button{
    width:48px;
    height:48px;
    min-width:48px;
  }
  .modern-detail-info{
    padding:14px 5px 5px;
  }
  .modern-detail-info h2{
    font-size:25px;
  }
  .modern-detail-info .detail-price{
    font-size:27px;
  }
  .modern-detail-info .muted{
    font-size:12px;
    line-height:1.5;
  }
  .modern-detail-info .stock-note{
    margin:11px 0 14px;
  }
  .buy-now-modern{
    min-height:56px;
    border-radius:16px;
  }
}
/* Remove the old pulsing BUY animation; the button stays steady and premium. */
.buy-now-modern.pulse,.pay.pulse{animation:none}

.vendor-login-option{border:1px solid rgba(30,110,255,.22);background:linear-gradient(135deg,#f5f8ff,#fff);box-shadow:0 6px 20px rgba(20,60,120,.06)}
.vendor-login-sheet .account-avatar{margin-bottom:8px}
.vendor-login-sheet input{font-size:16px}

.vendor-login-option{order:-1;border:1px solid rgba(30,110,255,.18);background:linear-gradient(135deg,#f7faff,#ffffff);box-shadow:0 8px 24px rgba(20,50,100,.08)}
.pending-option{border:1px solid rgba(245,170,30,.35);background:#fffaf0}
.vendor-pending-sheet{text-align:center}
.pending-icon{font-size:30px}
.pending-box{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin:16px 0;border-radius:16px;background:#f5f7fb}
.pending-box span{font-weight:800}

.vendor-pending-sheet .pay{margin-top:10px}
.pending-box{display:flex;align-items:center;justify-content:space-between;gap:12px}

/* Mobile stability: prevent iOS input zoom and modal/layout jumping. */
html{width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
body{width:100%;min-width:0;overflow-x:hidden;overscroll-behavior-x:none;}
input,select,textarea,button{font-family:inherit;}
input,select,textarea{font-size:16px;}
.modal{overscroll-behavior:contain;touch-action:pan-y;}
.sheet{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
@media(max-width:720px){
  .modal{padding:10px 10px calc(10px + env(safe-area-inset-bottom));align-items:flex-end;}
  .sheet{width:100%;max-width:600px;max-height:calc(100dvh - 20px);padding:20px 16px;overflow-y:auto;}
  .form input,.form select,.form textarea,.vendor-login-sheet input{font-size:16px;line-height:1.25;}
  .close{width:42px;height:42px;font-size:24px;}
}

/* BASSE Marketplace category cards: clear, tappable and consistent on every screen */
.cats{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cats::-webkit-scrollbar{display:none}
.cats button{flex:0 0 96px;width:96px;height:96px;border:1px solid #e2e7ef;border-radius:50%;background:#fff;color:#1748a8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px 7px;box-shadow:0 5px 16px rgba(7,26,74,.07);font:inherit;cursor:pointer;touch-action:manipulation}
.cats button svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;flex:0 0 auto}
.cats button b{font-size:10.5px;font-weight:950;line-height:1.08;text-align:center;max-width:82px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cats button.active{background:#071a4a;color:#fff;border-color:#071a4a;box-shadow:0 10px 22px rgba(7,26,74,.18);transform:translateY(-1px)}
.cats button:focus-visible{outline:3px solid #ffb800;outline-offset:3px}

/* BASSE Marketplace header/navigation polish */
.brand-logo{display:block;width:150px;height:48px;object-fit:contain;object-position:center;border-radius:8px;background:#fff}.brand{min-width:150px}.support{display:inline-flex;align-items:center;justify-content:center;gap:6px}.bottom a,.bottom button{min-width:56px;min-height:44px;border-radius:12px;cursor:pointer;touch-action:manipulation}.bottom a:hover,.bottom button:hover{background:#f1f5fb}.bottom a:active,.bottom button:active{transform:scale(.96)}
@media(max-width:760px){.brand-logo{width:128px;height:42px}.brand{min-width:128px}.cart{margin-left:auto}.support{display:none}.bottom a,.bottom button{min-width:58px;min-height:48px}}

/* FINAL BASSE MARKETPLACE VISUAL PASS */
.top{background:#fff;box-shadow:0 4px 18px rgba(7,26,74,.06)}
.brand-logo{width:178px;height:54px;background:transparent}
.market-banner{position:relative;margin:10px auto 16px;max-width:840px;padding:0!important;height:250px;border-radius:22px;overflow:hidden;box-shadow:0 12px 30px rgba(7,26,74,.12);background:#071a4a}
.banner-link{display:block;line-height:0;width:100%;height:100%}.market-banner> .banner-link img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;background:#071a4a}.market-banner>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.banner-overlay{position:absolute;left:0;bottom:0;padding:0 0 22px 31%;}
.banner-overlay button{border:0;border-radius:999px;padding:12px 24px;background:#ffb800;color:#071a4a;font-weight:950;font-size:13px;box-shadow:0 10px 25px rgba(0,0,0,.18)}
.categories{margin-top:18px}.cats{gap:14px;padding:4px 2px 12px}.cats button{width:86px;height:86px;min-width:86px;border-radius:50%;padding:10px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #dce2ec;background:#fff;color:#1748a8;box-shadow:0 5px 15px rgba(7,26,74,.06);font-size:11px;font-weight:850;line-height:1.05;white-space:normal;overflow:hidden}.cats button svg{width:27px;height:27px;fill:currentColor;stroke:currentColor;flex:none}.cats button b{display:block;max-width:72px;overflow-wrap:anywhere}.cats button.active{background:#071a4a;color:#fff;border-color:#071a4a;box-shadow:0 10px 22px rgba(7,26,74,.2)}
.bottom{background:rgba(255,255,255,.98);box-shadow:0 -8px 24px rgba(7,26,74,.09);padding-bottom:env(safe-area-inset-bottom);height:76px}.bottom a,.bottom button{color:#667085;text-decoration:none;background:transparent;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-weight:900}.bottom a.active,.bottom a:hover,.bottom button:hover{color:#071a4a;background:#f4f7fb}.bottom svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9}.bottom small{font-size:10px;line-height:1}
.support{color:#071a4a;text-decoration:none;font-weight:850}.cart{background:#fff;color:#071a4a}
@media(max-width:760px){.brand-logo{width:128px;height:42px}.market-banner{margin:10px 12px 14px;height:190px;border-radius:18px}.banner-overlay{padding:0 0 10px 6%}.banner-overlay button{padding:8px 15px;font-size:9px}.cats{gap:10px;overflow-x:auto;scrollbar-width:none}.cats::-webkit-scrollbar{display:none}.cats button{width:88px;height:88px;min-width:88px;font-size:10px;padding:8px 5px;gap:4px}.cats button svg{width:27px;height:27px}.cats button b{max-width:78px;line-height:1.1;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bottom a,.bottom button{min-width:58px;min-height:52px}}
/* Fast product opening: modal is shown immediately from the cached catalog while fresh data loads. */
/* Instant navigation: no flash, glow, or entrance animation when opening/returning. */
.product-sheet{will-change:auto!important;animation:none!important}
.product-sheet-modern{animation:none!important;transition:none!important}
.modal .sheet{transition:none!important}
.product,.product.in{transition:none!important}


.stores-top{border:0;background:#0a2b7a;color:#fff;border-radius:12px;padding:10px 13px;font-weight:800;cursor:pointer;white-space:nowrap}.track-top{border:1px solid #0a2b7a;background:#fff;color:#0a2b7a;border-radius:12px;padding:10px 13px;font-weight:800;cursor:pointer;white-space:nowrap}.tracking-entry-sheet{max-width:560px}
.stores-sheet{max-width:900px}.store-grid{display:grid;gap:12px;margin-top:16px}.store-card{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:1px solid #e5e9f2;background:#fff;border-radius:16px;padding:15px;cursor:pointer}.store-card:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(0,0,0,.07)}.store-icon{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:#eef3ff;font-size:25px;flex:none}.store-icon.big{width:68px;height:68px;font-size:32px}.store-main{display:flex;flex-direction:column;gap:3px;flex:1}.store-main b{font-size:16px}.store-main span{font-size:12px;color:#536078}.store-main small{font-size:11px;color:#7b8496}.store-arrow{font-size:24px;color:#0a2b7a}.store-hero{display:flex;gap:16px;align-items:center;padding:8px 0 20px;border-bottom:1px solid #e8ebf2}.store-hero h2{margin:3px 0}.store-hero p{margin:4px 0;color:#5d6678}.store-hero span{font-size:12px;color:#778096}.store-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;padding-top:18px}.tracking-sheet{max-width:700px}.tracking-card{border:1px solid #e7ebf3;border-radius:18px;padding:16px}.track-top{display:flex;justify-content:space-between;align-items:center}.live-map-wrap{margin:15px 0}.customer-map{height:260px;border-radius:16px;overflow:hidden;background:#eef2f7}.map-placeholder{height:100%;display:grid;place-content:center;text-align:center;color:#5e687c;gap:5px}.map-placeholder small{display:block}.timeline{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin:16px 0}.timeline-step{text-align:center;color:#9aa2b1;font-size:9px;text-transform:capitalize}.timeline-step span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#edf0f5;margin:0 auto 5px}.timeline-step.done{color:#0a2b7a}.timeline-step.done span{background:#dce7ff;color:#0a2b7a}
@media(max-width:700px){.stores-top{font-size:11px;padding:9px}.timeline{grid-template-columns:repeat(3,1fr);row-gap:12px}}
.customer-map{height:300px;border-radius:16px;overflow:hidden;background:#eef3f8;border:1px solid #dce2ed}.customer-map .leaflet-container{height:100%;width:100%}.location-btn{width:100%;padding:13px;border:1px solid #cfd8ea;border-radius:12px;background:#fff;color:#0a2b7a;font-weight:800;margin-top:8px}.gps-note{display:block;color:#69758a;font-size:12px;margin-top:6px}.leaflet-control-attribution{font-size:8px!important}

.basse-map-marker{display:flex;align-items:center;gap:3px;background:#fff;border:1px solid #d7deea;border-radius:14px;padding:3px 7px 3px 3px;box-shadow:0 3px 10px rgba(0,0,0,.18);font-size:11px;white-space:nowrap}.basse-map-marker span{font-size:18px;line-height:22px}.basse-map-marker b{font-size:10px;color:#18346d}.customer-marker{border-color:#3b82f6}.driver-marker{border-color:#7c3aed}

/* BASSE app download */
.app-download-top{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#071a4a;color:#fff;border-radius:12px;padding:10px 12px;font-size:12px;font-weight:900;white-space:nowrap}
.app-download-top:hover{background:#1748a8}
.app-promo{max-width:1320px;margin:22px auto;padding:18px clamp(16px,4vw,28px);display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 7px 25px #071a4a0a}
.app-promo-icon{width:48px;height:48px;border-radius:14px;background:#eef3ff;display:grid;place-items:center;font-size:24px;flex:none}
.app-promo-copy{flex:1}.app-promo-copy small{font-size:9px;font-weight:950;color:var(--blue);letter-spacing:1px}.app-promo-copy h2{margin:3px 0;font-size:18px}.app-promo-copy p{margin:0;color:var(--muted);font-size:11px}
.app-promo-btn{display:inline-flex;gap:8px;align-items:center;text-decoration:none;background:var(--navy);color:#fff;padding:12px 15px;border-radius:12px;font-size:11px;font-weight:950;white-space:nowrap}
@media(max-width:720px){.app-download-top{font-size:11px;padding:9px 10px}.app-promo{margin:16px 12px;align-items:flex-start;flex-wrap:wrap}.app-promo-copy{min-width:calc(100% - 64px)}.app-promo-btn{width:100%;justify-content:center}}

/* BASSE V3 — premium stores + stable delivery map */
.stores-sheet{max-width:980px}
.stores-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 0 18px;border-bottom:1px solid #e8ebf2}
.stores-heading small,.store-detail-info small{font-size:10px;letter-spacing:1.2px;font-weight:900;color:#0a2b7a}
.stores-heading h2{margin:4px 0 5px;font-size:28px}
.stores-heading p{margin:0;color:#687389;font-size:13px}
.store-heading-icon{width:54px;height:54px;border-radius:16px;background:#edf3ff;display:grid;place-items:center;font-size:26px}
.store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.store-card-pro{border:1px solid #e2e7f0;background:#fff;border-radius:20px;overflow:hidden;text-align:left;padding:0;cursor:pointer;box-shadow:0 7px 24px rgba(7,26,74,.06);transition:transform .16s ease,box-shadow .16s ease;outline:none}
.store-card-pro:hover,.store-card-pro:focus-visible{transform:translateY(-2px);box-shadow:0 15px 32px rgba(7,26,74,.12)}
.store-cover{height:112px;position:relative;display:flex;align-items:flex-end;padding:14px;background:linear-gradient(135deg,#09255f,#2162c4)}
.store-cover.c1{background:linear-gradient(135deg,#171d3c,#3759a9)}.store-cover.c2{background:linear-gradient(135deg,#123d3a,#209b86)}.store-cover.c3{background:linear-gradient(135deg,#3b1b55,#9655c4)}.store-cover.c4{background:linear-gradient(135deg,#53231a,#c26b32)}.store-cover.c5{background:linear-gradient(135deg,#192f38,#5a7f92)}
.store-cover-badge{position:absolute;right:12px;top:12px;background:#ffffffdd;color:#17305e;border-radius:999px;padding:6px 8px;font-size:8px;font-weight:950;letter-spacing:.5px}
.store-logo{width:54px;height:54px;border-radius:16px;background:#fff;color:#0a2b7a;display:grid;place-items:center;font-weight:950;font-size:19px;box-shadow:0 7px 18px #06174733;border:3px solid #ffffff}
.store-logo.big{width:72px;height:72px;font-size:24px}
.store-card-body{padding:14px 15px 15px}
.store-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.store-title-row h3{margin:0 0 3px;font-size:17px;color:#101c35}.store-title-row span{font-size:11px;color:#6c768a}
.store-chevron{font-size:25px!important;color:#0a2b7a!important;line-height:18px}
.store-card-body p{margin:10px 0;color:#657086;font-size:11px;line-height:1.45;min-height:32px}
.store-meta{display:flex;flex-wrap:wrap;gap:10px;color:#69758b;font-size:10px;margin-bottom:12px}
.view-store-btn{width:100%;border:0;border-radius:11px;background:#0a2b7a;color:#fff;padding:11px 13px;font-weight:900;font-size:10px;letter-spacing:.5px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}
.store-detail-head{display:grid;grid-template-columns:120px 1fr;gap:18px;padding:4px 0 18px;border-bottom:1px solid #e8ebf2}
.detail-cover{height:120px;border-radius:18px;align-items:center;justify-content:center;padding:0}
.store-detail-info{align-self:center}.store-detail-info h2{margin:4px 0;font-size:25px}.store-detail-info p{margin:5px 0 10px;color:#667188;font-size:12px}
.store-products-head{display:flex;justify-content:space-between;align-items:center;padding:18px 0 8px}.store-products-head h3{margin:0;font-size:16px}.store-products-head span{font-size:10px;color:#778196}
.store-products{padding-top:8px}
.store-products .buy{font-size:9px;padding:9px}
@media(max-width:700px){.store-grid{grid-template-columns:1fr}.store-detail-head{grid-template-columns:88px 1fr}.detail-cover{height:88px}.store-logo.big{width:60px;height:60px;font-size:20px}.stores-heading h2{font-size:24px}}
@media(max-width:430px){.store-grid{gap:12px}.store-card-body{padding:13px}.store-cover{height:100px}}
\n.tracking-live-state{margin:0 0 10px;padding:9px 12px;border-radius:10px;background:#e9f8f0;color:#087f5b;font-size:11px;font-weight:900;text-align:center}.driver-marker{z-index:1000!important}.customer-marker{z-index:900!important}\n
.product-options{margin:14px 0;padding:12px;border:1px solid #e1e6f0;border-radius:14px;background:#fafbff;display:grid;gap:8px}.product-options>b{font-size:13px}.product-options label{display:grid;gap:5px;font-size:11px;color:#59647a}.product-options select{padding:11px;border:1px solid #d8deea;border-radius:10px;background:#fff;font-size:14px}.selected-options-summary{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.selected-options-summary span{background:#eef3ff;color:#163b83;padding:5px 8px;border-radius:999px;font-size:11px}

/* ===== BASSE V4 — premium marketplace redesign ===== */
:root{
  --navy:#071a4a;--blue:#1d55c9;--gold:#f5b400;--ink:#101827;
  --muted:#6d778a;--bg:#f5f7fb;--surface:#fff;--line:#e5e9f0;
  --shadow:0 12px 32px rgba(7,26,74,.08);
}
body{background:#f6f8fc;color:var(--ink)}
.top{
  height:76px;padding:11px clamp(14px,4vw,56px);gap:12px;
  background:rgba(255,255,255,.94);border-bottom:1px solid #e5e9f0;
}
.brand-logo{width:46px;height:46px;object-fit:contain;border-radius:12px}
.brand{min-width:150px}
.search-wrap{max-width:620px}
.search{height:48px;border-radius:14px;background:#f5f7fb;border-color:#e0e5ee}
.search input{font-size:14px}
.search button{background:var(--navy);color:#fff;width:48px}
.stores-top,.app-download-top,.track-top{
  display:inline-flex;align-items:center;gap:7px;border:1px solid #dfe5ef;
  background:#fff;color:var(--navy);border-radius:13px;padding:11px 12px;
  font-weight:850;font-size:11px;text-decoration:none;cursor:pointer;
}
.track-top{background:#edf3ff;border-color:#d5e0f8}
.support{background:var(--navy);border-radius:13px}
.cart{width:44px;height:44px;color:var(--navy);display:grid;place-items:center}
.cart .ui-icon{width:22px;height:22px}
.cart i{right:0;top:0}
.ui-icon{display:inline-block;width:17px;height:17px;position:relative;flex:0 0 auto}
.store-icon:before{content:"";position:absolute;inset:3px 2px 2px;border:1.8px solid currentColor;border-radius:2px}
.store-icon:after{content:"";position:absolute;left:1px;right:1px;top:0;height:6px;border:1.8px solid currentColor;border-radius:3px}
.track-icon:before{content:"";position:absolute;inset:2px 3px;border:1.8px solid currentColor;border-radius:50%}
.track-icon:after{content:"";position:absolute;width:5px;height:5px;background:currentColor;border-radius:50%;left:6px;top:6px}
.app-icon:before{content:"";position:absolute;inset:2px 4px;border:1.8px solid currentColor;border-radius:3px}
.phone-icon:before{content:"";position:absolute;inset:2px;border:1.8px solid currentColor;border-radius:50%}
.phone-icon:after{content:"";position:absolute;width:5px;height:5px;background:currentColor;border-radius:50%;left:6px;top:6px}
.cart-icon:before{content:"";position:absolute;left:2px;top:3px;width:13px;height:9px;border:1.8px solid currentColor;border-top:0;transform:skew(-8deg)}
.cart-icon:after{content:"•  •";position:absolute;left:4px;bottom:-4px;font-size:10px;letter-spacing:3px}

main{max-width:1380px}
.market-banner{
  position:relative;display:block;min-height:0;margin:16px auto 8px;
  padding:0;overflow:hidden;border-radius:24px;background:#dfe8fa;
  box-shadow:0 14px 36px rgba(7,26,74,.10);
}
.market-banner .banner-link{display:block}
.market-banner img{display:block;width:100%;height:auto;max-height:390px;object-fit:cover}
.banner-overlay{position:absolute;left:0;right:0;bottom:0;padding:18px 22px;background:linear-gradient(transparent,rgba(5,17,45,.55));display:flex;justify-content:flex-end}
.banner-overlay button{
  background:#fff;color:var(--navy);border:0;border-radius:12px;padding:12px 18px;
  font-weight:950;box-shadow:0 8px 24px rgba(0,0,0,.16)
}
.categories,#products,.store-preview-section{padding-left:clamp(14px,3vw,34px);padding-right:clamp(14px,3vw,34px)}
.categories{margin-top:24px}
.section-title{margin-bottom:15px}
.section-title h2{font-size:24px;letter-spacing:-.4px}
.text-action{border:0;background:none;color:var(--blue);font-weight:900;cursor:pointer;padding:8px}
.cats{gap:12px}
.cats button{flex:0 0 92px;width:92px;height:92px;background:#fff;border:1px solid #e1e6ef;box-shadow:0 7px 18px rgba(7,26,74,.06)}
.cats button:hover{box-shadow:0 11px 24px rgba(7,26,74,.10)}
.cats button.active{background:linear-gradient(145deg,#071a4a,#1748a8)}
#products{margin-top:28px}
#grid{gap:14px}
.product{border-radius:18px;box-shadow:0 6px 22px rgba(7,26,74,.055);border-color:#e5e9f0}
.product:hover{box-shadow:0 14px 34px rgba(7,26,74,.12)}
.product .pic{background:#f0f3f8}
.product .info h3{font-weight:850;line-height:1.25}
.product .price{color:#0b2b72}
.buy{background:var(--navy)}

.store-preview-section{margin-top:30px}
.store-preview-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;
  overflow:hidden;
}
.store-preview-card{
  display:flex;align-items:center;gap:11px;min-width:0;
  background:#fff;border:1px solid var(--line);border-radius:17px;padding:11px;
  box-shadow:0 5px 18px rgba(7,26,74,.05);cursor:pointer;text-align:left;
}
.store-preview-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(7,26,74,.10)}
.preview-logo{
  width:52px;height:52px;min-width:52px;border-radius:14px;
  display:grid;place-items:center;background:linear-gradient(145deg,#071a4a,#2b66d1);
  color:#fff;font-size:17px;font-weight:950;
}
.preview-info{min-width:0;flex:1}
.preview-info b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.preview-info small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.preview-arrow{font-size:19px;color:var(--blue)}
.preview-loading{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;color:var(--muted);font-size:12px;text-align:center}

.app-promo{
  max-width:1310px;margin:30px auto;padding:20px 22px;border-radius:20px;
  background:linear-gradient(135deg,#eef4ff,#fff);border:1px solid #dce5f7;
}
.trust{margin-top:22px}
.trust div{box-shadow:0 5px 18px rgba(7,26,74,.04)}

.stores-sheet{max-width:980px;border-radius:28px}
.store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.store-card-pro{border-radius:17px;box-shadow:0 6px 22px rgba(7,26,74,.06)}
.store-cover{height:92px;padding:11px}
.store-logo{width:48px;height:48px;border-radius:13px;font-size:16px}
.store-cover-badge{top:10px;right:10px;padding:5px 7px}
.store-card-body{padding:12px 13px}
.store-title-row h3{font-size:15px}
.store-card-body p{margin:7px 0;min-height:30px}
.store-meta{gap:8px}
.view-store-btn{width:100%;margin-top:10px;padding:10px 12px;border:0;border-radius:11px;background:#edf3ff;color:var(--navy);font-weight:950;cursor:pointer}
.view-store-btn:hover{background:#dfeaff}
.store-detail-head{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:center}
.detail-cover{height:120px!important;border-radius:18px}
.store-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.store-products .product{cursor:pointer}
.store-products .product .buy{display:flex}
.map-placeholder{min-height:270px;display:grid;place-items:center;align-content:center;text-align:center;color:var(--muted);gap:5px;background:linear-gradient(145deg,#eef3f9,#e5ebf4)}
.map-placeholder b{color:var(--navy)}
.tracking-sheet{max-width:760px}
.tracking-card{background:#fff}
.track-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.tracking-card h3{margin:8px 0 4px;font-size:18px}
.tracking-card>p{font-size:12px;color:var(--muted)}
.live-map-wrap{margin:14px 0;border-radius:20px;overflow:hidden;border:1px solid #dfe5ef;box-shadow:0 8px 24px rgba(7,26,74,.07)}
.customer-map{height:290px;background:#edf2f7}
.customer-map .leaflet-container{height:100%;width:100%}
.timeline{
  display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:17px 0 10px;
  overflow:auto;padding-bottom:4px
}
.timeline-step{min-width:80px;text-align:center;color:#98a1b0;font-size:9px}
.timeline-step span{width:25px;height:25px;margin:0 auto 7px;border-radius:50%;display:grid;place-items:center;background:#edf1f6;color:#98a1b0;font-weight:900}
.timeline-step.done{color:var(--navy)}
.timeline-step.done span{background:#dce9ff;color:var(--blue)}
.timeline-step b{font-size:9px;line-height:1.2}

@media(max-width:980px){
 .store-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stores-top,.app-download-top{display:none}
 #grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:720px){
 .top{padding:9px 12px;gap:8px}
 .brand-logo{width:42px;height:42px}
 .track-top{display:inline-flex}
 .market-banner{margin:10px 10px 4px;border-radius:18px}
 .market-banner img{min-height:150px;object-fit:cover}
 .banner-overlay{padding:12px}
 .banner-overlay button{padding:10px 13px;font-size:10px}
 .categories{margin-top:20px}
 .cats button{flex-basis:82px;width:82px;height:82px}
 #grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .store-preview-grid{grid-template-columns:1fr 1fr;gap:9px}
 .store-preview-card{padding:9px;border-radius:14px}
 .preview-logo{width:44px;height:44px;min-width:44px;border-radius:12px;font-size:14px}
 .preview-info b{font-size:11px}
 .preview-info small{font-size:9px}
 .stores-sheet{border-radius:23px}
 .store-grid{grid-template-columns:1fr 1fr;gap:9px}
 .store-cover{height:76px}
 .store-logo{width:42px;height:42px;font-size:14px}
 .store-cover-badge{font-size:7px}
 .store-card-body{padding:10px}
 .store-title-row h3{font-size:13px}
 .store-card-body p{font-size:10px}
 .store-meta{font-size:9px}
 .view-store-btn{font-size:9px;padding:9px 8px}
 .store-detail-head{grid-template-columns:74px 1fr;gap:11px}
 .detail-cover{height:74px!important}
 .store-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .timeline{grid-template-columns:repeat(7,78px);overflow-x:auto}
 .customer-map{height:260px}
 .tracking-sheet{padding:15px}
}
@media(max-width:390px){
 .brand{min-width:42px}
 .brand b,.brand small{display:none}
 .search input{font-size:13px}
 .track-top{padding:10px}
 .store-preview-grid{grid-template-columns:1fr}
}

/* BASSE marketplace polish — v5.3 */
:root{--basse-navy:#071a4a;--basse-blue:#245bd2;--basse-soft:#f3f6fc;--basse-line:#dfe5ef}
.top{height:78px;display:flex;align-items:center;justify-content:space-between;padding:10px clamp(14px,4vw,56px);gap:18px;position:sticky;top:0;z-index:30;background:rgba(255,255,255,.97);backdrop-filter:blur(18px);box-shadow:0 5px 22px rgba(7,26,74,.07)}
.brand-logo{width:142px;height:48px;object-fit:contain;border-radius:9px;background:#fff}
.brand{min-width:142px}
.top-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.stores-top,.app-download-top,.support{height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;border-radius:13px;font-size:12px;font-weight:900;white-space:nowrap}
.stores-top,.app-download-top{border:1px solid var(--basse-line);background:#fff;color:var(--basse-navy);text-decoration:none}
.stores-top:hover,.app-download-top:hover{background:#f4f7ff;transform:translateY(-1px)}
.support{background:var(--basse-navy);color:#fff;text-decoration:none}
.support:hover{background:#12347f;transform:translateY(-1px)}
.cart{width:46px;height:46px;border:1px solid transparent;border-radius:13px;background:#f4f7fc;color:var(--basse-navy);display:grid;place-items:center;position:relative;cursor:pointer}
.cart:hover{background:#eaf0fb;transform:translateY(-1px)}
.search-bar-section{position:relative;z-index:20;background:var(--bg);padding:15px clamp(14px,4vw,56px) 3px}
.search-bar-section .search-wrap{width:min(760px,100%);margin:0 auto;max-width:none}
.search-bar-section .search{height:52px;background:#fff;border:1px solid #dce3ef;border-radius:17px;box-shadow:0 8px 24px rgba(7,26,74,.07);overflow:hidden}
.search-bar-section .search input{font-size:15px;padding:0 17px}
.search-bar-section .search button{height:100%;background:var(--basse-navy);color:#fff;width:58px;font-size:25px}
.search-bar-section .search button:hover{background:#12347f}
.search-suggestions{z-index:80}
.market-banner{margin:13px auto 12px;max-width:1320px;border-radius:22px;box-shadow:0 12px 32px rgba(7,26,74,.10)}
.market-banner img{max-height:390px}
/* No marketplace preview stores on the home page. */
.app-promo{max-width:1310px;margin:30px auto;padding:22px 24px;display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,#eef4ff,#fff);border:1px solid #d9e3f6;border-radius:21px;box-shadow:0 10px 28px rgba(7,26,74,.05)}
.app-promo-icon{width:64px;height:64px;flex:0 0 64px;border-radius:17px;background:#fff;border:1px solid #dce5f6;display:grid;place-items:center;overflow:hidden;box-shadow:0 7px 18px rgba(7,26,74,.08)}
.app-promo-icon img{width:100%;height:100%;object-fit:contain;padding:5px}
.app-promo-copy h2{font-size:21px;margin:4px 0 4px}.app-promo-copy p{font-size:12px;line-height:1.45}
.app-promo-btn{transition:.18s}.app-promo-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(7,26,74,.12)}
.trust{max-width:1310px;margin:24px auto 30px;padding:0 20px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.trust-card{min-height:92px;background:#fff;border:1px solid var(--basse-line);border-radius:18px;padding:17px 18px;display:flex!important;align-items:center;gap:14px;box-shadow:0 7px 20px rgba(7,26,74,.045)}
.trust-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(7,26,74,.08)}
.trust-card>div{display:block}.trust-card b{display:block;font-size:14px;line-height:1.2;margin-bottom:5px}.trust-card span:not(.trust-icon){display:block;color:var(--muted);font-size:11px;line-height:1.3}
.trust-icon{width:43px;height:43px;min-width:43px;border-radius:13px;background:#eef3ff;color:var(--basse-navy);position:relative;display:block}
.payment-icon:before{content:"";position:absolute;left:10px;top:13px;width:22px;height:15px;border:2px solid currentColor;border-radius:4px}.payment-icon:after{content:"";position:absolute;left:13px;top:18px;width:8px;height:2px;background:currentColor;box-shadow:0 5px 0 currentColor}
.support-icon:before{content:"";position:absolute;left:10px;top:9px;width:23px;height:23px;border:2px solid currentColor;border-radius:50%}.support-icon:after{content:"";position:absolute;left:19px;top:16px;width:6px;height:6px;background:currentColor;border-radius:50%;box-shadow:0 0 0 3px #eef3ff,0 0 0 5px currentColor}
.delivery-icon:before{content:"";position:absolute;left:7px;top:15px;width:27px;height:15px;border:2px solid currentColor;border-radius:4px}.delivery-icon:after{content:"";position:absolute;left:11px;top:27px;width:6px;height:6px;border:2px solid currentColor;border-radius:50%;box-shadow:17px 0 0 -2px #eef3ff,17px 0 0 0 currentColor}
/* Keep controls feeling responsive and tappable. */
button,a{touch-action:manipulation}button:active,.app-promo-btn:active,.stores-top:active,.app-download-top:active,.support:active{transform:scale(.97)}

@media(max-width:760px){
 .top{height:64px;padding:8px 12px}.brand-logo{width:116px;height:40px}.brand{min-width:116px}.top-actions{gap:6px}.stores-top,.app-download-top,.support{width:42px;height:42px;padding:0;border-radius:12px}.stores-top span:last-child,.app-download-top span:last-child,.support span:last-child{display:none}.cart{width:42px;height:42px}
 .search-bar-section{padding:11px 12px 3px}.search-bar-section .search{height:50px;border-radius:16px}.search-bar-section .search input{font-size:13px}.search-bar-section .search button{width:52px}
 .market-banner{margin:10px 10px 12px;border-radius:18px}.market-banner img{min-height:0;max-height:none;object-fit:cover}
 .categories,#products{padding-left:14px;padding-right:14px}.categories{margin-top:21px}
 .cats{gap:9px}.cats button{width:82px;min-width:82px;height:82px;border-radius:18px;padding:8px 5px}
 #products{margin-top:27px}.section-title h2{font-size:21px}
 .app-promo{margin:26px 12px 20px;padding:16px;border-radius:19px;gap:12px}.app-promo-icon{width:55px;height:55px;min-width:55px;border-radius:15px}.app-promo-copy{min-width:0}.app-promo-copy h2{font-size:18px}.app-promo-copy p{font-size:10.5px}.app-promo-btn{width:100%;justify-content:center;flex-basis:100%;font-size:11px}
 .trust{grid-template-columns:1fr;margin:18px 12px 28px;padding:0;gap:10px}.trust-card{min-height:78px;padding:14px 15px;border-radius:16px}.trust-icon{width:40px;height:40px;min-width:40px}.trust-card b{font-size:13px}.trust-card span:not(.trust-icon){font-size:10px}
}
@media(max-width:390px){.brand-logo{width:104px}.brand{min-width:104px}.stores-top,.app-download-top,.support,.cart{width:39px;height:39px}.top-actions{gap:4px}}

/* ===== BASSE V5 — responsive marketplace shell ===== */
.top{display:grid;grid-template-columns:auto minmax(280px,1fr) auto;align-items:center;gap:18px;min-height:76px;height:auto}
.top-search{width:100%;max-width:none}
.top-actions{display:flex;align-items:center;gap:8px}
.feature-carousel{max-width:1320px;margin:22px auto 8px;padding:0 14px;overflow:hidden}
.feature-track{display:flex;transition:transform .55s cubic-bezier(.2,.75,.25,1);will-change:transform}
.feature-slide{min-width:100%;border:1px solid #dfe6f2;border-radius:24px;min-height:190px;padding:26px 30px;display:flex;align-items:center;justify-content:space-between;gap:22px;overflow:hidden;position:relative;box-shadow:0 12px 32px rgba(7,26,74,.07)}
.feature-app{background:linear-gradient(120deg,#edf4ff,#fff)}
.feature-track-slide{background:linear-gradient(120deg,#f1f6ff,#fff)}
.feature-payments{background:linear-gradient(120deg,#fff8df,#fff)}
.feature-copy{max-width:720px;position:relative;z-index:2}
.feature-kicker{display:inline-block;color:#1d55c9;font-size:10px;font-weight:950;letter-spacing:1.5px;margin-bottom:6px}
.feature-slide h2{margin:0 0 7px;font-size:clamp(22px,3vw,34px);letter-spacing:-.7px}
.feature-slide p{margin:0 0 15px;color:#687386;font-size:13px;line-height:1.45;max-width:620px}
.feature-btn{display:inline-flex;align-items:center;gap:9px;border:0;border-radius:12px;background:#071a4a;color:#fff;text-decoration:none;padding:11px 16px;font-size:11px;font-weight:950;cursor:pointer}
.feature-art{width:116px;height:116px;border-radius:28px;background:#fff;border:1px solid #dfe6f2;display:grid;place-items:center;box-shadow:0 12px 25px rgba(7,26,74,.1);flex:none}
.feature-art img{width:92px;height:92px;object-fit:contain;border-radius:20px}
.tracking-mini{width:290px;background:#fff;border:1px solid #dce5f2;border-radius:18px;padding:12px;box-shadow:0 10px 24px rgba(7,26,74,.08);flex:none}
.mini-map{height:92px;border-radius:13px;background:linear-gradient(145deg,#eaf1fa,#dfe9f4);position:relative;overflow:hidden}
.mini-map:before,.mini-map:after{content:"";position:absolute;background:#fff;opacity:.8}.mini-map:before{width:150%;height:9px;left:-25%;top:38px;transform:rotate(18deg)}.mini-map:after{width:120%;height:7px;left:-10%;top:62px;transform:rotate(-12deg)}
.mini-map i{position:absolute;left:42%;top:50%;width:95px;height:3px;background:#245bd2;transform:rotate(18deg);z-index:2;border-radius:4px}.mini-store,.mini-home{position:absolute;width:18px;height:18px;border-radius:50%;background:#071a4a;z-index:3}.mini-store{left:24%;top:28%}.mini-home{right:19%;bottom:20%;background:#fff;border:4px solid #245bd2}
.mini-status{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:9px 2px 0}.mini-status b{font-size:12px}.mini-status span{font-size:9px;color:#687386}.mini-status strong{grid-row:1/3;grid-column:2;align-self:center;color:#087f5b;font-size:9px}
.payment-card{width:240px;border-radius:18px;background:#071a4a;color:#fff;padding:18px;flex:none;box-shadow:0 12px 28px rgba(7,26,74,.16)}.payment-card small{color:#cbd7f2;font-size:9px;letter-spacing:1px;font-weight:900}.payment-card div{display:flex;gap:7px;margin:16px 0}.payment-card b{background:#fff;color:#071a4a;border-radius:9px;min-width:42px;height:35px;display:grid;place-items:center;font-size:11px}.payment-card span{font-size:10px;color:#dbe5fa}.payment-pills{display:flex;flex-wrap:wrap;gap:7px}.payment-pills span{background:#fff;border:1px solid #dfe4ea;border-radius:999px;padding:7px 10px;font-size:9px;font-weight:950;color:#071a4a}
.feature-dots{display:flex;justify-content:center;gap:6px;margin:9px 0 4px}.feature-dots button{width:7px;height:7px;border:0;padding:0;border-radius:50%;background:#cbd3e1;cursor:pointer}.feature-dots button.active{width:22px;border-radius:999px;background:#1748a8}
.categories{margin-top:24px}
/* Keep the marketplace focused: no popular-store block on home. */
@media(min-width:1100px){.feature-slide{min-height:205px}.market-banner{margin-top:16px}.categories,#products{padding-left:24px;padding-right:24px}}
@media(max-width:980px){.top{grid-template-columns:auto 1fr;gap:10px}.top-search{grid-column:1/-1;grid-row:2}.top-actions{justify-self:end}.feature-slide{min-height:180px}.tracking-mini{width:240px}.payment-card{width:205px}}
@media(max-width:720px){
 body{padding-bottom:88px}.top{grid-template-columns:auto 1fr;padding:9px 12px;gap:8px}.brand{min-width:0}.brand-logo{width:112px;height:40px}.top-actions{gap:5px}.support{display:none}.stores-top,.app-download-top,.cart{width:42px;height:42px;padding:0;border-radius:12px}.stores-top span:last-child,.app-download-top span:last-child{display:none}.top-search{grid-column:1/-1}.search{height:48px;border-radius:16px}.search input{font-size:13px}
 .feature-carousel{padding:0 10px;margin:15px auto 4px}.feature-slide{min-height:165px;padding:19px 18px;border-radius:20px}.feature-slide h2{font-size:21px}.feature-slide p{font-size:11px;max-width:100%}.feature-btn{padding:10px 12px;font-size:10px}.feature-art{width:82px;height:82px;border-radius:20px}.feature-art img{width:66px;height:66px}.tracking-mini{width:155px;padding:8px}.mini-map{height:72px}.mini-status b{font-size:10px}.mini-status span{font-size:8px}.payment-card{width:135px;padding:12px;border-radius:15px}.payment-card div{margin:10px 0}.payment-card b{min-width:29px;height:28px;font-size:8px}.payment-pills{gap:5px}.payment-pills span{padding:5px 7px;font-size:7px}.feature-dots{margin-top:7px}.categories{margin-top:20px}
 .cats{padding-bottom:8px}.cats button{flex-basis:88px;width:88px;height:88px;border-radius:50%}
 #grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{border-radius:16px}.product .pic{aspect-ratio:1}.info{padding:10px}.info h3{font-size:12px}.price{font-size:16px}.buy{font-size:11px;padding:10px}
 .app-promo{margin:22px 12px 18px;padding:16px;border-radius:19px}.trust{margin:16px 12px 28px;grid-template-columns:repeat(3,1fr);gap:8px}.trust-card{min-height:105px!important;padding:12px 9px!important;display:flex!important;flex-direction:column!important;align-items:flex-start;gap:8px}.trust-icon{width:38px!important;height:38px!important;min-width:38px!important}.trust-card>div{width:100%}.trust-card b{font-size:11px!important}.trust-card span:not(.trust-icon){font-size:9px!important}.bottom{height:82px}.bottom a,.bottom button{min-width:52px;min-height:60px;border-radius:16px}.bottom small{font-size:9px}
}
@media(max-width:430px){.brand-logo{width:100px}.stores-top,.app-download-top,.cart{width:39px;height:39px}.feature-slide{padding:16px 14px}.feature-slide h2{font-size:18px}.feature-slide p{font-size:10px}.feature-art{width:66px;height:66px}.feature-art img{width:53px;height:53px}.tracking-mini{width:128px}.payment-card{width:118px}.payment-pills span{padding:4px 5px}.cats button{flex-basis:82px;width:82px;height:82px}}

/* ===== Vendor dashboard V5 ===== */
.vendor-header{height:74px;padding:0 clamp(14px,4vw,45px);background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:0 5px 22px rgba(7,26,74,.06);border-bottom:1px solid #e6eaf1}.vendor-brand{display:flex;align-items:center;gap:12px}.vendor-brand img{width:118px;height:48px;object-fit:contain;border-radius:10px}.vendor-brand b{font-size:15px}.header-logout{padding:10px 14px!important;border-radius:12px!important;background:#071a4a!important}.vendor-welcome{margin:20px 0;padding:26px 28px;border-radius:22px;background:linear-gradient(120deg,#071a4a,#1748a8);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:18px;box-shadow:0 14px 34px rgba(7,26,74,.15)}.vendor-welcome .eyebrow{color:#c9d8ff}.vendor-welcome h1{margin:5px 0;font-size:30px;letter-spacing:-.6px}.vendor-welcome p{margin:0;color:#dbe5ff;font-size:12px}.primary-action{background:#f5b400!important;color:#071a4a!important;border-radius:13px!important;padding:13px 17px!important}.vendor-tabs{display:flex;gap:7px;overflow:auto;padding:4px;margin:0 0 16px;scrollbar-width:none}.vendor-tabs button{border:1px solid #dfe5ef;background:#fff;color:#536078;padding:11px 14px;border-radius:12px;font-weight:900;white-space:nowrap}.vendor-tabs button.active{background:#071a4a;color:#fff;border-color:#071a4a;box-shadow:0 7px 18px rgba(7,26,74,.13)}.panel-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}.vendor-panel .card{box-shadow:0 8px 25px rgba(7,26,74,.055)}.vendor-stats>div{background:#fff}.store-profile-card{display:flex;align-items:center;gap:16px}.store-profile-mark{width:72px!important;height:72px!important;border-radius:20px!important;background:linear-gradient(145deg,#071a4a,#245bd2)!important;color:#fff!important;display:grid;place-items:center;font-size:28px;font-weight:950}.status-live{color:#087f5b}.status-row{display:flex;justify-content:space-between;padding-top:12px;border-top:1px solid #edf0f5}
@media(max-width:760px){.vendor-header{height:64px;padding:0 12px}.vendor-brand img{width:92px;height:40px}.vendor-welcome{margin:13px 0;padding:20px 17px;border-radius:18px;align-items:flex-start;flex-direction:column}.vendor-welcome h1{font-size:24px}.primary-action{width:100%}.panel-grid{grid-template-columns:1fr}.vendor-tabs button{padding:10px 12px;font-size:10px}.vendor-stats{grid-template-columns:repeat(2,1fr)}}

/* BASSE reference-led responsive marketplace polish */
:root{--basse-navy:#071a4a;--basse-blue:#1754c9;--basse-line:#dfe6f1;--basse-muted:#738097;--basse-shadow:0 10px 30px rgba(7,26,74,.07)}
html{scroll-behavior:smooth}body{background:#f7f9fd;color:#101a2c;overflow-x:hidden}
.top{position:sticky;top:0;z-index:40;min-height:86px;height:auto;display:grid;grid-template-columns:190px minmax(280px,760px) auto;align-items:center;justify-content:center;gap:26px;padding:14px clamp(18px,4vw,54px);background:rgba(255,255,255,.96);border-bottom:1px solid #e7ebf2;box-shadow:0 5px 22px rgba(7,26,74,.035)}
.brand{min-width:0;width:190px}.brand-logo{width:158px;height:52px;object-fit:contain;background:transparent;border-radius:0}.top-search{max-width:none}.search{height:54px;border-radius:18px;background:#fff;border:1px solid #d8e1ee;box-shadow:0 4px 16px rgba(7,26,74,.035)}.search input{font-size:15px;color:#1a2840;padding:0 18px}.search input::placeholder{color:#8792a5}.search button{width:64px;background:var(--basse-navy);color:#fff}.search .clear-search{background:#fff;color:#7a8495;width:40px}.top-actions{display:flex;align-items:center;gap:12px}.notify,.cart{width:48px;height:48px;border:0;background:#fff;color:var(--basse-navy);position:relative;display:grid;place-items:center;border-radius:14px;cursor:pointer}.notify i,.cart i{position:absolute;right:-1px;top:-4px;background:#e31d4d;color:#fff;font-style:normal;font-size:10px;font-weight:900;min-width:21px;height:21px;border-radius:999px;display:grid;place-items:center;border:2px solid #fff}.bell-icon{width:22px;height:24px;display:block;border:2px solid currentColor;border-radius:13px 13px 5px 5px;position:relative}.bell-icon:before{content:"";position:absolute;left:7px;bottom:-6px;width:6px;height:3px;border-radius:4px;background:currentColor}.bell-icon:after{content:"";position:absolute;left:-5px;right:-5px;bottom:-2px;height:2px;background:currentColor;border-radius:3px}.ui-icon.cart-icon{width:24px;height:22px;display:block;border:2px solid currentColor;border-top:0;transform:skew(-7deg);position:relative}.ui-icon.cart-icon:before{content:"";position:absolute;left:-5px;top:-6px;width:7px;height:2px;background:currentColor}.ui-icon.cart-icon:after{content:"•  •";position:absolute;left:1px;bottom:-13px;font-size:15px;letter-spacing:7px}
.market-banner{max-width:1280px;height:auto;aspect-ratio:2.75/1;margin:22px auto 0;padding:0!important;border-radius:25px;overflow:hidden;position:relative;background:#071a4a;box-shadow:0 14px 36px rgba(7,26,74,.12)}.market-banner .banner-link,.market-banner img{width:100%;height:100%;display:block}.market-banner img{object-fit:cover;object-position:center}.banner-overlay{right:4.2%;bottom:7%;padding:0}.banner-overlay button{border:2px solid #fff;background:#071a4a;color:#fff;border-radius:999px;padding:13px 24px;font-size:13px;font-weight:950;box-shadow:0 8px 22px rgba(0,0,0,.16)}
.feature-carousel{max-width:1280px;margin:18px auto 0;padding:0;overflow:hidden}.feature-slide{min-width:100%;min-height:176px;padding:24px 28px;border:1px solid #dce5f2;border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#eef5ff,#fff);box-shadow:var(--basse-shadow)}.feature-slide h2{font-size:clamp(23px,2.6vw,32px);margin:4px 0 7px;letter-spacing:-.7px}.feature-slide p{max-width:610px;margin:0 0 14px;color:#6f7c91;line-height:1.45}.feature-kicker{color:var(--basse-blue);font-size:10px;font-weight:950;letter-spacing:1.7px}.feature-btn{background:var(--basse-navy);color:#fff;border:0;border-radius:12px;padding:11px 16px;font-size:11px;font-weight:950;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:9px}.feature-art{width:125px;height:125px;background:#fff;border:1px solid #dbe5f2;border-radius:28px;box-shadow:0 10px 24px rgba(7,26,74,.09);display:grid;place-items:center;overflow:hidden}.feature-art img{width:100px;height:100px;object-fit:contain}.tracking-mini{width:300px;background:#fff;border:1px solid #dbe5f2;border-radius:18px;padding:11px;box-shadow:0 10px 25px rgba(7,26,74,.08)}.mini-map{height:88px;border-radius:13px;background:linear-gradient(135deg,#e9f0f7,#f8fafc);position:relative;overflow:hidden}.mini-map:before{content:"";position:absolute;inset:18% -10%;height:12px;background:#fff;transform:rotate(17deg);box-shadow:0 27px 0 #fff,0 54px 0 #fff}.mini-map i{position:absolute;width:110px;height:3px;background:#1d63d6;left:29%;top:54%;transform:rotate(18deg);border-radius:4px}.mini-store,.mini-home{position:absolute;width:20px;height:20px;border-radius:50%;z-index:2}.mini-store{left:21%;top:24%;background:#071a4a}.mini-home{right:16%;bottom:16%;background:#fff;border:4px solid #1d63d6}.mini-status{display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding:8px 2px 0}.mini-status b{font-size:12px}.mini-status span{font-size:9px;color:#758197}.mini-status strong{grid-row:1/3;grid-column:2;align-self:center;color:#087f5b;font-size:9px}.payment-card{width:300px;padding:18px;border-radius:18px;background:#fff;border:1px solid #dce5f2;color:#071a4a;box-shadow:0 10px 25px rgba(7,26,74,.07)}.payment-card small{font-size:9px;letter-spacing:1.2px;font-weight:950;color:#7a8597}.payment-card div{display:flex;gap:8px;margin:13px 0}.payment-card b{height:42px;min-width:55px;padding:0 10px;display:grid;place-items:center;border-radius:11px;background:#f5f8fc;border:1px solid #e2e8f1;font-size:10px}.payment-card span{font-size:10px;color:#748096}.payment-pills{display:flex;flex-wrap:wrap;gap:7px}.payment-pills span{padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #dce5f2;font-size:9px;font-weight:950;color:#071a4a}.feature-dots{display:flex;justify-content:center;gap:7px;margin:10px 0 3px}.feature-dots button{width:8px;height:8px;border:0;padding:0;border-radius:999px;background:#cfd7e5;cursor:pointer}.feature-dots button.active{width:22px;background:#1754c9}
.categories,#products{max-width:1280px;margin:28px auto 0;padding:0}.section-title{margin-bottom:16px}.section-title h2{font-size:25px;letter-spacing:-.5px}.section-title span{font-size:12px;color:#78849a}.cats{display:flex;gap:16px;overflow-x:auto;padding:3px 0 12px;scrollbar-width:none}.cats::-webkit-scrollbar{display:none}.cats button{flex:0 0 104px;width:104px;height:112px;border:1px solid #e0e6ef;background:#fff;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#17448f;box-shadow:0 6px 18px rgba(7,26,74,.045);cursor:pointer}.cats button.active{background:linear-gradient(145deg,#174ebc,#0a2b75);color:#fff;border-color:#0d347f;box-shadow:0 12px 26px rgba(23,84,201,.22)}.cats button svg{width:31px;height:31px;fill:currentColor}.cats button b{font-size:12px;line-height:1.15;text-align:center}.cats button:hover{transform:translateY(-2px)}
#grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.product{border:1px solid #e0e6ef;border-radius:19px;background:#fff;box-shadow:0 7px 20px rgba(7,26,74,.055);overflow:hidden}.product .pic{aspect-ratio:1;background:#f5f7fb}.product img{object-fit:contain;padding:10px}.info{padding:13px}.info h3{font-size:13px;line-height:1.35;min-height:35px}.info p{font-size:10px;min-height:25px;margin:3px 0;color:#768198}.price{font-size:18px;margin:8px 0;color:#071a4a}.buy{border-radius:12px;background:#123b91;padding:10px;font-size:11px}.product:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(7,26,74,.1)}
.app-promo{max-width:1280px;margin:26px auto 18px;padding:21px 25px;border-radius:21px;border:1px solid #d9e4f3;background:linear-gradient(135deg,#eef5ff,#fff);box-shadow:0 8px 24px rgba(7,26,74,.045)}.app-promo-icon{width:70px;height:70px;border-radius:18px;background:#fff;border:1px solid #dce5f2;box-shadow:0 7px 18px rgba(7,26,74,.08);overflow:hidden}.app-promo-icon img{width:100%;height:100%;object-fit:contain;padding:6px}.app-promo-copy small{font-size:9px;letter-spacing:1.5px}.app-promo-copy h2{font-size:22px}.app-promo-copy p{font-size:12px}.app-promo-btn{background:#071a4a;border-radius:13px;padding:12px 17px;font-size:11px}.trust{max-width:1280px;margin:16px auto 28px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#fff;border:1px solid #e0e6ef;border-radius:20px;box-shadow:0 7px 22px rgba(7,26,74,.045);overflow:hidden}.trust-card{min-height:106px;border:0!important;border-radius:0!important;box-shadow:none!important;padding:18px 22px;display:flex!important;align-items:center;gap:15px;position:relative}.trust-card:not(:last-child):after{content:"";position:absolute;right:0;top:22px;bottom:22px;width:1px;background:#dce3ee}.trust-icon{width:45px;height:45px;min-width:45px;border-radius:13px;background:#eef4ff;position:relative;display:block}.trust-icon:before{content:"";position:absolute;inset:10px;border:3px solid #1857cc;border-radius:50%}.support-icon:before{border-radius:10px 10px 50% 50%}.delivery-icon:before{border-radius:4px}.trust-card b{font-size:13px}.trust-card span:not(.trust-icon){font-size:10px;color:#78849a}
.bottom{background:rgba(255,255,255,.97);border-top:1px solid #e1e7f0;box-shadow:0 -8px 25px rgba(7,26,74,.05);height:82px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:5px}.bottom a,.bottom button{color:#6d7890;min-width:70px;min-height:60px;border-radius:17px}.bottom .active{background:#f2f6fd;color:#071a4a}.bottom svg{width:24px;height:24px;fill:currentColor}.bottom small{font-size:9px;margin-top:4px}
@media(max-width:1100px){.top{grid-template-columns:160px minmax(250px,1fr) auto;gap:16px}.brand{width:160px}.brand-logo{width:140px}.market-banner,.feature-carousel,.categories,#products,.app-promo,.trust{max-width:calc(100% - 32px)}#grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body{padding-bottom:88px}.top{position:relative;grid-template-columns:1fr auto;min-height:0;padding:14px 16px 10px;gap:10px;box-shadow:none;border-bottom:0}.brand{width:130px}.brand-logo{width:130px;height:46px}.top-actions{gap:7px}.notify,.cart{width:44px;height:44px}.top-search{grid-column:1/-1;grid-row:2}.search{height:52px;border-radius:18px}.search input{font-size:13px;padding-left:16px}.search button{width:60px}.market-banner{max-width:none;width:calc(100% - 24px);margin:16px 12px 0;aspect-ratio:1.68/1;border-radius:20px}.banner-overlay{display:none}.feature-carousel{max-width:none;width:calc(100% - 24px);margin:14px 12px 0}.feature-slide{min-height:155px;padding:18px;border-radius:18px;gap:10px}.feature-slide h2{font-size:19px}.feature-slide p{font-size:10px;margin-bottom:11px}.feature-kicker{font-size:8px}.feature-btn{font-size:9px;padding:9px 11px}.feature-art{width:72px;height:72px;border-radius:17px}.feature-art img{width:58px;height:58px}.tracking-mini{width:142px;padding:7px}.mini-map{height:65px}.mini-status b{font-size:9px}.mini-status span{font-size:7px}.mini-status strong{font-size:7px}.payment-card{width:142px;padding:10px}.payment-card div{margin:8px 0}.payment-card b{min-width:28px;height:28px;font-size:7px;padding:0 5px}.payment-card span{font-size:7px}.payment-pills{gap:4px}.payment-pills span{font-size:6.5px;padding:5px 6px}.feature-dots{margin:8px 0 0}.feature-dots button{width:7px;height:7px}.feature-dots button.active{width:19px}.categories,#products{max-width:none;width:calc(100% - 32px);margin:25px 16px 0;padding:0}.section-title h2{font-size:21px}.section-title span{display:none}.cats{gap:12px;margin-right:-16px;padding-right:16px}.cats button{flex:0 0 96px;width:96px;height:104px;border-radius:20px}.cats button svg{width:29px;height:29px}#grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{border-radius:16px}.product .pic{aspect-ratio:1}.product img{padding:8px}.info{padding:9px}.info h3{font-size:11px;min-height:31px}.info p{font-size:9px;min-height:22px}.price{font-size:15px}.buy{font-size:10px;padding:9px}.app-promo{width:calc(100% - 24px);max-width:none;margin:22px 12px 16px;padding:16px;border-radius:18px}.app-promo-icon{width:55px;height:55px;min-width:55px}.app-promo-copy h2{font-size:18px}.app-promo-copy p{font-size:10px}.app-promo-btn{font-size:10px}.trust{width:calc(100% - 24px);max-width:none;margin:14px 12px 25px;grid-template-columns:repeat(3,1fr);border-radius:17px}.trust-card{min-height:108px;padding:13px 8px;display:flex!important;flex-direction:column;align-items:flex-start;gap:8px}.trust-card:not(:last-child):after{top:16px;bottom:16px}.trust-icon{width:37px;height:37px;min-width:37px}.trust-icon:before{inset:8px;border-width:2px}.trust-card b{font-size:10px}.trust-card span:not(.trust-icon){font-size:8px;line-height:1.3}.bottom{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50}.bottom a,.bottom button{flex:1;min-width:0}}
@media(max-width:390px){.brand,.brand-logo{width:116px}.brand-logo{height:42px}.notify,.cart{width:40px;height:40px}.search{height:49px}.feature-slide{padding:15px}.feature-slide h2{font-size:17px}.feature-slide p{font-size:9px}.feature-art{width:62px;height:62px}.tracking-mini,.payment-card{width:120px}.cats button{flex-basis:88px;width:88px;height:96px}.cats button b{font-size:10px}.trust-card{padding:11px 6px}}

/* ===== BASSE MARKETPLACE V6 HOME CLEANUP ===== */
.top{min-height:78px;height:auto;padding:12px clamp(16px,4vw,58px);gap:18px;background:rgba(255,255,255,.97);box-shadow:0 5px 22px rgba(7,26,74,.06)}
.brand-logo{width:154px;height:50px;object-fit:contain;background:#fff}
.top-search{flex:1;display:flex;justify-content:center}.top-search .search{max-width:760px;width:100%;height:52px;border-radius:18px;background:#fff;border:1.5px solid #dce3ef;box-shadow:0 5px 18px rgba(7,26,74,.045)}
.top-search .search input{font-size:15px;color:var(--text);padding:0 17px}.top-search .search input::placeholder{color:#8792a6}.top-search .search>button:not(.clear-search){width:64px;background:var(--navy);color:#fff;font-size:27px}.top-actions{display:flex;align-items:center;gap:15px}.notify,.cart{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;color:var(--navy);background:#fff!important}.notify i,.cart i{right:1px;top:0;width:19px;height:19px;font-size:9px}
.hero.market-banner{max-width:1320px;margin:20px auto 0;padding:0;min-height:0;background:none;border-radius:25px;overflow:hidden;position:relative;box-shadow:0 10px 28px rgba(7,26,74,.09)}.hero.market-banner .banner-link{display:block}.hero.market-banner img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover}.banner-overlay{position:absolute;right:34px;bottom:28px}.banner-overlay button{background:#fff;color:var(--navy);border-radius:16px;padding:14px 22px;box-shadow:0 8px 24px rgba(0,0,0,.16)}
/* Category tiles use real product imagery from the supplied reference instead of placeholder glyphs. */
.categories,#products{max-width:1320px;margin:34px auto;padding:0 clamp(18px,4vw,40px)}.section-title h2{font-size:25px;letter-spacing:-.4px}.section-link{color:#1748a8;text-decoration:none;font-weight:900;font-size:13px}.section-link b{font-size:18px}.cats{gap:15px;padding:3px 2px 14px}.cats button{flex:0 0 112px;width:112px;height:auto;border:0;border-radius:20px;background:transparent;color:#15213a;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;padding:0;box-shadow:none}.cats button img{display:block;width:100px;height:100px;border-radius:22px;object-fit:cover;background:#fff;border:1px solid #e2e7ef;box-shadow:0 7px 18px rgba(7,26,74,.07)}.cats button b{font-size:12px;font-weight:900;line-height:1.15;white-space:normal}.cats button.active{background:transparent;color:#15213a;border:0;box-shadow:none;transform:none}.cats button.active img{border-color:#1748a8;box-shadow:0 10px 22px rgba(7,26,74,.16)}.cats button:focus-visible{outline:3px solid #f5b400;outline-offset:4px}
#products{margin-top:34px}.section-title{margin-bottom:16px}#grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.product{border-radius:20px}.product .pic{background:#fff;aspect-ratio:1.03}.product img{object-fit:contain;padding:9px}.info{padding:13px 14px 15px}.info h3{font-size:14px;line-height:1.35;min-height:38px}.price{font-size:19px}
/* The user asked to remove the promotional/app advertisement blocks from the home page. */
.feature-carousel,.app-promo{display:none!important}
/* Service cards: polished, icon-led and interactive. */
.trust{max-width:1320px;margin:32px auto 25px;padding:0 clamp(18px,4vw,40px);display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#fff;border:1px solid #e0e6ef;border-radius:22px;box-shadow:0 8px 28px rgba(7,26,74,.06);overflow:hidden}.trust-card{min-height:112px!important;background:#fff!important;border:0!important;border-radius:0!important;padding:22px 24px!important;display:flex!important;align-items:center;gap:16px;position:relative;text-align:left;box-shadow:none!important;color:var(--navy)}.trust-card+ .trust-card{border-left:1px solid #dce3ed!important}.trust-icon{width:48px;height:48px;min-width:48px;border-radius:15px;background:#eef4ff;color:#1748a8;display:grid;place-items:center}.trust-icon svg{width:34px;height:34px}.trust-copy{display:flex;flex-direction:column;gap:5px}.trust-card b{font-size:14px}.trust-card div>span,.trust-copy>span{font-size:11px;color:var(--muted);line-height:1.4}.support-card{cursor:pointer;font:inherit}.support-card:hover{background:#f8faff!important}.trust-arrow{margin-left:auto;font-size:22px;color:#1748a8}.trust-card:active{transform:scale(.995)}
@media(max-width:1050px){#grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cats button{flex-basis:104px;width:104px}.cats button img{width:94px;height:94px}}
@media(max-width:760px){body{padding-bottom:82px}.top{padding:10px 14px;gap:9px;min-height:0}.brand-logo{width:140px;height:46px}.top-actions{margin-left:auto;gap:5px}.notify,.cart{width:43px;height:43px}.top-search{order:3;flex-basis:100%}.top-search .search{height:50px;border-radius:18px}.hero.market-banner{margin:10px 14px 0;border-radius:22px}.hero.market-banner img{max-height:none}.banner-overlay{right:18px;bottom:18px}.banner-overlay button{padding:11px 16px;font-size:11px}.categories,#products{padding:0 16px;margin-top:27px}.section-title h2{font-size:22px}.cats{gap:12px;margin-right:-16px;padding-right:16px}.cats button{flex-basis:105px;width:105px}.cats button img{width:94px;height:94px;border-radius:20px}.cats button b{font-size:11px}.trust{margin:28px 16px 20px;padding:0;grid-template-columns:1fr;border-radius:20px}.trust-card{min-height:86px!important;padding:16px 18px!important}.trust-card+.trust-card{border-left:0!important;border-top:1px solid #dce3ed!important}.trust-icon{width:43px;height:43px;min-width:43px}.trust-icon svg{width:30px;height:30px}#grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product{border-radius:17px}.product .pic{aspect-ratio:1}.info{padding:10px 10px 12px}.info h3{font-size:12px;min-height:34px}.price{font-size:16px}}
.support-sheet{max-width:520px}.support-modal-icon{width:48px;height:48px;border-radius:15px;background:#eef4ff;color:#1748a8;display:grid;place-items:center}.support-modal-icon svg{width:32px;height:32px}.support-number{font-size:30px;font-weight:950;letter-spacing:.5px;color:#071a4a;background:#f5f8fd;border:1px solid #dce5f1;border-radius:16px;padding:18px;text-align:center;margin:18px 0}.support-call{text-decoration:none;display:flex;justify-content:center;align-items:center;gap:8px}.support-sheet .secondary-btn{width:100%;margin-top:8px}

/* ===== BASSE FINAL RESPONSIVE POLISH ===== */
/* Categories: show every category without horizontal scrolling. */
.cats{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:18px;
  overflow:visible;
  padding:3px 0 8px;
}
.cats button{
  width:100%;
  min-width:0;
  flex:initial;
}
.cats button img{
  width:min(100%,104px);
  height:auto;
  aspect-ratio:1/1;
  margin:0 auto;
}
.cats button b{
  min-height:28px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  text-align:center;
}
.cats button.active img{
  border-width:2px;
}

/* App download is a real CTA, not an advertising carousel. */
.app-download-card{
  max-width:1320px;
  margin:28px auto 22px;
  padding:22px 28px;
  border:1px solid #dfe6f2;
  border-radius:22px;
  background:linear-gradient(120deg,#f3f7ff,#fff);
  box-shadow:0 8px 28px rgba(7,26,74,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.app-download-copy{min-width:0}
.app-download-kicker{
  display:block;
  color:#1d55c9;
  font-size:11px;
  font-weight:950;
  letter-spacing:2px;
  margin-bottom:7px;
}
.app-download-card h2{
  margin:0 0 7px;
  color:#071a4a;
  font-size:clamp(22px,3vw,32px);
  letter-spacing:-.6px;
}
.app-download-card p{
  margin:0 0 15px;
  color:#6b768a;
  font-size:13px;
  line-height:1.45;
  max-width:650px;
}
.app-download-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  padding:11px 17px;
  border-radius:13px;
  background:#071a4a;
  color:#fff;
  text-decoration:none;
  font-size:11px;
  font-weight:950;
  box-shadow:0 8px 20px rgba(7,26,74,.16);
}
.app-download-logo-wrap{
  width:100px;
  height:100px;
  min-width:100px;
  border-radius:22px;
  background:#fff;
  border:1px solid #dfe6f2;
  box-shadow:0 8px 22px rgba(7,26,74,.08);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.app-download-logo-wrap img{
  width:82px;
  height:82px;
  object-fit:contain;
}

/* Service strip: same clean three-column composition on desktop, tablet and phone. */
.trust{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch;
}
.trust-card{
  min-width:0;
}
.trust-card+.trust-card{
  border-left:1px solid #dce3ed!important;
  border-top:0!important;
}
@media(max-width:760px){
  .cats{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px 10px;
    padding:2px 0 4px;
    overflow:visible;
  }
  .cats button{
    width:100%;
    height:auto;
    min-height:0;
    gap:7px;
  }
  .cats button img{
    width:100%;
    max-width:78px;
    border-radius:17px;
  }
  .cats button b{
    font-size:10.5px;
    min-height:25px;
  }
  .app-download-card{
    width:calc(100% - 32px);
    margin:25px 16px 18px;
    padding:17px;
    border-radius:19px;
    gap:13px;
  }
  .app-download-kicker{font-size:8px;letter-spacing:1.5px}
  .app-download-card h2{font-size:19px}
  .app-download-card p{font-size:10px;margin-bottom:12px}
  .app-download-button{font-size:10px;min-height:42px;padding:10px 13px}
  .app-download-logo-wrap{width:68px;height:68px;min-width:68px;border-radius:17px}
  .app-download-logo-wrap img{width:57px;height:57px}
  .trust{
    width:calc(100% - 32px);
    margin:22px 16px 20px;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    border-radius:18px;
  }
  .trust-card{
    min-height:112px!important;
    padding:14px 8px!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start;
    text-align:center!important;
    gap:8px!important;
  }
  .trust-card+.trust-card{
    border-left:1px solid #dce3ed!important;
    border-top:0!important;
  }
  .trust-icon{width:40px;height:40px;min-width:40px}
  .trust-icon svg{width:28px;height:28px}
  .trust-copy{align-items:center;gap:4px}
  .trust-card b{font-size:9.5px;white-space:normal}
  .trust-card span:not(.trust-icon){font-size:7.5px;line-height:1.25}
  .trust-arrow{font-size:14px;margin:0}
}
@media(max-width:390px){
  .cats{gap:13px 7px}
  .cats button img{max-width:70px;border-radius:15px}
  .cats button b{font-size:9.5px}
  .app-download-card{width:calc(100% - 24px);margin-left:12px;margin-right:12px;padding:14px}
  .app-download-logo-wrap{width:60px;height:60px;min-width:60px}
  .app-download-logo-wrap img{width:50px;height:50px}
  .trust{width:calc(100% - 24px);margin-left:12px;margin-right:12px}
  .trust-card{padding:12px 5px!important}
  .trust-card b{font-size:9px}
  .trust-card span:not(.trust-icon){font-size:7px}
}

/* ===== ADMIN DASHBOARD FINAL ALIGNMENT ===== */
@media(min-width:1101px){
  #dashboard .stats{grid-template-columns:repeat(5,minmax(0,1fr));}
  #dashboard .grid2{
    grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  }
}
@media(max-width:1100px) and (min-width:801px){
  #dashboard .stats{grid-template-columns:repeat(3,minmax(0,1fr));}
}

/* ===== FINAL COMPACT MARKETPLACE POLISH ===== */
/* Compact hero: keep the supplied BASSE banner but reduce its footprint. */
.market-banner{
  max-width:1280px;
  margin:16px auto 0;
  padding:0;
  min-height:0;
  height:clamp(220px,30vw,390px);
  overflow:hidden;
  border-radius:24px;
  display:block;
}
.market-banner .banner-link{display:block;width:100%;height:100%}
.market-banner img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.banner-overlay{right:24px;bottom:20px}

/* Categories: smaller, cleaner tiles with no horizontal scrolling. */
.categories{margin-top:24px!important;margin-bottom:0!important}
.cats{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:12px!important;
  overflow:visible!important;
  padding:0!important;
}
.cats button{
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  gap:6px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.cats button img{
  width:min(82px,100%)!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  border-radius:16px!important;
  object-fit:cover!important;
  border:1px solid #e0e6ef!important;
  box-shadow:0 5px 14px rgba(7,26,74,.07)!important;
}
.cats button.active img{border:2px solid #1748a8!important;box-shadow:0 7px 17px rgba(7,26,74,.14)!important}
.cats button b{font-size:10px!important;line-height:1.1!important;min-height:22px!important}

/* Service strip: three genuinely small panels, not nested cards. */
.trust{
  width:min(1280px,calc(100% - 32px))!important;
  margin:24px auto 22px!important;
  padding:0!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  border-radius:17px!important;
  overflow:hidden!important;
}
.trust-card,
.trust-card:hover,
.trust-card:active{
  min-height:78px!important;
  height:78px!important;
  padding:10px 14px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#fff!important;
  transform:none!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:left!important;
  gap:10px!important;
}
.trust-card + .trust-card{border-left:1px solid #dce3ed!important}
.trust-card > div,
.trust-card .trust-copy{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
}
.trust-icon{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  border-radius:10px!important;
  background:#eef4ff!important;
  color:#1748a8!important;
  display:grid!important;
  place-items:center!important;
  position:relative!important;
}
.trust-icon::before{display:none!important;content:none!important}
.trust-icon svg{width:25px!important;height:25px!important;display:block!important}
.trust-card b{font-size:10.5px!important;line-height:1.15!important;margin:0!important;white-space:nowrap}
.trust-card > div > span,
.trust-copy > span{font-size:8px!important;line-height:1.2!important;color:#78849a!important;margin-top:3px!important}
.trust-arrow{font-size:13px!important;margin-left:auto!important;color:#1748a8!important}

/* Keep app download compact but visible. */
.app-download-card{margin-top:24px!important;margin-bottom:18px!important;padding:18px 22px!important}

@media(max-width:760px){
  .market-banner{
    width:calc(100% - 24px)!important;
    height:clamp(170px,47vw,250px)!important;
    margin:10px 12px 0!important;
    border-radius:19px!important;
  }
  .banner-overlay{display:none!important}
  .categories{width:calc(100% - 24px)!important;padding:0!important;margin:22px 12px 0!important}
  .section-title{margin-bottom:11px!important}
  .section-title h2{font-size:20px!important}
  .cats{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px 8px!important;
  }
  .cats button img{width:min(66px,100%)!important;border-radius:14px!important}
  .cats button b{font-size:9px!important;min-height:20px!important}
  .trust{
    width:calc(100% - 24px)!important;
    margin:20px 12px 18px!important;
    border-radius:15px!important;
  }
  .trust-card,
  .trust-card:hover,
  .trust-card:active{
    min-height:86px!important;
    height:86px!important;
    padding:10px 7px!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
    text-align:center!important;
    gap:5px!important;
  }
  .trust-card + .trust-card{border-left:1px solid #dce3ed!important}
  .trust-icon{width:30px!important;height:30px!important;min-width:30px!important;border-radius:9px!important}
  .trust-icon svg{width:21px!important;height:21px!important}
  .trust-card b{font-size:8.5px!important;white-space:normal!important}
  .trust-card > div > span,
  .trust-copy > span{font-size:6.8px!important;line-height:1.15!important;margin-top:2px!important}
  .trust-arrow{font-size:11px!important;margin:0!important}
  .app-download-card{width:calc(100% - 24px)!important;margin:20px 12px 16px!important;padding:14px!important}
  .app-download-card h2{font-size:18px!important}
  .app-download-card p{font-size:9px!important}
  .app-download-logo-wrap{width:60px!important;height:60px!important;min-width:60px!important}
  .app-download-logo-wrap img{width:50px!important;height:50px!important}
}

@media(min-width:761px) and (max-width:1100px){
  .cats button img{width:72px!important}
  .market-banner{height:260px!important}
  .trust-card{padding:9px 10px!important}
}

@media(max-width:390px){
  .cats{gap:8px 6px!important}
  .cats button img{width:60px!important}
  .cats button b{font-size:8.5px!important}
  .trust-card{padding:8px 4px!important}
  .trust-card b{font-size:8px!important}
  .trust-card > div > span,
  .trust-copy > span{font-size:6.3px!important}
}


/* ===== V9 USER REQUEST: compact categories + 3-up products + real modal icons ===== */
.mini-bag svg,.account-avatar svg,.result-icon svg{width:70%;height:70%;display:block}
.mini-bag{color:#1748a8;display:grid;place-items:center}
.account-avatar{color:#1748a8;display:grid;place-items:center}
.result-icon{color:#0b8b5b;display:grid;place-items:center}

/* Category tiles: the image itself is the tile; no oversized invisible button box. */
.cats button{height:auto!important;min-height:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important}
.cats button img{display:block!important;width:68px!important;height:68px!important;aspect-ratio:1!important;object-fit:cover!important;border-radius:15px!important;margin:0 auto!important;box-shadow:0 4px 12px rgba(7,26,74,.08)!important}
.cats button.active img{border:2px solid #1748a8!important;box-shadow:0 6px 15px rgba(23,72,168,.16)!important}
.cats button b{margin-top:5px!important;font-size:10px!important;line-height:1.08!important;min-height:0!important;max-width:100%!important}

/* Products: three compact cards per row on phones, with larger image area and less vertical padding. */
#grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.product{border-radius:15px!important;overflow:hidden!important}
.product .pic{aspect-ratio:1.02!important;background:#fff!important}
.product img{width:100%!important;height:100%!important;object-fit:cover!important;padding:4px!important}
.product .tag{top:6px!important;left:6px!important;padding:4px 6px!important;font-size:8px!important;border-radius:7px!important}
.product .info{padding:8px 9px 9px!important}
.product .info h3{font-size:12px!important;line-height:1.15!important;min-height:28px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;margin:0!important}
.product .price{font-size:16px!important;line-height:1.05!important;margin:5px 0 0!important}

@media(max-width:760px){
  .market-banner{height:clamp(155px,43vw,205px)!important}
  .categories,#products{width:calc(100% - 28px)!important;margin-left:14px!important;margin-right:14px!important;padding:0!important}
  .categories{margin-top:20px!important}
  .section-title{margin-bottom:9px!important}
  .section-title h2{font-size:20px!important}
  .cats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px 7px!important;overflow:visible!important}
  .cats button img{width:58px!important;height:58px!important;border-radius:13px!important}
  .cats button b{font-size:9px!important;white-space:normal!important;display:block!important;min-height:0!important}
  #grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
  .product{border-radius:13px!important}
  .product .pic{aspect-ratio:1!important}
  .product img{padding:2px!important}
  .product .info{padding:7px 7px 8px!important}
  .product .info h3{font-size:10.5px!important;min-height:25px!important}
  .product .price{font-size:14px!important;margin-top:4px!important}
  .product .tag{font-size:7px!important;top:5px!important;left:5px!important;padding:3px 5px!important}
  .app-download-card{margin-top:18px!important}
  .trust{margin-top:18px!important;margin-bottom:18px!important}
  .trust-card{min-height:82px!important;height:82px!important;padding:8px 5px!important}
  .trust-icon{width:30px!important;height:30px!important;min-width:30px!important;border-radius:8px!important}
  .trust-icon svg{width:21px!important;height:21px!important}
  .trust-card b{font-size:8px!important}
  .trust-card > div > span,.trust-copy > span{font-size:6.5px!important}
}
@media(min-width:761px){
  .cats{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:12px!important}
}
@media(max-width:390px){
  .cats button img{width:54px!important;height:54px!important}
  .cats button b{font-size:8.5px!important}
  #grid{gap:7px!important}
  .product .info{padding:6px!important}
  .product .info h3{font-size:10px!important}
  .product .price{font-size:13px!important}
}

.live-location-btn{width:100%;margin:12px 0 14px;padding:13px 16px;border:0;border-radius:13px;background:#071a4a;color:#fff;font:800 12px/1.2 inherit;letter-spacing:.2px;cursor:pointer;box-shadow:0 8px 18px rgba(7,26,74,.12)}.live-location-btn:active{transform:scale(.99)}.live-location-btn span{margin-right:7px;color:#7fb1ff}

/* Tracking controls: compact, responsive, and clearly separate customer GPS from live refresh. */
.tracking-location-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.tracking-location-actions button{min-height:48px;border-radius:14px;font-weight:800;font-size:13px;letter-spacing:.2px}
.tracking-location-actions .live-location-btn{margin:0}
.live-location-refresh{border:1px solid #dce3ef;background:#fff;color:#0b1f57}
@media(max-width:560px){.tracking-location-actions{grid-template-columns:1fr}.tracking-location-actions button{min-height:46px}}

.maplibregl-map{height:100%;width:100%;font-family:inherit}.maplibregl-canvas{outline:none}.maplibregl-ctrl-attrib{font-size:9px!important}.maplibre-marker{pointer-events:auto}.maplibre-marker span{display:inline-block;width:12px;height:12px;border-radius:50%;background:#2878ff;border:3px solid #fff;box-shadow:0 2px 8px #0004;vertical-align:middle;margin-right:4px}.maplibre-marker.driver-marker span{background:#7c3aed}.maplibre-marker b{background:#fff;border:1px solid #d7deea;border-radius:12px;padding:4px 7px;color:#18346d;font-size:11px;box-shadow:0 2px 8px #0002;white-space:nowrap}.maplibre-marker.customer-marker b{border-color:#3b82f6}.maplibre-marker.driver-marker b{border-color:#7c3aed}

/* V20 customer MapLibre stability */
.customer-map{position:relative!important;height:300px!important;min-height:260px!important;overflow:hidden!important;}
.customer-map .maplibregl-map,.customer-map .maplibregl-canvas-container,.customer-map .maplibregl-canvas{width:100%!important;height:100%!important;min-height:100%!important;}
.customer-map .maplibregl-canvas{position:absolute!important;inset:0!important;}
#grid .product img,.store-products .product img{opacity:1!important;visibility:visible!important;transition:none!important;}

/* V21: customer tracking uses the same stable Leaflet/raster path that was proven on mobile. */
.customer-map{position:relative!important;height:300px!important;min-height:260px!important;overflow:hidden!important;border-radius:16px!important;background:#edf2f7!important;isolation:isolate}
.customer-map .leaflet-container,.customer-map .leaflet-pane,.customer-map .leaflet-map-pane{width:100%!important;height:100%!important}
.customer-map .leaflet-container{font-family:inherit!important;background:#edf2f7!important}
.customer-map .leaflet-control-container{z-index:20!important}
.customer-map .leaflet-top,.customer-map .leaflet-bottom{z-index:20!important}
.customer-map .basse-map-marker{background:transparent!important;border:0!important;white-space:nowrap!important;display:flex;align-items:center;gap:3px;pointer-events:auto}
.customer-map .basse-map-marker span{display:inline-block;width:12px;height:12px;border-radius:50%;background:#2878ff;border:3px solid #fff;box-shadow:0 2px 8px #0004;flex:none}
.customer-map .basse-map-marker.driver-marker span{background:#7c3aed}
.customer-map .basse-map-marker b{background:#fff;border:1px solid #d7deea;border-radius:12px;padding:4px 7px;color:#18346d;font-size:11px;box-shadow:0 2px 8px #0002;white-space:nowrap}
.customer-map .basse-map-marker.customer-marker b{border-color:#3b82f6}
.customer-map .basse-map-marker.driver-marker b{border-color:#7c3aed}
@media(max-width:560px){.customer-map{height:270px!important;min-height:240px!important}}
