/* MIROMAX homepage hero, 2026-09-26. Scoped to the replacement hero only. */
.mx-home .miro-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    min-height: 555px;
    align-items: stretch;
    overflow: hidden;
    padding: 0;
    border-radius: 24px;
    color: #fff;
    background: #103345;
    box-shadow: 0 20px 55px rgba(18, 60, 81, .13);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mx-home .miro-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: clamp(34px, 5.2vw, 68px);
}

.mx-home .miro-hero__eyebrow {
    color: #a6e6ee;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.mx-home .miro-hero__eyebrow::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 10px 2px 0;
    border-radius: 50%;
    background: currentColor;
}

.mx-home .miro-hero h1 {
    margin: 24px 0 20px;
    font-size: clamp(2.8rem, 4.9vw, 4.65rem);
    line-height: 1.025;
    letter-spacing: -.065em;
    font-weight: 850;
}

.mx-home .miro-hero h1 span {
    display: block;
    color: #a9e9ed;
}

.mx-home .miro-hero__lead {
    max-width: 500px;
    margin: 0 0 30px;
    color: #d2e6eb;
    font-size: 1.075rem;
    line-height: 1.6;
}

.mx-home .miro-hero__search {
    display: flex;
    align-items: center;
    width: min(100%, 565px);
    padding: 6px;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 15px 33px rgba(7, 28, 43, .25);
}

.mx-home .miro-hero__search:focus-within {
    outline: 3px solid #75cfff;
    outline-offset: 3px;
}

.mx-home .miro-hero__search svg {
    flex: none;
    margin-left: 14px;
    color: #6a8490;
}

.mx-home .miro-hero__search input {
    flex: 1;
    min-width: 0;
    padding: 15px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #193746;
    font: inherit;
    font-size: 1rem;
}

.mx-home .miro-hero__search input::placeholder {
    color: #68828e;
    opacity: 1;
}

.mx-home .miro-hero__search button {
    border: 0;
    border-radius: 9px;
    padding: 15px 23px;
    background: #186add;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.mx-home .miro-hero__search button:hover {
    background: #0959c5;
}

.mx-home .miro-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.mx-home .miro-hero__sell,
.mx-home .miro-hero__browse {
    display: inline-flex;
    align-items: center;
    border-radius: 99px;
    font-weight: 800;
}

.mx-home .miro-hero__sell {
    min-height: 39px;
    padding: 0 14px;
    background: #d9f3f6;
    color: #12394a;
    font-size: .88rem;
}

.mx-home .miro-hero__sell:hover {
    background: #fff;
}

.mx-home .miro-hero__other {
    color: #bdd5dd;
    font-size: .88rem;
}

.mx-home .miro-hero__browse {
    min-height: 37px;
    padding: 0 12px;
    border: 1px solid rgba(136, 176, 189, .45);
    color: #e6f5f7;
    font-size: .86rem;
    font-weight: 670;
}

.mx-home .miro-hero__browse:hover {
    background: rgba(255, 255, 255, .12);
}

.mx-home .miro-hero a:focus-visible,
.mx-home .miro-hero button:focus-visible {
    outline: 3px solid #75cfff;
    outline-offset: 3px;
}

.mx-home .miro-hero__visual {
    position: relative;
    min-height: 400px;
    background: #18374a;
}

.mx-home .miro-hero__visual img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 850px) {
    .mx-home .miro-hero {
        grid-template-columns: minmax(0, 1fr);
        max-width: 620px;
        margin-inline: auto;
    }

    .mx-home .miro-hero__content {
        padding: 42px 34px 38px;
    }

    .mx-home .miro-hero__visual {
        min-height: 260px;
        max-height: 330px;
    }

    .mx-home .miro-hero__visual img {
        object-position: center 60%;
    }
}

@media (max-width: 520px) {
    .mx-home .miro-hero {
        border-radius: 17px;
    }

    .mx-home .miro-hero__content {
        padding: 34px 22px 31px;
    }

    .mx-home .miro-hero h1 {
        margin: 19px 0 16px;
        font-size: clamp(2.55rem, 11vw, 3.45rem);
    }

    .mx-home .miro-hero__lead {
        margin-bottom: 24px;
        font-size: 1rem;
    }

    .mx-home .miro-hero__search svg {
        margin-left: 9px;
    }

    .mx-home .miro-hero__search input {
        padding-inline: 8px;
        font-size: .94rem;
    }

    .mx-home .miro-hero__search button {
        padding-inline: 14px;
    }

    .mx-home .miro-hero__visual {
        min-height: 220px;
    }
}

/* Product suggestions for the homepage search, positioned outside the clipped hero. */
.mx-home-suggest {
    position: fixed;
    z-index: 10000;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #d5e3eb;
    border-radius: 14px;
    background: #fff;
    color: #173648;
    box-shadow: 0 18px 46px rgba(7, 28, 43, .22);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mx-home-suggest[hidden] { display: none !important; }

.mx-home-suggest__heading {
    margin: 4px 8px 7px;
    color: #5b7180;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.mx-home-suggest__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 9px;
    color: #173648;
    text-decoration: none;
}

.mx-home-suggest__option:hover,
.mx-home-suggest__option[aria-selected="true"],
.mx-home-suggest__option:focus-visible {
    background: #eaf5fa;
    outline: none;
}

.mx-home-suggest__image {
    display: grid;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    background: #eaf1f4;
    color: #406271;
    font-weight: 800;
}

.mx-home-suggest__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mx-home-suggest__copy { min-width: 0; }
.mx-home-suggest__copy strong,
.mx-home-suggest__copy small { display: block; }
.mx-home-suggest__copy strong {
    overflow: hidden;
    font-size: .91rem;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mx-home-suggest__copy small {
    margin-top: 3px;
    color: #587283;
    font-size: .79rem;
}

.mx-home-suggest__message {
    margin: 4px 8px;
    padding: 12px 4px;
    color: #526b79;
    font-size: .9rem;
}

.mx-home-suggest__all {
    display: block;
    margin-top: 5px;
    padding: 11px 12px;
    border-top: 1px solid #e3edf2;
    color: #0c5eb7;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
}

.mx-home-suggest__all:hover,
.mx-home-suggest__all:focus-visible { text-decoration: underline; }
