.wcigr-bm{position:fixed !important;left:0;right:0;bottom:0;width:100%;max-width:100%;box-sizing:border-box;z-index:999999;background:var(--wcigr-bm-bg,#fff);color:var(--wcigr-bm-text,#111);border-top:1px solid rgba(148,163,184,.35);display:grid;grid-template-columns:repeat(var(--wcigr-bm-cols,5),minmax(0,1fr));grid-auto-rows:auto;align-items:center;padding:8px 6px calc(max(2px, env(safe-area-inset-bottom, 0px)) + var(--wcigr-bm-underfill, 0px));font-family:Roboto,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;box-shadow:0 -10px 30px rgba(2,6,23,.08);transform:translateZ(0);-webkit-transform:translateZ(0);backface-visibility:hidden;--wcigr-bm-pop-scale:1.09;--wcigr-bm-badge-scale:1.24;--wcigr-bm-btn-scale:1.06;--wcigr-bm-anim-duration:.38s;--wcigr-bm-fly-duration:.45s;--wcigr-bm-underfill:0px}
.wcigr-bm__item{appearance:none;background:none;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:inherit;text-decoration:none;font-size:clamp(9px,2vw,11px);padding:8px 4px;min-height:52px;border-radius:14px;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}
.wcigr-bm__cart{overflow:visible}
.wcigr-bm__cart .wcigr-bm-cart-icn-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;line-height:0}
.wcigr-bm__cart .wcigr-bm-cart-icn-wrap .wcigr-bm-icn{display:block}
.wcigr-bm__cart .wcigr-bm-cart-count{
	position:absolute;top:-5px;right:-7px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;
	background:var(--wcigr-bm-cart-qty-bg, var(--wcigr-bm-active,#2563eb));color:var(--wcigr-bm-cart-qty-text,#fff);font-size:9px;font-weight:900;line-height:16px;text-align:center;
	font-style:normal;box-shadow:0 1px 3px rgba(0,0,0,.22);pointer-events:none;z-index:2
}
.wcigr-bm__cart .wcigr-bm-cart-count.wcigr-bm-cart-count--hide{display:none}
.wcigr-bm__cart .wcigr-bm-cart-total{
	font-style:normal;font-size:clamp(9px,2.1vw,11px);font-weight:900;color:var(--wcigr-bm-cart-total, var(--wcigr-bm-active,#2563eb));
	white-space:nowrap;margin-top:2px;line-height:1.1
}
.wcigr-bm__item:active{transform:scale(.99)}
.wcigr-bm__item:focus{outline:none}
.wcigr-bm__item:focus-visible{box-shadow:0 0 0 3px rgba(37,99,235,.18)}
.wcigr-bm__item::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at var(--wcigr-rx,50%) var(--wcigr-ry,50%), rgba(37,99,235,.18), rgba(37,99,235,0) 52%);opacity:0;transition:opacity .22s ease;pointer-events:none}
.wcigr-bm__item.is-ripple::after{opacity:1}
.wcigr-bm-icn{display:inline-flex;line-height:1}
.wcigr-bm-icn svg{display:block}
.wcigr-bm__item small{font-size:clamp(9px,1.8vw,11px)}
.wcigr-bm__item i{font-style:normal;font-size:clamp(8px,1.6vw,9.5px);line-height:1}
.wcigr-bm__item em{font-style:normal}
.wcigr-bm__item:hover,.wcigr-bm__item:focus{color:var(--wcigr-bm-hover,var(--wcigr-bm-active,#2563eb))}
.wcigr-bm-search{position:fixed;left:10px;right:10px;bottom:calc(var(--wcigr-bm-h,74px) + 10px + var(--wcigr-search-kb-inset, 0px));z-index:1000001;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(148,163,184,.32);border-radius:20px;padding:12px;box-shadow:0 26px 70px rgba(2,6,23,.18);transform:translateY(0);opacity:.98;transition:transform .18s ease,opacity .18s ease,bottom .12s ease,top .12s ease,max-height .12s ease;max-height:min(80vh,80dvh,calc(100dvh - var(--wcigr-bm-h,74px) - 20px),var(--wcigr-search-max-h, 9999px));min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:manipulation}
.wcigr-bm-search.wcigr-bm-search--vv-pin:not([hidden]){bottom:auto !important;top:var(--wcigr-search-top, 10px);max-height:min(80vh,80dvh,calc(100dvh - var(--wcigr-bm-h,74px) - 20px),var(--wcigr-search-max-h, 9999px)) !important}
.wcigr-bm-search[hidden]{display:block;pointer-events:none;opacity:0;transform:translateY(10px)}
/* Must sit above .wcigr-bm (z-index 999999) or taps hit the bar instead of the sheet */
body.wcigr-bm-android .wcigr-bm-search:not([hidden]),
body.wcigr-bm-search-open .wcigr-bm-search:not([hidden]){
	z-index:2147483000;
	opacity:1 !important;
	visibility:visible !important;
	pointer-events:auto !important;
}
.wcigr-bm-track{position:fixed;left:10px;right:10px;bottom:calc(var(--wcigr-bm-h,74px) + 10px + var(--wcigr-kb-inset, 0px));z-index:1000000;background:rgba(255,255,255,.98);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(148,163,184,.32);border-radius:20px;padding:12px;box-shadow:0 26px 70px rgba(2,6,23,.18);transform:translateZ(0);-webkit-transform:translateZ(0);opacity:1;transition:transform .18s ease,opacity .18s ease,bottom .12s ease,top .12s ease,max-height .12s ease;max-height:min(80vh,80dvh,calc(100dvh - var(--wcigr-bm-h,74px) - 20px),var(--wcigr-track-max-h, 9999px));min-height:120px;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:manipulation;-webkit-backface-visibility:hidden;backface-visibility:hidden}
/* Input focused: pin to visual viewport top — fixes Android where kb inset stays 0 but keyboard still covers bottom-fixed sheets */
.wcigr-bm-track.wcigr-bm-track--vv-pin:not([hidden]){bottom:auto !important;top:var(--wcigr-track-top, 10px);max-height:min(80vh,80dvh,calc(100dvh - var(--wcigr-bm-h,74px) - 20px),var(--wcigr-track-max-h, 9999px)) !important}
.wcigr-bm-track[hidden]{display:block;pointer-events:none;opacity:0;visibility:hidden;transform:translateY(12px) translateZ(0)}
/* Android / theme fixes: keep the sheet above the bottom bar and fully painted when open */
body.wcigr-bm-android .wcigr-bm-track:not([hidden]),
body.wcigr-bm-track-open .wcigr-bm-track:not([hidden]){
	z-index:2147483000;
	opacity:1 !important;
	visibility:visible !important;
	pointer-events:auto !important;
}
.wcigr-bm-track__bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.wcigr-bm-track__title{font-weight:900;letter-spacing:-.01em}
.wcigr-bm-track__close{appearance:none;border:0;background:#f1f5f9;color:#0f172a;border-radius:10px;line-height:1;width:34px;height:34px;font-size:18px;display:flex;align-items:center;justify-content:center}
.wcigr-bm-track-form{display:flex;gap:8px;align-items:center}
.wcigr-bm-track-input{flex:1;min-width:0;border-radius:14px;border:1px solid #e5e7eb;background:#fff;padding:10px 12px;font-size:14px;outline:none}
.wcigr-bm-track-input--mini{max-width:160px;flex:0 0 160px}
.wcigr-bm-track-form__btn{appearance:none;border:0;background:linear-gradient(135deg,var(--wcigr-bm-active,#2563eb),#7c3aed);color:#fff;border-radius:14px;padding:10px 14px;font-size:14px;font-weight:800}
/* OneSignal: compact status + modal (no permanent full-width CTA) */
.wcigr-bm-track-os{margin-top:10px;padding:0}
.wcigr-bm-track-os--guest{padding:10px 12px;border-radius:14px;border:1px solid #e2e8f0;background:linear-gradient(180deg,#f8fafc,#fff)}
.wcigr-bm-track-os__guest-text{margin:0 0 10px;font-size:12px;font-weight:600;color:#475569;line-height:1.45}
.wcigr-bm-track-os__login{display:inline-flex;align-items:center;justify-content:center;appearance:none;border:0;border-radius:12px;padding:10px 14px;font-size:13px;font-weight:800;cursor:pointer;color:#fff;text-decoration:none;background:linear-gradient(135deg,var(--wcigr-bm-active,#2563eb),#7c3aed);box-shadow:0 4px 14px rgba(37,99,235,.28);-webkit-tap-highlight-color:transparent}
.wcigr-bm-track-os__login:hover{color:#fff;opacity:.95}
.wcigr-bm-track-os__login:active{transform:scale(.99);opacity:.92}
body.wcigr-bm-webview .wcigr-bm-track-os__login{min-height:44px}
.wcigr-bm-track-os__subscribed{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:14px;border:1px solid rgba(34,197,94,.38);background:linear-gradient(145deg,rgba(240,253,244,.98),rgba(236,253,245,.92));box-shadow:0 2px 10px rgba(22,163,74,.1)}
.wcigr-bm-track-os__subscribed[hidden]{display:none !important}
.wcigr-bm-track-os__icon{flex-shrink:0;width:22px;height:22px;margin-top:1px;border-radius:50%;background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 2px 8px rgba(34,197,94,.35);position:relative}
.wcigr-bm-track-os__icon::after{content:"\2713";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;color:#fff;line-height:1}
.wcigr-bm-track-os__text{font-size:12px;font-weight:600;color:#14532d;line-height:1.45}
.wcigr-bm-track-os__strong{font-weight:900;color:#166534}
.wcigr-bm-track-os__unsub{padding:2px 0}
.wcigr-bm-track-os__unsub[hidden]{display:none !important}
.wcigr-bm-track-os__unsub-line{font-size:12px;font-weight:600;color:#64748b;line-height:1.5}
.wcigr-bm-track-os__link{appearance:none;border:0;background:none;padding:0;margin:0;font:inherit;font-weight:800;color:var(--wcigr-bm-active,#2563eb);text-decoration:underline;text-underline-offset:2px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.wcigr-bm-track-os__link:hover{color:#1d4ed8}
.wcigr-bm-track-os__link:active{opacity:.88}
/* In-sheet modal */
.wcigr-bm-track-os-dialog{position:absolute;left:0;right:0;top:0;bottom:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:12px;border-radius:inherit;pointer-events:none}
.wcigr-bm-track-os-dialog:not([hidden]){pointer-events:auto}
.wcigr-bm-track-os-dialog[hidden]{display:none !important}
.wcigr-bm-track--os-dialog-open{overflow:hidden !important}
.wcigr-bm-track-os-dialog__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);border-radius:inherit}
.wcigr-bm-track-os-dialog__panel{position:relative;z-index:1;width:100%;max-width:340px;background:#fff;border-radius:16px;padding:14px 16px 16px;box-shadow:0 24px 60px rgba(2,6,23,.28);border:1px solid rgba(148,163,184,.35);animation:wcigrBmOsDlgIn .22s ease both}
@keyframes wcigrBmOsDlgIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.wcigr-bm-track-os-dialog__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}
.wcigr-bm-track-os-dialog__title{font-size:15px;font-weight:900;letter-spacing:-.02em;color:#0f172a;line-height:1.25}
.wcigr-bm-track-os-dialog__x{appearance:none;border:0;background:#f1f5f9;color:#475569;border-radius:10px;width:34px;height:34px;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}
.wcigr-bm-track-os-dialog__x:active{opacity:.9}
.wcigr-bm-track-os-dialog__body{margin:0 0 14px;font-size:12px;font-weight:600;color:#475569;line-height:1.45}
.wcigr-bm-track-os-dialog__actions{display:flex;flex-direction:column;gap:8px}
.wcigr-bm-track-os-dialog__primary{appearance:none;border:0;width:100%;border-radius:12px;padding:11px 14px;font-size:13px;font-weight:800;cursor:pointer;color:#fff;background:linear-gradient(135deg,var(--wcigr-bm-active,#2563eb),#7c3aed);box-shadow:0 6px 18px rgba(37,99,235,.3);-webkit-tap-highlight-color:transparent}
.wcigr-bm-track-os-dialog__primary:active{transform:scale(.99);opacity:.96}
.wcigr-bm-track-os-dialog__secondary{appearance:none;border:0;width:100%;border-radius:12px;padding:9px 12px;font-size:12px;font-weight:700;cursor:pointer;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;-webkit-tap-highlight-color:transparent}
.wcigr-bm-track-os-dialog__secondary:active{opacity:.92}
.wcigr-bm-track-results{margin-top:10px}
.wcigr-bm-track-card{border:1px solid #e2e8f0;background:#fff;border-radius:16px;padding:12px;box-shadow:0 14px 28px rgba(2,6,23,.08);animation:wcigrBmCardIn .32s ease both}
.wcigr-bm-track-card__head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:10px}
.wcigr-bm-track-card__head strong{font-size:14px}
.wcigr-bm-track-card__head span{font-size:12px;color:#334155;font-weight:700;text-transform:capitalize}
.wcigr-track-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.wcigr-track-steps li{position:relative;padding-top:20px;font-size:10px;line-height:1.2;color:#94a3b8;text-align:center}
.wcigr-track-steps li:before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:12px;height:12px;border-radius:999px;background:#cbd5e1;box-shadow:0 0 0 3px #f8fafc}
.wcigr-track-steps li.is-done,.wcigr-track-steps li.is-now{color:#0f172a;font-weight:700}
.wcigr-track-steps li.is-done:before{background:#22c55e}
.wcigr-track-steps li.is-now:before{background:var(--wcigr-bm-active,#2563eb);animation:wcigrPulseDot 1.2s infinite}
.wcigr-bm-track-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.wcigr-bm-track-meta code{font-size:12px;font-weight:700}
.wcigr-bm-track-meta small{font-size:12px;color:#475569}
.wcigr-bm-track-summary{margin-top:10px;padding:0 0 2px;background:#fff;border:1px solid #22c55e;border-radius:14px;overflow:hidden}
.wcigr-bm-track-summary__header{margin:0;padding:10px 12px;background:#16a34a;color:#fff;font-size:12px;font-weight:800;letter-spacing:.02em}
.wcigr-bm-track-summary__grid{margin:0;padding:10px 10px 4px;display:flex;flex-direction:column;gap:6px;background:#f0fdf4}
.wcigr-bm-track-summary__row{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);gap:8px 10px;align-items:start;padding:6px 0;border-bottom:1px solid rgba(34,197,94,.25);font-size:11px}
.wcigr-bm-track-summary__row:last-child{border-bottom:0;padding-bottom:0}
.wcigr-bm-track-summary__row dt{margin:0;font-weight:800;color:#15803d;line-height:1.3}
.wcigr-bm-track-summary__row dd{margin:0;font-weight:600;color:#0f172a;line-height:1.35;word-break:break-word}
.wcigr-bm-track-split{display:grid;gap:14px;margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}
@media (min-width:420px){
	.wcigr-bm-track-split{grid-template-columns:minmax(0,38%) minmax(0,1fr);gap:0;align-items:start}
	.wcigr-bm-track-split__right{border-left:3px solid #22c55e;padding-left:12px;min-width:0}
	.wcigr-bm-track-split__left{min-width:0;padding-right:10px}
}
.wcigr-bm-track-split .wcigr-bm-track-summary{margin-top:0}
.wcigr-bm-track-split .wcigr-bm-track-detail--timeline{margin-top:0;padding-top:0;border-top:0}
.wcigr-bm-track-timeline__heading{margin:0 0 10px;font-size:13px;font-weight:900;color:#0f172a;line-height:1.3;letter-spacing:-.01em}
.wcigr-bm-track-detail--timeline .wcigr-bm-track-detail__title{margin-bottom:10px}
.wcigr-bm-track-photos{margin-top:12px;padding-top:10px;border-top:1px solid #e2e8f0}
.wcigr-bm-track-photos .wcigr-bm-track-detail__title{margin-bottom:8px}
.wcigr-bm-track-photos__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}
.wcigr-bm-track-photos__link{display:block;border-radius:12px;overflow:hidden;border:1px solid #e2e8f0;background:#f8fafc;aspect-ratio:1;-webkit-tap-highlight-color:transparent}
.wcigr-bm-track-photos__link img{width:100%;height:100%;object-fit:cover;display:block;vertical-align:top}
.wcigr-bm-track-detail{margin-top:12px;padding-top:10px;border-top:1px solid #e2e8f0}
.wcigr-bm-track-detail__title{display:block;font-size:11px;font-weight:900;color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px}
.wcigr-bm-track-timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;overflow:visible}
.wcigr-bm-track-timeline--rail{gap:0;overflow:visible}
.wcigr-bm-track-timeline__item{display:flex;flex-direction:column;gap:2px;padding:8px 10px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}
.wcigr-bm-track-timeline__item--legacy{display:flex;flex-direction:column;gap:2px;padding:8px 10px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}
.wcigr-bm-track-timeline__item--rail{display:grid;grid-template-columns:minmax(0,30%) 32px minmax(0,1fr);gap:6px 8px;align-items:start;padding:10px 4px 10px 0;background:transparent;border:0;border-radius:0;border-bottom:1px solid #e2e8f0}
.wcigr-bm-track-timeline__item--rail:last-child{border-bottom:0}
.wcigr-bm-track-rail__time{font-size:10px;font-weight:700;color:#64748b;line-height:1.35;word-break:break-word}
.wcigr-bm-track-rail__axis{position:relative;display:flex;justify-content:center;padding-top:2px}
.wcigr-bm-track-rail__axis::before{content:"";position:absolute;top:30px;bottom:-14px;left:50%;width:2px;margin-left:-1px;background:#e2e8f0;border-radius:1px}
.wcigr-bm-track-timeline__item--rail:last-child .wcigr-bm-track-rail__axis::before{display:none}
.wcigr-bm-track-rail__glyph{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#475569;color:#fff;font-size:11px;font-weight:800;line-height:1;flex-shrink:0;position:relative;z-index:1}
.wcigr-bm-track-rail__glyph--delivered::after{content:"\2713"}
.wcigr-bm-track-rail__glyph--out::after{content:"\25A4"}
.wcigr-bm-track-rail__glyph--transit::after{content:"\27A4"}
.wcigr-bm-track-rail__glyph--booked::after{content:"\270E"}
.wcigr-bm-track-rail__glyph--default::after{content:"\2022";font-size:14px;font-weight:900}
.wcigr-bm-track-rail__body{display:flex;flex-direction:column;gap:3px;min-width:0;padding-top:1px}
.wcigr-bm-track-rail__title{font-size:12px;font-weight:800;color:#0f172a;line-height:1.35}
.wcigr-bm-track-rail__detail{font-size:11px;font-weight:600;color:#64748b;line-height:1.35;word-break:break-word}
.wcigr-bm-track-timeline__text{font-size:12px;font-weight:700;color:#0f172a;line-height:1.35}
.wcigr-bm-track-timeline__at{font-size:10px;font-weight:700;color:#64748b}
.wcigr-bm-track-care{margin-top:14px;padding-top:12px;border-top:1px solid rgba(148,163,184,.35)}
.wcigr-bm-track-care__title{display:block;font-size:12px;font-weight:900;color:#0f172a;margin-bottom:4px}
.wcigr-bm-track-care__hint{margin:0 0 10px;font-size:11px;font-weight:600;color:#64748b;line-height:1.3}
.wcigr-bm-track-care__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.wcigr-bm-track-care__item{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 12px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:14px}
.wcigr-bm-track-care__label{font-size:11px;font-weight:800;color:#1e40af;text-transform:uppercase;letter-spacing:.03em}
.wcigr-bm-track-care__tel{font-size:15px;font-weight:900;color:var(--wcigr-bm-active,#2563eb);text-decoration:none;min-height:44px;display:inline-flex;align-items:center;-webkit-tap-highlight-color:transparent}
.wcigr-bm-track-care__tel:active{opacity:.88}
@keyframes wcigrPulseDot{0%{box-shadow:0 0 0 0 rgba(37,99,235,.35)}70%{box-shadow:0 0 0 8px rgba(37,99,235,0)}100%{box-shadow:0 0 0 0 rgba(37,99,235,0)}}
.wcigr-bm-search__bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.wcigr-bm-search__title{font-weight:800;letter-spacing:-.01em}
.wcigr-bm-search__close{appearance:none;border:0;background:#f1f5f9;color:#0f172a;border-radius:10px;line-height:1;width:34px;height:34px;font-size:18px;display:flex;align-items:center;justify-content:center}
.wcigr-bm-cart-panel{position:fixed;left:10px;right:10px;bottom:calc(var(--wcigr-bm-h,74px) + 10px);z-index:1000002;background:#fff;border:1px solid rgba(148,163,184,.32);border-radius:20px;padding:12px;box-shadow:0 22px 60px rgba(2,6,23,.18)}
.wcigr-bm-cart-panel__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;gap:8px}
.wcigr-bm-cart-head-actions{display:flex;align-items:center;gap:8px}
.wcigr-bm-cart-empty{appearance:none;border:1px solid #fecaca;background:#fff1f2;color:#b91c1c;border-radius:10px;padding:6px 10px;font-size:12px;font-weight:900;line-height:1.2;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.wcigr-bm-cart-empty:active{transform:scale(.98)}
.wcigr-bm-cart-empty:disabled,.wcigr-bm-cart-empty.is-busy{opacity:.72;pointer-events:none}
.wcigr-bm-cart-close{appearance:none;border:0;background:#f1f5f9;border-radius:6px;line-height:1;padding:4px 8px;font-size:18px}
.wcigr-bm-cart-items{max-height:48vh;overflow:auto}
.wcigr-bm-cart-foot{margin-top:10px;display:grid;grid-template-columns:1fr;gap:8px}
.wcigr-bm-checkout{background:linear-gradient(135deg,var(--wcigr-bm-checkout-start, var(--wcigr-bm-active,#2563eb)),var(--wcigr-bm-checkout-end,#7c3aed));border:0;color:var(--wcigr-bm-checkout-text,#fff);border-radius:14px;padding:10px 12px;font-weight:900;box-shadow:0 14px 34px rgba(37,99,235,.25);transition:transform .12s ease,box-shadow .12s ease}
.wcigr-bm-checkout:hover{transform:translateY(-1px)}
.wcigr-bm-checkout{font-size:clamp(12px,3.2vw,14px);line-height:1.2}
.wcigr-bm-checkout.is-busy{opacity:.85;pointer-events:none}
.wcigr-bm-cart-panel a.button.wcigr-bm-checkout{
	background:linear-gradient(135deg,var(--wcigr-bm-checkout-start, var(--wcigr-bm-active,#2563eb)),var(--wcigr-bm-checkout-end,#7c3aed)) !important;
	color:var(--wcigr-bm-checkout-text,#fff) !important;
	border:0 !important;
	border-radius:14px !important;
	box-shadow:0 14px 34px rgba(37,99,235,.25) !important;
}
.wcigr-bm-cart-panel a.button.wcigr-bm-checkout,
.wcigr-bm-cart-panel a.button.wcigr-bm-checkout{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	white-space:nowrap;
}

@media (max-width: 380px){
	.wcigr-bm-cart-foot{grid-template-columns:1fr}
	.wcigr-bm-cart-panel a.button.wcigr-bm-checkout{width:100%}
	.wcigr-bm-cart-panel{padding:12px}
}

/* Portrait/small-height devices: keep the bar shorter so it never hides CTAs. */
@media (max-height: 700px){
	.wcigr-bm{padding:6px 6px calc(max(2px, env(safe-area-inset-bottom, 0px)) + var(--wcigr-bm-underfill, 0px))}
	.wcigr-bm__item{min-height:44px;padding:6px 4px}
	.wcigr-bm-search{bottom:calc(var(--wcigr-bm-h,64px) + 8px + var(--wcigr-search-kb-inset, 0px))}
	.wcigr-bm-cart-panel{bottom:calc(var(--wcigr-bm-h,64px) + 8px)}
	.wcigr-bm-track{bottom:calc(var(--wcigr-bm-h,64px) + 8px + var(--wcigr-kb-inset, 0px))}
	.wcigr-bm-toast{bottom:calc(var(--wcigr-bm-h,64px) + 6px)}
}

/* Android WebView tends to have a shorter visual viewport; keep the bar compact. */
body.wcigr-bm-webview .wcigr-bm{padding:6px 6px calc(max(2px, env(safe-area-inset-bottom, 0px)) + var(--wcigr-bm-underfill, 0px))}
body.wcigr-bm-webview .wcigr-bm__item{min-height:44px;padding:6px 4px}
body.wcigr-bm-webview .wcigr-bm-search{bottom:calc(var(--wcigr-bm-h,64px) + 8px + var(--wcigr-search-kb-inset, 0px))}
body.wcigr-bm-webview .wcigr-bm-cart-panel{bottom:calc(var(--wcigr-bm-h,64px) + 8px)}
body.wcigr-bm-webview .wcigr-bm-track{bottom:calc(var(--wcigr-bm-h,64px) + 8px + var(--wcigr-kb-inset, 0px))}
body.wcigr-bm-webview .wcigr-bm-track-os-dialog__primary{min-height:44px}
body.wcigr-bm-webview .wcigr-bm-track-os__link{min-height:44px;display:inline-flex;align-items:center}
body.wcigr-bm-webview .wcigr-bm-toast{bottom:calc(var(--wcigr-bm-h,64px) + 6px)}
body.wcigr-bm-webview .wcigr-bm{left:0;right:0;bottom:0;position:fixed !important}
.wcigr-bm-search form{display:flex;gap:8px;align-items:center}
.wcigr-bm-search input[type="search"]{flex:1;min-width:0;border-radius:14px;border:1px solid #e5e7eb;background:#fff;padding:10px 12px;font-size:14px;outline:none}
.wcigr-bm-search-form__btn{appearance:none;border:0;background:var(--wcigr-bm-active,#2563eb);color:#fff;border-radius:14px;padding:10px 14px;font-size:14px;font-weight:700}
.wcigr-bm-search-form__btn:active{transform:scale(.98)}
/* --wcigr-bm-h is measured from the real bar (includes bottom/safe-area padding). Avoid +N px here — it showed as a gap above the bar on mobile. */
body.wcigr-bm-on{padding-bottom:var(--wcigr-bm-h,74px)}
body.wcigr-bm-lock-scroll{overflow:hidden}

.wcigr-bm-modal{position:fixed;inset:0;z-index:10020;background:rgba(2,6,23,.5);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:10px}
.wcigr-bm-modal[hidden]{display:none}
.wcigr-bm-modal__overlay{position:absolute;inset:0}
.wcigr-bm-modal__panel{position:relative;width:100%;height:calc(100vh - 20px);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.35);display:flex;flex-direction:column}
.wcigr-bm-modal__head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e5e7eb;flex:0 0 auto}
.wcigr-bm-modal__title{font-weight:900;letter-spacing:-.01em}
.wcigr-bm-modal__close{appearance:none;border:0;background:#f1f5f9;color:#0f172a;border-radius:12px;line-height:1;width:40px;height:40px;font-size:20px;display:flex;align-items:center;justify-content:center}
.wcigr-bm-modal__frame{flex:1;min-height:0;position:relative;display:flex;flex-direction:column;background:#f8fafc}
.wcigr-bm-modal__iframe{flex:1;border:0;width:100%;min-height:0;background:#fff}
.wcigr-bm-modal__frame.is-loading .wcigr-bm-modal__iframe{opacity:0;pointer-events:none}
.wcigr-bm-modal__loading{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;background:linear-gradient(180deg,#f1f5f9 0%,#ffffff 55%);text-align:center}
.wcigr-bm-modal__loading[hidden]{display:none !important}
.wcigr-bm-modal__loading-text{margin:0;font-weight:800;font-size:14px;color:#0f172a}
.wcigr-bm-modal__spinner{width:40px;height:40px;border-radius:50%;border:3px solid rgba(37,99,235,.22);border-top-color:var(--wcigr-bm-active,#2563eb);animation:wcigrBmSpin .85s linear infinite}
@keyframes wcigrBmSpin{to{transform:rotate(360deg)}}
.wcigr-bm-modal.wcigr-bm-modal--app{padding:0;background:rgba(2,6,23,.35)}
.wcigr-bm-modal.wcigr-bm-modal--app .wcigr-bm-modal__panel{width:100%;height:100vh;max-height:100vh;border-radius:0}
.wcigr-bm-modal.wcigr-bm-modal--app .wcigr-bm-modal__head{display:none}
.wcigr-bm-search-results{max-height:50vh;overflow:auto;margin-top:8px}
.wcigr-bm-search-results .wcigr-bm-row{
	border:1px solid #eef2f7;
	background:#ffffff;
	border-radius:16px;
	padding:10px 10px;
	box-shadow:0 12px 30px rgba(2,6,23,.06);
	transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
	grid-template-columns:52px minmax(0,1fr) auto;
}
.wcigr-bm-search-results .wcigr-bm-row:hover{
	transform:translateY(-1px);
	box-shadow:0 18px 44px rgba(2,6,23,.10);
	border-color:#e5e7eb;
}
.wcigr-bm-search-results .wcigr-bm-thumb img{width:52px;height:52px;border-radius:14px}
.wcigr-bm-search-results .wcigr-bm-name{font-weight:900;font-size:13px}
.wcigr-bm-search-results .wcigr-bm-price{
	display:inline-block;
	margin-top:4px;
	background:#f1f5ff;
	color:#1d4ed8;
	padding:4px 8px;
	border-radius:999px;
	font-weight:900;
	font-size:12px;
}
.wcigr-bm-search-results .wcigr-bm-add{
	background:linear-gradient(135deg,var(--wcigr-bm-active,#2563eb),#7c3aed);
	border:0;
	color:#fff;
	border-radius:14px;
	padding:10px 14px;
	line-height:1;
	font-weight:900;
	box-shadow:0 14px 34px rgba(37,99,235,.25);
	transition:transform .12s ease,box-shadow .12s ease;
}
.wcigr-bm-search-results .wcigr-bm-add:hover{
	transform:translateY(-1px);
	box-shadow:0 18px 44px rgba(37,99,235,.32);
}
.wcigr-bm-search-results.is-loaded .wcigr-bm-row{
	animation:wcigrBmCardIn .35s ease both;
	opacity:0;
}
@keyframes wcigrBmCardIn{
	from{opacity:0;transform:translateY(6px) scale(.985)}
	to{opacity:1;transform:translateY(0) scale(1)}
}
.wcigr-bm-search-empty .wcigr-bm-note{margin:0;padding:8px 0}
.wcigr-bm-skeleton{height:86px;border-radius:14px;border:1px solid #eef2f7;background:#f1f5f9;position:relative;overflow:hidden}
.wcigr-bm-skeleton:before{content:"";position:absolute;inset:-40px;background:linear-gradient(90deg,rgba(241,245,249,0) 0,rgba(255,255,255,.9) 45%,rgba(241,245,249,0) 100%);transform:translateX(-60%);animation:wcigrBmShimmer 1.05s infinite}
@keyframes wcigrBmShimmer{to{transform:translateX(60%)}}
.wcigr-bm-note{margin:8px 0;font-size:12px;color:#64748b}
.wcigr-bm-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.wcigr-bm-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px}
.wcigr-bm-cart-items .wcigr-bm-row.wcigr-bm-cart-line{grid-template-columns:44px minmax(0,1fr) auto 36px;align-items:stretch}
.wcigr-bm-item-remove{appearance:none;border:0;background:#f1f5f9;color:#64748b;border-radius:10px;width:36px;min-height:44px;font-size:20px;line-height:1;font-weight:800;display:inline-flex;align-items:center;justify-content:center;-webkit-tap-highlight-color:transparent}
.wcigr-bm-item-remove:active{background:#fee2e2;color:#b91c1c}
.wcigr-bm-thumb img{width:44px;height:44px;object-fit:cover;border-radius:6px}
.wcigr-bm-meta{min-width:0}
.wcigr-bm-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:#111;text-decoration:none}
.wcigr-bm-price{font-size:12px;color:#475569}
.wcigr-bm-add{padding:4px 10px;line-height:1.6}
.wcigr-bm-qty{display:inline-flex;align-items:center;gap:6px}
.wcigr-bm-qty-btn{appearance:none;border:1px solid #cbd5e1;background:#fff;border-radius:6px;min-width:24px;height:24px;line-height:1}
.wcigr-bm-pop{animation:wcigrBmPop var(--wcigr-bm-anim-duration,.38s) ease}
.wcigr-bm-badge-pop{animation:wcigrBmBadge var(--wcigr-bm-anim-duration,.38s) ease}
.wcigr-bm-btn-pop{animation:wcigrBmBtn var(--wcigr-bm-anim-duration,.38s) ease}
.wcigr-bm-fly{position:fixed;z-index:10005;width:10px;height:10px;border-radius:999px;background:var(--wcigr-bm-active,#2563eb);box-shadow:0 0 0 3px rgba(37,99,235,.18);pointer-events:none;transition:transform var(--wcigr-bm-fly-duration,.45s) cubic-bezier(.22,.78,.24,1),opacity var(--wcigr-bm-fly-duration,.45s) ease}
@keyframes wcigrBmPop{0%{transform:scale(1)}45%{transform:scale(var(--wcigr-bm-pop-scale,1.09))}100%{transform:scale(1)}}
@keyframes wcigrBmBadge{0%{transform:scale(1)}45%{transform:scale(var(--wcigr-bm-badge-scale,1.24))}100%{transform:scale(1)}}
@keyframes wcigrBmBtn{0%{transform:scale(1)}45%{transform:scale(var(--wcigr-bm-btn-scale,1.06))}100%{transform:scale(1)}}
.wcigr-bm-toast{position:fixed;left:50%;bottom:calc(var(--wcigr-bm-h,74px) + 8px);transform:translateX(-50%) translateY(8px);opacity:0;background:#0f172a;color:#fff;font-size:12px;line-height:1;padding:9px 12px;border-radius:999px;z-index:10010;pointer-events:none;transition:opacity .18s ease,transform .18s ease}
.wcigr-bm-toast.is-show{opacity:1;transform:translateX(-50%) translateY(0)}
.wcigr-bm-reduce-motion .wcigr-bm-fly{display:none !important}
.wcigr-bm-reduce-motion .wcigr-bm-pop,
.wcigr-bm-reduce-motion .wcigr-bm-badge-pop,
.wcigr-bm-reduce-motion .wcigr-bm-btn-pop{animation-duration:160ms !important}
@media (prefers-reduced-motion: reduce){
  .wcigr-bm-pop,.wcigr-bm-badge-pop,.wcigr-bm-btn-pop{animation-duration:160ms !important}
  .wcigr-bm-fly{display:none !important}
  .wcigr-bm-toast{transition:none}
}
