/* Get Book popup. display:none on the closed backdrop is load-bearing: a live
   cross-origin form iframe keeps intercepting clicks/scroll behind it unless
   the backdrop is fully removed from layout. */
#wishlist-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(3px); z-index: 2100; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; overflow: hidden; }
#wishlist-backdrop.is-open { display: flex; pointer-events: auto; }
#wishlist-backdrop.is-open.is-visible { opacity: 1; }
#wishlist-modal { position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; overflow-x: hidden; background: #1b1a18; border-radius: 16px; padding: clamp(28px, 4vw, 44px); box-shadow: 0 30px 80px rgba(0,0,0,0.5); transform: translateY(16px); opacity: 0; transition: transform 0.25s ease, opacity 0.25s ease; box-sizing: border-box; scrollbar-width: none; }
#wishlist-modal::-webkit-scrollbar { width: 0 !important; height: 0 !important; }
#wishlist-backdrop.is-open.is-visible #wishlist-modal { transform: translateY(0); opacity: 1; }
#wishlist-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; z-index: 1; }
#wishlist-close:hover { background: rgba(255,255,255,0.18); }
/* The theme pads every button 8px 22px, which stretches this 36px circle into an oval. */
#wishlist-close { padding: 0 !important; min-width: 36px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.wishlist-eyebrow { font-family: Poppins, Helvetica, Arial, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: #ff3b41; text-transform: uppercase; }
.wishlist-heading { margin: 14px 0 0; font-family: Poppins, Helvetica, Arial, sans-serif; font-size: clamp(22px, 2.8vw, 28px); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.wishlist-sub { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.68); }
#wishlist-form-slot { margin-top: 24px; min-height: 300px; display: flex; align-items: center; justify-content: center; }
#wishlist-form-slot iframe { max-width: 100% !important; width: 100% !important; }
#wishlist-loading { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); border-top-color: #ff3b41; animation: wishlist-spin 0.8s linear infinite; }
@keyframes wishlist-spin { to { transform: rotate(360deg); } }
