/* W2FOOTER_COMPACT_V1_260615_1130 — MOBILE-ONLY compact composer. Scoped to body.w2-footer-compact,
   which w2footer.js adds ONLY when innerWidth<=480 => web is never touched.
   Fully reversible (drop the class). No bundle rewrite. Loads after w2skin/w2cart. */
:root{ --w2fc-idle:152px; --w2fc-edit:116px; }

/* stick closer to the bottom */
body.w2-footer-compact .w2-foot{
  padding:0 10px max(6px, env(safe-area-inset-bottom)) !important;
}
/* tighter glass bubble */
body.w2-footer-compact .w2-foot-bubble{
  padding:8px !important; gap:7px !important; border-radius:20px !important;
  box-shadow:0 10px 30px rgba(60,40,28,.18), inset 0 1px 0 rgba(255,255,255,.9) !important;
}
/* input row: smaller but keeps a 44px touch target */
body.w2-footer-compact .w2-foot-input{
  padding:9px 14px !important; min-height:44px !important; border-radius:13px !important;
}
body.w2-footer-compact .w2-foot-field{ font-size:17px !important; }
/* CTA: keep its internals, just trim padding/font, keep >=46px */
body.w2-footer-compact .w2-foot-cta{
  padding:12px 14px !important; min-height:46px !important; border-radius:13px !important; font-size:15px !important;
}
body.w2-footer-compact .w2-foot-usd{ font-size:26px !important; line-height:1 !important; }
body.w2-footer-compact .w2-foot-gbt{ font-size:12px !important; line-height:1 !important; }
/* idle reserve driven by target footer height, not a guessed 190 */
body.w2-footer-compact .scroll{
  padding-bottom:calc(var(--w2fc-idle) + env(safe-area-inset-bottom)) !important;
  transition:padding-bottom .2s ease;
}
/* smooth collapse hook for editing mode */
body.w2-footer-compact .w2-foot-actions{
  transition:max-height .2s ease, opacity .18s ease, margin .2s ease;
  max-height:64px; overflow:hidden;
}
/* EDITING (typing the word): drop the buy row, give the shirt room */
body.w2-footer-compact.w2-keyboard-on .w2-foot-actions{
  max-height:0 !important; opacity:0 !important; margin:0 !important; pointer-events:none !important;
}
body.w2-footer-compact.w2-keyboard-on .w2-foot-bubble{ gap:0 !important; padding:7px 8px !important; }
body.w2-footer-compact.w2-keyboard-on .scroll{
  padding-bottom:calc(var(--w2fc-edit) + env(safe-area-inset-bottom)) !important;
}
