/* =========================================================
   THE RIVER RAT CO. — BOTTOM SECTION FIX
   Replace the OLD bottom/manatee/footer CSS with this block.
   ========================================================= */

/* ---------- KEEP FLORIDA FLOATING ---------- */
.image-water,
.manatee-water {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #062536 !important;
}

.image-water > img,
.manatee-water > img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
}

/* ---------- SHOP + FOLLOW: TRUE 50 / 50 ---------- */
.bottom-panels,
.bottom-panels.bottom-two,
.bottom-panels.final-panels {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #061b2a !important;
  overflow: visible !important;
}

.bottom-panels .bottom-panel,
.bottom-panels.bottom-two .bottom-panel,
.bottom-panels.final-panels .bottom-panel {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #061b2a !important;
}

/* IMPORTANT: do not use object-fit:cover here */
.bottom-panels .bottom-panel > img,
.bottom-panels.bottom-two .bottom-panel > img,
.bottom-panels.final-panels .bottom-panel > img {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Entire Shop image is clickable */
.shop-panel .panel-hit,
.bottom-panel .panel-hit {
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;
  display: block !important;
}

/* ---------- FOLLOW SOCIAL BUTTONS ---------- */
.follow-panel .social-links {
  position: absolute !important;
  z-index: 10 !important;
  left: 5.2% !important;
  bottom: 7.5% !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.follow-panel .social-links a {
  display: grid !important;
  place-items: center !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #111 !important;
  text-decoration: none !important;
  font: 900 25px/1 Arial, Helvetica, sans-serif !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.28) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}

.follow-panel .social-links a:hover {
  transform: translateY(-3px) scale(1.04) !important;
  box-shadow: 0 7px 20px rgba(0,0,0,.32) !important;
}

.follow-panel .social-links a:focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 4px !important;
}

/* Remove any obsolete fallback line below the panels */
.bottom-note {
  display: none !important;
}

/* ---------- COMPACT FOOTER ---------- */
footer {
  display: grid !important;
  grid-template-columns: 220px minmax(0,1fr) auto !important;
  align-items: center !important;
  gap: 30px !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 22px 4vw !important;
  background: #03131e !important;
  color: #f1e9d9 !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
}

footer img {
  display: block !important;
  width: 180px !important;
  max-width: 100% !important;
  height: 76px !important;
  object-fit: contain !important;
  object-position: left center !important;
  margin: 0 !important;
  filter: brightness(0) invert(1) !important;
}

footer > div {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

footer .legal {
  text-align: right !important;
}

/* ---------- TABLET / PHONE ---------- */
@media (max-width: 900px) {
  .bottom-panels,
  .bottom-panels.bottom-two,
  .bottom-panels.final-panels {
    grid-template-columns: 1fr !important;
  }

  .bottom-panels .bottom-panel > img,
  .bottom-panels.bottom-two .bottom-panel > img,
  .bottom-panels.final-panels .bottom-panel > img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .follow-panel .social-links {
    left: 5% !important;
    bottom: 7% !important;
    gap: 11px !important;
  }

  .follow-panel .social-links a {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    font-size: 23px !important;
  }

  footer {
    grid-template-columns: 150px 1fr auto !important;
    gap: 18px !important;
    padding: 18px 20px !important;
  }

  footer img {
    width: 140px !important;
    height: 62px !important;
  }

  footer > div {
    font-size: 11px !important;
  }
}

@media (max-width: 640px) {
  footer {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    padding: 20px !important;
    text-align: left !important;
  }

  footer img {
    width: 145px !important;
    height: 64px !important;
  }

  footer .legal {
    text-align: left !important;
  }

  .follow-panel .social-links a {
    width: 39px !important;
    height: 39px !important;
    min-width: 39px !important;
    font-size: 20px !important;
  }
}

/* Final footer contact */
.footer-email{color:inherit;text-decoration:none;display:inline-block;margin-top:4px}.footer-email:hover,.footer-email:focus{text-decoration:underline;text-underline-offset:3px}
