/*!
 * MadrasMart Theme 1.0 - https://madrasmart.com
 * Copyright (c) 2026 MadrasMart. All rights reserved.
 * Built on Bootstrap 5.3 (MIT) and Font Awesome Free 5.8 (CC BY 4.0 / SIL OFL / MIT).
 */

/* ================================================================ tokens */
:root {
  --mm-blue: #0367ca;
  --mm-blue-dark: #0245a3;
  --mm-navy: #012d85;
  --mm-orange: #fe7303;
  --mm-orange-dark: #e05f00;
  --mm-red: #e0262e;
  --mm-green: #1d9b52;
  --mm-whatsapp: #1fae5b;
  --mm-ink: #333e48;
  --mm-dark: #1e2022;
  --mm-muted: #878787;
  --mm-line: #e7eaf3;
  --mm-soft: #f5f5f5;
  --mm-radius: 8px;
  --mm-shadow: 0 0 22px rgba(51, 62, 72, 0.14);
  --bs-body-font-family: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --bs-body-color: var(--mm-ink);
  --bs-body-font-size: 14px;
  --bs-link-color-rgb: 3, 103, 202;
  --bs-link-hover-color-rgb: 2, 69, 163;
}

body { background: #fff; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--mm-ink); }
:focus-visible { outline: 3px solid rgba(254, 115, 3, 0.55); outline-offset: 2px; }
.mm-skip { position: absolute; left: 1rem; top: .5rem; z-index: 3000; background: #fff; padding: .5rem 1rem; }
.mm-link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; }
.mm-link-blue { color: var(--mm-blue); font-weight: 600; }
.mm-muted-text { color: var(--mm-muted); }

/* ================================================================ buttons */
.btn { font-weight: 600; border-radius: 6px; padding: .6rem 1.4rem; font-size: 14px; }
.btn-lg { padding: .75rem 2.2rem; font-size: 15px; }
.btn-mm-primary { background: var(--mm-orange); border-color: var(--mm-orange); color: var(--mm-dark); }
.btn-mm-primary:hover, .btn-mm-primary:focus { background: var(--mm-navy); border-color: var(--mm-navy); color: #fff; }
.btn-mm-dark { background: var(--mm-ink); border-color: var(--mm-ink); color: #fff; }
.btn-mm-dark:hover { background: var(--mm-dark); border-color: var(--mm-dark); color: #fff; }
.btn-mm-whatsapp { background: var(--mm-whatsapp); border-color: var(--mm-whatsapp); color: #fff; }
.btn-mm-whatsapp:hover { background: #178a47; border-color: #178a47; color: #fff; }

/* ================================================================ header */
.mm-topbar { border-bottom: 1px solid var(--mm-line); font-size: 12px; color: var(--mm-muted); padding: .55rem 0; }
.mm-topbar-links { display: flex; list-style: none; margin: 0; padding: 0; }
.mm-topbar-links > li { padding: 0 .9rem; border-left: 1px solid var(--mm-line); }
.mm-topbar-links > li:first-child { border-left: 0; }
.mm-topbar-links a, .mm-topbar-links .mm-link-btn { color: var(--mm-ink); font-size: 12px; }
.mm-topbar-links a:hover, .mm-topbar-links .mm-link-btn:hover { color: var(--mm-blue); }
.mm-topbar-links i { margin-right: .4rem; }

.mm-header-main { padding: 1.4rem 0; }
.mm-logo img { height: 56px; width: auto; display: block; }
.mm-hamburger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: 0; margin: 0 1rem 0 .5rem; }
.mm-hamburger span { display: block; height: 2px; width: 24px; background: var(--mm-ink); border-radius: 2px; }
.mm-search { flex: 1; max-width: 640px; border: 2px solid var(--mm-blue); border-radius: 999px; overflow: hidden; }
.mm-search .form-control { border: 0; border-radius: 0; box-shadow: none; padding-left: 1.4rem; font-size: 15px; }
.mm-search .form-select { width: auto; max-width: 170px; border: 0; border-left: 1px solid var(--mm-line); border-radius: 0; box-shadow: none; font-size: 14px; color: var(--mm-muted); }
.mm-search-btn { background: var(--mm-orange); color: var(--mm-dark); border: 0; padding: 0 1.4rem; font-size: 16px; }
.mm-search-btn:hover { background: var(--mm-navy); color: #fff; }
.mm-search-side { border-width: 2px; }
.mm-header-icons { display: flex; align-items: center; gap: 1.2rem; font-size: 20px; }
.mm-header-icons > a, .mm-cart-btn { position: relative; color: var(--mm-ink); display: inline-flex; align-items: center; }
.mm-header-icons > a:hover, .mm-cart-btn:hover { color: var(--mm-blue); }
.mm-cart-btn { background: none; border: 0; gap: .6rem; font-size: 20px; padding: 0; }
.mm-cart-btn strong { font-size: 14px; }
.mm-cart-btn.dropdown-toggle::after { display: none; }
.mm-badge { position: absolute; top: -6px; left: 12px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--mm-blue); color: #fff; font-size: 10px; font-weight: 700; line-height: 18px; text-align: center; }
.mm-badge-cart { background: var(--mm-orange); color: var(--mm-dark); }
.mm-minicart-menu { width: 320px; padding: 1rem; border: 0; border-top: 2px solid var(--mm-blue); border-radius: 0 0 var(--mm-radius) var(--mm-radius); box-shadow: var(--mm-shadow); font-size: 14px; }
.mm-minicart-row { display: flex; gap: .7rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--mm-line); }
.mm-minicart-row img { width: 52px; height: 52px; object-fit: contain; background: var(--mm-soft); border-radius: 6px; }
.mm-minicart-row div { flex: 1; line-height: 1.3; }
.mm-minicart-row span { color: var(--mm-muted); font-size: 13px; }
.mm-minicart-row button { background: none; border: 0; color: var(--mm-muted); }
.mm-minicart-empty { margin: 0; color: var(--mm-muted); text-align: center; padding: .5rem 0; }
.mm-minicart-foot { padding-top: .8rem; }

/* ================================================================ navbar + departments */
.mm-navbar { border-top: 2px solid var(--mm-blue); }
.mm-dept { position: relative; width: 25%; min-width: 270px; flex-shrink: 0; z-index: 1030; }
.mm-dept-toggle { display: flex; align-items: center; width: 100%; height: 100%; min-height: 48px; background: var(--mm-orange); color: var(--mm-dark); border: 0; border-radius: var(--mm-radius) var(--mm-radius) 0 0; font-weight: 700; padding: 0 1.3rem; }
.mm-dept-list { position: absolute; left: 0; right: 0; top: 100%; list-style: none; margin: 0; padding: .4rem 1.2rem; background: #fff; border: 2px solid var(--mm-orange); border-top: 0; border-radius: 0 0 var(--mm-radius) var(--mm-radius); box-shadow: var(--mm-shadow); display: none; }
.mm-dept.is-open .mm-dept-list, .mm-dept.is-toggled .mm-dept-list { display: block; }
.page-index .mm-dept.is-open .mm-dept-list { box-shadow: none; }
.mm-dept-list > li { border-bottom: 1px solid var(--mm-line); position: static; }
.mm-dept-list > li:last-child { border-bottom: 0; }
.mm-dept-list > li > a { display: flex; align-items: center; padding: .42rem 0; color: var(--mm-ink); font-size: 14px; }
.mm-dept-list > li > a:hover, .mm-dept-has-flyout:hover > a, .mm-dept-has-flyout:focus-within > a { color: var(--mm-blue); font-weight: 700; }
.mm-dept-strong { font-weight: 700; }
.mm-flyout { display: none; position: absolute; top: 0; left: 100%; width: 600px; min-height: 100%; background: #fff; border: 2px solid var(--mm-orange); border-left: 0; border-radius: 0 var(--mm-radius) var(--mm-radius) 0; box-shadow: var(--mm-shadow); padding: 1.4rem 1.6rem; gap: 1.2rem; }
.mm-dept-has-flyout:hover > .mm-flyout, .mm-dept-has-flyout:focus-within > .mm-flyout { display: flex; }
.mm-flyout-links { flex: 1; }
.mm-flyout-links h3 { font-size: 15px; font-weight: 700; margin-bottom: .6rem; }
.mm-flyout-links ul { list-style: none; padding: 0; margin: 0 0 .8rem; }
.mm-flyout-links li a { display: block; padding: .25rem 0; color: var(--mm-ink); }
.mm-flyout-links li a:hover { color: var(--mm-blue); }
.mm-flyout-all { display: block; border-top: 1px solid var(--mm-line); padding-top: .6rem; color: var(--mm-ink); font-weight: 600; }
.mm-flyout-all span { display: block; font-size: 11px; font-weight: 400; color: var(--mm-muted); }
.mm-flyout-promo { width: 250px; align-self: flex-end; }
.mm-flyout-promo img { border-radius: var(--mm-radius); }
.mm-nav-links { display: flex; list-style: none; margin: 0 0 0 1.5rem; padding: 0; }
.mm-nav-links a { display: block; padding: .8rem 1rem; color: var(--mm-ink); font-weight: 600; font-size: 14px; }
.mm-nav-links a:hover, .mm-nav-links a.active { color: var(--mm-blue); }
.mm-nav-links a.mm-nav-sale { color: var(--mm-red); }
.mm-nav-note { align-self: center; font-size: 13px; color: var(--mm-ink); }

/* side menu + account panel */
.mm-sidemenu { max-width: 320px; }
.mm-side-links { list-style: none; padding: 0; margin: 0; }
.mm-side-links > li > a, .mm-side-links summary { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--mm-line); color: var(--mm-ink); font-weight: 600; cursor: pointer; list-style: none; }
.mm-side-links summary::-webkit-details-marker { display: none; }
.mm-side-links details ul { list-style: none; padding: .3rem 0 .6rem .9rem; margin: 0; }
.mm-side-links details li a { display: block; padding: .3rem 0; color: var(--mm-muted); }
.mm-account { max-width: 380px; }
.mm-account-note { text-align: center; background: #effaf3; border-radius: var(--mm-radius); padding: 1.2rem; margin-top: 1rem; }
.mm-account-note i { font-size: 32px; color: var(--mm-whatsapp); }

/* ================================================================ hero slider */
.mm-hero { background-size: cover; background-position: center; margin-bottom: 1.8rem; }
.mm-hero-slide { min-height: 440px; padding: 2rem 0 3rem 1.5rem; }
@media (min-width: 1200px) { .page-index .mm-hero-slide { min-height: 500px; } }
.mm-hero-title { font-size: 64px; font-weight: 300; line-height: .95; margin-bottom: 1rem; }
.mm-hero-title span { display: block; font-size: 55px; }
.mm-hero-sub { font-size: 15px; font-weight: 700; margin-bottom: 1rem; color: var(--mm-ink); }
.mm-hero-from { margin-bottom: 1.4rem; line-height: 1; }
.mm-hero-from small { display: block; font-size: 13px; margin-bottom: .3rem; }
.mm-hero-from strong { font-size: 50px; font-weight: 700; }
.mm-hero-from sup { font-size: 24px; top: -1.1em; }
.mm-hero-img { max-height: 380px; width: auto; }
.mm-hero-dots { position: static; justify-content: flex-start; margin: -2.2rem 0 0; padding-bottom: 1.2rem; }
.mm-hero-dots [data-bs-target] { width: 12px; height: 12px; border-radius: 50%; background: #c7ccd4; border: 0; opacity: 1; margin: 0 6px 0 0; transition: width .2s; }
.mm-hero-dots .active { width: 40px; border-radius: 6px; background: var(--mm-blue); }

/* ================================================================ deal tiles */
.mm-tiles { margin-bottom: 2.2rem; }
.mm-tile { display: flex; align-items: center; gap: .8rem; min-height: 132px; padding: .6rem 1rem; background: var(--mm-soft); color: var(--mm-ink); height: 100%; }
.mm-tile:hover { color: var(--mm-ink); box-shadow: var(--mm-shadow); }
.mm-tile img { width: 44%; max-width: 150px; object-fit: contain; }
.mm-tile p { font-size: 18px; font-weight: 300; line-height: 1.25; margin: 0 0 .5rem; text-transform: uppercase; }
.mm-tile strong { font-weight: 700; }
.mm-tile span { font-weight: 700; font-size: 15px; }
.mm-tile span i { color: var(--mm-blue); margin-left: .3rem; }

/* ================================================================ blocks + tabs */
.mm-block { margin-bottom: 2.6rem; }
.mm-block-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .8rem; border-bottom: 1px solid var(--mm-line); margin-bottom: 1.2rem; }
.mm-block-head h2 { font-size: 22px; font-weight: 400; margin: 0; padding-bottom: .6rem; position: relative; }
.mm-block-head h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--mm-blue); }
.mm-tabs { border: 0; gap: .4rem; }
.mm-tabs .nav-link { border: 0; background: none; color: var(--mm-ink); font-size: 16px; padding: .4rem .9rem; border-radius: 0; position: relative; }
.mm-tabs .nav-link:hover { color: var(--mm-blue); }
.mm-tabs .nav-link.active { color: var(--mm-ink); font-weight: 700; }
.mm-tabs-center { justify-content: center; margin-bottom: 1.4rem; }
.mm-tabs-center .nav-link.active::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 40px; height: 3px; margin-left: -20px; background: var(--mm-blue); border-radius: 2px; }
.mm-tabs-inline .nav-link { font-size: 14px; padding: .35rem .8rem .7rem; }
.mm-tabs-inline .nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--mm-orange); }

/* ================================================================ product cards */
.mm-grid { display: grid; gap: 0; }
.mm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mm-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mm-card { position: relative; background: #fff; padding: 1rem 1.2rem; border-radius: var(--mm-radius); transition: box-shadow .2s; height: 100%; display: flex; flex-direction: column; }
.mm-card:hover { box-shadow: var(--mm-shadow); z-index: 2; }
.mm-card-body { flex: 1; display: flex; flex-direction: column; }
.mm-card-cat { font-size: 12px; color: var(--mm-muted); }
.mm-card-cat:hover { color: var(--mm-blue); }
.mm-card-title { font-size: 14px; font-weight: 700; line-height: 1.35; margin: .25rem 0 .6rem; min-height: 2.7em; }
.mm-card-title a { color: var(--mm-blue); }
.mm-card-title a:hover { color: var(--mm-navy); }
.mm-card-img { position: relative; display: block; text-align: center; margin-bottom: .8rem; }
.mm-card-img img { width: 100%; max-width: 212px; aspect-ratio: 1; object-fit: contain; }
.mm-card-badge { position: absolute; left: 0; top: 0; background: var(--mm-red); color: #fff; font-size: 11px; font-weight: 700; padding: .15rem .55rem; border-radius: 4px; }
.mm-card-price { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.mm-price { font-size: 18px; color: var(--mm-dark); }
.mm-price del { font-size: 13px; color: var(--mm-muted); margin-left: .35rem; }
.mm-add { width: 35px; height: 35px; border-radius: 50%; border: 0; background: #e6e6e6; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; transition: background .2s; }
.mm-card:hover .mm-add, .mm-add:hover { background: var(--mm-orange); color: var(--mm-dark); }
.mm-add.is-added { background: var(--mm-green) !important; color: #fff !important; }
.mm-add-sm { width: 30px; height: 30px; font-size: 13px; }
.mm-card-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--mm-line); margin-top: .8rem; padding-top: .5rem; opacity: 0; transition: opacity .2s; }
.mm-card:hover .mm-card-foot, .mm-card:focus-within .mm-card-foot { opacity: 1; }
.mm-card-foot button { background: none; border: 0; padding: 0; font-size: 13px; color: var(--mm-muted); }
.mm-card-foot button:hover, .mm-card-foot button.is-on { color: var(--mm-blue); }
.mm-card-foot button.is-on .fa-heart::before { content: "\f004"; font-weight: 900; }
.mm-stars { color: var(--mm-orange); font-size: 12px; }

/* 4-1-4 block */
.mm-414 { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 0; align-items: stretch; }
.mm-card-sm { padding: .8rem 1rem; }
.mm-card-sm .mm-card-img img { max-width: 130px; }
.mm-card-sm .mm-price { font-size: 16px; }
.mm-414-hero { border-left: 1px solid var(--mm-line); border-right: 1px solid var(--mm-line); padding: 0 .5rem; }
.mm-card-lg .mm-card-title { font-size: 16px; }
.mm-card-lg .mm-card-img img { max-width: 320px; }
.mm-card-lg .mm-price { font-size: 24px; }
.mm-card-lg .mm-card-foot { opacity: 1; }

/* special offer */
.mm-offer { border: 2px solid var(--mm-orange); border-radius: 20px; padding: 1.4rem 1.4rem 1.6rem; height: 100%; }
.mm-offer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.mm-offer-head h2 { font-size: 22px; font-weight: 400; margin: 0; }
.mm-offer-save { width: 76px; height: 76px; border-radius: 50%; background: var(--mm-blue); color: #fff; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; line-height: 1.1; }
.mm-offer-save small { font-size: 11px; font-weight: 400; }
.mm-offer-img { display: block; text-align: center; }
.mm-offer-img img { max-height: 230px; width: auto; }
.mm-offer-title { font-size: 15px; text-align: center; margin: .6rem 0 .4rem; }
.mm-offer-title a { color: var(--mm-blue); }
.mm-offer-price { text-align: center; margin-bottom: .9rem; }
.mm-offer-price del { color: var(--mm-muted); font-size: 18px; margin-right: .5rem; }
.mm-offer-price strong { color: var(--mm-red); font-size: 30px; }
.mm-offer-stock { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: .35rem; }
.mm-offer-bar { height: 14px; border-radius: 7px; background: #eee; }
.mm-offer-bar .progress-bar { background: var(--mm-orange); border-radius: 7px; }
.mm-offer-hurry { text-align: center; font-weight: 600; margin: 1rem 0 .6rem; }
.mm-countdown { display: flex; justify-content: center; gap: .4rem; }
.mm-countdown div { text-align: center; min-width: 56px; }
.mm-countdown strong { display: block; font-size: 24px; font-weight: 700; background: var(--mm-soft); border-radius: 6px; padding: .2rem 0; }
.mm-countdown span { font-size: 11px; color: var(--mm-muted); text-transform: uppercase; }

/* ================================================================ carousels */
.mm-carousel-arrows { display: flex; gap: .3rem; padding-bottom: .5rem; }
.mm-carousel-arrows button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: none; color: var(--mm-ink); font-size: 18px; }
.mm-carousel-arrows button:hover { background: var(--mm-blue); color: #fff; }
.mm-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 0px) / 5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.mm-track::-webkit-scrollbar { display: none; }
.mm-track > * { scroll-snap-align: start; }
.mm-track-list { grid-template-rows: repeat(2, auto); grid-auto-columns: calc(100% / 3); }
.mm-list-card { display: flex; gap: 1rem; align-items: center; padding: 1rem; border-right: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); }
.mm-list-img { width: 110px; flex-shrink: 0; }
.mm-list-img img { width: 110px; height: 110px; object-fit: contain; }
.mm-list-body { flex: 1; min-width: 0; }
.mm-list-body .mm-card-title { min-height: 0; }

/* ================================================================ banner */
.mm-banner { display: flex; align-items: center; gap: 2rem; padding: 1.6rem 2.5rem; background: linear-gradient(90deg, #e2eefc, #fff); color: var(--mm-ink); overflow: hidden; min-height: 150px; }
.mm-banner:hover { color: var(--mm-ink); }
.mm-banner h2 { font-size: 32px; font-weight: 300; line-height: 1.2; margin: 0; }
.mm-banner h2 strong { font-weight: 700; }
.mm-banner-price { background: var(--mm-blue); color: #fff; border-radius: var(--mm-radius); padding: .6rem 1.6rem; text-align: center; line-height: 1.1; flex-shrink: 0; }
.mm-banner-price em { display: block; font-size: 13px; font-weight: 300; }
.mm-banner-price strong { font-size: 30px; }
.mm-banner-img { margin-left: auto; max-width: 34%; max-height: 130px; object-fit: contain; }

/* ================================================================ footer */
.mm-footer { margin-top: 2rem; }
.mm-newsletter { background: var(--mm-blue); color: #fff; padding: 1.3rem 0; }
.mm-newsletter-title { color: #fff; font-size: 20px; font-weight: 400; margin: 0; white-space: nowrap; }
.mm-newsletter-title i { margin-right: .8rem; font-size: 26px; vertical-align: middle; }
.mm-newsletter-text { margin: 0; font-size: 15px; }
.mm-newsletter-form { display: flex; min-width: min(460px, 100%); }
.mm-newsletter-form .form-control { border: 0; border-radius: 999px 0 0 999px; padding-left: 1.3rem; }
.mm-newsletter-form .btn { border-radius: 0 999px 999px 0; }
.mm-newsletter-done { margin: 0 0 0 auto; }
.mm-newsletter-done a { color: #fff; text-decoration: underline; }
.mm-footer-products { padding-top: 2.4rem; padding-bottom: 2rem; }
.mm-footer-list-title { font-size: 18px; font-weight: 400; margin-bottom: 1rem; }
.mm-footer-list { list-style: none; padding: 0; margin: 0; }
.mm-footer-list a { display: flex; gap: .9rem; align-items: center; padding: .5rem 0; color: var(--mm-blue); font-weight: 600; font-size: 14px; }
.mm-footer-list img { width: 72px; height: 72px; object-fit: contain; background: var(--mm-soft); border-radius: 6px; flex-shrink: 0; }
.mm-footer-list strong { display: block; color: var(--mm-dark); font-weight: 400; font-size: 15px; margin-top: .2rem; }
.mm-footer-ad img { border-radius: var(--mm-radius); }
.mm-footer-main { background: #f8f8f8; padding: 2.8rem 0 2.2rem; }
.mm-footer-logo { height: 52px; width: auto; margin-bottom: 1.4rem; }
.mm-footer-call { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.2rem; }
.mm-footer-call i { font-size: 44px; color: var(--mm-orange); }
.mm-footer-call span { display: block; font-size: 13px; }
.mm-footer-call a { font-size: 20px; color: var(--mm-dark); }
.mm-footer-address { font-size: 14px; }
.mm-social { display: flex; gap: .6rem; }
.mm-social a { width: 36px; height: 36px; border-radius: 50%; background: #e7e7e7; color: var(--mm-ink); display: inline-flex; align-items: center; justify-content: center; }
.mm-social a:hover { background: var(--mm-blue); color: #fff; }
.mm-footer-title { font-size: 16px; font-weight: 700; margin-bottom: 1rem; }
.mm-footer-links { list-style: none; padding: 0; margin: 0; }
.mm-footer-links li { margin-bottom: .55rem; }
.mm-footer-links a, .mm-footer-links .mm-link-btn { color: var(--mm-ink); font-size: 14px; }
.mm-footer-links a:hover, .mm-footer-links .mm-link-btn:hover { color: var(--mm-blue); }
.mm-footer-bottom { background: #eaeaea; padding: .9rem 0; font-size: 13px; }
.mm-payments { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.mm-payments li { background: #fff; border: 1px solid #dcdcdc; border-radius: 4px; padding: .1rem .55rem; font-size: 12px; font-weight: 700; color: var(--mm-ink); display: inline-flex; align-items: center; }
.mm-payments i { font-size: 20px; }
.mm-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mm-blue); color: #fff; box-shadow: var(--mm-shadow); z-index: 1040; }
.mm-to-top:hover { background: var(--mm-orange); color: var(--mm-dark); }

/* ================================================================ responsive */
@media (max-width: 1199.98px) {
  .mm-header-main { padding: .8rem 0; }
  .mm-logo img { height: 46px; }
  .mm-hamburger { order: -1; margin: 0; }
  .mm-hero-slide { min-height: 340px; }
  .mm-hero-title { font-size: 48px; }
  .mm-hero-title span { font-size: 40px; }
  .mm-hero-from strong { font-size: 38px; }
  .mm-hero-img { max-height: 280px; }
  .mm-track { grid-auto-columns: calc(100% / 3); }
  .mm-track-list { grid-auto-columns: calc(100% / 2); }
}
@media (max-width: 991.98px) {
  .mm-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mm-414 { grid-template-columns: 1fr; }
  .mm-414-hero { order: -1; border: 0; border-bottom: 1px solid var(--mm-line); }
  .mm-banner { flex-wrap: wrap; }
  .mm-banner-img { max-width: 100%; margin-left: 0; }
}
@media (max-width: 767.98px) {
  .mm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-hero-slide { min-height: 260px; padding: 1.4rem 0 2.6rem; }
  .mm-hero-title { font-size: 34px; }
  .mm-hero-title span { font-size: 28px; }
  .mm-hero-sub { font-size: 12px; }
  .mm-hero-from strong { font-size: 28px; }
  .mm-hero .btn-lg { padding: .5rem 1rem; font-size: 13px; }
  .mm-hero-img { max-height: 190px; }
  .mm-track { grid-auto-columns: calc(100% / 2); }
  .mm-track-list { grid-auto-columns: 88%; }
  .mm-card { padding: .7rem .6rem; }
  .mm-card-foot { opacity: 1; }
  .mm-banner { padding: 1.2rem; }
  .mm-banner h2 { font-size: 22px; }
  .mm-newsletter-title { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ================================================================ v2: match the original MadrasMart homepage layout */
/* department list: thin grey frame under the orange heading */
.mm-dept-list { border: 1px solid var(--mm-line); border-top: 0; }
.mm-flyout { border: 1px solid var(--mm-line); border-left: 0; }

/* special offer: blue frame, blue progress bar, hh : mm : ss */
.mm-offer { border-color: var(--mm-blue); }
.mm-offer-head h2 { line-height: 1.15; }
.mm-offer-bar .progress-bar { background: var(--mm-blue); }
.mm-countdown { align-items: flex-start; }
.mm-countdown > b { font-size: 24px; line-height: 1.6; color: var(--mm-ink); }
.mm-countdown strong { background: #f5f5f5; min-width: 52px; }

/* product grids with divider lines, as on the original */
.mm-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-grid-lines > .mm-card, .mm-grid-lines > .mm-track-item > .mm-card { border-radius: 0; }
.mm-grid-3.mm-grid-lines > .mm-card { border-right: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); }
.mm-grid-3.mm-grid-lines > .mm-card:nth-child(3n) { border-right: 0; }
.mm-grid-3.mm-grid-lines > .mm-card:nth-last-child(-n+3) { border-bottom: 0; }
.mm-add { background: var(--mm-orange); color: var(--mm-dark); }
.mm-add:hover { background: var(--mm-navy); color: #fff; }
.mm-card:hover .mm-add { background: var(--mm-orange); color: var(--mm-dark); }
.mm-card:hover .mm-add:hover { background: var(--mm-navy); color: #fff; }

/* best deals band: grey background, centred tabs, 2 - 1 - 2 */
.mm-band { background: #f5f5f5; padding: 2.4rem 0 2.8rem; margin-bottom: 2.6rem; }
.mm-tabs-band { margin-bottom: 1rem; flex-wrap: wrap; }
.mm-band-panel { background: #fff; border-radius: var(--mm-radius); }
.mm-212 { display: grid; grid-template-columns: 1fr 2fr 1fr; }
.mm-212-col { display: grid; grid-template-rows: 1fr 1fr; }
.mm-212-col > .mm-card { border-radius: 0; }
.mm-212-col > .mm-card:first-child { border-bottom: 1px solid var(--mm-line); }
.mm-212-hero { border-left: 1px solid var(--mm-line); border-right: 1px solid var(--mm-line); }
.mm-212-hero .mm-card { border-radius: 0; height: 100%; }
.mm-card-lg .mm-card-img img { max-width: 360px; }
.mm-add-pill { border-radius: 999px; padding: .45rem 1.3rem; font-size: 13px; }

/* bestsellers: pill tabs + 3 x 2 list cards with dots */
.mm-pills { gap: .3rem; padding-bottom: .5rem; }
.mm-pills .nav-link { border: 1px solid transparent; border-radius: 999px; color: var(--mm-ink); font-size: 13px; padding: .25rem .9rem; }
.mm-pills .nav-link:hover { color: var(--mm-blue); }
.mm-pills .nav-link.active { background: none; border-color: var(--mm-ink); color: var(--mm-ink); font-weight: 600; }
.mm-track-list { grid-template-rows: repeat(2, auto); grid-auto-columns: calc(100% / 3); }
.mm-list-card { border-right: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); }

/* recently viewed: six across */
.mm-track-6 { grid-auto-columns: calc(100% / 6); }
.mm-track-6 .mm-card-img img { max-width: 150px; }
.mm-track-6 .mm-card-title { font-size: 13px; }
.mm-track-6 .mm-price { font-size: 16px; }

/* carousel dots */
.mm-dots { display: flex; justify-content: center; gap: .4rem; margin-top: 1rem; }
.mm-dots button { width: 10px; height: 10px; border-radius: 5px; border: 0; background: #d5d9e0; padding: 0; transition: width .2s; }
.mm-dots button.active { width: 30px; background: var(--mm-blue); }

/* footer: product lists first, then the newsletter band */
.mm-footer-products { padding-top: 1rem; padding-bottom: 2.4rem; }
.mm-newsletter { margin-top: 0; }

@media (max-width: 1199.98px) {
  .mm-track-6 { grid-auto-columns: calc(100% / 4); }
  .mm-track-list { grid-auto-columns: calc(100% / 2); }
}
@media (max-width: 991.98px) {
  .mm-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-grid-3.mm-grid-lines > .mm-card:nth-child(3n) { border-right: 1px solid var(--mm-line); }
  .mm-grid-3.mm-grid-lines > .mm-card:nth-child(2n) { border-right: 0; }
  .mm-212 { grid-template-columns: 1fr 1fr; }
  .mm-212-hero { grid-column: 1 / -1; order: -1; border: 0; border-bottom: 1px solid var(--mm-line); }
  .mm-track-6 { grid-auto-columns: calc(100% / 3); }
}
@media (max-width: 575.98px) {
  .mm-track-6 { grid-auto-columns: calc(100% / 2); }
  .mm-track-list { grid-auto-columns: 90%; }
  .mm-212 { grid-template-columns: 1fr; }
  .mm-212-col { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}
.mm-newsletter-form .btn { white-space: nowrap; padding-left: 1.8rem; padding-right: 1.8rem; }
.mm-nav-note { white-space: nowrap; padding-left: 1rem; }
.mm-nav-links a { padding: .8rem .85rem; }

/* ================================================================ v3: sizes measured against the original homepage (1366 px screen) */
@media (min-width: 1200px) {
  .container { max-width: 1200px; padding-left: 15px; padding-right: 15px; }   /* 1170 px content */
  .mm-header-main { padding: 2rem 0; }
  .mm-logo img { height: 58px; }
  .mm-navbar .container { min-height: 46px; }
  .mm-dept { width: 270px; min-width: 270px; }
  .mm-dept-toggle { min-height: 46px; }
  .mm-dept-list > li > a { padding: .4rem 0; font-size: 13px; }
  .page-index .mm-hero-slide { min-height: 420px; }
  .mm-hero .col-xl-9.offset-xl-3 { margin-left: 300px; width: calc(100% - 300px); }
}
.mm-hero { margin-bottom: 32px; }
.mm-hero .carousel { position: relative; }
.mm-hero-slide { min-height: 420px; padding: 1.5rem 0 1.5rem 1.5rem; }
.mm-hero-dots { position: absolute; left: 1.5rem; right: auto; bottom: 1.2rem; margin: 0; padding: 0; }

/* deal tiles: 270 x 132 with 30 px gaps */
.mm-tiles { margin-bottom: 32px; }
@media (min-width: 1200px) { .mm-tiles .row { --bs-gutter-x: 30px; --bs-gutter-y: 30px; } }
.mm-tile { min-height: 132px; }

/* special offer + tabs: 30 px gutter, compact cards */
@media (min-width: 1200px) { .mm-offer-block .row { --bs-gutter-x: 30px; } }
.mm-offer { padding: 1.2rem 1.4rem 1.4rem; }
.mm-offer-img img { max-height: 200px; }
.mm-offer-price { margin-bottom: .6rem; }
.mm-offer-hurry { margin: .7rem 0 .4rem; }
.mm-grid-3 .mm-card { padding: .9rem 1.1rem 1rem; }
.mm-grid-3 .mm-card-img img, .mm-212-col .mm-card-img img { max-width: 170px; max-height: 170px; }
.mm-card-title { margin-bottom: .4rem; }
.mm-card-img { margin-bottom: .5rem; }
.mm-card-foot { margin-top: .5rem; }
.mm-price { font-size: 20px; }
.mm-card-sm .mm-price, .mm-track-6 .mm-price, .mm-list-card .mm-price { font-size: 16px; }

/* best deals band */
.mm-band { padding: 2rem 0 2.4rem; }
.mm-card-lg .mm-card-img img { max-width: 320px; max-height: 320px; }

/* essentials banner: 1170 x 147 */
.mm-banner { min-height: 147px; padding: 1rem 2.5rem; }
.mm-banner-img { max-height: 115px; }
.mm-list-card { padding: 1.4rem 1rem; min-height: 190px; }
.mm-list-img, .mm-list-img img { width: 130px; }
.mm-list-img img { height: 130px; }
.mm-footer-list a { padding: .75rem 0; }
.mm-footer-list img { width: 80px; height: 80px; }
.mm-footer-products { padding-top: 1.6rem; padding-bottom: 3rem; }

/* ================================================================ v4: Best Deals columns measured against the original */
/* side columns: 293 x 356 cards with 212 x 200 images; 2 stacked, the 3rd/4th appear on wide screens */
.mm-212-col { grid-template-rows: none; grid-auto-rows: 1fr; }
.mm-212-col > .mm-card { min-height: 356px; border-bottom: 1px solid var(--mm-line); }
.mm-212-col > .mm-card:nth-child(n+3) { display: none; }
.mm-212-col > .mm-card:nth-child(2) { border-bottom: 0; }
.mm-212-col .mm-card-img img { width: 212px; height: 200px; max-width: 100%; max-height: none; object-fit: contain; }
/* centre product: 553 x 510 image with three 60 x 60 thumbnails underneath */
.mm-212-hero .mm-card-img img, .mm-card-lg .mm-card-img img { width: 553px; height: 510px; max-width: 100%; max-height: none; object-fit: contain; }
.mm-212-hero .mm-card-img { margin-bottom: .4rem; }
.mm-thumbs { display: flex; gap: 16px; margin-bottom: .8rem; }
.mm-thumbs button { width: 60px; height: 60px; padding: 0; border: 1px solid var(--mm-line); border-radius: 6px; background: #fff; overflow: hidden; }
.mm-thumbs button.active, .mm-thumbs button:hover { border-color: var(--mm-blue); }
.mm-thumbs img { width: 100%; height: 100%; object-fit: contain; }
/* wide screens (1480 px+): three equal columns, sides become 2 x 2 */
@media (min-width: 1480px) {
  .mm-212 { grid-template-columns: 1fr 1fr 1fr; }
  .mm-212-col { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .mm-212-col > .mm-card:nth-child(n+3) { display: flex; }
  .mm-212-col > .mm-card { border-bottom: 0; border-right: 1px solid var(--mm-line); }
  .mm-212-col > .mm-card:nth-child(-n+2) { border-bottom: 1px solid var(--mm-line); }
  .mm-212-col > .mm-card:nth-child(2n) { border-right: 0; }
  .mm-212-hero .mm-card-img img { width: 100%; height: 420px; }
}

/* ================================================================ v5: hover footer drops below the card (no extra height), 212 x 200 images */
.mm-card-foot { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: .55rem 1.2rem .7rem; background: #fff;
  border-top: 1px solid var(--mm-line); border-radius: 0 0 var(--mm-radius) var(--mm-radius); box-shadow: 0 12px 18px rgba(51, 62, 72, 0.12);
  opacity: 0; visibility: hidden; z-index: 3; }
.mm-card:hover .mm-card-foot, .mm-card:focus-within .mm-card-foot { opacity: 1; visibility: visible; }
.mm-card-lg .mm-card-foot { opacity: 0; }
.mm-card:hover { z-index: 4; }
.mm-grid-3 .mm-card-img img { width: 212px; height: 200px; max-width: 100%; max-height: none; object-fit: contain; }

.mm-212-hero .mm-card { padding-left: 16px; padding-right: 16px; }
.mm-212-col > .mm-card { min-height: 0; }

/* ================================================================ v6: phone layout matched to the original homepage */
.mm-badge { left: auto; right: -8px; }
.mm-cart-btn .mm-badge { right: auto; left: 10px; }
@media (max-width: 1199.98px) { .mm-header-icons { padding-right: 4px; } }
.mm-hero-from strong { display: inline-flex; align-items: flex-start; }
.mm-hero-from sup { position: static; font-size: .5em; margin-top: .25em; margin-right: 2px; }
@media (max-width: 767.98px) {
  /* no hover on touch screens: compare / wishlist row hidden like the original */
  .mm-card-foot { display: none; }
  /* scrolling single-line tab bars */
  .mm-tabs-band, .mm-pills { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .mm-tabs-band::-webkit-scrollbar, .mm-pills::-webkit-scrollbar { display: none; }
  .mm-tabs-band .nav-link, .mm-pills .nav-link { white-space: nowrap; }
  .mm-block-head:has(.mm-pills) { flex-direction: column; align-items: stretch; }
  .mm-block-head .mm-pills { width: 100%; }
  .mm-block-head:has(.mm-carousel-arrows) { flex-direction: row; align-items: flex-end; }
  /* best deals: every product one per row, left items -> big item -> right items */
  .mm-212 { display: block; }
  .mm-212-col { display: block; }
  .mm-212-col > .mm-card, .mm-212-col > .mm-card:nth-child(n+3) { display: flex; border-right: 0; border-bottom: 1px solid var(--mm-line); }
  .mm-212-hero { border: 0; border-bottom: 1px solid var(--mm-line); }
  .mm-212-col .mm-card-img img { width: 212px; height: 200px; }
  .mm-212-hero .mm-card-img img { width: 100%; height: auto; aspect-ratio: 1; }
  /* bestsellers: three list cards per slide, full width */
  .mm-track-list { grid-template-rows: repeat(3, auto); grid-auto-columns: 100%; }
  .mm-list-card { border-right: 0; min-height: 0; padding: 1rem .5rem; }
  /* footer product lists are hidden on phones, as on the original */
  .mm-footer-products { display: none; }
}
.mm-sidemenu .offcanvas-header img { height: 44px; width: auto; }
.mm-search-side { display: flex; }
.mm-search-side .form-control { min-width: 0; }

/* ================================================================ v7: inner pages */
.mm-card-desc, .mm-card-rating { display: none; }

/* inner header: logo row with menu + support, blue bar with departments, search and icons */
.mm-header-inner { padding: 1.1rem 0; }
.mm-main-menu { list-style: none; margin: 0 0 0 1rem; padding: 0; gap: .2rem; }
.mm-main-menu > li > a { display: block; padding: .5rem .9rem; color: var(--mm-ink); font-weight: 700; font-size: 15px; }
.mm-main-menu > li > a:hover { color: var(--mm-blue); }
.mm-main-menu .dropdown-toggle::after { vertical-align: .15em; margin-left: .35em; }
.mm-main-menu .dropdown-menu { border: 0; border-top: 2px solid var(--mm-blue); border-radius: 0 0 var(--mm-radius) var(--mm-radius); box-shadow: var(--mm-shadow); padding: .5rem 0; margin-top: 0; min-width: 210px; }
.mm-main-menu .dropdown-item { color: var(--mm-ink); font-size: 14px; padding: .35rem 1.3rem; }
.mm-main-menu .dropdown-item:hover { background: none; color: var(--mm-blue); }
.mm-hover-dropdown:hover > .dropdown-menu, .mm-hover-dropdown:focus-within > .dropdown-menu { display: block; }
.mm-support { align-items: center; gap: .7rem; font-size: 13px; line-height: 1.5; color: var(--mm-muted); }
.mm-support > i { font-size: 32px; color: var(--mm-blue); }
.mm-support strong { color: var(--mm-ink); }
.mm-support a { color: var(--mm-ink); }
.mm-bluebar { background: var(--mm-blue); padding: .55rem 0 0; }
.mm-bluebar .mm-dept { width: 270px; min-width: 270px; }
.mm-bluebar .mm-dept-toggle { border-radius: var(--mm-radius) var(--mm-radius) 0 0; }
.mm-bluebar .mm-dept-list { border: 1px solid var(--mm-line); border-top: 0; }
.mm-bluebar .mm-search, .mm-search-blue { border: 0; margin-bottom: .55rem; background: #fff; display: flex; max-width: none; }
.mm-search-blue .mm-search-btn { background: var(--mm-ink); color: #fff; }
.mm-icons-white a, .mm-icons-white button { color: #fff; }
.mm-icons-white .mm-badge { background: var(--mm-orange); color: var(--mm-dark); }
.mm-icons-white .mm-cart-total { color: #fff; }
.mm-bluebar .mm-header-icons { margin-bottom: .55rem; }

/* breadcrumb + page frame */
.mm-breadcrumb { padding: 1.1rem 0 .6rem; }
.mm-breadcrumb .breadcrumb { margin: 0; font-size: 14px; }
.mm-breadcrumb .breadcrumb-item a { color: var(--mm-ink); }
.mm-breadcrumb .breadcrumb-item a:hover { color: var(--mm-blue); }
.mm-breadcrumb .breadcrumb-item.active { color: var(--mm-ink); }
.mm-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: "\f105"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 11px; color: var(--mm-ink); padding: 0 .8rem 0 .3rem; line-height: 21px; }
.mm-page { padding-top: .8rem; padding-bottom: 3.5rem; }
@media (min-width: 1200px) { .mm-page > .row { --bs-gutter-x: 30px; } }
.mm-page-title { font-size: 25px; font-weight: 400; margin-bottom: 1.6rem; }
.mm-section-title { font-size: 20px; font-weight: 400; border-bottom: 1px solid var(--mm-line); padding-bottom: .7rem; margin-bottom: 1.2rem; position: relative; }
.mm-section-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 80px; height: 2px; background: var(--mm-orange); }
.mm-empty { color: var(--mm-muted); padding: 2rem 0; }
.mm-form-ok { color: var(--mm-green); font-weight: 600; }
.mm-form-error { color: var(--mm-red); font-weight: 600; }
.form-control, .form-select { border-radius: 6px; border-color: #dde1ea; padding: .6rem .9rem; font-size: 14px; }
.form-control:focus, .form-select:focus { border-color: var(--mm-blue); box-shadow: 0 0 0 3px rgba(3, 103, 202, .12); }
.form-label { font-size: 14px; color: var(--mm-ink); margin-bottom: .35rem; }
.form-check-input:checked { background-color: var(--mm-blue); border-color: var(--mm-blue); }
.btn-mm-light-outline { background: #fff; border: 1px solid #dde1ea; color: var(--mm-ink); }
.btn-mm-light-outline:hover { background: var(--mm-soft); color: var(--mm-ink); }

/* sidebar */
.mm-side-box { margin-bottom: 2.2rem; }
.mm-side-cats { border: 2px solid var(--mm-line); border-radius: var(--mm-radius); }
.mm-side-all { display: block; padding: .95rem 1.3rem; color: var(--mm-ink); font-size: 16px; border-bottom: 1px solid var(--mm-line); }
.mm-side-cats ul { list-style: none; margin: 0; padding: .3rem 1.1rem .6rem; }
.mm-side-cats li { border-bottom: 1px solid var(--mm-line); }
.mm-side-cats li:last-child { border-bottom: 0; }
.mm-side-cats li a { display: flex; align-items: center; gap: .6rem; padding: .55rem 0 .55rem .9rem; color: var(--mm-ink); font-size: 14px; }
.mm-side-cats li a i { color: var(--mm-muted); font-size: 12px; }
.mm-side-cats li a span { color: var(--mm-muted); font-size: 13px; }
.mm-side-cats a:hover, .mm-side-cats a.active { color: var(--mm-blue); font-weight: 600; }
.mm-side-title { font-size: 18px; font-weight: 400; border-bottom: 1px solid var(--mm-line); padding-bottom: .7rem; margin-bottom: 1rem; position: relative; }
.mm-side-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 70px; height: 2px; background: var(--mm-orange); }
.mm-side-list { list-style: none; padding: 0; margin: 0; }
.mm-side-list li { padding: .3rem 0; }
.mm-side-list a { color: var(--mm-ink); }
.mm-side-list a:hover { color: var(--mm-blue); }
.mm-filter { margin-bottom: 1.6rem; }
.mm-filter h4 { font-size: 14px; font-weight: 700; margin-bottom: .7rem; }
.mm-filter .form-check { margin-bottom: .35rem; font-size: 14px; }
.mm-filter .form-check-label span { color: var(--mm-muted); }
.mm-range { position: relative; height: 24px; margin: .4rem 0 .6rem; }
.mm-range input[type=range] { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; background: none; -webkit-appearance: none; appearance: none; height: 24px; margin: 0; }
.mm-range input[type=range]::-webkit-slider-runnable-track { height: 4px; background: var(--mm-line); border-radius: 2px; }
.mm-range input[type=range]::-moz-range-track { height: 4px; background: var(--mm-line); border-radius: 2px; }
.mm-range input[type=range]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--mm-blue); border: 0; margin-top: -6px; cursor: pointer; }
.mm-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--mm-blue); border: 0; cursor: pointer; }
.mm-range-values { font-size: 13px; color: var(--mm-muted); }
.mm-range-values strong { color: var(--mm-ink); font-weight: 600; }
.mm-mini { display: flex; gap: .9rem; align-items: center; padding: .6rem 0; color: var(--mm-ink); }
.mm-mini img { width: 70px; height: 70px; object-fit: contain; flex-shrink: 0; }
.mm-mini strong { display: block; color: var(--mm-blue); font-size: 13px; font-weight: 600; line-height: 1.35; margin-bottom: .15rem; }
.mm-mini em { display: block; font-style: normal; font-size: 14px; color: var(--mm-dark); }
.mm-mini em del { color: var(--mm-muted); font-size: 12px; margin-left: .3rem; }
.mm-mini:hover strong { color: var(--mm-navy); }
.mm-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.mm-tags a { border: 1px solid var(--mm-line); border-radius: 999px; padding: .2rem .8rem; font-size: 13px; color: var(--mm-ink); }
.mm-tags a:hover { background: var(--mm-blue); border-color: var(--mm-blue); color: #fff; }

/* shop */
.mm-track-4 { grid-auto-columns: 25%; }
.mm-track-4 .mm-card-img img, .mm-track-6 .mm-card-img img { width: 100%; max-width: 170px; height: 160px; }
.mm-shop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 2.4rem 0 1rem; }
.mm-shop-bar { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; background: var(--mm-soft); border-radius: var(--mm-radius); padding: .45rem 1rem; margin-bottom: 1.2rem; }
.mm-shop-bar .form-select { width: auto; background-color: #fff; border: 0; padding-top: .35rem; padding-bottom: .35rem; font-size: 13px; }
.mm-views { display: flex; gap: .15rem; }
.mm-views button { width: 34px; height: 34px; border: 0; background: none; color: #b3b8c2; border-radius: 4px; font-size: 16px; }
.mm-views button:hover, .mm-views button.active { color: var(--mm-ink); }
.mm-pager { display: flex; gap: .3rem; }
.mm-pager button { min-width: 34px; height: 34px; border: 0; border-radius: 4px; background: none; color: var(--mm-ink); font-size: 14px; padding: 0 .5rem; }
.mm-pager button.active { background: var(--mm-blue); color: #fff; font-weight: 700; }
.mm-pager button:hover:not(.active) { background: #fff; }
.mm-shop-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--mm-line); padding-top: 1.2rem; margin-top: 1.2rem; }
.mm-shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mm-shop-grid > .mm-card { border-radius: 0; border-right: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); padding: 1rem 1.5rem 1.1rem; }
.mm-shop-grid > .mm-card[hidden] { display: none; }
.mm-shop-grid .mm-card-img img { width: 170px; height: 160px; max-width: 100%; }
.mm-shop-grid.view-grid-ext .mm-card-rating { display: block; margin-bottom: .5rem; }
.mm-shop-grid.view-grid-ext .mm-card-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: var(--mm-muted); margin-bottom: .6rem; }
.mm-shop-grid.view-grid-ext .mm-card-foot { position: static; opacity: 1; visibility: visible; box-shadow: none; padding: .5rem 0 0; margin-top: .6rem; border-radius: 0; }
.mm-shop-grid.view-list, .mm-shop-grid.view-list-small { grid-template-columns: 1fr; }
.mm-shop-grid.view-list > .mm-card, .mm-shop-grid.view-list-small > .mm-card { border-right: 0; padding: 1.4rem 0; }
.mm-shop-grid.view-list > .mm-card:hover, .mm-shop-grid.view-list-small > .mm-card:hover { box-shadow: none; }
.mm-shop-grid.view-list .mm-card-body { display: grid; grid-template-columns: 200px 1fr 190px; grid-template-rows: auto auto auto 1fr; column-gap: 1.8rem; }
.mm-shop-grid.view-list .mm-card-img { grid-column: 1; grid-row: 1 / 5; margin: 0; }
.mm-shop-grid.view-list .mm-card-cat, .mm-shop-grid.view-list .mm-card-title, .mm-shop-grid.view-list .mm-card-rating, .mm-shop-grid.view-list .mm-card-desc { grid-column: 2; }
.mm-shop-grid.view-list .mm-card-title { min-height: 0; font-size: 16px; }
.mm-shop-grid.view-list .mm-card-rating, .mm-shop-grid.view-list .mm-card-desc { display: block; }
.mm-shop-grid.view-list .mm-card-desc { color: var(--mm-muted); font-size: 14px; }
.mm-shop-grid.view-list .mm-card-price { grid-column: 3; grid-row: 1 / 3; flex-direction: column; align-items: stretch; margin: 0; gap: .8rem; }
.mm-shop-grid.view-list .mm-card-price .mm-price { font-size: 22px; }
.mm-shop-grid.view-list .mm-add { width: 100%; border-radius: 999px; background: var(--mm-orange); color: var(--mm-dark); height: 40px; }
.mm-shop-grid.view-list .mm-card-foot, .mm-shop-grid.view-list-small .mm-card-foot { position: static; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: .6rem 0 0; margin-left: calc(200px + 1.8rem); justify-content: flex-start; gap: 1.5rem; }
.mm-shop-grid.view-list-small .mm-card-body { display: grid; grid-template-columns: 110px 1fr auto; column-gap: 1.4rem; align-items: center; }
.mm-shop-grid.view-list-small .mm-card-img { grid-column: 1; grid-row: 1 / 3; margin: 0; }
.mm-shop-grid.view-list-small .mm-card-img img { width: 110px; height: 100px; }
.mm-shop-grid.view-list-small .mm-card-cat, .mm-shop-grid.view-list-small .mm-card-title { grid-column: 2; min-height: 0; }
.mm-shop-grid.view-list-small .mm-card-price { grid-column: 3; grid-row: 1 / 3; margin: 0; gap: 1rem; }
.mm-shop-grid.view-list-small .mm-card-foot { margin-left: calc(110px + 1.4rem); }
@media (min-width: 1480px) {
  .mm-shop-grid.view-grid, .mm-shop-grid.view-grid-ext { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .mm-shop-grid.view-grid, .mm-shop-grid.view-grid-ext { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mm-track-4 { grid-auto-columns: calc(100% / 3); }
}
@media (max-width: 767.98px) {
  .mm-shop-grid.view-grid, .mm-shop-grid.view-grid-ext { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-shop-grid > .mm-card { padding: .9rem .8rem 1rem; }
  .mm-track-4 { grid-auto-columns: 50%; }
  .mm-shop-bar { gap: .5rem; padding: .5rem .6rem; }
  .mm-shop-bar .mm-views, .mm-shop-bar .mm-pager { display: none; }
  .mm-shop-grid.view-list .mm-card-body { grid-template-columns: 110px 1fr; column-gap: 1rem; }
  .mm-shop-grid.view-list .mm-card-img { grid-row: 1 / 6; }
  .mm-shop-grid.view-list .mm-card-img img { width: 110px; height: 110px; }
  .mm-shop-grid.view-list .mm-card-price { grid-column: 2; grid-row: auto; margin-top: .6rem; }
  .mm-shop-grid.view-list .mm-card-foot { margin-left: 0; }
  .mm-shop-grid.view-list-small .mm-card-body { grid-template-columns: 80px 1fr; }
  .mm-shop-grid.view-list-small .mm-card-img img { width: 80px; height: 80px; }
  .mm-shop-grid.view-list-small .mm-card-price { grid-column: 2; grid-row: auto; margin-top: .4rem; }
}

/* categories page */
.mm-subcat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--mm-line); border-left: 1px solid var(--mm-line); }
.mm-subcat { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.2rem .8rem; border-right: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); color: var(--mm-ink); text-align: center; font-weight: 600; transition: box-shadow .2s; }
.mm-subcat img { width: 120px; height: 120px; object-fit: contain; }
.mm-subcat:hover { box-shadow: var(--mm-shadow); color: var(--mm-blue); position: relative; z-index: 2; }
.mm-more { color: var(--mm-ink); font-size: 14px; padding-bottom: .6rem; }
.mm-more:hover { color: var(--mm-blue); }
.mm-list-stack .mm-list-card { border-right: 0; min-height: 0; padding: .9rem 0; }
@media (max-width: 991.98px) { .mm-subcat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .mm-subcat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mm-subcat img { width: 90px; height: 90px; } }

/* product page */
.mm-pd-gallery { position: sticky; top: 1rem; }
.mm-pd-main { position: relative; text-align: center; border: 1px solid var(--mm-line); border-radius: var(--mm-radius); padding: 1.5rem; }
.mm-pd-main img { width: 100%; max-width: 420px; aspect-ratio: 1; object-fit: contain; }
.mm-pd-main .mm-card-badge { left: 1rem; top: 1rem; }
.mm-thumbs { display: flex; gap: .6rem; justify-content: center; margin-top: .8rem; }
.mm-thumbs button { width: 60px; height: 60px; padding: 3px; border: 1px solid var(--mm-line); border-radius: 6px; background: #fff; }
.mm-thumbs button.active { border-color: var(--mm-blue); }
.mm-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.mm-pd-thumbs button { width: 80px; height: 80px; }
.mm-pd-title { font-size: 26px; font-weight: 400; margin: .3rem 0 .6rem; line-height: 1.3; }
.mm-pd-rating { font-size: 13px; margin-bottom: .5rem; }
.mm-pd-rating a { color: var(--mm-muted); margin-left: .3rem; }
.mm-pd-stock { font-size: 14px; margin-bottom: .8rem; }
.mm-pd-links { display: flex; gap: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--mm-line); margin-bottom: 1rem; }
.mm-pd-links button { background: none; border: 0; padding: 0; color: var(--mm-muted); font-size: 14px; }
.mm-pd-links button:hover, .mm-pd-links button.is-on { color: var(--mm-blue); }
.mm-pd-links button.is-on .fa-heart::before { content: "\f004"; font-weight: 900; }
.mm-pd-highlights { padding-left: 1.1rem; color: var(--mm-muted); margin-bottom: 1rem; }
.mm-pd-highlights li { margin-bottom: .3rem; }
.mm-pd-desc { color: var(--mm-muted); }
.mm-pd-sku { font-size: 14px; color: var(--mm-muted); }
.mm-pd-price { display: flex; align-items: baseline; gap: .7rem; margin: 1.2rem 0; }
.mm-pd-price strong { font-size: 30px; font-weight: 400; color: var(--mm-dark); }
.mm-pd-price del { color: var(--mm-muted); font-size: 18px; }
.mm-pd-off { background: var(--mm-red); color: #fff; font-size: 12px; font-weight: 700; padding: .1rem .5rem; border-radius: 4px; }
.mm-pd-options { max-width: 260px; margin-bottom: 1.4rem; }
.mm-pd-buy { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.mm-qty { display: inline-flex; align-items: center; border: 1px solid #dde1ea; border-radius: 999px; overflow: hidden; }
.mm-qty button { width: 34px; height: 34px; border: 0; background: none; color: var(--mm-ink); font-size: 16px; }
.mm-qty span { min-width: 28px; text-align: center; font-weight: 600; }
.mm-qty-lg button { width: 42px; height: 48px; }
.mm-qty-lg input { width: 46px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.mm-qty-lg input::-webkit-inner-spin-button, .mm-qty-lg input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.mm-pd-buy .btn-lg { border-radius: 999px; }
.mm-pd-tabs { margin-top: 3.5rem; }
.mm-tabs-boxed { flex-wrap: wrap; gap: .4rem; margin-bottom: 0; position: relative; z-index: 1; }
.mm-tabs-boxed .nav-link { border: 1px solid var(--mm-line); border-radius: 999px; padding: .5rem 1.6rem; background: #fff; }
.mm-tabs-boxed .nav-link.active { border-color: var(--mm-ink); }
.mm-tabs-boxed .nav-link.active::after { display: none; }
.mm-pd-panel { border: 1px solid var(--mm-line); border-radius: var(--mm-radius); padding: 3rem 2.2rem 2rem; margin-top: -1.2rem; }
.mm-pd-panel h3 { font-size: 20px; font-weight: 400; margin-bottom: 1rem; }
.mm-pd-desc-img { max-width: 280px; width: 100%; }
.mm-check-list { list-style: none; padding: 0; }
.mm-check-list li { padding-left: 1.6rem; position: relative; margin-bottom: .4rem; }
.mm-check-list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--mm-green); position: absolute; left: 0; }
.mm-spec-table th { width: 35%; font-weight: 600; color: var(--mm-ink); background: var(--mm-soft); }
.mm-spec-table th, .mm-spec-table td { padding: .75rem 1rem; border-color: var(--mm-line); }
.mm-rating-big { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.mm-rating-big strong { font-size: 48px; font-weight: 400; line-height: 1; }
.mm-rating-big span { color: var(--mm-muted); }
.mm-rating-big .mm-stars { font-size: 16px; }
.mm-pd-tabs + .mm-block { margin-top: 3rem; }
@media (max-width: 767.98px) {
  .mm-pd-title { font-size: 21px; }
  .mm-pd-panel { padding: 2.4rem 1rem 1.2rem; }
  .mm-tabs-boxed { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .mm-tabs-boxed .nav-link { white-space: nowrap; padding: .45rem 1.1rem; }
  .mm-pd-buy .btn-lg { flex: 1 1 100%; }
  .mm-pd-gallery { position: static; }
  .mm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* cart, checkout */
.mm-cart-table { border: 1px solid var(--mm-line); border-radius: var(--mm-radius); margin-bottom: 1.2rem; }
.mm-cart-row { display: grid; grid-template-columns: 90px 1fr 130px 120px 40px; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-top: 1px solid var(--mm-line); }
.mm-cart-head { border-top: 0; font-weight: 700; padding-top: .8rem; padding-bottom: .8rem; }
.mm-cart-row img { width: 80px; height: 80px; object-fit: contain; }
.mm-cart-info strong { display: block; color: var(--mm-blue); font-weight: 600; }
.mm-cart-info span { color: var(--mm-muted); font-size: 13px; }
.mm-cart-line { font-weight: 600; }
.mm-cart-remove { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--mm-soft); color: var(--mm-muted); }
.mm-cart-remove:hover { background: var(--mm-red); color: #fff; }
.mm-cart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 2.4rem; }
.mm-coupon { display: flex; gap: .5rem; max-width: 420px; flex: 1 1 300px; }
.mm-coupon-msg { width: 100%; color: var(--mm-red); font-size: 13px; margin: 0; order: 3; }
.mm-totals { border: 1px solid var(--mm-line); border-radius: var(--mm-radius); padding: 1.4rem 1.6rem; }
.mm-totals h3 { font-size: 20px; font-weight: 400; margin-bottom: 1rem; }
.mm-totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--mm-line); }
.mm-totals > div.mm-totals-grand { font-size: 18px; border-bottom: 0; }
.mm-totals-grand strong { font-size: 20px; }
.mm-totals-plain { border: 0; padding: 0; }
.mm-order-box { background: var(--mm-soft); border-radius: var(--mm-radius); padding: 1.6rem; }
.mm-order-line { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid #e3e6ee; font-size: 14px; }
.mm-order-line b { font-weight: 600; color: var(--mm-muted); }
.mm-pay { background: #fff; border-radius: 6px; padding: 1rem 1.2rem; margin-top: 1rem; }
.mm-accordion .accordion-item { border: 0; border-top: 2px solid var(--mm-blue); margin-bottom: .6rem; border-radius: 0; background: var(--mm-soft); }
.mm-accordion .accordion-button { background: var(--mm-soft); font-size: 14px; color: var(--mm-ink); box-shadow: none; }
.form-control.is-invalid, .form-check-input.is-invalid { border-color: var(--mm-red); }
@media (max-width: 767.98px) {
  .mm-cart-head { display: none; }
  .mm-cart-row { grid-template-columns: 70px 1fr auto; grid-template-areas: "img info rm" "img qty line"; gap: .4rem .8rem; padding: .9rem; }
  .mm-cart-row img { grid-area: img; width: 70px; height: 70px; }
  .mm-cart-info { grid-area: info; }
  .mm-cart-row .mm-qty { grid-area: qty; justify-self: start; }
  .mm-cart-line { grid-area: line; }
  .mm-cart-remove { grid-area: rm; justify-self: end; }
  .mm-cart-actions > div { width: 100%; }
  .mm-cart-actions > div .btn { flex: 1; }
}

/* tables: wishlist, compare */
.mm-table-wrap { overflow-x: auto; }
.mm-table { border: 1px solid var(--mm-line); }
.mm-table th { font-weight: 700; color: var(--mm-ink); white-space: nowrap; }
.mm-table td, .mm-table th { padding: .9rem 1rem; border-color: var(--mm-line); }
.mm-table-img { width: 80px; height: 80px; object-fit: contain; }
.mm-table td a { color: var(--mm-blue); font-weight: 600; }
.mm-compare th { width: 180px; background: var(--mm-soft); }
.mm-compare td { min-width: 220px; text-align: center; }
.mm-compare-prod img { display: block; width: 150px; height: 150px; object-fit: contain; margin: 0 auto .6rem; }
.mm-compare del { color: var(--mm-muted); font-size: 13px; }
.mm-narrow { max-width: 760px; margin: 0 auto; }

/* about */
.mm-about-hero { position: relative; border-radius: var(--mm-radius); overflow: hidden; min-height: 380px; background: var(--mm-navy) center / cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 3rem 1rem; margin-bottom: 3rem; }
.mm-about-hero::before { content: ""; position: absolute; inset: 0; background: rgba(1, 45, 133, .45); }
.mm-about-hero > * { position: relative; }
.mm-about-hero h1 { color: #fff; font-size: 42px; font-weight: 400; }
.mm-about-hero p { font-size: 18px; max-width: 640px; margin: .6rem auto 0; }
.mm-about-card h3 { font-size: 18px; margin: 1rem 0 .5rem; }
.mm-about-card img { border-radius: var(--mm-radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mm-about-card p { color: var(--mm-muted); }
.mm-team-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; margin: 3rem 0; text-align: center; }
.mm-team-card { display: block; color: var(--mm-ink); }
.mm-team-avatar { display: inline-flex; width: 110px; height: 110px; border-radius: 50%; background: var(--mm-soft); align-items: center; justify-content: center; font-size: 38px; color: #b9c0cc; margin-bottom: .8rem; }
.mm-team-more .mm-team-avatar { background: var(--mm-blue); color: #fff; }
.mm-team-card h3 { font-size: 15px; margin: 0 0 .2rem; }
.mm-team-card p { color: var(--mm-muted); font-size: 13px; margin: 0; }
.mm-features-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--mm-line); border-radius: var(--mm-radius); margin: 3rem 0 0; }
.mm-features-strip > div { display: flex; align-items: center; gap: .8rem; padding: 1.3rem 1.2rem; border-right: 1px solid var(--mm-line); font-size: 13px; }
.mm-features-strip > div:last-child { border-right: 0; }
.mm-features-strip i { font-size: 30px; color: var(--mm-blue); }
.mm-features-strip strong { display: block; font-size: 14px; }
@media (max-width: 991.98px) {
  .mm-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mm-features-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-features-strip > div { border-bottom: 1px solid var(--mm-line); }
}
@media (max-width: 575.98px) {
  .mm-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mm-features-strip { grid-template-columns: 1fr; }
  .mm-features-strip > div { border-right: 0; }
  .mm-about-hero h1 { font-size: 30px; }
}

/* contact, FAQ, directory, terms */
.mm-map { border-radius: var(--mm-radius); overflow: hidden; margin-bottom: 3rem; }
.mm-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.mm-hours { list-style: none; padding: 0; margin: 0; max-width: 320px; }
.mm-hours li { display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px dashed var(--mm-line); }
.mm-faq-grid h3 { font-size: 16px; font-weight: 700; margin-bottom: .6rem; }
.mm-faq-grid p { color: var(--mm-muted); }
.accordion-button:not(.collapsed) { background: var(--mm-soft); color: var(--mm-blue); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(3, 103, 202, .15); }
.accordion-button { font-weight: 600; font-size: 15px; }
.mm-directory { column-count: 4; column-gap: 2rem; }
.mm-dir-col { break-inside: avoid; margin-bottom: 2rem; }
.mm-dir-col h2 { font-size: 16px; font-weight: 700; margin-bottom: .6rem; }
.mm-dir-col h2 a { color: var(--mm-ink); }
.mm-dir-col ul { list-style: none; padding: 0; margin: 0; }
.mm-dir-col li { padding: .2rem 0; }
.mm-dir-col li a { color: var(--mm-muted); font-size: 14px; }
.mm-dir-col a:hover { color: var(--mm-blue); }
@media (max-width: 991.98px) { .mm-directory { column-count: 3; } }
@media (max-width: 575.98px) { .mm-directory { column-count: 2; } }
.mm-prose { max-width: 820px; line-height: 1.75; }
.mm-prose h2 { font-size: 20px; margin: 2rem 0 .8rem; }

/* 404 */
.mm-404 { text-align: center; padding: 2.5rem 0 3.5rem; }
.mm-404 strong { display: block; font-size: 120px; line-height: 1; font-weight: 300; color: var(--mm-ink); }
.mm-404 h1 { font-size: 26px; font-weight: 400; margin: 1rem 0 .6rem; }
.mm-404 .mm-search { margin: 1.4rem auto 0; display: flex; }
.mm-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .mm-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .mm-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mm-404 strong { font-size: 80px; } }

/* blog */
.mm-post-item { padding-bottom: 2.4rem; margin-bottom: 2.4rem; border-bottom: 1px solid var(--mm-line); }
.mm-post-item img, .mm-post-cover { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--mm-radius); margin-bottom: 1.2rem; }
.mm-post-item h2, .mm-post-title { font-size: 26px; font-weight: 400; line-height: 1.3; margin-bottom: .4rem; }
.mm-post-item h2 a { color: var(--mm-ink); }
.mm-post-item h2 a:hover { color: var(--mm-blue); }
.mm-post-meta { color: var(--mm-muted); font-size: 13px; margin-bottom: 1rem; }
.mm-post-meta a { color: var(--mm-blue); }
.mm-post-item p { color: var(--mm-muted); }
.mm-post-share { display: flex; align-items: center; gap: .6rem; padding: 1.2rem 0; border-top: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); margin: 2rem 0; }
.mm-post-share a { width: 36px; height: 36px; border-radius: 50%; background: var(--mm-soft); color: var(--mm-ink); display: inline-flex; align-items: center; justify-content: center; }
.mm-post-share a:hover { background: var(--mm-blue); color: #fff; }
.mm-reply { margin-top: 2rem; }
@media (max-width: 767.98px) { .mm-post-item h2, .mm-post-title { font-size: 21px; } }
.mm-side-cats a.mm-side-all, .mm-side-cats a.mm-side-all.active { color: var(--mm-ink); font-weight: 400; }
.mm-side-cats a.mm-side-all:hover { color: var(--mm-blue); }
.mm-shop-bar .form-select { min-width: 110px; padding-right: 2.2rem; }
.mm-shop-bar [data-sort] { min-width: 190px; }
.mm-pd-main { border: 0; padding: 0; }
.mm-pd-main img { max-width: 470px; aspect-ratio: 470 / 431; }
.mm-pd-thumbs { justify-content: flex-start; }
.mm-pd-price strong { font-size: 36px; }
.mm-pd-price { border-bottom: 1px solid var(--mm-line); padding-bottom: 1.2rem; }
.mm-coupon .btn { white-space: nowrap; }
.mm-subcat-grid { border: 0; row-gap: 1.2rem; }
.mm-subcat { border: 0; font-weight: 400; border-radius: var(--mm-radius); }
.mm-subcat img { width: 150px; height: 150px; }
.mm-about-hero { background: #f8f8f8; color: var(--mm-ink); border-radius: 0; min-height: 564px; margin-bottom: 3.5rem; }
.mm-about-hero::before { display: none; }
.mm-about-hero h1 { color: var(--mm-ink); font-size: 40px; font-weight: 700; }
.mm-about-hero p { font-size: 16px; max-width: 620px; }
.mm-about-card h2, .mm-about-card h3 { font-size: 18px; font-weight: 700; margin: 1rem 0 .5rem; }
@media (max-width: 767.98px) { .mm-about-hero { min-height: 300px; } .mm-about-hero h1 { font-size: 30px; } }

/* search category select: room for the arrow so the label never overlaps it */
.mm-search .form-select { width: auto; max-width: none; min-width: 170px; flex: 0 0 auto; padding-left: 1rem; padding-right: 2.4rem; background-position: right .9rem center; background-size: 12px 10px; white-space: nowrap; text-overflow: clip; }

/* about: features strip (ul inside container) and team band */
.mm-features-strip { display: block; border: 0; border-radius: 0; margin: 0; padding: 2.5rem 0; border-top: 1px solid var(--mm-line); }
.mm-features-strip ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.mm-features-strip li { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; padding: 0 1.2rem; border-right: 1px solid var(--mm-line); font-size: 13px; color: var(--mm-muted); }
.mm-features-strip li:last-child { border-right: 0; }
.mm-features-strip li i { grid-row: 1 / 3; font-size: 34px; color: var(--mm-blue); }
.mm-features-strip li strong { color: var(--mm-ink); font-size: 14px; }
@media (max-width: 991.98px) { .mm-features-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.4rem; } .mm-features-strip li:nth-child(2n) { border-right: 0; } }
@media (max-width: 575.98px) { .mm-features-strip ul { grid-template-columns: 1fr; } .mm-features-strip li { border-right: 0; } }
.mm-team { background: #f8f8f8; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 3rem calc(50vw - 50%); }
.mm-team .mm-team-grid { margin: 0; }
.mm-team-avatar { background: #fff; }
.mm-about-card { text-align: center; }
.mm-about-text h3 { font-size: 16px; font-weight: 700; }
.mm-about-text p { color: var(--mm-muted); }
.mm-team { margin-left: 0; margin-right: 0; padding: 3rem 0; box-shadow: 0 0 0 100vmax #f8f8f8; clip-path: inset(0 -100vmax); }
@media (max-width: 767.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }

/* ================================================================ v8: phone audit fixes */
@media (max-width: 1199.98px) {
  .mm-header-icons > a, .mm-header-icons > button { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
}
.mm-dots button, .carousel-indicators [data-bs-target] { position: relative; }
.mm-dots button::after, .carousel-indicators [data-bs-target]::after { content: ""; position: absolute; inset: -12px -4px; }
@media (max-width: 359.98px) {
  .mm-card { padding-left: .6rem; padding-right: .6rem; }
  .mm-shop-grid > .mm-card { padding-left: .6rem; padding-right: .6rem; }
  .mm-price { font-size: 15px; }
  .mm-price del { display: block; margin-left: 0; }
  .mm-add { width: 32px; height: 32px; font-size: 13px; }
  .mm-card-price { gap: .2rem; }
}
@media (max-width: 1199.98px) { .mm-header-icons { gap: .25rem; } }
@media (max-width: 1199.98px) { .mm-filters-panel { --bs-offcanvas-width: 320px; } }
@media (max-width: 767.98px) { .mm-shop-grid { clip-path: inset(0 1px 0 0); } .mm-shop-grid.view-grid > .mm-card:hover, .mm-shop-grid.view-grid-ext > .mm-card:hover { box-shadow: none; } }
@media (max-width: 575.98px) { .mm-cart-actions > div { flex-direction: column; } .mm-cart-actions > div .btn { width: 100%; } }
.mm-table-img { max-width: none; min-width: 80px; }
@media (max-width: 767.98px) {
  /* wishlist: each saved product becomes a small card */
  [data-saved-table="wishlist"] thead { display: none; }
  [data-saved-table="wishlist"], [data-saved-table="wishlist"] tbody { display: block; border: 0; }
  [data-saved-table="wishlist"] tr { display: grid; grid-template-columns: 76px 1fr auto; grid-template-areas: "img name rm" "img price stock" "btn btn btn"; gap: .3rem .9rem; align-items: center; padding: 1rem; border: 1px solid var(--mm-line); border-radius: var(--mm-radius); margin-bottom: .8rem; }
  [data-saved-table="wishlist"] td { display: block; padding: 0; border: 0; }
  [data-saved-table="wishlist"] td:nth-child(1) { grid-area: rm; }
  [data-saved-table="wishlist"] td:nth-child(2) { grid-area: img; }
  [data-saved-table="wishlist"] td:nth-child(3) { grid-area: name; }
  [data-saved-table="wishlist"] td:nth-child(4) { grid-area: price; font-weight: 600; }
  [data-saved-table="wishlist"] td:nth-child(5) { grid-area: stock; font-size: 13px; }
  [data-saved-table="wishlist"] td:nth-child(6) { grid-area: btn; margin-top: .5rem; }
  [data-saved-table="wishlist"] td:nth-child(6) .btn { width: 100%; }
  [data-saved-table="wishlist"] .mm-table-img { width: 76px; height: 76px; min-width: 0; }
  /* compare: narrower product columns, sticky labels */
  .mm-compare th { width: 96px; min-width: 96px; position: sticky; left: 0; z-index: 1; font-size: 13px; white-space: normal; }
  .mm-compare td { min-width: 150px; font-size: 13px; }
  .mm-compare-prod img { width: 100px; height: 100px; }
}
.mm-compare .btn { white-space: nowrap; }
@media (max-width: 767.98px) { .mm-map iframe { height: 260px; } .mm-map { margin-bottom: 2rem; } .mm-hours { max-width: none; } }
@media (max-width: 575.98px) { .mm-grid-5 > .mm-card:nth-child(5) { display: none; } }
.mm-pd-panel h3.mm-card-title { font-size: 14px; font-weight: 700; margin: .25rem 0 .6rem; }
@media (max-width: 575.98px) { .mm-subcat img { width: 110px; height: 110px; } .mm-subcat { padding: .8rem .4rem; } }

/* ================================================================ v9: desktop spacing matched to the old pages */
@media (min-width: 1200px) {
  .mm-breadcrumb { padding: 1.2rem 0 1.4rem; }
  .mm-shop-grid > .mm-card { padding: 1.2rem 1.5rem 1.85rem; }
  .mm-track-4 .mm-card { min-height: 330px; }
  .mm-shop-head { margin-top: 4.1rem; }
}
.mm-offer-title { font-size: 14px; font-weight: 400; }
/* blue bar icons: stay white on hover (the blue hover colour made them vanish) */
.mm-header-icons.mm-icons-white > a:hover, .mm-header-icons.mm-icons-white > a:focus-visible, .mm-icons-white .mm-cart-btn:hover, .mm-icons-white .mm-cart-btn:focus-visible, .mm-icons-white .mm-cart-btn[aria-expanded="true"] { color: #fff; opacity: .8; }
/* categories page: tiles and one-row carousels as on the old page */
@media (min-width: 1200px) { .mm-subcat { min-height: 258px; justify-content: center; } .mm-subcat img { width: 170px; height: 170px; } .mm-subcat-grid { margin-top: 1.6rem; } }
.mm-track-list-3 { grid-template-rows: auto; grid-auto-columns: calc(100% / 3); }
.mm-track-3 { grid-auto-columns: calc(100% / 3); }
.mm-track-3 .mm-card-img img { width: 100%; max-width: 170px; height: 160px; }
@media (max-width: 767.98px) { .mm-track-list-3 { grid-template-rows: repeat(3, auto); grid-auto-columns: 100%; } .mm-track-3 { grid-auto-columns: 50%; } }
/* product page spacing as on the old page */
.mm-pd-title { font-size: 25px; }
.mm-pd-options { display: flex; align-items: center; gap: 1.2rem; max-width: none; padding-bottom: 1.4rem; border-bottom: 1px solid var(--mm-line); margin-bottom: 1.4rem; }
.mm-pd-options .form-label { margin: 0; }
.mm-pd-options .form-select { width: auto; min-width: 180px; border-radius: 999px; }
.mm-pd-qty-label { font-size: 14px; margin-bottom: .5rem; }
@media (min-width: 1200px) {
  .mm-product .col-xl-7 { padding-top: 15px; }
  .mm-pd-tabs { margin-top: 7.4rem; }
  .mm-pd-panel { padding-left: 73px; padding-right: 73px; }
  .mm-pd-tabs + .mm-block { margin-top: 7.6rem; }
}
@media (min-width: 1200px) { .mm-pd-tabs + .mm-block { margin-top: 5.2rem; } }

/* cart table as on the old page: x | thumb | product | price | quantity | total */
.mm-page-title-lg { font-size: 40px; margin: 1.2rem 0 1.6rem; }
.mm-cart-table { border: 0; border-radius: 0; margin-bottom: 0; }
.mm-cart-row { grid-template-columns: 49px 158px minmax(0, 1fr) 127px 176px 127px; gap: 0; padding: 26px 0; border-top: 0; border-bottom: 1px solid var(--mm-line); }
.mm-cart-row > * { padding: 0 12px; }
.mm-cart-head { padding: 12px 0; font-weight: 400; color: #747474; }
.mm-cart-row img { width: 100px; height: 100px; padding: 0; margin-left: 12px; border: 1px solid #ddd; object-fit: contain; }
.mm-cart-info strong { color: var(--mm-blue); font-weight: 400; }
.mm-cart-remove { width: 24px; height: 24px; background: none; color: var(--mm-ink); font-size: 12px; justify-self: center; padding: 0; }
.mm-cart-remove:hover { background: none; color: var(--mm-red); }
.mm-cart-line { font-weight: 400; }
.mm-cart-row .mm-qty { width: 120px; justify-content: space-between; padding: 0 .5rem 0 1rem; margin-left: 12px; height: 38px; }
.mm-cart-row .mm-qty span { text-align: left; }
.mm-cart-row .mm-qty button { width: 24px; height: 24px; border-radius: 50%; font-size: 13px; }
.mm-cart-row .mm-qty button:hover { background: var(--mm-soft); }
.mm-cart-actions { padding: 1.6rem 12px; border-bottom: 1px solid var(--mm-line); }
.mm-coupon { gap: 0; max-width: 460px; }
.mm-coupon .form-control { border-radius: 999px 0 0 999px; height: 44px; }
.mm-coupon .btn { border-radius: 0 999px 999px 0; height: 44px; font-weight: 700; }
.mm-cart-actions .btn { border-radius: 999px; height: 44px; display: inline-flex; align-items: center; }
.btn-mm-soft { background: rgba(119, 131, 143, .1); border-color: transparent; color: var(--mm-ink); font-weight: 400; }
.btn-mm-soft:hover { background: rgba(119, 131, 143, .2); color: var(--mm-ink); }
.mm-cart-actions + .row { margin-top: 3rem; }
@media (max-width: 767.98px) {
  .mm-page-title-lg { font-size: 28px; }
  .mm-cart-row { grid-template-columns: 24px 76px 1fr auto; grid-template-areas: "rm img info info" "rm img qty line"; gap: .5rem .8rem; padding: 1rem 0; }
  .mm-cart-row > * { padding: 0; }
  .mm-cart-row img { width: 76px; height: 76px; margin: 0; }
  .mm-cart-remove { grid-area: rm; align-self: start; }
  .mm-cart-price { display: none; }
  .mm-cart-row .mm-qty { margin: 0; width: 110px; }
  .mm-cart-actions { padding: 1.2rem 0; }
  .mm-coupon { max-width: none; }
}
.mm-page-title-lg { margin-top: 0; }

/* forms and centred page titles as on the old pages */
.mm-page .mm-page-title.text-center { font-size: 40px; margin: 0 0 1.6rem; }
.mm-page .form-control, .mm-page .form-select { border-radius: 22px; border-color: #ddd; height: 44px; padding-left: 1.2rem; }
.mm-page textarea.form-control { border-radius: 16px; height: auto; }
.mm-page .form-label { font-weight: 700; }
.mm-page .mm-section-title { font-size: 25px; }
.mm-accordion .accordion-item { border-top: 0; background: var(--mm-blue); border-radius: 5px; overflow: hidden; margin-bottom: 1rem; }
.mm-accordion .accordion-button { background: var(--mm-blue); color: #fff; font-weight: 400; min-height: 50px; }
.mm-accordion .accordion-button:not(.collapsed) { background: var(--mm-blue); color: #fff; }
.mm-accordion .accordion-button::after { filter: brightness(0) invert(1); }
.mm-accordion .accordion-body { background: #fff; border: 1px solid var(--mm-line); border-top: 0; border-radius: 0 0 5px 5px; }
#checkoutNotes { margin-bottom: 3.2rem !important; }
@media (min-width: 992px) { .mm-order-box { margin-left: 16px; } }
.mm-order-box { padding: 1.5rem 1.5rem 2rem; }
[data-checkout] button[type=submit].btn-lg { border-radius: 999px; min-height: 64px; font-size: 20px; font-weight: 700; }
@media (max-width: 767.98px) { .mm-page .mm-page-title.text-center { font-size: 28px; } .mm-page .mm-section-title { font-size: 21px; } }
/* my account: two narrow columns with an "or" divider, as on the old page */
.mm-account-page { position: relative; margin-top: 3.5rem; }
.mm-account-col { padding-left: 15px; padding-right: 15px; }
@media (min-width: 992px) { .mm-account-col { width: 500px; flex: 0 0 500px; } .mm-account-col:first-child { margin-right: 50px; } .mm-account-col:last-child { margin-left: 50px; } }
.mm-account-or { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--mm-line); align-items: center; justify-content: center; padding: 0; }
.mm-account-or span { background: #fff; border: 1px solid var(--mm-line); border-radius: 50%; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #959595; flex-shrink: 0; }
.mm-account-page .mm-section-title { font-size: 26px; border-bottom: 0; display: inline-block; margin-bottom: 1.4rem; }
.mm-account-page .mm-section-title::after { width: 100%; }
.mm-account-benefits { font-size: 18px; font-weight: 400; margin: 2.2rem 0 1rem; }
.mm-page .btn-mm-primary, .mm-page .btn-mm-dark { border-radius: 999px; }
.mm-account-page { margin-top: 4.4rem; }
.mm-account-page .mm-account-col > p.text-muted { margin-bottom: 2.2rem; }
.mm-account-page .form-label { margin-bottom: .5rem; }
/* wishlist + compare tables as on the old pages */
@media (min-width: 768px) {
  [data-saved-table="wishlist"] { border: 0; }
  [data-saved-table="wishlist"] th { font-weight: 400; color: #747474; border-top: 0; }
  [data-saved-table="wishlist"] td { padding-top: 26px; padding-bottom: 26px; }
  [data-saved-table="wishlist"] .mm-table-img { width: 100px; height: 100px; border: 1px solid #ddd; }
  [data-saved-table="wishlist"] td a { font-weight: 400; }
  [data-saved-table="wishlist"] .mm-cart-remove { background: none; color: var(--mm-ink); }
}
[data-saved-table="wishlist"] .btn-mm-primary { background: rgba(119, 131, 143, .1); border-color: transparent; color: var(--mm-ink); font-weight: 400; border-radius: 999px; padding: .45rem 1.3rem; }
[data-saved-table="wishlist"] .btn-mm-primary:hover { background: var(--mm-orange); color: var(--mm-dark); }
.mm-compare { border-color: #ecedf2; }
.mm-compare th { width: 200px; background: #f1f1f1; text-transform: uppercase; font-size: 14px; vertical-align: middle; }
.mm-compare td { width: 220px; min-width: 220px; padding: 12px; }
.mm-compare-prod img { width: 195px; height: 184px; }
.mm-compare-prod strong { font-weight: 700; }
.mm-compare .mm-stars { font-size: 12px; }
.mm-compare .btn { border-radius: 999px; }
.mm-narrow { max-width: 870px; }
/* about page as on the old one */
.mm-about-card { text-align: center; }
.mm-about-card img { aspect-ratio: 370 / 222; }
.mm-about-card h2, .mm-about-card h3 { font-size: 18px; font-weight: 600; margin: 1.3rem 0 .6rem; }
@media (min-width: 1200px) { .mm-page > .row.g-4.mb-5 { --bs-gutter-x: 30px; } }
.mm-team { padding: 88px 0 72px; margin-bottom: 7rem !important; }
.mm-team-avatar { width: 170px; height: 170px; font-size: 60px; max-width: 100%; }
.mm-team-card h3 { font-size: 18px; font-weight: 600; margin-top: .5rem; }
.mm-team-card p { font-size: 14px; }
.mm-about-text h3, .mm-about-faq-title { font-size: 18px; font-weight: 600; margin-bottom: .9rem; }
.mm-about-text > div { margin-bottom: 2.2rem; }
.mm-about-faq .accordion-item { border: 0; border-bottom: 1px solid var(--mm-line); border-radius: 0; }
.mm-about-faq .accordion-button { font-size: 20px; font-weight: 400; padding: .55rem 0; background: none; color: var(--mm-ink); box-shadow: none; }
.mm-about-faq .accordion-button:not(.collapsed) { background: none; color: var(--mm-blue); }
.mm-about-faq .accordion-body { padding: .2rem 0 1rem; color: var(--mm-muted); }
.mm-about-bottom { margin-bottom: 3rem; }
@media (max-width: 991.98px) { .mm-team-avatar { width: 120px; height: 120px; font-size: 40px; } .mm-team { padding: 3rem 0; margin-bottom: 3rem !important; } }
.mm-about-hero { margin-bottom: 104px; }
.mm-about-card h2, .mm-about-card h3 { margin-top: 2rem; }
.mm-page > .row.g-4.mb-5:first-child, .mm-about-hero + .mm-page > .row:first-child { margin-bottom: 90px !important; }
@media (min-width: 1200px) { .mm-about-faq-col { padding-left: 71px; } }
.mm-about-faq .accordion-header { font-size: 20px; }
.mm-about-hero { margin-bottom: 91px; }
.mm-team { margin-bottom: calc(7rem + 13px) !important; }
/* contact as on the old page */
.mm-map { border-radius: 0; margin-top: 14px; margin-bottom: 61px; }
@media (min-width: 992px) { .mm-map iframe { height: 514px; } }
@media (min-width: 1200px) { .mm-contact-form { padding-right: 55px; } }
.mm-contact-sub { font-size: 14px; font-weight: 700; }
.mm-map { margin-bottom: 48px; }
.mm-contact-form > p.text-muted { margin-bottom: 3.4rem; }
/* FAQ as on the old page */
.mm-faq-grid { margin-top: 2.6rem; --bs-gutter-x: 30px; --bs-gutter-y: 3.4rem; }
.mm-faq-grid h3 { font-size: 18px; font-weight: 600; margin-bottom: 1rem; }
.mm-faq-grid p { color: var(--mm-ink); }
.mm-page .mm-faq-second { font-size: 40px; margin: 6rem 0 3.4rem; }
.mm-faq-acc .accordion-item { border: 0; border-bottom: 1px solid var(--mm-line); border-radius: 0; margin-bottom: 1rem; }
.mm-faq-acc .accordion-header { font-size: 20px; }
.mm-faq-acc .accordion-button { font-size: 20px; font-weight: 400; color: var(--mm-dark); background: #fff; padding: 1rem 0; min-height: 70px; box-shadow: none; }
.mm-faq-acc .accordion-button:not(.collapsed) { background: #fff; color: var(--mm-blue); }
.mm-faq-acc .accordion-body { padding: 0 0 1.4rem; }
@media (max-width: 767.98px) { .mm-page .mm-faq-second { font-size: 28px; margin: 3rem 0 1.6rem; } .mm-faq-acc .accordion-button { font-size: 16px; min-height: 56px; } }
/* store directory as on the old page */
.mm-directory { column-count: 4; column-gap: 30px; column-rule: 1px solid var(--mm-line); margin-top: 1rem; }
.mm-dir-col h2 { font-size: 14px; font-weight: 700; margin-bottom: .5rem; }
.mm-dir-col ul { border-left: 1px solid var(--mm-line); margin-left: .3rem; padding-left: 0; }
.mm-dir-col li { position: relative; padding: .35rem 0 .35rem 1.2rem; }
.mm-dir-col li::before { content: ""; position: absolute; left: 0; top: 50%; width: .8rem; border-top: 1px solid var(--mm-line); }
.mm-dir-col li a { color: var(--mm-ink); font-size: 13px; }
@media (max-width: 991.98px) { .mm-directory { column-count: 3; } }
@media (max-width: 575.98px) { .mm-directory { column-count: 2; } }
/* terms as on the old page: full width, spaced sections */
.mm-terms h3 { font-size: 24px; font-weight: 400; margin: 3.4rem 0 1.6rem; }
.mm-terms p { line-height: 1.8; }
.mm-terms .mm-page-title { margin-bottom: .6rem; }
/* 404 as on the old page */
.mm-404 { padding: 1.4rem 0 2.6rem; }
.mm-404 h1 { font-size: 50px; font-weight: 400; margin: 0 0 1.2rem; }
.mm-404 p { font-size: 16px; color: var(--mm-ink); }
.mm-search-404 { border: 0; max-width: 360px; gap: .6rem; overflow: visible; margin-top: 2rem !important; }
.mm-search-404 .form-control { border: 1px solid #ddd; border-radius: 999px; height: 44px; }
.mm-search-404 .mm-search-btn { border-radius: 999px; background: var(--mm-orange); color: var(--mm-dark); font-weight: 700; padding: 0 1.8rem; height: 44px; }
.mm-404-grid .mm-card-img img { width: 212px; height: 200px; max-width: 100%; }
@media (max-width: 575.98px) { .mm-404-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* blog as on the old page */
.mm-post-item img, .mm-post-cover { aspect-ratio: 870 / 423; margin-bottom: 1.8rem; }
.mm-post-item h2, .mm-post-title { font-size: 24px; }
.mm-post-item { border-bottom: 0; padding-bottom: 0; margin-bottom: 96px; }
aside .mm-search-side { border: 1px solid #ddd; border-radius: 999px; height: 44px; }
aside .mm-search-side .form-control { height: 42px; border-radius: 999px; }
aside .mm-search-side .mm-search-btn { background: none; color: var(--mm-ink); }
@media (max-width: 767.98px) { .mm-post-item { margin-bottom: 3rem; } .mm-post-item h2, .mm-post-title { font-size: 20px; } }
.mm-side-title { color: var(--mm-ink); }
.mm-side-list li a::before { content: "\f105"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 12px; color: var(--mm-muted); margin-right: .7rem; }

/* legal pages: contents box, summary, contact block */
.mm-legal-toc, .mm-legal-summary { border: 1px solid var(--mm-line); border-radius: var(--mm-radius); padding: 1.4rem 1.8rem; margin-bottom: 1rem; }
.mm-legal-summary { background: var(--mm-soft); border-color: transparent; margin-bottom: 2rem; }
.mm-legal-toc h2, .mm-legal-summary h2 { font-size: 16px; font-weight: 700; margin-bottom: .8rem; }
.mm-legal-toc ol { columns: 3; column-gap: 2rem; margin: 0; padding-left: 1.2rem; }
.mm-legal-toc li { padding: .15rem 0; break-inside: avoid; }
.mm-legal-toc a { color: var(--mm-ink); }
.mm-legal-toc a:hover { color: var(--mm-blue); }
.mm-legal-summary ul { margin: 0; padding-left: 1.2rem; }
.mm-legal-summary li { padding: .2rem 0; }
.mm-terms ul, .mm-terms ol { line-height: 1.8; padding-left: 1.3rem; }
.mm-terms li { margin-bottom: .35rem; }
.mm-terms h3 { scroll-margin-top: 1rem; }
.mm-legal-contact { border-left: 3px solid var(--mm-orange); padding: .4rem 0 .4rem 1.2rem; line-height: 1.9; }
.mm-legal-table { max-width: 720px; }
@media (max-width: 991.98px) { .mm-legal-toc ol { columns: 2; } }
@media (max-width: 575.98px) { .mm-legal-toc ol { columns: 1; } .mm-legal-toc, .mm-legal-summary { padding: 1.1rem 1.2rem; } .mm-terms h3 { font-size: 20px; margin: 2.4rem 0 1rem; } }
/* 404 quick links */
.mm-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem; list-style: none; padding: 0; margin: 1.8rem 0 0; }
.mm-404-links a { color: var(--mm-ink); font-size: 14px; }
.mm-404-links a:hover { color: var(--mm-blue); }
.mm-404-links i { color: var(--mm-blue); margin-right: .45rem; }
