/* Vesa — single-product "added to cart" popup */

.vesa-atc-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    transition: opacity .25s ease;
}

.vesa-atc-overlay.is-open {
    opacity: 1;
}

.vesa-atc-overlay[hidden] {
    display: none;
}

.vesa-atc-popup {
    position: relative;
    width: 100%;
    max-width: 360px;
    padding: 34px 28px 28px;
    background: #fff;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    transform: translateY(12px);
    transition: transform .25s ease;
}

.vesa-atc-overlay.is-open .vesa-atc-popup {
    transform: none;
}

.vesa-atc-x {
    position: absolute;
    top: 8px;
    right: 12px;
    padding: 4px;
    background: none;
    border: 0;
    font-size: 26px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: color .15s ease;
}

.vesa-atc-x:hover {
    color: #1a1a1a;
}

.vesa-atc-text {
    margin: 0 0 22px;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.vesa-atc-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vesa-atc-cart,
.vesa-atc-continue {
    display: block;
    padding: 13px 20px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.vesa-atc-cart {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #1a1a1a;
}

.vesa-atc-cart:hover {
    background: #214af1;
    border-color: #214af1;
    color: #fff;
}

.vesa-atc-continue {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #ddd;
    font-weight: 500;
}

.vesa-atc-continue:hover {
    border-color: #1a1a1a;
}
