/* EB Anima Wishlist */

/* Header heart (matches the theme's 1.5px #333 icons). */
.eb-wl-heart { position: relative; display: inline-flex !important; align-items: center; justify-content: center; text-indent: 0 !important; background: none !important; }
.eb-wl-heart svg { display: block; }
.eb-wl-count {
  position: absolute; top: 50%; right: -9px; transform: translateY(-120%);
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #000; color: #fff;
  font: 600 9.5px/16px "Montserrat", "Open Sans", Arial, sans-serif; text-align: center; letter-spacing: 0;
}
.eb-wl-count[hidden] { display: none !important; }
#mega-menu-right-menu > li.eb-wl-li { display: list-item !important; }
#mega-menu-right-menu > li.eb-wl-li > a.eb-wl-heart { width: 22px !important; height: 66px; padding: 0 !important; margin: 0 !important; }
/* Phone header: search · heart · cart, spacing tightened so the cart stays clear of the logo. */
#menu-mobile-search > li.eb-wl-li { order: 1; margin: 0 0 0 7px !important; display: list-item; }
#menu-mobile-search.eb-wl-has-heart > li#menu-item-61009 { margin-left: 7px !important; }
#menu-mobile-search > li.eb-wl-li > a.eb-wl-heart { width: 22px; height: 27px; }
@media (max-width: 359px) { #menu-mobile-search > li.eb-wl-li { display: none !important; } #menu-mobile-search.eb-wl-has-heart > li#menu-item-61009 { margin-left: 10px !important; } }
#menu-mobile-search > li.eb-wl-li .eb-wl-count { right: -8px; transform: translateY(-115%); }

/* Builder button: outlined, heart icon, directly under Add to cart. */
.pnb-scope .eb-wl-btn, .pnb-scope .eb-wl-btn:hover, .pnb-scope .eb-wl-btn:focus {
  display: flex !important; align-items: center; justify-content: center; gap: 8px;
  width: 100% !important; min-height: 44px !important; margin: 8px 0 0 !important; padding: 0 14px !important;
  border: 1px solid #000 !important; border-radius: 6px !important; background: #fff !important; color: #000 !important;
  box-shadow: none !important; cursor: pointer;
  font: 500 12px/1 "Montserrat", "Open Sans", Arial, sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase !important;
}
.pnb-scope .eb-wl-btn svg { width: 17px; height: 17px; flex: none; }
.pnb-scope .eb-wl-btn.is-saved svg path { fill: currentColor; }
.pnb-scope .eb-wl-btn:focus-visible { outline: 2px solid #000 !important; outline-offset: 2px; }

/* Phone bar: stack the two buttons; the bar grows, the letter grid keeps its own scroll space. */
.pnb-scope .pnb-stepbar__actions--mobile { flex-direction: column !important; align-items: stretch !important; height: auto !important; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important; }
.pnb-scope .eb-wl-btn--bar { min-height: 42px !important; }

/* Toast */
#eb-wl-toast {
  position: fixed; left: 50%; bottom: calc(120px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 12px);
  z-index: 2147482000; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 6px; background: #000; color: #fff;
  font: 13px/1.4 "Montserrat", "Open Sans", Arial, sans-serif; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
#eb-wl-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Wishlist page */
.eb-wl-page { max-width: 980px; margin: 0 auto; padding: 8px 16px 56px; font-family: "Montserrat", "Open Sans", Arial, sans-serif; color: #111; }
.eb-wl-intro { text-align: center; font-size: 12px; letter-spacing: .04em; color: #6f6c68; margin: 0 0 20px; }
.eb-wl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.eb-wl-item { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 16px; border: 1px solid #d9d6d1; border-radius: 10px; background: #fff; }
.eb-wl-thumb { display: grid; place-items: center; aspect-ratio: 1/1; background: #f4f2ee; border-radius: 8px; overflow: hidden; color: #6f6c68; font-size: 12px; text-decoration: none; }
.eb-wl-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.eb-wl-info h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: 20px; line-height: 1.25; margin: 0 0 6px; }
.eb-wl-spec { margin: 0 0 6px; font-size: 13px; line-height: 1.5; }
.eb-wl-price { margin: 0; font-size: 15px; }
.eb-wl-date { margin: 4px 0 0; font-size: 11px; color: #6f6c68; letter-spacing: .04em; }
.eb-wl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.eb-wl-page .eb-wl-action, .eb-wl-page .eb-wl-action:hover {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px;
  border: 1px solid #000; border-radius: 6px; background: #fff; color: #000; text-decoration: none;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
}
.eb-wl-page .eb-wl-action--solid, .eb-wl-page .eb-wl-action--solid:hover { background: #000; color: #fff; }
.eb-wl-page .eb-wl-remove, .eb-wl-page .eb-wl-remove:hover, .eb-wl-page .eb-wl-remove:focus {
  border: 0 !important; background: none !important; box-shadow: none !important; padding: 6px 2px !important; min-height: 0 !important;
  color: #6f6c68 !important; font: 12px/1.3 "Montserrat", "Open Sans", Arial, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.eb-wl-empty { text-align: center; padding: 48px 16px; }
.eb-wl-empty h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: 26px; margin: 0 0 10px; }
.eb-wl-empty p { margin: 0 auto 22px; max-width: 46ch; font-size: 14px; color: #6f6c68; }
.eb-wl-loading { text-align: center; color: #6f6c68; font-size: 13px; }
@media (max-width: 640px) {
  .eb-wl-item { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .eb-wl-info h3 { font-size: 17px; }
  .eb-wl-actions { gap: 8px; }
  .eb-wl-page .eb-wl-action { flex: 1 1 auto; min-height: 40px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { #eb-wl-toast { transition: none; } }

/* Anima Collection page: show the "How it works" box (from the Charm Builder content field) above the
   "Our Personalised Best Sellers" heading. The theme prints the heading first, so reorder with flex. */
.charm-builder-container .container:has(.eb-howto) { display: flex; flex-direction: column; }
.charm-builder-container .container > div.a-center:has(> .eb-howto) { display: contents; }
.charm-builder-container .eb-howto { order: -1; }

/* Add-to-cart progress inside the review window's "Confirm & Add" button. */
.eb-cart-progress { position: absolute; z-index: 5; overflow: hidden; border-radius: 8px; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; pointer-events: none; transition: opacity .25s; }
.eb-cart-progress.is-out { opacity: 0; }
.eb-cart-progress__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #4a4743; transition: width .15s linear; }
.eb-cart-progress__label { position: relative; font: 500 12px/1 "Montserrat", "Open Sans", Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.eb-cart-progress__label b { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .eb-cart-progress, .eb-cart-progress__fill { transition: none; } }
