/* Wishlist and stock alerts (wishlist.php). */
.lp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Heart buttons */
.lp-wl-btn { -webkit-appearance: none; appearance: none; cursor: pointer; font: inherit; line-height: 1; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; }
.lp-wl-ico { display: block; fill: transparent; stroke: #12266B; stroke-width: 1.8; transition: fill .15s ease, stroke .15s ease, transform .15s ease; }
.lp-wl-btn.is-on .lp-wl-ico { fill: #E0245E; stroke: #E0245E; }
.lp-wl-btn:active .lp-wl-ico { transform: scale(.86); }
.lp-wl-btn:focus-visible, .lp-wl-head:focus-visible { outline: 2px solid #2B4ACB; outline-offset: 2px; }

.lp-wl-host { position: relative; }
.lp-wl-btn--card {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 38px; height: 38px; padding: 0 !important; margin: 0 !important;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px !important; border: 1px solid #D6DEEC !important;
  background: rgba(255,255,255,.94) !important; color: #12266B !important;
}
.lp-wl-btn--card:hover { border-color: #12266B !important; }

.lp-wl-btn--single {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 4px 0 14px !important; padding: 9px 16px !important;
  border-radius: 999px !important; border: 1px solid #D6DEEC !important;
  background: #FFFFFF !important; color: #0B1B3A !important;
  font-size: 14px !important; font-weight: 600 !important;
}
.lp-wl-btn--single:hover { border-color: #12266B !important; }
.lp-wl-btn--single.is-on { background: #FDECF2 !important; border-color: #F5B5C9 !important; }

/* Header link */
.lp-wl-head { flex: none; color: inherit; position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0 4px; text-decoration: none !important; }
.lp-wl-head .lp-wl-ico { width: 22px !important; height: 22px !important; max-width: none !important; flex: none !important; fill: transparent; stroke: currentColor; }
.ast-main-header-wrap .lp-wl-head, #ast-mobile-header .lp-wl-head { color: #FFFFFF; }
.ast-mobile-popup-drawer .lp-wl-head { color: #7FA6F2; }
.lp-wl-count {
  position: absolute; top: 0; right: -2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: #8CC63F; color: #0B1B3A;
  font-size: 10px; font-weight: 800; line-height: 17px; text-align: center;
}
.lp-wl-count[hidden] { display: none; }
.lp-wl-count--menu { position: static; display: inline-block; vertical-align: middle; margin-left: 6px; }

/* Sold-out alert form */
.lp-notify { margin: 6px 0 18px; padding: 16px 18px; border: 1px solid #D6DEEC; border-radius: 10px; background: #F7F9FD; }
.lp-notify__t { margin: 0 0 4px !important; font-weight: 800; color: #12266B; font-size: 15px; }
.lp-notify__s { margin: 0 0 12px !important; font-size: 14px; line-height: 1.5; color: #54658A; }
.lp-notify__row { display: flex; gap: 8px; }
.lp-notify__row input[type=email], .lp-wl-modal input[type=email] {
  flex: 1 1 auto; min-width: 0; width: 100%; padding: 10px 14px !important; font-size: 15px !important;
  border: 1px solid #D6DEEC !important; border-radius: 999px !important; background: #FFFFFF !important; color: #0B1B3A !important;
}
.lp-notify__row button, .lp-wl-modal button[type=submit] {
  flex: none; padding: 10px 20px !important; border: 0 !important; border-radius: 999px !important;
  background: #8CC63F !important; color: #0B1B3A !important; font-weight: 700 !important; font-size: 14px !important; cursor: pointer;
}
.lp-notify__row button:hover, .lp-wl-modal button[type=submit]:hover { background: #74A82F !important; }
.lp-notify__news { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 13px; line-height: 1.4; color: #54658A; cursor: pointer; }
.lp-notify__news input { margin: 2px 0 0; flex: none; }
.lp-notify__msg { margin: 10px 0 0 !important; font-size: 14px; font-weight: 600; color: #12266B; }
.lp-notify__msg:empty { display: none; }
.lp-notify__f.is-done .lp-notify__row, .lp-notify__f.is-done .lp-notify__news { display: none; }

/* Email dialog */
.lp-wl-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8,20,43,.55); }
.lp-wl-modal__box { position: relative; width: 100%; max-width: 420px; padding: 24px 22px 20px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 18px 50px rgba(8,20,43,.3); }
.lp-wl-modal__x { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; padding: 0 !important; border: 0 !important; background: transparent !important; color: #54658A !important; font-size: 24px !important; line-height: 1; cursor: pointer; }
.lp-wl-modal__t { margin: 0 32px 6px 0 !important; font-size: 17px; font-weight: 800; color: #12266B; }
.lp-wl-modal__s { margin: 0 0 14px !important; font-size: 14px; line-height: 1.5; color: #54658A; }
.lp-wl-modal form { margin: 0; }
.lp-wl-modal__a { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.lp-wl-modal__no { padding: 10px 16px !important; border: 1px solid #D6DEEC !important; border-radius: 999px !important; background: #FFFFFF !important; color: #0B1B3A !important; font-weight: 600 !important; font-size: 14px !important; cursor: pointer; }
.lp-wl-modal__m { margin: 10px 0 0 !important; font-size: 13px; color: #B42318; }
.lp-wl-modal__m:empty { display: none; }

/* Toast */
.lp-wl-toast {
  position: fixed; left: 50%; bottom: 16px; z-index: 99999; transform: translate(-50%, 140%);
  width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 10px;
  background: #0B1B3A; color: #FFFFFF; font-size: 14px; line-height: 1.4; box-shadow: 0 10px 30px rgba(8,20,43,.3);
  opacity: 0; transition: transform .25s ease, opacity .25s ease; pointer-events: none;
}
.lp-wl-toast.is-in { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.lp-wl-toast--up { bottom: 84px; }
@media (max-width: 921px) { .lp-wl-toast { bottom: 92px; } .lp-wl-toast--up { bottom: 152px; } }
.lp-wl-toast a { color: #8CC63F !important; font-weight: 700; text-decoration: underline; }

/* Wishlist page */
.lp-wl-intro { margin: 0 0 18px; color: #54658A; }
.lp-wl-intro a { font-weight: 700; color: #2B4ACB; }
.lp-wl-empty { max-width: 520px; margin: 10px auto 30px; padding: 28px 24px; text-align: center; border: 1px solid #D6DEEC; border-radius: 12px; background: #F7F9FD; }
.lp-wl-empty__t { margin: 0 0 6px !important; font-size: 20px; font-weight: 800; color: #12266B; }
.lp-wl-cta { display: inline-block; margin-top: 6px; padding: 11px 24px; border-radius: 999px; background: #8CC63F; color: #0B1B3A !important; font-weight: 700; text-decoration: none !important; }

@media (max-width: 600px) {
  .lp-wl-btn--card { width: 34px; height: 34px; top: 6px; right: 6px; }
  .lp-wl-head { width: 32px; margin: 0 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-wl-toast, .lp-wl-ico { transition: none; }
}

/* The heart beside Add to cart on a product page (wishlist.php).
   Scoped to the summary form so the sticky buy bar is untouched. All 209
   products are simple, so the cart form holds only quantity and the button. */
.single-product div.summary form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.single-product div.summary form.cart .quantity { margin: 0 !important; }
.single-product div.summary form.cart .single_add_to_cart_button { flex: 1 1 auto; margin: 0 !important; }
.lp-wl-btn--inline {
  flex: 0 0 48px; width: 48px; height: 48px; padding: 0 !important; margin: 0 !important;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px !important; border: 1px solid #D6DEEC !important;
  background: #FFFFFF !important; color: #12266B !important;
}
.lp-wl-btn--inline:hover { border-color: #12266B !important; }
.lp-wl-btn--inline.is-on { background: #FDECF2 !important; border-color: #F5B5C9 !important; }
