/* MANIRE theme: the customer app's look. Colours and sizes from the app (src/constants/brand.ts and screens). */

:root {
	--ink: #1E1B18;
	--cream: #FFF8F4;
	--card: #FFFFFF;
	--rose: #5C1A32;
	--wine: #40031D;
	--accent: #E8501A;
	--accent-soft: #FFC5AF;
	--muted: #857276;
	--line: #E8E1D5;
	--green: #3D7155;
	--red: #B3261E;
	--soft-rose: #FAF2ED;
	--blush: #FFD9E1;
	--surface: #F4ECE7;
	--serif: Georgia, "Noto Serif", "Times New Roman", serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
	--tabs-h: 57px;
	--safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 60px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 14px/1.45 var(--sans); -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--tabs-h) + var(--safe-b) + 24px); overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--wine); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--ink); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mn-i { fill: currentColor; flex: none; display: inline-block; vertical-align: middle; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.mn-skip:focus { clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: #fff; }
[hidden] { display: none !important; }
.mn-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.mn-main { max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* ---------- Buttons and fields (ui.tsx) ---------- */
.mn-btn, .button, button.button, input.button, .wp-element-button, .woocommerce-button, #place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px;
	border: 0; border-radius: 16px; background: var(--rose); color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .3px;
	text-decoration: none; line-height: 1.2; box-shadow: 0 5px 10px rgba(64, 3, 29, .18); transition: opacity .15s, transform .15s;
}
.mn-btn:hover, .button:hover, #place_order:hover { color: #fff; opacity: .92; }
.mn-btn:active, .button:active { transform: scale(.985); }
.mn-btn--outline, .button.mn-btn--outline { background: #fff; color: var(--rose); border: 1.4px solid var(--rose); box-shadow: none; }
.mn-btn--outline:hover { color: var(--wine); }
.mn-btn--ghost { background: transparent; color: var(--wine); box-shadow: none; min-height: 44px; font-size: 12px; font-weight: 800; }
.button:disabled, .button.disabled, button:disabled { opacity: .45; cursor: not-allowed; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], input[type=url], select, textarea, .select2-container .select2-selection--single {
	width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 15px; background: #fff; color: var(--ink); font-size: 15px; outline: none; appearance: none; -webkit-appearance: none;
}
textarea { min-height: 110px; }
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23857276' d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 12px center / 22px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(92, 26, 50, .08); }
::placeholder { color: #A3979B; }
label { font-size: 12px; font-weight: 800; color: var(--muted); }

/* ---------- Header (store-header.tsx) ---------- */
.mn-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.admin-bar .mn-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mn-header { top: 46px; } }
.mn-header__row { position: relative; height: 43px; max-width: 1240px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: flex-end; }
.mn-header.is-compact .mn-header__row { border-bottom: 1px solid var(--line); }
.mn-header__logo { position: absolute; left: 14px; top: 1.5px; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.mn-header.has-back .mn-header__logo { left: 54px; }
.mn-header__back { position: absolute; left: 8px; top: 0; width: 44px; height: 43px; display: flex; align-items: center; justify-content: center; color: var(--wine); }
.mn-header__wordmark { position: absolute; left: 50%; top: 0; height: 43px; transform: translateX(-50%); display: flex; align-items: center; }
.mn-header__wordmark img { width: clamp(72px, calc(100vw - 248px), 122px); height: auto; }
.mn-header__actions { display: flex; align-items: center; gap: 2px; }
.mn-icon-btn { position: relative; width: 36px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.mn-header.is-compact .mn-icon-btn { color: var(--wine); }
.mn-header__account span { width: 29px; height: 29px; border-radius: 50%; background: var(--rose); color: #fff; display: flex; align-items: center; justify-content: center; }
.mn-count { position: absolute; right: 0; top: 0; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; line-height: 16px; text-align: center; }

/* Search row and suggestions (search-suggestions.tsx) */
.mn-search { max-width: 1240px; margin: 0 auto; padding: 0 16px 6px; transition: margin-top .18s, opacity .18s; }
.mn-header.is-hidden .mn-search { margin-top: -51px; opacity: 0; pointer-events: none; }
.mn-search__form { height: 45px; display: flex; align-items: center; gap: 3px; padding: 0 4px 0 10px; border: 1px solid var(--line); border-radius: 12px; background: #FFFDFC; }
.mn-search__icon { color: var(--muted); display: flex; }
.mn-search__input { flex: 1; min-width: 0; height: 43px !important; min-height: 0 !important; padding: 0 6px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 13px !important; border-radius: 0 !important; }
.mn-search__input::-webkit-search-cancel-button { display: none; }
.mn-search__clear { width: 44px; height: 44px; border: 0; background: none; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.mn-search__panel { margin: 8px 0 4px; padding-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; background: #FFFDFC; max-height: 70vh; overflow: auto; }
.mn-search__label { margin: 12px 12px 8px; font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--muted); }
.mn-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px; }
.mn-chip { min-height: 44px; display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid var(--line); border-radius: 22px; background: var(--cream); color: var(--wine); font-size: 12px; font-weight: 600; }
.mn-suggest { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
.mn-suggest img { width: 42px; height: 50px; border-radius: 6px; object-fit: cover; background: var(--surface); }
.mn-suggest span { flex: 1; font-size: 12px; line-height: 17px; }
.mn-suggest b { display: block; margin-top: 4px; font-size: 12px; font-weight: 800; color: var(--wine); }
.mn-suggest--all { justify-content: flex-start; min-height: 44px; font-size: 12px; font-weight: 700; color: var(--wine); }
.mn-search__msg { padding: 14px; margin: 0; text-align: center; color: var(--muted); font-size: 12px; }

/* ---------- Bottom bar (premium-bottom-nav.tsx) ---------- */
.mn-tabs { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; min-height: 53px; padding: 3px 5px max(5px, var(--safe-b)); display: flex; align-items: flex-start; background: var(--cream); border-top: 1px solid var(--line); box-shadow: 0 -4px 10px rgba(39, 27, 24, .07); }
.mn-tab { flex: 1; min-height: 42px; display: flex; flex-direction: column; align-items: center; color: var(--muted); }
.mn-tab:hover { color: var(--wine); }
.mn-tab__icon { position: relative; width: 48px; height: 28px; display: flex; align-items: center; justify-content: center; border-bottom: 2px solid transparent; }
.mn-tab.is-active { color: var(--wine); }
.mn-tab.is-active .mn-tab__icon { border-bottom-color: var(--rose); }
.mn-tab__label { margin-top: 1px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.mn-tab.is-active .mn-tab__label { font-weight: 800; }
.mn-tab .mn-count { right: 1px; top: -2px; min-width: 17px; height: 17px; line-height: 15px; border: 1px solid var(--cream); font-weight: 900; }
@media (min-width: 900px) {
	.mn-tabs { left: 50%; right: auto; bottom: 12px; width: 520px; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 18px; padding-bottom: 5px; box-shadow: 0 8px 18px rgba(34, 19, 24, .16); }
}

/* ---------- Footer ---------- */
.mn-footer { margin-top: 32px; padding: 18px 0 12px; border-top: 1px solid var(--line); text-align: center; }
.mn-footer__links { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.mn-footer__links a { color: var(--muted); font-size: 12px; font-weight: 600; }
.mn-footer__copy { margin: 0; color: var(--muted); font-size: 11px; }

/* ---------- Section headings ---------- */
.mn-eyebrow { margin: 0; font-size: 8px; font-weight: 900; letter-spacing: 1.6px; color: var(--accent); text-transform: uppercase; }
.mn-heading { margin: 22px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mn-heading__copy { flex: 1; min-width: 0; }
.mn-heading__title { margin: 4px 0 0; font: 400 25px/1.2 var(--serif); color: var(--ink); }
.mn-heading__sub { margin: 5px 0 0; font-size: 10.5px; color: var(--muted); }
.mn-heading__all { min-height: 44px; padding-left: 12px; display: flex; align-items: center; font-size: 10px; font-weight: 800; color: var(--wine); white-space: nowrap; }
.mn-heading--feed { margin-top: 27px; margin-bottom: 15px; }
.mn-page-head { padding: 16px 0 10px; }
.mn-page-title { margin: 4px 0 0; font: 900 30px/1.15 var(--sans); color: var(--ink); }

/* ---------- Category strip (category-strip.tsx) ---------- */
.mn-strip { display: flex; gap: 4px; padding: 8px 12px 4px 0; overflow-x: auto; scrollbar-width: none; }
.mn-strip::-webkit-scrollbar, .mn-rail::-webkit-scrollbar, .mn-collections::-webkit-scrollbar, .mn-hero__track::-webkit-scrollbar { display: none; }
.mn-strip__item { flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; color: var(--ink); }
.mn-strip__circle { width: 55px; height: 55px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--soft-rose); border: 1.5px solid var(--line); font-size: 19px; font-weight: 900; color: var(--rose); }
.mn-strip__circle img { width: 100%; height: 100%; object-fit: cover; }
.mn-strip__circle.is-offer { background: var(--accent); color: #fff; }
.mn-strip__item.is-active .mn-strip__circle { border-color: var(--rose); }
.mn-strip__name { margin-top: 4px; height: 30px; width: 100%; overflow: hidden; text-align: center; font-size: 10px; line-height: 14px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mn-strip__item.is-active .mn-strip__name { color: var(--rose); }

/* ---------- Home ---------- */
.mn-offer { display: block; margin: 10px 0 8px; padding: 18px; border-radius: 12px; background: var(--wine); color: #fff; }
.mn-offer:hover { color: #fff; }
.mn-offer > span { display: block; }
.mn-offer__eyebrow { font-size: 8px; font-weight: 900; letter-spacing: 1.8px; color: #F1D8D1; }
.mn-offer__title { margin-top: 5px; font: 400 23px/1.2 var(--serif); }
.mn-offer__desc { margin-top: 5px; font-size: 11px; line-height: 16px; color: #F6E9E4; }
.mn-offer__amount { margin-top: 9px; font-size: 18px; font-weight: 900; }
.mn-offer__code { margin-top: 4px; font-size: 11px; font-weight: 700; color: #F6E9E4; }
.mn-offer .mn-offer__btn { display: inline-block; margin-top: 12px; padding: 9px 13px; border-radius: 6px; background: #fff; color: var(--wine); font-size: 10px; font-weight: 900; }

.mn-hero { margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #FFFDFC; }
.mn-hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; aspect-ratio: 2.35 / 1.555; background: #E9DCCE; }
.mn-hero__slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.mn-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.mn-hero__fallback { height: 100%; display: flex; align-items: center; justify-content: center; font: 30px var(--serif); letter-spacing: 6px; color: var(--rose); }
.mn-hero__caption { min-height: 38px; padding: 0 7px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.mn-hero__eyebrow { flex: 1; min-width: 0; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-hero__dots { display: flex; }
.mn-dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; }
.mn-dot::after { content: ""; width: 6px; height: 6px; border-radius: 3px; background: #D8C9C5; transition: width .2s; }
.mn-dot.is-active::after { width: 16px; background: var(--rose); }
@media (min-width: 900px) { .mn-hero__track { aspect-ratio: 2.6 / 1; max-height: 440px; } }

.mn-live { position: relative; display: block; min-height: 150px; margin-top: 22px; padding: 18px; border-radius: 8px; overflow: hidden; background: var(--ink); color: #fff; }
.mn-live:hover { color: #fff; }
.mn-live > span { display: block; position: relative; }
.mn-live__eyebrow { font-size: 8px; font-weight: 900; letter-spacing: 1.5px; color: #E1B9AD; }
.mn-live__title { margin-top: 5px; font: 400 23px/1.2 var(--serif); }
.mn-live__body { margin-top: 5px; max-width: 275px; font-size: 11px; line-height: 17px; color: #D9D0C8; }
.mn-live .mn-live__btn { display: inline-block; margin-top: 11px; padding: 10px 13px; background: #fff; color: var(--ink); font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.mn-live .mn-live__mark { position: absolute; right: -5px; bottom: -36px; font: 150px/1 var(--serif); color: rgba(197, 160, 89, .08); }

.mn-proof { display: block; margin-top: 22px; border: 1.5px solid var(--accent); border-radius: 18px; overflow: hidden; background: #FFFEFB; box-shadow: 0 3px 8px rgba(59, 23, 36, .08); color: var(--ink); }
.mn-proof__art { display: block; height: 100px; overflow: hidden; position: relative; }
.mn-proof__art img { position: absolute; left: 0; top: -24px; width: 200%; max-width: none; height: auto; }
@media (min-width: 700px) { .mn-proof__art { height: 160px; } .mn-proof__art img { width: 100%; top: -10px; } }
.mn-proof__copy { display: flex; flex-direction: column; align-items: center; padding: 8px 16px 14px; text-align: center; }
.mn-proof__eyebrow { font-size: 9px; font-weight: 800; letter-spacing: 2.5px; color: var(--rose); }
.mn-proof__title { margin-top: 5px; font: 400 21px/1.2 var(--serif); }
.mn-proof__body { margin-top: 5px; font-size: 12px; line-height: 18px; color: var(--muted); }
.mn-proof__btn { margin-top: 10px; padding: 10px 16px; border: 1px solid var(--rose); border-radius: 12px; font-size: 10px; font-weight: 800; letter-spacing: 1.1px; color: var(--rose); }

.mn-community { margin-top: 20px; padding: 10px; border: 1px solid #EBDDD8; border-radius: 18px; background: #FFFCF9; }
.mn-community__intro { display: flex; flex-direction: column; align-items: center; padding: 1px 5px 9px; text-align: center; }
.mn-community__intro span { font-size: 10px; font-weight: 700; color: var(--muted); }
.mn-community__intro span:last-child { margin-top: 5px; font-weight: 400; }
.mn-community__intro strong { margin-top: 2px; font: 700 24px/1.2 var(--serif); letter-spacing: 2px; color: var(--rose); }
.mn-community__intro em { font-style: normal; font-size: 8px; font-weight: 900; letter-spacing: 2.5px; color: var(--wine); }
.mn-community__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mn-stat { height: 126px; padding: 9px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #E9DEE0; border-radius: 16px; background: var(--tint); box-shadow: 0 4px 9px rgba(92, 26, 50, .07); color: var(--ink); }
.mn-stat__icon { width: 29px; height: 29px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.mn-stat__value { font: 700 21px/1.1 var(--serif); color: var(--wine); }
.mn-stat__title { min-height: 25px; font-size: 10px; line-height: 13px; font-weight: 700; }
.mn-stat__action { min-height: 20px; display: flex; align-items: center; gap: 2px; font-size: 10px; line-height: 12px; font-weight: 900; color: var(--accent); }
.mn-stat__action .mn-i { margin-left: auto; }
.mn-community__banner { margin: 8px 0 0; min-height: 36px; padding: 6px 10px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 12px; background: var(--rose); color: #fff; font: 700 12px/15px var(--serif); text-align: center; }
.mn-community__banner .mn-i { color: #F6D5DE; }
@media (min-width: 900px) { .mn-community__grid { grid-template-columns: repeat(4, 1fr); } }

.mn-collections { display: flex; gap: 10px; padding-right: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.mn-collection { position: relative; flex: 0 0 150px; height: 174px; border-radius: 9px; overflow: hidden; background: var(--surface); scroll-snap-align: start; }
.mn-collection img { width: 100%; height: 100%; object-fit: cover; }
.mn-collection::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(24, 16, 12, .62)); }
.mn-collection__copy { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; color: #fff; }
.mn-collection__title { display: block; font: 400 20px/24px var(--serif); }
.mn-collection__link { display: block; margin-top: 8px; font-size: 8px; font-weight: 900; letter-spacing: 1px; }

/* ---------- Product card (product-card.tsx) ---------- */
ul.products, .mn-grid, .mn-rail { list-style: none; margin: 0; padding: 0; }
.mn-grid, ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.4%; }
@media (min-width: 700px) { .mn-grid, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; } }
@media (min-width: 1100px) { .mn-grid, ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mn-home .mn-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
ul.products.mn-rail, .mn-rail { display: flex; gap: 10px; padding-right: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.mn-rail > li { flex: 0 0 166px; width: 166px; scroll-snap-align: start; }
@media (min-width: 900px) { .mn-rail > li { flex-basis: 210px; } }
.mn-card { position: relative; margin: 0 0 20px; }
.mn-card > a { display: block; color: var(--ink); }
.mn-card > a:active { opacity: .78; transform: scale(.985); }
.mn-card__media { position: relative; aspect-ratio: 1; border-radius: 5px; overflow: hidden; background: var(--surface); box-shadow: 0 3px 5px rgba(59, 23, 36, .05); }
.mn-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mn-card__badges { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.mn-badge { padding: 5px 7px; border-radius: 3px; color: #fff; font-size: 9px; font-weight: 900; letter-spacing: .7px; line-height: 1; }
.mn-badge--premium { background: var(--wine); }
.mn-badge--sale { background: var(--accent); }
.mn-card__out { position: absolute; left: 10px; bottom: 10px; padding: 6px 9px; border-radius: 4px; background: var(--red); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .4px; line-height: 1; }
.mn-card .mbm-prebooking-loop-badge { top: auto !important; bottom: 10px !important; left: 10px !important; padding: 6px 9px !important; border-radius: 10px !important; background: rgba(255, 248, 242, .94) !important; color: var(--wine) !important; font-size: 10px !important; font-weight: 900 !important; letter-spacing: .6px !important; text-transform: uppercase !important; box-shadow: none !important; }
.mn-card__name { min-height: 40px; margin: 9px 2px 0; font: 700 14px/20px var(--sans); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mn-price { display: flex; flex-wrap: wrap; align-items: center; gap: 1px 6px; }
.mn-card__price { min-height: 35px; margin: 5px 2px 0; }
.mn-price__now { font-size: 16px; font-weight: 900; color: var(--wine); }
.mn-price__mrp { font-size: 11px; color: var(--muted); }
.mn-price__off { font-size: 10px; font-weight: 900; color: var(--accent); }
.mn-card__rating { margin: 2px 2px 0; font-size: 11px; font-weight: 800; color: var(--accent); }
.mn-card__rating span { font-weight: 500; color: var(--muted); }
.mn-card__stock { margin: 5px 2px 0; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mn-card__stock span { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--green); }
.mn-card__stock.is-out span { background: var(--red); }
.mn-wish { position: absolute; z-index: 2; right: 8px; top: 8px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.mn-wish .mn-i-heart, .mn-wish.is-saved .mn-i-heart-outline { display: none; }
.mn-wish.is-saved .mn-i-heart { display: inline-block; color: var(--wine); }
.mn-rail .mn-card__name { font: 400 14px/18px var(--serif); min-height: 38px; }
/* Compact cards (category grid next to the sidebar) */
.mn-browse .mn-card__badges { left: 4px; top: 4px; }
.mn-browse .mn-badge { font-size: 8px; padding: 4px; }
.mn-browse .mn-wish { right: 4px; top: 4px; width: 36px; height: 36px; }
.mn-browse .mn-card__name { min-height: 34px; margin-top: 7px; font-size: 12px; line-height: 16px; }
.mn-browse .mn-card__price { min-height: 36px; margin-top: 4px; column-gap: 4px; }
.mn-browse .mn-price__now { font-size: 13px; }
.mn-browse .mn-price__mrp { font-size: 10px; }
.mn-browse .mn-card__stock { font-size: 10px; }

/* Wishlist / recently viewed (simple cards drawn by the script) */
.mn-grid--simple:empty { display: none; }

/* Feed */
.mn-feed__status { min-height: 54px; display: flex; align-items: center; justify-content: center; }
.mn-feed__end { color: var(--muted); font-size: 11px; }
.mn-loading { width: 26px; height: 26px; border: 3px solid var(--soft-rose); border-top-color: var(--rose); border-radius: 50%; animation: mn-spin .8s linear infinite; }
@keyframes mn-spin { to { transform: rotate(360deg); } }

/* Google reviews (plugin markup, restyled like google-reviews-section.tsx) */
.mn-greviews { margin-top: 28px; }
.mn-greviews .mbmgr-wrap { margin: 0; padding: 0 !important; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff !important; box-shadow: none; }
.mn-greviews .mbmgr-head { padding: 14px 16px 15px; background: var(--rose); color: #fff; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; }
.mn-greviews .mbmgr-head h2 { margin: 4px 0 0; font: 400 22px/1.2 var(--serif); color: #fff; }
.mn-greviews .mbmgr-head p, .mn-greviews .mbmgr-kicker { color: #F4DDE5; font-size: 9px; font-weight: 900; }
.mn-greviews .mbmgr-summary { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; display: flex; align-items: flex-end; gap: 14px; }
.mn-greviews .mbmgr-score { font: 700 38px/43px var(--serif); color: #fff; }
.mn-greviews .mbmgr-summary-meta small { color: #fff; font-size: 10px; font-weight: 700; }
.mn-greviews .mbmgr-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: none; }
.mn-greviews .mbmgr-review-text p { font: 12px/16px var(--serif); color: var(--ink); }
.mn-greviews .mbmgr-button { background: var(--rose) !important; color: #fff !important; border-radius: 9px; }

/* ---------- Category screen (categories.tsx) ---------- */
.mn-shop-main { padding: 0; max-width: none; }
.mn-titlebar { height: 60px; padding: 0 max(18px, calc((100vw - 1240px) / 2 + 18px)); display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); }
.mn-titlebar .mn-eyebrow { font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
.mn-titlebar__title { margin: 2px 0 0; font: 400 24px/1.2 var(--serif); color: var(--rose); }
.mn-browse { display: flex; align-items: flex-start; max-width: 1240px; margin: 0 auto; }
.mn-side { position: sticky; top: 43px; width: 86px; flex: none; max-height: calc(100vh - 43px - var(--tabs-h)); overflow-y: auto; padding: 5px 0; background: #F8F2EF; border-right: 1px solid var(--line); scrollbar-width: none; }
.mn-side__item { min-height: 88px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 3px solid transparent; color: var(--muted); }
.mn-side__item.is-selected { background: var(--soft-rose); border-left-color: var(--rose); }
.mn-side__item.is-parent { background: #F5EAE7; }
.mn-side__img { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--rose); font: 23px var(--serif); }
.mn-side__img img { width: 100%; height: 100%; object-fit: cover; }
.mn-side__name { width: 100%; margin-top: 5px; font-size: 10px; line-height: 12px; font-weight: 600; text-align: center; }
.mn-side__item.is-selected .mn-side__name { font-weight: 900; color: var(--wine); }
.mn-browse__detail { flex: 1; min-width: 0; }
.mn-archive__head { padding: 11px 9px 9px; background: var(--cream); border-bottom: 1px solid var(--line); }
.mn-archive__title { margin: 0; font: 400 20px/23px var(--serif); color: var(--wine); }
.mn-archive__count { margin: 2px 0 0; font-size: 10px; color: var(--muted); }
.mn-controls { display: flex; gap: 7px; margin-top: 10px; }
.mn-menu { position: relative; flex: 1; }
.mn-control { min-height: 35px; display: flex; align-items: center; justify-content: center; gap: 5px; list-style: none; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 11px; font-weight: 800; color: var(--wine); cursor: pointer; white-space: nowrap; overflow: hidden; }
.mn-control::-webkit-details-marker { display: none; }
.mn-control.is-active, .mn-menu[open] .mn-control { border-color: var(--rose); background: var(--soft-rose); color: var(--rose); }
.mn-menu__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 7px); min-width: 170px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 8px 18px rgba(34, 19, 24, .12); }
.mn-menu:last-child .mn-menu__list { left: auto; }
.mn-menu__item { min-height: 36px; padding: 0 11px; display: flex; align-items: center; font-size: 11px; color: var(--ink); }
.mn-menu__item.is-selected { font-weight: 900; color: var(--rose); }
.mn-subcats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 3.4%; padding: 12px 7px 6px; }
@media (min-width: 700px) { .mn-subcats { grid-template-columns: repeat(auto-fill, minmax(110px, 150px)); gap: 18px 14px; } }
.mn-subcat { display: flex; flex-direction: column; align-items: center; }
.mn-subcat__img { width: 100%; aspect-ratio: 1; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--surface); font: 32px var(--serif); color: var(--rose); }
.mn-subcat__img img { width: 100%; height: 100%; object-fit: cover; }
.mn-subcat__name { margin-top: 7px; font-size: 11px; line-height: 15px; font-weight: 700; text-align: center; color: var(--wine); }
.mn-browse ul.products { padding: 12px 7px 0; }
.woocommerce-pagination ul { list-style: none; margin: 8px 0 20px; padding: 0; display: flex; justify-content: center; gap: 6px; }
.woocommerce-pagination a, .woocommerce-pagination span { min-width: 40px; height: 40px; padding: 0 8px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 800; font-size: 13px; }
.woocommerce-pagination .current { background: var(--rose); border-color: var(--rose); color: #fff; }
.mn-js .mn-browse .woocommerce-pagination { display: none; }
.mn-empty { padding: 36px 16px; text-align: center; color: var(--muted); }
.mn-empty--404 { padding: 60px 16px; }

/* ---------- Product page ([slug].tsx) ---------- */
.mn-product-main { padding: 0; }
div.product { position: relative; }
.mn-gallery { position: relative; margin: 8px 14px 0; border-radius: 24px; overflow: hidden; background: var(--surface); }
.woocommerce-product-gallery { position: relative; opacity: 1 !important; margin: 0; }
.woocommerce-product-gallery__wrapper { display: flex; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1; }
.woocommerce-product-gallery__wrapper::-webkit-scrollbar { display: none; }
.woocommerce-product-gallery__image { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1; }
.woocommerce-product-gallery__image a { display: block; height: 100%; }
.woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: cover; }
.woocommerce-product-gallery .flex-control-nav, .woocommerce-product-gallery ol { display: none; }
.woocommerce-product-gallery__trigger { position: absolute; z-index: 3; right: 12px; bottom: 12px; width: 35px; height: 35px; border-radius: 50%; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2340031D' d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14m.5-7H9v2H7v1h2v2h1v-2h2V9h-2z'/%3E%3C/svg%3E") no-repeat center / 21px; font-size: 0; color: transparent; }
.mn-gallery__off { position: absolute; z-index: 3; left: 12px; top: 12px; padding: 6px 10px; border-radius: 14px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 900; }
.mn-gallery .mn-wish { right: 12px; top: 10px; width: 40px; height: 40px; }
.mn-gallery__share { position: absolute; z-index: 3; right: 12px; top: 55px; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #25D366; border: 2px solid #fff; color: #fff; }
.mn-gallery__share:hover { color: #fff; }
.mn-gallery__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 13px; display: flex; justify-content: center; align-items: center; gap: 5px; pointer-events: none; }
.mn-gallery__dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .65); transition: width .2s; }
.mn-gallery__dots span.is-active { width: 20px; background: var(--accent); }
div.product .summary { padding: 16px 20px 4px; display: flex; flex-direction: column; gap: 12px; }
div.product .summary > * { margin: 0; }
.mn-pd__name { font: 900 20px/26px var(--sans); color: var(--ink); }
.mn-pd__code { margin-top: -8px !important; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .3px; user-select: all; }
.mn-pd__premium { align-self: flex-start; padding: 6px 10px; border-radius: 4px; background: var(--wine); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: 1px; }
.mn-pd__price { align-items: baseline; gap: 10px; }
.mn-pd__price .mn-price__now { font-size: 24px; }
.mn-pd__price .mn-price__mrp { font-size: 14px; color: #9E9590; }
.mn-pd__price .mn-price__off { font-size: 12px; color: var(--green); }
.mn-pd__rating { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 800; color: var(--wine); }
.mn-pd__prebook { margin-top: 10px; padding: 14px; border-radius: 15px; background: var(--soft-rose); border: 1px solid var(--line); }
.mn-pd__prebook strong { display: block; color: var(--ink); }
.mn-pd__prebook span { display: block; margin-top: 4px; color: var(--muted); line-height: 19px; }
.stock { margin: 0; font-size: 13px; font-weight: 800; color: var(--green); }
.stock.out-of-stock { color: var(--red); }
form.cart { display: flex; flex-direction: column; gap: 12px; margin: 0; }
form.cart .variations { width: 100%; border-collapse: collapse; margin: 0; }
form.cart .variations tr { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
form.cart .variations th, form.cart .variations td { padding: 0; text-align: left; }
form.cart .variations th label { font-size: 17px; font-weight: 900; color: var(--ink); }
.reset_variations { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.single_variation_wrap .woocommerce-variation { margin-bottom: 4px; }
.woocommerce-variation-price .price { font-size: 18px; font-weight: 900; color: var(--wine); }
/* Swatches plugin (MBM Focused Variation Swatches) as the app's 22% option tiles */
form.cart .mbm-swatch-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
form.cart .mbm-swatch { width: auto; height: auto; min-height: 44px; aspect-ratio: 1; border: 1px solid #B8B0A8; border-radius: 8px; overflow: hidden; font-size: 11px; color: var(--ink); }
form.cart .mbm-swatch.mbm-button-swatch { aspect-ratio: auto; min-height: 44px; }
form.cart .mbm-swatch.selected { border: 3px solid var(--rose); }
form.cart .mbm-swatch.disabled { opacity: 1; filter: none; }
form.cart .mbm-swatch.disabled::before { content: "Sold Out"; inset: 0; top: 0; left: 0; width: auto; height: auto; transform: none; display: flex; align-items: center; justify-content: center; background: rgba(30, 27, 24, .7); color: #fff; font-size: 11px; font-weight: 900; text-align: center; border-radius: 0; padding: 0; max-width: none; }
form.cart .mbm-swatch.disabled::after { display: none; }
.single_add_to_cart_button.disabled { opacity: 1 !important; }
form.cart .mbm-swatch.selected::after { top: auto; right: 2px; bottom: 2px; width: 17px; height: 17px; background: var(--rose); font-size: 10px; text-shadow: none; box-shadow: none; }
/* Quantity pill */
.quantity { display: flex; align-items: center; justify-content: space-between; }
form.cart .quantity::before { content: "QUANTITY"; font-size: 10px; font-weight: 900; letter-spacing: 1.3px; color: var(--muted); }
.mn-qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); border-radius: 22px; overflow: hidden; background: #fff; }
.mn-qty button { width: 44px; height: 42px; border: 0; background: none; font-size: 19px; color: var(--ink); }
.mn-qty input.qty, .quantity input.qty { width: 40px; min-height: 0; height: 42px; padding: 0; border: 0; border-radius: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; box-shadow: none; }
.quantity input.qty::-webkit-inner-spin-button, .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity.hidden, .quantity:has(input[type=hidden]) { display: none; }
/* Add to cart and Buy now */
.single_add_to_cart_button { min-height: 48px !important; border-radius: 5px !important; font-size: 12px !important; box-shadow: none !important; background: #fff !important; color: var(--rose) !important; border: 1.4px solid var(--rose) !important; }
.single_add_to_cart_button.mn-buy-now { background: var(--rose) !important; color: #fff !important; }
.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { flex-wrap: wrap; }
@media (min-width: 900px) {
	form.cart .single_add_to_cart_button { width: calc(50% - 4px); }
	.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 8px; }
	.woocommerce-variation-add-to-cart .quantity, form.cart:not(.variations_form) .quantity { width: 100%; }
	.mn-buybar { display: none; }
}
@media (max-width: 899.98px) {
	.single-product { --tabs-h: 0px; }
	.single-product .mn-tabs { display: none; }
	.single-product { padding-bottom: calc(80px + var(--safe-b)); }
	.mn-buybar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; min-height: 72px; padding: 8px 12px max(8px, var(--safe-b)); display: flex; align-items: center; border-top: 1px solid var(--line); background: #FFFBF8; box-shadow: 0 -4px 10px rgba(39, 27, 24, .07); }
	.mn-buybar__total { width: 105px; }
	.mn-buybar__total small { display: block; font-size: 8px; font-weight: 900; letter-spacing: .7px; color: var(--muted); }
	.mn-buybar__total strong { display: block; margin-top: 5px; font-size: 19px; font-weight: 900; color: var(--ink); }
	.mn-buybar--off { justify-content: center; color: var(--red); font-weight: 800; }
	.single-product form.cart .single_add_to_cart_button { position: fixed; z-index: 56; bottom: calc(12px + var(--safe-b)); width: calc((100vw - 148px) / 2); left: 124px; margin: 0; padding: 0 3px; font-size: 10px !important; font-weight: 900; }
	.single-product form.cart .single_add_to_cart_button.mn-buy-now { left: calc(131px + (100vw - 148px) / 2); }
	.single-product .related form.cart .single_add_to_cart_button { position: static; }
}
.mn-trust { display: flex; margin-top: 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.mn-trust__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; text-align: center; }
.mn-trust__item + .mn-trust__item { border-left: 1px solid var(--line); }
.mn-trust__icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--soft-rose); color: var(--rose); }
.mn-trust__item strong { font-size: 12px; font-weight: 900; }
.mn-trust__item span:last-child { font-size: 10px; line-height: 13px; color: var(--muted); }
.mn-pd__details { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.mn-about { padding: 17px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.mn-about h2 { margin: 0 0 8px; font-size: 10px; font-weight: 900; letter-spacing: 1.4px; color: var(--muted); }
.mn-about__body { color: var(--muted); font-size: 15px; line-height: 23px; }
.mn-about__body > :last-child { margin-bottom: 0; }
.mn-acc { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.mn-acc summary { min-height: 50px; padding: 0 13px; display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; color: var(--wine); }
.mn-acc summary::-webkit-details-marker { display: none; }
.mn-acc summary span { flex: 1; font-size: 13px; font-weight: 800; color: var(--ink); }
.mn-acc summary .mn-i:last-child { color: var(--muted); transition: transform .2s; }
.mn-acc[open] summary .mn-i:last-child { transform: rotate(90deg); }
.mn-acc__body { padding: 2px 15px 15px; border-top: 1px solid var(--line); font-size: 12px; line-height: 19px; color: var(--muted); }
.mn-acc__body p { margin: 8px 0 0; }
.mn-acc__body table { width: 100%; border-collapse: collapse; }
.mn-acc__body th, .mn-acc__body td { padding: 9px 0; border-bottom: 1px solid #F3EEE8; text-align: left; font-size: 12px; vertical-align: top; }
.mn-acc__body .woocommerce-product-attributes th { font-weight: 400; color: var(--muted); width: 50%; }
.mn-acc__body .woocommerce-product-attributes td { font-weight: 700; color: var(--ink); text-align: right; }
.mn-acc__body .woocommerce-product-attributes td p { margin: 0; }
.mn-size-table { margin-top: 10px; }
.mn-size-table th { color: var(--ink); font-weight: 900; }
/* Reviews (WooCommerce reviews template) */
#reviews .woocommerce-Reviews-title { font-size: 17px; font-weight: 900; margin: 12px 0; }
#reviews ol.commentlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#reviews .comment_container { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
#reviews .comment_container img.avatar { width: 34px; height: 34px; border-radius: 50%; }
#reviews .comment-text { flex: 1; color: var(--ink); }
#reviews .comment-text .meta { font-size: 11px; color: var(--muted); }
#reviews .star-rating, .star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.1em; overflow: hidden; font-size: 13px; line-height: 1; letter-spacing: .1em; color: #D89422; }
.star-rating::before { content: "☆☆☆☆☆"; position: absolute; left: 0; top: 0; }
.star-rating span { position: absolute; left: 0; top: 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; position: absolute; left: 0; top: 0; }
#review_form_wrapper { margin-top: 14px; }
#review_form .comment-reply-title { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 900; color: var(--ink); }
#review_form p { margin: 0 0 10px; }
p.stars a { display: inline-block; width: 1.4em; font-size: 0; text-decoration: none; position: relative; }
p.stars a::before { content: "☆"; font-size: 24px; color: #D89422; }
p.stars:hover a::before, p.stars.selected a.active::before, p.stars.selected a:not(.active)::before { content: "★"; }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { content: "☆"; }
.related, .upsells { padding: 10px 14px 0; }
.related > h2, .upsells > h2 { margin: 10px 0 18px; font: 900 22px/1.2 var(--sans); color: var(--ink); }
@media (min-width: 900px) {
	.mn-product-main { padding: 16px; }
	div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; align-items: start; }
	div.product > * { grid-column: 1 / -1; }
	div.product > .mn-gallery { grid-column: 1; margin: 8px 0 0; position: sticky; top: 60px; }
	div.product > .summary { grid-column: 2; padding: 12px 0; }
	.mn-pd__details { padding: 24px 0; }
	.related, .upsells { padding: 10px 0; }
}

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { list-style: none; margin: 12px 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.woocommerce-error { background: #FDECEA; border-color: #F6D1CD; color: var(--red); flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message { border-color: #CFE3D7; background: #F1F8F3; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 38px; padding: 0 14px; font-size: 12px; box-shadow: none; order: 2; }
.mn-product-main .woocommerce-notices-wrapper { padding: 0 14px; }
.mn-toast { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: calc(86px + var(--safe-b)); display: flex; justify-content: center; pointer-events: none; }
.mn-toast span { padding: 10px 16px; border-radius: 20px; background: #1F1F1F; color: #fff; font-weight: 700; font-size: 13px; }

/* ---------- Pages ---------- */
.mn-page { max-width: 820px; }
.mn-entry__content { font-size: 15px; line-height: 1.65; color: var(--ink); }
.mn-page:not(.mn-wc-page) .mn-entry__content a { text-decoration: underline; }
.mn-entry__img img { border-radius: 16px; margin: 0 0 16px; }
.mn-posts { display: grid; gap: 16px; }
@media (min-width: 700px) { .mn-posts { grid-template-columns: 1fr 1fr; } }
.mn-post-card { padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.mn-post-card__img img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.mn-post-card__title { margin: 10px 0 4px; font: 400 19px/1.25 var(--serif); }
.mn-post-card__title a { color: var(--ink); }
.mn-post-card__excerpt { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- Cart (cart.tsx) ---------- */
.mn-wc-page { max-width: 1100px; }
.woocommerce-cart .mn-main, .woocommerce-cart { background: #FFFBF8; }
.mn-ship-progress { margin: 4px 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mn-ship-progress p { margin: 0 0 8px; font-size: 12px; color: var(--ink); }
.mn-ship-progress__bar { display: block; height: 6px; border-radius: 3px; background: var(--soft-rose); overflow: hidden; }
.mn-ship-progress__bar span { display: block; height: 100%; background: var(--green); }
table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; }
.woocommerce-cart-form table.cart thead { display: none; }
.woocommerce-cart-form table.cart, .woocommerce-cart-form table.cart tbody { display: block; }
.woocommerce-cart-form tr.cart_item { position: relative; display: grid; grid-template-columns: 91px 1fr; grid-template-areas: "thumb name" "thumb price" "thumb qty" "thumb sub"; column-gap: 12px; margin-bottom: 10px; padding: 10px 44px 10px 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.woocommerce-cart-form tr.cart_item td { display: block; padding: 0; border: 0; text-align: left; }
.woocommerce-cart-form td.product-thumbnail { grid-area: thumb; }
.woocommerce-cart-form td.product-thumbnail img { width: 91px; height: 125px; border-radius: 8px; object-fit: cover; background: var(--surface); }
.woocommerce-cart-form td.product-name { grid-area: name; font-size: 13px; font-weight: 700; line-height: 18px; }
.woocommerce-cart-form td.product-name a { color: var(--ink); }
.woocommerce-cart-form td.product-name dl.variation { margin: 4px 0 0; font-size: 11px; color: var(--muted); font-weight: 500; }
.woocommerce-cart-form td.product-name dl.variation dt, .woocommerce-cart-form td.product-name dl.variation dd { display: inline; margin: 0; }
.woocommerce-cart-form td.product-name dl.variation dd p { display: inline; margin: 0; }
.woocommerce-cart-form td.product-price { grid-area: price; margin-top: 6px; font-weight: 900; color: var(--wine); }
.woocommerce-cart-form td.product-quantity { grid-area: qty; margin-top: 8px; }
.woocommerce-cart-form td.product-quantity .quantity { justify-content: flex-start; }
.woocommerce-cart-form td.product-subtotal { grid-area: sub; margin-top: 6px; font-size: 12px; color: var(--muted); }
.woocommerce-cart-form td.product-subtotal::before { content: "Subtotal: "; }
.woocommerce-cart-form td.product-remove { position: absolute; right: 6px; top: 6px; }
.woocommerce-cart-form a.remove { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--soft-rose); color: var(--wine) !important; font-size: 20px; line-height: 1; }
.woocommerce-cart-form tr:not(.cart_item) { display: block; }
.woocommerce-cart-form td.actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 0; border: 0; }
.woocommerce-cart-form .coupon { flex: 1 1 100%; display: flex; gap: 8px; }
.woocommerce-cart-form .coupon label { display: none; }
.woocommerce-cart-form .coupon .input-text { flex: 1; min-height: 48px; }
.woocommerce-cart-form .coupon .button { min-height: 48px; box-shadow: none; }
.woocommerce-cart-form button[name=update_cart] { min-height: 40px; background: none; color: var(--muted); box-shadow: none; font-weight: 700; font-size: 12px; }
.mn-js .woocommerce-cart-form button[name=update_cart] { display: none; }
.cart-collaterals { margin-top: 14px; }
.cart_totals { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.cart_totals h2 { font-size: 16px; font-weight: 900; margin-bottom: 10px; }
.cart_totals h2::after { content: ""; }
.cart_totals table th, .cart_totals table td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 8px 0; border-bottom: 1px solid #F3EEE8; text-align: left; font-size: 13px; vertical-align: top; }
.cart_totals table td, .woocommerce-checkout-review-order-table td { text-align: right; }
.cart_totals .order-total th, .cart_totals .order-total td, .woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { border-bottom: 0; font-size: 16px; font-weight: 900; color: var(--wine); }
#shipping_method { list-style: none; margin: 0; padding: 0; }
#shipping_method li { margin-bottom: 4px; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 11px; color: var(--muted); }
.wc-proceed-to-checkout { padding-top: 12px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 49px; }
@media (max-width: 899.98px) {
	.woocommerce-cart.mn-has-items { padding-bottom: calc(var(--tabs-h) + 90px + var(--safe-b)); }
	.woocommerce-cart .wc-proceed-to-checkout { position: fixed; z-index: 55; left: 0; right: 0; bottom: calc(var(--tabs-h) + var(--safe-b) - 1px); padding: 8px 12px; background: #FFFBF8; border-top: 1px solid var(--line); }
}
@media (min-width: 900px) {
	.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0 24px; align-items: start; }
	.woocommerce-cart .woocommerce > * { grid-column: 1 / -1; }
	.woocommerce-cart .woocommerce > .woocommerce-cart-form { grid-column: 1; }
	.woocommerce-cart .woocommerce > .cart-collaterals { grid-column: 2; margin-top: 0; position: sticky; top: 60px; }
}
.cart-empty { padding: 30px 0 10px; text-align: center; font-weight: 700; color: var(--muted); }
.return-to-shop { text-align: center; }

/* ---------- Checkout ---------- */
form.checkout { display: flex; flex-direction: column; gap: 14px; }
.col2-set .col-1, .col2-set .col-2 { width: 100%; float: none; }
.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields, #order_review, .woocommerce-form-coupon, .woocommerce-form-login { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.col2-set .col-2 .woocommerce-shipping-fields:not(:has(*)) { display: none; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3, #order_review_heading { margin: 0 0 12px; font-size: 16px; font-weight: 900; }
#order_review_heading { margin: 6px 0 -4px; }
.form-row { margin: 0 0 12px; padding: 0; }
.form-row label { display: block; margin-bottom: 5px; }
.form-row .required { color: var(--red); text-decoration: none; }
.form-row.woocommerce-invalid input { border-color: var(--red); }
.woocommerce-input-wrapper { display: block; }
#ship-to-different-address { font-size: 14px; }
#ship-to-different-address label { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 800; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--rose); }
.woocommerce-checkout-review-order-table { margin-bottom: 12px; }
.woocommerce-checkout-review-order-table thead th { font-size: 11px; color: var(--muted); font-weight: 800; letter-spacing: .5px; }
.woocommerce-checkout-review-order-table .product-name { font-weight: 600; }
#payment ul.payment_methods { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#payment li.wc_payment_method { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
#payment li.wc_payment_method > label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--ink); }
#payment li.wc_payment_method > label img { max-height: 24px; width: auto; }
#payment .payment_box { margin-top: 8px; font-size: 12px; color: var(--muted); }
#payment .payment_box p:last-child { margin: 0; }
.woocommerce-terms-and-conditions-wrapper { font-size: 12px; color: var(--muted); }
#place_order { width: 100%; min-height: 54px; border-radius: 17px; font-size: 15px; }
.woocommerce-form-coupon-toggle .woocommerce-info { justify-content: flex-start; }
@media (min-width: 900px) {
	form.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px 24px; align-items: start; }
	form.checkout > * { grid-column: 1; }
	form.checkout > #order_review_heading, form.checkout > #order_review { grid-column: 2; }
	form.checkout > #order_review_heading { grid-row: 1; }
	form.checkout > #order_review { grid-row: 2 / span 4; position: sticky; top: 60px; }
}
@media (max-width: 899.98px) {
	.woocommerce-checkout .mn-tabs { display: none; }
	.woocommerce-checkout { padding-bottom: calc(24px + var(--safe-b)); }
}
/* Order received */
.woocommerce-order { display: flex; flex-direction: column; gap: 14px; }
.woocommerce-thankyou-order-received { padding: 18px; border-radius: 16px; background: #F1F8F3; border: 1px solid #CFE3D7; font-weight: 800; color: var(--green); text-align: center; }
ul.woocommerce-order-overview { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 11px; color: var(--muted); }
ul.woocommerce-order-overview strong { display: block; font-size: 14px; color: var(--ink); }
.woocommerce-order-details, .woocommerce-customer-details { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.woocommerce-order-details table td, .woocommerce-order-details table th { padding: 8px 0; border-bottom: 1px solid #F3EEE8; text-align: left; font-size: 13px; }

/* Block cart and checkout (if used): app colours only */
.wc-block-components-button:not(.is-link) { border-radius: 16px; background: var(--rose); color: #fff; font-weight: 900; }
.wc-block-cart, .wc-block-checkout { color: var(--ink); }

/* ---------- Account (the MBM My Account UI plugin lays it out; these keep the app colours) ---------- */
.woocommerce-account .mn-entry__content { font-size: 14px; }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-orders-table, .woocommerce-table { width: 100%; }
.woocommerce-form-login, .woocommerce-form-register { margin-top: 12px; }
.woocommerce-form-login .button, .woocommerce-form-register .button { width: 100%; }

/* Show-password toggle on login forms */
.password-input { position: relative; display: block; }
.password-input input { padding-right: 52px; }
.show-password-input { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; padding: 0; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23857276' d='M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 8a5 5 0 1 1 0-10 5 5 0 0 1 0 10m0-12.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5'/%3E%3C/svg%3E") no-repeat center / 22px; box-shadow: none; min-height: 0; }
.show-password-input.display-password { opacity: .55; }

/* ---------- Comments ---------- */
.mn-comments { margin-top: 24px; }
.mn-comment-list { padding-left: 18px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
