/* Master Store Admin v3 storefront bridge for lafarishta.com */
/* LAFARISHTA Storefront Bridge v1.1.0 */
.laf-dyn-card{position:relative;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.03);transition:.25s ease}.laf-dyn-card:hover{transform:translateY(-3px);box-shadow:0 18px 35px -22px rgba(15,23,42,.35)}
.laf-dyn-imgbtn{position:relative;aspect-ratio:1/1;border:0;background:linear-gradient(135deg,#f8fafc,#eef4ff);display:grid;place-items:center;cursor:pointer;overflow:hidden}.laf-dyn-imgbtn img{height:100%;width:100%;object-fit:contain;padding:10%;mix-blend-mode:multiply;transition:transform .35s ease}.laf-dyn-card:hover .laf-dyn-imgbtn img{transform:scale(1.05)}
.laf-dyn-discount{position:absolute;top:.75rem;left:.75rem;z-index:2;border-radius:999px;background:#2563eb;color:#fff;font-size:.68rem;font-weight:800;padding:.28rem .62rem}.laf-dyn-stock{position:absolute;top:.75rem;right:.75rem;z-index:2;border-radius:999px;background:rgba(255,255,255,.9);font-size:.66rem;font-weight:700;padding:.28rem .55rem;color:#166534;border:1px solid rgba(22,101,52,.16)}.laf-dyn-stock.out{color:#b91c1c;border-color:rgba(185,28,28,.16)}
.laf-dyn-body{display:flex;flex:1;flex-direction:column;gap:.38rem;padding:1rem}.laf-dyn-cat{font:600 .66rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;text-transform:uppercase;color:#94a3b8}.laf-dyn-title{border:0;background:none;padding:0;text-align:left;font-family:inherit;font-size:1.02rem;font-weight:700;line-height:1.35;color:#111827;cursor:pointer}.laf-dyn-title:hover{color:#1d4ed8}.laf-dyn-desc{font-size:.83rem;line-height:1.45;color:#64748b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.4em}.laf-dyn-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:.75rem;margin-top:auto;padding-top:.75rem}.laf-dyn-price{font-weight:800;font-size:1.1rem;color:#111827}.laf-dyn-regular{font-size:.72rem;color:#94a3b8;text-decoration:line-through}.laf-dyn-add{border:0;border-radius:999px;background:#111827;color:#fff;font-size:.78rem;font-weight:800;padding:.58rem .9rem;cursor:pointer}.laf-dyn-add:hover{background:#1d4ed8}.laf-dyn-add:disabled{opacity:.38;cursor:not-allowed}
.laf-sync-note{display:none;position:fixed;left:50%;bottom:1rem;transform:translateX(-50%);z-index:1000;padding:.65rem 1rem;border-radius:999px;background:#111827;color:#fff;font-size:.78rem;box-shadow:0 10px 30px rgba(0,0,0,.25)}.laf-sync-note.show{display:block}
.laf-qv-backdrop,.laf-cart-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(5px);z-index:9998}.laf-qv{position:fixed;z-index:9999;left:50%;top:50%;transform:translate(-50%,-50%);width:min(880px,calc(100vw - 28px));max-height:90vh;overflow:auto;border-radius:24px;background:#fff;box-shadow:0 30px 100px rgba(0,0,0,.35)}.laf-qv-grid{display:grid;grid-template-columns:1fr 1fr}.laf-qv-media{min-height:360px;display:grid;place-items:center;background:linear-gradient(135deg,#f8fafc,#eef4ff);padding:2rem}.laf-qv-media img{max-height:360px;max-width:100%;object-fit:contain;mix-blend-mode:multiply}.laf-qv-body{padding:2rem;display:flex;flex-direction:column;gap:.8rem}.laf-qv-close{position:absolute;right:14px;top:14px;border:0;border-radius:50%;width:38px;height:38px;font-size:22px;background:rgba(0,0,0,.06);cursor:pointer}.laf-qv-select{display:flex;gap:.5rem;flex-wrap:wrap}.laf-qv-select button{border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:.5rem .7rem;cursor:pointer}.laf-qv-select button.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.laf-qv-actions{display:flex;gap:.6rem;margin-top:.6rem}.laf-qv-actions button,.laf-qv-actions a{flex:1;text-align:center;text-decoration:none;border-radius:999px;padding:.82rem 1rem;font-weight:800}.laf-qv-actions button{border:0;background:#2563eb;color:white;cursor:pointer}.laf-qv-actions a{border:1px solid #e5e7eb;color:#111827;background:#fff}
.laf-cart{position:fixed;right:0;top:0;bottom:0;width:min(430px,94vw);z-index:9999;background:#fff;box-shadow:-20px 0 60px rgba(0,0,0,.22);display:flex;flex-direction:column}.laf-cart-head{display:flex;justify-content:space-between;align-items:center;padding:1.1rem 1.2rem;border-bottom:1px solid #e5e7eb}.laf-cart-head button{border:0;background:none;font-size:24px;cursor:pointer}.laf-cart-lines{flex:1;overflow:auto;padding:0 1.2rem}.laf-cart-line{display:grid;grid-template-columns:64px 1fr auto;gap:.75rem;align-items:center;padding:1rem 0;border-bottom:1px solid #eef2f7}.laf-cart-line img{width:64px;height:64px;object-fit:contain;border-radius:10px;background:#f8fafc}.laf-cart-qty{display:flex;align-items:center;gap:.45rem;margin-top:.35rem}.laf-cart-qty button{width:26px;height:26px;border-radius:50%;border:1px solid #e5e7eb;background:white;cursor:pointer}.laf-cart-remove{border:0;background:none;color:#b91c1c;cursor:pointer;font-size:.75rem}.laf-cart-foot{padding:1.1rem 1.2rem;border-top:1px solid #e5e7eb}.laf-cart-total{display:flex;justify-content:space-between;font-weight:800;font-size:1.1rem;margin-bottom:.9rem}.laf-cart-checkout{display:block;text-align:center;text-decoration:none;border-radius:999px;background:#2563eb;color:#fff;padding:.85rem;font-weight:800}
.laf-track-result{margin-top:1rem;border:1px solid #e5e7eb;border-radius:16px;padding:1rem;background:#fff}.laf-order-success{max-width:620px;margin:0 auto;border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:2rem;text-align:center;box-shadow:0 20px 60px -30px rgba(37,99,235,.4)}
@media(max-width:720px){.laf-qv-grid{grid-template-columns:1fr}.laf-qv-media{min-height:250px;padding:1.2rem}.laf-qv-media img{max-height:240px}.laf-qv-body{padding:1.35rem}.laf-qv-actions{flex-direction:column}}

/* v3.2 hydration guard: old static catalog stays hidden only while Master data is loading. */

:root{--msa-brand-primary:#2563eb;--msa-brand-accent:#60a5fa}

/* v2 product content presentation */
.msa-short-description{margin:.2rem 0 .35rem;border:1px solid rgba(37,99,235,.12);background:linear-gradient(145deg,#fff,#f8fbff);border-radius:18px;padding:16px 18px;box-shadow:0 10px 30px rgba(15,23,42,.055);color:#334155;font-size:.94rem;line-height:1.55}.msa-short-description p{margin:0}.msa-short-description ul{margin:0;padding-left:1.15rem;display:grid;gap:.42rem}.msa-short-description li::marker{color:#2563eb}.msa-info-head{margin-bottom:18px}.msa-info-head span{font-size:.69rem;letter-spacing:.16em;font-weight:800;color:#2563eb}.msa-info-head h2{font-size:clamp(1.45rem,2.3vw,2rem);font-weight:800;letter-spacing:-.025em;margin:.35rem 0 0;color:#0f172a}.msa-info-tabs{display:inline-flex;gap:8px;padding:5px;border:1px solid #e3e8f2;background:#fff;border-radius:15px;box-shadow:0 8px 24px rgba(15,23,42,.05);margin-bottom:18px;max-width:100%;overflow:auto}.msa-info-tabs button{white-space:nowrap;border:0;background:transparent;color:#5e687b;border-radius:11px;padding:10px 16px;font-size:.84rem;font-weight:750;cursor:pointer;transition:.2s}.msa-info-tabs button.active{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 7px 18px rgba(37,99,235,.22)}.msa-info-panel{display:none}.msa-info-panel.active{display:block;animation:msaFade .2s ease}.msa-spec-table{overflow:hidden;border:1px solid #e3e8f2;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(15,23,42,.04)}.msa-spec-row{display:grid;grid-template-columns:minmax(145px,220px) 1fr;gap:20px;padding:16px 20px;border-bottom:1px solid #edf0f5;align-items:start}.msa-spec-row:last-child{border-bottom:0}.msa-spec-row.alt{background:#f8faff}.msa-spec-row strong{font-size:.9rem;color:#172033}.msa-spec-row span{font-size:.9rem;color:#5a6578;line-height:1.55}.msa-rich-description{border:1px solid #e3e8f2;border-radius:18px;background:#fff;padding:clamp(20px,3vw,34px);color:#4b5568;line-height:1.75;box-shadow:0 12px 32px rgba(15,23,42,.04)}.msa-rich-description h1,.msa-rich-description h2,.msa-rich-description h3,.msa-rich-description h4{color:#111827;font-weight:800;line-height:1.25;margin:1.4em 0 .55em}.msa-rich-description h1:first-child,.msa-rich-description h2:first-child,.msa-rich-description h3:first-child{margin-top:0}.msa-rich-description p{margin:.75em 0}.msa-rich-description ul,.msa-rich-description ol{padding-left:1.35rem;margin:.8rem 0;display:grid;gap:.35rem}.msa-rich-description img{max-width:100%;height:auto;border-radius:14px;margin:1rem auto}.msa-rich-description table{width:100%;border-collapse:collapse}.msa-rich-description td,.msa-rich-description th{border:1px solid #e5e7eb;padding:10px}.msa-warranty-card{border:1px solid rgba(37,99,235,.16);background:linear-gradient(145deg,#f8fbff,#fff);border-radius:18px;padding:24px;display:flex;gap:16px;align-items:flex-start;box-shadow:0 12px 32px rgba(15,23,42,.04);color:#4b5568;line-height:1.65}.msa-warranty-card h3{font-size:1.05rem;color:#111827;font-weight:800;margin:0 0 5px}.msa-warranty-icon{width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#6d28d9);display:grid;place-items:center;color:#fff;font-size:1.2rem;font-weight:900}.msa-empty-info{border:1px dashed #d8deea;border-radius:18px;padding:28px;color:#7b8495;text-align:center;background:#fafbfc}@keyframes msaFade{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:none}}@media(max-width:640px){.msa-spec-row{grid-template-columns:1fr;gap:4px;padding:14px 16px}.msa-info-tabs{width:100%;display:flex}.msa-info-tabs button{flex:1;padding:9px 11px}.msa-short-description{padding:14px 15px}}

/* V3 latest-public-html compatibility */
main[data-msa-product-bound="1"] #msa-product-info-tabs{display:block!important}

/* JISULIFE FIXED V3: never hide storefront during API sync */
html.msa-syncing main{visibility:visible!important;opacity:1!important;}
