#mm-messenger { font: 15px/1.5 Arial, Helvetica, sans-serif; color: #181818; position: relative; z-index: 2147483000; }
#mm-messenger *, #mm-messenger *::before, #mm-messenger *::after { box-sizing: border-box; }
#mm-messenger [hidden] { display: none !important; }
#mm-messenger button { font: inherit; cursor: pointer; }
#mm-messenger button:focus-visible { outline: 3px solid #00468b; outline-offset: 3px; }

/* The only floating chat button on the site. Its ring and wordmark are the
   MarineMax brand; the conversation itself is Tawk.to's branded panel. */
#mm-messenger .mm-chat-launcher { position: fixed; right: 20px; bottom: var(--mm-support-bottom, 20px); display: flex; align-items: center; justify-content: center; gap: 0; height: 62px; padding: 0 15px; border: 3px solid #ee3124; border-radius: 999px; background: #fff; background-image: linear-gradient(110deg, #fff 28%, #fff6f5 46%, #fff 64%); background-size: 260% 100%; color: #00468b; box-shadow: 0 12px 30px rgba(10, 14, 18, .26); transform-origin: center; transition: transform .18s ease, box-shadow .18s ease, padding .3s ease, gap .3s ease, opacity .2s ease; animation: mm-float 6s ease-in-out infinite, mm-glow 4.5s ease-in-out infinite, mm-shine 7s linear infinite; }
#mm-messenger .mm-chat-launcher:hover { animation-play-state: paused; }
#mm-messenger .mm-chat-launcher:hover .mm-chat-launcher__mark img { transform: scale(1.05); }
#mm-messenger .mm-chat-launcher__mark img { transition: transform .2s ease; }
@keyframes mm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes mm-glow { 0%, 100% { box-shadow: 0 12px 30px rgba(10, 14, 18, .26), 0 0 0 0 rgba(238, 49, 36, .32); } 55% { box-shadow: 0 17px 40px rgba(10, 14, 18, .32), 0 0 0 12px rgba(238, 49, 36, 0); } }
@keyframes mm-shine { 0%, 62% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
#mm-messenger .mm-chat-launcher.is-turning { animation: mm-turn .9s cubic-bezier(.2, .7, .2, 1); }
@keyframes mm-turn { 0% { transform: rotateY(0); } 50% { transform: rotateY(180deg) scale(1.05); } 100% { transform: rotateY(360deg); } }
#mm-messenger .mm-chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(10, 14, 18, .32); }
#mm-messenger .mm-chat-launcher__mark { display: flex; align-items: center; justify-content: center; perspective: 600px; }
#mm-messenger .mm-chat-launcher__mark img { display: block; width: 92px; height: auto; }
#mm-messenger .mm-chat-launcher.is-spinning .mm-chat-launcher__mark img { animation: mm-mark-spin .9s ease-in-out; }
@keyframes mm-mark-spin { 0% { transform: rotateY(0); } 100% { transform: rotateY(360deg); } }
#mm-messenger .mm-chat-launcher.is-flipping { animation: mm-launcher-flip .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes mm-launcher-flip { 0% { transform: rotateY(0); } 45% { transform: rotateY(90deg) scale(.94); } 55% { transform: rotateY(-90deg) scale(.94); } 100% { transform: rotateY(0); } }
#mm-messenger .mm-chat-launcher__label { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font: 700 13px/1 inherit; color: #00468b; transition: max-width .35s ease, opacity .22s ease, margin .3s ease; }
#mm-messenger .mm-chat-launcher.is-awake { gap: 10px; padding-right: 18px; }
#mm-messenger .mm-chat-launcher.is-awake .mm-chat-launcher__label { max-width: 210px; opacity: 1; animation: mm-label-in .32s ease-out; }
@keyframes mm-label-in { from { opacity: 0; transform: translateX(-5px); } to { opacity: 1; transform: none; } }
#mm-messenger .mm-chat-badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid #fff; border-radius: 12px; background: #ee3124; color: #fff; font-size: 12px; font-weight: 700; line-height: 18px; text-align: center; }
html.mm-tawk-open #mm-messenger .mm-chat-launcher { opacity: 0; pointer-events: none; transform: scale(.6); }

/* Reminder bubble: shown for 7s, hidden for 8s, repeat. Dismiss stops it for the session. */
#mm-messenger .mm-chat-nudge { position: fixed; right: 20px; bottom: calc(var(--mm-support-bottom, 20px) + 76px); z-index: 2147483000; width: min(330px, calc(100vw - 40px)); padding: 13px 14px 12px; border: 1px solid #dfe3e6; border-radius: 16px; background: #fff; color: #181818; box-shadow: 0 18px 44px rgba(10, 14, 18, .22); cursor: pointer; animation: mm-nudge-in .28s ease-out; }
@keyframes mm-nudge-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
#mm-messenger .mm-chat-nudge::after { content: ''; position: absolute; right: 26px; bottom: -8px; width: 14px; height: 14px; background: #fff; border-right: 1px solid #dfe3e6; border-bottom: 1px solid #dfe3e6; transform: rotate(45deg); }
#mm-messenger .mm-chat-nudge__head { display: flex; align-items: center; gap: 9px; }
#mm-messenger .mm-chat-nudge__head img { display: block; width: 26px; height: 26px; border-radius: 8px; }
#mm-messenger .mm-chat-nudge__head strong { flex: 1; font-size: 12.5px; letter-spacing: .02em; color: #00468b; }
#mm-messenger .mm-chat-nudge__close { border: 0; background: transparent; color: #6a7680; font-size: 20px; line-height: 1; padding: 2px 4px; }
#mm-messenger .mm-chat-nudge p { margin: 9px 0 0; font-size: 13px; line-height: 1.5; color: #3f4b55; white-space: pre-wrap; overflow-wrap: anywhere; max-height: min(46vh, 380px); overflow: auto; }
html.mm-tawk-open #mm-messenger .mm-chat-nudge { display: none !important; }

@media (max-width: 767px) {
  #mm-messenger .mm-chat-launcher { right: 14px; bottom: max(var(--mm-support-bottom, 14px), env(safe-area-inset-bottom)); height: 58px; padding: 0 13px; }
  #mm-messenger .mm-chat-launcher__mark img { width: 82px; }
  #mm-messenger .mm-chat-launcher.is-awake { padding-right: 15px; }
  #mm-messenger .mm-chat-launcher.is-awake .mm-chat-launcher__label { max-width: 150px; font-size: 12px; }
  #mm-messenger .mm-chat-nudge { right: 14px; bottom: calc(var(--mm-support-bottom, 14px) + 70px); width: calc(100vw - 28px); }
}
@media (prefers-reduced-motion: reduce) {
  #mm-messenger .mm-chat-launcher, #mm-messenger .mm-chat-launcher__label, #mm-messenger .mm-chat-launcher__mark img { transition: none; animation: none; }
  #mm-messenger .mm-chat-launcher.is-flipping, #mm-messenger .mm-chat-launcher.is-turning, #mm-messenger .mm-chat-launcher.is-spinning .mm-chat-launcher__mark img { animation: none; }
  #mm-messenger .mm-chat-nudge, #mm-messenger .mm-chat-launcher.is-awake .mm-chat-launcher__label { animation: none; }
}

/* MarineMax footer over the Tawk panel where the provider's branding frame sat.
   The frame itself is display:none; this fills the same 45px strip. */
#mm-tawk-brand { position: fixed; z-index: 2147483002; display: flex; align-items: center; justify-content: center; gap: 5px; height: 45px; border-top: 1px solid #eee; border-radius: 0 0 18px 18px; background: #fff; color: #6a7680; font: 700 11px/1 Arial, Helvetica, sans-serif; letter-spacing: .03em; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
#mm-tawk-brand.is-on { opacity: 1; }
#mm-tawk-brand b { color: #00468b; font-weight: 800; }
@media (max-width: 767px) { #mm-tawk-brand { border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { #mm-tawk-brand { transition: none; } }
