/* Shared footer for Bonheur Ship PHP pages */
.ship-footer.site-footer,
.site-footer.ship-footer {
  margin-top: 42px;
  padding: 26px 0 34px;
  background: linear-gradient(135deg, #58cde8 0%, #39b8d8 60%, #7fd9ee 100%);
  color: #10344a;
  border-top: 1px solid #a7dfeb;
  text-align: center;
}

.ship-footer .container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.ship-footer a {
  color: #0f4f73;
  margin-right: 16px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ship-footer a:hover {
  opacity: 0.85;
}

.ship-footer .footer-operator {
  margin-top: 8px;
  font-size: 14px;
}

.ship-footer .footer-links {
  margin-top: 6px;
}

.ship-footer .footer-links a:last-child {
  margin-right: 0;
}

.ship-footer small {
  font-size: 13px;
}

.ship-footer-emoji-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 0 0 18px;
}

.ship-footer-emoji-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #0f4f73;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(14, 56, 130, 0.1);
}

.ship-footer-emoji-nav a:hover,
.ship-footer-emoji-nav a.is-active {
  opacity: 1;
  background: #ffffff;
}

.ship-footer-emoji {
  font-size: 20px;
  line-height: 1;
}

.ship-footer-emoji-label {
  line-height: 1.3;
}

.ship-bottom-nav {
  display: none;
}

@media (max-width: 960px) {
  .ship-footer-emoji-nav {
    display: none;
  }

  .ship-bottom-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    min-height: 64px;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #d7e8f7;
    backdrop-filter: blur(14px);
    box-shadow: 0 -8px 24px rgba(14, 56, 130, 0.1);
  }

  .ship-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 52px;
    margin: 0;
    padding: 6px 4px;
    border-radius: 14px;
    color: #10344a;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  .ship-bottom-nav a:hover,
  .ship-bottom-nav a:focus-visible,
  .ship-bottom-nav a.is-active {
    background: #e8f0ff;
    color: #0f4f73;
    opacity: 1;
  }

  .ship-bottom-nav-icon {
    font-size: 22px;
    line-height: 1;
  }

  body:has(.ship-bottom-nav) {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .ship-footer.site-footer,
  .site-footer.ship-footer {
    padding-bottom: 28px;
  }
}
