.mh-catalog {
    background: var(--mh-editorial-gray, #f5f5f7);
    padding-block: clamp(40px, 6vw, 84px);
}

.mh-catalog .wp-block-heading {
    margin-block: 0;
}

.mh-catalog :is(.mh-catalog-heading, .mh-catalog-grid, .mh-catalog-card) > .wp-block-group__inner-container {
    display: contents;
}

.mh-catalog .mh-catalog-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
}

.mh-catalog .mh-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    margin-block-start: 26px;
    gap: 18px;
}

.mh-catalog-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: clamp(22px, 3vw, 32px);
    border-radius: var(--mh-editorial-radius, 24px);
    background: var(--mh-white, white);
    box-shadow: var(--mh-editorial-shadow, 0 4px 22px #12202d12);
    scroll-margin-top: 20px;
}

.mh-catalog-card h3 {
    overflow-wrap: anywhere;
}

.mh-catalog-card p {
    margin-block: 0;
}

.mh-catalog-card .wp-block-buttons {
    margin-block-start: auto;
    padding-block-start: 6px;
}

.mh-catalog-card-visual {
    width: 100%;
    margin: 0;
}

.mh-catalog-card-visual img {
    display: block;
    width: 100%;
    height: clamp(154px, 21vw, 220px);
    object-fit: contain;
}

.mh-catalog-card-visual--lighten img {
    filter: brightness(1.04);
}

.mh-catalog-card-visual figcaption {
    margin-block-start: 4px;
    color: #4a5665;
    font-size: .73rem;
    text-align: center;
}

.mh-catalog-card-price strong {
    color: #0065cc;
}

@media (min-width: 660px) {
    .mh-catalog .mh-catalog-grid:has(#macbook-pro-proled-xdr) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .mh-catalog .mh-catalog-grid:has(#macbook-pro-proled-xdr) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mh-catalog .mh-catalog-grid :is(#macbook-neo, #macbook-air, #macbook-pro, #macbook-pro-proled-xdr) {
        grid-column: span 2;
    }
}

.mh-catalog .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--button);
    border-radius: 999px;
    background: var(--button);
    color: white;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: normal;
}

.mh-catalog .wp-block-button__link:hover {
    border-color: var(--accent-hover);
    background: var(--accent-hover);
    color: white;
}

.mh-product-detail {
    --product-ink: #1d1d1f;
    --product-muted: #424d5a;
    --product-blue: #0065cc;
    --product-line: #d9dfe6;
    --product-radius: 28px;
    background: #fff;
    color: var(--product-ink);
}
.mh-product-detail :is(h1, h2, h3) {
    overflow-wrap: anywhere;
}
.mh-product-detail .eyebrow {
    margin: 0 0 15px;
    color: var(--mh-editorial-brown, #8c4518);
    font-size: .79rem;
    letter-spacing: .13em;
}
.mh-product-detail .eyebrow::before {
    content: none;
}
.mh-product-hero {
    padding-block: clamp(24px, 4.2vw, 56px) clamp(44px, 6vw, 86px);
}
.mh-product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(22px, 3.8vw, 52px);
    font-size: .92rem;
    color: var(--product-muted);
}
.mh-product-breadcrumb a {
    color: var(--product-blue);
}
.mh-product-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
}
#main .mh-product-copy h1 {
    margin: 0 0 16px;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--product-ink);
    line-height: 1.04;
    font-size: clamp(2.55rem, 5.4vw, 5.35rem);
    letter-spacing: -.052em;
}
.mh-product-tagline {
    margin: 0 0 12px;
    color: var(--product-blue);
    font-size: clamp(1.35rem, 2.1vw, 1.9rem);
    font-weight: 650;
    line-height: 1.26;
}
.mh-product-lead {
    max-width: 52ch;
    color: var(--product-muted);
    font-size: clamp(1.06rem, 1.35vw, 1.23rem);
}
.mh-proled-showcase {
    --showcase-ink: #f5f5f7;
    --showcase-muted: #c3c5ca;
    scroll-margin-top: 140px;
    background: #141416;
    color: var(--showcase-ink);
}
.mh-showcase-intro {
    padding: clamp(34px, 6vw, 84px) 0 clamp(32px, 5vw, 64px);
    background: #000;
    text-align: center;
}
#main .mh-showcase-intro .eyebrow {
    color: #a8cdfb;
}
#main .mh-showcase-intro :is(.eyebrow, h2) {
    text-align: center;
}
#main .mh-showcase-intro h2 {
    margin-block: 0 12px;
    color: var(--showcase-ink);
    font-size: clamp(2.7rem, 7.5vw, 7rem);
    line-height: 1.04;
    letter-spacing: -.055em;
}
.mh-showcase-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}
.mh-showcase-hero-image {
    width: min(100%, 950px);
    margin-inline: auto;
}
.mh-showcase-intro-copy {
    max-width: 55ch;
    margin: 18px auto 0;
    color: var(--showcase-muted);
    font-size: clamp(1.06rem, 2vw, 1.4rem);
    text-wrap: balance;
}
.mh-showcase-content {
    padding-block: clamp(22px, 4.5vw, 62px) clamp(36px, 6vw, 84px);
}
.mh-showcase-grid,
.mh-showcase-triplet {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 2.2vw, 25px);
}
.mh-showcase-triplet {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mh-showcase-tile,
.mh-showcase-small {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: clamp(16px, 2.5vw, 29px);
    background: #000;
}
.mh-showcase-tile > img {
    margin-block-start: auto;
}
.mh-showcase-wide {
    grid-column: 1 / -1;
}
.mh-showcase-display {
    display: grid;
    grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
    align-items: center;
}
.mh-showcase-copy {
    padding: clamp(22px, 3.7vw, 48px);
    padding-block-end: clamp(16px, 2vw, 26px);
}
#main :is(.mh-proled-showcase, .mh-air-showcase) h3 {
    margin: 0;
    color: var(--showcase-ink);
    font-size: clamp(1.45rem, 2.75vw, 2.5rem);
    line-height: 1.15;
    text-wrap: balance;
}
.mh-air-showcase {
    --showcase-ink: #17324a;
    --showcase-muted: #425569;
    scroll-margin-top: 140px;
    background: #f5f5f7;
    color: var(--showcase-ink);
}
.mh-air-showcase .mh-showcase-intro {
    background: linear-gradient(160deg, #d5eaf5, #f5f9fb 88%);
}
#main .mh-air-showcase .mh-showcase-intro .eyebrow {
    color: #8c461c;
}
.mh-air-showcase .mh-showcase-hero-image {
    margin-block: clamp(24px, 4vw, 54px) 0;
}
.mh-air-showcase .mh-showcase-tile {
    background: #fff;
}
.mh-air-showcase .mh-showcase-display > img {
    margin-block-start: 0;
}
.mh-air-showcase .mh-air-chip {
    width: 62px;
    margin-block-end: 16px;
}
.mh-air-battery {
    justify-content: center;
    align-items: center;
    text-align: center;
}
.mh-air-battery > img {
    width: min(56%, 218px);
    margin: 0 0 clamp(24px, 4vw, 54px);
}
.mh-air-lifestyle > img {
    height: 100%;
    object-fit: cover;
}
.mh-showcase-copy p,
.mh-showcase-group p,
.mh-showcase-small small {
    color: var(--showcase-muted);
}
.mh-showcase-copy p,
.mh-showcase-group p {
    margin-block: 12px 0;
}
.mh-showcase-stats {
    display: grid;
    gap: 16px;
    margin-block: 22px 12px;
}
.mh-showcase-stats dt {
    color: var(--showcase-muted);
    font-size: .96rem;
}
.mh-showcase-stats dd {
    color: var(--showcase-ink);
    font-size: clamp(1.125rem, 2vw, 1.55rem);
    font-weight: 650;
}
.mh-showcase-chips {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 4vw, 52px);
    margin-block: auto 0;
    padding: 18px clamp(14px, 3.7vw, 48px) 30px;
}
.mh-showcase-chips figure {
    width: min(33%, 140px);
    margin: 0;
    text-align: center;
}
.mh-showcase-chips figcaption {
    margin-top: 8px;
    color: var(--showcase-muted);
}
.mh-showcase-app-icons {
    width: min(100%, 320px);
    margin-top: 16px;
}
.mh-showcase-group {
    margin-top: clamp(34px, 6vw, 76px);
}
.mh-showcase-group .mh-showcase-triplet {
    margin-top: 20px;
}
.mh-showcase-small img {
    aspect-ratio: 3 / 2;
    object-fit: contain;
}
.mh-showcase-small figcaption {
    margin-top: auto;
    padding: 14px clamp(16px, 2.4vw, 26px) 22px;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.35;
}
.mh-showcase-small small {
    display: inline-block;
    margin-top: 6px;
    font-size: .9rem;
    font-weight: 400;
}
@media (max-width: 620px) {
    .mh-showcase-grid,
    .mh-showcase-display,
    .mh-showcase-triplet {
        grid-template-columns: minmax(0, 1fr);
    }
}
.mh-product-detail .button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
}
.mh-product-visual {
    position: relative;
    margin: 0;
    border-radius: var(--product-radius);
    background: radial-gradient(ellipse at 65% 24%, white 14%, #f2f6fc 66%, #edf1f6);
    overflow: hidden;
}
.mh-product-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.mh-product-visual figcaption {
    position: absolute;
    right: 16px;
    bottom: 10px;
    color: #4a5665;
    font-size: .72rem;
}
.mh-product-gallery {
    min-width: 0;
    max-width: 575px;
    width: 100%;
}
.mh-product-gallery .mh-product-visual {
    background: #fff;
}
.mh-product-gallery-main {
    display: block;
}
.mh-product-gallery-main:focus-visible {
    outline-offset: -4px;
}
.mh-product-gallery-main img {
    display: block;
    height: clamp(235px, 36vw, 460px);
    object-fit: contain;
}
.mh-product-gallery-thumbs {
    display: flex;
    gap: clamp(5px, 1vw, 10px);
    list-style: none;
    overflow-x: auto;
    padding: 5px 5px 12px;
    margin: 10px 0 0;
    scroll-snap-type: x proximity;
}
.mh-product-gallery-thumbs li {
    flex: 0 0 clamp(54px, 7vw, 90px);
    scroll-snap-align: start;
}
.mh-product-gallery-thumbs a {
    display: block;
    padding: 2px;
    border: 2px solid var(--product-line);
    border-radius: 8px;
    background: #fff;
}
.mh-product-gallery-thumbs a:hover {
    background: var(--mh-editorial-gray, #f5f5f7);
}
.mh-product-gallery-thumbs a[aria-current="true"] {
    border-color: var(--product-blue);
}
.mh-product-gallery-thumbs img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.mh-product-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 28px);
}
.mh-product-highlight {
    display: grid;
    align-content: start;
    gap: clamp(16px, 2vw, 28px);
    min-width: 0;
    border-radius: var(--product-radius);
    padding: clamp(22px, 4vw, 52px);
    background: #fff;
}
.mh-product-highlight-wide {
    grid-column: 1 / -1;
}
.mh-product-highlight-wide.mh-product-highlight-illustrated {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: center;
}
.mh-product-highlight-copy h3 {
    margin: 0 0 .55em;
    font-size: clamp(1.35rem, 2.5vw, 2.05rem);
    line-height: 1.15;
    color: var(--product-ink);
    text-wrap: balance;
}
.mh-product-highlight-copy p {
    margin: 0;
    max-inline-size: 65ch;
    color: var(--product-muted);
}
.mh-product-highlight-image {
    display: block;
    inline-size: 100%;
    block-size: auto;
    max-block-size: clamp(210px, 32vw, 400px);
    object-fit: contain;
    border-radius: 12px;
}
@media (max-width: 680px) {
    .mh-product-highlights,
    .mh-product-highlight-wide.mh-product-highlight-illustrated {
        grid-template-columns: minmax(0, 1fr);
    }
}
#produkt-im-detail, #air-im-detail {
    scroll-margin-top: 140px;
}
.mh-product-band {
    padding: clamp(36px, 5.5vw, 78px) 0;
    background: var(--mh-editorial-gray, #f5f5f7);
}
.mh-product-detail h2 {
    color: var(--product-ink);
    margin-bottom: 22px;
    font-size: clamp(1.75rem, 3.05vw, 2.65rem);
}
.mh-product-technical {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 80px);
    padding-block: clamp(36px, 6vw, 86px);
}
.mh-product-technical--within {
    padding-block: 0;
    margin-block: clamp(18px, 2.5vw, 30px) clamp(28px, 5vw, 60px);
    gap: clamp(22px, 4vw, 48px);
}
.mh-product-technical--within .mh-product-prices li {
    background: #fff;
}
.mh-product-prices {
    list-style: none;
    display: grid;
    gap: 9px;
    padding: 0;
    margin: 0 0 14px;
}
.mh-product-prices li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 15px;
    min-width: 0;
    padding: 13px 16px;
    border-radius: 13px;
    background: #f3f6fa;
}
.mh-product-prices strong {
    color: var(--product-blue);
}
.mh-product-price-note {
    color: var(--product-muted);
    font-size: .88rem;
}
.mh-product-specs {
    margin: 10px 0;
}
.mh-product-specs > div {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
    gap: 7px 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--product-line);
}
.mh-product-config-band {
    padding-block: clamp(32px, 5vw, 70px);
    margin-bottom: clamp(30px, 5vw, 70px);
    scroll-margin-top: 130px;
    background: #f5f5f7;
}
.mh-product-config-block + .mh-product-config-block {
    margin-top: clamp(24px, 4vw, 52px);
}
.mh-product-config-block h3 {
    margin: 0 0 8px;
}
.mh-product-config-block > p {
    margin: 0 0 12px;
}
.mh-product-config-block .mh-product-scroll-hint {
    display: none;
    font-size: .84rem;
    color: var(--product-muted);
}
.mh-product-table-scroll {
    overflow-x: auto;
    border: 1px solid var(--product-line);
    border-radius: 16px;
    background: white;
}
.mh-product-table-scroll:focus-visible {
    outline: 3px solid var(--product-blue);
    outline-offset: 3px;
}
.mh-product-matrix {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border: 0;
    color: var(--product-ink);
    font-size: .94rem;
    line-height: 1.4;
}
.mh-product-matrix th,
.mh-product-matrix td {
    padding: 9px clamp(9px, 1.65vw, 21px);
    border: 0;
    border-bottom: 1px solid var(--product-line);
    text-align: start;
    vertical-align: top;
    overflow-wrap: anywhere;
}
.mh-product-matrix thead th {
    background: #eaf3ff;
    color: #0058b1;
}
.mh-product-matrix tbody th {
    width: 37%;
    font-weight: 600;
}
.mh-product-matrix-with-notes {
    /* Long selection lists must not take width away from the notes. */
    table-layout: fixed;
    min-width: 20rem;
}
.mh-product-matrix-with-notes thead th:first-child:not(.mh-product-matrix-note) {
    width: 27%;
    white-space: nowrap;
}
.mh-product-matrix-with-notes thead .mh-product-matrix-note {
    width: 24%;
    white-space: nowrap;
}
.mh-product-matrix-with-notes .mh-product-matrix-note {
    overflow-wrap: break-word;
}
.mh-product-matrix tbody tr:last-child > * {
    border-bottom: 0;
}
.mh-product-matrix tbody tr:nth-child(even):not(.mh-product-matrix-divider) {
    background: #f8f9fb;
}
.mh-product-matrix .mh-product-matrix-divider th {
    background: #eef0f4;
    color: var(--product-muted);
    font-size: .83rem;
    font-weight: 700;
}
.mh-product-config-rules {
    color: var(--product-muted);
    padding-inline-start: 1.3em;
    margin-block: 24px;
}
.mh-product-config-example {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 30px;
    margin-block: 24px;
    padding: clamp(16px, 3vw, 30px);
    border-radius: 16px;
    background: #eaf3ff;
}
.mh-product-config-example p {
    margin: 0;
}
.mh-product-config-example > strong {
    color: var(--product-blue);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.mh-product-config-example small {
    font-size: .76rem;
    font-weight: 500;
}
@media (max-width: 520px) {
    .mh-product-matrix {
        font-size: .88rem;
    }
    .mh-product-matrix-cols-4 {
        min-width: 33rem;
    }
    .mh-product-matrix-cols-5 {
        min-width: 42rem;
    }
    .mh-product-matrix-with-notes thead th:first-child:not(.mh-product-matrix-note) {
        width: 6.5rem;
    }
    .mh-product-matrix-with-notes thead .mh-product-matrix-note {
        width: 7rem;
    }
    .mh-product-config-block .mh-product-scroll-hint:not(.mh-product-scroll-hint-notes) {
        display: block;
    }
}
@media (max-width: 354px) {
    .mh-product-config-block .mh-product-scroll-hint-notes {
        display: block;
    }
}
.mh-product-detail dd {
    margin: 0;
    color: var(--product-muted);
}
.mh-product-specs dt {
    font-weight: 650;
}
.mh-product-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: var(--product-blue);
}
.mh-product-advice {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px 36px;
    margin-bottom: clamp(24px, 3vw, 40px);
    padding: clamp(20px, 4vw, 50px);
    border-radius: var(--product-radius);
    background: var(--mh-action-wash, #eaf4ff);
}
.mh-product-advice > div {
    flex: 1 1 23rem;
    min-width: 0;
}
.mh-product-advice h2 {
    margin-bottom: 8px;
}
.mh-product-advice p:last-child {
    margin-bottom: 0;
    max-width: 60ch;
    color: var(--product-muted);
}
.mh-product-footer {
    padding-bottom: clamp(24px, 4vw, 48px);
    color: #545961;
    font-size: .875rem;
    line-height: 1.55;
}
.mh-product-footer p {
    margin: 0;
}
@media (max-width: 830px) {
    .mh-product-hero-grid,
    .mh-product-technical {
        grid-template-columns: 1fr;
    }
    .mh-product-visual {
        max-width: 575px;
        width: 100%;
    }
}
@media (max-width: 650px) {
    .mh-product-features {
        grid-template-columns: 1fr;
    }
    .mh-product-specs > div {
        grid-template-columns: 1fr;
    }
}
