/* Scoped artwork frames only; favorite handlers, prices and rail motion stay native. */
html[data-bk-theme] :is(.bk-home-v200, .bk-fav-page) {
  --bk-image-polish-surface:#0a1729;
}
html[data-bk-theme="light"] :is(.bk-home-v200, .bk-fav-page) {
  --bk-image-polish-surface:#eef2f6;
}

/* Wide catalog scenes keep their full composition in favorite chips. */
html[data-bk-theme] .bk-home-v200 .bk-favorite-chip > picture.bk-responsive-image {
  display:block;
  flex:0 0 64px;
  width:64px;
  height:36px;
  min-width:0;
  overflow:hidden;
  border-radius:8px;
  background:var(--bk-image-polish-surface);
}
html[data-bk-theme] .bk-home-v200 .bk-favorite-chip > picture.bk-responsive-image > img,
html[data-bk-theme] .bk-home-v200 .bk-favorite-chip > img {
  display:block;
  width:64px;
  height:36px;
  min-width:0;
  max-width:100%;
  flex:0 0 64px;
  object-fit:contain;
  object-position:center;
  border-radius:8px;
  background:var(--bk-image-polish-surface);
}
html[data-bk-theme] .bk-home-v200 .bk-favorite-chip > picture.bk-responsive-image > img {
  width:100%;
  height:100%;
  flex:none;
  border-radius:inherit;
}

/* Account favorites: natural wide artwork, with the same surface in both layouts. */
html[data-bk-theme] .bk-fav-page.bk-catalog-v202 .bk-fav-card .bk-fav-img {
  min-width:0;
  overflow:hidden;
  border-radius:12px;
  background:var(--bk-image-polish-surface)!important;
  padding:0;
  height:auto;
  aspect-ratio:16 / 9;
}
html[data-bk-theme] .bk-fav-page.bk-catalog-v202:not([data-catalog-view="list"]) .bk-fav-card .bk-fav-img {
  width:calc(100% - 24px);
  margin:12px 12px 0;
}
html[data-bk-theme] .bk-fav-page.bk-catalog-v202 .bk-fav-card .bk-fav-img > img {
  display:block;
  width:100%;
  height:100%;
  min-width:0;
  max-width:100%;
  max-height:none;
  object-fit:contain;
  object-position:center;
  border-radius:inherit;
}

/* The artwork has 10 px margins inside a 224 px card; 100% width overflowed right. */
html[data-bk-theme] .bk-home-v200 .bk-product-card > .bk-product-visual {
  box-sizing:border-box!important;
  flex:none;
  align-self:stretch;
  width:calc(100% - 20px)!important;
  max-width:calc(100% - 20px)!important;
  min-width:0!important;
  height:auto!important;
  aspect-ratio:16 / 9!important;
  margin:0 10px;
  overflow:hidden;
  border-radius:10px;
  background:var(--bk-image-polish-surface)!important;
}
html[data-bk-theme] .bk-home-v200 .bk-product-card > .bk-product-visual > picture.bk-responsive-image {
  display:block;
  width:100%;
  height:100%;
  min-width:0;
  overflow:hidden;
  border-radius:inherit;
}
html[data-bk-theme] .bk-home-v200 .bk-product-card > .bk-product-visual img {
  display:block;
  box-sizing:border-box;
  width:100%;
  height:100%;
  min-width:0;
  max-width:100%;
  object-fit:contain;
  object-position:center;
  border-radius:inherit!important;
  transform:none!important;
}
