/* Keep the existing WoodMart wishlist behavior; only restyle image-overlay controls. */
:is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish){
 position:absolute!important;inset:10px 10px auto auto!important;z-index:6;
 opacity:1!important;visibility:visible!important;transform:none!important;
 width:44px;height:44px;margin:0!important;
}
:is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a{
 display:flex!important;align-items:center;justify-content:center;
 width:44px!important;height:44px!important;min-width:44px;padding:0!important;margin:0;
 border:1px solid #ded6c8!important;border-radius:50%!important;
 background:#fff!important;color:#365f5c!important;
 box-shadow:0 2px 8px #0000001f!important;line-height:1;
 transition:background-color .16s ease,color .16s ease,border-color .16s ease;
}
:is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a:hover{
 background:#eef3f1!important;border-color:#365f5c!important;
}
:is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a:focus-visible{
 outline:2px solid #193c39;outline-offset:3px;
}
:is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a.added{
 color:#fff!important;background:#365f5c!important;border-color:#365f5c!important;
}
:is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) .wd-action-icon{
 display:grid!important;place-items:center;position:relative;width:24px!important;height:24px!important;
}
:is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) .wd-action-icon::before{
 content:""!important;display:block!important;width:24px!important;height:24px!important;
 position:static;transform:none!important;opacity:1!important;color:inherit!important;background:currentColor;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
:is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a.added .wd-action-icon::before{
 -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E");
 mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E");
}
:is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) .wd-check-icon{
 display:grid!important;place-items:center;position:absolute!important;
 inset:-8px -10px auto auto!important;width:16px!important;height:16px!important;
 border:1px solid #365f5c;border-radius:50%;background:#fff!important;box-sizing:border-box;
 box-shadow:0 1px 3px #0002;visibility:visible!important;opacity:0!important;
 transform:scale(.35);transform-origin:center;pointer-events:none;
 transition:opacity .18s ease,transform .18s ease;
}
:is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) .wd-check-icon::before{
 content:""!important;display:block!important;position:static!important;
 width:9px!important;height:9px!important;transform:none!important;background:#365f5c!important;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6 2.5 2.5L10 3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 6 2.5 2.5L10 3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
:is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a.added .wd-check-icon{
 opacity:1!important;transform:scale(1);animation:sv-wishlist-check-pop .42s ease-out both;
}
@keyframes sv-wishlist-check-pop{0%{transform:scale(.35)}65%{transform:scale(1.16)}100%{transform:scale(1)}}
@media(max-width:767px){
 /* 36px visible circle within the unchanged 44px hit area. */
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish){inset:6px 6px auto auto!important}
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a,
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a:hover,
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a.added{
  position:relative;background:transparent!important;border:0!important;box-shadow:none!important;
 }
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a::before{
  content:""!important;display:block!important;position:absolute!important;inset:4px!important;z-index:0;
  width:36px!important;height:36px!important;box-sizing:border-box;border:1px solid #ded6c8!important;
  -webkit-mask:none!important;mask:none!important;transform:none!important;
  border-radius:50%!important;background:#fff!important;box-shadow:0 2px 6px #0000001f;pointer-events:none;
  transition:background-color .16s ease,border-color .16s ease;
 }
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a:hover::before{background:#eef3f1!important;border-color:#365f5c!important}
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a.added::before{background:#365f5c!important;border-color:#365f5c!important}
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) .wd-action-icon,
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) .wd-action-icon::before{width:20px!important;height:20px!important;z-index:1}
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) .wd-check-icon{inset:-7px -8px auto auto!important;width:14px!important;height:14px!important}
}
@media(prefers-reduced-motion:reduce){
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a,
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a::before,
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) .wd-check-icon{transition:none}
 :is(.wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn, .cwt-actions > .cwt-wish) > a.added .wd-check-icon{animation:none}
}
/* The editorial homepage cards already position the surrounding action column. */
.cwt-card .cwt-actions > .cwt-wish{position:relative!important;inset:auto!important}
.cwt-card .cwt-actions{top:10px;right:10px}
@media(max-width:767px){.cwt-card .cwt-actions{top:6px;right:6px}}
/* Banner popups reuse a loop-product thumbnail, but their heart belongs beside
   Add to Cart. Keep it out of the close-button corner and remove the old square. */
.cw-real-card .wd-loop-prod-thumb > .wd-wishlist-btn.wd-loop-prod-btn{
 inset:auto 14px 14px auto!important;
 width:44px!important;height:44px!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
}
.cw-real-card .cw-size-form .single_add_to_cart_button{min-height:44px!important}
/* The popup supplies its own photo; the loop card's hover image must stay hidden. */
.cw-real-card .cw-live-product .wd-product-img-hover{display:none!important}
