/* Measured contact shadows follow the actual PNG tyre/stand baseline. */
.grounded-product{position:relative;isolation:isolate;overflow:visible}
.grounded-product:after{content:"";position:absolute;pointer-events:none;z-index:0;left:var(--ground-x,50%);top:var(--ground-y,88%);width:var(--ground-width,65%);height:var(--ground-height,12px);transform:translate(-50%,-30%);border-radius:50%;background:radial-gradient(ellipse at center,#071e3855 0%,#071e382c 35%,#071e3810 60%,transparent 75%);filter:blur(2px)}
.grounded-product>img,.grounded-product .product-image{position:relative;z-index:1}
.grounded-product .enlarge-label{z-index:2}
.product-card .product-image,.page-index .product-card .product-image{filter:drop-shadow(0 4px 3px #061b301c)!important}
.product-stage.grounded-product img,.mini-model.grounded-product>img,.image-swatches .grounded-product img{filter:drop-shadow(0 4px 3px #061b301c)}
.product-detail .image-swatches .swatch img{object-fit:contain;width:100%;height:112px;max-height:112px}
.product-detail .image-swatches .swatch{min-height:152px}
@media(max-width:580px){.grounded-product:after{filter:blur(1.5px)}}

.gallery-grid .grounded-product>img{filter:drop-shadow(0 4px 3px #061b301c)}

.gallery-grid .grounded-product>img{object-fit:contain}

.page-index #featured-models .swatches{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:10px 0 16px;min-height:38px}.page-index #featured-models .swatch{width:26px;height:26px}.page-index #featured-models .swatches .tag{margin-left:auto;font-size:11px}

.product-detail[data-product="ray"] .product-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.product-detail[data-product="ray"] .product-thumb{min-width:0}.product-detail[data-product="ray"] .product-thumb img{object-fit:contain;width:100%;height:100%}@media(max-width:760px){.product-detail[data-product="ray"] .product-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}}

[data-product="g123"] .product-thumbs{display:grid;gap:10px;grid-template-columns:repeat(5,minmax(0,1fr))}
[data-product="g123"] .product-thumb{min-width:0}[data-product="g123"] .product-thumb img{object-fit:contain;width:100%;height:100%}
@media(max-width:760px){[data-product="g123"] .product-thumbs{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}}

[data-product="z50"] .product-thumbs{display:grid;gap:10px;grid-template-columns:repeat(5,minmax(0,1fr))}
[data-product="z50"] .product-thumb{min-width:0}[data-product="z50"] .product-thumb img{object-fit:contain;width:100%;height:100%}
@media(max-width:760px){[data-product="z50"] .product-thumbs{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}}

[data-product="zen"] .product-thumbs{display:grid;gap:10px;grid-template-columns:repeat(5,minmax(0,1fr))}
[data-product="zen"] .product-thumb{min-width:0}[data-product="zen"] .product-thumb img{object-fit:contain;width:100%;height:100%}
@media(max-width:760px){[data-product="zen"] .product-thumbs{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Decorative contacts must never inherit gallery captions or colour-name styles. */
.grounded-product>.tyre-contact{position:absolute;display:block;left:var(--tyre-x);top:var(--tyre-y);right:auto;bottom:auto;width:var(--tyre-width);height:var(--tyre-height,9px);min-width:0;min-height:0;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:50%;font-size:0;line-height:0;font-style:normal;color:transparent;pointer-events:none;z-index:0;transform:translate(-50%,-20%);background:radial-gradient(ellipse,#06172770 0%,#071e3835 38%,#071e380c 65%,transparent 76%);filter:blur(1.3px)}
.grounded-product>.tyre-contact[hidden]{display:none!important}
