.product-photo img.cc-trim-studio { object-fit: contain; background: #fff; }
.cc-trim-slide img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.cc-trim-context { display: block; position: relative; width: 100%; overflow: hidden; background: #f5f3ef; }
#cc-catalog .product-photo .cc-trim-context { height: 100%; }
#cc-catalog .product-photo .cc-trim-context > img,
.cc-trim-slide .cc-trim-context > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-trim-profile-inset { display: block; position: absolute; top: clamp(8px, 3%, 16px); left: clamp(8px, 3%, 16px); width: clamp(70px, 34%, 148px); aspect-ratio: 1; overflow: hidden; border: 3px solid #fff; border-radius: 2px; background: #fff; box-shadow: 0 4px 14px rgb(12 35 49 / 18%); pointer-events: none; }
.cc-trim-slide .cc-trim-profile-inset { width: clamp(110px, 28%, 170px); }
#cc-catalog .product-photo .cc-trim-profile-inset img,
.cc-trim-slide .cc-trim-profile-inset img { display: block; width: 100%; height: 100%; max-width: none; aspect-ratio: 1; object-fit: contain; background: #fff; transform: none; }
.cc-trim-thumbnails button { display: block; width: 100%; padding: 0; margin: 0; border: 1px solid #dfe4e5; border-radius: 0; overflow: hidden; background: #fff; line-height: 0; height: auto; min-height: 0; }
.cc-trim-thumbnails button img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.cc-trim-thumbnails button:hover { border-color: #8c682f; }
.cc-trim-thumbnails button:focus-visible { outline: 2px solid #8c682f; outline-offset: 2px; }
.cc-trim-thumbnails .is-nav-selected button { border-color: #0b2f4b; }
.cc-trim-gallery-caption { margin: 4px 0 16px; color: #465d6d; font-size: 12px; line-height: 1.45; }
@media (max-width: 849px) {
  body.term-cork-stair-nosing #cc-catalog .cc-catalog-wide .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
