/* Miss Macs Bakery — ported from the Claude Design source.
   style-hover="…" attributes become the .hv-* rules below. */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFF0DF;
  color: #171717;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: #F50057; text-decoration: none; }
a:hover { color: #D71920; }
::selection { background: #F50057; color: #FFF0DF; }
input::placeholder { color: rgba(245, 0, 87, .4); }
* { box-sizing: border-box; }

@keyframes mmPulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 0, 87, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(245, 0, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 0, 87, 0); }
}
@keyframes mmSpin { to { transform: rotate(360deg); } }

/* The painted cursor replaces the pointer inside the hero only. */
#top, #top a { cursor: none; }
.no-cursor { cursor: none; }

/* --- hover states --- */
.hv-nav:hover     { color: #D71920; }
.hv-btn:hover     { transform: rotate(-3deg) scale(1.05); color: #FFF0DF; }
.hv-wed:hover     { transform: rotate(-3deg) scale(1.05); color: #FFF8ED; }
.hv-outline:hover { transform: rotate(2deg); background: #F7C6CF; color: #F50057; }
.hv-final:hover   { transform: rotate(-3deg) scale(1.06); color: #D71920; }
.hv-arrow:hover   { transform: rotate(-12deg); }
.hv-next:hover    { transform: translateX(8px) rotate(-2deg); }
.hv-katie:hover   { transform: rotate(1deg) scale(1.03); }
.hv-send:hover    { transform: rotate(-1.5deg) scale(1.02); }
.hv-ig:hover      { transform: rotate(-2deg); color: #F50057; }
.hv-faq:hover     { color: #D71920; }
.cal-day:not(:disabled):hover { border-color: #F50057; }

/* The shape carousel's hover was JS state in the source; CSS does it here. */
.shape-card:hover .shape-frame { background: #F7C6CF; }
.shape-card:hover .shape-frame img { transform: scale(1.1) rotate(-4deg) translateY(-8px); }

.noscroll { scrollbar-width: none; }
.noscroll::-webkit-scrollbar { display: none; }

/* Nav links collapse below the source's 900px `wide` breakpoint. */
/* The design carries display:flex inline on .nav-links, so this needs !important. */
@media (max-width: 900px) { .nav-links { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* Until every cake PNG is imported, an image that 404s shows as a dashed
   swatch with its alt text rather than a broken-image icon. Inert once the
   assets are in place. */
img.mm-missing {
  border: 1px dashed currentColor;
  border-radius: 8px;
  background: repeating-linear-gradient(135deg, rgba(245, 0, 87, .1) 0 2px, transparent 2px 12px);
  min-height: 3em;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .06em;
  color: inherit;
  opacity: .65;
}
