/* ==========================================================================
   Ah - Moms Marmalade — base tokens & primitives
   Everything is scoped under .mm so the theme (Blocksy / Elementor kit)
   can't override it and it can't leak into other parts of the site.
   ========================================================================== */
.mm {
  --mm-bg: #FBF7F1;
  --mm-cream: #F5EBDD;
  --mm-white: #FFFDFC;
  --mm-champagne: #D7B98E;
  --mm-gold: #A8752B;
  --mm-gold-dark: #8A5F20;
  --mm-espresso: #241B17;
  --mm-blush: #E8D1C3;
  --mm-sage: #909477;
  --mm-sage-dark: #6B6F55;
  --mm-border: #E8DED1;
  --mm-text: #201A17;
  --mm-muted: #6B5F57;
  --mm-faint: #9A8D83;

  --mm-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --mm-sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mm-container: 1320px;
  --mm-gutter: clamp(20px, 4vw, 56px);
  --mm-space: clamp(64px, 8vw, 112px);
  --mm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  font-family: var(--mm-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--mm-text);
  -webkit-font-smoothing: antialiased;
}
.mm *, .mm *::before, .mm *::after { box-sizing: border-box; }
.mm img, .mm svg { display: block; max-width: 100%; }
.mm a { color: inherit; text-decoration: none; }
.mm p { margin: 0 0 1em; }
.mm ul, .mm ol { margin: 0; padding: 0; list-style: none; }
.mm button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }

/* Backgrounds & spacing */
.mm.mm-bg--ivory { background: var(--mm-bg); }
.mm.mm-bg--white { background: var(--mm-white); }
.mm.mm-bg--cream { background: var(--mm-cream); }
.mm.mm-bg--blush { background: var(--mm-blush); }
.mm.mm-bg--dark  { background: var(--mm-espresso); color: #E9DFD3; }
.mm.mm-space--normal { padding: var(--mm-space) 0; }
.mm.mm-space--tight  { padding: calc(var(--mm-space) * 0.45) 0; }
.mm.mm-space--none   { padding: 0; }

.mm .mm-container { width: 100%; max-width: var(--mm-container); margin: 0 auto; padding: 0 var(--mm-gutter); }
.mm .mm-container--narrow { max-width: 860px; }

/* Typography */
.mm .mm-eyebrow {
  display: inline-block;
  font-family: var(--mm-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mm-gold);
  margin: 0 0 16px;
}
.mm.mm-bg--dark .mm-eyebrow { color: var(--mm-champagne); }
.mm .mm-title {
  font-family: var(--mm-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--mm-espresso);
  margin: 0 0 0.45em;
  text-transform: none;
}
.mm .mm-title em { font-style: italic; color: var(--mm-gold); font-weight: 400; }
.mm .mm-title--display { font-size: clamp(2.6rem, 4.6vw, 4.3rem); }
.mm.mm-bg--dark .mm-title { color: var(--mm-white); }
.mm.mm-bg--dark .mm-title em { color: var(--mm-champagne); }
.mm .mm-lead { font-size: 1.04rem; color: var(--mm-muted); max-width: 36em; margin: 0 0 1.4em; }
.mm.mm-bg--dark .mm-lead { color: #CDBFB1; }
.mm .mm-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Section heading */
.mm .mm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.mm .mm-head .mm-title { margin-bottom: 0; }
.mm .mm-head .mm-lead { margin: 14px 0 0; }
.mm .mm-head--center { flex-direction: column; align-items: center; text-align: center; }
.mm .mm-head--center .mm-lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.mm .mm-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.mm .mm-btn-row--center { justify-content: center; }
.mm .mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  font-family: var(--mm-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background 0.3s var(--mm-ease), color 0.3s var(--mm-ease), border-color 0.3s var(--mm-ease);
  white-space: nowrap;
  text-decoration: none;
}
.mm .mm-btn--primary { background: var(--mm-espresso); color: var(--mm-white); }
.mm .mm-btn--primary:hover { background: var(--mm-gold-dark); color: var(--mm-white); }
.mm .mm-btn--outline { border-color: var(--mm-espresso); color: var(--mm-espresso); background: transparent; }
.mm .mm-btn--outline:hover { background: var(--mm-espresso); color: var(--mm-white); }
.mm .mm-btn--light { background: var(--mm-white); color: var(--mm-espresso); }
.mm .mm-btn--light:hover { background: var(--mm-champagne); color: var(--mm-espresso); }
.mm .mm-btn--outline-light { border-color: rgba(255, 253, 252, 0.6); color: var(--mm-white); }
.mm .mm-btn--outline-light:hover { background: var(--mm-white); color: var(--mm-espresso); }
.mm .mm-btn--sm { min-height: 42px; padding: 0 18px; font-size: 10.5px; }
.mm .mm-arrow { display: inline-block; transition: transform 0.3s var(--mm-ease); }
.mm .mm-btn:hover .mm-arrow, .mm .mm-link-arrow:hover .mm-arrow { transform: translateX(4px); }
.mm .mm-link-arrow {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mm-espresso); padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.mm .mm-link-arrow:hover { color: var(--mm-gold); }
.mm.mm-bg--dark .mm-link-arrow { color: var(--mm-white); }

.mm :focus-visible { outline: 2px solid var(--mm-gold); outline-offset: 3px; }

/* Media (photo or illustration) */
.mm .mm-media { position: relative; overflow: hidden; background: var(--mm-cream); }
.mm .mm-media > img, .mm .mm-media > svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--mm-ease); }
.mm .mm-media--zoom:hover > img, .mm .mm-media--zoom:hover > svg,
.mm a:hover .mm-media--zoom > img, .mm a:hover .mm-media--zoom > svg { transform: scale(1.04); }
.mm .mm-media--fill { position: absolute; inset: 0; }
.mm .mm-media--empty { min-height: 200px; }
.mm .mm-ratio-1x1 { aspect-ratio: 1 / 1; }
.mm .mm-ratio-4x5 { aspect-ratio: 4 / 5; }
.mm .mm-ratio-4x3 { aspect-ratio: 4 / 3; }
.mm .mm-ratio-5x6 { aspect-ratio: 5 / 6; }

.mm .mm-stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .mm *, .mm *::before, .mm *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* --------------------------------------------------------------------------
   Elementor: a container that holds a Moms Marmalade section becomes
   full-width with no padding/gap, so sections can run edge to edge.
   (Only affects containers that directly contain an MM widget.)
   -------------------------------------------------------------------------- */
.e-con:has(> .elementor-widget[data-widget_type^="ah_mm_"]),
.e-con:has(> .e-con-inner > .elementor-widget[data-widget_type^="ah_mm_"]) {
  --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --content-width: 100%; --container-max-width: 100%;
}
.elementor-widget[data-widget_type^="ah_mm_"] { width: 100%; }
.elementor-widget[data-widget_type^="ah_mm_"] > .elementor-widget-container { margin: 0; padding: 0; }

/* v1.6 — whole-image media (gift boxes: never crop the jars) */
.mm .mm-media--contain > img { object-fit: contain; }
.mm .mm-media--night { background: #0B1220; }
.mm .mm-media--whole { aspect-ratio: auto; }
.mm .mm-media--whole > img { width: 100%; height: auto; object-fit: contain; }
