/* =========================================================================
   Madame Masala — WordPress + WooCommerce additions to the Restory template.
   Design tokens taken from the template:
     brass  #c7ad88     ground #111      panel #1a1a1a
     serif  Merriweather   sans Poppins   script Mr Dafoe
   Edit this file for shop styling; leave style.css as the template shipped it.
   ========================================================================= */

:root {
	--mm-brass: #c7ad88;
	--mm-brass-dark: #ab8f68;
	--mm-ground: #111;
	--mm-panel: #191919;
	--mm-panel-2: #202020;
	--mm-line: rgba(199, 173, 136, 0.22);
	--mm-text: #b9b3ac;
	--mm-text-dim: #8b8681;
	--mm-white: #fff;
	--mm-serif: "Merriweather", Georgia, serif;
	--mm-sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
	--mm-script: "Mr Dafoe", cursive;
}

/* ------------------------------------------------------------------ base */

body {
	background: var(--mm-ground);
	color: var(--mm-text);
	font-family: var(--mm-sans);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--mm-serif);
	color: var(--mm-white);
}

a { color: var(--mm-brass); }
a:hover, a:focus { color: var(--mm-brass-dark); text-decoration: none; }

.mm-section { padding: 90px 0; }
.mm-section + .mm-section { padding-top: 0; }

.mm-prose { color: var(--mm-text); line-height: 1.85; font-size: 15px; }
.mm-prose h2, .mm-prose h3, .mm-prose h4 { margin: 34px 0 14px; }
.mm-prose h2 { font-size: 26px; }
.mm-prose h3 { font-size: 20px; color: var(--mm-brass); }
.mm-prose p { margin-bottom: 18px; }
.mm-prose ul, .mm-prose ol { margin: 0 0 20px 20px; }
.mm-prose li { margin-bottom: 9px; }
.mm-prose strong { color: var(--mm-white); font-weight: 500; }
.mm-prose blockquote {
	border-left: 2px solid var(--mm-brass);
	padding: 6px 0 6px 22px;
	margin: 26px 0;
	font-family: var(--mm-serif);
	font-style: italic;
	color: var(--mm-white);
}
.mm-prose table { width: 100%; margin-bottom: 22px; }
.mm-prose th, .mm-prose td { border-bottom: 1px solid var(--mm-line); padding: 10px 12px; }
.mm-prose th { color: var(--mm-brass); font-family: var(--mm-sans); font-weight: 500; text-align: left; }

/* buttons — the template's .button-one, extended to Woo's classes */
.button-one,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	display: inline-block;
	background: transparent;
	border: 1px solid var(--mm-brass);
	color: var(--mm-brass);
	font-family: var(--mm-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	padding: 14px 32px;
	border-radius: 0;
	line-height: 1.4;
	transition: background .25s ease, color .25s ease;
}
.button-one:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--mm-brass);
	color: var(--mm-ground);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--mm-brass);
	color: var(--mm-ground);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: transparent;
	color: var(--mm-brass);
}

/* ---------------------------------------------------------------- header */

.navbar-brand { font-family: var(--mm-serif); }
.mm-brand-logo { padding: 26px 26px 22px 0 !important; height: auto; }
.mm-brand-logo img { height: 54px; width: auto; max-width: none; display: block; }
.mm-brand-logo .custom-logo-link { display: block; }

@media (min-width: 992px) and (max-width: 1300px) {
	.mm-brand-logo { padding-right: 16px !important; }
	.mm-brand-logo img { height: 44px; }
}
@media (max-width: 991px) {
	.mm-brand-logo { padding: 14px 0 !important; }
	.mm-brand-logo img { height: 40px; }
}

.mm-cart-item { }
.mm-cart-link { position: relative; display: block; padding: 40px 6px 30px 18px !important; color: var(--mm-brass) !important; }
.mm-cart-link .fa { font-size: 16px; }
.mm-cart-count {
	position: absolute;
	top: 32px; right: -8px;
	min-width: 17px; height: 17px;
	background: var(--mm-brass);
	color: var(--mm-ground);
	border-radius: 50%;
	font-family: var(--mm-sans);
	font-size: 10px;
	font-weight: 600;
	line-height: 17px;
	text-align: center;
}

/* ------------------------------------------------------------------ hero */

.mm-hero {
	position: relative;
	min-height: 100vh;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	text-align: center;
}
.mm-hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10,8,6,.72) 0%, rgba(10,8,6,.55) 45%, rgba(10,8,6,.82) 100%);
}
.mm-hero .container { position: relative; z-index: 2; }
.mm-hero-inner { max-width: 900px; margin: 0 auto; padding: 230px 0 110px; }
.mm-hero-script {
	display: block;
	font-family: var(--mm-script);
	font-size: 40px;
	color: var(--mm-brass);
	margin-bottom: 8px;
}
.mm-hero h1 {
	font-family: var(--mm-serif);
	font-size: 54px;
	line-height: 1.25;
	color: #fff;
	margin: 0 0 22px;
	text-shadow: 0 2px 26px rgba(0,0,0,.5);
}
.mm-hero-divider { margin: 0 0 28px; }
.mm-hero-divider img { max-width: 220px; opacity: .85; }
.mm-hero-scroll {
	position: absolute;
	bottom: 34px; left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	color: var(--mm-brass);
	font-size: 28px;
	opacity: .8;
	animation: mm-bob 2.4s infinite;
}
@keyframes mm-bob { 0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,9px);} }

/* --------------------------------------------------------- page banners */

.mm-banner {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 190px 0 80px;
	text-align: center;
}
.mm-banner:before {
	content: "";
	position: absolute; inset: 0;
	background: rgba(10,8,6,.72);
}
.mm-banner .container { position: relative; z-index: 2; }
.mm-banner h1 {
	font-size: 42px;
	color: #fff;
	margin: 0 0 10px;
}
.mm-banner-sub {
	color: var(--mm-text);
	max-width: 720px;
	margin: 0 auto 12px;
}
.mm-crumbs { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mm-text-dim); }
.mm-crumbs a { color: var(--mm-brass); }
.mm-crumbs span { margin: 0 6px; }
.mm-crumbs .current { color: var(--mm-text-dim); margin: 0; }

/* --------------------------------------------------------------- titles */

.title-section h1 { font-size: 38px; }
.title-section p { max-width: 760px; margin: 12px auto 0; color: var(--mm-text); }

/* ------------------------------------------------------------ intro row */

.mm-intro-row { align-items: center; display: flex; flex-wrap: wrap; }
.mm-intro-media img { width: 100%; height: auto; }
.mm-intro-text { padding-left: 20px; }

@media (max-width: 991px) {
	.mm-intro-text { padding-left: 0; padding-top: 26px; }
}

/* ------------------------------------------------------- category cards */

.mm-cat-card {
	display: block;
	background: var(--mm-panel);
	border: 1px solid var(--mm-line);
	margin-bottom: 30px;
	transition: border-color .25s ease, transform .25s ease;
}
.mm-cat-card:hover { border-color: var(--mm-brass); transform: translateY(-3px); }
.mm-cat-media { display: block; overflow: hidden; }
.mm-cat-media img { width: 100%; height: 230px; object-fit: cover; transition: transform .5s ease; }
.mm-cat-card:hover .mm-cat-media img { transform: scale(1.05); }
.mm-cat-body { display: block; padding: 22px 20px 26px; text-align: center; }
.mm-cat-name {
	display: block;
	font-family: var(--mm-serif);
	font-size: 19px;
	color: #fff;
	margin-bottom: 8px;
}
.mm-cat-desc { display: block; font-size: 13px; color: var(--mm-text); line-height: 1.7; margin-bottom: 10px; }
.mm-cat-count { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--mm-brass); }

/* ----------------------------------------------------- featured carousel */

.mm-featured .menu-post img { width: 120px; height: 120px; object-fit: cover; }
.mm-featured .menu-post-content h2 { font-size: 19px; }
.mm-featured .menu-post-content h2 a { color: #fff; }
.mm-featured .menu-post-content h2 a:hover { color: var(--mm-brass); }
.mm-featured .menu-post-content span { color: var(--mm-brass); font-family: var(--mm-sans); font-size: 15px; }
.mm-featured .menu-post-content span del { opacity: .55; margin-right: 6px; }
.mm-featured-more { margin-top: 34px; }

/* ------------------------------------------------------------- CTA band */

.mm-band {
	position: relative;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 110px 0;
	text-align: center;
}
.mm-band-overlay { position: absolute; inset: 0; background: rgba(10,8,6,.78); }
.mm-band .container { position: relative; z-index: 2; }
.mm-band h1 { font-size: 42px; margin-bottom: 12px; }
.mm-band h3 { font-family: var(--mm-serif); font-style: italic; font-size: 19px; color: var(--mm-text); font-weight: 300; margin-bottom: 28px; }

/* --------------------------------------------------------- recipe cards */

.mm-recipe-card { background: var(--mm-panel); border: 1px solid var(--mm-line); margin-bottom: 30px; }
.mm-recipe-media { display: block; overflow: hidden; }
.mm-recipe-media img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s ease; }
.mm-recipe-card:hover .mm-recipe-media img { transform: scale(1.05); }
.mm-recipe-body { padding: 22px 22px 26px; }
.mm-recipe-body h2 { font-size: 19px; line-height: 1.4; margin: 8px 0 10px; }
.mm-recipe-body h2 a { color: #fff; }
.mm-recipe-body h2 a:hover { color: var(--mm-brass); }
.mm-recipe-body p { font-size: 14px; line-height: 1.75; margin: 0; }
.mm-date, .post-meta { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--mm-brass); }
.post-meta span + span:before { content: "·"; margin: 0 8px; color: var(--mm-text-dim); }

/* ---------------------------------------------------------- blog listing */

.mm-blog-card { background: var(--mm-panel); border: 1px solid var(--mm-line); margin-bottom: 40px; }
.mm-blog-media img { width: 100%; height: auto; }
.mm-blog-body { padding: 30px 34px 36px; }
.mm-blog-body h2 { font-size: 27px; line-height: 1.35; margin: 10px 0 14px; }
.mm-blog-body h2 a { color: #fff; }
.mm-blog-body h2 a:hover { color: var(--mm-brass); }
.mm-blog-body p { margin-bottom: 20px; line-height: 1.8; }

.mm-article { padding-bottom: 20px; }
.mm-article .post-meta { margin-bottom: 22px; }
.mm-postnav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--mm-line); padding-top: 24px; margin-top: 30px; }
.mm-postnav a { font-size: 13px; }

.mm-pagination { margin-top: 30px; text-align: center; }
.mm-pagination .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 9px 12px;
	margin: 0 3px;
	border: 1px solid var(--mm-line);
	color: var(--mm-text);
	font-size: 13px;
}
.mm-pagination .page-numbers.current,
.mm-pagination .page-numbers:hover { border-color: var(--mm-brass); color: var(--mm-brass); }

/* --------------------------------------------------------------- sidebar */

.mm-sidebar .widget { background: var(--mm-panel); border: 1px solid var(--mm-line); padding: 24px; margin-bottom: 26px; }
.mm-sidebar .widget-title { font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: var(--mm-brass); margin: 0 0 16px; font-family: var(--mm-sans); }
.mm-sidebar ul { list-style: none; margin: 0; padding: 0; }
.mm-sidebar li { padding: 8px 0; border-bottom: 1px solid var(--mm-line); font-size: 14px; }
.mm-sidebar li:last-child { border-bottom: 0; }

.mm-search { display: flex; }
.mm-search input { flex: 1; background: var(--mm-panel-2); border: 1px solid var(--mm-line); color: #fff; padding: 12px 14px; }
.mm-search button { background: var(--mm-brass); border: 0; color: var(--mm-ground); padding: 0 18px; }

/* ====================================================== WooCommerce ==== */

.mm-shop-section { padding: 70px 0 100px; }

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 26px; }
.woocommerce .woocommerce-result-count { color: var(--mm-text-dim); font-size: 13px; }
.woocommerce .woocommerce-ordering select,
.woocommerce select, .woocommerce input[type="text"], .woocommerce input[type="email"],
.woocommerce input[type="tel"], .woocommerce input[type="password"], .woocommerce input[type="number"],
.woocommerce textarea, .select2-container .select2-selection--single {
	background: var(--mm-panel-2);
	border: 1px solid var(--mm-line);
	color: #fff;
	padding: 11px 13px;
	border-radius: 0;
	height: auto;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #fff; line-height: 1.6; }
.select2-dropdown { background: var(--mm-panel-2); border-color: var(--mm-line); color: #fff; }

/* product grid */
.woocommerce ul.products { margin: 0 -15px; display: flex; flex-wrap: wrap; }
.woocommerce ul.products li.product {
	float: none;
	width: 33.3333%;
	padding: 0 15px;
	margin: 0 0 30px;
}
.woocommerce ul.products li.product .mm-card {
	background: var(--mm-panel);
	border: 1px solid var(--mm-line);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: border-color .25s ease, transform .25s ease;
}
.woocommerce ul.products li.product .mm-card:hover { border-color: var(--mm-brass); transform: translateY(-3px); }
.mm-card-media { position: relative; overflow: hidden; background: #f7f5f2; }
.woocommerce ul.products li.product .mm-card-media img { width: 100%; height: auto; margin: 0; transition: transform .5s ease; }
.woocommerce ul.products li.product:hover .mm-card-media img { transform: scale(1.04); }
.mm-card-body { padding: 22px 20px 24px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--mm-serif);
	font-size: 18px;
	color: #fff;
	padding: 0;
	margin: 0 0 4px;
}
.mm-card-sub {
	font-size: 10px;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	color: var(--mm-text-dim);
	margin-bottom: 12px;
}
.woocommerce ul.products li.product .price {
	color: var(--mm-brass);
	font-family: var(--mm-sans);
	font-size: 15px;
	margin: 0 0 16px;
	display: block;
}
.woocommerce ul.products li.product .price del { opacity: .5; font-size: 13px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin-top: auto; align-self: center; }
.woocommerce span.onsale {
	background: var(--mm-brass);
	color: var(--mm-ground);
	border-radius: 0;
	font-family: var(--mm-sans);
	font-size: 10px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	min-height: 0;
	min-width: 0;
	padding: 6px 12px;
	line-height: 1;
	top: 12px; left: 12px;
	margin: 0;
}

/* category tiles inside the shop loop */
.woocommerce ul.products li.product-category a { display: block; background: var(--mm-panel); border: 1px solid var(--mm-line); }
.woocommerce ul.products li.product-category h2 { padding: 18px; font-size: 18px; text-align: center; }

/* single product */
.woocommerce div.product { color: var(--mm-text); }
.woocommerce div.product .product_title { font-size: 38px; margin-bottom: 4px; }
.mm-single-sub { font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--mm-brass); margin-bottom: 18px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--mm-brass); font-size: 25px; font-family: var(--mm-sans); }
.woocommerce div.product .woocommerce-product-details__short-description { line-height: 1.85; margin-bottom: 22px; }
.woocommerce div.product form.cart { margin-bottom: 30px; }
.woocommerce div.product form.cart .variations { margin-bottom: 18px; }
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td { border: 0; padding: 8px 0; }
.woocommerce div.product form.cart .variations label { color: var(--mm-white); font-family: var(--mm-sans); font-weight: 400; }
.woocommerce div.product .quantity .qty {
	background: var(--mm-panel-2);
	border: 1px solid var(--mm-line);
	color: #fff;
	padding: 12px 8px;
	width: 76px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 26px; border-bottom: 1px solid var(--mm-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs:before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0 26px 0 0;
	padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:before,
.woocommerce div.product .woocommerce-tabs ul.tabs li:after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: var(--mm-text-dim);
	font-family: var(--mm-sans);
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 12px 0;
	display: block;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--mm-brass); border-bottom: 1px solid var(--mm-brass); }
.woocommerce div.product .woocommerce-tabs .panel { line-height: 1.85; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 22px; margin-bottom: 16px; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-size: 28px; margin-bottom: 30px; }

/* stock, notices, messages */
.woocommerce .stock { color: var(--mm-brass); }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background: var(--mm-panel);
	border-top: 2px solid var(--mm-brass);
	color: var(--mm-text);
	border-radius: 0;
}
.woocommerce-message:before, .woocommerce-info:before { color: var(--mm-brass); }
.woocommerce-error { border-top-color: #b4544a; }
.woocommerce-error:before { color: #b4544a; }

/* cart + checkout tables */
.woocommerce table.shop_table {
	background: var(--mm-panel);
	border: 1px solid var(--mm-line);
	border-radius: 0;
	color: var(--mm-text);
}
.woocommerce table.shop_table th { color: var(--mm-brass); font-family: var(--mm-sans); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; }
.woocommerce table.shop_table td, .woocommerce table.shop_table tbody th { border-top: 1px solid var(--mm-line); }
.woocommerce table.shop_table a { color: #fff; }
.woocommerce table.shop_table a:hover { color: var(--mm-brass); }
.woocommerce .cart_totals h2, .woocommerce-checkout h3, .woocommerce-billing-fields h3 { font-size: 22px; margin-bottom: 18px; }
.woocommerce-checkout #payment { background: var(--mm-panel); border: 1px solid var(--mm-line); border-radius: 0; }
.woocommerce-checkout #payment div.payment_box { background: var(--mm-panel-2); color: var(--mm-text); }
.woocommerce-checkout #payment div.payment_box:before { border-bottom-color: var(--mm-panel-2); }
.woocommerce form .form-row label { color: var(--mm-white); font-family: var(--mm-sans); font-weight: 400; font-size: 13px; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
	background: var(--mm-panel);
	border: 1px solid var(--mm-line);
	border-radius: 0;
}

/* my account */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid var(--mm-line);
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 13px 4px;
	font-size: 13px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--mm-text);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { color: var(--mm-brass); }

/* Woo block-based cart/checkout (WP 7 default) */
.wc-block-components-title, .wc-block-cart__submit-container { color: #fff; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { color: var(--mm-text); }
.wc-block-components-product-name { color: #fff !important; }
.wc-block-components-totals-item__value, .wc-block-formatted-money-amount { color: var(--mm-brass); }
.wc-block-components-text-input input, .wc-block-components-textarea {
	background: var(--mm-panel-2) !important;
	border-color: var(--mm-line) !important;
	color: #fff !important;
}
.wc-block-components-button {
	background: var(--mm-brass) !important;
	color: var(--mm-ground) !important;
	border-radius: 0 !important;
}

/* ---------------------------------------------------------------- footer */

footer .instagram-widget h3 a { color: var(--mm-brass); }
.mm-footer-links { list-style: none; margin: 10px 0 0; padding: 0; }
.mm-footer-links li { display: inline-block; margin-right: 18px; }
.mm-footer-links a { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mm-text-dim); }
.mm-footer-links a:hover { color: var(--mm-brass); }

/* --------------------------------------------------------------- mobile */

@media (max-width: 991px) {
	.woocommerce ul.products li.product { width: 50%; }
	.mm-hero h1 { font-size: 38px; }
	.mm-banner { padding: 150px 0 60px; }
	.mm-banner h1 { font-size: 32px; }
	.mm-section { padding: 60px 0; }
	.mm-band { background-attachment: scroll; }
}

@media (max-width: 600px) {
	.woocommerce ul.products li.product { width: 100%; }
	.mm-hero h1 { font-size: 29px; }
	.mm-hero-script { font-size: 30px; }
	.title-section h1 { font-size: 28px; }
	.mm-blog-body { padding: 22px; }
}

/* ------------------------------------------------- navbar fit & spacing */
/* The template's bar was built for 6 short items; ours carries 7 plus a
   cart, so the horizontal rhythm is tightened to keep it on one line. */
.navbar-default .inner-navbar { padding: 0 40px; }
.navbar-brand { padding: 34px 26px 30px 0 !important; font-size: 19px !important; }
.navbar-nav { padding-right: 0; }
.navbar-nav > li > a { margin: 0 14px; padding: 36px 0 32px; font-size: 11px; letter-spacing: .9px; }
.mm-cart-link { padding: 36px 0 32px 16px !important; }
.mm-cart-count { top: 28px; right: -10px; }

@media (min-width: 992px) and (max-width: 1300px) {
	.navbar-default .inner-navbar { padding: 0 24px; }
	.navbar-brand { font-size: 17px !important; padding-right: 18px !important; }
	.navbar-nav > li > a { margin: 0 9px; font-size: 10px; letter-spacing: .6px; }
}

/* Hero clears the bordered nav box */
.mm-hero-inner { padding: 260px 0 120px; }

@media (max-width: 991px) {
	.navbar-default { margin-top: 0; }
	.navbar-default .inner-navbar { padding: 0 16px; background: rgba(17,17,17,.97); border-color: transparent; }
	.navbar-brand { padding: 20px 0 !important; }
	.navbar-nav > li > a { padding: 12px 0; margin: 0; }
	.mm-cart-link { padding: 12px 0 !important; }
	.mm-cart-count { position: static; display: inline-block; margin-left: 6px; }
	.mm-hero-inner { padding: 150px 0 90px; }
}

/* --------------------------------------------- featured carousel tuning */
/* The template's .menu-post is a flex row with img and content each 50%.
   Product shots are square, so they are cropped to the template's ratio. */
section.popular-menu-section .menu-box .item .menu-post img {
	height: 300px;
	object-fit: cover;
	background: #f7f5f2;
}
.mm-post-link { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 3; }
section.popular-menu-section .menu-box .item .menu-post .menu-post-content h2 { font-size: 20px; margin-bottom: 8px; }
section.popular-menu-section .menu-box .item .menu-post .menu-post-content p { font-size: 13px; }
section.popular-menu-section .menu-box .item .menu-post .menu-post-content span { font-size: 19px; color: var(--mm-brass); }
section.popular-menu-section .menu-box .item .menu-post .menu-post-content span del { font-size: 15px; opacity: .55; }
section.popular-menu-section .menu-box .item .menu-post .menu-post-content span ins { text-decoration: none; }

@media (max-width: 600px) {
	section.popular-menu-section .menu-box .item .menu-post { flex-direction: column !important; }
	section.popular-menu-section .menu-box .item .menu-post img { width: 100%; height: 220px; }
	section.popular-menu-section .menu-box .item .menu-post .menu-post-content { width: 100%; padding: 22px; }
}

/* Footer social icons: the template styles this list on its own pages only */
footer .social-icons { list-style: none; margin: 0; padding: 0; text-align: right; }
footer .social-icons li { display: inline-block; margin-left: 14px; }
footer .social-icons li:before { content: none; }
footer .social-icons a { color: var(--mm-text-dim); font-size: 15px; }
footer .social-icons a:hover { color: var(--mm-brass); }
footer .container > .row { align-items: center; display: flex; flex-wrap: wrap; }

@media (max-width: 767px) {
	footer .social-icons { text-align: left; margin-top: 14px; }
	footer .social-icons li { margin: 0 14px 0 0; }
}

/* =========================================================================
   Round 2 fixes
   ========================================================================= */

/* --- Logo overlaps the bordered nav bar, and the hero runs under it ----- */
header .navbar-default .inner-navbar { overflow: visible; }
.navbar-header { z-index: 5; }
.mm-brand-logo { padding: 0 26px 0 0 !important; display: flex; align-items: center; }
.mm-brand-logo img {
	height: 96px;
	width: auto;
	max-width: none;
	display: block;
	margin: -22px 0;            /* break out of the bar, top and bottom */
	position: relative;
	z-index: 5;
}
header.active .mm-brand-logo img { height: 74px; margin: -12px 0; }

@media (min-width: 992px) and (max-width: 1300px) {
	.mm-brand-logo { padding-right: 14px !important; }
	.mm-brand-logo img { height: 78px; margin: -16px 0; }
	header.active .mm-brand-logo img { height: 62px; margin: -9px 0; }
}

/* --- Bootstrap 3's .panel makes Woo's description tab white ------------- */
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs .wc-tab,
.woocommerce div.product .woocommerce-Tabs-panel {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--mm-text);
	padding: 8px 0 0;
	margin-bottom: 40px;
}
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce div.product .woocommerce-tabs .panel li { color: var(--mm-text); }
.woocommerce div.product .woocommerce-tabs .panel h2 { color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel a { color: var(--mm-brass); }

/* Woo's additional-information + reviews tables on dark */
.woocommerce div.product .woocommerce-tabs table.shop_attributes th,
.woocommerce div.product .woocommerce-tabs table.shop_attributes td {
	background: transparent;
	border-bottom: 1px solid var(--mm-line);
	color: var(--mm-text);
}
.woocommerce #reviews #comments h2, .woocommerce #review_form #respond h3 { color: #fff; }
.woocommerce #reviews .comment-text { border: 1px solid var(--mm-line); background: var(--mm-panel); }

/* --- Buttons: beat WooCommerce 11's own colours ------------------------- */
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled[disabled],
.woocommerce div.product form.cart .button,
.woocommerce .single_add_to_cart_button {
	background-color: var(--mm-brass) !important;
	background-image: none !important;
	color: var(--mm-ground) !important;
	border: 1px solid var(--mm-brass) !important;
	border-radius: 0 !important;
	text-shadow: none !important;
	font-family: var(--mm-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	padding: 15px 34px;
}
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover {
	background-color: transparent !important;
	color: var(--mm-brass) !important;
}
.woocommerce button.button.alt:disabled { opacity: .45; }

/* quantity box beside it */
.woocommerce div.product form.cart div.quantity { margin-right: 12px; }
.woocommerce .quantity input.qty {
	background: var(--mm-panel-2) !important;
	border: 1px solid var(--mm-line) !important;
	color: #fff !important;
	height: 51px;
}

/* variation select + reset link */
.woocommerce div.product form.cart .variations select {
	background: var(--mm-panel-2);
	border: 1px solid var(--mm-line);
	color: #fff;
	min-width: 220px;
}
.woocommerce div.product form.cart .reset_variations { color: var(--mm-brass); font-size: 12px; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 14px; }
.woocommerce div.product .woocommerce-variation-description p { color: var(--mm-text); }

/* meta line under the buy box */
.woocommerce div.product .product_meta { color: var(--mm-text-dim); font-size: 13px; border-top: 1px solid var(--mm-line); padding-top: 16px; margin-top: 22px; }
.woocommerce div.product .product_meta a { color: var(--mm-brass); }

/* =========================== Forms (Contact Form 7) ==================== */

.wpcf7 { margin-top: 26px; }
.wpcf7 form > p, .wpcf7 p { margin: 0 0 18px; }
.wpcf7 label {
	display: block;
	color: var(--mm-white);
	font-family: var(--mm-sans);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	background: var(--mm-panel-2);
	border: 1px solid var(--mm-line);
	color: #fff;
	font-family: var(--mm-sans);
	font-size: 14px;
	padding: 14px 16px;
	border-radius: 0;
	transition: border-color .2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.wpcf7 textarea { min-height: 170px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus {
	border-color: var(--mm-brass);
	outline: none;
}
.wpcf7 ::placeholder { color: var(--mm-text-dim); opacity: 1; }

/* radio / checkbox groups */
.wpcf7 .wpcf7-radio, .wpcf7 .wpcf7-checkbox { display: block; }
.wpcf7 .wpcf7-list-item { display: block; margin: 0 0 10px; }
.wpcf7 .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: 10px;
	text-transform: none;
	letter-spacing: 0;
	font-size: 14px;
	color: var(--mm-text);
	margin: 0;
	cursor: pointer;
}
.wpcf7 .wpcf7-list-item input[type="radio"],
.wpcf7 .wpcf7-list-item input[type="checkbox"] { accent-color: var(--mm-brass); width: 16px; height: 16px; }

.wpcf7 input[type="submit"] {
	background: transparent;
	border: 1px solid var(--mm-brass);
	color: var(--mm-brass);
	font-family: var(--mm-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	padding: 15px 38px;
	border-radius: 0;
	cursor: pointer;
	width: auto;
	transition: background .25s ease, color .25s ease;
}
.wpcf7 input[type="submit"]:hover { background: var(--mm-brass); color: var(--mm-ground); }

.wpcf7 .wpcf7-not-valid-tip { color: #d98b7f; font-size: 12px; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output {
	border: 1px solid var(--mm-line);
	border-left: 3px solid var(--mm-brass);
	color: var(--mm-text);
	padding: 14px 16px;
	margin: 18px 0 0;
}
.wpcf7-spinner { filter: invert(1) opacity(.6); }

/* two-column form rows on wider screens */
@media (min-width: 768px) {
	.mm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
	.mm-form-grid .mm-form-wide { grid-column: 1 / -1; }
}

/* ======================= Build Your Own Box picker ===================== */

.mm-box-builder {
	border-top: 1px solid var(--mm-line);
	margin: 26px 0 24px;
	padding-top: 24px;
}
.mm-box-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mm-box-head h3 { font-size: 18px; margin: 0; }
.mm-box-counter {
	margin: 0;
	font-family: var(--mm-sans);
	font-size: 12px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--mm-text-dim);
}
.mm-box-picked, .mm-box-cap { color: var(--mm-brass); font-weight: 600; }
.mm-box-ready .mm-box-counter { color: var(--mm-brass); }
.mm-box-hint { font-size: 13px; color: var(--mm-text-dim); margin: 6px 0 16px; }

.mm-box-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	max-height: 330px;
	overflow-y: auto;
	padding-right: 6px;
}
.mm-box-grid::-webkit-scrollbar { width: 6px; }
.mm-box-grid::-webkit-scrollbar-track { background: var(--mm-panel-2); }
.mm-box-grid::-webkit-scrollbar-thumb { background: var(--mm-line); }

.mm-box-grid li { margin: 0; }
.mm-box-grid label {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--mm-panel-2);
	border: 1px solid transparent;
	padding: 8px 10px;
	cursor: pointer;
	font-family: var(--mm-sans);
	font-size: 13px;
	color: var(--mm-text);
	transition: border-color .18s ease, background .18s ease;
	margin: 0;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}
.mm-box-grid label:hover { border-color: var(--mm-line); }
.mm-box-grid input { accent-color: var(--mm-brass); width: 16px; height: 16px; flex: none; }
.mm-box-thumb { flex: none; width: 34px; height: 34px; background: #f7f5f2; overflow: hidden; }
.mm-box-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-box-name { line-height: 1.35; }
.mm-box-name em { display: block; font-style: normal; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mm-text-dim); }
.mm-box-grid input:checked + .mm-box-thumb + .mm-box-name,
.mm-box-grid input:checked ~ .mm-box-name { color: #fff; }
.mm-box-grid label:has(input:checked) { border-color: var(--mm-brass); background: rgba(199,173,136,.08); }
.mm-box-grid label:has(input:disabled) { opacity: .4; cursor: not-allowed; }

.mm-box-error {
	margin: 14px 0 0;
	font-size: 13px;
	color: #d98b7f;
}
.mm-box-locked .mm-box-grid { opacity: .45; pointer-events: none; }

@media (max-width: 600px) {
	.mm-box-grid { grid-template-columns: 1fr; max-height: 280px; }
}

/* ========================= Mobile refinements ========================== */

@media (max-width: 991px) {

	/* Comfortable touch targets on real controls (inline prose links stay inline) */
	.navbar-nav > li > a { padding: 14px 0 !important; font-size: 13px; letter-spacing: 1.2px; }
	.mm-footer-links a { display: inline-block; padding: 8px 0; }
	.mm-pagination .page-numbers { min-width: 44px; padding: 12px 14px; }
	.wpcf7 input[type="submit"],
	.button-one,
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce .single_add_to_cart_button { padding: 15px 28px; min-height: 46px; }
	.woocommerce .quantity input.qty { height: 46px; }
	footer .social-icons a { display: inline-block; padding: 8px; }

	/* Section rhythm tightens up */
	.mm-section { padding: 52px 0; }
	.mm-shop-section { padding: 40px 0 64px; }
	.title-section h1 { font-size: 26px; line-height: 1.3; }
	.title-section p { font-size: 14px; }

	/* Banners */
	.mm-banner { padding: 130px 0 46px; }
	.mm-banner h1 { font-size: 27px; }
	.mm-crumbs { font-size: 11px; }

	/* Hero */
	.mm-hero { min-height: 88vh; }
	.mm-hero h1 { font-size: 28px; line-height: 1.28; }
	.mm-hero-script { font-size: 26px; }
	.mm-hero-divider img { max-width: 150px; }

	/* Cards */
	.mm-cat-media img { height: 190px; }
	.mm-recipe-media img { height: 190px; }
	.mm-blog-body { padding: 24px 20px 28px; }
	.mm-blog-body h2 { font-size: 21px; }

	/* CTA band */
	.mm-band { padding: 66px 0; }
	.mm-band h1 { font-size: 28px; }
	.mm-band h3 { font-size: 16px; }

	/* Featured carousel: stack image over text */
	section.popular-menu-section .menu-box .item .menu-post { flex-direction: column !important; }
	section.popular-menu-section .menu-box .item .menu-post img { width: 100%; height: 210px; }
	section.popular-menu-section .menu-box .item .menu-post .menu-post-content { width: 100%; padding: 20px; }

	/* Product page */
	.woocommerce div.product .product_title { font-size: 27px; }
	.woocommerce div.product div.images { margin-bottom: 24px; }
	.woocommerce div.product form.cart .variations select { min-width: 0; width: 100%; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li { margin-right: 16px; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-size: 11px; }

	/* Contact info boxes */
	.mm-contact .info-box { margin-bottom: 26px; text-align: center; }
}

@media (max-width: 600px) {
	.mm-hero h1 { font-size: 24px; }
	.mm-banner h1 { font-size: 23px; }
	.mm-prose { font-size: 14.5px; }
	.woocommerce ul.products li.product { width: 100%; }
	.mm-postnav { flex-direction: column; gap: 12px; }

	/* Woo block cart/checkout readability */
	.wc-block-components-product-metadata, .wc-block-components-product-name { font-size: 14px !important; }
	.wc-block-cart-item__prices, .wc-block-components-formatted-money-amount { font-size: 14px !important; }
}

/* Mobile: the overlapping logo must not sit on the banner heading */
@media (max-width: 991px) {
	.mm-brand-logo img { height: 62px; margin: -8px 0; }
	header.active .mm-brand-logo img { height: 54px; margin: -6px 0; }
	.mm-banner { padding-top: 152px; }
	.navbar-default .inner-navbar { padding: 6px 16px; }
}

@media (max-width: 600px) {
	.mm-brand-logo img { height: 52px; margin: -6px 0; }
	header.active .mm-brand-logo img { height: 46px; margin: -4px 0; }
	.mm-banner { padding-top: 138px; }
	.mm-hero-inner { padding-top: 165px; }
}

/* =========================================================================
   Header logo — final placement.
   The bordered bar is 92px tall. The logo is centred on it and made taller,
   so it starts ~9px above the top border line and finishes ~9px below the
   bottom one, crossing both rules.
   ========================================================================= */

@media (min-width: 992px) {
	header .navbar-default .inner-navbar { position: relative; padding-left: 150px; }

	.mm-brand-logo {
		position: absolute;
		left: 34px;
		top: 50%;
		transform: translateY(-50%);
		margin: 0;
		padding: 0 !important;
		height: auto;
		z-index: 6;
		display: block;
	}
	.mm-brand-logo img {
		height: 110px;          /* bar 92px + ~9px proud, top and bottom */
		width: auto;
		max-width: none;
		margin: 0;
		display: block;
	}

	/* Sticky bar is shorter, so the logo shrinks with it and stays proud */
	header.active .navbar-default .inner-navbar { padding-left: 132px; }
	header.active .mm-brand-logo img { height: 98px; }

	.navbar-nav { padding-right: 0; }
}

@media (min-width: 992px) and (max-width: 1300px) {
	header .navbar-default .inner-navbar { padding-left: 132px; }
	.mm-brand-logo { left: 22px; }
	.mm-brand-logo img { height: 92px; }
	header.active .navbar-default .inner-navbar { padding-left: 120px; }
	header.active .mm-brand-logo img { height: 84px; }
}

/* The template gives .navbar-header position:relative, which was acting as the
   containing block for the absolutely placed logo. Neutralise it on desktop so
   the logo is measured against the bordered bar itself. */
@media (min-width: 992px) {
	header .navbar-default .inner-navbar > .navbar-header { position: static; }
}

/* WooCommerce's zoom clone is far wider than the gallery and was pushing the
   mobile layout out. Clip it, and drop it entirely on touch screens where a
   hover zoom does nothing. */
.woocommerce-product-gallery,
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image { overflow: hidden; }

@media (max-width: 991px) {
	img.zoomImg { display: none !important; }
	.woocommerce-product-gallery__trigger { display: none; }
}

/* =========================================================================
   Header logo — large medallion.
   Nav sits 50px down, the bordered bar is 92px tall (so its centre is y=96).
   A 176px mark centred on that bar starts ~8px below the top of the screen
   and finishes ~42px below the bar's bottom rule — the same distance it
   clears the top rule by.
   ========================================================================= */

@media (min-width: 992px) {
	header .navbar-default .inner-navbar { padding-left: 186px; }
	.mm-brand-logo { left: 30px; }
	.mm-brand-logo img { height: 176px; }

	/* Sticky bar loses its 50px offset, so the mark scales back to stay on screen */
	header.active .navbar-default .inner-navbar { padding-left: 140px; }
	header.active .mm-brand-logo img { height: 118px; }
}

@media (min-width: 992px) and (max-width: 1300px) {
	header .navbar-default .inner-navbar { padding-left: 158px; }
	.mm-brand-logo { left: 20px; }
	.mm-brand-logo img { height: 150px; }
	header.active .navbar-default .inner-navbar { padding-left: 124px; }
	header.active .mm-brand-logo img { height: 104px; }
}

/* =========================================================================
   Sticky header — the mark shrinks to sit fully inside the black bar.
   Sticky bar is 92px tall, so a 66px mark leaves 13px clear top and bottom.
   ========================================================================= */

@media (min-width: 992px) {
	.mm-brand-logo img {
		transition: height .25s ease-in-out;
	}
	header.active .mm-brand-logo img { height: 66px; }
	header.active .navbar-default .inner-navbar { padding-left: 104px; }
}

@media (min-width: 992px) and (max-width: 1300px) {
	header.active .mm-brand-logo img { height: 60px; }
	header.active .navbar-default .inner-navbar { padding-left: 94px; }
}

/* =========================================================================
   HERO — the template sets #home-section { background: #111 }, an id-level
   shorthand that resets background-size to auto, so the photograph tiled.
   Matching the id specificity fixes it.
   ========================================================================= */

#home-section.mm-hero {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: var(--mm-ground);
}

/* =========================================================================
   MOBILE HEADER — same treatment as desktop: outlined bar over the hero,
   solid black once scrolled.
   ========================================================================= */

@media (max-width: 991px) {

	.navbar-default { margin-top: 14px; }
	header .navbar-default .inner-navbar {
		position: relative;
		padding: 0 14px;
		background: transparent;
		border: 2px solid #fff;
		transition: background .2s ease-in-out, border-color .2s ease-in-out;
	}
	header.active .navbar-default { margin-top: 0; }
	header.active .navbar-default .inner-navbar {
		background: #111;
		border-color: transparent;
	}

	/* brand + controls on one row */
	.navbar-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		position: relative;
		float: none;
	}

	.mm-brand-logo {
		position: static;
		transform: none;
		order: 1;
		margin: 0;
		padding: 0 !important;
		display: flex;
		align-items: center;
	}
	.mm-brand-logo img {
		height: 84px;
		width: auto;
		max-width: none;
		margin: -14px 0;          /* proud of the bar, as on desktop */
		display: block;
		transition: height .25s ease-in-out, margin .25s ease-in-out;
	}
	header.active .mm-brand-logo img { height: 54px; margin: 0; }

	/* cart then burger, right-aligned with clear spacing */
	.mm-cart-link {
		order: 2;
		margin-left: auto;
		margin-right: 14px;
		padding: 12px 6px !important;
		position: relative;
		display: flex;
		align-items: center;
		color: #fff !important;
	}
	.mm-cart-link .mm-icon { display: block; }
	.mm-cart-link .mm-cart-count {
		position: absolute;
		top: 4px;
		right: 0;
		min-width: 17px;
		height: 17px;
		line-height: 17px;
		background: var(--mm-brass);
		color: var(--mm-ground);
		border-radius: 50%;
		font-family: var(--mm-sans);
		font-size: 10px;
		font-weight: 600;
		text-align: center;
	}

	.navbar-toggle {
		order: 3;
		float: none;
		margin: 0 !important;
		padding: 10px 8px;
		border: 1px solid rgba(255,255,255,.35);
		border-radius: 0;
		background: transparent;
	}
	.navbar-toggle .icon-bar { background: #fff; width: 20px; height: 1.5px; }
	.navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; }
	.navbar-toggle:hover, .navbar-toggle:focus { background: rgba(255,255,255,.08); }

	/* dropdown panel */
	.navbar-collapse {
		border-top: 1px solid rgba(255,255,255,.18);
		background: rgba(17,17,17,.97);
		margin: 0 -14px;
		padding: 6px 14px 10px;
		max-height: 78vh;
	}
	header.active .navbar-collapse { background: #111; }
	.navbar-nav { margin: 0; }
	.navbar-nav > li { border-bottom: 1px solid rgba(255,255,255,.07); }
	.navbar-nav > li:last-child { border-bottom: 0; }

	/* page content clears the taller bar */
	.mm-banner { padding-top: 168px; }
	.mm-hero-inner { padding-top: 180px; }
}

@media (max-width: 600px) {
	.mm-brand-logo img { height: 72px; margin: -12px 0; }
	header.active .mm-brand-logo img { height: 48px; margin: 0; }
	.mm-banner { padding-top: 150px; }
	.mm-hero-inner { padding-top: 165px; }
}

/* =========================================================================
   MOBILE BOTTOM BAR
   ========================================================================= */

.mm-bottombar { display: none; }

@media (max-width: 991px) {
	.mm-bottombar {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1030;
		background: rgba(14, 14, 14, .96);
		backdrop-filter: saturate(140%) blur(10px);
		-webkit-backdrop-filter: saturate(140%) blur(10px);
		border-top: 1px solid var(--mm-line);
		padding-bottom: env(safe-area-inset-bottom);
		box-shadow: 0 -10px 30px rgba(0,0,0,.45);
	}

	.mm-bottombar-item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;
		padding: 11px 6px 10px;
		color: var(--mm-text-dim);
		text-decoration: none;
		position: relative;
		min-height: 58px;
		transition: color .2s ease;
	}
	.mm-bottombar-item + .mm-bottombar-item:before {
		content: "";
		position: absolute;
		left: 0;
		top: 22%;
		bottom: 22%;
		width: 1px;
		background: var(--mm-line);
	}
	.mm-bottombar-item:hover,
	.mm-bottombar-item:focus,
	.mm-bottombar-item.is-current { color: var(--mm-brass); }

	.mm-bottombar-icon { display: block; line-height: 0; }
	.mm-bottombar-label {
		font-family: var(--mm-sans);
		font-size: 10px;
		font-weight: 500;
		letter-spacing: 1.6px;
		text-transform: uppercase;
	}

	/* hairline above the active item */
	.mm-bottombar-item.is-current:after {
		content: "";
		position: absolute;
		top: -1px;
		left: 26%;
		right: 26%;
		height: 2px;
		background: var(--mm-brass);
	}

	/* keep the footer clear of the fixed bar */
	body { padding-bottom: 60px; }
}

/* Desktop: the cart now lives in .navbar-header, so pin it to the right of
   the bar where it previously sat at the end of the menu. */
@media (min-width: 992px) {
	header .navbar-default .inner-navbar { padding-right: 96px; }
	header .navbar-default .inner-navbar > .navbar-header .mm-cart-link {
		position: absolute;
		right: 30px;
		top: 50%;
		transform: translateY(-50%);
		padding: 8px !important;
		color: #fff !important;
		z-index: 6;
		display: block;
		line-height: 0;
	}
	header .navbar-default .inner-navbar > .navbar-header .mm-cart-link:hover { color: var(--mm-brass) !important; }
	.mm-cart-link .mm-cart-count {
		position: absolute;
		top: -2px;
		right: -4px;
		min-width: 17px;
		height: 17px;
		line-height: 17px;
		background: var(--mm-brass);
		color: var(--mm-ground);
		border-radius: 50%;
		font-family: var(--mm-sans);
		font-size: 10px;
		font-weight: 600;
		text-align: center;
	}
	.navbar-toggle { display: none; }
}

/* WooCommerce's gallery is briefly wider than the viewport before its own JS
   sizes it, which caused a horizontal jiggle on load. Nothing on the page is
   meant to scroll sideways, so clamp it. */
@media (max-width: 991px) {
	html, body { overflow-x: hidden; max-width: 100%; }
}

/* =========================================================================
   HERO — fine grain over the photograph.
   The source is only 1402px wide, so a full-bleed hero has to be upscaled.
   A low-opacity grain breaks up the smooth interpolation that reads as
   "soft", and suits the dark editorial look. Costs ~1KB, no extra request.
   ========================================================================= */

#home-section.mm-hero:after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: .32;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 160px 160px;
}

/* keep the copy above both the mask and the grain */
.mm-hero .container { z-index: 3; }
.mm-hero-scroll { z-index: 3; }

/* Slightly gentler crop: less of the image is thrown away vertically, so it
   is stretched less to fill the viewport. */
#home-section.mm-hero { min-height: 92vh; }

@media (max-width: 991px) {
	#home-section.mm-hero { min-height: 84vh; }
	#home-section.mm-hero:after { opacity: .26; }
}

/* Now the banner photographs are sharp they carry more detail, so the text
   needs a stronger ground. A gradient keeps the edges of the image visible
   while darkening the middle where the heading and breadcrumbs sit. */
.mm-banner:before {
	background: linear-gradient(180deg,
		rgba(10,8,6,.80) 0%,
		rgba(10,8,6,.62) 38%,
		rgba(10,8,6,.72) 68%,
		rgba(10,8,6,.86) 100%);
}
.mm-banner h1 { text-shadow: 0 2px 20px rgba(0,0,0,.55); }
.mm-banner-sub {
	text-shadow: 0 1px 12px rgba(0,0,0,.7);
	color: #cfc9c2;
}
.mm-crumbs { text-shadow: 0 1px 10px rgba(0,0,0,.7); }
