.mm-home-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.mm-home-hero {
    position: relative;
    overflow: hidden;
    margin-top: 16px;
    border-radius: 14px;
    background: #f3f1ef;
}

.mm-home-hero-track {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.mm-home-hero-track:focus-visible {
    outline-offset: -4px;
}

.mm-home-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    min-height: 570px;
    overflow: hidden;
    scroll-snap-align: start;
}

.mm-home-slide-image-link,
.mm-home-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.mm-home-slide-image {
    object-fit: cover;
    object-position: 65% center;
}

.mm-home-slide-copy {
    position: relative;
    z-index: 1;
    min-height: 100%;
    overflow-wrap: anywhere;
    padding: 185px 24px 80px;
    background: linear-gradient(180deg, transparent 95px, rgba(250, 249, 248, .94) 180px, #faf9f8 100%);
}

.mm-home-slide-copy :is(h1, h2) {
    max-width: 480px;
    margin-bottom: 16px;
    font-size: 32px;
    line-height: 1.1;
}

.mm-home-slide-copy > p:not(.eyebrow) {
    max-width: 450px;
    color: #424850;
    font-size: 15px;
    line-height: 1.6;
}

.mm-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 22px;
}

.mm-home-hero-contact {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 650;
    text-decoration: underline;
}

.mm-home-hero--images .mm-home-slide {
    min-height: clamp(210px, 39vw, 420px);
}

.mm-home-slider-controls:not([hidden]) {
    --mm-slider-inset: 20px;
    position: absolute;
    bottom: 10px;
    inset-inline-start: var(--mm-slider-inset);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: calc(100% - 2 * var(--mm-slider-inset));
}

.mm-home-slider-controls .icon-button {
    flex: none;
}

.mm-home-slider-dots {
    display: flex;
    min-width: 0;
    overflow: auto;
    scrollbar-width: thin;
}

.mm-home-slider-dots button {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
}

.mm-home-slider-dots span {
    width: 7px;
    height: 7px;
    border-radius: 20px;
    background: var(--muted);
}

.mm-home-slider-dots [aria-current="true"] span {
    width: 22px;
    background: var(--brand);
}

.mm-home-trust {
    margin-top: 28px;
    border-block: 1px solid var(--line);
}

.mm-home-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    padding-block: 8px;
}

.mm-home-trust-grid > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    overflow-wrap: anywhere;
    padding-block: 14px;
}

.mm-home-trust-grid img {
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    object-fit: contain;
}

.mm-home-trust-grid strong,
.mm-home-trust-grid span {
    display: block;
    font-size: 13px;
    line-height: 1.45;
}

.mm-home-trust-grid span {
    color: var(--muted);
}

.mm-home-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mm-home-category-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 20px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow-wrap: anywhere;
    text-align: center;
    transition: border-color .16s, box-shadow .16s;
}

.mm-home-category-tile:hover {
    border-color: var(--brand);
    box-shadow: 0 4px 16px #5325540c;
}

.mm-home-category-image {
    display: grid;
    place-items: center;
    width: 100%;
    height: 130px;
    padding: 4px 4px 12px;
}

.mm-home-category-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 114px;
    object-fit: contain;
}

.mm-home-category-tile :is(h2, h3) {
    font-size: 15px;
    line-height: 1.4;
}

.mm-home-category-tile p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

.mm-home-category-tile .mm-home-tile-arrow {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    color: var(--brand);
}

.mm-home-campaigns {
    padding-top: 0;
}

.mm-home-secondary-grid {
    display: grid;
    gap: 12px;
}

.mm-home-secondary-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    min-height: 180px;
    overflow: hidden;
    overflow-wrap: anywhere;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--steel);
}

.mm-home-secondary-tile > div {
    min-width: 0;
}

.mm-home-secondary-tile h3 {
    font-size: 20px;
}

.mm-home-secondary-tile p {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
}

.mm-home-secondary-tile .text-link {
    margin-top: 14px;
}

.mm-home-secondary-tile > img {
    flex: 0 0 auto;
    width: min(105px, 42%);
    height: 135px;
    margin-inline-start: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.mm-home-secondary-tile > img:only-child {
    width: 100%;
}

.mm-home-tinted {
    background: var(--steel);
}

.mm-home-services + .mm-home-product-section {
    padding-top: 12px;
}

.mm-home-business-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}

.mm-home-business-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 22px 16px;
    background: #fff;
    overflow-wrap: anywhere;
}

a.mm-home-business-tile:hover {
    background: var(--brand-soft);
}

.mm-home-business-tile img {
    object-fit: contain;
    margin-bottom: 8px;
}

.mm-home-business-tile h3 {
    font-size: 18px;
}

.mm-home-business-tile p {
    flex: 1;
    color: var(--muted);
    font-size: 13px;
}

.mm-home-business-tile > .icon {
    width: 20px;
    height: 20px;
    margin-top: auto;
    color: var(--brand);
}

.mm-home-brands {
    display: grid;
    gap: 24px;
    padding-block: 30px 48px;
    border-top: 1px solid var(--line);
}

.mm-home-brands h2 {
    font-size: 24px;
    overflow-wrap: anywhere;
}

.mm-home-brand-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 22px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mm-home-brand-list li {
    color: #454b54;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
    text-align: center;
}

.mm-home-brand-list a {
    display: grid;
    min-height: 44px;
    place-items: center;
}

.mm-home-brand-list a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.mm-home-brand-list img {
    width: 100%;
    max-width: 128px;
    height: 48px;
    margin-inline: auto;
    object-fit: contain;
}

.mm-home-quote {
    display: grid;
    gap: 24px;
    margin-bottom: 52px;
    padding: 30px 24px;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
    overflow-wrap: anywhere;
}

.mm-home-quote :is(.eyebrow, h2) {
    color: inherit;
}

.mm-home-quote h2 {
    margin-bottom: 14px;
}

.mm-home-quote p:not(.eyebrow) {
    max-width: 650px;
    font-size: 15px;
    line-height: 1.7;
}

.mm-home-quote .button {
    justify-self: start;
}

.mm-home-quote a:focus-visible {
    outline-color: #fff;
}

.mm-home-quote-mark {
    display: none;
}

.mm-home-tab-controls:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.mm-home-tab-controls [aria-selected="true"] {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

[data-mm-home-tabs][data-ready] .mm-home-tab-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
}

.mm-home-tab-panel + .mm-home-tab-panel:not([role]) {
    margin-top: 28px;
}

.mm-home-empty-message {
    padding: 26px 20px;
    border-radius: var(--radius);
    background: var(--steel);
    color: var(--muted);
}

.mm-home-blog {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow-wrap: anywhere;
}

.mm-home-blog a {
    display: grid;
    gap: 10px;
    height: 100%;
    padding: 16px;
}

.mm-home-blog img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: calc(var(--radius) / 2);
    object-fit: cover;
}

.mm-home-blog p {
    color: var(--muted);
}

.mm-home-editorial {
    position: relative;
    display: grid;
    overflow: hidden;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
}

.mm-home-editorial + .mm-home-editorial {
    margin-top: 16px;
}

.mm-home-editorial--dark {
    background: var(--steel);
    color: var(--ink);
}

.mm-home-editorial-media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    min-width: 0;
}

.mm-home-editorial-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 185px;
    max-height: 540px;
    object-fit: cover;
}

.mm-home-editorial-copy {
    padding: clamp(22px, 5vw, 54px);
    overflow-wrap: anywhere;
}

.mm-home-editorial-copy :is(.eyebrow, h3) {
    color: inherit;
}

.mm-home-editorial-copy :is(h3, p) + :is(p, a) {
    margin-top: 12px;
}

.mm-home-editorial-copy h3 {
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.15;
}

.mm-home-catalog-promos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 10px;
    padding-block: 12px;
}

.mm-home-catalog-promos > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--brand-soft);
    color: var(--brand);
    overflow-wrap: anywhere;
}

.mm-home-catalog-promos > a:hover {
    text-decoration: underline;
}

.mm-home-catalog-promos a span span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.mm-home-popup {
    position: fixed;
    inset: 0;
    width: min(680px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 14px;
    background: #fff;
}

.mm-home-popup::backdrop {
    background: #20252b88;
}

.mm-home-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
}

.mm-home-popup img {
    display: block;
    width: 100%;
    height: auto;
}

.mm-home-popup-dismiss {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 16px;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

@media (max-width: 699px) {
    .mm-home-editorial-desktop {
        display: none;
    }
}

@media (min-width: 700px) {
    .mm-home-hero {
        margin-top: 24px;
    }

    .mm-home-slide {
        min-height: 500px;
    }

    .mm-home-slide-image {
        object-position: center;
    }

    .mm-home-slide-copy {
        min-height: 500px;
        padding: 52px 40px 80px;
        background: linear-gradient(90deg, rgba(250, 249, 248, .94), rgba(250, 249, 248, .75) 44%, transparent 63%);
    }

    .mm-home-slide-copy :is(h1, h2) {
        max-width: 390px;
        font-size: 42px;
    }

    .mm-home-slide-copy > p:not(.eyebrow) {
        max-width: 370px;
    }

    .mm-home-slider-controls:not([hidden]) {
        --mm-slider-inset: 34px;
    }

    .mm-home-trust-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        padding-block: 10px;
    }

    .mm-home-trust-grid strong {
        font-size: 14px;
    }

    .mm-home-trust-grid img {
        width: 25px;
        height: 25px;
    }

    .mm-home-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .mm-home-category-grid--pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mm-home-category-image {
        height: 150px;
    }

    .mm-home-category-image img {
        max-height: 132px;
    }

    .mm-home-secondary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .mm-home-secondary-grid--1 {
        grid-template-columns: minmax(0, 1fr);
    }

    .mm-home-secondary-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mm-home-secondary-tile {
        flex-direction: column-reverse;
        justify-content: flex-end;
        align-items: flex-start;
        min-height: 260px;
        padding: 22px;
    }

    .mm-home-secondary-tile > img {
        align-self: center;
        height: 125px;
        margin-inline: auto;
    }

    .mm-home-business-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mm-home-business-tile {
        padding: 24px;
    }

    .mm-home-brands {
        padding-block: 38px 48px;
    }

    .mm-home-brand-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .mm-home-brand-list li {
        font-size: 17px;
    }

    .mm-home-quote {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        padding: 38px;
    }

    .mm-home-quote h2 {
        font-size: 30px;
    }

    .mm-home-editorial--split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
    }

    .mm-home-editorial--split .mm-home-editorial-media {
        align-self: stretch;
    }

    .mm-home-editorial:not(.mm-home-editorial--split) > * {
        grid-area: 1 / 1;
    }

    .mm-home-editorial:not(.mm-home-editorial--split) .mm-home-editorial-copy {
        z-index: 1;
        background: linear-gradient(90deg, #20252be6, #20252b50 66%, transparent);
    }

    .mm-home-editorial--dark:not(.mm-home-editorial--split) .mm-home-editorial-copy {
        background: linear-gradient(90deg, #fffe, #ffffff80 66%, transparent);
    }

    .mm-home-editorial--center .mm-home-editorial-copy {
        align-content: center;
    }

    .mm-home-editorial--bottom .mm-home-editorial-copy {
        align-content: end;
    }

    .mm-home-editorial--left .mm-home-editorial-copy {
        align-content: center;
        padding-inline-end: 48%;
    }
}

@media (min-width: 1100px) {
    .mm-home-slide,
    .mm-home-slide-copy {
        min-height: 510px;
    }

    .mm-home-slide-copy {
        padding: 62px 52px 78px;
    }

    .mm-home-slide-copy :is(h1, h2) {
        max-width: 460px;
        font-size: 48px;
    }

    .mm-home-slide-copy > p:not(.eyebrow) {
        max-width: 450px;
        font-size: 16px;
    }

    .mm-home-slider-controls:not([hidden]) {
        --mm-slider-inset: 46px;
    }

    .mm-home-trust-grid {
        gap: 32px;
    }

    .mm-home-trust-grid > div {
        gap: 14px;
        padding-block: 18px;
    }

    .mm-home-trust-grid img {
        width: 28px;
        height: 28px;
    }

    .mm-home-category-grid,
    .mm-home-secondary-grid {
        gap: 20px;
    }

    .mm-home-category-tile {
        flex-direction: row;
        gap: 14px;
        min-height: 170px;
        padding: 20px 16px;
        text-align: left;
    }

    .mm-home-category-image {
        flex: 0 0 auto;
        width: 100px;
        height: 125px;
        padding: 5px 0;
    }

    .mm-home-category-image img {
        max-height: 115px;
    }

    .mm-home-category-tile :is(h2, h3) {
        font-size: 16px;
    }

    .mm-home-secondary-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mm-home-secondary-grid--5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .mm-home-secondary-grid--6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .mm-home-secondary-tile {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        min-height: 210px;
        padding: 26px 22px;
    }

    .mm-home-secondary-tile > img {
        width: min(110px, 42%);
        height: 150px;
    }

    .mm-home-secondary-tile h3 {
        font-size: 22px;
    }

    .mm-home-business-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .mm-home-business-tile {
        padding: 26px 22px;
    }

    .mm-home-business-tile p {
        min-height: 40px;
    }

    .mm-home-brands {
        grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
        align-items: center;
        gap: 30px;
    }

    .mm-home-brand-list {
        gap: 18px;
    }

    .mm-home-brand-list li {
        font-size: 21px;
    }

    .mm-home-quote {
        grid-template-columns: 60px minmax(0, 1fr) auto;
        gap: 28px;
        margin-bottom: 64px;
        padding: 44px 40px;
    }

    .mm-home-quote h2 {
        font-size: 34px;
    }

    .mm-home-quote-mark {
        display: grid;
        place-items: center;
        width: 60px;
        height: 60px;
        border: 1px solid #b698b6;
        border-radius: 50%;
    }

    .mm-home-quote-mark :is(img, .icon) {
        width: 30px;
        height: 30px;
        object-fit: contain;
    }
}
