/* Formal home 2:146 / catalog: compact price + name + original thumbnails. */
.compact-product{min-width:0}.compact-product .card-caption{display:grid;grid-template-columns:minmax(0,185fr) minmax(0,267fr);gap:12px;padding-top:12px}
.compact-product .card-caption :is(h2,p){font-size:13px;line-height:20px;font-weight:400;margin:0}.compact-product .card-identity{min-width:0;display:flex;flex-direction:column;gap:8px}
.compact-product .card-colors{display:flex;gap:8px;align-items:center}.compact-product .card-colors button{border:0;background:transparent;padding:0;width:40px;height:53.333px;flex:none}.compact-product .card-colors img{width:100%;height:100%;object-fit:contain}
.compact-product .card-colors button:focus-visible{outline:1px solid #111}.compact-product .product-image{width:100%;aspect-ratio:3/4;object-fit:contain}
body[data-page=products] .product-grid{gap:48px 12px}body[data-page=products] :is(.section,.page-heading){padding-left:12px;padding-right:12px}body[data-page=products] .project-cta{display:none}
@media(max-width:800px){.compact-product .card-caption{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}.compact-product .card-caption :is(h2,p){font-size:12px;line-height:20px}}

/* Home/catalog/detail mobile roles agree on editable name/price sizes. */
@media(min-width:801px){.compact-product .card-caption :is(h2,p){font-size:12px}}

/* The same portrait thumbnail ratio on home, catalogue and recommendations. */
@media(max-width:800px){
 :is(.home-products,.catalog-page,.formal-related-products) .compact-product .card-colors button{width:40px;height:53.333333px;aspect-ratio:3/4}
 :is(.home-products,.catalog-page,.formal-related-products) .compact-product .card-colors img{width:100%;height:100%;object-fit:contain}
}

/* Color thumbnails retain their portrait frame and undistorted product geometry. */
.compact-product .card-colors img[src*="product-presentation/"]{transform:scale(2);clip-path:inset(25%)}

/* Desktop main media uses the same original presentation image as the catalogue.
   Colour thumbnails and the accepted mobile native rendering remain unchanged. */
@media(min-width:768px){.formal-related-products .compact-product .product-image[src*="product-presentation/"]{transform:none;clip-path:none}}

/* Stone tool thumbnail body matches the wood tool width; frame stays unchanged. */
.formal-related-products .compact-product img[src*="product-presentation/2-69-img6.webp"]{transform:scale(1.2);clip-path:inset(8.333333%)}

/* Confine enlarged recommendation media to its existing linked frame.
   Captions and link focus outlines remain outside the media crop. */
.formal-related-products .compact-product .card-main{overflow:hidden}

/* Mobile product core is a native image at original sampling resolution.
   The existing placeholder reserves the accepted 3:4 frame; desktop is untouched. */
.native-product-card{display:none}
@media(min-width:320px) and (max-width:767px){
 :is(.home-products,.catalog-page,.formal-related-products) .card-main{position:relative;overflow:hidden}
 :is(.home-products,.catalog-page,.formal-related-products) .native-product-placeholder>.product-image{opacity:1}
 :is(.home-products,.catalog-page,.formal-related-products) .native-product-card{display:block;position:absolute;inset:0;overflow:hidden;pointer-events:none;--native-d:15%;background:#f0f0f0 url('product-wall.webp') center/cover no-repeat}
 .formal-related-products .native-product-card{background-size:200% 200%}
 .native-product-card>img{position:absolute;display:block;max-width:none;width:calc(var(--native-d)*var(--native-width));height:calc(var(--native-d)*var(--native-height)*.75);left:calc(50% - var(--native-d)*var(--native-x));top:calc(50% - var(--native-d)*var(--native-y)*.75);transform:none;filter:none;object-fit:fill}
}

@media(min-width:320px) and (max-width:767px){:is(.home-products,.catalog-page,.formal-related-products) .native-product-card{background:none}.native-product-card>img{clip-path:none}}

@media(min-width:768px){.native-hero-layer{display:none!important}.native-replaced-base{mask-image:none!important}}
