/**
 * 장바구니 알림 메시지 (Toast) CSS
 * yloo3.kr - RB 테마
 */

.cart-toast-message {
    position: fixed;
    top: 100px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
    z-index: 99999;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-toast-message.show {
    opacity: 1;
    transform: translateX(0);
}

.cart-toast-success {
    border-left: 4px solid #4CAF50;
}

.cart-toast-error {
    border-left: 4px solid #f44336;
}

.cart-toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-toast-icon svg {
    width: 24px;
    height: 24px;
}

.cart-toast-text {
    flex: 1;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}

.cart-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    line-height: 1;
}

.cart-toast-close:hover {
    color: #333;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .cart-toast-message {
        top: 80px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        padding: 14px 16px;
    }

    .cart-toast-text {
        font-size: 14px;
    }
}

/* 장바구니 버튼 로딩 상태 */
.sit_btn_cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
