/**
 * Mimi's Bakehouse production homepage
 * Version: 1.0.0
 * Scope: the configured static front page; the companion PHP adds mimis-homepage.
 * Existing section and component classes preserve the approved v0.3.1 content.
 */

body.home.mimis-homepage {
  --mh3-ink: #292426;
  --mh3-ink-soft: #62585d;
  --mh3-cream: #fffaf5;
  --mh3-paper: #fffdf9;
  --mh3-white: #ffffff;
  --mh3-blue: #b8cfeb;
  --mh3-blue-soft: #e8f0f9;
  --mh3-pink: #f1adce;
  --mh3-pink-soft: #fbe5ef;
  --mh3-yellow: #ffe389;
  --mh3-yellow-soft: #fff4c8;
  --mh3-green: #9dcea0;
  --mh3-purple: #ba7eb4;
  --mh3-purple-dark: #956590;
  --mh3-purple-soft: #f0e1ed;
  --mh3-line: rgba(41, 36, 38, 0.16);
  --mh3-shadow-sm: 0 10px 28px rgba(67, 47, 57, 0.09);
  --mh3-shadow: 0 22px 56px rgba(67, 47, 57, 0.14);
  --mh3-content: 1440px;
  --mh3-gutter: clamp(24px, 4vw, 64px);
  background: var(--mh3-cream);
  color: var(--mh3-ink);
  font-family: fira-sans, Arial, sans-serif;
}

body.home.mimis-homepage #main,
body.home.mimis-homepage #content {
  background: var(--mh3-cream);
}

body.mimis-homepage .mimis-homepage-v3 {
  color: var(--mh3-ink);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

body.mimis-homepage .mimis-homepage-v3 > .section-content {
  position: relative;
  z-index: 1;
}

body.mimis-homepage .mimis-homepage-v3,
body.mimis-homepage .mimis-homepage-v3 :where(p, li, input, button) {
  font-family: fira-sans, Arial, sans-serif;
}

body.mimis-homepage .mimis-homepage-v3 :where(h1, h2, h3, h4, h5, h6) {
  color: var(--mh3-ink);
  font-family: gill-sans-nova, "Gill Sans", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.03;
  margin-top: 0;
  text-transform: none;
}

body.mimis-homepage .mimis-homepage-v3 h1 {
  font-size: clamp(2.65rem, 3.85vw, 4.25rem);
  line-height: 0.98;
  margin-bottom: 0.34em;
  max-width: 16ch;
  text-wrap: balance;
}

body.mimis-homepage .mimis-homepage-v3 :where(h2) {
  font-size: clamp(2.25rem, 3.4vw, 3.35rem);
  margin-bottom: 0.3em;
}

body.mimis-homepage .mimis-homepage-v3 h3 {
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  margin-bottom: 0.45em;
}

body.mimis-homepage .mimis-homepage-v3 :where(p) {
  color: var(--mh3-ink);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.62;
}

body.mimis-homepage .mimis-homepage-v3 :where(a) {
  color: var(--mh3-ink);
}

body.mimis-homepage .mimis-homepage-v3 :where(a, button, input):focus-visible {
  outline: 3px solid var(--mh3-ink);
  outline-offset: 4px;
}

body.mimis-homepage .mimis-homepage-v3 .mh3-shell {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: var(--mh3-content) !important;
  width: calc(100% - var(--mh3-gutter) * 2) !important;
}

body.mimis-homepage .mimis-homepage-v3 p.mh3-kicker {
  color: var(--mh3-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

body.mimis-homepage .mimis-homepage-v3 p.mh3-script {
  color: var(--mh3-purple-dark);
  font-family: lobster, Georgia, serif;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

body.mimis-homepage .mimis-homepage-v3 p.mh3-lead {
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.58;
  max-width: 36rem;
}

body.mimis-homepage .mimis-homepage-v3 .mh3-heading {
  max-width: 48rem;
}

body.mimis-homepage .mimis-homepage-v3 .mh3-heading-row {
  align-items: flex-end;
  margin-bottom: 2rem;
}

body.mimis-homepage .mimis-homepage-v3 .mh3-heading > :last-child {
  margin-bottom: 0;
}

body.mimis-homepage .mimis-homepage-v3 .mh3-heading__action > .col-inner {
  padding-bottom: 0.25rem;
}

/* WordPress may wrap standalone links in paragraphs. Keep action geometry on divs. */
body.mimis-homepage .mimis-homepage-v3 .mh3-action > p {
  margin: 0;
}

/* Buttons and links. Important radius declarations defeat a later global 4px rule. */

body.mimis-homepage .mimis-homepage-v3 a.mh3-button,
body.mimis-homepage .mimis-homepage-v3 button#mh3-subscribe {
  align-items: center;
  border: 2px solid var(--mh3-ink) !important;
  border-radius: 11px !important;
  box-shadow: 3px 3px 0 var(--mh3-ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.01em;
  line-height: 1.2;
  min-height: 48px;
  padding: 0.78rem 1.25rem;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  transition: box-shadow 170ms ease, transform 170ms ease, background-color 170ms ease;
}

body.mimis-homepage .mimis-homepage-v3 a.mh3-button--primary,
body.mimis-homepage .mimis-homepage-v3 button#mh3-subscribe {
  background: var(--mh3-purple-dark) !important;
  color: var(--mh3-white) !important;
}

body.mimis-homepage .mimis-homepage-v3 a.mh3-button--secondary {
  background: var(--mh3-paper) !important;
  color: var(--mh3-ink) !important;
}

body.mimis-homepage .mimis-homepage-v3 a.mh3-button:hover,
body.mimis-homepage .mimis-homepage-v3 a.mh3-button:focus-visible,
body.mimis-homepage .mimis-homepage-v3 button#mh3-subscribe:hover,
body.mimis-homepage .mimis-homepage-v3 button#mh3-subscribe:focus-visible {
  box-shadow: 2px 2px 0 var(--mh3-ink);
  color: inherit;
  transform: translate(1px, 1px);
}

body.mimis-homepage .mimis-homepage-v3 a.mh3-text-link {
  align-items: center;
  border-bottom: 2px solid currentColor;
  border-radius: 0 !important;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  padding: 0.2rem 1.5rem 0.25rem 0;
  position: relative;
  text-decoration: none;
}

body.mimis-homepage .mimis-homepage-v3 a.mh3-text-link::after {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 0.42rem;
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-55%) rotate(45deg);
  transition: right 160ms ease;
  width: 0.42rem;
}

body.mimis-homepage .mimis-homepage-v3 a.mh3-text-link:hover::after,
body.mimis-homepage .mimis-homepage-v3 a.mh3-text-link:focus-visible::after {
  right: 0;
}

/* Hero */

body.mimis-homepage .mh3-hero {
  background: var(--mh3-yellow-soft);
}

body.mimis-homepage .mh3-hero::after {
  background: repeating-linear-gradient(90deg, var(--mh3-ink) 0 24px, var(--mh3-white) 24px 48px);
  bottom: 0;
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 3;
}

body.mimis-homepage .mh3-hero .mh3-hero__row {
  align-items: stretch;
  margin: 0 auto;
  max-width: 1760px !important;
  padding: 0;
  width: 100%;
}

body.mimis-homepage .mh3-hero__copy-col,
body.mimis-homepage .mh3-hero__media-col {
  padding: 0;
}

body.mimis-homepage .mh3-hero__copy-col > .col-inner,
body.mimis-homepage .mh3-hero__media-col > .col-inner {
  height: 100%;
}

body.mimis-homepage .mh3-hero__copy {
  align-items: flex-start;
  background: var(--mh3-yellow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  min-height: 640px;
  overflow: hidden;
  padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4.2vw, 4.75rem);
  position: relative;
}

body.mimis-homepage .mh3-hero__copy::before {
  background-image: url("https://mimisbakehouse.com/wp-content/uploads/2024/10/hundredsandthousands-bg.png");
  background-repeat: repeat;
  background-size: 280px auto;
  content: "";
  inset: 0 0 0 58%;
  opacity: 0.09;
  pointer-events: none;
  position: absolute;
}

body.mimis-homepage .mh3-hero__copy > * {
  position: relative;
  z-index: 1;
}

body.mimis-homepage .mh3-hero__copy h1 {
  margin-bottom: 1.2rem;
}

body.mimis-homepage .mh3-hero__copy p.mh3-lead {
  margin-bottom: 1.35rem;
}

body.mimis-homepage .mh3-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

body.mimis-homepage .mh3-hero__postal-action {
  margin-bottom: 1.4rem;
}

body.mimis-homepage .mimis-homepage-v3 p.mh3-hero__note {
  border-top: 1px solid var(--mh3-line);
  color: var(--mh3-ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0;
  max-width: 34rem;
  padding-top: 0.85rem;
}

body.mimis-homepage .mh3-hero__media {
  height: 100%;
  margin: 0;
  min-height: clamp(640px, 48vw, 880px);
  overflow: hidden;
  position: relative;
}

body.mimis-homepage .mh3-hero__media > img {
  display: block;
  height: 100% !important;
  inset: 0;
  object-fit: cover;
  object-position: 50% 52%;
  position: absolute;
  width: 100% !important;
}

body.mimis-homepage .mh3-hero__media figcaption {
  align-items: center;
  background: var(--mh3-paper);
  border: 2px solid var(--mh3-ink);
  border-radius: 50%;
  bottom: 1.5rem;
  box-shadow: 4px 4px 0 var(--mh3-pink);
  display: flex;
  flex-direction: column;
  height: 126px;
  justify-content: center;
  line-height: 1.15;
  padding: 1rem;
  position: absolute;
  right: 1.5rem;
  text-align: center;
  transform: rotate(4deg);
  width: 126px;
}

body.mimis-homepage .mh3-hero__media figcaption strong {
  font-family: gill-sans-nova, "Gill Sans", sans-serif;
  font-size: 1.05rem;
}

body.mimis-homepage .mh3-hero__media figcaption span {
  font-size: 0.72rem;
  margin-top: 0.2rem;
}

/* Three editorial journeys */

body.mimis-homepage .mh3-journeys {
  background: var(--mh3-cream);
  padding-top: 32px !important;
}

body.mimis-homepage .mh3-journeys__row {
  margin-top: 0 !important;
  position: relative;
  z-index: 4;
}

body.mimis-homepage .mh3-journey {
  display: flex;
}

body.mimis-homepage .mh3-journey > .col-inner {
  background: var(--mh3-paper);
  border: 1px solid var(--mh3-line);
  box-shadow: var(--mh3-shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

body.mimis-homepage .mh3-journey--local > .col-inner {
  border-bottom: 7px solid var(--mh3-blue);
}

body.mimis-homepage .mh3-journey--uk > .col-inner {
  border-bottom: 7px solid var(--mh3-pink);
}

body.mimis-homepage .mh3-journey--visit > .col-inner {
  border-bottom: 7px solid var(--mh3-green);
}

body.mimis-homepage .mh3-journey .img {
  margin: 0;
  width: 100%;
}

body.mimis-homepage .mh3-journey .img-inner {
  aspect-ratio: 16 / 9;
  padding-top: 0 !important;
}

body.mimis-homepage .mh3-journey .img-inner img {
  height: 100% !important;
  object-fit: cover;
  transition: transform 240ms ease;
  width: 100% !important;
}

body.mimis-homepage .mh3-journey:hover .img-inner img {
  transform: scale(1.025);
}

body.mimis-homepage .mh3-journey__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 1.4rem 1.45rem;
}

body.mimis-homepage .mh3-journey__copy h2 {
  font-size: clamp(1.65rem, 2.15vw, 2rem);
  margin-bottom: 0.45rem;
}

body.mimis-homepage .mimis-homepage-v3 .mh3-journey__description {
  font-size: 0.96rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

body.mimis-homepage .mh3-journey__actions {
  align-self: flex-start;
  margin-top: auto;
}

/* Category edit */

body.mimis-homepage .mh3-categories {
  background: var(--mh3-blue-soft);
}

body.mimis-homepage .mh3-categories > .section-bg::after {
  background-image: url("https://mimisbakehouse.com/wp-content/uploads/2024/10/hundredsandthousands-bg.png");
  background-position: right top;
  background-repeat: repeat;
  background-size: 320px auto;
  content: "";
  inset: 0;
  opacity: 0.055;
  pointer-events: none;
  position: absolute;
}

body.mimis-homepage .mh3-category-grid {
  display: grid;
  gap: clamp(16px, 1.8vw, 26px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0 0 0.4rem;
}

body.mimis-homepage a.mh3-category-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  text-decoration: none;
}

body.mimis-homepage .mh3-category-card > img {
  aspect-ratio: 1;
  background: var(--mh3-paper);
  border: 1px solid rgba(41, 36, 38, 0.08);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(55, 72, 93, 0.09);
  display: block;
  height: auto !important;
  object-fit: cover;
  transition: transform 200ms ease;
  width: 100% !important;
}

body.mimis-homepage .mh3-category-card__label {
  align-items: center;
  background: var(--mh3-paper);
  border: 1px solid var(--mh3-line);
  box-shadow: 3px 3px 0 var(--mh3-yellow);
  display: flex;
  flex: 1;
  font-family: gill-sans-nova, "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: clamp(0.98rem, 1.12vw, 1.13rem);
  font-weight: 700;
  justify-content: flex-start;
  letter-spacing: -0.01em;
  line-height: 1.22;
  margin: -1rem 0.55rem 0;
  min-height: 4.25em;
  padding: 0.7rem 0.75rem;
  position: relative;
  z-index: 1;
}

@media (hover: hover) {
  body.mimis-homepage .mh3-category-card:hover > img {
    transform: translateY(-3px);
  }
}

body.mimis-homepage .mh3-category-card:focus-visible {
  outline-offset: 6px;
}

/* Flatsome puts each product link inside its image container. */
body.mimis-homepage .mh3-product-grid .box-image:has(a:focus-visible) {
  outline: 3px solid var(--mh3-ink);
  outline-offset: 4px;
}

/* Product edit — explicit geometry prevents 1px LiteSpeed placeholders collapsing the box. */

body.mimis-homepage .mh3-favourites {
  background: var(--mh3-paper);
}

body.mimis-homepage .mh3-product-grid > .product-small.col {
  margin-bottom: 1.5rem;
}

body.mimis-homepage .mh3-product-grid > .product-small.col > .col-inner {
  height: 100%;
}

body.mimis-homepage .mh3-product-grid .product-small.box {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0;
}

body.mimis-homepage .mh3-product-grid .product-small .box-image {
  aspect-ratio: 1 / 1;
  background: #f7eee8;
  border-radius: 8px;
  box-shadow: var(--mh3-shadow-sm);
  overflow: hidden;
  position: relative;
  width: 100% !important;
}

body.mimis-homepage .mh3-product-grid .product-small .box-image .image-cover,
body.mimis-homepage .mh3-product-grid .product-small .box-image .image-fade_in_back {
  height: 100% !important;
  inset: 0;
  padding-top: 0 !important;
  position: absolute !important;
  width: 100% !important;
}

body.mimis-homepage .mh3-product-grid .product-small .box-image .image-cover > a,
body.mimis-homepage .mh3-product-grid .product-small .box-image .image-fade_in_back > a {
  display: block;
  height: 100%;
  position: relative;
  width: 100%;
}

body.mimis-homepage .mh3-product-grid .product-small .box-image img {
  display: block;
  height: 100% !important;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 240ms ease;
  width: 100% !important;
}

body.mimis-homepage .mh3-product-grid .product-small .box:hover .box-image img {
  transform: scale(1.025);
}

body.mimis-homepage .mh3-product-grid .product-small .box-text {
  padding: 0.9rem 0.05rem 0;
  text-align: left;
}

body.mimis-homepage .mh3-product-grid .product-small .name,
body.mimis-homepage .mh3-product-grid .product-small .woocommerce-loop-product__title {
  color: var(--mh3-ink);
  font-family: gill-sans-nova, "Gill Sans", sans-serif;
  font-size: clamp(1.02rem, 1.3vw, 1.22rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.22;
  margin-bottom: 0.3rem;
  text-transform: none;
}

body.mimis-homepage .mh3-product-grid .price-wrapper,
body.mimis-homepage .mh3-product-grid .price {
  color: var(--mh3-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

body.mimis-homepage .mh3-product-grid .badge-container {
  left: 0.65rem;
  top: 0.65rem;
}

body.mimis-homepage .mh3-product-grid .badge-inner {
  background: var(--mh3-purple-dark);
  border: 0;
  color: var(--mh3-white);
  font-size: 0.7rem;
}

body.mimis-homepage .mh3-fulfilment-note {
  margin-top: 0.3rem !important;
}

body.mimis-homepage .mh3-fulfilment-note__inner {
  align-items: center;
  background: var(--mh3-blue-soft);
  border-left: 7px solid var(--mh3-blue);
  display: grid;
  gap: 0.65rem 1.1rem;
  grid-template-columns: auto 1fr auto;
  padding: 1rem 1.25rem;
}

body.mimis-homepage .mh3-fulfilment-note__inner strong {
  font-family: gill-sans-nova, "Gill Sans", sans-serif;
  font-size: 1.05rem;
}

body.mimis-homepage .mh3-fulfilment-note__inner span {
  font-size: 0.9rem;
  line-height: 1.45;
}

/* UK-wide paper-and-photo feature */

body.mimis-homepage .mh3-uk-wide {
  background: var(--mh3-pink-soft);
}

body.mimis-homepage .mh3-uk-wide > .section-bg::after {
  background-image: url("https://mimisbakehouse.com/wp-content/uploads/2025/01/plane-1.png");
  background-position: center 16%;
  background-repeat: no-repeat;
  background-size: min(1500px, 96vw) auto;
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
}

body.mimis-homepage .mh3-uk-wide__feature {
  align-items: stretch;
  margin-bottom: 2rem !important;
}

body.mimis-homepage .mh3-uk-wide__media .col-inner,
body.mimis-homepage .mh3-uk-wide__media .img,
body.mimis-homepage .mh3-uk-wide__media .img-inner {
  height: 100%;
}

body.mimis-homepage .mh3-uk-wide__media .img-inner {
  aspect-ratio: 5 / 4;
  border: 10px solid var(--mh3-paper);
  box-shadow: var(--mh3-shadow);
  padding-top: 0 !important;
  transform: rotate(-1.25deg);
}

body.mimis-homepage .mh3-uk-wide__media .img-inner img {
  height: 100% !important;
  object-fit: cover;
  width: 100% !important;
}

body.mimis-homepage .mh3-uk-wide__copy-col > .col-inner {
  height: 100%;
}

body.mimis-homepage .mh3-uk-wide__copy {
  background-color: rgba(255, 253, 249, 0.94);
  background-image: repeating-linear-gradient(0deg, rgba(41, 36, 38, 0.018) 0, rgba(41, 36, 38, 0.018) 1px, transparent 1px, transparent 5px);
  border: 1px solid var(--mh3-line);
  box-shadow: var(--mh3-shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4.25rem);
}

body.mimis-homepage .mh3-uk-wide__copy h2 {
  font-size: clamp(2.2rem, 3.15vw, 3.2rem);
  max-width: 20ch;
  text-wrap: balance;
}

body.mimis-homepage .mh3-uk-wide__actions {
  align-self: flex-start;
  margin-top: 0.5rem;
}

body.mimis-homepage .mh3-uk-products {
  --mh3-content: 1200px;
}

/* Illustrated reassurance band */

body.mimis-homepage .mh3-reassurance {
  background: var(--mh3-blue);
}

body.mimis-homepage .mh3-reassurance__row {
  align-items: flex-start;
}

body.mimis-homepage .mh3-reassurance__item .img {
  margin-bottom: 0.8rem;
}

body.mimis-homepage .mimis-homepage-v3 .mh3-reassurance__item p {
  line-height: 1.4;
  margin: 0 auto;
  max-width: 15rem;
}

body.mimis-homepage .mh3-reassurance__item p strong,
body.mimis-homepage .mh3-reassurance__item p span {
  display: block;
}

body.mimis-homepage .mh3-reassurance__item p strong {
  font-family: gill-sans-nova, "Gill Sans", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

body.mimis-homepage .mh3-reassurance__item p span {
  font-size: 0.83rem;
}

/* Asymmetrical café / Afternoon Tea spread */

body.mimis-homepage .mh3-experiences {
  background: var(--mh3-cream);
}

body.mimis-homepage .mh3-experiences > .section-bg::after {
  background-image: url("https://mimisbakehouse.com/wp-content/uploads/2024/10/Striped-Background-pannel-100.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  position: absolute;
}

body.mimis-homepage .mh3-experiences__row {
  align-items: stretch;
}

body.mimis-homepage .mh3-experience-main > .col-inner {
  min-height: 100%;
  position: relative;
}

body.mimis-homepage .mh3-experience-main .img,
body.mimis-homepage .mh3-experience-main .img-inner {
  margin: 0;
  width: 100%;
}

body.mimis-homepage .mh3-experience-main .img-inner {
  aspect-ratio: 4 / 3;
  padding-top: 0 !important;
}

body.mimis-homepage .mh3-experience-main .img-inner img {
  height: 100% !important;
  object-fit: cover;
  width: 100% !important;
}

body.mimis-homepage .mh3-experience-main__caption {
  background: var(--mh3-blue-soft);
  border: 1px solid var(--mh3-line);
  box-shadow: var(--mh3-shadow-sm);
  margin: -6.5rem 2rem 0;
  max-width: 34rem;
  padding: clamp(1.6rem, 3vw, 2.75rem);
  position: relative;
  z-index: 2;
}

body.mimis-homepage .mh3-experience-main__caption h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

body.mimis-homepage .mh3-experience-aside > .col-inner {
  background: var(--mh3-pink-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.8rem);
  position: relative;
}

body.mimis-homepage .mh3-experience-aside > .col-inner::before {
  background-image: url("https://mimisbakehouse.com/wp-content/uploads/2024/10/paint-stroke-bg.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  position: absolute;
}

body.mimis-homepage .mh3-experience-aside .img,
body.mimis-homepage .mh3-experience-aside__copy {
  position: relative;
  z-index: 1;
}

body.mimis-homepage .mh3-experience-aside .img {
  margin: 0 auto 1.5rem;
  max-width: 84%;
}

body.mimis-homepage .mh3-experience-aside__copy {
  margin-top: auto;
}

body.mimis-homepage .mh3-experience-aside__copy h2 {
  font-size: clamp(2rem, 3vw, 2.85rem);
}

/* Family and award proof — the complete group photo remains unobscured. */

body.mimis-homepage .mh3-story {
  background: var(--mh3-purple-soft);
}

body.mimis-homepage .mh3-story__row {
  margin: 0 auto;
  max-width: var(--mh3-content) !important;
  padding: 0;
  width: 100%;
}

body.mimis-homepage .mh3-story__row > .col {
  padding: 0;
}

body.mimis-homepage .mh3-story__visual {
  background: var(--mh3-paper);
  position: relative;
}

body.mimis-homepage .mh3-story__photo {
  background: var(--mh3-purple-soft);
  overflow: hidden;
}

body.mimis-homepage .mh3-story__photo > img {
  aspect-ratio: 1920 / 761;
  display: block;
  height: auto !important;
  object-fit: contain;
  position: static;
  width: 100% !important;
}

/* Layout belongs to stable div groups, never editor-generated paragraphs. */
body.mimis-homepage .mh3-story__panel {
  align-items: start;
  background: var(--mh3-paper);
  border-top: 6px solid var(--mh3-purple);
  display: grid;
  gap: 1.5rem clamp(1.5rem, 3vw, 3rem);
  grid-template-areas: "intro body actions";
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(175px, 0.7fr);
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
}

body.mimis-homepage .mh3-story__intro {
  grid-area: intro;
  min-width: 0;
}

body.mimis-homepage .mimis-homepage-v3 .mh3-story__intro p.mh3-kicker {
  color: var(--mh3-ink-soft);
  margin-bottom: 0.7rem;
}

body.mimis-homepage .mh3-story__intro h2 {
  font-size: clamp(2rem, 2.7vw, 2.8rem);
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}

body.mimis-homepage .mh3-story__body {
  grid-area: body;
  min-width: 0;
}

body.mimis-homepage .mh3-story__body > p {
  margin: 0;
}

body.mimis-homepage .mh3-story__actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  grid-area: actions;
  min-width: 0;
}

body.mimis-homepage .mh3-award-stamp {
  border-left: 4px solid var(--mh3-purple);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding-left: 0.85rem;
}

body.mimis-homepage .mh3-award-stamp strong {
  color: var(--mh3-ink);
  font-family: gill-sans-nova, "Gill Sans", sans-serif;
  font-size: 1.05rem;
  line-height: 1.25;
}

body.mimis-homepage .mh3-award-stamp span {
  color: var(--mh3-ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: 0.3rem;
}

/* Cake Club */

body.mimis-homepage .mh3-cake-club {
  background: var(--mh3-green);
}

body.mimis-homepage .mimis-homepage-v3.mh3-cake-club p.mh3-script {
  color: #71456d;
}

body.mimis-homepage .mh3-cake-club > .section-bg::after {
  background-image: url("https://mimisbakehouse.com/wp-content/uploads/2024/10/hundredsandthousands-bg.png");
  background-position: center;
  background-repeat: repeat;
  background-size: 320px auto;
  content: "";
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  position: absolute;
}

body.mimis-homepage .mh3-cake-club__row {
  align-items: center;
}

body.mimis-homepage .mh3-cake-club__copy {
  max-width: 35rem;
  padding-right: clamp(1rem, 4vw, 4rem);
  position: relative;
}

body.mimis-homepage .mh3-cake-club__envelope {
  height: 78px;
  margin-bottom: 1rem;
  transform: rotate(-6deg);
  width: 78px;
}

body.mimis-homepage .mh3-cake-club__copy h2 {
  font-size: clamp(2.5rem, 3.8vw, 3.8rem);
}

body.mimis-homepage .mh3-signup-card {
  background-color: rgba(255, 253, 249, 0.96);
  background-image: repeating-linear-gradient(0deg, rgba(41, 36, 38, 0.018) 0, rgba(41, 36, 38, 0.018) 1px, transparent 1px, transparent 5px);
  border: 1px solid var(--mh3-line);
  box-shadow: var(--mh3-shadow);
  padding: clamp(1.5rem, 3.5vw, 3.25rem);
  transform: rotate(0.5deg);
}

body.mimis-homepage .mh3-signup-card form > label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

body.mimis-homepage .mh3-signup-card__fields {
  align-items: stretch;
  display: flex;
  gap: 0.75rem;
}

body.mimis-homepage .mh3-signup-card input[type="email"] {
  min-width: 0;
  background: var(--mh3-white);
  border: 2px solid var(--mh3-ink);
  border-radius: 10px !important;
  box-shadow: none;
  flex: 1;
  font-size: 1rem;
  height: auto;
  margin: 0;
  min-height: 52px;
  padding: 0.8rem 1rem;
  text-align: left;
}

body.mimis-homepage .mh3-signup-card button#mh3-subscribe {
  margin: 0;
  min-height: 52px;
}

body.mimis-homepage .mimis-homepage-v3 p.mh3-signup-card__privacy {
  color: var(--mh3-ink-soft);
  font-size: 0.76rem;
  line-height: 1.5;
  margin: 0.8rem 0 0;
}

body.mimis-homepage .mh3-signup-card__privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.mimis-homepage .mh3-honeypot {
  left: -5000px;
  position: absolute;
}

/* Tablet — Flatsome's medium span begins at 550px. */

@media (max-width: 849px) {
  body.mimis-homepage .mimis-homepage-v3 .mh3-shell {
    width: calc(100% - 40px) !important;
  }

  body.mimis-homepage .mimis-homepage-v3 :where(h2) {
    font-size: clamp(2.15rem, 5.5vw, 3.2rem);
  }

  body.mimis-homepage .mh3-hero__media figcaption {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  body.mimis-homepage .mh3-journey {
    margin-bottom: 1rem;
  }

  body.mimis-homepage .mh3-journey > .col-inner {
    display: grid;
    grid-template-columns: minmax(210px, 34%) 1fr;
  }

  body.mimis-homepage .mh3-journey .img,
  body.mimis-homepage .mh3-journey .img-inner {
    height: 100%;
  }

  body.mimis-homepage .mh3-journey .img-inner {
    aspect-ratio: auto;
  }

  body.mimis-homepage .mh3-journey__copy {
    padding: 1.4rem 1.55rem;
  }

  body.mimis-homepage .mh3-heading__action,
  body.mimis-homepage .mh3-heading__action > .col-inner {
    text-align: left;
  }

  body.mimis-homepage .mh3-heading__action {
    margin-top: 0.75rem;
  }

  body.mimis-homepage .mh3-uk-wide__media .img-inner {
    aspect-ratio: 16 / 10;
    transform: rotate(-0.7deg);
  }

  body.mimis-homepage .mh3-uk-wide__copy {
    margin-top: 1.5rem;
  }

  body.mimis-homepage .mh3-reassurance__item {
    margin-bottom: 1.6rem;
  }

  body.mimis-homepage .mh3-experience-main__caption {
    margin-top: -5rem;
  }

  body.mimis-homepage .mh3-experience-aside {
    margin-top: 1.5rem;
  }

  body.mimis-homepage .mh3-experience-aside > .col-inner {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  }

  body.mimis-homepage .mh3-experience-aside .img {
    align-self: center;
    margin: 0 auto;
    max-width: 100%;
  }

  body.mimis-homepage .mh3-experience-aside__copy {
    align-self: center;
  }

  body.mimis-homepage .mh3-cake-club__copy {
    margin-bottom: 1.5rem;
    max-width: 42rem;
    padding-right: 0;
  }
}

/* Mobile */

@media (max-width: 549px) {
  body.mimis-homepage .mimis-homepage-v3 .mh3-shell {
    width: calc(100% - 32px) !important;
  }

  body.mimis-homepage .mimis-homepage-v3 :where(h2) {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  body.mimis-homepage .mimis-homepage-v3 :where(p) {
    font-size: 1rem;
  }

  body.mimis-homepage .mh3-hero__copy::before {
    inset: 0 0 0 68%;
  }

  body.mimis-homepage .mh3-hero__media figcaption {
    bottom: 1rem;
    height: 98px;
    padding: 0.7rem;
    right: 1rem;
    width: 98px;
  }

  body.mimis-homepage .mh3-hero__media figcaption strong {
    font-size: 0.83rem;
  }

  body.mimis-homepage .mh3-actions {
    flex-direction: column;
    width: 100%;
  }

  body.mimis-homepage .mh3-actions .mh3-button {
    width: 100%;
  }

  body.mimis-homepage .mh3-journey > .col-inner {
    grid-template-columns: 38% 1fr;
  }

  body.mimis-homepage .mh3-journey__copy {
    padding: 1rem;
  }

  body.mimis-homepage .mh3-journey__copy h2 {
    font-size: 1.45rem;
  }

  body.mimis-homepage .mimis-homepage-v3 .mh3-journey__copy p.mh3-kicker {
    font-size: 0.65rem;
    margin-bottom: 0.45rem;
  }

  body.mimis-homepage .mimis-homepage-v3 .mh3-journey__description {
    display: none;
  }

  body.mimis-homepage .mimis-homepage-v3 .mh3-journey__actions .mh3-text-link {
    font-size: 0.78rem;
  }

  body.mimis-homepage .mh3-product-grid > .product-small.col {
    flex-basis: 50% !important;
    max-width: 50% !important;
  }

  body.mimis-homepage .mh3-product-grid .product-small .name,
  body.mimis-homepage .mh3-product-grid .product-small .woocommerce-loop-product__title {
    font-size: 0.96rem;
  }

  body.mimis-homepage .mh3-fulfilment-note__inner {
    align-items: start;
    grid-template-columns: 1fr;
  }

  body.mimis-homepage .mh3-uk-wide__media .img-inner {
    border-width: 6px;
  }

  body.mimis-homepage .mh3-uk-wide__copy {
    padding: 1.6rem;
  }

  body.mimis-homepage .mh3-reassurance__item {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  body.mimis-homepage .mh3-reassurance__item .img {
    max-width: 58px;
  }

  body.mimis-homepage .mh3-reassurance__item p strong {
    font-size: 0.94rem;
  }

  body.mimis-homepage .mh3-reassurance__item p span {
    font-size: 0.75rem;
  }

  body.mimis-homepage .mh3-experience-main__caption {
    margin: -2rem 0.75rem 0;
    padding: 1.4rem;
  }

  body.mimis-homepage .mh3-experience-aside > .col-inner {
    display: flex;
  }

  body.mimis-homepage .mh3-experience-aside .img {
    max-width: 80%;
  }

  body.mimis-homepage .mh3-signup-card {
    padding: 1.35rem;
    transform: none;
  }

  body.mimis-homepage .mh3-signup-card__fields {
    flex-direction: column;
  }

  body.mimis-homepage .mh3-signup-card input[type="email"],
  body.mimis-homepage .mh3-signup-card button#mh3-subscribe {
    width: 100%;
  }
}

/* Keep the two-column newsletter form comfortable at compact desktop sizes. */
@media (min-width: 850px) and (max-width: 1100px) {
  body.mimis-homepage .mh3-signup-card__fields {
    flex-direction: column;
  }
  body.mimis-homepage .mh3-signup-card input[type="email"],
  body.mimis-homepage .mh3-signup-card button#mh3-subscribe {
    width: 100%;
  }
}

/* Art direction and layout breakpoints are independent of Flatsome spans. */
@media (min-width: 1000px) {
  body.mimis-homepage .mh3-hero__copy-col {
    flex-basis: 48% !important;
    max-width: 48% !important;
  }
  body.mimis-homepage .mh3-hero__media-col {
    flex-basis: 52% !important;
    max-width: 52% !important;
  }
}

@media (max-width: 999px) {
  body.mimis-homepage .mh3-hero__copy-col,
  body.mimis-homepage .mh3-hero__media-col {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
  body.mimis-homepage .mh3-hero__copy {
    min-height: 0;
    padding: clamp(2.5rem, 6vw, 4rem) max(24px, 6vw);
  }
  body.mimis-homepage .mh3-hero__copy h1 {
    font-size: clamp(2.65rem, 6.7vw, 4rem);
    max-width: 19ch;
  }
  body.mimis-homepage .mh3-hero__media {
    aspect-ratio: 1;
    height: auto;
    margin: 0 auto;
    max-width: 720px;
    min-height: 0;
  }
  body.mimis-homepage .mh3-hero__media-col {
    background: #e7e9e8;
  }
  body.mimis-homepage .mh3-category-grid {
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.mimis-homepage .mh3-story__panel {
    grid-template-areas: "intro body" "actions actions";
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.75rem 2rem;
  }
  body.mimis-homepage .mh3-story__actions {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem 2rem;
  }
}

@media (max-width: 549px) {
  body.mimis-homepage .mh3-hero__copy h1 {
    font-size: clamp(2.5rem, 10.5vw, 3.3rem);
    max-width: none;
  }
  body.mimis-homepage .mh3-category-grid {
    gap: 22px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.mimis-homepage .mh3-category-card__label {
    font-size: 0.95rem;
    margin-left: 0.35rem;
    margin-right: 0.35rem;
    padding: 0.65rem;
  }
  body.mimis-homepage .mh3-story__panel {
    grid-template-areas: "intro" "body" "actions";
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 2rem 1.5rem 2.4rem;
  }
  body.mimis-homepage .mh3-story__intro h2 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    max-width: 19ch;
  }
  body.mimis-homepage .mh3-story__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }
}

/* Show the serving detail in the local route photograph. */
body.mimis-homepage .mh3-journey--local .img-inner img {
  object-position: 50% 62%;
}

/* Cake Club envelope: continuous two-position snap */
body.mimis-homepage img.mh3-cake-club__envelope {
  transform-origin: center;
  animation: mh3-envelope-snap 1.2s steps(1, end) infinite;
}

@keyframes mh3-envelope-snap {
  0%, 100% {
    transform: rotate(40deg);
  }

  50% {
    transform: rotate(-40deg);
  }
}

/* Respect visitors who request reduced motion. */
@media (prefers-reduced-motion: reduce) {
  body.mimis-homepage .mimis-homepage-v3 *,
  body.mimis-homepage .mimis-homepage-v3 *::before,
  body.mimis-homepage .mimis-homepage-v3 *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body.mimis-homepage .mh3-category-card:hover > img,
  body.mimis-homepage .mh3-journey:hover .img-inner img,
  body.mimis-homepage .mh3-product-grid .product-small .box:hover .box-image img,
  body.mimis-homepage .mimis-homepage-v3 a.mh3-button:hover,
  body.mimis-homepage .mimis-homepage-v3 a.mh3-button:focus-visible,
  body.mimis-homepage .mimis-homepage-v3 button#mh3-subscribe:hover,
  body.mimis-homepage .mimis-homepage-v3 button#mh3-subscribe:focus-visible {
    transform: none;
  }

  body.mimis-homepage img.mh3-cake-club__envelope {
    animation: none !important;
    transform: rotate(-6deg);
  }
}
