.moh-floating-actions-v2 {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.moh-floating-action-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 19px;
  border-radius: 999px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 14px 34px rgba(42, 24, 16, .25);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  max-width: calc(100vw - 40px);
  box-sizing: border-box;
}

.moh-floating-action-v2:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 18px 42px rgba(42, 24, 16, .31);
}

.moh-floating-cake-v2 {
  background: linear-gradient(135deg, #c77711, #f4a62a);
  color: #24130b !important;
}

.moh-floating-whatsapp-v2 {
  background: linear-gradient(135deg, #168747, #22b95e);
}

@media (max-width: 1100px) {
  .moh-floating-actions-v2 {
    left: 10px;
    max-width: none;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .moh-floating-action-v2 {
    min-width: 0;
    min-height: 48px;
    padding: 0 10px;
    font-size: 12.5px;
  }

  html body .moh-inline-mobile-actions {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    width: auto !important;
    max-width: 720px !important;
    margin: 24px 20px !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
}


/* Mobile static-page layout regression fixes.
   Scoped to legacy static templates so the React homepage remains untouched. */
.catalog-grid .catalog-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}


@media (max-width: 620px) {
  .topbar {
    padding: 9px 14px;
    font-size: 12px;
    line-height: 1.4;
  }

  :is(.topbar + .nav, body > nav.nav) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
  }

  :is(.topbar + .nav, body > nav.nav) .brand {
    min-width: 0;
    font-size: 18px;
    line-height: 1.15;
  }

  :is(.topbar + .nav, body > nav.nav) :is(.navlinks, .links) {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 1px 0 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  :is(.topbar + .nav, body > nav.nav) :is(.navlinks, .links) a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 11px;
    border: 1px solid rgba(91, 50, 29, .13);
    border-radius: 999px;
    background: #fff8ef;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .topbar + .nav + .hero {
    padding: 32px 16px 28px;
  }

  .topbar + .nav + .hero h1 {
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .topbar + .nav + .hero .lead {
    font-size: 16px;
    line-height: 1.55;
  }
}


/* Prevent generated image dimensions from stretching cake discovery cards. */
.moh-cake-discovery-card > img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: 320px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}
