/* Homepage: the hero and the photo/text sections become rounded tiles on cream, framed like the
   shop's apothecary cards (thin gold line inside the text tiles, a fine light line on the photos). */
body.home .mcb-section-lr48jfw66,
body.home .mcb-section-dho1azzka,
body.home .mcb-section-ggwf4p3o7 { background-color: #fbf7f1 !important; }

/* Hero: inset from the edges with rounded corners. */
body.home .mcb-section-lr48jfw66 { padding: 14px 14px 0 !important; }
body.home .mcb-section-lr48jfw66 .mcb-wrap-p407hkhsr { border-radius: 32px; overflow: hidden; }

/* Photo + text sections: two tiles side by side with a gap. */
body.home :is(.mcb-section-dho1azzka, .mcb-section-ggwf4p3o7) { padding: 14px 14px 0 !important; }
body.home .mcb-section-ggwf4p3o7 { padding-bottom: 14px !important; }
body.home :is(.mcb-section-dho1azzka, .mcb-section-ggwf4p3o7) > .section_wrapper { gap: 14px; flex-wrap: nowrap; }
body.home :is(.mcb-section-dho1azzka, .mcb-section-ggwf4p3o7) > .section_wrapper > .wrap { position: relative; flex: 0 0 calc(50% - 7px) !important; width: calc(50% - 7px) !important; max-width: none !important; min-width: 0; border-radius: 32px; overflow: hidden; }

/* Text tiles: their own colour, with the gold inner frame. */
body.home .mcb-wrap-48whdiolv { background-color: #fdf9f3; box-shadow: inset 0 0 0 12px #fdf9f3, inset 0 0 0 13px #d6c29c; }
body.home .mcb-wrap-huyp0yo7t { background-color: #f4e7d7; box-shadow: inset 0 0 0 12px #f4e7d7, inset 0 0 0 13px #c9ad78; }

/* Photo tiles: a fine light frame over the picture. */
body.home :is(.mcb-wrap-ve8xd45pm, .mcb-wrap-jocl3k8aw)::after { content: ""; position: absolute; inset: 14px; z-index: 2; border: 1px solid rgba(255, 255, 255, .65); border-radius: 22px; pointer-events: none; }
body.home .mcb-wrap-jocl3k8aw .image_frame, body.home .mcb-wrap-jocl3k8aw img { border-radius: 0; }

@media (max-width: 767px) {
	body.home :is(.mcb-section-lr48jfw66, .mcb-section-dho1azzka, .mcb-section-ggwf4p3o7) { padding: 10px 10px 0 !important; }
	body.home .mcb-section-ggwf4p3o7 { padding-bottom: 10px !important; }
	body.home .mcb-section-lr48jfw66 .mcb-wrap-p407hkhsr { border-radius: 24px; }
	body.home :is(.mcb-section-dho1azzka, .mcb-section-ggwf4p3o7) > .section_wrapper { flex-wrap: wrap; gap: 10px; }
	body.home :is(.mcb-section-dho1azzka, .mcb-section-ggwf4p3o7) > .section_wrapper > .wrap { flex: 0 0 100% !important; width: 100% !important; border-radius: 24px; }
	body.home :is(.mcb-wrap-48whdiolv, .mcb-wrap-huyp0yo7t) { box-shadow: inset 0 0 0 9px var(--tile, #fdf9f3), inset 0 0 0 10px #d6c29c; }
	body.home .mcb-wrap-huyp0yo7t { --tile: #f4e7d7; }
	body.home :is(.mcb-wrap-ve8xd45pm, .mcb-wrap-jocl3k8aw)::after { inset: 10px; border-radius: 16px; }
}

/* ---------------------------------------------------------------------------
   "Choose your flavour" product grid: the shop's apothecary cards (same rules as
   the Shop and category pages, scoped to this section), on the same cream.
   ------------------------------------------------------------------------- */
body.home .mcb-section-6vkryi2vg { background-color: #fbf7f1 !important; }
body.home .mcb-section-6vkryi2vg ul.products { counter-reset: apothecary 0; }
body.home .mcb-section-6vkryi2vg ul.products li.product { counter-increment: apothecary 1; }
body.home .mcb-section-6vkryi2vg ul.products li.product .mfn-li-product-row-image { margin: 0; }
body.home .mcb-section-6vkryi2vg ul.products li.product .image_frame { border: 1px solid #d9c7a7; border-bottom: 0; border-radius: 8px 8px 0 0; overflow: hidden; background: #f4e7d7; }
body.home .mcb-section-6vkryi2vg ul.products li.product .desc {
	position: relative; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; overflow: hidden;
	height: auto !important; min-height: 182px; margin: 0; padding: 18px 16px 20px !important; text-align: center;
	background: repeating-linear-gradient(0deg, rgba(120, 90, 50, .024) 0, rgba(120, 90, 50, .024) 1px, transparent 1px, transparent 3px), #fdf9f3;
	border: 1px solid #d9c7a7; border-top: 0; border-radius: 0 0 8px 8px;
	box-shadow: inset 0 0 0 5px #fdf9f3, inset 0 0 0 6px #d6c29c;
}
body.home .mcb-section-6vkryi2vg ul.products li.product .desc::before { content: "No. " counter(apothecary, decimal-leading-zero); display: block; margin: 0 0 8px; font: 500 10.5px/1.4 Poppins, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #7a5c2e; }
body.home .mcb-section-6vkryi2vg ul.products li.product.product_cat-herbs .desc::before { content: "No. " counter(apothecary, decimal-leading-zero) " · Herbal tea"; }
body.home .mcb-section-6vkryi2vg ul.products li.product.product_cat-syrups-ciders .desc::before { content: "No. " counter(apothecary, decimal-leading-zero) " · Syrup & cider"; }
body.home .mcb-section-6vkryi2vg ul.products li.product.product_cat-face-serum .desc::before { content: "No. " counter(apothecary, decimal-leading-zero) " · Self-care"; }
body.home .mcb-section-6vkryi2vg ul.products li.product.product_cat-gift-boxes .desc::before { content: "No. " counter(apothecary, decimal-leading-zero) " · Gift box"; }
body.home .mcb-section-6vkryi2vg ul.products li.product.product_cat-coffee .desc::before { content: "No. " counter(apothecary, decimal-leading-zero) " · Coffee"; }
body.home .mcb-section-6vkryi2vg ul.products li.product h4.mfn-woo-product-title { width: 100%; margin: 0 0 10px !important; min-height: 0 !important; }
body.home .mcb-section-6vkryi2vg ul.products li.product h4.mfn-woo-product-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #12291c; }
body.home .mcb-section-6vkryi2vg ul.products li.product h4.mfn-woo-product-title a:focus-visible { outline: 3px solid #12291c; outline-offset: 3px; border-radius: 2px; }
body.home .mcb-section-6vkryi2vg ul.products li.product h4.mfn-woo-product-title::after { content: ""; display: block; width: 44px; height: 1px; margin: 10px auto 0; background: linear-gradient(90deg, transparent, #c9ad78 20%, #c9ad78 80%, transparent); }
body.home .mcb-section-6vkryi2vg ul.products li.product .price { display: block; max-width: 100%; margin: auto 0 0 !important; }
body.home .mcb-section-6vkryi2vg ul.products li.product .price del, body.home .mcb-section-6vkryi2vg ul.products li.product .price ins { display: block; max-width: 100%; margin: 0 !important; padding: 0 !important; line-height: 1.5 !important; }
body.home .mcb-section-6vkryi2vg ul.products li.product .price br { display: none; }
body.home .mcb-section-6vkryi2vg ul.products li.product .price .amount { white-space: nowrap; }
body.home .mcb-section-6vkryi2vg ul.products li.product .mfn-li-product-row-button.hide-button { display: none; }
body.home .mcb-section-6vkryi2vg ul.products li.product .image_frame .onsale { position: absolute; z-index: 3; top: 12px; left: 12px; right: auto; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin: 0; padding: 0; border-radius: 50%; background: #e2b467; color: #12291c; font: 700 10px/1.15 Poppins, sans-serif; letter-spacing: .06em; text-transform: uppercase; text-align: center; box-shadow: inset 0 0 0 3px #e2b467, inset 0 0 0 4px #12291c, 0 2px 4px rgba(0, 0, 0, .25); transform: rotate(-8deg); }
body.home .mcb-section-6vkryi2vg ul.products li.product:is(:hover, :focus-within) .desc { box-shadow: inset 0 0 0 5px #fdf9f3, inset 0 0 0 6px #d6c29c, 0 14px 22px -16px rgba(27, 58, 45, .45); }
@media (prefers-reduced-motion: no-preference) {
	body.home .mcb-section-6vkryi2vg ul.products li.product :is(.mfn-li-product-row-image, .desc) { transition: transform .3s, box-shadow .3s; }
	body.home .mcb-section-6vkryi2vg ul.products li.product:is(:hover, :focus-within) :is(.mfn-li-product-row-image, .desc) { transform: translateY(-4px); }
}
@media (max-width: 767px) {
	body.home .mcb-section-6vkryi2vg ul.products li.product .desc { padding: 14px 10px 16px !important; }
	body.home .mcb-section-6vkryi2vg ul.products li.product .desc::before { font-size: 9.5px; letter-spacing: .12em; }
	body.home .mcb-section-6vkryi2vg ul.products li.product.product_cat-syrups-ciders .desc::before { content: "No. " counter(apothecary, decimal-leading-zero) " · Syrup"; }
	body.home .mcb-section-6vkryi2vg ul.products li.product .image_frame .onsale { width: 50px; height: 50px; top: 8px; left: 8px; font-size: 9px; }
}
