/* MM Deals: Storefront child styles. Mobile first; breakpoints 768 and 1100. */

:root {
	--navy: #12263f;
	--navy-deep: #0b1a2c;
	--accent: #e8650a;
	--accent-dark: #c5530a;
	--accent-deep: #a34507;
	--accent-text: #a94508;
	--sale: #c8102e;
	--ink: #1b2430;
	--muted: #5b6675;
	--line: #dfe3e8;
	--bg: #f4f6f8;
	--card: #fff;
	--radius: 10px;
	--head: "Barlow Condensed", "Arial Narrow", sans-serif;
	--body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { overflow-x: clip; }
.site { overflow-x: clip !important; }
input, select, textarea, button { font-family: var(--body); }
body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.55;
	overflow-x: clip;
}
h1, h2, h3, h4, .mmd-eyebrow { font-family: var(--head); color: var(--ink); letter-spacing: .01em; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
}

.mmd-wrap,
.col-full {
	box-sizing: border-box;
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}
.site-content { padding-top: 0; }
.site-main { margin-bottom: 40px; }
.storefront-full-width-content .content-area { width: 100%; float: none; margin: 0; }

/* ---------- Top bar ---------- */
.mmd-topbar { background: var(--navy-deep); color: #c9d3df; font-size: 13px; }
.mmd-topbar .mmd-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.mmd-topbar p { margin: 0; }
.mmd-topbar nav { display: none; gap: 18px; }
.mmd-topbar a { color: #c9d3df; text-decoration: none; }
.mmd-topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.mmd-header { background: var(--navy); color: #fff; position: relative; z-index: 50; }
.mmd-header__main {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: "logo actions" "search search";
	align-items: center;
	gap: 10px 16px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.mmd-logo { grid-area: logo; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.mmd-logo__mark { width: 38px; height: 38px; flex: none; }
.mmd-logo__text { font-family: var(--head); font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: .02em; color: #fff; }
.mmd-logo__text b { color: var(--accent); font-weight: 700; margin-left: 2px; }

.mmd-search { grid-area: search; display: flex; margin: 0; background: #fff; border-radius: 8px; overflow: hidden; }
.mmd-search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	box-shadow: none;
	background: #fff;
	padding: 11px 14px;
	font-size: 16px;
	color: var(--ink);
}
.mmd-search button {
	border: 0;
	border-radius: 0;
	background: var(--accent-dark);
	color: #fff;
	padding: 0 18px;
	display: grid;
	place-items: center;
}
.mmd-search button:hover { background: var(--accent-deep); }

.mmd-header__actions { grid-area: actions; display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.mmd-account, .mmd-cart { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 600; position: relative; }
.mmd-account span { display: none; }
.mmd-account:hover, .mmd-cart:hover { color: #ffd2b0; }
.mmd-cart__count {
	position: absolute;
	top: -7px;
	left: 16px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	box-sizing: border-box;
	border-radius: 10px;
	background: var(--accent);
	color: #fff;
	font-size: 12px;
	line-height: 19px;
	text-align: center;
}
.mmd-cart__total { display: none; margin-left: 6px; }

/* Department bar */
.mmd-depts { background: #1a3352; border-top: 1px solid rgba(255,255,255,.08); }
.mmd-depts .mmd-wrap { display: flex; align-items: center; }
.mmd-depts ul { list-style: none; margin: 0; padding: 0; }
.mmd-depts a { color: #fff; text-decoration: none; font-weight: 600; }
.mmd-depts__menu { position: relative; }
.mmd-depts__menu summary {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 0;
	font-weight: 700;
	color: #fff;
}
.mmd-depts__menu summary::-webkit-details-marker { display: none; }
.mmd-depts__menu ul {
	position: absolute;
	left: -16px;
	top: 100%;
	width: min(320px, 100vw);
	background: #fff;
	box-shadow: 0 12px 30px rgba(11,26,44,.25);
	border-radius: 0 0 var(--radius) var(--radius);
	padding: 6px 0;
	z-index: 60;
}
.mmd-depts__menu ul a { display: block; padding: 12px 20px; color: var(--ink); }
.mmd-depts__menu ul a:hover { background: var(--bg); color: var(--accent-dark); }
.mmd-depts__bar { display: none; }

/* ---------- Buttons ---------- */
.mmd-btn,
button.button, a.button, input[type="submit"], .button, .added_to_cart,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
#place_order {
	display: inline-block;
	background: var(--accent-dark);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 12px 22px;
	font-family: var(--body);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: background .15s ease;
}
.mmd-btn:hover, button.button:hover, a.button:hover, input[type="submit"]:hover, .button:hover, #place_order:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--accent-deep); color: #fff; }
.mmd-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.mmd-btn--ghost:hover { background: rgba(255,255,255,.12); }
button.alt, .button.alt { background: var(--accent-dark); }
button.alt:hover, .button.alt:hover { background: var(--accent-deep); }
.added_to_cart { background: var(--navy); margin-left: 6px; }

/* ---------- Homepage ---------- */
.mmd-home { padding-top: 16px; }
.mmd-hero { display: grid; gap: 14px; }
.mmd-hero__main {
	background: linear-gradient(120deg, var(--navy) 0%, #1f4170 100%);
	color: #fff;
	border-radius: 14px;
	padding: 26px 20px;
	display: grid;
	gap: 20px;
	align-items: center;
	overflow: hidden;
}
.mmd-eyebrow { margin: 0 0 6px; color: #ffb27a; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.mmd-hero h1 { color: #fff; font-size: 34px; line-height: 1.05; margin: 0 0 12px; font-weight: 700; }
.mmd-hero__copy p { margin: 0 0 18px; color: #d7e0ea; font-size: 17px; }
.mmd-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.mmd-hero__product {
	position: relative;
	display: block;
	background: #fff;
	border-radius: 12px;
	padding: 14px;
	text-decoration: none;
	color: var(--ink);
	max-width: 360px;
	justify-self: center;
	width: 100%;
	box-sizing: border-box;
}
.mmd-hero__product img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.mmd-hero__tag { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 8px; font-size: 14px; font-weight: 600; }
.mmd-hero__tag b { color: var(--sale); font-size: 18px; white-space: nowrap; }
.mmd-hero__tag b del { color: var(--muted); font-size: 13px; font-weight: 500; }
.mmd-hero__tag b ins { text-decoration: none; }
.mmd-hero__side { display: grid; gap: 14px; }
.mmd-promo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 16px 18px;
	text-decoration: none;
	color: var(--ink);
	overflow: hidden;
}
.mmd-promo--automotive { background: #fff4ea; border-color: #f7d8bd; }
.mmd-promo--tools-home-improvement { background: #eaf1f9; border-color: #cfdcec; }
.mmd-promo__copy strong { display: block; font-family: var(--head); font-size: 24px; line-height: 1.1; }
.mmd-promo__copy span { display: block; color: var(--muted); font-size: 15px; margin: 2px 0 8px; }
.mmd-promo__copy em { font-style: normal; font-weight: 700; color: var(--accent-text); }
.mmd-promo img { width: 110px; height: 110px; object-fit: contain; mix-blend-mode: multiply; flex: none; }

.mmd-section { margin-top: 36px; }
.mmd-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--line); padding-bottom: 8px; }
.mmd-section__head h2 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.1; }
.mmd-section__head a { font-weight: 700; color: var(--accent-text); text-decoration: none; white-space: nowrap; font-size: 15px; }
.mmd-section__head a:hover { text-decoration: underline; }

.mmd-depts-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.mmd-dept {
	display: grid;
	grid-template-columns: 84px 1fr;
	grid-template-rows: auto auto;
	column-gap: 14px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px 16px;
	text-decoration: none;
	color: var(--ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.mmd-dept:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(18,38,63,.1); }
.mmd-dept__img { grid-row: 1 / 3; }
.mmd-dept__img img { width: 84px; height: 84px; object-fit: contain; display: block; }
.mmd-dept__name { grid-column: 2; font-family: var(--head); font-size: 22px; font-weight: 700; line-height: 1.1; align-self: end; }
.mmd-dept__count { grid-column: 2; color: var(--muted); font-size: 14px; align-self: start; }
.mmd-hide-sm { display: none; }

.mmd-brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mmd-brands a {
	display: block;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 16px;
	font-weight: 600;
	text-decoration: none;
	color: var(--ink);
}
.mmd-brands a:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ---------- Product grid (cards) ---------- */
ul.products,
.site-main ul.products,
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 24px;
	padding: 0;
}
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product,
.site-main ul.products li.product,
.site-main ul.products.columns-4 li.product,
.site-main ul.products.columns-3 li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px 12px 14px;
	text-align: left;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: box-shadow .15s ease, border-color .15s ease;
}
ul.products li.product:hover { box-shadow: 0 8px 22px rgba(18,38,63,.12); border-color: #c8d0da; }
ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--ink); }
ul.products li.product img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
	margin: 0 0 10px !important;
	background: #fff;
}
.mmd-brand { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--body);
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 8px;
	padding: 0;
	color: var(--ink);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
ul.products li.product .price {
	margin-top: auto;
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: 700;
	color: var(--ink);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 8px;
}
ul.products li.product .price ins { order: -1; color: var(--sale); text-decoration: none; font-weight: 700; margin-left: 0; }
ul.products li.product .price del { color: var(--muted); font-size: 14px; font-weight: 500; opacity: 1; }
ul.products li.product .star-rating { margin: 0 0 6px; font-size: 13px; }
ul.products li.product .button { width: 100%; box-sizing: border-box; padding: 11px 10px; font-size: 14px; margin: 0; }
ul.products li.product .added_to_cart { width: 100%; box-sizing: border-box; margin: 6px 0 0; padding: 9px 10px; font-size: 14px; }
.onsale,
ul.products li.product .onsale {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	margin: 0;
	border: 0;
	border-radius: 6px;
	background: var(--sale);
	color: #fff;
	padding: 4px 9px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	min-height: 0;
	min-width: 0;
	text-transform: none;
}

/* ---------- Shop / archive pages ---------- */
.storefront-breadcrumb { margin: 0 0 6px; padding: 14px 0 6px; background: transparent; }
.woocommerce-breadcrumb { font-size: 14px; color: var(--muted); }
.woocommerce-breadcrumb a { color: var(--navy); }
.woocommerce-products-header,
.storefront-full-width-content .woocommerce-products-header,
.storefront-full-width-content .entry-header,
.woocommerce-cart .entry-header, .woocommerce-account .entry-header, .woocommerce-checkout .entry-header {
	text-align: left !important;
	padding: 4px 0 8px !important;
	margin-bottom: 8px;
}
.storefront-full-width-content .related.products > h2, .storefront-full-width-content .upsells.products > h2, .related.products > h2 { text-align: left !important; }
.storefront-sorting .woocommerce-notices-wrapper:empty { display: none; }
.site-main > .storefront-sorting ~ .storefront-sorting { display: none; }
.woocommerce-products-header__title.page-title,
.entry-header .entry-title { font-size: 34px; font-weight: 700; margin: 0 0 6px; line-height: 1.1; }
.term-description p { color: var(--muted); max-width: 70ch; }
.storefront-sorting { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding: 0; border: 0; }
.storefront-sorting::before, .storefront-sorting::after { display: none; }
.storefront-sorting .woocommerce-ordering, .storefront-sorting .woocommerce-result-count, .woocommerce-ordering, .woocommerce-result-count { float: none; margin: 0 !important; }
.woocommerce-ordering select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.woocommerce-pagination { float: none; text-align: center; }
.storefront-sorting .woocommerce-pagination { display: none; }

/* ---------- Single product ---------- */
.single-product div.product { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-top: 8px; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: 100%; float: none; margin: 0 0 20px; }
.single-product div.product .woocommerce-product-gallery img { aspect-ratio: 1; object-fit: contain; background: #fff; }
.single-product div.product .product_title { font-family: var(--body); font-size: 26px; font-weight: 700; line-height: 1.25; margin: 0 0 6px; }
.single-product .summary .mmd-brand { font-size: 13px; color: var(--accent-dark); }
.mmd-ids { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.mmd-ids span { margin-left: 12px; }
.single-product div.product p.price { font-size: 32px; font-weight: 700; color: var(--ink); margin: 0 0 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.single-product div.product p.price ins { order: -1; color: var(--sale); text-decoration: none; font-weight: 700; margin-left: 0; }
.single-product div.product p.price del { font-size: 18px; color: var(--muted); opacity: 1; }
.single-product .woocommerce-product-details__short-description { color: #3a4553; }
.single-product .woocommerce-product-details__short-description ul { margin: 0 0 16px 1.1em; }
.single-product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.single-product form.cart .quantity .qty { height: 100%; min-height: 48px; width: 72px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-sizing: border-box; }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; padding: 14px 24px; font-size: 16px; }
.single-product .product_meta { font-size: 14px; color: var(--muted); border: 0 !important; padding: 0 !important; }
.single-product form.cart .quantity { margin: 0 !important; }
.single-product .product_meta a { color: var(--navy); }
.single-product .storefront-product-pagination { display: none; }
.woocommerce-tabs { padding: 10px 0 0; border-top: 1px solid var(--line); clear: both; }
.woocommerce-tabs ul.tabs { width: 100%; float: none; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
.woocommerce-tabs ul.tabs li { border: 0; }
.woocommerce-tabs ul.tabs li a { padding: 9px 16px; border-radius: 8px; background: var(--bg); font-weight: 700; color: var(--ink); }
.woocommerce-tabs ul.tabs li.active a { background: var(--navy); color: #fff; }
.woocommerce-tabs ul.tabs li.active::after, .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-tabs .panel { width: 100%; float: none; margin: 0; }
.storefront-full-width-content .woocommerce-tabs ul.tabs,
.storefront-full-width-content .woocommerce-tabs .panel { width: 100% !important; float: none !important; margin-right: 0 !important; }
.woocommerce-tabs .panel h2:first-of-type { font-size: 24px; }
table.woocommerce-product-attributes { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; border-collapse: separate; border-spacing: 0; }
table.woocommerce-product-attributes th, table.woocommerce-product-attributes td { padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fff; font-style: normal; }
table.woocommerce-product-attributes tr:nth-child(odd) th, table.woocommerce-product-attributes tr:nth-child(odd) td { background: #f8f9fb; }
table.woocommerce-product-attributes tr:last-child th, table.woocommerce-product-attributes tr:last-child td { border-bottom: 0; }
table.woocommerce-product-attributes th { width: 38%; font-weight: 700; }
table.woocommerce-product-attributes td p { margin: 0; }
.related.products, .upsells.products { clear: both; padding-top: 20px; }
.related.products > h2, .upsells.products > h2 { font-size: 26px; }

/* ---------- Cart / checkout / account ---------- */
.woocommerce-cart .site-main, .woocommerce-checkout .site-main, .woocommerce-account .site-main,
.page .site-main { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px; margin-top: 8px; }
.home .site-main, .mmd-plain-page .site-main { background: transparent !important; border: 0 !important; padding: 0 !important; }

/* Block product grid (empty cart "New in store") */
.wc-block-grid__products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 !important; }
.wc-block-grid__products::before, .wc-block-grid__products::after { display: none !important; }
.wc-block-grid__product { width: auto !important; max-width: none !important; flex: none !important; margin: 0 !important; border: 1px solid var(--line) !important; border-radius: var(--radius); padding: 12px !important; text-align: left !important; background: #fff; position: relative; }
.wc-block-grid__product-title { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--ink); }
.wc-block-grid__product-price { font-size: 18px; font-weight: 700; justify-content: flex-start; }
.wc-block-grid__product-price ins { color: var(--sale); text-decoration: none; }
.wc-block-grid__product .wp-block-button__link { background: var(--accent-dark) !important; color: #fff !important; border-radius: 8px !important; font-weight: 700; width: 100%; box-sizing: border-box; }
.wc-block-grid__product-onsale { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--sale) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important; padding: 3px 8px !important; font-size: 12px !important; }
.wp-block-separator.is-style-dots { display: none; }
@media (min-width: 900px) { .wc-block-grid__products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

/* Login and register */
.woocommerce-form-login, .woocommerce-form-register { max-width: 480px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], textarea, select {
	background: #fff;
	border: 1px solid #c9d0d8;
	box-shadow: none;
	color: var(--ink);
}
.mmd-search input[type="search"] { border: 0; }
.woocommerce-account .site-main .entry-header + .entry-content > .woocommerce > h2 { font-size: 24px; }
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--accent) !important;
	color: #fff !important;
	border-radius: 8px !important;
	font-weight: 700;
}
.wc-block-components-button:not(.is-link):hover { background: var(--accent-dark) !important; }
.wc-block-components-product-name { color: var(--ink); font-weight: 600; }
.wc-block-components-product-badge { border-color: var(--sale); color: var(--sale); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], textarea, select {
	border-radius: 8px;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	border-radius: var(--radius);
	background: #eaf1f9;
	color: var(--ink);
	border-left: 4px solid var(--navy);
}
.woocommerce-message a, .woocommerce-info a { color: var(--navy); }
.woocommerce-message a.button, .woocommerce-info a.button,
.woocommerce-message .button.wc-forward, .woocommerce-info .button.wc-forward {
	background: var(--accent) !important;
	color: #fff !important;
	padding: 8px 14px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
}
.woocommerce-message a.button:hover, .woocommerce-info a.button:hover { background: var(--accent-dark) !important; }

/* Block cart/checkout sit inside the white card: cancel their alignwide bleed. */
.wp-block-woocommerce-cart.alignwide, .wp-block-woocommerce-checkout.alignwide,
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	width: auto !important;
}
.woocommerce-error { background: #fdecee; border-left-color: var(--sale); }

/* ---------- Value strip + footer ---------- */
.mmd-values { background: #fff; border-top: 1px solid var(--line); margin-top: 20px; }
.mmd-values .mmd-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.mmd-values strong { display: block; font-family: var(--head); font-size: 20px; color: var(--navy); line-height: 1.15; }
.mmd-values span { display: block; color: var(--muted); font-size: 14px; }
.mmd-footer { background: var(--navy-deep); color: #b8c4d2; padding: 0; margin: 0; }
.mmd-footer__cols { display: grid; gap: 26px; padding-top: 34px; padding-bottom: 30px; }
.mmd-footer__about p { margin: 14px 0 0; max-width: 42ch; font-size: 15px; }
.mmd-footer h2 { color: #fff; font-family: var(--head); font-size: 19px; margin: 0 0 10px; letter-spacing: .04em; text-transform: uppercase; }
.mmd-footer ul { list-style: none; margin: 0; padding: 0; }
.mmd-footer li { margin: 0 0 8px; }
.mmd-footer a { color: #b8c4d2; text-decoration: none; }
.mmd-footer a:hover { color: #fff; text-decoration: underline; }
.mmd-footer__base { border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.mmd-footer__base p { margin: 0; padding: 14px 0; }

/* ---------- 768 ---------- */
@media (min-width: 768px) {
	.mmd-wrap, .col-full { padding-left: 24px; padding-right: 24px; }
	.mmd-topbar nav { display: flex; }
	.mmd-header { position: static; }
	.mmd-header__main {
		grid-template-columns: auto 1fr auto;
		grid-template-areas: "logo search actions";
		gap: 24px;
		padding-top: 16px;
		padding-bottom: 16px;
	}
	.mmd-logo__mark { width: 44px; height: 44px; }
	.mmd-logo__text { font-size: 32px; }
	.mmd-search { max-width: 720px; }
	.mmd-search input[type="search"] { padding: 13px 16px; }
	.mmd-account span { display: inline; }
	.mmd-header__actions { gap: 22px; }

	.mmd-hero__main { grid-template-columns: 1.15fr 1fr; padding: 34px 32px; }
	.mmd-hero h1 { font-size: 46px; }
	.mmd-hero__side { grid-template-columns: 1fr 1fr; }
	.mmd-depts-grid { grid-template-columns: repeat(3, 1fr); }
	.mmd-dept { grid-template-columns: 1fr; grid-template-rows: auto; text-align: center; padding: 18px; justify-items: center; }
	.mmd-dept__img { grid-row: auto; }
	.mmd-dept__name, .mmd-dept__count { grid-column: 1; }
	.mmd-hide-sm { display: inline; }
	.mmd-dept__img img { width: 150px; height: 150px; }
	.mmd-dept__name { margin-top: 8px; }

	ul.products, .site-main ul.products, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.mmd-values .mmd-wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mmd-footer__cols { grid-template-columns: 2fr 1fr 1fr; }

	.single-product div.product { padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
	.single-product div.product .woocommerce-product-gallery,
	.single-product div.product .summary { margin: 0 0 24px !important; width: 100% !important; float: none !important; }
	.single-product div.product .woocommerce-tabs,
	.single-product div.product .related,
	.single-product div.product .upsells { grid-column: 1 / -1; }
	.single-product div.product .onsale { grid-column: 1; grid-row: 1; align-self: start; justify-self: start; position: relative; top: 12px; left: 12px; z-index: 3; }
	.single-product div.product .woocommerce-product-gallery { grid-column: 1; grid-row: 1; }
	.single-product div.product .summary { grid-column: 2; grid-row: 1; }
	.woocommerce-cart .site-main, .woocommerce-checkout .site-main, .woocommerce-account .site-main, .page .site-main { padding: 28px; }
}

@media (min-width: 900px) {
	ul.products, .site-main ul.products, .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 1100 ---------- */
@media (min-width: 1100px) {
	.mmd-cart__total { display: inline; }
	.mmd-depts__menu { margin-right: 26px; }
	.mmd-depts__bar { display: flex; flex: 1; gap: 4px; }
	.mmd-depts__bar a { display: block; padding: 11px 14px; border-radius: 6px 6px 0 0; }
	.mmd-depts__bar a:hover, .mmd-depts__bar a[aria-current="page"] { background: rgba(255,255,255,.1); }
	.mmd-depts__deals { margin-left: auto; }
	.mmd-depts__deals a { color: #ffb27a; }

	.mmd-hero { grid-template-columns: 2fr 1fr; }
	.mmd-hero__main { padding: 40px 44px; }
	.mmd-hero h1 { font-size: 54px; }
	.mmd-hero__side { grid-template-columns: 1fr; }
	.mmd-promo img { width: 120px; height: 120px; }
	ul.products, .site-main ul.products, .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
	ul.products li.product { padding: 14px 14px 16px; }
}
