.hz-wishlist-access { max-width: 920px; margin: 0 auto 48px; border: 1px solid #dedede; background: #fff; color: #171717; }
.hz-wishlist-intro { padding: clamp(25px, 6vw, 60px); background: #151515; color: #fff; }
.hz-wishlist-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; margin-bottom: 12px; }
.hz-wishlist-intro h1 { font-size: clamp(30px, 6vw, 54px); line-height: 1.1; margin: 0 0 12px; color: #fff; }
.hz-wishlist-intro p { color: #f0f0f0; margin: 0; }
.hz-wishlist-forms { padding: clamp(20px, 5vw, 42px); }
.hz-wishlist-forms fieldset { margin: 0; border: 0; padding: 0; min-width: 0; }
.hz-wishlist-preview { font-size: 13px; }
.wd-toolbar .hz-guest-wishlist-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; line-height: 1; }
.wd-toolbar .hz-guest-wishlist-icon::before { content: none; }
.wd-toolbar .hz-guest-wishlist-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.wd-toolbar .hz-guest-wishlist-count { position: absolute; top: -1px; right: -7px; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 50%; background: #111; color: #fff; font: 11px/1 Arial, sans-serif; }
@media (max-width: 600px) {
  .hz-wishlist-access { margin-bottom: 28px; }
  .hz-wishlist-forms input:not([type=checkbox]) { font-size: 16px; }
}
.hz-wishlist-intro h2 { color: #fff; margin: 0 0 12px; }
.hz-wishlist-open { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; padding: 0 16px; color: #151515; background: #fff; border: 1px solid #fff; font-weight: 700; text-decoration: none; }
.hz-wishlist-open[hidden] { display: none; }
.hz-wishlist-dialog { width: min(720px, calc(100% - 28px)); max-height: 90dvh; margin: auto; padding: 0; border: 1px solid #dedede; background: #fff; color: #151515; overflow: auto; }
.hz-wishlist-dialog::backdrop { background: rgba(0, 0, 0, .55); }
.hz-wishlist-close { float: right; min-height: 44px; margin: 8px; padding: 0 12px; color: #151515; background: white; border: 1px solid #ccc; }
.hz-wishlist-dialog .hz-wishlist-forms { clear: both; }
.hz-guest-product-heart { display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; font: 28px/1 Arial, sans-serif; color: #151515; background: #fff; }
.hz-wishlist-signin { display: block; margin: 8px 0 0; padding: 0; min-height: 44px; color: #fff; background: transparent; text-decoration: underline; border: 0; font-size: 14px; text-align: left; }
.hz-wishlist-signin[hidden] { display: none; }
.hz-wishlist-forms #customer_login { display: flex; flex-direction: column; gap: 24px; }
.hz-wishlist-forms #customer_login > div { float: none; width: 100%; }
.hz-wishlist-forms #customer_login > .u-column2 { order: -1; }
#main-content > .hz-wishlist-access { width: 100%; align-self: start; }
.hz-account-control { position: relative; }
.hz-account-menu { position: absolute; top: calc(100% + 4px); right: 0; min-width: 125px; padding: 5px; background: #fff; border: 1px solid #dedede; box-shadow: 0 7px 20px rgba(0,0,0,.12); z-index: 1001; }
.hz-account-menu[hidden] { display: none; }
.hz-account-menu a { display: flex; min-height: 44px; align-items: center; padding: 0 12px; color: #151515; font-size: 14px; white-space: nowrap; }
.hz-wishlist-forms #customer_login > .col-register { order: -1; }
.hz-wishlist-forms #customer_login > .col-register-text { display: none !important; }
.hz-wishlist-dialog-intro { padding: 24px 85px 24px 24px; color: #fff; background: #151515; }
.hz-wishlist-dialog-intro h2, .hz-wishlist-dialog-intro p { color: #fff; margin: 0; }
.hz-wishlist-dialog-intro h2 { font-size: clamp(23px, 5vw, 33px); margin-bottom: 5px; }
.hz-wishlist-dialog .hz-wishlist-close { margin: 12px; }
.hz-wishlist-forms .col-register { padding-bottom: 18px; border-bottom: 1px solid #ddd; }
.hz-guest-heart-surface { position: relative; }
.hz-guest-heart-surface > .hz-guest-product-heart { position: absolute; top: 8px; right: 8px; z-index: 6; width: 44px; height: 44px; border: 1px solid #ddd; border-radius: 50%; box-shadow: 0 1px 4px #0002; text-decoration: none; }
.hz-guest-product-heart:focus-visible { outline: 2px solid #151515; outline-offset: 2px; }

/* WoodMart places the single-product sale badges at the top right. */
.single-product-page .woocommerce-product-gallery.hz-guest-heart-surface > .hz-guest-product-heart { left: 8px; right: auto; z-index: 11; }

/* Keep both choices aligned on the Wishlist page, independent of theme button styles. */
.hz-wishlist-access .hz-wishlist-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; margin-top: 16px; }
.hz-wishlist-access .hz-wishlist-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 6px clamp(8px, 2.8vw, 16px); border: 1px solid #fff; background: #fff; color: #171717; font-size: clamp(12px, 3.2vw, 14px); font-weight: 600; line-height: 1.15; text-align: center; text-transform: none; text-decoration: none; }
.hz-wishlist-access .hz-wishlist-actions button[hidden] { display: none; }
.hz-wishlist-access .hz-wishlist-actions button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Account page only: keep the native WoodMart form switch and match the store buttons. */
:where(body.woocommerce-account:not(.logged-in), .hz-account-entry) #customer_login .col-register-text .wd-switch-to-register {
  --btn-color: #fff; --btn-color-hover: #fff; --btn-bgcolor: #111; --btn-bgcolor-hover: #282828;
  background: #111; color: #fff; border-color: #111; min-height: 44px;
}
:where(body.woocommerce-account:not(.logged-in), .hz-account-entry) #customer_login .col-register-text .wd-switch-to-register:hover,
:where(body.woocommerce-account:not(.logged-in), .hz-account-entry) #customer_login .col-register-text .wd-switch-to-register:focus-visible {
  background: #282828; color: #fff;
}
:where(body.woocommerce-account:not(.logged-in), .hz-account-entry) #customer_login .hz-account-offer-login > :is(.wd-login-title, .registration-info) { display: none; }

/* A smaller circle and heart inside the existing 44px touch target. */
.hz-guest-heart-surface > .hz-guest-product-heart { border: 0; background: transparent; box-shadow: none; font-size: 22px; isolation: isolate; }
.hz-guest-heart-surface > .hz-guest-product-heart::before { content: ''; position: absolute; inset: 5px; border: 1px solid #ddd; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px #0002; z-index: -1; }
.wd-product .wd-loop-prod-thumb .wd-wishlist-btn .wd-action-icon,
.single-product-page .wd-wishlist-btn.wd-style-icon .wd-action-icon { scale: .82; }

/* Fallback for Elementor's cached account layout only. */
body.woocommerce-account #main-content [data-elementor-id="2065"] .elementor-element-8056e4d { display: none !important; }
