.aaa-inline-model{width:100%;margin:0 0 12px}.aaa-model-switch{display:flex;justify-content:center;gap:8px;margin-bottom:10px}.aaa-model-switch button{font-family:inherit;font-size:13px;line-height:1.4;border:0;border-radius:18px;padding:8px 15px;background:transparent;color:#777;cursor:pointer}.aaa-model-switch button[aria-pressed=true]{color:#b6222c;background:#f3f3f3}.aaa-model-switch button:focus-visible{outline:2px solid #b6222c;outline-offset:2px}.aaa-inline-model iframe{display:block;border:0;width:100%;height:520px;max-height:72vh;background:transparent}.aaa-inline-model iframe[hidden]{display:none}.aaa-model-active .product-card__image{display:none!important}@media(max-width:767px){.aaa-inline-model iframe{height:430px;max-height:66vh;}}

/* Thumbnails stay beside the single shared photo/3D area. */
.product-card .aaa-model-gallery{display:grid!important;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto 420px;align-items:start;column-gap:12px;row-gap:8px;}
.aaa-model-gallery .aaa-inline-model{display:contents;}
.aaa-model-gallery .aaa-model-switch{grid-column:1/-1;grid-row:1;margin:0;}
.aaa-model-gallery .aaa-inline-model iframe{grid-column:2;grid-row:2;width:100%;height:420px!important;max-height:none!important;min-width:0;}
.aaa-model-gallery .product-card__image{grid-column:2;grid-row:2;position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:420px!important;margin:0!important;padding:0!important;}
.aaa-model-gallery .product-card__image .catalog-detail-images{display:flex;align-items:center;justify-content:center;width:100%;height:100%;}
.aaa-model-gallery .catalog-detail-images>img{position:static!important;max-height:100%!important;max-width:100%!important;width:auto!important;height:auto!important;object-fit:contain;}
.aaa-model-gallery .items__carousel{grid-column:1;grid-row:2;position:static!important;left:auto!important;top:auto!important;width:64px!important;height:auto!important;max-height:420px;overflow-y:auto;margin:0!important;padding:0!important;display:flex!important;flex-direction:column;gap:10px;}
.aaa-model-gallery .items__carousel>div{width:100%!important;min-height:80px;flex:0 0 80px;margin:0!important;padding:0!important;}
.aaa-model-gallery .items__carousel .img-gallery{display:flex!important;align-items:center;justify-content:center;width:100%!important;height:80px!important;margin:0!important;padding:4px!important;}
.aaa-model-gallery .items__carousel img{position:static!important;width:auto!important;height:auto!important;max-width:52px!important;max-height:72px!important;object-fit:contain;margin:0!important;}
@media(max-width:767px){.product-card .aaa-model-gallery{grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto 360px;gap:8px;}.aaa-model-gallery .items__carousel{width:48px!important;max-height:360px;}.aaa-model-gallery .product-card__image,.aaa-model-gallery .aaa-inline-model iframe{height:360px!important;}.aaa-model-gallery .items__carousel img{max-width:40px!important;}}
