/* 1R ReStart Favorites: server-rendered layout; no DOM insertion. */
.header-favorites{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:32px;min-height:36px;color:inherit;text-decoration:none;}
.header-favorites:hover{color:var(--r1-hover);text-decoration:none;}
.header-favorites .r1-header-action-icon{display:block;width:24px;height:24px;stroke:currentColor;fill:none;}
.r1-favorites-count{position:absolute;top:-4px;right:-7px;min-width:17px;height:17px;box-sizing:border-box;padding:0 3px;border-radius:9px;background:var(--r1-primary);color:#fff;font:600 10px/17px var(--r1-font);text-align:center;pointer-events:none;}
.r1-favorites-count[hidden]{display:none!important;}
.woocommerce ul.products li.product,.r1-reactor-products li.product{position:relative;}
.r1-favorite-action{margin:0;display:inline-flex;align-items:center;justify-content:center;}
.r1-favorite-action--loop{position:absolute;right:10px;top:10px;z-index:5;}
.r1-favorite-action--reactor{position:absolute;right:10px;top:10px;z-index:5;}
/* A fixed server-rendered overlay OUTSIDE the moving FlexSlider track.
   The slider transforms and clips its wrapper, so putting the heart inside
   woocommerce_product_thumbnails makes it disappear despite high z-index. */
body.single-product div.product>.r1-product-media{position:relative;min-width:0;}
body.single-product div.product>.r1-product-media>.woocommerce-product-gallery{position:relative;width:100%;max-width:100%;margin:0;}
body.single-product div.product>.r1-product-media>.r1-favorite-action--single{position:absolute;z-index:120;top:16px;right:16px;bottom:auto;left:auto;margin:0;}
/* Do not cover the native WooCommerce zoom button. */
body.single-product div.product>.r1-product-media .woocommerce-product-gallery__trigger{top:16px;right:64px;}
.r1-favorite-action .r1-favorite-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:5px;border:0;border-radius:0;background:transparent;box-shadow:none;outline-offset:2px;color:var(--r1-text);cursor:pointer;box-sizing:border-box;appearance:none;transition:color .15s ease;}
.r1-favorite-action .r1-favorite-button:hover,.r1-favorite-action .r1-favorite-button:focus-visible{color:var(--r1-primary);border:0;background:transparent;box-shadow:none;}
.r1-favorite-button .r1-favorite-svg{width:23px;height:23px;stroke:currentColor;fill:none;}
.r1-favorite-action.is-active .r1-favorite-button{color:var(--r1-primary);}
.r1-favorite-action.is-active .r1-favorite-svg{fill:currentColor;}
/* Keep the standard pointer while the fetch request is in flight; the
   disabled state already prevents repeated submissions. No busy cursor. */
.r1-favorite-action .r1-favorite-button:disabled{opacity:1;cursor:pointer;animation:none;background-image:none;}
.r1-favorites-page{width:100%;min-width:0;}
.r1-favorites-page ul.products{margin:0 0 26px;}
.r1-favorites-empty{text-align:center;padding:40px 20px;}
.r1-favorites-pagination{display:flex;justify-content:center;gap:10px;}
.r1-favorites-page .r1-button{display:inline-flex;padding:10px 18px;background:var(--r1-primary);color:#fff;border-radius:var(--r1-button-radius);text-decoration:none;}

/* Buttons live above imagery, not inside the cart-action bar. */
.reactor-product-slider .r1-favorite-action--loop,.reactor-product-slider .r1-favorite-action--reactor{position:absolute;right:10px;top:10px;z-index:12;}
@media(max-width:480px){.r1-favorite-action--loop,.r1-favorite-action--reactor{right:6px;top:6px}body.single-product div.product>.r1-product-media>.r1-favorite-action--single{top:10px;right:10px}body.single-product div.product>.r1-product-media .woocommerce-product-gallery__trigger{top:10px;right:58px}}
