/* The AJAX confirmation opens on product, collection and account pages.
   Scope every rule to its own component, independent of account body classes. */
body .magebig-ajax-popup.ajaxwishlist-success-box.cgce-wishlist-popup {
    box-sizing:border-box; position:relative; width:500px; max-width:calc(100vw - 32px);
    margin:24px auto; padding:0; overflow:hidden; border:1px solid #d7e2d8; border-radius:18px;
    background:#fffefa; color:#203b3b; text-align:left;
    font-family:Inter,"Work Sans",Arial,sans-serif; font-size:14px; line-height:1.5;
    box-shadow:0 24px 72px #102b3040; backdrop-filter:none;
}
body .cgce-wishlist-popup *, body .cgce-wishlist-popup *::before, body .cgce-wishlist-popup *::after { box-sizing:border-box; }
body .cgce-wishlist-popup .cgce-wishlist-popup__header {
    position:relative; display:flex; align-items:center; gap:12px; padding:22px 64px 22px 22px;
    background:linear-gradient(115deg,#182f3d,#1d5353); color:#fffdf7;
}
body .cgce-wishlist-popup .cgce-wishlist-popup__header h2 {
    margin:0; padding:0; color:#fffdf7; font:650 23px/1.25 Inter,"Work Sans",Arial,sans-serif;
    letter-spacing:-.025em; text-transform:none;
}
body .cgce-wishlist-popup .cgce-wishlist-popup__header h2::before,
body .cgce-wishlist-popup .cgce-wishlist-popup__header h2::after { content:none; }
body .cgce-wishlist-popup .cgce-wishlist-popup__header p { margin:5px 0 0; color:#e1ece5; font-size:13px; line-height:1.4; }
body .cgce-wishlist-popup .cgce-wishlist-popup__check {
    display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px;
    border:1px solid #e0c99870; border-radius:50%; color:#efdcae; background:#ffffff0d;
}
body .cgce-wishlist-popup .cgce-wishlist-popup__check svg { display:block; width:21px; height:21px; }
body .magebig-ajax-popup.cgce-wishlist-popup button.cgce-wishlist-popup__close {
    display:grid; place-items:center; position:absolute; top:12px; right:12px;
    width:44px; height:44px; min-width:44px; min-height:44px; margin:0; padding:11px;
    border:1px solid #ffffff40; border-radius:10px; background:#ffffff0d; color:#fffdf7;
    opacity:1; box-shadow:none; text-indent:0; font:inherit; cursor:pointer;
    transform:none; scale:none; translate:none; transition:background .15s;
}
body .cgce-wishlist-popup .cgce-wishlist-popup__close svg { display:block; width:20px; height:20px; pointer-events:none; }
body .magebig-ajax-popup.cgce-wishlist-popup button.cgce-wishlist-popup__close:hover { background:#ffffff24; transform:none; }
body .cgce-wishlist-popup .cgce-wishlist-popup__product { display:flex; align-items:center; gap:18px; padding:22px; }
body .cgce-wishlist-popup .cgce-wishlist-popup__image {
    flex:0 0 100px; width:100px; height:100px; padding:6px; overflow:hidden;
    border:1px solid #e0e8de; border-radius:12px; background:#fff;
}
body .cgce-wishlist-popup .cgce-wishlist-popup__image .product-image-container {
    display:block; position:static; width:100%!important; max-width:100%; height:100%; margin:0; padding:0;
}
body .cgce-wishlist-popup .cgce-wishlist-popup__image .product-image-wrapper {
    display:block; position:relative; width:100%; height:100%; padding:0!important;
    margin:0; overflow:hidden; border-radius:0; background:#fff; aspect-ratio:auto; box-shadow:none;
}
body .cgce-wishlist-popup .cgce-wishlist-popup__image .product-image-photo {
    display:block; position:static; width:100%!important; height:100%!important;
    max-width:100%; max-height:100%; margin:0; object-fit:contain!important; object-position:center;
}
body .cgce-wishlist-popup .cgce-wishlist-popup__name {
    min-width:0; margin:0; padding:0; color:#203b3b; font-size:16px; line-height:1.45; font-weight:600;
    overflow-wrap:anywhere; text-align:left;
}
body .cgce-wishlist-popup .cgce-wishlist-popup__actions {
    display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:0 22px 22px;
}
body .magebig-ajax-popup.cgce-wishlist-popup .cgce-wishlist-popup__action {
    display:flex; position:static; align-items:center; justify-content:center; gap:10px;
    width:100%; height:auto; min-height:46px; margin:0; padding:11px 12px;
    border:1px solid #cbdccf; border-radius:10px; background:#f1f6ef; color:#244c49;
    font:600 13px/1.4 Inter,"Work Sans",Arial,sans-serif; text-align:center; text-decoration:none;
    opacity:1; box-shadow:none; cursor:pointer; text-indent:0; text-transform:none;
    transform:none; scale:none; translate:none; transition:background .15s,border-color .15s;
}
body .magebig-ajax-popup.cgce-wishlist-popup .cgce-wishlist-popup__action::before,
body .magebig-ajax-popup.cgce-wishlist-popup .cgce-wishlist-popup__action::after { content:none!important; }
body .magebig-ajax-popup.cgce-wishlist-popup .cgce-wishlist-popup__action:hover {
    background:#e8f0e5; border-color:#adc6b7; color:#203b3b; text-decoration:none;
    transform:none; scale:none; translate:none;
}
body .magebig-ajax-popup.cgce-wishlist-popup .cgce-wishlist-popup__view {
    border-color:#315b55; color:#fffdf7; background:linear-gradient(115deg,#182f3d,#1d5353);
}
body .magebig-ajax-popup.cgce-wishlist-popup .cgce-wishlist-popup__view:hover {
    border-color:#315b55; color:#fffdf7; background:linear-gradient(115deg,#132a35,#174747);
}
body .magebig-ajax-popup.cgce-wishlist-popup .cgce-wishlist-popup__view span { color:inherit; }
body .magebig-ajax-popup.cgce-wishlist-popup .cgce-wishlist-popup__action:focus-visible {
    outline:3px solid #366961; outline-offset:3px;
}
body .magebig-ajax-popup.cgce-wishlist-popup .cgce-wishlist-popup__close:focus-visible {
    outline:3px solid #efdcae; outline-offset:2px;
}
@media(max-width:480px) {
    body .cgce-wishlist-popup .cgce-wishlist-popup__header { gap:9px; padding:18px 60px 18px 16px; }
    body .cgce-wishlist-popup .cgce-wishlist-popup__header h2 { font-size:20px; }
    body .cgce-wishlist-popup .cgce-wishlist-popup__header p { font-size:12px; }
    body .cgce-wishlist-popup .cgce-wishlist-popup__check { flex-basis:28px; width:28px; height:28px; }
    body .cgce-wishlist-popup .cgce-wishlist-popup__product { gap:13px; padding:18px 16px; }
    body .cgce-wishlist-popup .cgce-wishlist-popup__image { flex-basis:78px; width:78px; height:78px; }
    body .cgce-wishlist-popup .cgce-wishlist-popup__name { font-size:14px; }
    body .cgce-wishlist-popup .cgce-wishlist-popup__actions { gap:8px; padding:0 16px 18px; }
    body .magebig-ajax-popup.cgce-wishlist-popup .cgce-wishlist-popup__action { gap:7px; padding:11px 8px; font-size:12px; }
}
@media(prefers-reduced-motion:reduce) {
    body .magebig-ajax-popup.cgce-wishlist-popup .cgce-wishlist-popup__action,
    body .magebig-ajax-popup.cgce-wishlist-popup .cgce-wishlist-popup__close { transition:none; }
}
