#storeResultCount{
    display:none;
}

.topSaleCard{
    position:relative;
    cursor:pointer;
}

.topSaleCard.addedTopSale{

    opacity:.65;

}

.topSaleAdded{

    position:absolute;

    top:8px;

    right:8px;

    background:#18b44a;

    color:#fff;

    font-size:11px;

    font-weight:700;

    padding:4px 8px;

    border-radius:20px;

    z-index:20;

}
/* ======================================
HOME VIEW CATEGORY BAR (NOT FIXED)
====================================== */


#homeCategoryTopBar{

    position:relative !important;

    top:auto !important;

    left:auto !important;

    width:100%;

    z-index:1;

    margin-top:12px;

    margin-bottom:10px;

}
/* ==========================
   PROFESSIONAL COMPACT BRAND HEADER
========================= */
/* ==========================
APP HERO BANNER
========================== */

#storeHeroBanner{

    width:100%;

    margin:10px 0 12px;

    border-radius:18px;

    overflow:hidden;

    background:#fff;

    box-shadow:
    0 6px 20px rgba(0,0,0,.08);

}

#heroBannerImage{

    width:100%;

    display:block;

    border-radius:18px;

    object-fit:cover;

}
#brandHeader{

    display:flex;

    align-items:center;

    gap:10px;

}
/* LOGO */

.brandLogoWrap{

    width:42px;

    height:42px;

    min-width:42px;

    border-radius:15%;

    overflow:hidden;

    background:#fff;

    box-shadow:
    0 2px 8px rgba(0,0,0,.12);


    pointer-events:auto;
cursor:pointer;
}

#brandLogo{

    width:100%;
    height:100%;

    object-fit:cover;
}

/* TEXT AREA */

.brandTexts{

    display:flex;

    align-items:center;

    justify-content:center;

}

/* BRAND NAME */

#pageName{
    
    position:absolute;

    left:50%;

    transform:translateX(-50%);

    white-space:nowrap;

    pointer-events:none;

    overflow:hidden;

    text-overflow:ellipsis;

    animation:
    brandGlow 3s ease-in-out infinite;

    font-size:21px;

    letter-spacing:.8px;

}




.brandAR{

background:linear-gradient(
90deg,
#ff7a00,
#ff9800
);

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

font-weight:800;

}

.brandDebang{

color:#111;

font-weight:800;

-webkit-text-fill-color:#111;

}


/* SOFT ANIMATION */

@keyframes brandGlow{

    0%{
        opacity:1;
    }

    50%{
        opacity:.75;
    }

    100%{
        opacity:1;
    }
}

/* TOP BAR FIX */

#searchContainer{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:60px;

    background:#fff;

    border-bottom:1px solid #111;

    z-index:10000;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 14px;

    box-shadow:
    0 2px 8px rgba(0,0,0,.05);

}

#searchToggleBtn{

    width:38px;

    height:38px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    transition:.25s;

    cursor:pointer;

}

#searchToggleBtn i{

    font-size:19px;

    color:#444;

}

#searchToggleBtn:active{

    transform:scale(.95);

}


/* LEFT */

.topLeftArea{

    display:flex;

    align-items:center;

    width:48px;

    flex:none;

}
/* RIGHT */

.topRightArea{

    display:flex;

    align-items:center;

    justify-content:flex-end;

    width:48px;

    flex:none;

}
/* 🔥 IMPORTANT FIX */
#onePageStore *{
    box-sizing:border-box;
}

/* 🔥 FONT ONLY CONTAINER PAR */
#onePageStore{

    font-family:
    'Segoe UI',
    Tahoma,
    Geneva,
    Verdana,
    sans-serif;

    width:100%;
    max-width:100%;

    margin:0;

    padding-top:35px;

    padding-right:6px;
    padding-bottom:65px;
    padding-left:6px;

    background:#f9f9f9;

    position:relative;

    overflow-x:hidden;
}

/* =========================================
   REWARD BOX
========================================= */

#rewardCounterBox{

    position:fixed;

    top:50%;
    right:12px;

    transform:translateY(-50%);

    z-index:99999;

    display:inline-flex !important;

    width:auto !important;
    max-width:max-content !important;
    flex:none !important;

    align-items:center;
    gap:6px;

    padding:8px 10px;

    background:#FFF4E6;
border:1px solid #FFD8A8;

    border-radius:16px;

    box-shadow:0 5px 15px rgba(0,0,0,.18);

    visibility:visible !important;
    opacity:1 !important;
}

#rewardCounterBox:hover{

    transform:translateY(-2px);
}

.rewardIcon{

    font-size:15px;
}

.rewardTexts{

    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.rewardLabel{

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

    color:#8a6500;

    text-transform:uppercase;
}

#rewardCounterAmount{

    font-size:11px;
    font-weight:800;

    color:#111;
}


/* =========================================
   ANIMATION
========================================= */

@keyframes slideSearch{

    from{

        opacity:0;
        transform:translateY(-10px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }
}


.homeSectionTitle{

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

margin:18px 12px 12px;

font-size:20px;
font-weight:800;

color:#222;
}

.homeSectionTitle::after{

content:"";

flex:1;

height:3px;

margin-left:12px;

background:linear-gradient(
90deg,
#ff6a00,
transparent
);

border-radius:50px;

}


.topSaleScroller{

display:flex;

flex-wrap:nowrap;

overflow-x:auto;
overflow-y:hidden;

gap:8px;

padding:0 12px 14px;

scrollbar-width:none;

-webkit-overflow-scrolling:touch;

align-items:stretch;

}
.topSaleScroller::-webkit-scrollbar{

display:none;

}

.topSaleCard{

flex:0 0 115px;

width:115px;

min-width:115px;

background:#fff;

border-radius:12px;

padding:8px;

box-shadow:0 2px 8px rgba(0,0,0,.08);

}

.topSaleCard img{

width:100%;

height:90px;

object-fit:contain;

}


.topSaleCard div{

font-size:12px;

font-weight:600;

line-height:1.25;

height:32px;

overflow:hidden;

display:-webkit-box;

-webkit-line-clamp:2;

-webkit-box-orient:vertical;

}

.topSaleCard span{

display:block;

margin-top:6px;

font-size:13px;

font-weight:700;

color:#ff6a00;

}



/* =======================================================
   PRODUCT GRID
======================================================= */
#homeProducts{

  display:grid;

 grid-template-columns:
    repeat(2, minmax(0,1fr));

  gap:8px;

  padding-top:0;

  padding-right:0px;

  padding-bottom:8px;

  padding-left:0px;
}

.productCard{

    position:relative;

    width:100%;

    padding:0;

    margin:0;

    overflow:hidden;

    display:flex;

    flex-direction:column;

    background:#fff;

    border:1px solid transparent;

    border-radius:8px;

    box-shadow:none;

    outline:none;

    transform:none;

    transition:none;

    -webkit-tap-highlight-color:transparent;

    box-sizing:border-box;

}


.productPrice{

    font-size:14px;

    font-weight:700;

}

.mainImg{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    display:block;
      border-radius:8px;


    object-fit:contain;

    object-position:center;

    padding:0;
    border:1px solid #e5e5e5;
    box-sizing:border-box;

    box-sizing:border-box;

    opacity:0;

    transition:opacity .35s;

    z-index:2;

}
.mainImg.loaded{

    opacity:1;

    animation:none;

}

.imgWrap{

    position:relative;

    width:100%;

    aspect-ratio:1 / 1.2;

    overflow:hidden;

}

.imgPlaceholder{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:contain;

    padding:0;

    opacity:.12;

    z-index:1;

}
/* HOME VIEW */
#homeProducts{

    margin-top:0 !important;

    padding-top:0 !important;

    padding-left:0 !important;

    padding-right:0 !important;
}


/* Product Title */
.productTitle{

    font-size:13px;

    font-weight:600;

    color:#333;
    padding:0 10px;

    margin-top:6px;
    margin-bottom:5px;

    line-height:1.3;

    margin:6px 0;

    overflow:hidden;

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    text-overflow:ellipsis;

    word-break:break-word;
}
/* Product Price */
.productPrice {
  font-size: 15px;
  color: #2196f3;
  font-weight: 700;
  margin-bottom: 8px;
      padding:0 10px;

}

/* =======================================================
   BUTTONS
======================================================= */
.btnAdd {
  display:block;

  width:100%;

  margin:0;
  padding:0 10px;


  height:36px;

  line-height:36px;

  border:none;

  border-radius:8px;

  font-size:12px;

  font-weight:600;

  text-align:center;

  cursor:pointer;
    background: #006FFF;
  color: white;
}
.btnAdd:hover {
  background: #e64a19;
}
 



/* =======================================================
   BOTTOM NAVIGATION
======================================================= */
#storeBottomMenu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  z-index: 9999;
  margin: 0;
  transform: translateY(0);
}

.menuBtn {
  font-size: 14px;
  color: #666;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.2s ease;
}

.menuBtn.active {
  color: #ff5722;
  font-weight: 700;
}

.menuBtn:hover {
  color: #ff5722;
}

.menuBtn i {
  font-size: 20px;
  margin-bottom: 3px;
}

/* =======================================================
   QUANTITY BOX
======================================================= */
.qtyBox {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
  gap: 6px;
}

.qtyBox button {
  width: 25px;
  height: 25px;
  font-size: 20px;
  border: none;
  cursor: pointer;
  border-radius: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qtyBox .decQ { background: #dc3545; color: #fff; } /* minus red */
.qtyBox .incQ { background: #2196f3; color: #fff; } /* plus blue */

.qtyBox .showQ {
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  background: #fff;
  border-radius: 1px;
}


/* =======================================================
   ORDER POPUP
======================================================= */
#orderPopup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#orderPopup .popupBox {
  background: white;
  width: 90%;
  max-width: 420px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#orderPopup h3 { margin-bottom: 15px; font-size: 18px; color: #333; }

#orderPopup input, #orderPopup textarea {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

#orderPopup textarea { resize: none; height: 60px; }
/* ============================
   PRODUCT GALLERY + ADD TO CART GAP FIX
============================ */
.productGallery {
  display: flex;
  gap: 6px; 
  margin-bottom: 0;  /* force no collapse */
  flex-wrap: wrap;    /* responsive gallery */
}

.productGallery img{
width:30%;
height:110px;
object-fit:cover;
border-radius:8px;
cursor:pointer;
}


/*search box refresh button css*/
#refreshStore{
  color:#fff;
  font-size:18px;
  margin-right:8px;
  cursor:pointer;
}
/* CUSTOMER POPUP */

#customerPopup{
position:fixed;
top:0;
left:0;
width:90%;
height:100%;
background:rgba(0,0,0,0.6);
display:none;
justify-content:center;
align-items:center;
z-index:9999;
}

.customerPopupBox{
width:300px;
max-height:450px;
background:white;
border-radius:10px;
padding:15px;
display:flex;
flex-direction:column;
overflow:hidden;
}

.customerPopupHeader{
display:flex;
justify-content:space-between;
font-weight:700;
margin-bottom:10px;
}

#customerListContainer{
overflow-y:auto;
flex:1;
}

.customerCard{
border:3px solid #eee;
padding:10px;
margin-bottom:10px;
border-radius:8px;
cursor:pointer;
}

.customerCard:hover{
background:#f5f5f5;
}
.customerPopupHeader button{
background:#006FFF;
border:none;
font-size:18px;
font-weight:700;
cursor:pointer;
width:28px;
height:28px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
}

.customerPopupHeader button:hover{
background:#eee;
}

/*show result count css*/
#storeResultCount{
    font-size:14px;
    color:#666;

    padding:2px 10px 0 10px;

    margin-top:18px;
    margin-bottom:2px; /* 🔥 very small gap */
}



/* divider between images */
.divider{
    height:1px;
    background:#ddd;
    width:100%;
}

.order-modal{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.6);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.order-modal-box{
    width:90%;
    max-width:420px;
    background:#fff;
    border-radius:15px;
    padding:20px;
    text-align:center;
    animation: pop .3s ease-in-out;
    box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

@keyframes pop{
    from{transform:scale(0.8); opacity:0}
    to{transform:scale(1); opacity:1}
}

.order-modal-box h2{
    color:#1db954;
    margin-bottom:10px;
}

.thank-text{
    font-size:14px;
    color:#555;
}

.order-info{
    margin:15px 0;
    padding:10px;
    background:#f6f6f6;
    border-radius:10px;
    text-align:left;
    font-size:14px;
}

.urdu-note{
    font-size:13px;
    color:#333;
    margin:10px 0;
}

.order-buttons{
    display:flex;
    justify-content:space-between;
    margin-top:15px;
}

.btn-close{
    background:#999;
    color:#fff;
    border:none;
    padding:10px 15px;
    border-radius:8px;
}


.btn-Details{

display:flex;

align-items:center;

justify-content:center;

gap:6px;

height:35px;

padding:0 14px;

background:#1db954;

color:#fff;

border:none;

border-radius:10px;

font-size:12px;

font-weight:700;

}
.btnDetails i{

font-size:14px;

}

/*Order success screen*/

#orderSuccessModal{
    overflow:hidden;
}
#orderSuccessModal{
    display:none;
    flex-direction:column;
}

.successBody{
    height:115vh;

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

    text-align:center;

    padding:20px;
    box-sizing:border-box;
}

.successHeader{
    height:60px;
    display:flex;
    align-items:center;
    gap:15px;
    padding:0 15px;
    border-bottom:1px solid #eee;
}

.successIcon{
    font-size:70px;
    margin-bottom:10px;
}

.successInfo{
    margin-top:2px;
    padding:15px;
    border-radius:12px;
    background:#f7f7f7;
}
.successBottomArea{
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.successBackBtn{
    display: flex;
    align-items: center;
    gap: 8px;

    border: none;
    outline: none;

    background:#16a34a;

    color: #222;

    padding: 12px 22px;
    border-radius: 12px;

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

    cursor: pointer;
}

.successBackBtn .material-icons{
    font-size: 20px;
}

.successBackBtn:active{
    transform: scale(0.97);
}

/*====order modal popup reward discounted*/
/* Reward Receipt */

.rewardReceipt{

    position:relative;

    margin-top:5px;

    padding:25px 15px 15px;

    background:#fffdf7;

    border:2px dashed #ff9800;

    border-radius:14px;

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

}

/* Discount Stamp */

.rewardStamp{

    position:absolute;

    top:-5px;

    right:12px;

    background:#ff9800;

    color:#fff;

    font-size:10px;

    font-weight:700;

    padding:6px 9px;

    border-radius:20px;

    letter-spacing:.5px;

    transform:rotate(6deg);

    box-shadow:
    0 3px 8px rgba(0,0,0,.15);

}

/* Rows */

.rewardRow{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:8px 0;

    border-bottom:1px dashed #ddd;

    font-size:14px;

}

.rewardRow:last-child{

    border-bottom:none;

}

/* Final Amount */

.finalRow{

    margin-top:6px;

    padding-top:12px;

    font-size:17px;

    font-weight:700;

    color:#2e7d32;

}

/*sale-orders css*/
.orderReceiptBox{

    margin-top:2px;

    border:1px dashed #ccc;

    border-radius:12px;

    padding:15px;

    background:#fffdf7;

}

.receiptRow{

    display:flex;

    justify-content:space-between;

    margin:8px 0;

}

.rewardRow{

    color:#28a745;

    font-weight:700;

}

.finalRow{

    border-top:1px solid #ddd;

    margin-top:10px;

    padding-top:5px;

    font-size:18px;

    font-weight:700;

}

.rewardUsedTag{

    display:inline-block;

    margin-top:6px;

    padding:4px 10px;

    background:#d4edda;

    color:#155724;

    border-radius:20px;

    font-size:12px;

    font-weight:700;

}
/*sign inup loafer**/
#authLoader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.authLoaderBox{
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.authSpinner{
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin{
    0%{ transform: rotate(0deg); }
    100%{ transform: rotate(360deg); }
}

/* =========================
PRODUCT ACTIONS
========================= */

.productActions{

max-height:0;

opacity:0;

overflow:hidden;

/*display:flex;*/
display:none;


gap:8px;

transition:.25s;

margin-top:0;

padding:0 10px;

}

.productActions.showActions{

max-height:60px;

opacity:1;
    display:flex;


margin-top:10px;

margin-bottom:10px;

}

/* BIG BUTTON */
/* ONLY HOME VIEW */
.productActions .btnAdd{

    flex:1;

    height:40px;

  /* background:#16a34a;*/
        background:#FFD700;

    color:#111;

    border:none;

    border-radius:5px;

    font-weight:700;

    font-size:13px;

}

/*shipping Address adding loader*/

body.loading::after{

    content:'';

    position:fixed;

    inset:0;

    background:
    rgba(255,255,255,.7);

    z-index:99999;
}
.useShippingWrap{
    display:flex;
    align-items:center;
    gap:10px;
    margin:15px 0;
}

.useShippingWrap input{
    width:18px;
    height:18px;
    margin:0;
}

.useShippingWrap label{
    margin:0;
    font-size:15px;
    font-weight:500;
    cursor:pointer;
}

/* ==========================
   PRODUCT PAGINATION
========================== */



/* =========================================================
   PRODUCT INFO TICKER
========================================================= */

.sbpProductTicker {
    position: relative;
    width: 100%;
    height: 30px;
    margin-top: 6px;
    overflow: hidden;
    pointer-events: none;
}

.sbpProductTickerTrack {
    position: relative;
    width: 100%;
    height: 30px;
    overflow: hidden;
}

.sbpProductTickerItem {
    position: absolute;
    width: 100%;
    height: 30px;

    left: 0;
    top: 0;

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

    gap: 5px;

    white-space: nowrap;

    opacity: 0;

    /*
     * IMPORTANT:
     * ہر item شروع میں نیچے ہوگا
     */
    transform: translate3d(0, 100%, 0);

    transition:
        transform 0.55s cubic-bezier(.25,.8,.25,1),
        opacity 0.45s ease;

    will-change: transform, opacity;
}


/* =========================================================
   ACTIVE
========================================================= */

.sbpProductTickerItem.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}


/* =========================================================
   OLD ITEM GOES UP
========================================================= */

.sbpProductTickerItem.exit {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
}


/* =========================================================
   RATING
========================================================= */

.sbpTickerRating {
    font-size: 13px;
    font-weight: 700;
}

.sbpTickerRating .stars {
    color: #f5a623;
    font-size: 13px;
    letter-spacing: 1px;
}

.sbpTickerRating .ratingText {
    color: #555;
    font-size: 11px;
}


/* =========================================================
   VIEWS
========================================================= */

.sbpTickerViews {
    color: #555;
    font-size: 12px;
    font-weight: 600;
}

.sbpTickerViews i {
    color: #777;
    font-size: 11px;
}


/* =========================================================
   VERIFIED
   NO BORDER
========================================================= */

.sbpTickerVerified {
    color: #168a45;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .3px;

    /*
     * No border
     * No box
     * No background
     */

    transform:
        translate3d(0, 100%, 0)
        rotate(-2deg);
}

.sbpTickerVerified.active {
    transform:
        translate3d(0, 0, 0)
        rotate(-2deg);
}

.sbpTickerVerified.exit {
    transform:
        translate3d(0, -100%, 0)
        rotate(-2deg);
}

.sbpTickerVerified i {
    font-size: 15px;
}


/* =========================================================
   SOLD
========================================================= */

.sbpTickerSold {
    color: #d35400;
    font-size: 12px;
    font-weight: 700;
}

.sbpTickerSold i {
    font-size: 11px;
}


/* =========================================================
   AVAILABLE
========================================================= */

.sbpTickerAvailable {
    color: #168a45;
    font-size: 12px;
    font-weight: 700;
}

.sbpTickerAvailable i {
    font-size: 11px;
}


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

.sbpTickerDelivery {
    color: #087ea4;
    font-size: 12px;
    font-weight: 600;
}

.sbpTickerDelivery i {
    font-size: 11px;
}


/* =========================================================
   POPULAR
========================================================= */

.sbpTickerPopular {
    color: #d94b18;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   READY
========================================================= */

.sbpTickerReady {
    color: #555;
    font-size: 11px;
    font-weight: 600;
}
