/* Wishlist v188: the entire Wishlist tab scrolls so every card's identity stays visible on every screen size. */
#wishlistModal.wishlist-new .wishlist-new-shell{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin!important;
  scrollbar-color:#c3c7b9 transparent!important;
}
#wishlistModal.wishlist-new .wishlist-grid{
  flex:0 0 auto!important;
  align-content:start!important;
  min-height:0!important;
  overflow:visible!important;
  padding-bottom:30px!important;
}
#wishlistModal.wishlist-new .wish-card{
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
#wishlistModal.wishlist-new .wish-card-open{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
#wishlistModal.wishlist-new .wish-card-open .photo{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1.24 / 1!important;
  flex:none!important;
}
#wishlistModal.wishlist-new .wish-card-meta{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
#wishlistModal.wishlist-new .wish-card-meta .brand,
#wishlistModal.wishlist-new .wish-card-meta h4,
#wishlistModal.wishlist-new .wish-card-meta>b{
  visibility:visible!important;
  opacity:1!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
#wishlistModal.wishlist-new .wish-card-meta .brand{
  line-height:1.3!important;
}
#wishlistModal.wishlist-new .wish-card-meta h4{
  min-height:0!important;
  height:auto!important;
  line-height:1.25!important;
}
@media(max-width:760px){
  #wishlistModal.wishlist-new .wishlist-grid{
    flex:none!important;
    overflow:visible!important;
    padding-bottom:24px!important;
  }
  #wishlistModal.wishlist-new .wish-card-open .photo{aspect-ratio:1.24 / 1!important}
}
@media(max-width:380px){
  #wishlistModal.wishlist-new .wishlist-grid{padding-bottom:20px!important}
  #wishlistModal.wishlist-new .wish-card-open .photo{aspect-ratio:1.28 / 1!important}
}


/* Wishlist v189: prevent cards from sharing/overlapping grid rows at any viewport. */
#wishlistModal.wishlist-new .wishlist-grid{
  grid-auto-flow:row!important;
  grid-auto-rows:max-content!important;
  align-items:start!important;
  justify-items:stretch!important;
}
#wishlistModal.wishlist-new .wish-card{
  box-sizing:border-box!important;
  width:100%!important;
  height:max-content!important;
  min-height:0!important;
  align-self:start!important;
}
#wishlistModal.wishlist-new .wish-card-open{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  box-sizing:border-box!important;
  height:max-content!important;
  min-height:0!important;
}
#wishlistModal.wishlist-new .wish-card-open .photo{
  flex:0 0 auto!important;
}
#wishlistModal.wishlist-new .wish-card-meta{
  flex:0 0 auto!important;
  box-sizing:border-box!important;
}


/* v193 PHOTO-ONLY FIX: View Product uses the same full-frame photo treatment as Home product cards. */
#productModal .product-detail .detail-photo{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1/1!important;
  overflow:hidden!important;
  position:relative!important;
  padding:0!important;
  background:#f5f5f7!important;
  border:0!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
#productModal .product-detail .detail-photo:after{
  display:none!important;
}
#productModal .product-detail .detail-photo > .shoe-gallery,
#productModal .product-detail .detail-photo .shoe-gallery-track,
#productModal .product-detail .detail-photo .shoe-gallery-slide{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  box-sizing:border-box!important;
}
#productModal .product-detail .detail-photo > .shoe-gallery{
  position:absolute!important;
  inset:0!important;
}
#productModal .product-detail .detail-photo .shoe-gallery-slide{
  flex:0 0 100%!important;
}
#productModal .product-detail .detail-photo .shoe-gallery .shoe-gallery-slide>img{
  display:block!important;
  position:static!important;
  inset:auto!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  object-position:center!important;
  transform:none!important;
  clip-path:none!important;
  transition:none!important;
  will-change:auto!important;
}
#productModal .product-detail .detail-photo:hover .shoe-gallery-slide>img{
  transform:none!important;
}

/* v193 ONE-COLUMN ONLY: View Product stays one column at every screen size. */
#productModal .product-detail{
  grid-template-columns:1fr!important;
}
