/* A 2:3 portrait and its side column form one wider panel. Never apply the
   portrait's ratio to both columns or stretch its pixels to fill that panel. */
.catalog-product .product-photo:has(.pcho-full-frame-v59),
#product-dialog .detail-image:has(.pcho-full-frame-v59){
  height:auto!important;
  min-height:0;
  aspect-ratio:2/3!important;
  padding:0!important;
}
.catalog-product .product-photo:has(.pcho-full-frame-v59.has-side),
#product-dialog .detail-image:has(.pcho-full-frame-v59.has-side){
  /* Main column = 1.9 / 2.9 of the full panel width. */
  aspect-ratio:58/57!important;
}
.clothing-panel-v40.pcho-full-frame-v59{
  padding:0;
  gap:0;
  background:transparent;
}
.pcho-full-frame-v59 .clothing-main-concept-v40>img{
  object-fit:contain!important;
  display:block;
}
/* Keep the established studio surface behind genuine side details only. */
.pcho-full-frame-v59>.clothing-side-v40{
  background:radial-gradient(ellipse at 35% 64%,#536175 0%,#344357 35%,#1b2737 80%);
  padding:12px;
}
/* Disposable concepts already contain their background. Remove the second
   surrounding background and size the frame to the complete 667 x 1000 image. */
.catalog-product .product-photo:has(.disposable-studio-v47[data-clothing-main-kind="concept"]),
#product-dialog .detail-image:has(.disposable-studio-v47[data-clothing-main-kind="concept"]){
  height:auto!important;
  min-height:0;
  aspect-ratio:667/1000!important;
  padding:0!important;
}
.clothing-panel-v40.disposable-studio-v47[data-clothing-main-kind="concept"]{
  padding:0;
  gap:0;
  background:transparent;
}
@media(max-width:600px){
  .catalog-product .product-photo:has(.pcho-full-frame-v59.has-side),
  #product-dialog .detail-image:has(.pcho-full-frame-v59.has-side){
    /* Main column = 1.65 / 2.65 of the full panel width. */
    aspect-ratio:106/99!important;
  }
  .pcho-full-frame-v59>.clothing-side-v40{padding:8px;}
}
