/* "Added to cart" popup (assets/cart-popup.js). Buttons use the site standard (.button / .button.outline from ui.css). */
.inxo-cp { position:fixed; inset:0; z-index:100000; display:flex; align-items:center; justify-content:center; padding:1.25rem; background:rgba(0, 0, 0, .55); animation:inxo-cp-fade .2s ease; }
.inxo-cp[hidden] { display:none; }
.inxo-cp-card { position:relative; box-sizing:border-box; width:100%; max-width:440px; padding:2.25rem 2rem 2rem; border-radius:20px; background:#fff; color:var(--inxo-text); text-align:center; box-shadow:0 20px 60px rgba(0, 0, 0, .25); animation:inxo-cp-rise .25s cubic-bezier(.2, .7, .2, 1); }
.inxo-cp-x { position:absolute; top:.5rem; right:.7rem; display:flex; align-items:center; justify-content:center; width:48px; height:48px; padding:0; border:0; background:none; color:var(--inxo-text); font:300 3rem/1 var(--inxo-body); cursor:pointer; }
/* No "View cart" link under the product buttons (the popup has it). */
.wc-block-components-product-button .added_to_cart, .wc-block-components-product-button .added_to_cart + *, .wc-block-components-product-button > span:has(> .added_to_cart) { display:none !important; }
.inxo-cp-x:hover { color:var(--inxo-red); }
.inxo-cp-icon { display:flex; align-items:center; justify-content:center; width:56px; height:56px; margin:0 auto 1rem; border-radius:50%; background:#2e9e5b; color:#fff; }
.inxo-cp-title { margin:0 0 .5rem; font-family:var(--inxo-head); font-size:1.35rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.inxo-cp-text { margin:0 0 1.6rem; color:var(--inxo-muted); font-size:1rem; line-height:1.6; }
.inxo-cp-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:.75rem; }
.inxo-cp-actions .button { flex:1 1 auto; }
html.inxo-cp-open { overflow:hidden; }
@keyframes inxo-cp-fade { from { opacity:0; } }
@keyframes inxo-cp-rise { from { opacity:0; transform:translateY(16px) scale(.97); } }
@media (prefers-reduced-motion:reduce) { .inxo-cp, .inxo-cp-card { animation:none; } }
@media (max-width:480px) { .inxo-cp-actions { flex-direction:column; } }
