/* Module 33: Quick view, smart search, floating cart and UX polish */
.qv-open{position:absolute;left:14px;right:14px;bottom:116px;z-index:8;height:38px;border:0;border-radius:999px;background:rgba(15,118,110,.94);color:#fff;font-weight:950;font-size:12px;letter-spacing:.01em;box-shadow:0 14px 28px rgba(15,118,110,.22);opacity:0;transform:translateY(10px);transition:opacity .18s ease,transform .18s ease,background .18s ease}.medicine-card{position:relative;overflow:hidden}.medicine-card:hover .qv-open,.medicine-card:focus-within .qv-open{opacity:1;transform:translateY(0)}.qv-open:hover{background:#075e57}.medicine-card.is-qv-highlight{box-shadow:0 24px 60px rgba(15,118,110,.18)!important;border-color:rgba(15,118,110,.28)!important}.mn-qv-backdrop{position:fixed;inset:0;background:rgba(2,6,23,.52);backdrop-filter:blur(8px);z-index:100;display:none;align-items:center;justify-content:center;padding:18px}.mn-qv-backdrop.is-open{display:flex}.mn-qv-modal{width:min(100%,820px);background:#fff;border-radius:26px;box-shadow:0 34px 90px rgba(2,6,23,.28);overflow:hidden;display:grid;grid-template-columns:330px 1fr;position:relative}.mn-qv-image{min-height:350px;background:linear-gradient(145deg,#e9fffa,#f8fbff);display:flex;align-items:center;justify-content:center;padding:34px}.mn-qv-image img{max-width:100%;max-height:280px;object-fit:contain;filter:drop-shadow(0 18px 24px rgba(15,23,42,.12))}.mn-qv-placeholder{width:210px;height:210px;border-radius:42px;background:linear-gradient(135deg,#0f766e,#2563eb);display:grid;place-items:center;color:#fff;font-size:76px;box-shadow:0 22px 45px rgba(15,118,110,.28)}.mn-qv-body{padding:32px;display:flex;flex-direction:column;gap:14px}.mn-qv-close{position:absolute;right:14px;top:14px;width:38px;height:38px;border:0;border-radius:50%;background:#f1f5f9;color:#0f172a;font-size:20px;font-weight:900}.mn-qv-kicker{display:inline-flex;align-items:center;gap:8px;color:#0f766e;background:#e7f8f3;border:1px solid #c9eee5;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:950;width:max-content}.mn-qv-title{font-size:27px;line-height:1.15;color:#0f172a;font-weight:1000;letter-spacing:-.04em}.mn-qv-sub{color:#64748b;font-size:14px;line-height:1.55}.mn-qv-price-row{display:flex;align-items:end;gap:12px;margin-top:2px}.mn-qv-price{font-size:30px;color:#0f766e;font-weight:1000}.mn-qv-old{font-size:16px;color:#94a3b8;text-decoration:line-through;font-weight:800}.mn-qv-badges{display:flex;flex-wrap:wrap;gap:8px}.mn-qv-badges span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:8px 11px;color:#334155;font-size:12px;font-weight:850}.mn-qv-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:10px}.mn-qv-actions a{height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-weight:950;font-size:13px}.mn-qv-primary{background:#0f766e;color:#fff;box-shadow:0 16px 28px rgba(15,118,110,.2)}.mn-qv-secondary{background:#fff;color:#0f766e;border:1px solid #bfe9df}.mn-qv-note{display:flex;gap:10px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;border-radius:16px;padding:12px 13px;font-size:12px;line-height:1.45;font-weight:750}.mn-search-suggest{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:75;background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 24px 58px rgba(15,23,42,.16);overflow:hidden;display:none}.mn-search-suggest.is-open{display:block}.mn-suggest-head{padding:13px 16px;background:#f8fafc;color:#64748b;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.mn-suggest-list{padding:8px}.mn-suggest-item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;color:#0f172a;font-size:13px;font-weight:850}.mn-suggest-item:hover,.mn-suggest-item.is-active{background:#ecfdf5;color:#0f766e}.mn-suggest-ico{width:34px;height:34px;border-radius:10px;background:#e7f8f3;display:grid;place-items:center}.mn-floating-tools{position:fixed;right:18px;bottom:calc(86px + env(safe-area-inset-bottom));z-index:80;display:flex;flex-direction:column;gap:10px}.mn-float-btn{width:48px;height:48px;border:0;border-radius:50%;background:#fff;color:#0f766e;box-shadow:0 18px 42px rgba(15,23,42,.18);display:grid;place-items:center;font-size:21px;font-weight:950;border:1px solid rgba(15,118,110,.14)}.mn-float-btn:hover{transform:translateY(-2px);box-shadow:0 22px 52px rgba(15,23,42,.22)}.mn-float-btn.cart{background:#0f766e;color:#fff}.mn-float-btn span{position:absolute;margin-top:-33px;margin-left:34px;min-width:19px;height:19px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px;display:grid;place-items:center;border:2px solid #fff}.mn-progress-top{position:fixed;left:0;top:0;height:3px;width:0;background:linear-gradient(90deg,#0f766e,#22c55e,#2563eb);z-index:120;box-shadow:0 0 18px rgba(15,118,110,.5);transition:width .12s linear}.mn-product-tooltip{position:absolute;left:14px;right:14px;bottom:66px;background:rgba(15,23,42,.92);color:#fff;border-radius:13px;padding:8px 10px;font-size:11px;font-weight:800;text-align:center;opacity:0;transform:translateY(7px);transition:.18s;pointer-events:none}.medicine-card:hover .mn-product-tooltip{opacity:1;transform:translateY(0)}@media (max-width:760px){.qv-open{opacity:1;transform:none;bottom:118px;height:34px;font-size:11px}.mn-qv-modal{grid-template-columns:1fr;border-radius:22px;max-height:92vh;overflow:auto}.mn-qv-image{min-height:220px;padding:22px}.mn-qv-image img{max-height:180px}.mn-qv-body{padding:22px}.mn-qv-title{font-size:22px}.mn-qv-actions{grid-template-columns:1fr}.mn-search-suggest{position:fixed;left:14px;right:14px;top:128px}.mn-floating-tools{right:14px;bottom:calc(76px + env(safe-area-inset-bottom))}.mn-float-btn{width:44px;height:44px}.mn-product-tooltip{display:none}}@media (prefers-reduced-motion:reduce){.qv-open,.mn-float-btn,.mn-progress-top{transition:none!important}}


/* Module 54: homepage mobile + floating tools polish */
@media (max-width:760px){.mn-floating-tools{right:8px;bottom:calc(70px + env(safe-area-inset-bottom));gap:8px}.mn-float-btn{width:38px;height:38px;font-size:17px;box-shadow:0 14px 28px rgba(15,23,42,.16)}.mn-float-btn span{margin-top:-26px;margin-left:24px;min-width:16px;height:16px;font-size:8px}.mn-float-btn.cart{background:#0f766e}}
@media (max-width:430px){.mn-floating-tools{right:6px;bottom:calc(66px + env(safe-area-inset-bottom))}.mn-float-btn{width:36px;height:36px;font-size:16px}.mn-float-btn span{margin-top:-24px;margin-left:22px}}


/* Module 55: Floating WhatsApp button */
.mn-whatsapp-float{
    position:fixed;
    left:18px;
    bottom:calc(86px + env(safe-area-inset-bottom));
    z-index:82;
    height:50px;
    padding:0 18px 0 12px;
    border-radius:999px;
    background:#25D366;
    color:#fff;
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:13px;
    font-weight:1000;
    box-shadow:0 18px 42px rgba(37,211,102,.28);
    border:1px solid rgba(255,255,255,.45);
    transition:transform .18s ease, box-shadow .18s ease;
}
.mn-whatsapp-float:hover{transform:translateY(-2px);box-shadow:0 24px 54px rgba(37,211,102,.36)}
.mn-whatsapp-icon{
    width:30px;
    height:30px;
    border-radius:50%;
    background:#fff;
    color:#128C7E;
    display:grid;
    place-items:center;
    font-size:18px;
    line-height:1;
    font-weight:1000;
}
.mn-whatsapp-text{line-height:1}
@media(max-width:760px){
    .mn-whatsapp-float{
        left:8px;
        bottom:calc(70px + env(safe-area-inset-bottom));
        width:38px;
        height:38px;
        padding:0;
        justify-content:center;
        box-shadow:0 14px 28px rgba(37,211,102,.26);
    }
    .mn-whatsapp-icon{width:38px;height:38px;font-size:17px;background:#25D366;color:#fff}
    .mn-whatsapp-text{display:none}
}
@media(max-width:430px){
    .mn-whatsapp-float{left:6px;bottom:calc(66px + env(safe-area-inset-bottom));width:36px;height:36px}
    .mn-whatsapp-icon{width:36px;height:36px;font-size:16px}
}


/* Module 56: desktop floating buttons position fix */
@media (min-width:761px){
    .mn-floating-tools{
        right:16px;
        bottom:24px;
        gap:8px;
    }
    .mn-float-btn{
        width:44px;
        height:44px;
        font-size:18px;
        box-shadow:0 14px 32px rgba(15,23,42,.16);
    }
    .mn-float-btn span{
        margin-top:-30px;
        margin-left:28px;
        min-width:17px;
        height:17px;
        font-size:9px;
    }
    .mn-whatsapp-float{
        bottom:24px;
    }
}
