/* Only Advanced Matcha artwork: retain the shared product-page layout and controls. */
#mx-reference-product[data-product-family="advanced-matcha"] .mxd-media-block {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    aspect-ratio: auto;
    overflow: hidden;
}
#mx-reference-product[data-product-family="advanced-matcha"] .mxd-media-block .mxd-editorial-image {
    display: block;
    width: 100%;
    aspect-ratio: auto;
}
#mx-reference-product[data-product-family="advanced-matcha"] .mxd-media-block img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
#mx-reference-product[data-product-family="advanced-matcha"] .mxp-feature-tile[data-media-artwork] {
    aspect-ratio: 3 / 4;
    min-height: 0;
    padding: 0;
    /* The card faces provide clipping; the outer button must retain 3D painting. */
    overflow: visible;
}
#mx-reference-product[data-product-family="advanced-matcha"] .mxp-feature-tile[data-media-artwork] .mxd-feature-photo {
    object-fit: contain;
    object-position: center;
}
#mx-reference-product[data-product-family="advanced-matcha"] .mxpc-front {
    background: #090b10;
    transform: rotateY(0deg) translateZ(1px);
}
#mx-reference-product[data-product-family="advanced-matcha"] .mxp-feature-tile[data-media-artwork] .mxpc-front-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
#mx-reference-product[data-product-family="advanced-matcha"] .mxp-feature-tile[data-media-artwork]:focus-visible {
    outline: 3px solid #346dae;
    outline-offset: 3px;
}
/* Keep the approved image-left / heading-right lifestyle layout on desktop.
   The shared stylesheet places the heading above the image on mobile. */
#mx-reference-product[data-product-family="advanced-matcha"] .mxp-lifestyle {
    max-width: none;
}
#mx-reference-product[data-product-family="advanced-matcha"] .mxp-lifestyle > .mxp-feature-heading {
    display: block;
    min-width: 0;
}



