/* Existing wishlist functionality, styled for GM Shops rather than Kalium. */
.gm-wishlist-enabled ul.products li.product{position:relative}
.gm-wishlist-enabled ul.products li.product .price{padding-bottom:0;padding-right:48px}
.gm-wishlist-enabled ul.products li.product .gm-card-savings{padding-right:48px}
.gm-wishlist-enabled ul.products li.product .wishlist-button-loop{position:absolute;inset:auto 0 0 auto;z-index:2}
.gm-wishlist-enabled ul.products li.product button.gm-wishlist-inline-button{position:static!important;inset:auto!important;transform:none!important;display:flex!important;align-items:center;justify-content:center;width:32px!important;min-width:32px!important;height:32px!important;padding:0!important;line-height:1!important;font:24px/1 Arial,sans-serif;color:var(--gm-accent,#ff4f40)!important;-webkit-text-fill-color:currentColor;background:#fff!important;border:1px solid #e8c4c0!important;border-radius:50%!important;box-shadow:none!important}
.gm-wishlist-enabled ul.products li.product button.gm-wishlist-inline-button::after{display:none}
.gm-wishlist-enabled ul.products li.product button.gm-wishlist-inline-button.active{background:#fff0ee!important;border-color:var(--gm-accent,#ff4f40)!important;opacity:1!important}
.gm-wishlist-enabled button.gm-wishlist-inline-button:focus-visible{outline:2px solid #555;outline-offset:3px}
.gm-wishlist-enabled.single-product button.gm-wishlist-inline-button.wishlist-inline-single{flex:0 0 50px;min-width:50px;width:50px;height:50px!important;padding:0!important;border-radius:3px!important;border-color:var(--gm-accent,#ff4f40)!important}
.gm-wishlist-enabled.single-product .woocommerce-variation-add-to-cart{gap:8px}
.gm-wishlist-enabled .wishlist-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px;margin:28px 0 40px}
.gm-wishlist-enabled .wishlist-grid .wishlist-item{max-width:none;min-width:0;width:auto;margin:0;padding:16px;border:1px solid #e9e9e6;border-radius:3px;text-align:left;box-shadow:none}
.gm-wishlist-enabled .wishlist-item img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fafaf8}
.gm-wishlist-enabled .wishlist-item h3{font-size:19px;font-weight:400;line-height:1.35;margin:14px 0 10px}
.gm-wishlist-enabled .wishlist-price{font-size:17px;font-weight:500;line-height:1.4;margin:0 0 14px}
.gm-wishlist-enabled .wishlist-price ins{text-decoration:none}
.gm-wishlist-enabled .wishlist-price del{font-size:.85em;color:#999;font-weight:400}
.gm-wishlist-enabled .wishlist-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.gm-wishlist-enabled .wishlist-view-link,.gm-wishlist-enabled .view-product{display:inline-block;font-size:15px;margin:0 10px 10px 0;color:#444;text-underline-offset:3px}
.gm-wishlist-enabled .wishlist-item .remove-from-wishlist{font:inherit;font-size:15px;background:#fff;color:#555;border:1px solid #ddd;border-radius:3px;padding:8px 12px;min-height:40px}
.gm-wishlist-enabled .wishlist-item .remove-from-wishlist:hover{background:#f1f1f1}
.gm-wishlist-enabled .wishlist-count{display:inline-flex;align-items:center;justify-content:center;margin-left:6px;min-width:20px;min-height:20px;font-size:12px;line-height:1;border-radius:50%;background:#f1f1f1;color:#444}
@media(max-width:1000px){.gm-wishlist-enabled .wishlist-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.gm-wishlist-enabled .wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.gm-wishlist-enabled .wishlist-grid .wishlist-item{padding:10px}.gm-wishlist-enabled .wishlist-item h3{font-size:17px}}
@media(max-width:360px){.gm-wishlist-enabled .wishlist-grid{gap:16px 8px}.gm-wishlist-enabled .wishlist-grid .wishlist-item{padding:8px}}

/* Draw one consistent rounded heart, independent of device fonts. */
.gm-wishlist-enabled ul.products li.product button.gm-wishlist-inline-button,
.gm-wishlist-enabled.single-product button.gm-wishlist-inline-button.wishlist-inline-single{font-size:0!important}
.gm-wishlist-enabled button.gm-wishlist-inline-button::before{content:"";display:block;flex:none;width:20px;height:20px;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='M12 21s-8.5-5.3-8.5-11.6a4.8 4.8 0 0 1 8.5-3 4.8 4.8 0 0 1 8.5 3C20.5 15.7 12 21 12 21Z'/%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='M12 21s-8.5-5.3-8.5-11.6a4.8 4.8 0 0 1 8.5-3 4.8 4.8 0 0 1 8.5 3C20.5 15.7 12 21 12 21Z'/%3E%3C/svg%3E") center/contain no-repeat}

/* Smaller catalog hearts; preserve their existing position and CTA sizing. */
.gm-wishlist-enabled ul.products li.product button.gm-wishlist-inline-button::before{width:16px;height:16px}
