:root{--v148-green:#2dd87a;--v148-bg:#0c0d0f;--v148-card:#17191d;--v148-surface:#111317;--v148-border:#2a2d34;--v148-text:#f7f9fb;--v148-muted:#9297a8;--v148-red:#ef5350;--v148-amber:#f3b53f}
body.v148-modal-open{overflow:hidden!important}
.v148-card-tools{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.v148-quick-view-btn{width:34px;height:34px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(255,255,255,.035);color:#aab2bd;display:grid;place-items:center;cursor:pointer;transition:transform .16s ease,border-color .16s ease,color .16s ease,background .16s ease}
.v148-quick-view-btn:hover{transform:translateY(-1px);border-color:rgba(45,216,122,.38);background:rgba(45,216,122,.08);color:var(--v148-green)}
.v148-quick-view-btn svg{width:16px;height:16px}
.v148-stock-chip,.v148-stock-pill,.v148-detail-stock{display:inline-flex;align-items:center;gap:5px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}
.v148-stock-chip{padding:4px 7px;border:1px solid rgba(45,216,122,.18);background:rgba(45,216,122,.07);color:#7fe7ae}
.v148-stock-chip svg,.v148-stock-pill svg,.v148-detail-stock svg{width:12px;height:12px}
.v148-stock-chip.is-low,.v148-stock-pill.is-low,.v148-detail-stock.is-low{border-color:rgba(243,181,63,.28);background:rgba(243,181,63,.08);color:#f4c96f}
.v148-stock-chip.is-out,.v148-stock-pill.is-out,.v148-detail-stock.is-out{border-color:rgba(239,83,80,.25);background:rgba(239,83,80,.08);color:#ff8f8d}
.v148-toast-stack{position:fixed;z-index:500;right:max(16px,env(safe-area-inset-right));bottom:max(90px,calc(18px + env(safe-area-inset-bottom)));display:grid;gap:9px;width:min(390px,calc(100vw - 28px));pointer-events:none}
.v148-toast{pointer-events:auto;display:flex;align-items:center;gap:10px;min-height:48px;padding:11px 13px;border:1px solid var(--v148-border);border-radius:13px;background:rgba(19,21,25,.97);color:var(--v148-text);box-shadow:0 12px 38px rgba(0,0,0,.36);backdrop-filter:blur(12px);transform:translateY(10px);opacity:0;transition:transform .18s ease,opacity .18s ease}
.v148-toast.show{transform:none;opacity:1}.v148-toast>svg{width:18px;height:18px;color:var(--v148-green);flex:0 0 auto}.v148-toast>span{font-size:13px;font-weight:700}
.v148-toast.is-cart{display:grid;grid-template-columns:44px minmax(0,1fr) auto;padding:9px 10px}.v148-toast.is-cart>img{width:44px;height:44px;border-radius:9px;object-fit:cover;background:#0b0c0f}.v148-toast-copy{min-width:0}.v148-toast-copy b,.v148-toast-copy span,.v148-toast-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v148-toast-copy b{font-size:11px;color:var(--v148-green)}.v148-toast-copy span{font-size:12px;font-weight:700;margin-top:1px}.v148-toast-copy small{font-size:10px;color:var(--v148-muted);margin-top:2px}.v148-toast.is-cart>button{border:1px solid rgba(45,216,122,.24);border-radius:9px;background:rgba(45,216,122,.09);color:var(--v148-green);padding:7px 9px;font:700 10px/1 inherit;cursor:pointer}
.v148-quick-root,.v148-mini-cart-root{position:fixed;inset:0;z-index:460}.v148-quick-root[hidden],.v148-mini-cart-root[hidden]{display:none!important}
.v148-quick-backdrop,.v148-mini-cart-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.66);backdrop-filter:blur(4px);opacity:0;transition:opacity .18s ease}
.v148-quick-card{position:absolute;left:50%;top:50%;width:min(850px,calc(100vw - 30px));max-height:min(720px,calc(100dvh - 32px));overflow:auto;transform:translate(-50%,-47%) scale(.985);opacity:0;border:1px solid var(--v148-border);border-radius:18px;background:#121418;box-shadow:0 26px 70px rgba(0,0,0,.55);transition:transform .18s ease,opacity .18s ease}
.v148-quick-root.show .v148-quick-card{transform:translate(-50%,-50%) scale(1);opacity:1}.v148-quick-root.show .v148-quick-backdrop{opacity:1}
.v148-quick-close{position:absolute;top:12px;left:12px;z-index:3;width:38px;height:38px;border:1px solid var(--v148-border);border-radius:10px;background:#1b1d22;color:#c6cbd4;display:grid;place-items:center;cursor:pointer}.v148-quick-close svg{width:18px;height:18px}
.v148-quick-grid{display:grid;grid-template-columns:minmax(300px,.92fr) minmax(340px,1.08fr);min-height:420px}.v148-quick-media{position:relative;background:#0a0b0d;min-height:420px;display:grid;place-items:center;overflow:hidden;border-radius:0 18px 18px 0}.v148-quick-media img{width:100%;height:100%;max-height:520px;object-fit:contain;display:block}.v148-stock-pill{position:absolute;right:14px;top:14px;padding:6px 9px;border:1px solid rgba(45,216,122,.22);background:rgba(10,18,14,.88);color:#7fe7ae;backdrop-filter:blur(8px)}
.v148-quick-info{padding:38px 28px 26px;min-width:0}.v148-quick-info>small{color:var(--v148-green);font-size:11px;font-weight:700}.v148-quick-info h2{margin:6px 0 8px;font-size:25px;line-height:1.45;color:var(--v148-text)}.v148-quick-info>p{margin:0 0 17px;color:var(--v148-muted);font-size:13px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.v148-quick-price{font-size:26px;font-weight:900;color:var(--v148-green);margin-bottom:16px;transition:transform .15s ease}.v148-quick-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}.v148-quick-plans button{min-height:58px;padding:9px;border:1px solid var(--v148-border);border-radius:11px;background:var(--v148-surface);color:var(--v148-text);text-align:right;cursor:pointer}.v148-quick-plans button.active{border-color:rgba(45,216,122,.58);background:rgba(45,216,122,.08)}.v148-quick-plans b,.v148-quick-plans span{display:block}.v148-quick-plans b{font-size:12px}.v148-quick-plans span{font-size:11px;color:var(--v148-green);margin-top:3px}.v148-quick-single{display:flex;align-items:center;gap:7px;color:#b7c0c9;font-size:12px;margin-bottom:18px}.v148-quick-single svg{width:15px;color:var(--v148-green)}.v148-quick-actions{display:grid;grid-template-columns:1fr auto;gap:9px}.v148-quick-actions button,.v148-quick-actions a{min-height:44px;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:800;font-size:12px}.v148-quick-actions button{border:1px solid var(--v148-green);background:var(--v148-green);color:#06110b;cursor:pointer}.v148-quick-actions button:disabled{opacity:.4;cursor:not-allowed}.v148-quick-actions a{padding:0 15px;border:1px solid var(--v148-border);color:#d5dae0;background:#1a1c20}.v148-quick-actions svg{width:15px;height:15px}
.v148-mini-cart-backdrop{opacity:0}.v148-mini-cart{position:absolute;top:0;bottom:0;left:0;width:min(410px,92vw);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-right:1px solid var(--v148-border);background:#111317;box-shadow:18px 0 50px rgba(0,0,0,.4);transform:translateX(-102%);transition:transform .2s ease}.v148-mini-cart-root.show .v148-mini-cart{transform:none}.v148-mini-cart-root.show .v148-mini-cart-backdrop{opacity:1}.v148-mini-cart>header{display:flex;align-items:center;justify-content:space-between;padding:17px;border-bottom:1px solid var(--v148-border)}.v148-mini-cart>header b{display:block;font-size:17px}.v148-mini-cart>header small{display:block;color:var(--v148-muted);font-size:10px;margin-top:2px}.v148-mini-cart>header button{width:36px;height:36px;border:1px solid var(--v148-border);border-radius:10px;background:#1a1c20;color:#b9c0c8;display:grid;place-items:center}.v148-mini-cart>header svg{width:17px}.v148-mini-cart-items{overflow:auto;padding:12px;overscroll-behavior:contain}.v148-mini-cart-item{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 34px 10px 8px;border-bottom:1px solid rgba(255,255,255,.055)}.v148-mini-cart-item>img{width:54px;height:54px;border-radius:10px;object-fit:cover;background:#0b0c0e}.v148-mini-cart-item>div:nth-child(2){min-width:0}.v148-mini-cart-item>div:nth-child(2) b,.v148-mini-cart-item>div:nth-child(2) small,.v148-mini-cart-item>div:nth-child(2) span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v148-mini-cart-item>div:nth-child(2) b{font-size:12px}.v148-mini-cart-item>div:nth-child(2) small{font-size:10px;color:var(--v148-muted);margin:2px 0}.v148-mini-cart-item>div:nth-child(2) span{font-size:11px;color:var(--v148-green);font-weight:800}.v148-mini-qty{display:flex;align-items:center;gap:6px}.v148-mini-qty button{width:25px;height:25px;border:1px solid var(--v148-border);border-radius:7px;background:#191b20;color:#fff}.v148-mini-qty b{font-size:11px;min-width:14px;text-align:center}.v148-mini-remove{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:25px;height:25px;border:0;background:transparent;color:#737987;display:grid;place-items:center}.v148-mini-remove:hover{color:#ff7875}.v148-mini-remove svg{width:14px}.v148-mini-total{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.v148-mini-total span{font-size:12px;color:var(--v148-muted)}.v148-mini-total b{font-size:18px;color:var(--v148-green)}.v148-mini-actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:8px}.v148-mini-actions button,.v148-mini-actions a,.v148-mini-shop{min-height:43px;border-radius:10px;display:flex;align-items:center;justify-content:center;font:800 12px/1 inherit}.v148-mini-actions button{border:1px solid var(--v148-border);background:#1b1d22;color:#c4cad2}.v148-mini-actions a,.v148-mini-shop{border:1px solid var(--v148-green);background:var(--v148-green);color:#07120c}.v148-mini-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--v148-muted)}.v148-mini-empty svg{width:38px;height:38px;margin-bottom:10px;color:#4d5360}.v148-mini-empty b{color:#d8dde3;font-size:14px}.v148-mini-empty span{font-size:11px;margin-top:3px}
.v148-live-search{position:fixed;z-index:430;padding:6px;border:1px solid var(--v148-border);border-radius:13px;background:rgba(17,19,23,.985);box-shadow:0 18px 48px rgba(0,0,0,.45);backdrop-filter:blur(14px);max-height:min(380px,60dvh);overflow:auto}.v148-live-search[hidden]{display:none!important}.v148-live-search a{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:9px;align-items:center;padding:7px;border-radius:9px;color:var(--v148-text);text-decoration:none}.v148-live-search a:hover{background:rgba(45,216,122,.065)}.v148-live-search img{width:44px;height:44px;border-radius:8px;object-fit:cover;background:#090a0c}.v148-live-search a>div{min-width:0}.v148-live-search b,.v148-live-search small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v148-live-search b{font-size:11px}.v148-live-search small{font-size:9px;color:var(--v148-muted);margin-top:2px}.v148-live-search a>span{text-align:left}.v148-live-search strong{display:block;color:var(--v148-green);font-size:10px;white-space:nowrap}.v148-live-search em{display:block;font-style:normal;font-size:8px;color:#7fe7ae;margin-top:3px}.v148-live-search em.is-low{color:#f4c96f}.v148-live-search em.is-out{color:#ff8f8d}.v148-search-empty{padding:18px;text-align:center;color:var(--v148-muted);font-size:11px}
.v148-quick-filters{display:flex;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:none;padding:9px 0 1px;margin-top:7px}.v148-quick-filters::-webkit-scrollbar{display:none}.v148-quick-filters>span{color:#6f7582;font-size:10px;white-space:nowrap}.v148-quick-filters button{flex:0 0 auto;min-height:31px;padding:0 10px;border:1px solid rgba(255,255,255,.075);border-radius:999px;background:rgba(255,255,255,.028);color:#9ea5b0;display:flex;align-items:center;gap:5px;font:700 10px/1 inherit;cursor:pointer;transition:.15s}.v148-quick-filters button.active,.v148-quick-filters button:hover{border-color:rgba(45,216,122,.34);background:rgba(45,216,122,.075);color:var(--v148-green)}.v148-quick-filters svg{width:12px;height:12px}
.v148-recent-section{width:min(1280px,calc(100% - 64px));margin:28px auto 10px}.v148-recent-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}.v148-recent-head h2{margin:0;font-size:20px;color:#f6f8fa}.v148-recent-head p{margin:3px 0 0;font-size:11px;color:#818795}.v148-recent-head button{border:0;background:transparent;color:#777e8c;font-size:10px;cursor:pointer}.v148-recent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v148-recent-grid a{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;align-items:center;padding:9px;border:1px solid rgba(255,255,255,.065);border-radius:12px;background:rgba(255,255,255,.018);text-decoration:none;transition:transform .15s ease,border-color .15s ease}.v148-recent-grid a:hover{transform:translateY(-1px);border-color:rgba(45,216,122,.25)}.v148-recent-grid img{width:58px;height:58px;border-radius:9px;object-fit:cover;background:#0b0c0f}.v148-recent-grid b,.v148-recent-grid span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v148-recent-grid b{font-size:11px;color:#e7ebef}.v148-recent-grid span{font-size:10px;color:var(--v148-green);font-weight:800;margin-top:4px}
.v148-detail-stock{margin-inline-start:10px;padding:5px 8px;border:1px solid rgba(45,216,122,.2);background:rgba(45,216,122,.07);color:#78e3aa;vertical-align:middle}.plan-card{transition:transform .15s ease,border-color .15s ease,background .15s ease!important}.plan-card:hover{transform:translateY(-1px)}.plan-card.active{transform:translateY(-1px)}.v148-price-pop{animation:v148PricePop .22s ease}@keyframes v148PricePop{0%{transform:scale(.96);opacity:.7}100%{transform:none;opacity:1}}
.ca-timeline{position:relative;overflow:hidden}.ca-timeline-item{position:relative;transition:background .16s ease,transform .16s ease}.ca-timeline-item.current{background:rgba(45,216,122,.045);border-radius:10px}.ca-timeline-item.current .ca-timeline-dot{animation:v148Pulse 1.8s ease-in-out infinite}.ca-timeline-item.done .ca-timeline-dot{box-shadow:0 0 0 4px rgba(45,216,122,.06)}@keyframes v148Pulse{0%,100%{box-shadow:0 0 0 3px rgba(45,216,122,.08)}50%{box-shadow:0 0 0 8px rgba(45,216,122,.02)}}
.v148-coupon-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.v148-coupon-actions button{min-height:31px;padding:0 10px;border-radius:8px;border:1px solid rgba(45,216,122,.2);background:rgba(45,216,122,.07);color:var(--v148-green);font:700 10px/1 inherit;cursor:pointer}.v148-coupon-actions button:last-child{background:var(--v148-green);color:#07120c;border-color:var(--v148-green)}
@media (hover:hover){.v134-product-card,.v134-featured-card,.product-card{will-change:auto}.v134-product-card:hover,.product-card:hover{transform:translateY(-2px)!important}}
@media (prefers-reduced-motion:reduce){.v148-quick-card,.v148-mini-cart,.v148-toast,.plan-card,.v134-product-card,.product-card{transition:none!important;animation:none!important;transform:none!important}}

@media (max-width:900px){.v148-quick-grid{grid-template-columns:1fr}.v148-quick-media{min-height:230px;max-height:300px;border-radius:18px 18px 0 0}.v148-quick-media img{max-height:300px}.v148-quick-info{padding:20px}.v148-recent-section{width:min(94vw,760px)}.v148-recent-grid{grid-template-columns:1fr 1fr}}
@media (max-width:620px){.v148-toast-stack{right:14px;bottom:max(78px,calc(12px + env(safe-area-inset-bottom)));width:calc(100vw - 28px)}.v148-quick-card{width:calc(100vw - 16px);max-height:calc(100dvh - 18px);border-radius:15px}.v148-quick-media{min-height:210px;max-height:250px}.v148-quick-media img{max-height:250px}.v148-quick-info{padding:17px 14px 15px}.v148-quick-info h2{font-size:19px}.v148-quick-price{font-size:22px}.v148-quick-plans{grid-template-columns:1fr 1fr}.v148-quick-actions{grid-template-columns:1fr}.v148-quick-actions a{min-height:40px}.v148-recent-grid{grid-template-columns:1fr}.v148-recent-grid a:nth-child(n/**/+4){display:none}.v148-stock-chip{font-size:9px;padding:3px 6px}.v148-card-tools{gap:4px}.v148-quick-view-btn{width:31px;height:31px}.v148-toast.is-cart{grid-template-columns:40px minmax(0,1fr) auto}.v148-toast.is-cart>img{width:40px;height:40px}}
.v148-generic-quick{position:absolute!important;top:10px!important;left:10px!important;z-index:8!important;background:rgba(13,15,18,.86)!important;backdrop-filter:blur(8px)}

/* TAQA STORE V219 — Mobile Layering / Quick View / Mini Cart stability */
:root{
  --v219-layer-nav:1000;
  --v219-layer-sticky:1010;
  --v219-layer-float:1020;
  --v219-layer-overlay:1300;
  --v219-layer-toast:1400;
}
html.v148-modal-lock{overflow:hidden!important;overscroll-behavior:none!important}
body.v148-modal-open{
  position:fixed!important;
  top:var(--v148-scroll-lock-y,0)!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.v148-quick-root,.v148-mini-cart-root{z-index:var(--v219-layer-overlay)!important}
.v148-toast-stack{z-index:var(--v219-layer-toast)!important}
.v148-quick-head{position:absolute;top:12px;left:12px;z-index:4;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}
.v148-quick-head>span{display:none}
.v148-quick-head .v148-quick-close{position:static!important;pointer-events:auto}
.v148-mini-cart>footer{
  flex:0 0 auto;
  padding:14px 16px calc(14px + env(safe-area-inset-bottom));
  border-top:1px solid var(--v148-border);
  background:#111317;
  box-shadow:0 -10px 28px rgba(0,0,0,.24);
}

@media (max-width:767px){
  /* A single mobile fixed-layer system: overlays own the viewport while open. */
  body.v148-modal-open .mobile-bottom-nav,
  body.v148-modal-open .taqa-whatsapp-float,
  body.v148-modal-open .taqa-support-trigger,
  body.v148-modal-open .whatsapp-float,
  body.v148-modal-open .home-whatsapp-float-v86,
  body.v148-modal-open .sticky-buy-bar{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }

  /* Product sticky purchase bar + WhatsApp must never occupy the same space. */
  body[data-page="product"] .sticky-buy-bar{
    z-index:var(--v219-layer-sticky)!important;
    bottom:calc(var(--bottom-nav-h,74px) + env(safe-area-inset-bottom))!important;
    grid-template-columns:minmax(0,1fr) 108px 104px!important;
    gap:7px!important;
    padding:7px 10px!important;
  }
  body[data-page="product"] .sticky-buy-bar button{height:40px!important}
  body[data-page="product"] .taqa-whatsapp-float{
    z-index:var(--v219-layer-float)!important;
    bottom:calc(var(--bottom-nav-h,74px) + env(safe-area-inset-bottom) + 68px)!important;
  }
  body[data-page="product"]:has(#productDetail){
    padding-bottom:calc(var(--bottom-nav-h,74px) + env(safe-area-inset-bottom) + 88px)!important;
  }

  /* Product catalog -> footer transition: remove the stacked shell/footer dead space. */
  html body[data-page="products"].taqa-v186-products-lock main.v186-products-main{
    min-height:0!important;
  }
  html body[data-page="products"].taqa-v186-products-lock main.v186-products-main .v186-products-shell{
    padding-bottom:12px!important;
  }
  html body[data-page="products"].taqa-v186-products-lock>footer.footer{
    margin-top:10px!important;
  }
  html body[data-page="products"].taqa-v186-products-lock>footer.footer .taqa-site-footer-v203{
    padding-top:14px!important;
  }
  html body[data-page="products"].taqa-v186-products-lock>footer.footer .taqa-site-footer-grid-v203{
    row-gap:18px!important;
  }

  /* Quick View becomes a bounded mobile sheet with its own scroll + fixed CTA. */
  .v148-quick-card{
    left:8px!important;
    right:8px!important;
    top:max(8px,env(safe-area-inset-top))!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    width:auto!important;
    height:auto!important;
    max-height:none!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    border-radius:18px!important;
    transform:translateY(14px) scale(.995)!important;
  }
  .v148-quick-root.show .v148-quick-card{transform:none!important}
  .v148-quick-head{
    position:relative!important;
    inset:auto!important;
    flex:0 0 50px!important;
    min-height:50px!important;
    padding:7px 9px 7px 14px!important;
    direction:rtl!important;
    justify-content:space-between!important;
    border-bottom:1px solid var(--v148-border)!important;
    background:#121418!important;
    pointer-events:auto!important;
  }
  .v148-quick-head>span{display:block!important;color:#d8dde3!important;font-size:12px!important;font-weight:800!important}
  .v148-quick-close{
    position:static!important;
    width:38px!important;height:38px!important;
    border-radius:11px!important;
  }
  #v148QuickBody{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
  .v148-quick-grid{
    height:100%!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }
  .v148-quick-media{
    flex:0 0 clamp(170px,27dvh,225px)!important;
    min-height:170px!important;
    max-height:225px!important;
    border-radius:0!important;
  }
  .v148-quick-media img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important}
  .v148-stock-pill{top:10px!important;right:10px!important}
  .v148-quick-info{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding:15px 14px calc(10px + env(safe-area-inset-bottom))!important;
  }
  .v148-quick-info h2{margin:0 0 6px!important;font-size:19px!important;line-height:1.42!important}
  .v148-quick-info>p{margin-bottom:10px!important;font-size:12px!important;line-height:1.7!important;-webkit-line-clamp:2!important}
  .v148-quick-price{font-size:23px!important;margin-bottom:11px!important}
  .v148-quick-plans{gap:7px!important;margin-bottom:10px!important}
  .v148-quick-plans button{min-height:54px!important;padding:8px!important}
  .v148-quick-single{margin-bottom:10px!important}
  .v148-quick-actions{
    position:sticky!important;
    bottom:calc(-10px - env(safe-area-inset-bottom))!important;
    z-index:5!important;
    grid-template-columns:minmax(0,1fr) minmax(112px,.55fr)!important;
    gap:8px!important;
    margin:10px -14px 0!important;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;
    background:linear-gradient(180deg,rgba(18,20,24,.78),#121418 24%)!important;
    border-top:1px solid rgba(255,255,255,.055)!important;
  }
  .v148-quick-actions button,.v148-quick-actions a{min-height:44px!important;padding-inline:10px!important}

  /* Mini cart: content-height sheet for short carts, bounded scroll for long carts. */
  .v148-mini-cart{
    top:auto!important;
    right:8px!important;
    left:8px!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    width:auto!important;
    height:auto!important;
    max-height:calc(100dvh - max(16px,env(safe-area-inset-top)))!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    border:1px solid var(--v148-border)!important;
    border-radius:18px!important;
    box-shadow:0 -20px 56px rgba(0,0,0,.55)!important;
    transform:translateY(calc(100% + 24px))!important;
    overflow:hidden!important;
  }
  .v148-mini-cart-root.show .v148-mini-cart{transform:none!important}
  .v148-mini-cart>header{
    flex:0 0 auto!important;
    min-height:60px!important;
    padding:10px 13px!important;
    background:#111317!important;
  }
  .v148-mini-cart>header button{width:38px!important;height:38px!important}
  .v148-mini-cart-items{
    flex:0 1 auto!important;
    min-height:0!important;
    max-height:calc(100dvh - 220px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding:6px 12px!important;
  }
  .v148-mini-cart-item{
    grid-template-columns:56px minmax(0,1fr) auto!important;
    gap:9px!important;
    padding:10px 31px 10px 4px!important;
  }
  .v148-mini-cart-item>img{width:56px!important;height:56px!important}
  .v148-mini-cart>footer{
    flex:0 0 auto!important;
    padding:11px 12px calc(11px + env(safe-area-inset-bottom))!important;
    background:#111317!important;
    border-top:1px solid var(--v148-border)!important;
    box-shadow:0 -12px 28px rgba(0,0,0,.28)!important;
  }
  .v148-mini-total{margin-bottom:8px!important}
  .v148-mini-actions{grid-template-columns:.72fr 1.28fr!important;gap:8px!important}
  .v148-mini-actions button,.v148-mini-actions a,.v148-mini-shop{min-height:46px!important}

  /* Toasts are above sheets; cart-added toast is dismissed when the cart opens. */
  .v148-toast-stack{
    z-index:var(--v219-layer-toast)!important;
    bottom:max(14px,calc(10px + env(safe-area-inset-bottom)))!important;
  }
}

@media (max-width:390px){
  body[data-page="product"] .sticky-buy-bar{grid-template-columns:minmax(0,1fr) 96px 92px!important;gap:6px!important;padding-inline:8px!important}
  .v148-quick-media{flex-basis:clamp(160px,25dvh,205px)!important;min-height:160px!important;max-height:205px!important}
  .v148-quick-actions{grid-template-columns:minmax(0,1fr) 108px!important}
  .v148-mini-cart{right:6px!important;left:6px!important;bottom:max(6px,env(safe-area-inset-bottom))!important}
}

/* TAQA STORE V220 — Footer transition + Quick View auto-height finish */
@media (max-width:767px){
  /* Products -> footer: remove the last stacked gap and keep footer content clear of bottom nav. */
  html body[data-page="products"].taqa-v186-products-lock main.v186-products-main .v186-products-shell{
    padding-bottom:0!important;
  }
  html body[data-page="products"].taqa-v186-products-lock main.v186-products-main #v148RecentlyViewed{
    margin-bottom:2px!important;
  }
  html body[data-page="products"].taqa-v186-products-lock>footer.footer{
    margin-top:0!important;
  }
  html body[data-page="products"].taqa-v186-products-lock>footer.footer .taqa-site-footer-v203{
    padding-top:14px!important;
    padding-bottom:calc(var(--mobile-nav-height,68px) + env(safe-area-inset-bottom) + 44px)!important;
  }
  html body[data-page="products"].taqa-v186-products-lock>footer.footer .taqa-builder-section[data-section-id="backtop"]{
    margin-top:0!important;
    padding-top:0!important;
  }
  body[data-page="products"].taqa-v186-products-lock .taqa-whatsapp-float{
    bottom:calc(var(--v186-bottom-nav-height,68px) + env(safe-area-inset-bottom) + 22px)!important;
  }

  /* Quick View: content-sized sheet, bounded by the visual viewport. */
  .v148-quick-card{
    left:8px!important;
    right:8px!important;
    top:50%!important;
    bottom:auto!important;
    width:auto!important;
    height:auto!important;
    max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px)!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    transform:translateY(calc(-50% + 12px)) scale(.995)!important;
  }
  .v148-quick-root.show .v148-quick-card{
    transform:translateY(-50%) scale(1)!important;
  }
  #v148QuickBody{
    flex:0 1 auto!important;
    min-height:0!important;
    max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 66px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .v148-quick-grid{
    height:auto!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:visible!important;
  }
  .v148-quick-media{
    flex:0 0 clamp(150px,22dvh,190px)!important;
    min-height:150px!important;
    max-height:190px!important;
  }
  .v148-quick-info{
    flex:0 0 auto!important;
    min-height:0!important;
    overflow:visible!important;
    padding:12px 14px 0!important;
  }
  .v148-quick-info h2{font-size:18px!important;line-height:1.4!important;margin-bottom:5px!important}
  .v148-quick-info>p{margin-bottom:8px!important;line-height:1.6!important}
  .v148-quick-price{margin-bottom:9px!important}
  .v148-quick-plans{margin-bottom:8px!important}
  .v148-quick-actions{
    position:sticky!important;
    bottom:0!important;
    margin:9px -14px 0!important;
    padding:9px 14px calc(9px + env(safe-area-inset-bottom))!important;
    background:linear-gradient(180deg,rgba(18,20,24,.9),#121418 22%)!important;
  }
}

@media (max-width:390px){
  .v148-quick-media{
    flex-basis:clamp(145px,21dvh,180px)!important;
    min-height:145px!important;
    max-height:180px!important;
  }
}

/* TAQA STORE V222 — Quick View 3:2 media geometry + stronger modal separation */
@media (max-width:767px){
  .v148-quick-backdrop{
    background:rgba(0,0,0,.78)!important;
    backdrop-filter:blur(6px)!important;
    -webkit-backdrop-filter:blur(6px)!important;
  }
  .v148-quick-media{
    flex:0 0 auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:3/2!important;
    display:block!important;
    background:#090b0a!important;
    overflow:hidden!important;
  }
  .v148-quick-media img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    aspect-ratio:3/2!important;
    object-fit:contain!important;
    object-position:center!important;
    background:#090b0a!important;
  }
  .v148-stock-pill{
    top:8px!important;
    right:9px!important;
  }
  .v148-quick-info h2{
    font-size:17px!important;
    line-height:1.38!important;
  }
}

@media (max-width:390px){
  .v148-quick-info h2{font-size:16.5px!important;}
}
