/* ============================================
   CART MODAL - 장바구니 추가 성공 팝업
   ============================================ */

.cart-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.cart-modal.is-visible {
    opacity: 1;
    visibility: visible;
}

.cart-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.cart-modal__content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.2s ease;
}

.cart-modal.is-visible .cart-modal__content {
    transform: scale(1);
}

.cart-modal__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #2cc6a8 0%, #1fa88d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(44, 198, 168, 0.35);
}

.cart-modal__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a2e;
}

.cart-modal__text {
    margin: 0 0 24px;
    font-size: 14px;
    color: #666;
}

.cart-modal__buttons {
    display: grid;
    gap: 10px;
}

.cart-modal__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    border: none;
}

.cart-modal__btn--primary {
    background: linear-gradient(135deg, #2cc6a8 0%, #1fa88d 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(44, 198, 168, 0.3);
}

.cart-modal__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 198, 168, 0.4);
    color: #fff;
}

.cart-modal__btn--secondary {
    background: #f5f5f7;
    color: #333;
}

.cart-modal__btn--secondary:hover {
    background: #eee;
}