/* Load after storefront, support and vial notes. No duplicate case artwork. */
.mobile-cases-chrome, .mobile-cases-close { display:none; }

@media (max-width:760px) {
  body.mobile-cases-enabled { --mobile-cases-bar-space:calc(80px + env(safe-area-inset-bottom,0px)); padding-bottom:var(--mobile-cases-bar-space); }
  .mobile-cases-enabled .mobile-cases-chrome { display:block; }
  .mobile-cases-launcher { position:fixed; left:0; right:0; bottom:0; z-index:80; display:flex; align-items:center; gap:12px; width:100%; min-height:80px; padding:13px max(16px,env(safe-area-inset-right,0px)) calc(13px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px)); border:0; border-top:1px solid #e4c58d; border-radius:0; background:linear-gradient(115deg,#21252a,#34352e); color:#fff9ed; box-shadow:0 -6px 24px #22251d26; text-align:left; font-family:var(--body,'Segoe UI',sans-serif); }
  .mobile-cases-launcher-icon { display:grid; place-items:center; flex:0 0 43px; width:43px; height:43px; border:1px solid #ac8b54; border-radius:10px; background:#d6ac5a15; color:#edc582; }
  .mobile-cases-launcher-icon svg { width:27px; height:27px; stroke:currentColor; stroke-width:1.4; stroke-linejoin:round; stroke-linecap:round; }
  .mobile-cases-launcher-copy { display:grid; gap:5px; min-width:0; }
  .mobile-cases-launcher-copy strong { color:#fff9ed; font:700 16px/1.15 var(--body,'Segoe UI',sans-serif); letter-spacing:-.02em; }
  .mobile-cases-launcher-copy small { color:#c7cbbf; font:450 11px/1.3 var(--body,'Segoe UI',sans-serif); }
  .mobile-cases-launcher-total { display:grid; gap:5px; margin-left:auto; text-align:right; white-space:nowrap; }
  .mobile-cases-launcher-total small { color:#c6b995; font:500 9px/1.2 var(--body,'Segoe UI',sans-serif); }
  .mobile-cases-launcher-total strong { color:#f3d092; font:750 17px/1.15 var(--body,'Segoe UI',sans-serif); font-variant-numeric:tabular-nums; }
  .mobile-cases-launcher-arrow { margin-left:3px; color:#e3c68e; font:500 23px/1 var(--body,'Segoe UI',sans-serif); }
  .mobile-cases-launcher:focus-visible, .mobile-cases-close:focus-visible { outline:3px solid #dfb56e; outline-offset:-5px; }
  .mobile-cases-backdrop { position:fixed; inset:0; z-index:84; background:#1118208c; backdrop-filter:blur(3px); }
  .mobile-cases-open .mobile-cases-launcher { visibility:hidden; pointer-events:none; }
  .mobile-cases-enabled #catalog-cases.mobile-cases-panel { position:fixed; inset:auto 0 0; z-index:85; display:flex; flex-direction:column; width:100%; height:88vh; height:88dvh; max-height:calc(100dvh - env(safe-area-inset-top,0px) - 18px); margin:0; padding:26px 16px calc(14px + env(safe-area-inset-bottom,0px)); border:1px solid #cbb489; border-bottom:0; border-radius:22px 22px 0 0; background:radial-gradient(ellipse at 50% 25%,#fffefa,transparent 75%),#f2f0e8; box-shadow:0 -15px 65px #10191c35; overflow:visible; }
  .mobile-cases-panel:before { content:''; position:absolute; top:9px; left:calc(50% - 23px); width:46px; height:4px; border-radius:99px; background:#c7bdab; }
  .mobile-cases-panel.mobile-cases-panel-open { animation:mobile-cases-reveal .2s ease-out; }
  .mobile-cases-enabled .mobile-cases-panel > .your-cases-heading { display:flex; align-items:center; flex:none; min-height:44px; gap:10px; margin:0; padding:0 0 10px; }
  .mobile-cases-enabled .mobile-cases-panel .your-cases-heading h2 { font-size:30px; line-height:1; }
  .mobile-cases-enabled .mobile-cases-panel .your-cases-heading > span { display:none; }
  .mobile-cases-enabled .mobile-cases-close { display:grid; place-items:center; flex:0 0 44px; width:44px; min-height:44px; margin-left:auto; padding:0; border:1px solid #cbbb9d; border-radius:50%; background:#fffdf7; color:#42473c; font:400 28px/1 var(--body,'Segoe UI',sans-serif); }
  .mobile-cases-enabled .mobile-cases-panel .case-interaction-guide { flex:none; margin:0 0 12px; color:#777565; font-size:12px; line-height:1.5; }
  .mobile-cases-enabled .mobile-cases-panel #your-cases-display { flex:1; min-height:0; padding:0 1px 12px; overflow-y:auto; overscroll-behavior-y:contain; -webkit-overflow-scrolling:touch; scrollbar-width:thin; scrollbar-color:#bcab8c transparent; }
  .mobile-cases-panel .cases-overview { padding-top:4px; }
  .mobile-cases-panel .cases-checkout { margin-bottom:16px; }
  .mobile-cases-enabled .mobile-cases-panel .cart-cases-grid, .mobile-cases-enabled .mobile-cases-panel .cart-cases-grid.is-single { grid-template-columns:minmax(0,1fr); gap:20px; }
  .mobile-cases-enabled .mobile-cases-panel .cart-case, .mobile-cases-enabled .mobile-cases-panel .cart-cases-grid.is-single .cart-case { width:100%; max-width:none; padding:11px 8px 12px; }
  .mobile-cases-panel .cart-case figcaption { gap:8px; margin-bottom:8px; }
  .mobile-cases-panel .case-select, .mobile-cases-panel .case-clear { min-height:38px; padding:8px 11px; }
  .mobile-cases-panel .cart-case figcaption > span { font-size:10px; }
  .mobile-cases-panel .cart-case-contents li { font-size:12px; line-height:1.5; }
  .mobile-cases-panel .cart-case-photo .vial-case-art { display:block; width:100%; height:auto; max-width:none; }
  .mobile-cases-enabled .pbrx-support { bottom:calc(var(--mobile-cases-bar-space) + 13px); }
  .mobile-cases-enabled .pbrx-chat { height:min(650px,calc(100dvh - var(--mobile-cases-bar-space) - 100px)); min-height:min(390px,calc(100dvh - var(--mobile-cases-bar-space) - 100px)); }
  .mobile-cases-open .pbrx-support__launchers { visibility:hidden; pointer-events:none; }
  .mobile-cases-open .pbrx-chat:not([hidden]) { visibility:visible; }
  @keyframes mobile-cases-reveal { from { opacity:.35; } to { opacity:1; } }
}

@media (max-width:360px) {
  .mobile-cases-launcher { gap:9px; }
  .mobile-cases-launcher-icon { width:36px; height:38px; flex-basis:36px; }
  .mobile-cases-launcher-copy strong { font-size:15px; }
  .mobile-cases-launcher-copy small { font-size:10px; }
  .mobile-cases-launcher-total strong { font-size:15px; }
  .mobile-cases-launcher-arrow { display:none; }
  .mobile-cases-enabled #catalog-cases.mobile-cases-panel { padding-inline:12px; }
}
@media (prefers-reduced-motion:reduce) { .mobile-cases-panel.mobile-cases-panel-open { animation:none; } .mobile-cases-backdrop { backdrop-filter:none; } }
